diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 398bd61bd04..b7832ba2d9e 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -133,6 +133,9 @@ jobs: - name: Lint run: pnpm exec oxlint --format github + - name: Reject low-evidence patterns + run: pnpm run audit:anti-slop + - name: Enforce focused code-quality plugins run: pnpm run audit:code-quality:native @@ -170,6 +173,9 @@ jobs: - name: Check reliability gate manifest run: pnpm run check:reliability-gates + - name: Enforce dead design-system classes + run: pnpm run check:dead-classes + - name: Check VM runtime rollback compatibility env: BASE_SHA: ${{ github.event.pull_request.base.sha }} @@ -326,40 +332,59 @@ jobs: # Why: the 2.25.5 lane is a source build of a pinned tarball, so it produced the # same binary on every PR for minutes of runner time. The key carries the version # because that is the only input; the sha256 assertion below still guards the - # tarball on the miss path that actually builds. + # tarball on the miss path that actually builds. Only this PR's own later pushes + # can restore it — GitHub scopes a cache written from a pull_request run to that + # ref — so a first push always takes the build path below. - name: Cache baseline Git build uses: actions/cache@v5 with: path: ~/.cache/orca-git-compat/git-2.25.5 key: git-compat-baseline-${{ runner.os }}-${{ runner.arch }}-2.25.5 + # Why its own step: this is `make -j$(nproc)` on every core, and the lanes below + # spend their wall clock waiting on container starts, not on Git. Sharing a runner + # with the build stretched one ~1.5s boundary case past Vitest's 30s timeout, so + # the build has to finish before anything timed starts. + - name: Build the baseline Git binary + run: | + archive="$RUNNER_TEMP/git-2.25.5.tar.gz" + source="$HOME/.cache/orca-git-compat/git-2.25.5" + if [ -x "$source/git" ]; then + exit 0 + fi + curl -fsSL https://www.kernel.org/pub/software/scm/git/git-2.25.5.tar.gz -o "$archive" + echo "41662c52fc16fec4963bfc41075e71f8ead6b5e386797eb6f9a1111ff95a8ddf $archive" \ + | sha256sum --check + mkdir -p "$source" + tar -xzf "$archive" -C "$source" --strip-components=1 + make -C "$source" -j"$(nproc)" \ + NO_GETTEXT=YesPlease NO_TCLTK=YesPlease NO_PYTHON=YesPlease git + # Why: the linked binaries are what the next run needs; the objects that + # produced them are most of the tree and would bloat the cache entry. + find "$source" -name '*.o' -delete + - name: Verify Git binary compatibility matrix run: | + specs=( + "alpine/git:edge-2.38.1|2.38.1" + "alpine/git:v2.49.1|2.49.1" + ) + # Why pull up front: a lane's first `docker run` otherwise pulls its image + # while the sibling lane is mid-test, and that stall is charged to the test. + for spec in "${specs[@]}"; do + docker pull --quiet "${spec%%|*}" + done + pids=() ( - archive="$RUNNER_TEMP/git-2.25.5.tar.gz" - source="$HOME/.cache/orca-git-compat/git-2.25.5" - if [ ! -x "$source/git" ]; then - curl -fsSL https://www.kernel.org/pub/software/scm/git/git-2.25.5.tar.gz -o "$archive" - echo "41662c52fc16fec4963bfc41075e71f8ead6b5e386797eb6f9a1111ff95a8ddf $archive" \ - | sha256sum --check - mkdir -p "$source" - tar -xzf "$archive" -C "$source" --strip-components=1 - make -C "$source" -j"$(nproc)" \ - NO_GETTEXT=YesPlease NO_TCLTK=YesPlease NO_PYTHON=YesPlease git - # Why: the linked binaries are what the next run needs; the objects that - # produced them are most of the tree and would bloat the cache entry. - find "$source" -name '*.o' -delete - fi - ORCA_GIT_COMPAT_BINARY="$source/git" ORCA_GIT_COMPAT_VERSION="2.25.5" \ + ORCA_GIT_COMPAT_BINARY="$HOME/.cache/orca-git-compat/git-2.25.5/git" \ + ORCA_GIT_COMPAT_VERSION="2.25.5" \ pnpm exec vitest run --config config/vitest.config.ts \ src/shared/git-binary-compatibility.test.ts ) & pids+=("$!") - for spec in \ - "alpine/git:edge-2.38.1|2.38.1" \ - "alpine/git:v2.49.1|2.49.1"; do + for spec in "${specs[@]}"; do ( image="${spec%%|*}" version="${spec#*|}" diff --git a/.github/workflows/release-cut.yml b/.github/workflows/release-cut.yml index a644aef53c1..ac2e7f904e3 100644 --- a/.github/workflows/release-cut.yml +++ b/.github/workflows/release-cut.yml @@ -1311,6 +1311,20 @@ jobs: echo "identity=$identity" >>"$GITHUB_OUTPUT" echo "Classified $TAG as $identity" + # Why here and not in build:relay: only a Windows runner can compile it, and + # arm64 cross-compiles from this same x64 agent. Mirrors dev-channel-win-build.yml, + # which had it while release-cut did not — so every stable installer through + # v1.4.203 shipped Windows relays with no windows-process-tree.node, silently + # falling back to the PowerShell scan on every Windows SSH host. + # Why no run_attempt guard, unlike the artifact steps below: Build app is ungated, + # so a rerun would reach the required-addon check with nothing staged and fail. + - name: Build Windows process-table addon for the relay + if: matrix.platform == 'win' + shell: bash + run: | + node config/scripts/build-windows-process-tree-relay-addon.mjs --arch=x64 + node config/scripts/build-windows-process-tree-relay-addon.mjs --arch=arm64 + # Why ORCA_POSTHOG_WRITE_KEY here: this is the only build that # produces a published binary, so this is the only place the secret # needs to be in scope. The key is a PostHog *project* API key, not @@ -1333,6 +1347,9 @@ jobs: ORCA_BUILD_IDENTITY: ${{ steps.tag-classify.outputs.identity }} ORCA_DIAGNOSTICS_TOKEN_URL: https://www.onorca.dev/diagnostics/token ORCA_POSTHOG_WRITE_KEY: ${{ secrets.ORCA_POSTHOG_WRITE_KEY }} + # Fail the release rather than ship a relay that silently falls back to + # the PowerShell scan on every Windows SSH host. + ORCA_REQUIRE_RELAY_NATIVE_ADDONS: ${{ matrix.platform == 'win' && 'x64,arm64' || '' }} - name: Gate runtime file-watcher process isolation if: runner.os == 'Linux' diff --git a/.gitignore b/.gitignore index c132a265c83..3d51edb0009 100644 --- a/.gitignore +++ b/.gitignore @@ -181,3 +181,6 @@ tests/e2e/.cross-version-checkouts/ # IS committed). Also keeps oxfmt/oxlint, which honor this file, from walking # vendored gems. /mobile/vendor/ + +# Generated by config/scripts/sync-anti-slop-plugin.mjs from the pinned oxlint-plugin-anti-slop +.anti-slop-plugin/ diff --git a/.oxfmtrc.json b/.oxfmtrc.json index 0f27189d7cb..86931f1f9ec 100644 --- a/.oxfmtrc.json +++ b/.oxfmtrc.json @@ -4,5 +4,9 @@ "semi": false, "printWidth": 100, "trailingComma": "none", - "ignorePatterns": ["cloud/**", ".github/actions/cloud-sql-rollout-lease/**"] + "ignorePatterns": [ + "cloud/**", + ".github/actions/cloud-sql-rollout-lease/**", + ".anti-slop-plugin/**" + ] } diff --git a/AGENTS.md b/AGENTS.md index 74c049a49fd..0c11d13a9ca 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,6 +1,6 @@ # Design System -All UI work — layout, color, typography, spacing, component selection, UX behavior — must follow [`docs/STYLEGUIDE.md`](./docs/STYLEGUIDE.md). Use the tokens defined in `src/renderer/src/assets/main.css` (the canonical source) and the shadcn primitives in `src/renderer/src/components/ui/`. Don't invent new color values, font sizes, or shadow tiers when a documented one already covers the role. When STYLEGUIDE.md is silent, follow the resolution order in its final section. +All UI work — layout, color, typography, spacing, component selection, UX behavior — must follow [`docs/STYLEGUIDE.md`](./docs/STYLEGUIDE.md). Most of it is linted: `pnpm run check:code-quality:changed` fails on new restyles of a `components/ui/` primitive, raw palette colors, and computed `className` strings; `pnpm lint` fails on any class Tailwind cannot generate. See the Enforcement section of the style guide before suppressing either. Use the tokens defined in `src/renderer/src/assets/main.css` (the canonical source) and the shadcn primitives in `src/renderer/src/components/ui/`. Don't invent new color values, font sizes, or shadow tiers when a documented one already covers the role. When STYLEGUIDE.md is silent, follow the resolution order in its final section. ## Electron UI Validation @@ -46,6 +46,7 @@ Avoid type assertions except `as const`. Unavoidable casts need a line-specific - **Typecheck**: `pnpm tc` (or `tc:node` / `tc:cli` / `tc:web`) - **Test**: `pnpm test [path/to/file.test.ts]` - **Lint**: `oxlint`, or `pnpm run check:code-quality:changed` for changed files (full `pnpm lint` is slow); format with `pnpm format` +- **Design system**: `pnpm run lint:design-system` for the full renderer report (not a gate); the changed-lines gate above is what CI enforces # Considerations diff --git a/config/oxlint-anti-slop.json b/config/oxlint-anti-slop.json new file mode 100644 index 00000000000..bba8588d949 --- /dev/null +++ b/config/oxlint-anti-slop.json @@ -0,0 +1,110 @@ +{ + "$schema": "../node_modules/oxlint/configuration_schema.json", + "plugins": [], + "jsPlugins": [ + { + "name": "anti-slop", + "specifier": "../.anti-slop-plugin/index.ts" + } + ], + "categories": { + "correctness": "off", + "suspicious": "off", + "pedantic": "off", + "perf": "off", + "style": "off", + "restriction": "off", + "nursery": "off" + }, + "ignorePatterns": [ + "**/node_modules", + "**/dist", + "**/out", + "cloud/**", + "src/shared/rpc-contract/rpc-params-catalog.generated.ts", + "tests/e2e/.cross-version-checkouts" + ], + "rules": { + "anti-slop/no-array-filter-map": "off", + "anti-slop/no-chained-type-assertions": "off", + "anti-slop/no-conditional-empty-object-spread": "off", + "anti-slop/no-known-value-widening": "off", + "anti-slop/no-module-mocking": "error", + "anti-slop/no-object-parameters": "error", + "anti-slop/no-reduce-accumulator-copy": "error", + "anti-slop/no-reflect-apply": "error", + "anti-slop/no-reflect-get": "error", + "anti-slop/no-runtime-typeof": "off", + "anti-slop/no-shape-in-symbol-names": "error", + "anti-slop/no-unknown-parameters": "off", + "anti-slop/no-unknown-returns": "off", + "anti-slop/no-unknown-type-aliases": "error", + "anti-slop/no-unsafe-dictionary-type": "off", + "anti-slop/no-widen-then-assert": "error", + "anti-slop/require-readable-spacing": "off", + "anti-slop/require-safety-comment-for-type-assertion": "off" + }, + "overrides": [ + { + "files": [ + "**/*.test.{ts,tsx}", + "**/*.spec.{ts,tsx}", + "tests/**/*.{ts,tsx}", + "**/__mocks__/**" + ], + "rules": { + "anti-slop/no-module-mocking": "off" + } + }, + // The exemptions below are file-scoped rather than inline `oxlint-disable` comments + // because the root lint scan does not load this plugin, so an inline directive naming + // an anti-slop rule always reads back as an unused directive there. + // + // In the screenshot annotator a "shape" is the drawn geometry -- pen, arrow, rect, + // ellipse, highlight. A domain noun, and it pervades every symbol in the module. + // mobile/src/test-support/rpc-recording is the golden recorder engine. recorder-digest.ts + // hashes these files' RAW BYTES into every golden's `recorderSha256` header, so any edit + // here -- a rename or even an added comment -- invalidates all 208 recordings. The exemption + // is config-scoped for that reason: an inline directive would change the bytes it protects. + { + "files": ["**/test-support/rpc-recording/**"], + "rules": { + "anti-slop/no-shape-in-symbol-names": "off" + } + }, + { + "files": ["**/browser-pane/annotate/**"], + "rules": { + "anti-slop/no-shape-in-symbol-names": "off" + } + }, + // lucide exports the icon component as `Shapes`, and the matching REPO_LUCIDE_ICONS key + // is the persisted icon name shared by the desktop picker and mobile. + { + "files": [ + "**/components/repo/repo-icon.tsx", + "**/worktree-list/rows/repo-header-project-actions.tsx", + "**/components/MobileRepoIcon.tsx" + ], + "rules": { + "anti-slop/no-shape-in-symbol-names": "off" + } + }, + // `shapedSidebar` is a persisted onboarding-checklist field and a telemetry enum member; + // renaming it would orphan saved state. + { + "files": ["**/src/shared/constants.ts", "**/src/shared/onboarding-state-types.ts"], + "rules": { + "anti-slop/no-shape-in-symbol-names": "off" + } + }, + // Matching zod's own literal `shape` property is what selects the ZodObject branch of + // RpcSendInput's conditional type. + { + "files": ["**/rpc-contract/rpc-send-params.ts"], + "rules": { + "anti-slop/no-shape-in-symbol-names": "off" + } + } + ] +} diff --git a/config/oxlint-dead-classes.json b/config/oxlint-dead-classes.json new file mode 100644 index 00000000000..ad58853134f --- /dev/null +++ b/config/oxlint-dead-classes.json @@ -0,0 +1,77 @@ +{ + "$schema": "../node_modules/oxlint/configuration_schema.json", + "plugins": [], + "categories": { + "correctness": "off", + "suspicious": "off", + "pedantic": "off", + "perf": "off", + "style": "off", + "restriction": "off", + "nursery": "off" + }, + "jsPlugins": [ + { + "name": "shadcn", + "specifier": "@shadcn/lint" + } + ], + "settings": { + "shadcn": { + "note": "See docs/STYLEGUIDE.md for the role each token and primitive plays." + } + }, + "rules": {}, + "overrides": [ + { + "files": ["**/src/renderer/**/*.tsx"], + "rules": { + "shadcn/no-unknown-classes": [ + "error", + { + "allow": [ + "agent-map-*", + "comment-md-*", + "compact-agent-*", + "feature-wall-*", + "is-*", + "markdown-annotation-*", + "markdown-body", + "markdown-dark", + "markdown-doc-link*", + "markdown-light", + "markdown-preview", + "markdown-preview-search*", + "markdown-preview-shell", + "markdown-review-*", + "markdown-toc-*", + "mobile-browser-driver-banner", + "mobile-driver-banner", + "native-chat-*", + "orca-*", + "pdfViewer", + "popover-scroll-content", + "popover-wheel-scroll", + "ravpr-*", + "ravs-*", + "scrollbar-editor", + "scrollbar-sleek", + "scrollbar-sleek-lg", + "scrollbar-sleek-parent", + "toaster", + "worktree-sidebar-scrollbar", + "xterm-*" + ] + } + ] + } + }, + { + "files": ["**/*.test.tsx"], + "rules": { + "shadcn/no-unknown-classes": "off" + } + } + ], + "ignorePatterns": ["**/node_modules", "**/dist", "**/out", "cloud/**", "mobile/**"] +} diff --git a/config/oxlint-design-system.json b/config/oxlint-design-system.json new file mode 100644 index 00000000000..23b8df517d3 --- /dev/null +++ b/config/oxlint-design-system.json @@ -0,0 +1,54 @@ +{ + "$schema": "../node_modules/oxlint/configuration_schema.json", + "plugins": [], + "categories": { + "correctness": "off", + "suspicious": "off", + "pedantic": "off", + "perf": "off", + "style": "off", + "restriction": "off", + "nursery": "off" + }, + "jsPlugins": [ + { + "name": "shadcn", + "specifier": "@shadcn/lint" + } + ], + "settings": { + "shadcn": { + "note": "See docs/STYLEGUIDE.md for the role each token and primitive plays." + } + }, + "rules": {}, + "overrides": [ + { + "files": ["**/src/renderer/**/*.tsx"], + "rules": { + "shadcn/no-restyle": [ + "error", + { + "allow": ["layout"] + } + ], + "shadcn/no-raw-colors": [ + "error", + { + "allow": ["shadow-floating"] + } + ], + "shadcn/require-static-classes": "error" + } + }, + { + "files": ["**/*.test.tsx"], + "rules": { + "shadcn/no-restyle": "off", + "shadcn/no-raw-colors": "off", + "shadcn/require-static-classes": "off" + } + } + ], + "ignorePatterns": ["**/node_modules", "**/dist", "**/out", "cloud/**", "mobile/**"] +} diff --git a/config/scripts/agent-lineage-cycle-cleanup-benchmark.mjs b/config/scripts/agent-lineage-cycle-cleanup-benchmark.mjs index 47407764e0f..59f4e387beb 100644 --- a/config/scripts/agent-lineage-cycle-cleanup-benchmark.mjs +++ b/config/scripts/agent-lineage-cycle-cleanup-benchmark.mjs @@ -50,7 +50,7 @@ for (let sample = 0; sample < 500; sample++) { } const results = [] -for (const [shape, count] of [ +for (const [topology, count] of [ ['flat', 1000], ['all-cycles', 1000], ['mixed-cycles', 100], @@ -58,9 +58,9 @@ for (const [shape, count] of [ ['mixed-cycles', 1000] ]) { const rows = Array.from({ length: count }, (_, index) => - row(index, shape === 'flat' ? undefined : index ^ 1) + row(index, topology === 'flat' ? undefined : index ^ 1) ) - if (shape === 'mixed-cycles') { + if (topology === 'mixed-cycles') { rows.unshift(row('root', undefined)) } assert.deepEqual(after(rows), before(rows)) @@ -83,7 +83,7 @@ for (const [shape, count] of [ samples[arm].push({ wallMs, cpuMs: (used.user + used.system) / 30_000 }) } } - results.push({ shape, count, samples }) + results.push({ topology, count, samples }) } console.log( JSON.stringify({ baseline, node: process.version, parityGraphs: 500, results }, null, 2) diff --git a/config/scripts/agent-lineage-reachability-benchmark.mjs b/config/scripts/agent-lineage-reachability-benchmark.mjs index 4122ac18dab..6d542367c18 100644 --- a/config/scripts/agent-lineage-reachability-benchmark.mjs +++ b/config/scripts/agent-lineage-reachability-benchmark.mjs @@ -58,15 +58,19 @@ for (let trial = 0; trial < 5000; trial += 1) { const results = [] for (const count of [8, 32, 128, 512, 1024]) { - for (const shape of ['flat', 'fanout', 'balanced', 'chain']) { + for (const topology of ['flat', 'fanout', 'balanced', 'chain']) { const rows = Array.from({ length: count }, (_, index) => { const parent = - shape === 'fanout' ? 0 : shape === 'balanced' ? Math.floor((index - 1) / 4) : index - 1 + topology === 'fanout' + ? 0 + : topology === 'balanced' + ? Math.floor((index - 1) / 4) + : index - 1 return { paneKey: `pane-${index}`, entry: { orchestration: - index > 0 && shape !== 'flat' ? { parentPaneKey: `pane-${parent}` } : undefined + index > 0 && topology !== 'flat' ? { parentPaneKey: `pane-${parent}` } : undefined } } }) @@ -92,7 +96,7 @@ for (const count of [8, 32, 128, 512, 1024]) { } results.push({ count, - shape, + topology, iterations, meanMicrosecondsPerTree: Object.fromEntries( Object.entries(samples).map(([arm, values]) => [ diff --git a/config/scripts/agent-status-hot-path-benchmark.test.ts b/config/scripts/agent-status-hot-path-benchmark.test.ts index 6c30b82ebf7..ece89b89d50 100644 --- a/config/scripts/agent-status-hot-path-benchmark.test.ts +++ b/config/scripts/agent-status-hot-path-benchmark.test.ts @@ -244,7 +244,11 @@ describe('agent-status hot path benchmark', () => { let objectAssignCalls = 0 let objectAssignPropertyCopies = 0 let freshnessEntryVisits = 0 - Object.assign = ((target: object, ...sources: object[]) => { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: `Object.assign` is an overload set no single arrow can satisfy; this wrapper only counts calls and forwards every argument to the captured native implementation. + Object.assign = (( + target: Record, + ...sources: readonly Record[] + ) => { objectAssignCalls += 1 for (const source of sources) { if (source && typeof source === 'object') { @@ -253,7 +257,8 @@ describe('agent-status hot path benchmark', () => { } return nativeObjectAssign(target, ...sources) }) as typeof Object.assign - Object.values = ((value: object) => { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: same overload-set limit as the `Object.assign` wrapper above; this one counts visited entries and returns the native result unchanged. + Object.values = ((value: Record) => { const result = nativeObjectValues(value) freshnessEntryVisits += result.length return result diff --git a/config/scripts/archive-hook-removal-repro.mjs b/config/scripts/archive-hook-removal-repro.mjs new file mode 100644 index 00000000000..3f392ac830d --- /dev/null +++ b/config/scripts/archive-hook-removal-repro.mjs @@ -0,0 +1,526 @@ +/** + * Real-repo verification for #19334 — run with: + * node config/scripts/archive-hook-removal-repro.mjs + * + * Requires a prior `build:cli` and `build:electron-vite`; it drives the BUILT CLI against the + * BUILT headless runtime, so it proves the shipped artifacts rather than the test harness. + *: a failed archive hook must BLOCK a destructive + * worktree removal, and the checkout, its git registration and its files must all survive. + * + * Boots the BUILT headless runtime (`out/main/index.js --serve`), pairs the BUILT CLI to it, + * and drives `orca worktree rm` end to end against real git worktrees on disk. + */ +import { spawn, spawnSync } from 'node:child_process' +import { mkdtempSync, writeFileSync, readFileSync, existsSync, rmSync, mkdirSync } from 'node:fs' +import { tmpdir } from 'node:os' +import { join, dirname, resolve } from 'node:path' +import { randomBytes } from 'node:crypto' + +const projectDir = resolve(import.meta.dirname, '../..') +const serveEntry = join(projectDir, 'out', 'main', 'index.js') +const cliEntry = join(projectDir, 'out', 'cli', 'index.js') +const PORT = 6900 + Math.floor(Math.random() * 400) +const READY_TIMEOUT_MS = 180_000 + +const control = mkdtempSync(join(tmpdir(), 'agh-control-')) +const modeFile = join(control, 'mode') +const ranFile = join(control, 'ran') +const setMode = (m) => writeFileSync(modeFile, m) +const hookRuns = () => (existsSync(ranFile) ? readFileSync(ranFile, 'utf8').trim().split('\n') : []) + +let failures = 0 +const out = (s) => process.stdout.write(`${s}\n`) +const banner = (s) => out(`\n${'='.repeat(78)}\n${s}\n${'='.repeat(78)}`) +function check(label, ok, detail = '') { + out(` ${ok ? 'PASS' : 'FAIL'} ${label}${detail ? ` -- ${detail}` : ''}`) + if (!ok) { + failures++ + } +} + +let pairingCode = null + +/** Run the real CLI against the booted server. Returns the raw process result. */ +function cli(args, { json = true } = {}) { + return spawnSync( + process.execPath, + [cliEntry, ...args, '--pairing-code', pairingCode, ...(json ? ['--json'] : [])], + { encoding: 'utf8', shell: false } + ) +} + +/** Run the CLI and require success, returning result payload. */ +function ok(args) { + const r = cli(args) + const parsed = parseJsonLine(r) + if (!parsed) { + throw new Error(`orca ${args.join(' ')} produced no JSON:\n${r.stdout}\n${r.stderr}`) + } + if (parsed.ok === false) { + throw new Error(`orca ${args.join(' ')} failed: ${parsed.error?.code} ${parsed.error?.message}`) + } + return parsed.result +} + +/** The CLI pretty-prints one JSON document to stdout. */ +function parseJsonLine(r) { + const text = (r.stdout ?? '').trim() + const start = text.indexOf('{') + if (start === -1) { + return null + } + try { + return JSON.parse(text.slice(start)) + } catch { + return null + } +} + +function git(cwd, ...args) { + const r = spawnSync('git', args, { cwd, encoding: 'utf8' }) + if (r.status !== 0) { + throw new Error(`git ${args.join(' ')}: ${r.stderr || r.stdout}`) + } + return r.stdout +} + +const ARCHIVE_HOOK = `echo "[archive-hook] running in $PWD" +echo "$PWD" >> ${JSON.stringify(ranFile).slice(1, -1)} +mode=$(cat ${JSON.stringify(modeFile).slice(1, -1)}) +case "$mode" in + ok) echo "[archive-hook] archived OK"; exit 0 ;; + fail) echo "[archive-hook] backup target unreachable" >&2; exit 23 ;; + signal) echo "[archive-hook] losing the execution host now"; kill -KILL $$ ;; +esac +echo "unknown mode $mode" >&2; exit 99 +` + +/** A throwaway git repo with one commit; optionally an orca.yaml archive hook. */ +function seedGitRepo(label, withHook, githubSlug) { + const dir = mkdtempSync(join(tmpdir(), `agh-repo-${label}-`)) + writeFileSync(join(dir, 'README.md'), `# ${label}\n`) + if (withHook) { + writeFileSync( + join(dir, 'orca.yaml'), + `scripts:\n archive: |\n${ARCHIVE_HOOK.split('\n') + .map((l) => ` ${l}`) + .join('\n')}\n` + ) + } + git(dir, 'init', '-b', 'main') + git(dir, 'config', 'user.email', 'verify@orca.test') + git(dir, 'config', 'user.name', 'Archive Gate Verify') + if (githubSlug) { + git(dir, 'remote', 'add', 'origin', `https://github.com/agh-owner/${githubSlug}.git`) + } + git(dir, 'add', '-A') + git(dir, 'commit', '-m', 'seed') + return dir +} + +function waitForReady(child) { + return new Promise((res, rej) => { + let buffered = '' + let serverErr = '' + const timer = setTimeout( + () => rej(new Error(`no ready payload in ${READY_TIMEOUT_MS}ms\n${serverErr}`)), + READY_TIMEOUT_MS + ) + child.stderr.setEncoding('utf8') + child.stderr.on('data', (c) => { + serverErr += c + }) + child.stdout.setEncoding('utf8') + child.stdout.on('data', (chunk) => { + buffered += chunk + for (const line of buffered.split('\n')) { + if (!line.startsWith('{')) { + continue + } + try { + const p = JSON.parse(line) + if (p.type === 'orca_server_ready') { + clearTimeout(timer) + res(p) + return + } + } catch { + /* partial */ + } + } + }) + child.on('exit', (code) => { + clearTimeout(timer) + rej(new Error(`server exited ${code} before ready:\n${serverErr}`)) + }) + }) +} + +/** Filesystem + git truth about a worktree, read directly rather than through Orca. */ +function evidence(repoPath, wtPath) { + const ls = spawnSync('ls', ['-la', wtPath], { encoding: 'utf8' }) + const list = spawnSync('git', ['worktree', 'list'], { cwd: repoPath, encoding: 'utf8' }) + return { + dirExists: existsSync(wtPath), + fileExists: existsSync(join(wtPath, 'PRECIOUS.txt')), + fileBody: existsSync(join(wtPath, 'PRECIOUS.txt')) + ? readFileSync(join(wtPath, 'PRECIOUS.txt'), 'utf8').trim() + : null, + registered: (list.stdout ?? '').includes(wtPath), + ls: (ls.stdout ?? '').trim(), + worktreeList: (list.stdout ?? '').trim() + } +} + +function showEvidence(e) { + out(' --- ls -la ---') + out( + e.ls + .split('\n') + .map((l) => ` ${l}`) + .join('\n') + ) + out(' --- git worktree list (in the repo) ---') + out( + e.worktreeList + .split('\n') + .map((l) => ` ${l}`) + .join('\n') + ) +} + +async function main() { + const userDataDir = mkdtempSync(join(tmpdir(), 'agh-userdata-')) + out(`booting headless runtime on port ${PORT}, userData ${userDataDir}`) + const child = spawn( + 'npx', + [ + 'electron', + serveEntry, + '--serve', + '--serve-port', + String(PORT), + '--serve-json', + `--user-data-dir=${userDataDir}` + ], + { + cwd: projectDir, + stdio: ['ignore', 'pipe', 'pipe'], + env: { ...process.env, ORCA_BACKGROUND_LAUNCH: '1' } + } + ) + const created = [] + + try { + const ready = await waitForReady(child) + pairingCode = new URL(ready.pairing.url).searchParams.get('code') + out(`ready: ${ready.advertisedEndpoint}`) + + // ---------------------------------------------------------------- setup + const hookRepoPath = seedGitRepo('hooked', true) + const folderProjectSlug = `agh-folder-proof-${randomBytes(3).toString('hex')}` + const bareRepoPath = seedGitRepo('nohook', false, folderProjectSlug) + const hookRepo = ok(['repo', 'add', '--path', hookRepoPath]).repo + const bareRepo = ok(['repo', 'add', '--path', bareRepoPath]).repo + out(`repo with archive hook: ${hookRepoPath} (${hookRepo.id})`) + out(`repo without archive hook: ${bareRepoPath} (${bareRepo.id})`) + + const makeWorktree = (repo, repoPath, name) => { + const wt = ok([ + 'worktree', + 'create', + '--repo', + `id:${repo.id}`, + '--name', + name, + '--setup', + 'skip' + ]).worktree + created.push(wt) + const unarchivedBody = `unarchived work for ${name}` + writeFileSync(join(wt.path, 'PRECIOUS.txt'), `${unarchivedBody}\n`) + return { ...wt, repoPath, unarchivedBody } + } + + // ============================================================ SCENARIO 1 + banner('SCENARIO 1 — archive hook exits 23: removal MUST be refused, nothing deleted') + setMode('fail') + const wt1 = makeWorktree(hookRepo, hookRepoPath, `gate-fail-${randomBytes(3).toString('hex')}`) + out(`worktree: ${wt1.path}`) + const before = evidence(wt1.repoPath, wt1.path) + + out('\n$ orca worktree rm --worktree --run-hooks (human output)') + const human = cli(['worktree', 'rm', '--worktree', wt1.id, '--run-hooks'], { json: false }) + out(` exit code: ${human.status}`) + out(' --- stdout ---') + out( + (human.stdout ?? '') + .trimEnd() + .split('\n') + .map((l) => ` ${l}`) + .join('\n') + ) + out(' --- stderr ---') + out( + (human.stderr ?? '') + .trimEnd() + .split('\n') + .map((l) => ` ${l}`) + .join('\n') + ) + + out( + '\n$ orca worktree rm --worktree --force --run-hooks --json (--force must NOT waive)' + ) + const forced = cli(['worktree', 'rm', '--worktree', wt1.id, '--force', '--run-hooks']) + const forcedJson = parseJsonLine(forced) + out(` exit code: ${forced.status}`) + out(` ${JSON.stringify(forcedJson)}`) + + const after1 = evidence(wt1.repoPath, wt1.path) + showEvidence(after1) + + check('CLI exits non-zero', human.status !== 0, `got ${human.status}`) + check( + 'human stderr names the archive hook', + /Archive hook failed for worktree/.test(human.stderr ?? '') + ) + check('--force also refused (non-zero)', forced.status !== 0, `got ${forced.status}`) + check( + 'typed error code', + forcedJson?.error?.code === 'worktree_archive_hook_failed', + JSON.stringify(forcedJson?.error?.code) + ) + check( + "error data outcome is 'exited'", + forcedJson?.error?.data?.outcome === 'exited', + JSON.stringify(forcedJson?.error?.data) + ) + check('error data carries exitCode 23', forcedJson?.error?.data?.exitCode === 23) + check('checkout directory still exists', after1.dirExists) + // Assert the CONTENTS, not just the path: a file that survived as an empty stub would prove + // nothing about the work the archive hook was supposed to rescue. + check( + 'unarchived file PRECIOUS.txt survives with its contents', + after1.fileExists && after1.fileBody === wt1.unarchivedBody, + `exists=${after1.fileExists} body=${JSON.stringify(after1.fileBody)}` + ) + check('git worktree registration survives', after1.registered) + check( + 'nothing changed vs. before the attempt', + before.dirExists === after1.dirExists && before.registered === after1.registered + ) + const shown = ok(['worktree', 'show', '--worktree', wt1.id]).worktree + check('Orca still resolves the worktree', shown?.id === wt1.id) + check( + 'the hook really ran (twice: plain + --force)', + hookRuns().length >= 2, + `runs=${hookRuns().length}` + ) + // The checkout is dirty (untracked PRECIOUS.txt). The plain run reported the ARCHIVE failure, + // not the dirty-preflight failure, so the gate is evaluated before that preflight. + check( + 'archive gate precedes the dirty preflight (dirty checkout, archive error reported)', + /Archive hook failed/.test(human.stderr ?? '') && + !/\?\? PRECIOUS\.txt/.test(human.stderr ?? '') + ) + + // ============================================================ SCENARIO 2 + banner('SCENARIO 2 — --allow-failed-archive-hook: removal proceeds, waiver recorded') + // --force here waives only the DIRTY preflight (PRECIOUS.txt is untracked on purpose); + // scenario 1 already proved it does not waive the archive gate. + const waived = cli([ + 'worktree', + 'rm', + '--worktree', + wt1.id, + '--force', + '--run-hooks', + '--allow-failed-archive-hook' + ]) + const waivedJson = parseJsonLine(waived) + out(` exit code: ${waived.status}`) + out(` ${JSON.stringify(waivedJson)}`) + const after2 = evidence(wt1.repoPath, wt1.path) + out(` checkout still on disk: ${after2.dirExists}`) + out( + ` --- git worktree list ---\n${after2.worktreeList + .split('\n') + .map((l) => ` ${l}`) + .join('\n')}` + ) + check('override exits zero', waived.status === 0, `got ${waived.status}`) + check('removal reported', waivedJson?.result?.removed === true) + check('checkout is GONE', !after2.dirExists) + check('git registration is gone', !after2.registered) + check( + 'archiveHookOverride recorded', + waivedJson?.result?.archiveHookOverride?.overridden === true, + JSON.stringify(waivedJson?.result?.archiveHookOverride) + ) + check( + 'override records exit 23 / exited', + waivedJson?.result?.archiveHookOverride?.exitCode === 23 && + waivedJson?.result?.archiveHookOverride?.outcome === 'exited' + ) + + // ============================================================ SCENARIO 3 + banner('SCENARIO 3 — archive hook exits 0: removal proceeds') + setMode('ok') + const wt3 = makeWorktree(hookRepo, hookRepoPath, `gate-ok-${randomBytes(3).toString('hex')}`) + out(`worktree: ${wt3.path}`) + const okRm = cli(['worktree', 'rm', '--worktree', wt3.id, '--force', '--run-hooks']) + const okJson = parseJsonLine(okRm) + out(` exit code: ${okRm.status}`) + out(` ${JSON.stringify(okJson)}`) + const after3 = evidence(wt3.repoPath, wt3.path) + check('exits zero', okRm.status === 0) + check('checkout deleted', !after3.dirExists) + check('git registration gone', !after3.registered) + check( + 'no archiveHookOverride on a clean run', + okJson?.result?.archiveHookOverride === undefined + ) + + // ============================================================ SCENARIO 4 + banner('SCENARIO 4 — no archive hook configured: removal proceeds unchanged') + const wt4 = makeWorktree( + bareRepo, + bareRepoPath, + `gate-nohook-${randomBytes(3).toString('hex')}` + ) + out(`worktree: ${wt4.path}`) + const runsBefore = hookRuns().length + const noHook = cli(['worktree', 'rm', '--worktree', wt4.id, '--force', '--run-hooks']) + const noHookJson = parseJsonLine(noHook) + out(` exit code: ${noHook.status}`) + out(` ${JSON.stringify(noHookJson)}`) + const after4 = evidence(wt4.repoPath, wt4.path) + check('exits zero', noHook.status === 0) + check('checkout deleted', !after4.dirExists) + check('no hook was run', hookRuns().length === runsBefore) + + // ============================================================ SCENARIO 5 + banner('SCENARIO 5 — hook never reports an exit (killed): must BLOCK as `unverifiable`') + setMode('signal') + const wt5 = makeWorktree(hookRepo, hookRepoPath, `gate-unver-${randomBytes(3).toString('hex')}`) + out(`worktree: ${wt5.path}`) + const unver = cli(['worktree', 'rm', '--worktree', wt5.id, '--run-hooks']) + const unverJson = parseJsonLine(unver) + out(` exit code: ${unver.status}`) + out(` ${JSON.stringify(unverJson)}`) + const after5 = evidence(wt5.repoPath, wt5.path) + showEvidence(after5) + check('blocked (non-zero)', unver.status !== 0, `got ${unver.status}`) + check('typed error code', unverJson?.error?.code === 'worktree_archive_hook_failed') + check( + "outcome is 'unverifiable', NOT 'exited'", + unverJson?.error?.data?.outcome === 'unverifiable', + JSON.stringify(unverJson?.error?.data) + ) + check( + 'exit code is WITHHELD (never read as a pass)', + unverJson?.error?.data?.exitCode === undefined + ) + check('checkout survives', after5.dirExists && after5.fileExists) + check('git registration survives', after5.registered) + + // clean up scenario 5 with the waiver so the temp dirs go away + setMode('ok') + cli(['worktree', 'rm', '--worktree', wt5.id, '--force']) + + // ============================================================ SCENARIO 6 + banner('SCENARIO 6 — folder workspace removal (the boundary that runs no hook) is unchanged') + const folderDir = mkdtempSync(join(tmpdir(), 'agh-folder-')) + mkdirSync(join(folderDir, 'src')) + writeFileSync(join(folderDir, 'src', 'app.txt'), 'folder workspace content\n') + // A folder workspace is imported against an existing project identity, so anchor it on the + // hookless repo's GitHub-derived project. + const folderProjectId = `github:agh-owner/${folderProjectSlug}` + ok([ + 'project', + 'setup-existing-folder', + '--project', + folderProjectId, + '--host', + 'local', + '--path', + folderDir, + '--kind', + 'folder' + ]) + const folderRepo = (ok(['repo', 'list']).repos ?? []).find((r) => r.path === folderDir) ?? null + out(`folder repo: ${folderDir} (${folderRepo?.id}) kind=${folderRepo?.kind}`) + check('registered repo kind is folder', folderRepo?.kind === 'folder', String(folderRepo?.kind)) + // The project ROOT of a folder project is not deletable (pre-existing rule, unrelated to the + // gate); the deletable folder workspace is a child created under it. + const folderRoot = ok(['worktree', 'show', '--worktree', `path:${folderDir}`]).worktree + const rootRm = cli(['worktree', 'rm', '--worktree', folderRoot.id, '--force', '--run-hooks']) + out( + ` root refusal (unchanged): exit ${rootRm.status} ${parseJsonLine(rootRm)?.error?.code} -- ${parseJsonLine(rootRm)?.error?.message}` + ) + check( + 'folder project root still refuses for its own reason, not the archive gate', + rootRm.status !== 0 && parseJsonLine(rootRm)?.error?.code !== 'worktree_archive_hook_failed' + ) + + const folderChild = ok([ + 'worktree', + 'create', + '--repo', + `id:${folderRepo.id}`, + '--name', + 'agh-folder-child', + '--setup', + 'skip' + ]).worktree + out(`folder workspace: ${folderChild.id}`) + const runsBeforeFolder = hookRuns().length + out(`\n$ orca worktree rm --worktree --force --run-hooks`) + const folderRm = cli(['worktree', 'rm', '--worktree', folderChild.id, '--force', '--run-hooks']) + const folderJson = parseJsonLine(folderRm) + out(` exit code: ${folderRm.status}`) + out(` ${JSON.stringify(folderJson)}`) + const stillThere = cli(['worktree', 'show', '--worktree', folderChild.id]) + check( + 'folder workspace removal exits zero', + folderRm.status === 0, + `${folderRm.status} ${folderRm.stderr}` + ) + check('folder removal ran no archive hook', hookRuns().length === runsBeforeFolder) + check( + 'folder contents left on disk (forget, not delete)', + existsSync(join(folderDir, 'src', 'app.txt')) + ) + check( + 'folder workspace is deregistered', + stillThere.status !== 0 && parseJsonLine(stillThere)?.error?.code === 'selector_not_found' + ) + rmSync(folderDir, { recursive: true, force: true }) + + banner(failures === 0 ? 'ALL CHECKS PASSED' : `${failures} CHECK(S) FAILED`) + } catch (error) { + out(`\nHARNESS ERROR: ${error instanceof Error ? error.stack : String(error)}`) + failures++ + } finally { + for (const wt of created) { + if (existsSync(wt.path)) { + cli(['worktree', 'rm', '--worktree', wt.id, '--force']) + rmSync(dirname(wt.path), { recursive: true, force: true }) + } + } + if (child.exitCode === null && child.signalCode === null) { + child.kill('SIGTERM') + await Promise.race([ + new Promise((r) => child.on('exit', r)), + new Promise((r) => setTimeout(r, 15_000)) + ]) + child.kill('SIGKILL') + } + rmSync(userDataDir, { recursive: true, force: true }) + } + process.exitCode = failures === 0 ? 0 : 1 +} + +setMode('ok') +main() diff --git a/config/scripts/check-changed-code-quality.mjs b/config/scripts/check-changed-code-quality.mjs index a1b5b2fc88a..1b8a0c4f5e9 100644 --- a/config/scripts/check-changed-code-quality.mjs +++ b/config/scripts/check-changed-code-quality.mjs @@ -11,6 +11,8 @@ const ROOT_CODE_QUALITY_IGNORED_PREFIXES = ['cloud/'] const CASTING_RULE = 'typescript/consistent-type-assertions' const CASTING_DISABLE_PATTERN = /\/[/*]\s*(?:oxlint|eslint)-disable(?:-next-line|-line)?\s[^\n]*typescript\/consistent-type-assertions/ +const ANTI_SLOP_DISABLE_PATTERN = + /\/[/*]\s*(?:oxlint|eslint)-disable(?:-next-line|-line)?\s[^\n]*\banti-slop\// export const OXLINT_SCANS = [ { // Why: no --config, so Oxlint keeps discovering nested configs. Pinning the root @@ -29,6 +31,12 @@ export const OXLINT_SCANS = [ { label: 'React Doctor', args: ['--config', 'config/oxlint-react-doctor.json'] + }, + { + // Why changed-lines only: the renderer carries ~4.7k pre-existing restyle/raw-color + // findings. Gating added lines holds the line without a repo-wide migration. + label: 'design system', + args: ['--config', 'config/oxlint-design-system.json'] } ] @@ -324,6 +332,20 @@ export function isCastingDirectiveUnusedWarning(diagnostic, root) { ) } +// Why: the anti-slop rules live in a JS plugin that only config/oxlint-anti-slop.json loads, so +// the root scan never sees those rule names and reports every anti-slop suppression as unused. +// `audit:anti-slop` is the scan that enforces them. +export function isAntiSlopDirectiveUnusedWarning(diagnostic, root) { + if (!/^Unused (?:oxlint|eslint)-disable/.test(diagnostic.message ?? '')) { + return false + } + return (diagnostic.labels ?? []).some((label) => + diagnosticHighlightedLines(root, diagnostic.filename, label.span).some((line) => + ANTI_SLOP_DISABLE_PATTERN.test(line) + ) + ) +} + // Why: oxlint cannot see the AGENTS.md requirement that every casting suppression carry a // line-specific SAFETY: rationale, so the directive text itself is checked over added lines. export function findCastingDirectivesMissingSafety(root, rangesByFile) { @@ -396,6 +418,7 @@ export function main( (diagnostic) => !isSuppressedDiagnostic(diagnostic, root) && !isCastingDirectiveUnusedWarning(diagnostic, root) && + !isAntiSlopDirectiveUnusedWarning(diagnostic, root) && diagnosticTouchesAddedLines(diagnostic, rangesByFile, root, baseBlocks) ) for (const diagnostic of diagnostics) { diff --git a/config/scripts/check-changed-code-quality.test.mjs b/config/scripts/check-changed-code-quality.test.mjs index 3a88cf1b02e..a0bfcd0ecd9 100644 --- a/config/scripts/check-changed-code-quality.test.mjs +++ b/config/scripts/check-changed-code-quality.test.mjs @@ -1,7 +1,10 @@ +import { mkdtempSync, rmSync, writeFileSync } from 'node:fs' +import path from 'node:path' import { describe, expect, it } from 'vitest' import { OXLINT_SCANS, diagnosticTouchesAddedLines, + isAntiSlopDirectiveUnusedWarning, isMovedCode, isRootCodeQualityPath, overlapsAddedLines, @@ -110,3 +113,44 @@ describe('moved-code exemption', () => { expect(isMovedCode(['', ' '], [['a()']])).toBe(false) }) }) + +describe('anti-slop directive unused warning', () => { + const root = path.resolve(import.meta.dirname, '..', '..') + // Assembled so no line here is itself a directive the gate would scan. + const directive = (rule) => `/* oxlint-disable ${rule} -- reason */` + + const withFixture = (firstLine, assert) => { + const directory = mkdtempSync(path.join(root, 'config', 'anti-slop-directive-test-')) + try { + const file = path.join(directory, 'fixture.ts') + writeFileSync(file, [firstLine, 'export const value = 1', ''].join('\n')) + assert({ + message: 'Unused oxlint-disable directive (no problems were reported).', + filename: file, + labels: [{ span: { line: 1 } }] + }) + } finally { + rmSync(directory, { recursive: true, force: true }) + } + } + + it('exempts a suppression the root scan cannot resolve', () => { + withFixture(directive('anti-slop/no-module-mocking'), (diagnostic) => { + expect(isAntiSlopDirectiveUnusedWarning(diagnostic, root)).toBe(true) + }) + }) + + it('still reports an unused directive for a rule the root scan does load', () => { + withFixture(directive('unicorn/no-array-reduce'), (diagnostic) => { + expect(isAntiSlopDirectiveUnusedWarning(diagnostic, root)).toBe(false) + }) + }) + + it('ignores diagnostics that are not unused-directive warnings', () => { + withFixture(directive('anti-slop/no-module-mocking'), (diagnostic) => { + expect( + isAntiSlopDirectiveUnusedWarning({ ...diagnostic, message: 'Unexpected any.' }, root) + ).toBe(false) + }) + }) +}) diff --git a/config/scripts/git-binary-compatibility-workflow.test.mjs b/config/scripts/git-binary-compatibility-workflow.test.mjs index afe5615bb44..35d2b5c60dc 100644 --- a/config/scripts/git-binary-compatibility-workflow.test.mjs +++ b/config/scripts/git-binary-compatibility-workflow.test.mjs @@ -2,42 +2,63 @@ import { readFileSync } from 'node:fs' import { parse } from 'yaml' import { describe, expect, it } from 'vitest' +const BASELINE_DIR = '~/.cache/orca-git-compat/git-2.25.5' + +const gateSteps = () => + parse(readFileSync('.github/workflows/pr.yml', 'utf8')).jobs.git_compatibility.steps + +const stepNamed = (name) => gateSteps().find((step) => step.name === name) + describe('Git binary compatibility PR gate', () => { it('runs the real-binary contract at each compatibility boundary', () => { - const workflow = parse(readFileSync('.github/workflows/pr.yml', 'utf8')) - const step = workflow.jobs.git_compatibility.steps.find( - (candidate) => candidate.name === 'Verify Git binary compatibility matrix' - ) + const run = stepNamed('Verify Git binary compatibility matrix')?.run - expect(step?.run).toContain('git-2.25.5.tar.gz') + expect(run).toContain('ORCA_GIT_COMPAT_BINARY="$HOME/.cache/orca-git-compat/git-2.25.5/git"') + expect(run).toContain('alpine/git:edge-2.38.1|2.38.1') + expect(run).toContain('alpine/git:v2.49.1|2.49.1') + expect(run).toContain('ORCA_GIT_COMPAT_IMAGE="$image"') + expect(run).toContain('src/shared/git-binary-compatibility.test.ts') + expect(run).toContain('pids+=("$!")') + expect(run).toContain('wait "$pid" || status=1') + }) + + it('builds the pinned baseline tarball into the cached directory', () => { + const run = stepNamed('Build the baseline Git binary')?.run + + expect(run).toContain('git-2.25.5.tar.gz') // Why asserted: the sha256 check only runs on the build path, so a cached binary // must come from a key that pins the same version the tarball line declares. - expect(step?.run).toContain('if [ ! -x "$source/git" ]; then') - expect(step?.run).toContain('41662c52fc16fec4963bfc41075e71f8ead6b5e386797eb6f9a1111ff95a8ddf') - expect(step?.run).toContain('ORCA_GIT_COMPAT_BINARY="$source/git"') - expect(step?.run).toContain('alpine/git:edge-2.38.1|2.38.1') - expect(step?.run).toContain('alpine/git:v2.49.1|2.49.1') - expect(step?.run).toContain('ORCA_GIT_COMPAT_IMAGE="$image"') - expect(step?.run).toContain('src/shared/git-binary-compatibility.test.ts') - expect(step?.run).toContain('-j"$(nproc)"') - expect(step?.run).toContain('pids+=("$!")') - expect(step?.run).toContain('wait "$pid" || status=1') - }) - - it('restores the baseline Git build before the matrix runs', () => { - const workflow = parse(readFileSync('.github/workflows/pr.yml', 'utf8')) - const steps = workflow.jobs.git_compatibility.steps - const cacheIndex = steps.findIndex((step) => step.name === 'Cache baseline Git build') - const matrixIndex = steps.findIndex( - (step) => step.name === 'Verify Git binary compatibility matrix' - ) - - expect(cacheIndex).toBeGreaterThanOrEqual(0) - expect(cacheIndex).toBeLessThan(matrixIndex) + expect(run).toContain('if [ -x "$source/git" ]; then') + expect(run).toContain('41662c52fc16fec4963bfc41075e71f8ead6b5e386797eb6f9a1111ff95a8ddf') + expect(run).toContain('-j"$(nproc)"') // The cached path and the build path must be the same directory or the guard // above would rebuild on every run while still reporting a cache hit. - expect(steps[cacheIndex].with.path).toBe('~/.cache/orca-git-compat/git-2.25.5') - expect(steps[matrixIndex].run).toContain('source="$HOME/.cache/orca-git-compat/git-2.25.5"') + expect(run).toContain('source="$HOME/.cache/orca-git-compat/git-2.25.5"') + }) + + it('finishes the baseline build before the timed lanes start', () => { + const steps = gateSteps() + const names = steps.map((step) => step.name) + const cacheIndex = names.indexOf('Cache baseline Git build') + const buildIndex = names.indexOf('Build the baseline Git binary') + const matrixIndex = names.indexOf('Verify Git binary compatibility matrix') + + expect(cacheIndex).toBeGreaterThanOrEqual(0) + expect(cacheIndex).toBeLessThan(buildIndex) + expect(buildIndex).toBeLessThan(matrixIndex) + // Why asserted: each lane is bounded by Vitest's per-test timeout while it waits on + // container starts, so a `make -j$(nproc)` sharing the runner shows up as a timeout + // in whichever boundary case is running rather than as a slow build. + expect(steps[matrixIndex].run).not.toContain('make -C') + expect(steps[cacheIndex].with.path).toBe(BASELINE_DIR) expect(steps[cacheIndex].with.key).toContain('2.25.5') }) + + it('pulls every matrix image before any lane runs', () => { + const run = stepNamed('Verify Git binary compatibility matrix')?.run + // A lazy pull inside one lane stalls whatever test the sibling lane is timing. + const [beforeLanes] = run.split('pids=()') + + expect(beforeLanes).toContain('docker pull --quiet "${spec%%|*}"') + }) }) diff --git a/config/scripts/happy-dom-mutation-observer-retention.ts b/config/scripts/happy-dom-mutation-observer-retention.ts index a315b3d520c..c40a070bd58 100644 --- a/config/scripts/happy-dom-mutation-observer-retention.ts +++ b/config/scripts/happy-dom-mutation-observer-retention.ts @@ -48,12 +48,12 @@ export function installHappyDomMutationObserverRetention(): boolean { const disconnect = prototype.disconnect prototype.observe = function patchedObserve( - this: object, + this: PatchableMutationObserver, target: Node, options?: MutationObserverInit ): void { const existing = new Set(readMutationListeners(target)) - observe.call(this as unknown as PatchableMutationObserver, target, options) + observe.call(this, target, options) const pinned = retainedCallbacks.get(this) ?? new Set() for (const listener of readMutationListeners(target)) { if (existing.has(listener)) { @@ -69,8 +69,8 @@ export function installHappyDomMutationObserverRetention(): boolean { } } - prototype.disconnect = function patchedDisconnect(this: object): void { - disconnect.call(this as unknown as PatchableMutationObserver) + prototype.disconnect = function patchedDisconnect(this: PatchableMutationObserver): void { + disconnect.call(this) retainedCallbacks.delete(this) } diff --git a/config/scripts/headless-serve-shutdown-matrix.test.mjs b/config/scripts/headless-serve-shutdown-matrix.test.mjs index 7231cc21e4f..32878b219f5 100644 --- a/config/scripts/headless-serve-shutdown-matrix.test.mjs +++ b/config/scripts/headless-serve-shutdown-matrix.test.mjs @@ -1,3 +1,7 @@ +/* oxlint-disable anti-slop/no-module-mocking -- This IS the Vitest spec for run-headless-serve-shutdown-docker.mjs, but the rule's test-file + override globs only .ts/.tsx, so a .test.mjs spec slips through. The script under test is a + top-level CLI module driven via vi.resetModules() + await import(); the only other way to observe + its docker argv is to spawn real docker. */ import { createHash } from 'node:crypto' import { mkdtempSync, rmSync, writeFileSync } from 'node:fs' import { tmpdir } from 'node:os' diff --git a/config/scripts/main-blocking-probe.mjs b/config/scripts/main-blocking-probe.mjs index 93a5372a765..e8b038abcaa 100644 --- a/config/scripts/main-blocking-probe.mjs +++ b/config/scripts/main-blocking-probe.mjs @@ -12,7 +12,7 @@ export function installMainBlockingProbe() { const epoch = Date.now() let result try { - result = Reflect.apply(original, this, args) + result = original.call(this, ...args) return result } finally { const durationMs = performance.now() - start diff --git a/config/scripts/mobile-markdown-placeholder-benchmark.mjs b/config/scripts/mobile-markdown-placeholder-benchmark.mjs index 20280e5a8d2..dd5cf22d9dc 100644 --- a/config/scripts/mobile-markdown-placeholder-benchmark.mjs +++ b/config/scripts/mobile-markdown-placeholder-benchmark.mjs @@ -40,7 +40,7 @@ function measure(fn, input, repeats) { return samples.sort((a, b) => a - b)[Math.floor(samples.length / 2)] } const results = [] -for (const [shape, input] of [ +for (const [inputCase, input] of [ ['ordinary Markdown', '# Hello\n\n

Use `Array` and bold.

'], ...[2048, 8192, 16384].map((length) => [ `${length} underscore collision`, @@ -49,7 +49,7 @@ for (const [shape, input] of [ ]) { assert.equal(after(input), before(input)) results.push({ - shape, + inputCase, bytes: Buffer.byteLength(input), beforeMs: measure(before, input, 5), afterMs: measure(after, input, 15) diff --git a/config/scripts/package-electron-install-owner.test.mjs b/config/scripts/package-electron-install-owner.test.mjs new file mode 100644 index 00000000000..3e1e3cf0d09 --- /dev/null +++ b/config/scripts/package-electron-install-owner.test.mjs @@ -0,0 +1,60 @@ +import { readFileSync } from 'node:fs' +import { join, resolve } from 'node:path' +import { describe, expect, it } from 'vitest' +import { parse } from 'yaml' + +const projectDir = resolve(import.meta.dirname, '../..') +const readProject = (file) => readFileSync(join(projectDir, file), 'utf8') +const packageJson = JSON.parse(readProject('package.json')) +const pnpmWorkspace = parse(readProject('pnpm-workspace.yaml')) + +const OWNED_ELECTRON_REBUILD = 'node config/scripts/rebuild-native-deps.mjs' +// Why exact tokens and not /electron/i or a substring: the owner's own path has no "electron" +// in it, so a keyword check waves a duplicated rebuild through -- the case this contract is +// named for (#20787). Substring matching has the opposite fault: `install-app-deps` would also +// reject a `check-install-app-deps-version.mjs` that installs nothing. `rebuild:electron` is +// package.json's alias for the owned script, so running it is the same takeover. +const ELECTRON_INSTALL_COMMANDS = [ + OWNED_ELECTRON_REBUILD, + 'config/scripts/rebuild-native-deps.mjs', + 'rebuild:electron', + 'electron-rebuild', + 'electron-builder', + 'install-app-deps' +] +const tokenize = (step) => step.split(/[\s]+/).flatMap((word) => [word, ...word.split(/[@]/)]) +const takesOverElectronInstall = (step) => { + if (step.includes(OWNED_ELECTRON_REBUILD)) { + return true + } + const tokens = new Set(tokenize(step)) + return ELECTRON_INSTALL_COMMANDS.some((command) => tokens.has(command)) +} + +describe('Electron binary install ownership', () => { + it('keeps root postinstall as the single Electron binary install owner', () => { + // The invariant is that the root postinstall owns the Electron binary install, not that + // nothing may run after it -- pinning the whole string broke every open PR (#20726). + const steps = packageJson.scripts.postinstall.split('&&').map((step) => step.trim()) + expect(steps[0]).toBe(OWNED_ELECTRON_REBUILD) + for (const step of steps.slice(1)) { + expect(takesOverElectronInstall(step)).toBe(false) + } + expect(pnpmWorkspace.allowBuilds).not.toHaveProperty('electron') + }) + + // Why a separate case: the assertion above only reads the real postinstall, so it cannot show + // a bad chain would be caught. #20787 shipped a keyword check that missed a duplicated + // rebuild; these fixtures pin the rejections themselves. + it('rejects a chained step that would take over the Electron install', () => { + expect(takesOverElectronInstall(OWNED_ELECTRON_REBUILD)).toBe(true) + expect(takesOverElectronInstall('npx electron-rebuild')).toBe(true) + expect(takesOverElectronInstall('npx electron-builder install-app-deps')).toBe(true) + expect(takesOverElectronInstall('node config/scripts/sync-anti-slop-plugin.mjs')).toBe(false) + expect(takesOverElectronInstall('node config/scripts/check-electron-version.mjs')).toBe(false) + expect(takesOverElectronInstall('pnpm run rebuild:electron')).toBe(true) + expect(takesOverElectronInstall('node config/scripts/check-install-app-deps-version.mjs')).toBe( + false + ) + }) +}) diff --git a/config/scripts/package-electron-runtime-contract.test.mjs b/config/scripts/package-electron-runtime-contract.test.mjs index 31d9b7a8d57..7ede0fc6208 100644 --- a/config/scripts/package-electron-runtime-contract.test.mjs +++ b/config/scripts/package-electron-runtime-contract.test.mjs @@ -24,11 +24,6 @@ describe('Electron runtime package contract', () => { linux: createPackagedRuntimeNodeModuleResources('linux') } - it('keeps root postinstall as the single Electron binary install owner', () => { - expect(packageJson.scripts.postinstall).toBe('node config/scripts/rebuild-native-deps.mjs') - expect(pnpmWorkspace.allowBuilds).not.toHaveProperty('electron') - }) - it('keeps the native Windows registry addon optional and platform-gated', () => { const rebuildScript = readProject('config/scripts/rebuild-native-deps.mjs') const ensureScript = readProject('config/scripts/ensure-native-runtime.mjs') diff --git a/config/scripts/persistence-call-probe.mjs b/config/scripts/persistence-call-probe.mjs index d62df17cc0b..dc15462d0cf 100644 --- a/config/scripts/persistence-call-probe.mjs +++ b/config/scripts/persistence-call-probe.mjs @@ -21,7 +21,7 @@ export function installPersistenceCallProbe() { const epoch = Date.now() let result try { - result = Reflect.apply(original, this, args) + result = original.call(this, ...args) return result } finally { const durationMs = performance.now() - start diff --git a/config/scripts/redactor-environment-lines-benchmark.mjs b/config/scripts/redactor-environment-lines-benchmark.mjs index 71aebf9fe88..b30e56fee05 100644 --- a/config/scripts/redactor-environment-lines-benchmark.mjs +++ b/config/scripts/redactor-environment-lines-benchmark.mjs @@ -25,7 +25,7 @@ function median(fn, input, repeats) { return samples.sort((a, b) => a - b)[Math.floor(samples.length / 2)] } const rows = [] -for (const [shape, input] of [ +for (const [label, input] of [ ['8KiB blank lines', '\n'.repeat(8192)], ['16KiB blank lines', '\n'.repeat(16384)], ['32KiB blank lines', '\n'.repeat(32768)], @@ -37,7 +37,7 @@ for (const [shape, input] of [ const beforeMs = median(before, input, 3) const afterMs = median(redactString, input, 15) rows.push({ - shape, + label, bytes: Buffer.byteLength(input), beforeMs, afterMs, diff --git a/config/scripts/repo-icon-source-href-benchmark.mjs b/config/scripts/repo-icon-source-href-benchmark.mjs index 76c42d261b4..da560724a23 100644 --- a/config/scripts/repo-icon-source-href-benchmark.mjs +++ b/config/scripts/repo-icon-source-href-benchmark.mjs @@ -36,15 +36,15 @@ function measurePair(source) { const results = [] for (const size of [8192, 16384, 32768]) { - for (const shape of ['no icon', 'rel without href', 'unterminated link starts']) { + for (const variant of ['no icon', 'rel without href', 'unterminated link starts']) { const source = - shape === 'unterminated link starts' + variant === 'unterminated link starts' ? ' { calls += 1 - return Reflect.apply(nativeByteLength, Buffer, args) + return nativeByteLength.call(Buffer, ...args) } try { return { output: fn(), calls } diff --git a/config/scripts/tool-preview-whitespace-benchmark.mjs b/config/scripts/tool-preview-whitespace-benchmark.mjs index df590e52520..a98fdef7f8b 100644 --- a/config/scripts/tool-preview-whitespace-benchmark.mjs +++ b/config/scripts/tool-preview-whitespace-benchmark.mjs @@ -77,7 +77,7 @@ for (const input of [ ]) { assert.deepEqual(display(after, input), display(before, input)) } -for (const [shape, input] of [ +for (const [caseName, input] of [ ['tiny', 'ls -la'], ['100KB', 'a b\n\t'.repeat(15000)], ['1MB', 'a b\n\t'.repeat(150000)], @@ -110,5 +110,5 @@ for (const [shape, input] of [ samples[label].push((cpu.user + cpu.system) / 20000) } } - console.log(JSON.stringify({ shape, samples })) + console.log(JSON.stringify({ caseName, samples })) } diff --git a/config/scripts/verify-skill-update-roundtrip.mjs b/config/scripts/verify-skill-update-roundtrip.mjs index bfb10a50494..bc7a9c5e998 100644 --- a/config/scripts/verify-skill-update-roundtrip.mjs +++ b/config/scripts/verify-skill-update-roundtrip.mjs @@ -22,7 +22,7 @@ function option(name) { const cliVersion = option('cli') const autocrlf = option('autocrlf') -const shape = option('shape') +const placement = option('shape') // Why: PR branch names are untrusted workflow input. Keep them out of the // generated shell command and pass them to Node through the environment. const source = option('source') ?? process.env.SKILL_UPDATE_SOURCE @@ -30,7 +30,7 @@ const ref = option('ref') ?? process.env.SKILL_UPDATE_REF if ( !cliVersion || (autocrlf !== 'true' && autocrlf !== 'false') || - (shape !== 'symlink' && shape !== 'copy') || + (placement !== 'symlink' && placement !== 'copy') || !source || !ref || !/^[^/\s]+\/[^/\s]+$/.test(source) @@ -103,7 +103,7 @@ async function seedPlacement(name, tag) { const providerRoot = path.join(home, '.claude', 'skills') const provider = path.join(providerRoot, name) await mkdir(providerRoot, { recursive: true }) - await (shape === 'copy' + await (placement === 'copy' ? cp(canonical, provider, { recursive: true }) : symlink(canonical, provider, process.platform === 'win32' ? 'junction' : 'dir')) } @@ -211,20 +211,20 @@ try { await assertCurrentCanonical(targetName) const targetProviderAfter = await packageDigestAt(await realpath(targetProvider)) const targetProviderStat = await lstat(targetProvider) - if (shape === 'symlink' && !targetProviderStat.isSymbolicLink()) { + if (placement === 'symlink' && !targetProviderStat.isSymbolicLink()) { throw new Error(`${targetName} provider alias was replaced with an independent copy`) } - if (shape === 'symlink' && targetProviderAfter !== currentSkill(targetName).packageDigest) { + if (placement === 'symlink' && targetProviderAfter !== currentSkill(targetName).packageDigest) { throw new Error(`${targetName} provider alias did not converge with the canonical update`) } if ( - shape === 'copy' && + placement === 'copy' && targetProviderAfter !== targetProviderBefore && targetProviderAfter !== currentSkill(targetName).packageDigest ) { throw new Error('Independent provider copy changed to an unexpected package identity') } - if (shape === 'copy') { + if (placement === 'copy') { // Why: hosted 1.5.17 replaces copies with aliases while equivalent local runs // retain the copy. Both prove this input topology must remain ineligible. const outcome = targetProviderStat.isSymbolicLink() @@ -241,7 +241,7 @@ try { throw new Error('Targeted update changed the non-targeted control provider placement') } const controlProviderStat = await lstat(controlProvider) - if (shape === 'symlink' && !controlProviderStat.isSymbolicLink()) { + if (placement === 'symlink' && !controlProviderStat.isSymbolicLink()) { throw new Error('Targeted update changed the non-targeted control topology') } } finally { diff --git a/config/scripts/wsl-git-shell-benchmark.mjs b/config/scripts/wsl-git-shell-benchmark.mjs index ca63c291165..2ae1f09876d 100644 --- a/config/scripts/wsl-git-shell-benchmark.mjs +++ b/config/scripts/wsl-git-shell-benchmark.mjs @@ -358,7 +358,7 @@ async function main() { sampleAggregation: BENCHMARK_SAMPLE_AGGREGATION, injectedLoginDelayMs: options.loginDelayMs, loginProbePreambleBytes: Buffer.byteLength(probeText.split('__ORCA_PATH__', 1)[0]), - guestProcessShape: { + guestProcessChain: { login: 'sh -> interactive login shell -> git', fast: 'env -> git' }, diff --git a/docs/assets/readme-downloads.svg b/docs/assets/readme-downloads.svg index bd7a18f8488..3db30cbff7a 100644 --- a/docs/assets/readme-downloads.svg +++ b/docs/assets/readme-downloads.svg @@ -1,5 +1,5 @@ - - downloads: 54m + + downloads: 59m @@ -15,7 +15,7 @@ downloads downloads - 54m - 54m + 59m + 59m diff --git a/docs/reference/git-compatibility.md b/docs/reference/git-compatibility.md index 1e19860385e..d537c4d94de 100644 --- a/docs/reference/git-compatibility.md +++ b/docs/reference/git-compatibility.md @@ -69,6 +69,12 @@ PR checks run the capability contract against real Git 2.25.5, 2.38.1, and 2.49.1 binaries. This spans the pre-2.29 serialized `FETCH_HEAD` fallback, the transitional `merge-tree --write-tree` behavior before `--merge-base`, and current Git. +The three lanes run in parallel and each Git call in the container lanes costs a +container start, so their wall clock is runner contention, not Git. Build the +2.25.5 binary and pull the images before the lanes start: anything heavy left +running alongside them is charged to whichever boundary case is in flight and +surfaces as a Vitest timeout rather than as a slow setup step. + Keep the unit tests alongside that matrix. They cover concurrent probes, native/WSL/SSH/relay isolation, and error-stream shapes that a single real binary invocation cannot exercise deterministically. diff --git a/mobile/rpc-foundation/goldens/aivault-history-scan-fulfilled.json b/mobile/rpc-foundation/goldens/aivault-history-scan-fulfilled.json new file mode 100644 index 00000000000..242fe11cbe5 --- /dev/null +++ b/mobile/rpc-foundation/goldens/aivault-history-scan-fulfilled.json @@ -0,0 +1,144 @@ +{ + "operation": "aiVault.history-scan", + "family": "aiVault.history", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "7add46922ba5486e56c8acd99a53d083b605f5d98f3cc44ee3cb350ec0406080", + "scenarioSha256": "0431ac82cbb8c60b16f4432fd0da7cff665485d668e512b20fc1168ec63db3fe", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "1e5b32902af7": { + "name": "status.get#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "681cb0d74271": { + "name": "aiVault.listSessions#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"aiVault.listSessions\",\"params\":{\"limit\":500,\"force\":false,\"scopePaths\":[\"/repo/feature\"]}}" + }, + "6e50957443ea": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "capabilities": ["aiVault.v1"] + } + } + } + }, + "b567072e5440": { + "name": "aiVault.listSessions#1", + "args": [ + { + "name": "method", + "value": "aiVault.listSessions" + }, + { + "name": "params", + "value": { + "force": false, + "limit": 500, + "scopePaths": ["/repo/feature"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "issues": [], + "sessions": [ + { + "agent": "claude", + "cwd": "/repo/feature", + "id": "s1" + } + ] + } + } + } + }, + "cd739a80b7a8": { + "activeWorktreePath": "/repo/feature", + "hostStatusResult": { + "capabilities": ["aiVault.v1"] + }, + "refreshing": false, + "scope": "workspace", + "screenState": { + "issues": [], + "kind": "ready", + "sessions": [ + { + "agent": "claude", + "cwd": "/repo/feature", + "id": "s1" + } + ] + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "aivault-history-scan-fulfilled", + "checkpoints": [ + { + "id": "ready", + "observation": { + "sender": ["6e50957443ea", "b567072e5440"], + "payloads": ["1e5b32902af7", "681cb0d74271"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "cd739a80b7a8", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/aivault-history-scan-unsupported.json b/mobile/rpc-foundation/goldens/aivault-history-scan-unsupported.json new file mode 100644 index 00000000000..e9cd49c0eb0 --- /dev/null +++ b/mobile/rpc-foundation/goldens/aivault-history-scan-unsupported.json @@ -0,0 +1,90 @@ +{ + "operation": "aiVault.history-scan", + "family": "aiVault.history", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "7add46922ba5486e56c8acd99a53d083b605f5d98f3cc44ee3cb350ec0406080", + "scenarioSha256": "e97c6db772a70ee1912419ac67835b6074aaf9a341d4360389a11465f08092c5", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "053ddb72973f": { + "activeWorktreePath": "/repo/feature", + "hostStatusResult": { + "capabilities": ["mobile.tasks.v1"] + }, + "refreshing": false, + "scope": "workspace", + "screenState": { + "kind": "unsupported" + } + }, + "1e5b32902af7": { + "name": "status.get#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "6f30f8b6f3d7": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "capabilities": ["mobile.tasks.v1"] + } + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "aivault-history-scan-unsupported", + "checkpoints": [ + { + "id": "unsupported", + "observation": { + "sender": ["6f30f8b6f3d7"], + "payloads": ["1e5b32902af7"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "053ddb72973f", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/aivault-history-scan-worktrees-late.json b/mobile/rpc-foundation/goldens/aivault-history-scan-worktrees-late.json new file mode 100644 index 00000000000..120b26ac1db --- /dev/null +++ b/mobile/rpc-foundation/goldens/aivault-history-scan-worktrees-late.json @@ -0,0 +1,207 @@ +{ + "operation": "aiVault.history-scan", + "family": "aiVault.history", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "7add46922ba5486e56c8acd99a53d083b605f5d98f3cc44ee3cb350ec0406080", + "scenarioSha256": "10011c7c75e74d9c2e880c5458c9156264ae07e91956a80946ede1d4e684952a", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "1e5b32902af7": { + "name": "status.get#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "33d053404f10": { + "activeWorktreePath": { + "$rpc": "null" + }, + "hostStatusResult": { + "capabilities": ["aiVault.v1"] + }, + "refreshing": false, + "scope": "workspace", + "screenState": { + "kind": "loading" + } + }, + "38364726a135": { + "name": "aiVault.listSessions#1", + "args": [ + { + "name": "method", + "value": "aiVault.listSessions" + }, + { + "name": "params", + "value": { + "force": false, + "limit": 500, + "scopePaths": ["/repo/feature"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "issues": [], + "sessions": [ + { + "agent": "claude", + "cwd": "/repo/feature", + "id": "s1" + } + ] + } + } + } + }, + "6e50957443ea": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "capabilities": ["aiVault.v1"] + } + } + } + }, + "9cac597c56da": { + "name": "status.get#2", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "capabilities": ["aiVault.v1"] + } + } + } + }, + "c0c86e67c300": { + "name": "status.get#2", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "cd739a80b7a8": { + "activeWorktreePath": "/repo/feature", + "hostStatusResult": { + "capabilities": ["aiVault.v1"] + }, + "refreshing": false, + "scope": "workspace", + "screenState": { + "issues": [], + "kind": "ready", + "sessions": [ + { + "agent": "claude", + "cwd": "/repo/feature", + "id": "s1" + } + ] + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f191cc9d24e3": { + "name": "aiVault.listSessions#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"aiVault.listSessions\",\"params\":{\"limit\":500,\"force\":false,\"scopePaths\":[\"/repo/feature\"]}}" + } + }, + "recording": { + "scenario": "aivault-history-scan-worktrees-late", + "checkpoints": [ + { + "id": "held", + "observation": { + "sender": ["6e50957443ea"], + "payloads": ["1e5b32902af7"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "33d053404f10", + "effects": [] + } + }, + { + "id": "ready", + "observation": { + "sender": ["6e50957443ea", "9cac597c56da", "38364726a135"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "f191cc9d24e3"], + "settlements": { + "mount": "eb79a9b3682a", + "worktrees-loaded": "eb79a9b3682a" + }, + "state": "cd739a80b7a8", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/aivault-resume-launch-create-refused.json b/mobile/rpc-foundation/goldens/aivault-resume-launch-create-refused.json new file mode 100644 index 00000000000..16539153f4e --- /dev/null +++ b/mobile/rpc-foundation/goldens/aivault-resume-launch-create-refused.json @@ -0,0 +1,89 @@ +{ + "operation": "aiVault.resume-launch", + "family": "aiVault.resume-launch", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "2f43211e4084c0493bd02ec98868acf53a4c748f89a70cd9657c9c3ee87b12fb", + "scenarioSha256": "ebf1bbc01ad7704fe79eff0969fcc2d4af8ebfa7c2410d2ed9d3ae8c6976b434", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "58d16e8809a2": { + "name": "session.tabs.createTerminal#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"session.tabs.createTerminal\",\"params\":{\"worktree\":\"id:workspace-1\",\"activate\":false,\"select\":true,\"navigation\":\"caller\"}}" + }, + "62643ed38326": { + "failure": "Workspace is busy", + "launched": "unlaunched" + }, + "6e913cd7b306": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Workspace is busy", + "isRpcDeliveryUnknown": false + } + }, + "a7dec90e01a8": { + "name": "session.tabs.createTerminal#1", + "args": [ + { + "name": "method", + "value": "session.tabs.createTerminal" + }, + { + "name": "params", + "value": { + "activate": false, + "navigation": "caller", + "select": true, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "worktree_busy", + "message": "Workspace is busy" + }, + "id": "frame-1", + "ok": false + } + } + } + }, + "recording": { + "scenario": "aivault-resume-launch-create-refused", + "checkpoints": [ + { + "id": "create-refused", + "observation": { + "sender": ["a7dec90e01a8"], + "payloads": ["58d16e8809a2"], + "settlements": { + "bare": "6e913cd7b306" + }, + "state": "62643ed38326", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/aivault-resume-launch-invalid-tab.json b/mobile/rpc-foundation/goldens/aivault-resume-launch-invalid-tab.json new file mode 100644 index 00000000000..6eea99fbcd7 --- /dev/null +++ b/mobile/rpc-foundation/goldens/aivault-resume-launch-invalid-tab.json @@ -0,0 +1,96 @@ +{ + "operation": "aiVault.resume-launch", + "family": "aiVault.resume-launch", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "2f43211e4084c0493bd02ec98868acf53a4c748f89a70cd9657c9c3ee87b12fb", + "scenarioSha256": "281ccf5a082f3788ae8bf19f742ea4baf35c20c78bc91d7d91873845583e1a91", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "432332c9740e": { + "failure": "Created terminal response was invalid", + "launched": "unlaunched" + }, + "681fc4d59b92": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Created terminal response was invalid", + "isRpcDeliveryUnknown": false + } + }, + "af9961132c24": { + "name": "session.tabs.createTerminal#1", + "args": [ + { + "name": "method", + "value": "session.tabs.createTerminal" + }, + { + "name": "params", + "value": { + "activate": false, + "clientMutationId": "resume-mutation-1", + "env": { + "ORCA_RESUME": "1" + }, + "envToDelete": ["CODEX_HOME"], + "launchAgent": "codex", + "navigation": "caller", + "select": true, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "tab": { + "id": "tab-9" + } + } + } + } + }, + "eb30e498d168": { + "name": "session.tabs.createTerminal#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"session.tabs.createTerminal\",\"params\":{\"worktree\":\"id:workspace-1\",\"env\":{\"ORCA_RESUME\":\"1\"},\"envToDelete\":[\"CODEX_HOME\"],\"launchAgent\":\"codex\",\"clientMutationId\":\"resume-mutation-1\",\"activate\":false,\"select\":true,\"navigation\":\"caller\"}}" + } + }, + "recording": { + "scenario": "aivault-resume-launch-invalid-tab", + "checkpoints": [ + { + "id": "invalid-tab", + "observation": { + "sender": ["af9961132c24"], + "payloads": ["eb30e498d168"], + "settlements": { + "full": "681fc4d59b92" + }, + "state": "432332c9740e", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/aivault-resume-launch-locked.json b/mobile/rpc-foundation/goldens/aivault-resume-launch-locked.json new file mode 100644 index 00000000000..b329349e867 --- /dev/null +++ b/mobile/rpc-foundation/goldens/aivault-resume-launch-locked.json @@ -0,0 +1,140 @@ +{ + "operation": "aiVault.resume-launch", + "family": "aiVault.resume-launch", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "2f43211e4084c0493bd02ec98868acf53a4c748f89a70cd9657c9c3ee87b12fb", + "scenarioSha256": "941fcf202417c94ef546f5ee331983689d8b72397dac6f61dda944ca24abed9e", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0f026fafa7e1": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Terminal input is locked", + "isRpcDeliveryUnknown": false + } + }, + "5f84c02b1f7b": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "enter": true, + "terminal": "terminal-9", + "text": "codex resume rollout" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "send": { + "accepted": false + } + } + } + } + }, + "6b1e36abce6b": { + "name": "session.tabs.createTerminal#1", + "args": [ + { + "name": "method", + "value": "session.tabs.createTerminal" + }, + { + "name": "params", + "value": { + "activate": false, + "clientMutationId": "resume-mutation-1", + "env": { + "ORCA_RESUME": "1" + }, + "envToDelete": ["CODEX_HOME"], + "launchAgent": "codex", + "navigation": "caller", + "select": true, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "tab": { + "id": "tab-9", + "terminal": "terminal-9", + "title": "codex", + "type": "terminal" + } + } + } + } + }, + "a9a45875782f": { + "name": "terminal.send#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-9\",\"text\":\"codex resume rollout\",\"enter\":true}}" + }, + "da57c90b80d6": { + "failure": "Terminal input is locked", + "launched": "unlaunched" + }, + "eb30e498d168": { + "name": "session.tabs.createTerminal#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"session.tabs.createTerminal\",\"params\":{\"worktree\":\"id:workspace-1\",\"env\":{\"ORCA_RESUME\":\"1\"},\"envToDelete\":[\"CODEX_HOME\"],\"launchAgent\":\"codex\",\"clientMutationId\":\"resume-mutation-1\",\"activate\":false,\"select\":true,\"navigation\":\"caller\"}}" + } + }, + "recording": { + "scenario": "aivault-resume-launch-locked", + "checkpoints": [ + { + "id": "input-locked", + "observation": { + "sender": ["6b1e36abce6b", "5f84c02b1f7b"], + "payloads": ["eb30e498d168", "a9a45875782f"], + "settlements": { + "full": "0f026fafa7e1" + }, + "state": "da57c90b80d6", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/aivault-resume-launch-sent.json b/mobile/rpc-foundation/goldens/aivault-resume-launch-sent.json new file mode 100644 index 00000000000..e3f52018840 --- /dev/null +++ b/mobile/rpc-foundation/goldens/aivault-resume-launch-sent.json @@ -0,0 +1,146 @@ +{ + "operation": "aiVault.resume-launch", + "family": "aiVault.resume-launch", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "2f43211e4084c0493bd02ec98868acf53a4c748f89a70cd9657c9c3ee87b12fb", + "scenarioSha256": "f0ac1c996e5b1b4043e0a081978476c6c2dd8a5d517d5752857721205a588fb0", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "400d946a183d": { + "failure": { + "$rpc": "null" + }, + "launched": { + "id": "tab-9", + "terminal": "terminal-9", + "title": "codex" + } + }, + "6b1e36abce6b": { + "name": "session.tabs.createTerminal#1", + "args": [ + { + "name": "method", + "value": "session.tabs.createTerminal" + }, + { + "name": "params", + "value": { + "activate": false, + "clientMutationId": "resume-mutation-1", + "env": { + "ORCA_RESUME": "1" + }, + "envToDelete": ["CODEX_HOME"], + "launchAgent": "codex", + "navigation": "caller", + "select": true, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "tab": { + "id": "tab-9", + "terminal": "terminal-9", + "title": "codex", + "type": "terminal" + } + } + } + } + }, + "6e79da536ca9": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "tab-9", + "terminal": "terminal-9", + "title": "codex" + } + }, + "a84f5d45a48b": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "enter": true, + "terminal": "terminal-9", + "text": "codex resume rollout" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + } + }, + "a9a45875782f": { + "name": "terminal.send#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-9\",\"text\":\"codex resume rollout\",\"enter\":true}}" + }, + "eb30e498d168": { + "name": "session.tabs.createTerminal#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"session.tabs.createTerminal\",\"params\":{\"worktree\":\"id:workspace-1\",\"env\":{\"ORCA_RESUME\":\"1\"},\"envToDelete\":[\"CODEX_HOME\"],\"launchAgent\":\"codex\",\"clientMutationId\":\"resume-mutation-1\",\"activate\":false,\"select\":true,\"navigation\":\"caller\"}}" + } + }, + "recording": { + "scenario": "aivault-resume-launch-sent", + "checkpoints": [ + { + "id": "resumed", + "observation": { + "sender": ["6b1e36abce6b", "a84f5d45a48b"], + "payloads": ["eb30e498d168", "a9a45875782f"], + "settlements": { + "full": "6e79da536ca9" + }, + "state": "400d946a183d", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/aivault-resume-prepare-refused.json b/mobile/rpc-foundation/goldens/aivault-resume-prepare-refused.json new file mode 100644 index 00000000000..c91898d3562 --- /dev/null +++ b/mobile/rpc-foundation/goldens/aivault-resume-prepare-refused.json @@ -0,0 +1,89 @@ +{ + "operation": "aiVault.resume-preparation", + "family": "aiVault.resume-preparation", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "2f43211e4084c0493bd02ec98868acf53a4c748f89a70cd9657c9c3ee87b12fb", + "scenarioSha256": "dc9926f95475413627315e1f1c96740ececa697c6a0a5e3c42e18cfd4d58448a", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "1c21b98bedb1": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "codex home is locked", + "isRpcDeliveryUnknown": false + } + }, + "3a299ed75c3d": { + "name": "aiVault.prepareSessionResume#1", + "args": [ + { + "name": "method", + "value": "aiVault.prepareSessionResume" + }, + { + "name": "params", + "value": { + "agent": "codex", + "codexHome": "/hosts/codex-runtime-home/home", + "executionHostId": "local", + "filePath": "/sessions/rollout.jsonl" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "internal", + "message": "codex home is locked" + }, + "id": "frame-1", + "ok": false + } + } + }, + "7e4864f4412b": { + "failure": "codex home is locked", + "prepared": "unprepared" + }, + "9a6c365d544f": { + "name": "aiVault.prepareSessionResume#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"aiVault.prepareSessionResume\",\"params\":{\"agent\":\"codex\",\"filePath\":\"/sessions/rollout.jsonl\",\"codexHome\":\"/hosts/codex-runtime-home/home\",\"executionHostId\":\"local\"}}" + } + }, + "recording": { + "scenario": "aivault-resume-prepare-refused", + "checkpoints": [ + { + "id": "refused", + "observation": { + "sender": ["3a299ed75c3d"], + "payloads": ["9a6c365d544f"], + "settlements": { + "prepare": "1c21b98bedb1" + }, + "state": "7e4864f4412b", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/aivault-resume-prepare-repin.json b/mobile/rpc-foundation/goldens/aivault-resume-prepare-repin.json new file mode 100644 index 00000000000..0e05bb49ff5 --- /dev/null +++ b/mobile/rpc-foundation/goldens/aivault-resume-prepare-repin.json @@ -0,0 +1,97 @@ +{ + "operation": "aiVault.resume-preparation", + "family": "aiVault.resume-preparation", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "2f43211e4084c0493bd02ec98868acf53a4c748f89a70cd9657c9c3ee87b12fb", + "scenarioSha256": "6719aea706086a68709894546f9595264407db2df94fa56180cb3c68b08aaa69", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "02733b10ba3d": { + "failure": { + "$rpc": "null" + }, + "prepared": { + "agent": "codex", + "codexHome": "/hosts/codex-accounts/acct-1/home", + "executionHostId": "local", + "filePath": "/sessions/rollout.jsonl" + } + }, + "15e10cea84b9": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "agent": "codex", + "codexHome": "/hosts/codex-accounts/acct-1/home", + "executionHostId": "local", + "filePath": "/sessions/rollout.jsonl" + } + }, + "9a6c365d544f": { + "name": "aiVault.prepareSessionResume#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"aiVault.prepareSessionResume\",\"params\":{\"agent\":\"codex\",\"filePath\":\"/sessions/rollout.jsonl\",\"codexHome\":\"/hosts/codex-runtime-home/home\",\"executionHostId\":\"local\"}}" + }, + "d8803e70463f": { + "name": "aiVault.prepareSessionResume#1", + "args": [ + { + "name": "method", + "value": "aiVault.prepareSessionResume" + }, + { + "name": "params", + "value": { + "agent": "codex", + "codexHome": "/hosts/codex-runtime-home/home", + "executionHostId": "local", + "filePath": "/sessions/rollout.jsonl" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "substituteCodexHome": "/hosts/codex-accounts/acct-1/home", + "useRealCodexHome": false + } + } + } + } + }, + "recording": { + "scenario": "aivault-resume-prepare-repin", + "checkpoints": [ + { + "id": "repinned", + "observation": { + "sender": ["d8803e70463f"], + "payloads": ["9a6c365d544f"], + "settlements": { + "prepare": "15e10cea84b9" + }, + "state": "02733b10ba3d", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/aivault-resume-prepare-skipped.json b/mobile/rpc-foundation/goldens/aivault-resume-prepare-skipped.json new file mode 100644 index 00000000000..a3baab8960d --- /dev/null +++ b/mobile/rpc-foundation/goldens/aivault-resume-prepare-skipped.json @@ -0,0 +1,56 @@ +{ + "operation": "aiVault.resume-preparation", + "family": "aiVault.resume-preparation", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "2f43211e4084c0493bd02ec98868acf53a4c748f89a70cd9657c9c3ee87b12fb", + "scenarioSha256": "3afaf2807506f5bde2159b367f34c6b777739d6aad564796d54ac0da05b5bd02", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "5d9b438a0a47": { + "failure": { + "$rpc": "null" + }, + "prepared": { + "agent": "claude", + "codexHome": "/hosts/codex-runtime-home/home", + "executionHostId": "local", + "filePath": "/sessions/rollout.jsonl" + } + }, + "fd5226716450": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "agent": "claude", + "codexHome": "/hosts/codex-runtime-home/home", + "executionHostId": "local", + "filePath": "/sessions/rollout.jsonl" + } + } + }, + "recording": { + "scenario": "aivault-resume-prepare-skipped", + "checkpoints": [ + { + "id": "no-wire", + "observation": { + "sender": [], + "payloads": [], + "settlements": { + "claude": "fd5226716450" + }, + "state": "5d9b438a0a47", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/aivault-resume-prepare-unavailable.json b/mobile/rpc-foundation/goldens/aivault-resume-prepare-unavailable.json new file mode 100644 index 00000000000..c1c6f8d66e0 --- /dev/null +++ b/mobile/rpc-foundation/goldens/aivault-resume-prepare-unavailable.json @@ -0,0 +1,97 @@ +{ + "operation": "aiVault.resume-preparation", + "family": "aiVault.resume-preparation", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "2f43211e4084c0493bd02ec98868acf53a4c748f89a70cd9657c9c3ee87b12fb", + "scenarioSha256": "a5eedea5f551e0ca0e143292f1d9aa8920dd7af62a02d8e8777666ab3779c019", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "9a6c365d544f": { + "name": "aiVault.prepareSessionResume#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"aiVault.prepareSessionResume\",\"params\":{\"agent\":\"codex\",\"filePath\":\"/sessions/rollout.jsonl\",\"codexHome\":\"/hosts/codex-runtime-home/home\",\"executionHostId\":\"local\"}}" + }, + "a25c46d6c1db": { + "name": "aiVault.prepareSessionResume#1", + "args": [ + { + "name": "method", + "value": "aiVault.prepareSessionResume" + }, + { + "name": "params", + "value": { + "agent": "codex", + "codexHome": "/hosts/codex-runtime-home/home", + "executionHostId": "local", + "filePath": "/sessions/rollout.jsonl" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "forbidden", + "message": "Method 'aiVault.prepareSessionResume' is not available to mobile clients" + }, + "id": "frame-1", + "ok": false + } + } + }, + "e839ea279e77": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "agent": "codex", + "codexHome": "/hosts/codex-runtime-home/home", + "executionHostId": "local", + "filePath": "/sessions/rollout.jsonl" + } + }, + "f9dc8bff0bbd": { + "failure": { + "$rpc": "null" + }, + "prepared": { + "agent": "codex", + "codexHome": "/hosts/codex-runtime-home/home", + "executionHostId": "local", + "filePath": "/sessions/rollout.jsonl" + } + } + }, + "recording": { + "scenario": "aivault-resume-prepare-unavailable", + "checkpoints": [ + { + "id": "degraded-to-legacy", + "observation": { + "sender": ["a25c46d6c1db"], + "payloads": ["9a6c365d544f"], + "settlements": { + "prepare": "e839ea279e77" + }, + "state": "f9dc8bff0bbd", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/b1.json b/mobile/rpc-foundation/goldens/b1.json index 62348307747..18178b06511 100644 --- a/mobile/rpc-foundation/goldens/b1.json +++ b/mobile/rpc-foundation/goldens/b1.json @@ -3,9 +3,9 @@ "family": "legacy-inventory", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "262eaad263a45aa13ec5b27c12b59946b12c202474229fff7a5727dba6d702ca", "scenarioSha256": "23ffc912a432dcd3ff70be1903a8d518cf85634f27a2be6d21585963e338e7e3", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/b2.json b/mobile/rpc-foundation/goldens/b2.json index 7a8c6d229a5..fabb731bbc9 100644 --- a/mobile/rpc-foundation/goldens/b2.json +++ b/mobile/rpc-foundation/goldens/b2.json @@ -3,9 +3,9 @@ "family": "project-explicit-false", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "d3b7f33d810e1fa420ac41a628cde9fe4a9e65fd57f89fbca0a40fc7d74951ab", "scenarioSha256": "b31992be2f91bd61fbe1b8a5400da3b7a56753564b0b0b2b38bc5d549812d693", "platform": "darwin", @@ -13,6 +13,11 @@ "projectionVersion": 2, "goldenFormatVersion": 5, "values": { + "02839f22d2db": { + "name": "projectMutating", + "value": false, + "sent": 1 + }, "0c4dced3e005": { "error": "", "mutating": true, @@ -41,10 +46,6 @@ "itemType": "ISSUE" } }, - "2cd14f7121a5": { - "name": "projectMutating", - "value": false - }, "52a7a7239fbb": { "name": "github.project.updateIssueBySlug#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.updateIssueBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\",\"number\":1,\"updates\":{\"addLabels\":[\"recorded\"]}}}" @@ -88,17 +89,19 @@ } } }, + "7b2465eedefe": { + "name": "projectMutating", + "value": true, + "sent": 0 + }, "9270aeb7d9c6": { "status": "pending", "startedAt": 0 }, - "c2a271fc5d97": { - "name": "projectMutating", - "value": true - }, - "d330309fabb3": { + "a7b76954b136": { "name": "projectRowDetailError", - "value": "Cannot read properties of null (reading 'ok')" + "value": "Cannot read properties of null (reading 'ok')", + "sent": 1 }, "e5673036d45e": { "name": "github.project.updateIssueBySlug#1", @@ -153,7 +156,7 @@ "submit": "9270aeb7d9c6" }, "state": "0c4dced3e005", - "effects": ["c2a271fc5d97"] + "effects": ["7b2465eedefe"] } }, { @@ -166,7 +169,7 @@ "submit": "eb79a9b3682a" }, "state": "204a5c5728c2", - "effects": ["c2a271fc5d97", "d330309fabb3", "2cd14f7121a5"] + "effects": ["7b2465eedefe", "a7b76954b136", "02839f22d2db"] } } ] diff --git a/mobile/rpc-foundation/goldens/b3.json b/mobile/rpc-foundation/goldens/b3.json index 94931d8971f..1d1996a99f0 100644 --- a/mobile/rpc-foundation/goldens/b3.json +++ b/mobile/rpc-foundation/goldens/b3.json @@ -3,9 +3,9 @@ "family": "linear-detail-barrier", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "d3b7f33d810e1fa420ac41a628cde9fe4a9e65fd57f89fbca0a40fc7d74951ab", "scenarioSha256": "130e493fcd7765e037405f59e6cc78a0cc1793b1ae092cad933ff9d5a9df8b7a", "platform": "darwin", @@ -48,13 +48,10 @@ } } }, - "1696f2f90218": { + "0e0abca05602": { "name": "detailError", - "value": "comments transport error" - }, - "3b01c25bcd45": { - "name": "detailError", - "value": "" + "value": "comments transport error", + "sent": 2 }, "3cb9a384ce0e": { "name": "linear.issueComments#1", @@ -121,6 +118,11 @@ } } }, + "56d172ecd2fe": { + "name": "detailLoading", + "value": true, + "sent": 0 + }, "780aaf1d97be": { "error": "", "loading": true, @@ -128,19 +130,17 @@ "$rpc": "null" } }, - "7d21147e56c1": { - "name": "detailLoading", - "value": true - }, - "7d341b2cb946": { + "9bd1de5d9753": { "name": "detailPayload", "value": { "$rpc": "null" - } + }, + "sent": 0 }, - "91a1c8142e23": { - "name": "detailLoading", - "value": false + "9d6ce9f28401": { + "name": "detailError", + "value": "", + "sent": 0 }, "bb215a1eb59b": { "name": "linear.getIssue#1", @@ -158,6 +158,11 @@ "$rpc": "undefined" } }, + "ee0c4638d266": { + "name": "detailLoading", + "value": false, + "sent": 2 + }, "fc4ce176400a": { "name": "linear.getIssue#1", "args": [ @@ -197,7 +202,7 @@ "mount": "eb79a9b3682a" }, "state": "780aaf1d97be", - "effects": ["7d341b2cb946", "3b01c25bcd45", "7d21147e56c1"] + "effects": ["9bd1de5d9753", "9d6ce9f28401", "56d172ecd2fe"] } }, { @@ -209,7 +214,7 @@ "mount": "eb79a9b3682a" }, "state": "780aaf1d97be", - "effects": ["7d341b2cb946", "3b01c25bcd45", "7d21147e56c1"] + "effects": ["9bd1de5d9753", "9d6ce9f28401", "56d172ecd2fe"] } }, { @@ -222,11 +227,11 @@ }, "state": "42903545f0f8", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "1696f2f90218", - "91a1c8142e23" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "0e0abca05602", + "ee0c4638d266" ] } } diff --git a/mobile/rpc-foundation/goldens/browser-dialog-accepted.json b/mobile/rpc-foundation/goldens/browser-dialog-accepted.json new file mode 100644 index 00000000000..0793dfa32ac --- /dev/null +++ b/mobile/rpc-foundation/goldens/browser-dialog-accepted.json @@ -0,0 +1,92 @@ +{ + "operation": "browser.page-commands", + "family": "browser.dialog", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "55971752f963202d30160851197a301089b0f3ebd0c46725af1a461d8310d658", + "scenarioSha256": "95f377bc4d8bf1248cafed26b2e9f425ad37e8d3c99e354bd6a8c67eb9bd9b1b", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "2a884fbac9d5": { + "name": "browser.dialogAccept#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"browser.dialogAccept\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\"}}" + }, + "9855d4ec3415": { + "busy": false, + "dialog": { + "$rpc": "null" + }, + "error": { + "$rpc": "null" + }, + "keyboardValue": "hello", + "pointerModifiers": [] + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f23289a40300": { + "name": "browser.dialogAccept#1", + "args": [ + { + "name": "method", + "value": "browser.dialogAccept" + }, + { + "name": "params", + "value": { + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "accepted": true + } + } + } + } + }, + "recording": { + "scenario": "browser-dialog-accepted", + "checkpoints": [ + { + "id": "dismissed", + "observation": { + "sender": ["f23289a40300"], + "payloads": ["2a884fbac9d5"], + "settlements": { + "mount": "eb79a9b3682a", + "dialog": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/browser-dialog-dismissed.json b/mobile/rpc-foundation/goldens/browser-dialog-dismissed.json new file mode 100644 index 00000000000..4e045caec4d --- /dev/null +++ b/mobile/rpc-foundation/goldens/browser-dialog-dismissed.json @@ -0,0 +1,92 @@ +{ + "operation": "browser.page-commands", + "family": "browser.dialog", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "55971752f963202d30160851197a301089b0f3ebd0c46725af1a461d8310d658", + "scenarioSha256": "5071188ee492a4ced5be793b2dab32baa9750ee6535128635f274fd79198e2f1", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "9855d4ec3415": { + "busy": false, + "dialog": { + "$rpc": "null" + }, + "error": { + "$rpc": "null" + }, + "keyboardValue": "hello", + "pointerModifiers": [] + }, + "be3e7ad116a5": { + "name": "browser.dialogDismiss#1", + "args": [ + { + "name": "method", + "value": "browser.dialogDismiss" + }, + { + "name": "params", + "value": { + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "dismissed": true + } + } + } + }, + "e14582853169": { + "name": "browser.dialogDismiss#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"browser.dialogDismiss\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\"}}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "browser-dialog-dismissed", + "checkpoints": [ + { + "id": "dismissed", + "observation": { + "sender": ["be3e7ad116a5"], + "payloads": ["e14582853169"], + "settlements": { + "mount": "eb79a9b3682a", + "dialog": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/browser-keyboard-input.json b/mobile/rpc-foundation/goldens/browser-keyboard-input.json new file mode 100644 index 00000000000..4db02afaa3c --- /dev/null +++ b/mobile/rpc-foundation/goldens/browser-keyboard-input.json @@ -0,0 +1,140 @@ +{ + "operation": "browser.page-commands", + "family": "browser.keyboard", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "55971752f963202d30160851197a301089b0f3ebd0c46725af1a461d8310d658", + "scenarioSha256": "eb2294c30af70ebc2bac092dc5105249ae8cf1941f750406622f7ff6dd70cc1b", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "04ae34c3208f": { + "name": "browser.keypress#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"browser.keypress\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"key\":\"Enter\"}}" + }, + "37ef5fe93769": { + "name": "browser.keyboardInsertText#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"browser.keyboardInsertText\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"text\":\"hello\"}}" + }, + "5fe64ef6c1f3": { + "name": "toast", + "value": { + "message": "Sent" + }, + "sent": 1 + }, + "770254847b6a": { + "name": "browser.keyboardInsertText#1", + "args": [ + { + "name": "method", + "value": "browser.keyboardInsertText" + }, + { + "name": "params", + "value": { + "page": "page-1", + "text": "hello", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "inserted": true + } + } + } + }, + "8160e8872519": { + "busy": false, + "dialog": { + "$rpc": "null" + }, + "error": { + "$rpc": "null" + }, + "keyboardValue": "", + "pointerModifiers": [] + }, + "c532c7fdcc69": { + "name": "browser.keypress#1", + "args": [ + { + "name": "method", + "value": "browser.keypress" + }, + { + "name": "params", + "value": { + "key": "Enter", + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "pressed": true + } + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "browser-keyboard-input", + "checkpoints": [ + { + "id": "typed", + "observation": { + "sender": ["770254847b6a", "c532c7fdcc69"], + "payloads": ["37ef5fe93769", "04ae34c3208f"], + "settlements": { + "mount": "eb79a9b3682a", + "text": "eb79a9b3682a", + "keypress": "eb79a9b3682a" + }, + "state": "8160e8872519", + "effects": ["5fe64ef6c1f3"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/browser-pointer-click-accepted.json b/mobile/rpc-foundation/goldens/browser-pointer-click-accepted.json new file mode 100644 index 00000000000..0664dbc60e8 --- /dev/null +++ b/mobile/rpc-foundation/goldens/browser-pointer-click-accepted.json @@ -0,0 +1,97 @@ +{ + "operation": "browser.page-commands", + "family": "browser.pointer-click", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "55971752f963202d30160851197a301089b0f3ebd0c46725af1a461d8310d658", + "scenarioSha256": "73faa87b359a11959543542016295bb6b36a10934dd99ad5c1a77a4290a608cd", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "1e463da3d358": { + "name": "browser.mouseClick#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseClick\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"x\":40,\"y\":80,\"button\":\"left\",\"modifiers\":[],\"radius\":14}}" + }, + "5b621e308200": { + "name": "browser.mouseClick#1", + "args": [ + { + "name": "method", + "value": "browser.mouseClick" + }, + { + "name": "params", + "value": { + "button": "left", + "modifiers": [], + "page": "page-1", + "radius": 14, + "worktree": "id:worktree-1", + "x": 40, + "y": 80 + } + }, + { + "name": "options", + "value": { + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "clicked": true + } + } + } + }, + "9855d4ec3415": { + "busy": false, + "dialog": { + "$rpc": "null" + }, + "error": { + "$rpc": "null" + }, + "keyboardValue": "hello", + "pointerModifiers": [] + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "browser-pointer-click-accepted", + "checkpoints": [ + { + "id": "clicked", + "observation": { + "sender": ["5b621e308200"], + "payloads": ["1e463da3d358"], + "settlements": { + "mount": "eb79a9b3682a", + "click": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/browser-pointer-click-fallback.json b/mobile/rpc-foundation/goldens/browser-pointer-click-fallback.json new file mode 100644 index 00000000000..e5ac6262efd --- /dev/null +++ b/mobile/rpc-foundation/goldens/browser-pointer-click-fallback.json @@ -0,0 +1,216 @@ +{ + "operation": "browser.page-commands", + "family": "browser.pointer-click", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "55971752f963202d30160851197a301089b0f3ebd0c46725af1a461d8310d658", + "scenarioSha256": "20779e28880cf62340bc34cef8f40a49311e11262ac069df909743da9b5500ff", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "1961908d1da1": { + "name": "browser.mouseDown#1", + "args": [ + { + "name": "method", + "value": "browser.mouseDown" + }, + { + "name": "params", + "value": { + "button": "left", + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "down": true + } + } + } + }, + "1e463da3d358": { + "name": "browser.mouseClick#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseClick\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"x\":40,\"y\":80,\"button\":\"left\",\"modifiers\":[],\"radius\":14}}" + }, + "278a20085af8": { + "name": "browser.mouseMove#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseMove\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"x\":40,\"y\":80}}" + }, + "41b41cc39e88": { + "name": "browser.mouseUp#1", + "args": [ + { + "name": "method", + "value": "browser.mouseUp" + }, + { + "name": "params", + "value": { + "button": "left", + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "up": true + } + } + } + }, + "9855d4ec3415": { + "busy": false, + "dialog": { + "$rpc": "null" + }, + "error": { + "$rpc": "null" + }, + "keyboardValue": "hello", + "pointerModifiers": [] + }, + "ad7da1632835": { + "name": "browser.mouseDown#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseDown\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"button\":\"left\"}}" + }, + "b3273afd3ec2": { + "name": "browser.mouseMove#1", + "args": [ + { + "name": "method", + "value": "browser.mouseMove" + }, + { + "name": "params", + "value": { + "page": "page-1", + "worktree": "id:worktree-1", + "x": 40, + "y": 80 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "moved": true + } + } + } + }, + "cf9ea7b52a57": { + "name": "browser.mouseClick#1", + "args": [ + { + "name": "method", + "value": "browser.mouseClick" + }, + { + "name": "params", + "value": { + "button": "left", + "modifiers": [], + "page": "page-1", + "radius": 14, + "worktree": "id:worktree-1", + "x": 40, + "y": 80 + } + }, + { + "name": "options", + "value": { + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "selector_not_found" + }, + "id": "frame-1", + "ok": false + } + } + }, + "eaa436587fe0": { + "name": "browser.mouseUp#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseUp\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"button\":\"left\"}}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "browser-pointer-click-fallback", + "checkpoints": [ + { + "id": "clicked-by-fallback", + "observation": { + "sender": ["cf9ea7b52a57", "b3273afd3ec2", "1961908d1da1", "41b41cc39e88"], + "payloads": ["1e463da3d358", "278a20085af8", "ad7da1632835", "eaa436587fe0"], + "settlements": { + "mount": "eb79a9b3682a", + "click": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/browser-wheel-scrolled.json b/mobile/rpc-foundation/goldens/browser-wheel-scrolled.json new file mode 100644 index 00000000000..970957c549a --- /dev/null +++ b/mobile/rpc-foundation/goldens/browser-wheel-scrolled.json @@ -0,0 +1,134 @@ +{ + "operation": "browser.page-commands", + "family": "browser.wheel", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "55971752f963202d30160851197a301089b0f3ebd0c46725af1a461d8310d658", + "scenarioSha256": "e1bc21248ccff45ff217e385a51618b6f5724c037bfbefa03bb76a48dd4d793b", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "3ae1d19b9c51": { + "name": "browser.mouseMove#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseMove\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"x\":40,\"y\":80}}" + }, + "56a99047a121": { + "name": "browser.mouseMove#1", + "args": [ + { + "name": "method", + "value": "browser.mouseMove" + }, + { + "name": "params", + "value": { + "page": "page-1", + "worktree": "id:worktree-1", + "x": 40, + "y": 80 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "moved": true + } + } + } + }, + "71b1fb55eafa": { + "name": "browser.mouseWheel#1", + "args": [ + { + "name": "method", + "value": "browser.mouseWheel" + }, + { + "name": "params", + "value": { + "dx": 0, + "dy": -120, + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "scrolled": true + } + } + } + }, + "8bf9a97ea141": { + "name": "browser.mouseWheel#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseWheel\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"dx\":0,\"dy\":-120}}" + }, + "9855d4ec3415": { + "busy": false, + "dialog": { + "$rpc": "null" + }, + "error": { + "$rpc": "null" + }, + "keyboardValue": "hello", + "pointerModifiers": [] + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "browser-wheel-scrolled", + "checkpoints": [ + { + "id": "scrolled", + "observation": { + "sender": ["56a99047a121", "71b1fb55eafa"], + "payloads": ["3ae1d19b9c51", "8bf9a97ea141"], + "settlements": { + "mount": "eb79a9b3682a", + "wheel": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/clipboard-image-attachment-anonymous.json b/mobile/rpc-foundation/goldens/clipboard-image-attachment-anonymous.json new file mode 100644 index 00000000000..71a5b6b098a --- /dev/null +++ b/mobile/rpc-foundation/goldens/clipboard-image-attachment-anonymous.json @@ -0,0 +1,211 @@ +{ + "operation": "clipboard.image-terminal-attachment", + "family": "clipboard.image-attachment", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "16779b663f4faec8cbccdb42efd7b568a2912845b161f8a4827754687eb4235c", + "scenarioSha256": "d4031721b16d7c281c544e7b2eef774fd20dda1890d7ebaadcbbb1eda4d276fd", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "1062fb0e8dcf": { + "name": "terminal.send#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u001b[200~/tmp/img.png\\u001b[201~ \",\"enter\":false}}" + }, + "1c2f6fe81321": { + "name": "before-terminal-send", + "value": { + "terminal": "terminal-1" + }, + "sent": 3 + }, + "308e09c6a619": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "enter": false, + "terminal": "terminal-1", + "text": "\u001b[200~/tmp/img.png\u001b[201~ " + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "send": { + "accepted": false + } + } + } + } + }, + "520b3fe0fb07": { + "name": "clipboard.startImageUpload#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.startImageUpload\",\"params\":{\"expectedBase64Length\":32,\"connectionId\":\"connection-1\"}}" + }, + "5f71b4d3d25c": { + "name": "upload-start", + "value": {}, + "sent": 0 + }, + "7e48c58139e5": { + "name": "clipboard.startImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "uploadId": "upload-1" + } + } + } + }, + "7ed3d39f0607": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": false + }, + "8aa742456efd": { + "attached": false, + "failure": { + "$rpc": "null" + } + }, + "972fbf8b960e": { + "name": "clipboard.commitImageUpload#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.commitImageUpload\",\"params\":{\"uploadId\":\"upload-1\"}}" + }, + "b69a955ea891": { + "name": "clipboard.appendImageUploadChunk#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.appendImageUploadChunk\",\"params\":{\"uploadId\":\"upload-1\",\"offset\":0,\"contentBase64\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\"}}" + }, + "e93276a9971b": { + "name": "clipboard.commitImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.commitImageUpload" + }, + { + "name": "params", + "value": { + "uploadId": "upload-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": "/tmp/img.png" + } + } + }, + "f1a3d38271bc": { + "name": "clipboard.appendImageUploadChunk#1", + "args": [ + { + "name": "method", + "value": "clipboard.appendImageUploadChunk" + }, + { + "name": "params", + "value": { + "contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "offset": 0, + "uploadId": "upload-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "received": 32 + } + } + } + } + }, + "recording": { + "scenario": "clipboard-image-attachment-anonymous", + "checkpoints": [ + { + "id": "rejected", + "observation": { + "sender": ["7e48c58139e5", "f1a3d38271bc", "e93276a9971b", "308e09c6a619"], + "payloads": ["520b3fe0fb07", "b69a955ea891", "972fbf8b960e", "1062fb0e8dcf"], + "settlements": { + "anonymous": "7ed3d39f0607" + }, + "state": "8aa742456efd", + "effects": ["5f71b4d3d25c", "1c2f6fe81321"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/clipboard-image-attachment-blocked-before-send.json b/mobile/rpc-foundation/goldens/clipboard-image-attachment-blocked-before-send.json new file mode 100644 index 00000000000..89bbd092107 --- /dev/null +++ b/mobile/rpc-foundation/goldens/clipboard-image-attachment-blocked-before-send.json @@ -0,0 +1,170 @@ +{ + "operation": "clipboard.image-terminal-attachment", + "family": "clipboard.image-attachment", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "16779b663f4faec8cbccdb42efd7b568a2912845b161f8a4827754687eb4235c", + "scenarioSha256": "ea04d03c15d3cb94be7fe111a8a6219c4e0304095679bbae62af623f5b36c9f4", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "1c2f6fe81321": { + "name": "before-terminal-send", + "value": { + "terminal": "terminal-1" + }, + "sent": 3 + }, + "520b3fe0fb07": { + "name": "clipboard.startImageUpload#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.startImageUpload\",\"params\":{\"expectedBase64Length\":32,\"connectionId\":\"connection-1\"}}" + }, + "5f71b4d3d25c": { + "name": "upload-start", + "value": {}, + "sent": 0 + }, + "7e48c58139e5": { + "name": "clipboard.startImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "uploadId": "upload-1" + } + } + } + }, + "7ed3d39f0607": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": false + }, + "8aa742456efd": { + "attached": false, + "failure": { + "$rpc": "null" + } + }, + "972fbf8b960e": { + "name": "clipboard.commitImageUpload#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.commitImageUpload\",\"params\":{\"uploadId\":\"upload-1\"}}" + }, + "b69a955ea891": { + "name": "clipboard.appendImageUploadChunk#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.appendImageUploadChunk\",\"params\":{\"uploadId\":\"upload-1\",\"offset\":0,\"contentBase64\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\"}}" + }, + "e93276a9971b": { + "name": "clipboard.commitImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.commitImageUpload" + }, + { + "name": "params", + "value": { + "uploadId": "upload-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": "/tmp/img.png" + } + } + }, + "f1a3d38271bc": { + "name": "clipboard.appendImageUploadChunk#1", + "args": [ + { + "name": "method", + "value": "clipboard.appendImageUploadChunk" + }, + { + "name": "params", + "value": { + "contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "offset": 0, + "uploadId": "upload-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "received": 32 + } + } + } + } + }, + "recording": { + "scenario": "clipboard-image-attachment-blocked-before-send", + "checkpoints": [ + { + "id": "blocked", + "observation": { + "sender": ["7e48c58139e5", "f1a3d38271bc", "e93276a9971b"], + "payloads": ["520b3fe0fb07", "b69a955ea891", "972fbf8b960e"], + "settlements": { + "blocked": "7ed3d39f0607" + }, + "state": "8aa742456efd", + "effects": ["5f71b4d3d25c", "1c2f6fe81321"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/clipboard-image-attachment-cancelled.json b/mobile/rpc-foundation/goldens/clipboard-image-attachment-cancelled.json new file mode 100644 index 00000000000..c788767a93e --- /dev/null +++ b/mobile/rpc-foundation/goldens/clipboard-image-attachment-cancelled.json @@ -0,0 +1,46 @@ +{ + "operation": "clipboard.image-terminal-attachment", + "family": "clipboard.image-attachment", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "16779b663f4faec8cbccdb42efd7b568a2912845b161f8a4827754687eb4235c", + "scenarioSha256": "e6be7d5dd6b4f5083627a3ba864b1b040d71bf72b60ad940b7d0d575964a7b80", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "7ed3d39f0607": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": false + }, + "8aa742456efd": { + "attached": false, + "failure": { + "$rpc": "null" + } + } + }, + "recording": { + "scenario": "clipboard-image-attachment-cancelled", + "checkpoints": [ + { + "id": "no-wire", + "observation": { + "sender": [], + "payloads": [], + "settlements": { + "cancelled": "7ed3d39f0607" + }, + "state": "8aa742456efd", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/clipboard-image-attachment-pasted.json b/mobile/rpc-foundation/goldens/clipboard-image-attachment-pasted.json new file mode 100644 index 00000000000..c763b09b2e5 --- /dev/null +++ b/mobile/rpc-foundation/goldens/clipboard-image-attachment-pasted.json @@ -0,0 +1,215 @@ +{ + "operation": "clipboard.image-terminal-attachment", + "family": "clipboard.image-attachment", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "16779b663f4faec8cbccdb42efd7b568a2912845b161f8a4827754687eb4235c", + "scenarioSha256": "60273f74d8fe869723cbbd1a459d7d789a92e07a0f1e9444b42e2d7767e5bec1", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "1c2f6fe81321": { + "name": "before-terminal-send", + "value": { + "terminal": "terminal-1" + }, + "sent": 3 + }, + "520b3fe0fb07": { + "name": "clipboard.startImageUpload#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.startImageUpload\",\"params\":{\"expectedBase64Length\":32,\"connectionId\":\"connection-1\"}}" + }, + "5f71b4d3d25c": { + "name": "upload-start", + "value": {}, + "sent": 0 + }, + "7e48c58139e5": { + "name": "clipboard.startImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "uploadId": "upload-1" + } + } + } + }, + "84e5ca07cb7a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": true + }, + "972fbf8b960e": { + "name": "clipboard.commitImageUpload#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.commitImageUpload\",\"params\":{\"uploadId\":\"upload-1\"}}" + }, + "b69a955ea891": { + "name": "clipboard.appendImageUploadChunk#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.appendImageUploadChunk\",\"params\":{\"uploadId\":\"upload-1\",\"offset\":0,\"contentBase64\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\"}}" + }, + "b7a44aafa946": { + "attached": true, + "failure": { + "$rpc": "null" + } + }, + "bc40e57896c9": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "\u001b[200~/tmp/img.png\u001b[201~ " + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + } + }, + "d202dd09e1ff": { + "name": "terminal.send#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u001b[200~/tmp/img.png\\u001b[201~ \",\"enter\":false,\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" + }, + "e93276a9971b": { + "name": "clipboard.commitImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.commitImageUpload" + }, + { + "name": "params", + "value": { + "uploadId": "upload-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": "/tmp/img.png" + } + } + }, + "f1a3d38271bc": { + "name": "clipboard.appendImageUploadChunk#1", + "args": [ + { + "name": "method", + "value": "clipboard.appendImageUploadChunk" + }, + { + "name": "params", + "value": { + "contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "offset": 0, + "uploadId": "upload-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "received": 32 + } + } + } + } + }, + "recording": { + "scenario": "clipboard-image-attachment-pasted", + "checkpoints": [ + { + "id": "attached", + "observation": { + "sender": ["7e48c58139e5", "f1a3d38271bc", "e93276a9971b", "bc40e57896c9"], + "payloads": ["520b3fe0fb07", "b69a955ea891", "972fbf8b960e", "d202dd09e1ff"], + "settlements": { + "normal": "84e5ca07cb7a" + }, + "state": "b7a44aafa946", + "effects": ["5f71b4d3d25c", "1c2f6fe81321"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/clipboard-image-attachment-upload-refused.json b/mobile/rpc-foundation/goldens/clipboard-image-attachment-upload-refused.json new file mode 100644 index 00000000000..7efda73cb3f --- /dev/null +++ b/mobile/rpc-foundation/goldens/clipboard-image-attachment-upload-refused.json @@ -0,0 +1,92 @@ +{ + "operation": "clipboard.image-terminal-attachment", + "family": "clipboard.image-attachment", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "16779b663f4faec8cbccdb42efd7b568a2912845b161f8a4827754687eb4235c", + "scenarioSha256": "e7f492523421873f045726e15ec95eac26d43f7e971a33fd89ec1a9749492987", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "520b3fe0fb07": { + "name": "clipboard.startImageUpload#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.startImageUpload\",\"params\":{\"expectedBase64Length\":32,\"connectionId\":\"connection-1\"}}" + }, + "5f71b4d3d25c": { + "name": "upload-start", + "value": {}, + "sent": 0 + }, + "765ab192e1a5": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Image is too large", + "isRpcDeliveryUnknown": false + } + }, + "cc325ad637ea": { + "attached": "unattached", + "failure": "Image is too large" + }, + "ec6fd7f06461": { + "name": "clipboard.startImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "too_large", + "message": "Image is too large" + }, + "id": "frame-1", + "ok": false + } + } + } + }, + "recording": { + "scenario": "clipboard-image-attachment-upload-refused", + "checkpoints": [ + { + "id": "upload-refused", + "observation": { + "sender": ["ec6fd7f06461"], + "payloads": ["520b3fe0fb07"], + "settlements": { + "normal": "765ab192e1a5" + }, + "state": "cc325ad637ea", + "effects": ["5f71b4d3d25c"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/clipboard-image-upload-aborts-on-chunk-failure.json b/mobile/rpc-foundation/goldens/clipboard-image-upload-aborts-on-chunk-failure.json new file mode 100644 index 00000000000..6e8966b6477 --- /dev/null +++ b/mobile/rpc-foundation/goldens/clipboard-image-upload-aborts-on-chunk-failure.json @@ -0,0 +1,165 @@ +{ + "operation": "clipboard.image-upload", + "family": "clipboard.image-upload", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "16779b663f4faec8cbccdb42efd7b568a2912845b161f8a4827754687eb4235c", + "scenarioSha256": "195c2f15d81c70012ea88750ab3f84bfe512f7e422f7d2d09fb7919bd9cfd85a", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "3de611958398": { + "name": "clipboard.appendImageUploadChunk#1", + "args": [ + { + "name": "method", + "value": "clipboard.appendImageUploadChunk" + }, + { + "name": "params", + "value": { + "contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "offset": 0, + "uploadId": "upload-2" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "upload_expired", + "message": "Upload slot expired" + }, + "id": "frame-2", + "ok": false + } + } + }, + "75e35171f9cf": { + "name": "clipboard.abortImageUpload#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.abortImageUpload\",\"params\":{\"uploadId\":\"upload-2\"}}" + }, + "930e54058461": { + "name": "clipboard.appendImageUploadChunk#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.appendImageUploadChunk\",\"params\":{\"uploadId\":\"upload-2\",\"offset\":0,\"contentBase64\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\"}}" + }, + "9cfc668f592b": { + "name": "clipboard.abortImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.abortImageUpload" + }, + { + "name": "params", + "value": { + "uploadId": "upload-2" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "aborted": true + } + } + } + }, + "a517d3be2ecf": { + "name": "clipboard.startImageUpload#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.startImageUpload\",\"params\":{\"expectedBase64Length\":32,\"connectionId\":null}}" + }, + "b49be31d506e": { + "failure": "Upload slot expired", + "path": "unsaved" + }, + "ead0111942f4": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Upload slot expired", + "isRpcDeliveryUnknown": false + } + }, + "eddc5bc46b9b": { + "name": "clipboard.startImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": { + "$rpc": "null" + }, + "expectedBase64Length": 32 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "uploadId": "upload-2" + } + } + } + } + }, + "recording": { + "scenario": "clipboard-image-upload-aborts-on-chunk-failure", + "checkpoints": [ + { + "id": "aborted", + "observation": { + "sender": ["eddc5bc46b9b", "3de611958398", "9cfc668f592b"], + "payloads": ["a517d3be2ecf", "930e54058461", "75e35171f9cf"], + "settlements": { + "local": "ead0111942f4" + }, + "state": "b49be31d506e", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/clipboard-image-upload-chunked.json b/mobile/rpc-foundation/goldens/clipboard-image-upload-chunked.json new file mode 100644 index 00000000000..f5912f41bac --- /dev/null +++ b/mobile/rpc-foundation/goldens/clipboard-image-upload-chunked.json @@ -0,0 +1,158 @@ +{ + "operation": "clipboard.image-upload", + "family": "clipboard.image-upload", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "16779b663f4faec8cbccdb42efd7b568a2912845b161f8a4827754687eb4235c", + "scenarioSha256": "160101326d39705c2036c12646ff6b13d997a1cf91bdc86e5e29279ba31867e4", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "520b3fe0fb07": { + "name": "clipboard.startImageUpload#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.startImageUpload\",\"params\":{\"expectedBase64Length\":32,\"connectionId\":\"connection-1\"}}" + }, + "7ab518750e0f": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": "/tmp/img.png" + }, + "7e48c58139e5": { + "name": "clipboard.startImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "uploadId": "upload-1" + } + } + } + }, + "972fbf8b960e": { + "name": "clipboard.commitImageUpload#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.commitImageUpload\",\"params\":{\"uploadId\":\"upload-1\"}}" + }, + "a77b999a5f7c": { + "failure": { + "$rpc": "null" + }, + "path": "/tmp/img.png" + }, + "b69a955ea891": { + "name": "clipboard.appendImageUploadChunk#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.appendImageUploadChunk\",\"params\":{\"uploadId\":\"upload-1\",\"offset\":0,\"contentBase64\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\"}}" + }, + "e93276a9971b": { + "name": "clipboard.commitImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.commitImageUpload" + }, + { + "name": "params", + "value": { + "uploadId": "upload-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": "/tmp/img.png" + } + } + }, + "f1a3d38271bc": { + "name": "clipboard.appendImageUploadChunk#1", + "args": [ + { + "name": "method", + "value": "clipboard.appendImageUploadChunk" + }, + { + "name": "params", + "value": { + "contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "offset": 0, + "uploadId": "upload-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "received": 32 + } + } + } + } + }, + "recording": { + "scenario": "clipboard-image-upload-chunked", + "checkpoints": [ + { + "id": "uploaded", + "observation": { + "sender": ["7e48c58139e5", "f1a3d38271bc", "e93276a9971b"], + "payloads": ["520b3fe0fb07", "b69a955ea891", "972fbf8b960e"], + "settlements": { + "remote": "7ab518750e0f" + }, + "state": "a77b999a5f7c", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/clipboard-image-upload-single-frame-fallback.json b/mobile/rpc-foundation/goldens/clipboard-image-upload-single-frame-fallback.json new file mode 100644 index 00000000000..17abcc51661 --- /dev/null +++ b/mobile/rpc-foundation/goldens/clipboard-image-upload-single-frame-fallback.json @@ -0,0 +1,121 @@ +{ + "operation": "clipboard.image-upload", + "family": "clipboard.image-upload", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "16779b663f4faec8cbccdb42efd7b568a2912845b161f8a4827754687eb4235c", + "scenarioSha256": "89ffa843d08ee27dd44b7bba507ce84661b0df73c35f7a8c273e004604710dc9", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "12f2bb1c7b16": { + "name": "clipboard.startImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "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 + } + } + }, + "520b3fe0fb07": { + "name": "clipboard.startImageUpload#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.startImageUpload\",\"params\":{\"expectedBase64Length\":32,\"connectionId\":\"connection-1\"}}" + }, + "61599dd8e71a": { + "name": "clipboard.saveImageAsTempFile#1", + "args": [ + { + "name": "method", + "value": "clipboard.saveImageAsTempFile" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": "/tmp/legacy.png" + } + } + }, + "7a67576b4db6": { + "name": "clipboard.saveImageAsTempFile#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.saveImageAsTempFile\",\"params\":{\"contentBase64\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\",\"connectionId\":\"connection-1\"}}" + }, + "7f1260e77032": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": "/tmp/legacy.png" + }, + "923de2c0221d": { + "failure": { + "$rpc": "null" + }, + "path": "/tmp/legacy.png" + } + }, + "recording": { + "scenario": "clipboard-image-upload-single-frame-fallback", + "checkpoints": [ + { + "id": "fell-back", + "observation": { + "sender": ["12f2bb1c7b16", "61599dd8e71a"], + "payloads": ["520b3fe0fb07", "7a67576b4db6"], + "settlements": { + "remote": "7f1260e77032" + }, + "state": "923de2c0221d", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/clipboard-image-upload-start-refused.json b/mobile/rpc-foundation/goldens/clipboard-image-upload-start-refused.json new file mode 100644 index 00000000000..7f64cc65409 --- /dev/null +++ b/mobile/rpc-foundation/goldens/clipboard-image-upload-start-refused.json @@ -0,0 +1,87 @@ +{ + "operation": "clipboard.image-upload", + "family": "clipboard.image-upload", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "16779b663f4faec8cbccdb42efd7b568a2912845b161f8a4827754687eb4235c", + "scenarioSha256": "bf0227939c2d41d6a1ebc5b07a31196043e78f1580811bd32ec6fc5f447f5934", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "520b3fe0fb07": { + "name": "clipboard.startImageUpload#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.startImageUpload\",\"params\":{\"expectedBase64Length\":32,\"connectionId\":\"connection-1\"}}" + }, + "765ab192e1a5": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Image is too large", + "isRpcDeliveryUnknown": false + } + }, + "a69f0ea71c3c": { + "failure": "Image is too large", + "path": "unsaved" + }, + "ec6fd7f06461": { + "name": "clipboard.startImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "too_large", + "message": "Image is too large" + }, + "id": "frame-1", + "ok": false + } + } + } + }, + "recording": { + "scenario": "clipboard-image-upload-start-refused", + "checkpoints": [ + { + "id": "start-refused", + "observation": { + "sender": ["ec6fd7f06461"], + "payloads": ["520b3fe0fb07"], + "settlements": { + "remote": "765ab192e1a5" + }, + "state": "a69f0ea71c3c", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/codex-reset-credit-consumed.json b/mobile/rpc-foundation/goldens/codex-reset-credit-consumed.json new file mode 100644 index 00000000000..8d2d20596f5 --- /dev/null +++ b/mobile/rpc-foundation/goldens/codex-reset-credit-consumed.json @@ -0,0 +1,288 @@ +{ + "operation": "accounts.codex-reset-credit", + "family": "components.codex-reset-credit", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "76b53dea504a688493843e23e8e7d052fc196f559bb1e2579d0fd38bf3156d0e", + "scenarioSha256": "00260be9809576607ac91bfacd9fa6cc4f8a190c6b88804c977ea07d36d7162e", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0a07efb53f1e": { + "settled": { + "$rpc": "null" + } + }, + "60304d1e19bb": { + "settled": { + "attemptJournalRetained": false, + "outcome": "reset" + } + }, + "90f55bfe00c2": { + "name": "accounts.consumeCodexResetCredit#1", + "args": [ + { + "name": "method", + "value": "accounts.consumeCodexResetCredit" + }, + { + "name": "params", + "value": { + "expectedScope": { + "accountId": "codex-1", + "accountRevision": 1700000000000, + "offerRevision": "v1:[1,null,null,[],null,null,1700000000000]", + "target": { + "runtime": "host", + "wslDistro": { + "$rpc": "null" + } + } + }, + "idempotencyKey": "00000000-0000-4000-8000-000000000001" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 90000 + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "95625d997965": { + "name": "accounts.consumeCodexResetCredit#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"accounts.consumeCodexResetCredit\",\"params\":{\"idempotencyKey\":\"00000000-0000-4000-8000-000000000001\",\"expectedScope\":{\"target\":{\"runtime\":\"host\",\"wslDistro\":null},\"accountId\":\"codex-1\",\"accountRevision\":1700000000000,\"offerRevision\":\"v1:[1,null,null,[],null,null,1700000000000]\"}}}" + }, + "ab755576c214": { + "name": "device-store.setItem", + "value": { + "key": "orca:codex-reset-credit-attempt:v1:0832055c2fa90e8e145c588ad4db656a2fc2840ed2e851a28494eae769db9b3e", + "value": "{\"v\":1,\"hostId\":\"host-1\",\"expectedScope\":{\"target\":{\"runtime\":\"host\",\"wslDistro\":null},\"accountId\":\"codex-1\",\"accountRevision\":1700000000000,\"offerRevision\":\"v1:[1,null,null,[],null,null,1700000000000]\"},\"idempotencyKey\":\"00000000-0000-4000-8000-000000000001\"}" + }, + "sent": 0 + }, + "c4a98628ea44": { + "name": "accounts.consumeCodexResetCredit#1", + "args": [ + { + "name": "method", + "value": "accounts.consumeCodexResetCredit" + }, + { + "name": "params", + "value": { + "expectedScope": { + "accountId": "codex-1", + "accountRevision": 1700000000000, + "offerRevision": "v1:[1,null,null,[],null,null,1700000000000]", + "target": { + "runtime": "host", + "wslDistro": { + "$rpc": "null" + } + } + }, + "idempotencyKey": "00000000-0000-4000-8000-000000000001" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 90000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "outcome": "reset", + "scope": { + "accountId": "codex-1", + "accountRevision": 1700000000000, + "offerRevision": "v1:[1,null,null,[],null,null,1700000000000]", + "target": { + "runtime": "host", + "wslDistro": { + "$rpc": "null" + } + } + }, + "snapshot": { + "claude": { + "accounts": [], + "activeAccountId": { + "$rpc": "null" + } + }, + "codex": { + "accounts": [ + { + "email": "codex@example.test", + "id": "codex-1", + "updatedAt": 1700000000000 + } + ], + "activeAccountId": "codex-1", + "activeAccountIdsByRuntime": { + "host": "codex-1", + "wsl": {} + } + }, + "rateLimits": { + "claude": { + "$rpc": "null" + }, + "codex": { + "error": { + "$rpc": "null" + }, + "provider": "codex", + "rateLimitResetCredits": { + "availableCount": 1 + }, + "session": { + "$rpc": "null" + }, + "status": "ok", + "updatedAt": 1700000000000, + "weekly": { + "$rpc": "null" + } + }, + "inactiveClaudeAccounts": [], + "inactiveCodexAccounts": [] + } + } + } + } + } + }, + "fed9e1669a83": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "attemptJournalRetained": false, + "outcome": "reset", + "scope": { + "accountId": "codex-1", + "accountRevision": 1700000000000, + "offerRevision": "v1:[1,null,null,[],null,null,1700000000000]", + "target": { + "runtime": "host", + "wslDistro": { + "$rpc": "null" + } + } + }, + "snapshot": { + "claude": { + "accounts": [], + "activeAccountId": { + "$rpc": "null" + } + }, + "codex": { + "accounts": [ + { + "email": "codex@example.test", + "id": "codex-1", + "updatedAt": 1700000000000 + } + ], + "activeAccountId": "codex-1", + "activeAccountIdsByRuntime": { + "host": "codex-1", + "wsl": {} + } + }, + "rateLimits": { + "claude": { + "$rpc": "null" + }, + "claudeTarget": { + "runtime": "host", + "wslDistro": { + "$rpc": "null" + } + }, + "codex": { + "error": { + "$rpc": "null" + }, + "provider": "codex", + "rateLimitResetCredits": { + "availableCount": 1 + }, + "session": { + "$rpc": "null" + }, + "status": "ok", + "updatedAt": 1700000000000, + "weekly": { + "$rpc": "null" + } + }, + "codexTarget": { + "runtime": "host", + "wslDistro": { + "$rpc": "null" + } + }, + "inactiveClaudeAccounts": [], + "inactiveCodexAccounts": [] + } + } + } + } + }, + "recording": { + "scenario": "codex-reset-credit-consumed", + "checkpoints": [ + { + "id": "requested", + "observation": { + "sender": ["90f55bfe00c2"], + "payloads": ["95625d997965"], + "settlements": { + "confirm": "9270aeb7d9c6" + }, + "state": "0a07efb53f1e", + "effects": ["ab755576c214"] + } + }, + { + "id": "consumed", + "observation": { + "sender": ["c4a98628ea44"], + "payloads": ["95625d997965"], + "settlements": { + "confirm": "fed9e1669a83" + }, + "state": "60304d1e19bb", + "effects": ["ab755576c214"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/codex-reset-credit-resumed.json b/mobile/rpc-foundation/goldens/codex-reset-credit-resumed.json new file mode 100644 index 00000000000..06977036582 --- /dev/null +++ b/mobile/rpc-foundation/goldens/codex-reset-credit-resumed.json @@ -0,0 +1,287 @@ +{ + "operation": "accounts.codex-reset-credit", + "family": "components.codex-reset-credit", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "76b53dea504a688493843e23e8e7d052fc196f559bb1e2579d0fd38bf3156d0e", + "scenarioSha256": "d85a4031b701e563941afcdd7375cf78a1ee1487a0dab722f8516c2bc8d3dcee", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "074c5080c062": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "attemptJournalRetained": false, + "outcome": "alreadyRedeemed", + "scope": { + "accountId": "codex-1", + "accountRevision": 1700000000000, + "offerRevision": "v1:[1,null,null,[],null,null,1700000000000]", + "target": { + "runtime": "host", + "wslDistro": { + "$rpc": "null" + } + } + }, + "snapshot": { + "claude": { + "accounts": [], + "activeAccountId": { + "$rpc": "null" + } + }, + "codex": { + "accounts": [ + { + "email": "codex@example.test", + "id": "codex-1", + "updatedAt": 1700000000000 + } + ], + "activeAccountId": "codex-1", + "activeAccountIdsByRuntime": { + "host": "codex-1", + "wsl": {} + } + }, + "rateLimits": { + "claude": { + "$rpc": "null" + }, + "claudeTarget": { + "runtime": "host", + "wslDistro": { + "$rpc": "null" + } + }, + "codex": { + "error": { + "$rpc": "null" + }, + "provider": "codex", + "rateLimitResetCredits": { + "availableCount": 1 + }, + "session": { + "$rpc": "null" + }, + "status": "ok", + "updatedAt": 1700000000000, + "weekly": { + "$rpc": "null" + } + }, + "codexTarget": { + "runtime": "host", + "wslDistro": { + "$rpc": "null" + } + }, + "inactiveClaudeAccounts": [], + "inactiveCodexAccounts": [] + } + } + } + }, + "0a07efb53f1e": { + "settled": { + "$rpc": "null" + } + }, + "0e5764df4bfd": { + "settled": { + "attemptJournalRetained": false, + "outcome": "alreadyRedeemed" + } + }, + "1c9f0c57c36d": { + "name": "accounts.consumeCodexResetCredit#1", + "args": [ + { + "name": "method", + "value": "accounts.consumeCodexResetCredit" + }, + { + "name": "params", + "value": { + "expectedScope": { + "accountId": "codex-1", + "accountRevision": 1700000000000, + "offerRevision": "v1:[1,null,null,[],null,null,1700000000000]", + "target": { + "runtime": "host", + "wslDistro": { + "$rpc": "null" + } + } + }, + "idempotencyKey": "11111111-1111-4111-8111-111111111111" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 90000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "outcome": "alreadyRedeemed", + "scope": { + "accountId": "codex-1", + "accountRevision": 1700000000000, + "offerRevision": "v1:[1,null,null,[],null,null,1700000000000]", + "target": { + "runtime": "host", + "wslDistro": { + "$rpc": "null" + } + } + }, + "snapshot": { + "claude": { + "accounts": [], + "activeAccountId": { + "$rpc": "null" + } + }, + "codex": { + "accounts": [ + { + "email": "codex@example.test", + "id": "codex-1", + "updatedAt": 1700000000000 + } + ], + "activeAccountId": "codex-1", + "activeAccountIdsByRuntime": { + "host": "codex-1", + "wsl": {} + } + }, + "rateLimits": { + "claude": { + "$rpc": "null" + }, + "codex": { + "error": { + "$rpc": "null" + }, + "provider": "codex", + "rateLimitResetCredits": { + "availableCount": 1 + }, + "session": { + "$rpc": "null" + }, + "status": "ok", + "updatedAt": 1700000000000, + "weekly": { + "$rpc": "null" + } + }, + "inactiveClaudeAccounts": [], + "inactiveCodexAccounts": [] + } + } + } + } + } + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "b9cf7ce248dc": { + "name": "accounts.consumeCodexResetCredit#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"accounts.consumeCodexResetCredit\",\"params\":{\"idempotencyKey\":\"11111111-1111-4111-8111-111111111111\",\"expectedScope\":{\"target\":{\"runtime\":\"host\",\"wslDistro\":null},\"accountId\":\"codex-1\",\"accountRevision\":1700000000000,\"offerRevision\":\"v1:[1,null,null,[],null,null,1700000000000]\"}}}" + }, + "c19953b572ef": { + "name": "accounts.consumeCodexResetCredit#1", + "args": [ + { + "name": "method", + "value": "accounts.consumeCodexResetCredit" + }, + { + "name": "params", + "value": { + "expectedScope": { + "accountId": "codex-1", + "accountRevision": 1700000000000, + "offerRevision": "v1:[1,null,null,[],null,null,1700000000000]", + "target": { + "runtime": "host", + "wslDistro": { + "$rpc": "null" + } + } + }, + "idempotencyKey": "11111111-1111-4111-8111-111111111111" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 90000 + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "c55ed0a410f8": { + "name": "device-store.removeItem", + "value": { + "key": "orca:codex-reset-credit-attempt:v1:0832055c2fa90e8e145c588ad4db656a2fc2840ed2e851a28494eae769db9b3e" + }, + "sent": 1 + } + }, + "recording": { + "scenario": "codex-reset-credit-resumed", + "checkpoints": [ + { + "id": "requested", + "observation": { + "sender": ["c19953b572ef"], + "payloads": ["b9cf7ce248dc"], + "settlements": { + "confirm": "9270aeb7d9c6" + }, + "state": "0a07efb53f1e", + "effects": [] + } + }, + { + "id": "consumed", + "observation": { + "sender": ["1c9f0c57c36d"], + "payloads": ["b9cf7ce248dc"], + "settlements": { + "confirm": "074c5080c062" + }, + "state": "0e5764df4bfd", + "effects": ["c55ed0a410f8"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/components-codex-capability.json b/mobile/rpc-foundation/goldens/components-codex-capability.json new file mode 100644 index 00000000000..54804ad5fa6 --- /dev/null +++ b/mobile/rpc-foundation/goldens/components-codex-capability.json @@ -0,0 +1,80 @@ +{ + "operation": "components.codex-reset-capability", + "family": "components.codex-reset-capability", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "5cfbce3c7d97d908fbd447646d611e41a8aa1f61f684b9b710c4b67d6ff023a7", + "scenarioSha256": "88570b9d2376863c7f88d7ed8c745a5fb771deddbc7409f8944fa861dd4bdce9", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "1e5b32902af7": { + "name": "status.get#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "578b9d38ecc7": { + "supported": true + }, + "6a0093a8288b": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "capabilities": ["accounts.codex-reset-credit.v1"] + } + } + } + }, + "84e5ca07cb7a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": true + } + }, + "recording": { + "scenario": "components-codex-capability", + "checkpoints": [ + { + "id": "settled", + "observation": { + "sender": ["6a0093a8288b"], + "payloads": ["1e5b32902af7"], + "settlements": { + "probe": "84e5ca07cb7a" + }, + "state": "578b9d38ecc7", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/components-setup-ask.json b/mobile/rpc-foundation/goldens/components-setup-ask.json new file mode 100644 index 00000000000..25bc3c94f7c --- /dev/null +++ b/mobile/rpc-foundation/goldens/components-setup-ask.json @@ -0,0 +1,149 @@ +{ + "operation": "components.setup-script", + "family": "components.setup-script", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "5cfbce3c7d97d908fbd447646d611e41a8aa1f61f684b9b710c4b67d6ff023a7", + "scenarioSha256": "d4052f119c7ed68dc922c8beeb0074701f1532b10e48e284fb71aa165a17e437", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "28e75475e9e0": { + "name": "repo.hooks#1", + "args": [ + { + "name": "method", + "value": "repo.hooks" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "3515a8adcd6d": { + "name": "repo.hooks#1", + "args": [ + { + "name": "method", + "value": "repo.hooks" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "hooks": { + "scripts": { + "setup": "pnpm install" + } + }, + "setupRunPolicy": "ask", + "setupTrust": { + "$rpc": "null" + }, + "source": "repo" + } + } + } + }, + "5d1cf72f4e12": { + "advanced": true, + "command": "pnpm install", + "run": true, + "runPolicy": "ask", + "source": "repo", + "trust": { + "$rpc": "null" + } + }, + "80cf8444e458": { + "advanced": false, + "command": { + "$rpc": "null" + }, + "run": true, + "runPolicy": "run-by-default", + "source": { + "$rpc": "null" + }, + "trust": { + "$rpc": "null" + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f5dc0ce1e7b8": { + "name": "repo.hooks#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"repo.hooks\",\"params\":{\"repo\":\"id:repo-1\"}}" + } + }, + "recording": { + "scenario": "components-setup-ask", + "checkpoints": [ + { + "id": "hooks-pending", + "observation": { + "sender": ["28e75475e9e0"], + "payloads": ["f5dc0ce1e7b8"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "80cf8444e458", + "effects": [] + } + }, + { + "id": "settled", + "observation": { + "sender": ["3515a8adcd6d"], + "payloads": ["f5dc0ce1e7b8"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "5d1cf72f4e12", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/components-target-local.json b/mobile/rpc-foundation/goldens/components-target-local.json new file mode 100644 index 00000000000..aa29f8272a3 --- /dev/null +++ b/mobile/rpc-foundation/goldens/components-target-local.json @@ -0,0 +1,142 @@ +{ + "operation": "components.execution-target-local", + "family": "components.execution-target-local", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "5cfbce3c7d97d908fbd447646d611e41a8aa1f61f684b9b710c4b67d6ff023a7", + "scenarioSha256": "2e0d3021621698b63117e250dd5e9762b5bfb3dc1911e27c510e9539bd2ee6c9", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "1e4520fe6576": { + "detected": { + "$rpc": "null" + }, + "gate": { + "connectInProgress": true, + "error": { + "$rpc": "null" + }, + "requiresConnection": false, + "status": { + "$rpc": "null" + } + } + }, + "3579737ce1a6": { + "name": "preflight.detectAgents#1", + "args": [ + { + "name": "method", + "value": "preflight.detectAgents" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "6806cee7c59f": { + "name": "preflight.detectAgents#1", + "args": [ + { + "name": "method", + "value": "preflight.detectAgents" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": ["claude"] + } + } + }, + "986a776213e8": { + "detected": ["claude"], + "gate": { + "connectInProgress": true, + "error": { + "$rpc": "null" + }, + "requiresConnection": false, + "status": { + "$rpc": "null" + } + } + }, + "cf32edc950ac": { + "name": "preflight.detectAgents#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectAgents\"}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "components-target-local", + "checkpoints": [ + { + "id": "detect-pending", + "observation": { + "sender": ["3579737ce1a6"], + "payloads": ["cf32edc950ac"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "1e4520fe6576", + "effects": [] + } + }, + { + "id": "settled", + "observation": { + "sender": ["6806cee7c59f"], + "payloads": ["cf32edc950ac"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "986a776213e8", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/components-target-ssh.json b/mobile/rpc-foundation/goldens/components-target-ssh.json new file mode 100644 index 00000000000..f8b810dcb6d --- /dev/null +++ b/mobile/rpc-foundation/goldens/components-target-ssh.json @@ -0,0 +1,258 @@ +{ + "operation": "components.execution-target", + "family": "components.execution-target", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "5cfbce3c7d97d908fbd447646d611e41a8aa1f61f684b9b710c4b67d6ff023a7", + "scenarioSha256": "82b891c7a7a2f255e2d22a372ee6112c9cc1f650259244e87f2e8c1356e97e5f", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0a7094a9a9ac": { + "name": "preflight.detectRemoteAgents#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectRemoteAgents\",\"params\":{\"connectionId\":\"ssh-1\"}}" + }, + "4e2e9a890ced": { + "detected": ["codex"], + "gate": { + "connectInProgress": false, + "error": { + "$rpc": "null" + }, + "requiresConnection": false, + "status": "connected" + } + }, + "57095302d8c1": { + "name": "ssh.connect#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.connect\",\"params\":{\"targetId\":\"ssh-1\"}}" + }, + "6004e75ef39e": { + "name": "preflight.detectRemoteAgents#2", + "args": [ + { + "name": "method", + "value": "preflight.detectRemoteAgents" + }, + { + "name": "params", + "value": { + "connectionId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "66a99391260b": { + "name": "preflight.detectRemoteAgents#2", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectRemoteAgents\",\"params\":{\"connectionId\":\"ssh-1\"}}" + }, + "81c9c204b647": { + "name": "ssh.connect#1", + "args": [ + { + "name": "method", + "value": "ssh.connect" + }, + { + "name": "params", + "value": { + "targetId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 120000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "state": { + "error": { + "$rpc": "null" + }, + "reconnectAttempt": 0, + "status": "connected", + "targetId": "ssh-1" + } + } + } + } + }, + "89aa7a3bd619": { + "name": "ssh.getState#1", + "args": [ + { + "name": "method", + "value": "ssh.getState" + }, + { + "name": "params", + "value": { + "targetId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "state": { + "error": { + "$rpc": "null" + }, + "reconnectAttempt": 0, + "status": "connected", + "targetId": "ssh-1" + } + } + } + } + }, + "9a892112da5b": { + "name": "preflight.detectRemoteAgents#1", + "args": [ + { + "name": "method", + "value": "preflight.detectRemoteAgents" + }, + { + "name": "params", + "value": { + "connectionId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": ["codex"] + } + } + }, + "ca123825be51": { + "name": "ssh.getState#1", + "args": [ + { + "name": "method", + "value": "ssh.getState" + }, + { + "name": "params", + "value": { + "targetId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "d23b91bd7660": { + "detected": { + "$rpc": "null" + }, + "gate": { + "connectInProgress": false, + "error": { + "$rpc": "null" + }, + "requiresConnection": true, + "status": { + "$rpc": "null" + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f9dfbe0c0ea7": { + "name": "ssh.getState#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.getState\",\"params\":{\"targetId\":\"ssh-1\"}}" + } + }, + "recording": { + "scenario": "components-target-ssh", + "checkpoints": [ + { + "id": "state-pending", + "observation": { + "sender": ["ca123825be51"], + "payloads": ["f9dfbe0c0ea7"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "d23b91bd7660", + "effects": [] + } + }, + { + "id": "settled", + "observation": { + "sender": ["89aa7a3bd619", "9a892112da5b", "81c9c204b647", "6004e75ef39e"], + "payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1", "66a99391260b"], + "settlements": { + "mount": "eb79a9b3682a", + "connect": "eb79a9b3682a" + }, + "state": "4e2e9a890ced", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/diff-review-branch-compare.json b/mobile/rpc-foundation/goldens/diff-review-branch-compare.json new file mode 100644 index 00000000000..951f357b575 --- /dev/null +++ b/mobile/rpc-foundation/goldens/diff-review-branch-compare.json @@ -0,0 +1,343 @@ +{ + "operation": "session.diff-review-load", + "family": "session.diff-review", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "a8016eb61915cf80a3bdeb622ee67d35be8b4b9862a75e4ef2e8f4ff8e93e7f2", + "scenarioSha256": "b7579013e65f0f5fe503c10cf2294cb9d4ac1938108275de001db6e02cf2cc21", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "1bf084a7263a": { + "name": "worktree.show#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" + }, + "229fc359ecb7": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Committed changes response was invalid", + "result": { + "$rpc": "null" + } + } + }, + "25793d7c00a5": { + "name": "repo.list#2", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" + }, + "31bd76fdf517": { + "name": "worktree.show#2", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" + }, + "4337656f224b": { + "name": "git.branchCompare#2", + "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"git.branchCompare\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"baseRef\":\"origin/main\"}}" + }, + "54ee9546dc6f": { + "name": "git.branchCompare#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"git.branchCompare\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"baseRef\":\"origin/main\"}}" + }, + "594101d24d72": { + "name": "repo.list#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" + }, + "632a4405f3fe": { + "name": "repo.list#2", + "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-5", + "ok": true, + "result": { + "repos": [ + { + "id": "repo-9", + "worktreeBaseRef": "origin/main" + } + ] + } + } + } + }, + "67a8e862c3ba": { + "name": "worktree.show#1", + "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-1", + "ok": true, + "result": { + "worktree": { + "baseRef": "origin/main", + "linkedPR": 12 + } + } + } + } + }, + "6e017fb85c11": { + "name": "git.branchCompare#2", + "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-6", + "ok": true, + "result": { + "entries": [], + "summary": {} + } + } + } + }, + "78b49c8df1cc": { + "name": "git.branchCompare#1", + "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": { + "error": { + "code": "forbidden", + "message": "git is not available" + }, + "id": "frame-3", + "ok": false + } + } + }, + "8631a8317157": { + "name": "worktree.show#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-4", + "ok": true, + "result": { + "worktree": { + "baseRef": "origin/main", + "linkedPR": 12 + } + } + } + } + }, + "9f5d0ac26269": { + "branchCompare": { + "result": { + "$rpc": "null" + } + }, + "diff": "unloaded", + "snapshot": "unloaded" + }, + "a3e1aa9bf7e3": { + "branchCompare": { + "error": "Committed changes response was invalid", + "result": { + "$rpc": "null" + } + }, + "diff": "unloaded", + "snapshot": "unloaded" + }, + "eb882796a820": { + "name": "repo.list#1", + "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-2", + "ok": true, + "result": { + "repos": [ + { + "id": "repo-9", + "worktreeBaseRef": "origin/main" + } + ] + } + } + } + }, + "ef9013648cfb": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "result": { + "$rpc": "null" + } + } + } + }, + "recording": { + "scenario": "diff-review-branch-compare", + "checkpoints": [ + { + "id": "unavailable", + "observation": { + "sender": ["67a8e862c3ba", "eb882796a820", "78b49c8df1cc"], + "payloads": ["1bf084a7263a", "594101d24d72", "54ee9546dc6f"], + "settlements": { + "unavailable": "ef9013648cfb" + }, + "state": "9f5d0ac26269", + "effects": [] + } + }, + { + "id": "invalid", + "observation": { + "sender": [ + "67a8e862c3ba", + "eb882796a820", + "78b49c8df1cc", + "8631a8317157", + "632a4405f3fe", + "6e017fb85c11" + ], + "payloads": [ + "1bf084a7263a", + "594101d24d72", + "54ee9546dc6f", + "31bd76fdf517", + "25793d7c00a5", + "4337656f224b" + ], + "settlements": { + "unavailable": "ef9013648cfb", + "invalid": "229fc359ecb7" + }, + "state": "a3e1aa9bf7e3", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/diff-review-branch-file-diff.json b/mobile/rpc-foundation/goldens/diff-review-branch-file-diff.json new file mode 100644 index 00000000000..7d977f82327 --- /dev/null +++ b/mobile/rpc-foundation/goldens/diff-review-branch-file-diff.json @@ -0,0 +1,118 @@ +{ + "operation": "session.diff-review-load", + "family": "session.diff-review", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "a8016eb61915cf80a3bdeb622ee67d35be8b4b9862a75e4ef2e8f4ff8e93e7f2", + "scenarioSha256": "6c71b0f217a464dffbc6f5736605b840edac74ebaf0664edc0ab85984bb64328", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "365c17523d76": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "itemKey": "branch:src/app.ts", + "kind": "binary" + } + }, + "37ae1f091153": { + "name": "git.branchDiff#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.branchDiff\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"filePath\":\"src/app.ts\",\"compare\":{\"baseRef\":\"origin/main\",\"baseOid\":\"base-oid\",\"headOid\":\"head-oid\",\"mergeBase\":\"merge-base\"}}}" + }, + "38fb361f406c": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Committed diff is unavailable", + "isRpcDeliveryUnknown": false + } + }, + "534cf7badcbc": { + "branchCompare": "unloaded", + "diff": { + "itemKey": "branch:src/app.ts", + "kind": "binary" + }, + "snapshot": "unloaded" + }, + "ce89618d90b4": { + "name": "git.branchDiff#1", + "args": [ + { + "name": "method", + "value": "git.branchDiff" + }, + { + "name": "params", + "value": { + "compare": { + "baseOid": "base-oid", + "baseRef": "origin/main", + "headOid": "head-oid", + "mergeBase": "merge-base" + }, + "filePath": "src/app.ts", + "worktree": "id:repo-9::/w" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "kind": "binary" + } + } + } + } + }, + "recording": { + "scenario": "diff-review-branch-file-diff", + "checkpoints": [ + { + "id": "branch", + "observation": { + "sender": ["ce89618d90b4"], + "payloads": ["37ae1f091153"], + "settlements": { + "branch": "365c17523d76" + }, + "state": "534cf7badcbc", + "effects": [] + } + }, + { + "id": "no-compare", + "observation": { + "sender": ["ce89618d90b4"], + "payloads": ["37ae1f091153"], + "settlements": { + "branch": "365c17523d76", + "no-compare": "38fb361f406c" + }, + "state": "534cf7badcbc", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/diff-review-notes-refused-before-compare.json b/mobile/rpc-foundation/goldens/diff-review-notes-refused-before-compare.json new file mode 100644 index 00000000000..205f834fd74 --- /dev/null +++ b/mobile/rpc-foundation/goldens/diff-review-notes-refused-before-compare.json @@ -0,0 +1,353 @@ +{ + "operation": "session.diff-review-load", + "family": "session.diff-review", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "a8016eb61915cf80a3bdeb622ee67d35be8b4b9862a75e4ef2e8f4ff8e93e7f2", + "scenarioSha256": "3e7fa054f77587b9ac24b6732a9926273b0f2ff35a266e633d0ccd1dada932cc", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "2432ad799433": { + "name": "repo.list#1", + "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" + } + ] + } + } + } + }, + "26accd69bc48": { + "name": "repo.list#1", + "args": [ + { + "name": "method", + "value": "repo.list" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "3179b4e89c80": { + "name": "repo.list#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" + }, + "317a243394fa": { + "name": "git.status#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" + }, + "31bd76fdf517": { + "name": "worktree.show#2", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" + }, + "3ec8052ccdb3": { + "name": "worktree.show#1", + "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", + "linkedPR": 12 + } + } + } + } + }, + "3fa5df34c660": { + "name": "worktree.show#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" + }, + "3feccf790548": { + "name": "git.status#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 + } + } + } + } + }, + "75ceb6a12cfd": { + "name": "git.branchCompare#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"git.branchCompare\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"baseRef\":\"origin/main\"}}" + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "c70359272e10": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:repo-9::/w" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "da3aebbee6f2": { + "name": "git.branchCompare#1", + "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-5", + "ok": true, + "result": { + "entries": [ + { + "added": 1, + "path": "src/old.ts", + "removed": 0, + "status": "modified" + } + ], + "summary": { + "baseOid": "base-oid", + "baseRef": "origin/main", + "changedFiles": 1, + "compareRef": "feature", + "headOid": "head-oid", + "mergeBase": "merge-base", + "status": "ready" + } + } + } + } + }, + "e39817462870": { + "branchCompare": "unloaded", + "diff": "unloaded", + "snapshot": "unloaded" + }, + "eae2ae6e9c42": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "notes unavailable", + "isRpcDeliveryUnknown": false + } + }, + "ed34044b22f4": { + "name": "worktree.show#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": { + "error": { + "code": "internal", + "message": "notes unavailable" + }, + "id": "frame-4", + "ok": false + } + } + } + }, + "recording": { + "scenario": "diff-review-notes-refused-before-compare", + "checkpoints": [ + { + "id": "notes-refused", + "observation": { + "sender": ["3feccf790548", "c70359272e10", "26accd69bc48", "ed34044b22f4"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "31bd76fdf517"], + "settlements": { + "snapshot": "9270aeb7d9c6" + }, + "state": "e39817462870", + "effects": [] + } + }, + { + "id": "settled", + "observation": { + "sender": [ + "3feccf790548", + "3ec8052ccdb3", + "2432ad799433", + "ed34044b22f4", + "da3aebbee6f2" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "eae2ae6e9c42" + }, + "state": "e39817462870", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/diff-review-refused-file-diff.json b/mobile/rpc-foundation/goldens/diff-review-refused-file-diff.json new file mode 100644 index 00000000000..21c12c1252e --- /dev/null +++ b/mobile/rpc-foundation/goldens/diff-review-refused-file-diff.json @@ -0,0 +1,225 @@ +{ + "operation": "session.diff-review-load", + "family": "session.diff-review", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "a8016eb61915cf80a3bdeb622ee67d35be8b4b9862a75e4ef2e8f4ff8e93e7f2", + "scenarioSha256": "d1b04fe2945a2799ac8465d8fd9e45ab790ae29b401a0cf4fef68ebc5fa3cc76", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0698901154de": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "itemKey": "unstaged:src/app.ts", + "kind": "too-large" + } + }, + "2ecd0366533c": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "itemKey": "unstaged:src/app.ts", + "kind": "deleted" + } + }, + "505493c5c2e4": { + "name": "git.diff#3", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"git.diff\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"filePath\":\"src/app.ts\",\"staged\":false}}" + }, + "5768cc374e1d": { + "branchCompare": "unloaded", + "diff": { + "itemKey": "unstaged:src/app.ts", + "kind": "too-large" + }, + "snapshot": "unloaded" + }, + "5d5bb4ccf70d": { + "name": "git.diff#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.diff\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"filePath\":\"src/app.ts\",\"staged\":false}}" + }, + "67daf7391fee": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Unable to load diff", + "isRpcDeliveryUnknown": false + } + }, + "7994a1073c64": { + "name": "git.diff#2", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"git.diff\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"filePath\":\"src/app.ts\",\"staged\":false}}" + }, + "a58da3417608": { + "name": "git.diff#3", + "args": [ + { + "name": "method", + "value": "git.diff" + }, + { + "name": "params", + "value": { + "filePath": "src/app.ts", + "staged": false, + "worktree": "id:repo-9::/w" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "internal", + "message": "" + }, + "id": "frame-3", + "ok": false + } + } + }, + "c40409188ab0": { + "name": "git.diff#2", + "args": [ + { + "name": "method", + "value": "git.diff" + }, + { + "name": "params", + "value": { + "filePath": "src/app.ts", + "staged": false, + "worktree": "id:repo-9::/w" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "internal", + "message": "boom" + }, + "id": "frame-2", + "ok": false + } + } + }, + "dde75a860803": { + "name": "git.diff#1", + "args": [ + { + "name": "method", + "value": "git.diff" + }, + { + "name": "params", + "value": { + "filePath": "src/app.ts", + "staged": false, + "worktree": "id:repo-9::/w" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "diff_too_large", + "message": "Diff exceeds the limit" + }, + "id": "frame-1", + "ok": false + } + } + }, + "f10ae0495f82": { + "branchCompare": "unloaded", + "diff": { + "itemKey": "unstaged:src/app.ts", + "kind": "deleted" + }, + "snapshot": "unloaded" + } + }, + "recording": { + "scenario": "diff-review-refused-file-diff", + "checkpoints": [ + { + "id": "diff-too-large", + "observation": { + "sender": ["dde75a860803"], + "payloads": ["5d5bb4ccf70d"], + "settlements": { + "diff-too-large": "0698901154de" + }, + "state": "5768cc374e1d", + "effects": [] + } + }, + { + "id": "deleted", + "observation": { + "sender": ["dde75a860803", "c40409188ab0"], + "payloads": ["5d5bb4ccf70d", "7994a1073c64"], + "settlements": { + "diff-too-large": "0698901154de", + "deleted": "2ecd0366533c" + }, + "state": "f10ae0495f82", + "effects": [] + } + }, + { + "id": "refused", + "observation": { + "sender": ["dde75a860803", "c40409188ab0", "a58da3417608"], + "payloads": ["5d5bb4ccf70d", "7994a1073c64", "505493c5c2e4"], + "settlements": { + "diff-too-large": "0698901154de", + "deleted": "2ecd0366533c", + "refused": "67daf7391fee" + }, + "state": "f10ae0495f82", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/diff-review-snapshot.json b/mobile/rpc-foundation/goldens/diff-review-snapshot.json new file mode 100644 index 00000000000..d8a3c3ec997 --- /dev/null +++ b/mobile/rpc-foundation/goldens/diff-review-snapshot.json @@ -0,0 +1,579 @@ +{ + "operation": "session.diff-review-load", + "family": "session.diff-review", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "a8016eb61915cf80a3bdeb622ee67d35be8b4b9862a75e4ef2e8f4ff8e93e7f2", + "scenarioSha256": "fa0a81462196458fdded5b7c00aa4e73975c2111afdd8dac115871490a481da2", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "2432ad799433": { + "name": "repo.list#1", + "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" + } + ] + } + } + } + }, + "3179b4e89c80": { + "name": "repo.list#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" + }, + "317a243394fa": { + "name": "git.status#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" + }, + "31bd76fdf517": { + "name": "worktree.show#2", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" + }, + "3ec8052ccdb3": { + "name": "worktree.show#1", + "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", + "linkedPR": 12 + } + } + } + } + }, + "3fa5df34c660": { + "name": "worktree.show#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" + }, + "3feccf790548": { + "name": "git.status#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 + } + } + } + } + }, + "4cb3f61eba79": { + "name": "worktree.show#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-4", + "ok": true, + "result": { + "worktree": { + "diffComments": [], + "mobileDiffReview": { + "files": [] + } + } + } + } + } + }, + "75ceb6a12cfd": { + "name": "git.branchCompare#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"git.branchCompare\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"baseRef\":\"origin/main\"}}" + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "b8b93d3f8005": { + "name": "git.status#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 + } + }, + "da3aebbee6f2": { + "name": "git.branchCompare#1", + "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-5", + "ok": true, + "result": { + "entries": [ + { + "added": 1, + "path": "src/old.ts", + "removed": 0, + "status": "modified" + } + ], + "summary": { + "baseOid": "base-oid", + "baseRef": "origin/main", + "changedFiles": 1, + "compareRef": "feature", + "headOid": "head-oid", + "mergeBase": "merge-base", + "status": "ready" + } + } + } + } + }, + "e13943e37fc3": { + "branchCompare": "unloaded", + "diff": "unloaded", + "snapshot": { + "branchCompare": { + "entries": [ + { + "added": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/old.ts", + "removed": 0, + "status": "modified" + } + ], + "summary": { + "baseOid": "base-oid", + "baseRef": "origin/main", + "changedFiles": 1, + "commitsAhead": { + "$rpc": "undefined" + }, + "compareRef": "feature", + "errorMessage": { + "$rpc": "undefined" + }, + "headOid": "head-oid", + "mergeBase": "merge-base", + "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", + "conflictOperation": "unknown", + "entries": [ + { + "added": 3, + "area": "unstaged", + "conflictKind": { + "$rpc": "undefined" + }, + "conflictStatus": { + "$rpc": "undefined" + }, + "conflictStatusSource": { + "$rpc": "undefined" + }, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/app.ts", + "removed": 1, + "status": "modified" + } + ], + "head": "head-sha-1", + "upstreamStatus": { + "ahead": 1, + "behind": 0, + "behindCommitsArePatchEquivalent": { + "$rpc": "undefined" + }, + "hasConfiguredPushTarget": { + "$rpc": "undefined" + }, + "hasUpstream": true, + "upstreamName": { + "$rpc": "undefined" + } + } + } + } + }, + "e39817462870": { + "branchCompare": "unloaded", + "diff": "unloaded", + "snapshot": "unloaded" + }, + "f880a1519497": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "branchCompare": { + "entries": [ + { + "added": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/old.ts", + "removed": 0, + "status": "modified" + } + ], + "summary": { + "baseOid": "base-oid", + "baseRef": "origin/main", + "changedFiles": 1, + "commitsAhead": { + "$rpc": "undefined" + }, + "compareRef": "feature", + "errorMessage": { + "$rpc": "undefined" + }, + "headOid": "head-oid", + "mergeBase": "merge-base", + "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", + "conflictOperation": "unknown", + "entries": [ + { + "added": 3, + "area": "unstaged", + "conflictKind": { + "$rpc": "undefined" + }, + "conflictStatus": { + "$rpc": "undefined" + }, + "conflictStatusSource": { + "$rpc": "undefined" + }, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/app.ts", + "removed": 1, + "status": "modified" + } + ], + "head": "head-sha-1", + "upstreamStatus": { + "ahead": 1, + "behind": 0, + "behindCommitsArePatchEquivalent": { + "$rpc": "undefined" + }, + "hasConfiguredPushTarget": { + "$rpc": "undefined" + }, + "hasUpstream": true, + "upstreamName": { + "$rpc": "undefined" + } + } + } + } + } + }, + "recording": { + "scenario": "diff-review-snapshot", + "checkpoints": [ + { + "id": "pending", + "observation": { + "sender": ["b8b93d3f8005"], + "payloads": ["317a243394fa"], + "settlements": { + "snapshot": "9270aeb7d9c6" + }, + "state": "e39817462870", + "effects": [] + } + }, + { + "id": "snapshot", + "observation": { + "sender": [ + "3feccf790548", + "3ec8052ccdb3", + "2432ad799433", + "4cb3f61eba79", + "da3aebbee6f2" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "f880a1519497" + }, + "state": "e13943e37fc3", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/diff-review-status-unavailable.json b/mobile/rpc-foundation/goldens/diff-review-status-unavailable.json new file mode 100644 index 00000000000..308bd190c0e --- /dev/null +++ b/mobile/rpc-foundation/goldens/diff-review-status-unavailable.json @@ -0,0 +1,89 @@ +{ + "operation": "session.diff-review-load", + "family": "session.diff-review", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "a8016eb61915cf80a3bdeb622ee67d35be8b4b9862a75e4ef2e8f4ff8e93e7f2", + "scenarioSha256": "182f37fbe6ae7c0694b50d603ecd4a03bc9a8c7c9738ebb775b47eb5f3b9660f", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "14804a5e414f": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "kind": "unavailable", + "message": "Update Orca desktop to review changes on mobile." + } + }, + "317a243394fa": { + "name": "git.status#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" + }, + "55c07df45014": { + "branchCompare": "unloaded", + "diff": "unloaded", + "snapshot": { + "kind": "unavailable", + "message": "Update Orca desktop to review changes on mobile." + } + }, + "93b9682c496c": { + "name": "git.status#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 + } + } + } + }, + "recording": { + "scenario": "diff-review-status-unavailable", + "checkpoints": [ + { + "id": "unavailable", + "observation": { + "sender": ["93b9682c496c"], + "payloads": ["317a243394fa"], + "settlements": { + "unavailable": "14804a5e414f" + }, + "state": "55c07df45014", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/diff-review-worktree-file-diff.json b/mobile/rpc-foundation/goldens/diff-review-worktree-file-diff.json new file mode 100644 index 00000000000..edb854781f5 --- /dev/null +++ b/mobile/rpc-foundation/goldens/diff-review-worktree-file-diff.json @@ -0,0 +1,225 @@ +{ + "operation": "session.diff-review-load", + "family": "session.diff-review", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "a8016eb61915cf80a3bdeb622ee67d35be8b4b9862a75e4ef2e8f4ff8e93e7f2", + "scenarioSha256": "538b68485a2268d311fcc7e13ff1a3e446ba4aa010bc18633af8e938a6688257", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "411c5ed8537e": { + "name": "git.diff#2", + "args": [ + { + "name": "method", + "value": "git.diff" + }, + { + "name": "params", + "value": { + "filePath": "src/app.ts", + "staged": true, + "worktree": "id:repo-9::/w" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "byteLength": 2048, + "kind": "too-large" + } + } + } + }, + "505493c5c2e4": { + "name": "git.diff#3", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"git.diff\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"filePath\":\"src/app.ts\",\"staged\":false}}" + }, + "55227363ca22": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Diff response was invalid", + "isRpcDeliveryUnknown": false + } + }, + "5d5bb4ccf70d": { + "name": "git.diff#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.diff\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"filePath\":\"src/app.ts\",\"staged\":false}}" + }, + "66c8c0206a53": { + "name": "git.diff#3", + "args": [ + { + "name": "method", + "value": "git.diff" + }, + { + "name": "params", + "value": { + "filePath": "src/app.ts", + "staged": false, + "worktree": "id:repo-9::/w" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "kind": "unknown" + } + } + } + }, + "717bd1fbc163": { + "branchCompare": "unloaded", + "diff": { + "byteLength": 2048, + "itemKey": "staged:src/app.ts", + "kind": "too-large" + }, + "snapshot": "unloaded" + }, + "84090dfad90d": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "itemKey": "unstaged:src/app.ts", + "kind": "binary" + } + }, + "8675e0f40158": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "byteLength": 2048, + "itemKey": "staged:src/app.ts", + "kind": "too-large" + } + }, + "9d975272847c": { + "name": "git.diff#1", + "args": [ + { + "name": "method", + "value": "git.diff" + }, + { + "name": "params", + "value": { + "filePath": "src/app.ts", + "staged": false, + "worktree": "id:repo-9::/w" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "kind": "binary" + } + } + } + }, + "f5b40bc1bb4b": { + "name": "git.diff#2", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"git.diff\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"filePath\":\"src/app.ts\",\"staged\":true}}" + }, + "f68945ffc2ea": { + "branchCompare": "unloaded", + "diff": { + "itemKey": "unstaged:src/app.ts", + "kind": "binary" + }, + "snapshot": "unloaded" + } + }, + "recording": { + "scenario": "diff-review-worktree-file-diff", + "checkpoints": [ + { + "id": "binary", + "observation": { + "sender": ["9d975272847c"], + "payloads": ["5d5bb4ccf70d"], + "settlements": { + "binary": "84090dfad90d" + }, + "state": "f68945ffc2ea", + "effects": [] + } + }, + { + "id": "too-large", + "observation": { + "sender": ["9d975272847c", "411c5ed8537e"], + "payloads": ["5d5bb4ccf70d", "f5b40bc1bb4b"], + "settlements": { + "binary": "84090dfad90d", + "too-large": "8675e0f40158" + }, + "state": "717bd1fbc163", + "effects": [] + } + }, + { + "id": "invalid", + "observation": { + "sender": ["9d975272847c", "411c5ed8537e", "66c8c0206a53"], + "payloads": ["5d5bb4ccf70d", "f5b40bc1bb4b", "505493c5c2e4"], + "settlements": { + "binary": "84090dfad90d", + "too-large": "8675e0f40158", + "invalid": "55227363ca22" + }, + "state": "717bd1fbc163", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/file-tap-open-refused.json b/mobile/rpc-foundation/goldens/file-tap-open-refused.json new file mode 100644 index 00000000000..2c496bcece2 --- /dev/null +++ b/mobile/rpc-foundation/goldens/file-tap-open-refused.json @@ -0,0 +1,142 @@ +{ + "operation": "files.terminal-path-tap", + "family": "files.terminal-path-tap", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "e20a76ecd5e820dc4797fb25307810af68b5ced996dba2b9599464a21b5cbe1b", + "scenarioSha256": "a927e85c3ae58cd3b017955fe28aeffec6a5471b51d782f116639a3aaf4af77d", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "18cda90904c3": { + "name": "files.resolveTerminalPath#1", + "args": [ + { + "name": "method", + "value": "files.resolveTerminalPath" + }, + { + "name": "params", + "value": { + "crossWorkspace": true, + "cwd": "/repo", + "pathText": "src/app.ts", + "terminal": "terminal-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 10000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "exists": true, + "isDirectory": false, + "openTarget": { + "absolutePath": "/repo/src/app.ts", + "kind": "worktree-file", + "provider": "ssh", + "relativePath": "src/app.ts" + }, + "relativePath": "src/app.ts" + } + } + } + }, + "1d18c66a85d5": { + "name": "open-feedback", + "value": {}, + "sent": 1 + }, + "9a73d7a9fdc6": { + "name": "files.open#1", + "args": [ + { + "name": "method", + "value": "files.open" + }, + { + "name": "params", + "value": { + "relativePath": "src/app.ts", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "file_locked", + "message": "File is locked" + }, + "id": "frame-2", + "ok": false + } + } + }, + "c7ce9c8dc60e": { + "activeSessionTabId": "tab-source", + "failed": 1, + "switched": { + "$rpc": "null" + } + }, + "d88940bfb593": { + "name": "files.resolveTerminalPath#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.resolveTerminalPath\",\"params\":{\"worktree\":\"id:workspace-1\",\"pathText\":\"src/app.ts\",\"crossWorkspace\":true,\"terminal\":\"terminal-1\",\"cwd\":\"/repo\"}}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f334b291fecc": { + "name": "files.open#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"files.open\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"src/app.ts\"}}" + } + }, + "recording": { + "scenario": "file-tap-open-refused", + "checkpoints": [ + { + "id": "open-refused", + "observation": { + "sender": ["18cda90904c3", "9a73d7a9fdc6"], + "payloads": ["d88940bfb593", "f334b291fecc"], + "settlements": { + "tap": "eb79a9b3682a" + }, + "state": "c7ce9c8dc60e", + "effects": ["1d18c66a85d5"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/file-tap-opens-worktree-file.json b/mobile/rpc-foundation/goldens/file-tap-opens-worktree-file.json new file mode 100644 index 00000000000..3772c961c4d --- /dev/null +++ b/mobile/rpc-foundation/goldens/file-tap-opens-worktree-file.json @@ -0,0 +1,172 @@ +{ + "operation": "files.terminal-path-tap", + "family": "files.terminal-path-tap", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "e20a76ecd5e820dc4797fb25307810af68b5ced996dba2b9599464a21b5cbe1b", + "scenarioSha256": "297ea4075333e178ca20247eb0abf6600efb44fe2b33f5142d1c1cabffb5a2d3", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "18cda90904c3": { + "name": "files.resolveTerminalPath#1", + "args": [ + { + "name": "method", + "value": "files.resolveTerminalPath" + }, + { + "name": "params", + "value": { + "crossWorkspace": true, + "cwd": "/repo", + "pathText": "src/app.ts", + "terminal": "terminal-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 10000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "exists": true, + "isDirectory": false, + "openTarget": { + "absolutePath": "/repo/src/app.ts", + "kind": "worktree-file", + "provider": "ssh", + "relativePath": "src/app.ts" + }, + "relativePath": "src/app.ts" + } + } + } + }, + "1d18c66a85d5": { + "name": "open-feedback", + "value": {}, + "sent": 1 + }, + "4301fd620304": { + "name": "fetch-session-tabs", + "value": {}, + "sent": 2 + }, + "b765beef262e": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": [ + { + "id": "tab-opened", + "relativePath": "src/app.ts" + } + ] + }, + "d88940bfb593": { + "name": "files.resolveTerminalPath#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.resolveTerminalPath\",\"params\":{\"worktree\":\"id:workspace-1\",\"pathText\":\"src/app.ts\",\"crossWorkspace\":true,\"terminal\":\"terminal-1\",\"cwd\":\"/repo\"}}" + }, + "d9a357a79330": { + "name": "files.open#1", + "args": [ + { + "name": "method", + "value": "files.open" + }, + { + "name": "params", + "value": { + "relativePath": "src/app.ts", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "opened": true + } + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f334b291fecc": { + "name": "files.open#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"files.open\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"src/app.ts\"}}" + }, + "f8a009b4a36e": { + "activeSessionTabId": "tab-opened", + "failed": 0, + "switched": { + "id": "tab-opened", + "relativePath": "src/app.ts" + } + } + }, + "recording": { + "scenario": "file-tap-opens-worktree-file", + "checkpoints": [ + { + "id": "switched", + "observation": { + "sender": ["18cda90904c3", "d9a357a79330"], + "payloads": ["d88940bfb593", "f334b291fecc"], + "settlements": { + "tap": "eb79a9b3682a", + "list": "b765beef262e" + }, + "state": "f8a009b4a36e", + "effects": ["1d18c66a85d5", "4301fd620304"] + } + }, + { + "id": "settled", + "observation": { + "sender": ["18cda90904c3", "d9a357a79330"], + "payloads": ["d88940bfb593", "f334b291fecc"], + "settlements": { + "tap": "eb79a9b3682a", + "list": "b765beef262e" + }, + "state": "f8a009b4a36e", + "effects": ["1d18c66a85d5", "4301fd620304"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/file-tap-previews-absolute-artifact.json b/mobile/rpc-foundation/goldens/file-tap-previews-absolute-artifact.json new file mode 100644 index 00000000000..ce9bad25da8 --- /dev/null +++ b/mobile/rpc-foundation/goldens/file-tap-previews-absolute-artifact.json @@ -0,0 +1,120 @@ +{ + "operation": "files.terminal-path-tap", + "family": "files.terminal-path-tap", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "e20a76ecd5e820dc4797fb25307810af68b5ced996dba2b9599464a21b5cbe1b", + "scenarioSha256": "f1844c2608ce90250fddfc78c0b35bb1bf3647598a5ab2914eca0d8cb4403a38", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "1d18c66a85d5": { + "name": "open-feedback", + "value": {}, + "sent": 1 + }, + "403de322e21f": { + "name": "files.resolveTerminalPath#1", + "args": [ + { + "name": "method", + "value": "files.resolveTerminalPath" + }, + { + "name": "params", + "value": { + "crossWorkspace": true, + "cwd": "/repo", + "pathText": "src/app.ts", + "terminal": "terminal-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 10000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "exists": true, + "isDirectory": false, + "openTarget": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-1", + "kind": "absolute-file" + } + } + } + } + }, + "53fb9b1f36f9": { + "activeSessionTabId": "tab-source", + "failed": 0, + "switched": { + "$rpc": "null" + } + }, + "d88940bfb593": { + "name": "files.resolveTerminalPath#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.resolveTerminalPath\",\"params\":{\"worktree\":\"id:workspace-1\",\"pathText\":\"src/app.ts\",\"crossWorkspace\":true,\"terminal\":\"terminal-1\",\"cwd\":\"/repo\"}}" + }, + "e8e7c23384dc": { + "name": "push-preview-route", + "value": { + "params": { + "absolutePath": "/logs/run.txt", + "cwd": "/repo", + "grantId": "grant-1", + "hostId": "host-1", + "name": "run.txt", + "pathText": "src/app.ts", + "source": "terminalArtifact", + "terminal": "terminal-1", + "worktreeId": "workspace-1", + "worktreeName": "workspace" + }, + "pathname": "/h/[hostId]/files/preview/[worktreeId]" + }, + "sent": 1 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "file-tap-previews-absolute-artifact", + "checkpoints": [ + { + "id": "previewed", + "observation": { + "sender": ["403de322e21f"], + "payloads": ["d88940bfb593"], + "settlements": { + "tap": "eb79a9b3682a" + }, + "state": "53fb9b1f36f9", + "effects": ["1d18c66a85d5", "e8e7c23384dc"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/file-tap-resolve-miss.json b/mobile/rpc-foundation/goldens/file-tap-resolve-miss.json new file mode 100644 index 00000000000..f9e84ab1b0f --- /dev/null +++ b/mobile/rpc-foundation/goldens/file-tap-resolve-miss.json @@ -0,0 +1,91 @@ +{ + "operation": "files.terminal-path-tap", + "family": "files.terminal-path-tap", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "e20a76ecd5e820dc4797fb25307810af68b5ced996dba2b9599464a21b5cbe1b", + "scenarioSha256": "0f76b96408081737b3d630ee837dbb80bcce6670b6acc4f1f7c033a69bd40533", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "b03e10f6707b": { + "name": "files.resolveTerminalPath#1", + "args": [ + { + "name": "method", + "value": "files.resolveTerminalPath" + }, + { + "name": "params", + "value": { + "crossWorkspace": true, + "cwd": "/repo", + "pathText": "src/app.ts", + "terminal": "terminal-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 10000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "exists": false, + "isDirectory": false + } + } + } + }, + "c7ce9c8dc60e": { + "activeSessionTabId": "tab-source", + "failed": 1, + "switched": { + "$rpc": "null" + } + }, + "d88940bfb593": { + "name": "files.resolveTerminalPath#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.resolveTerminalPath\",\"params\":{\"worktree\":\"id:workspace-1\",\"pathText\":\"src/app.ts\",\"crossWorkspace\":true,\"terminal\":\"terminal-1\",\"cwd\":\"/repo\"}}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "file-tap-resolve-miss", + "checkpoints": [ + { + "id": "missed", + "observation": { + "sender": ["b03e10f6707b"], + "payloads": ["d88940bfb593"], + "settlements": { + "tap": "eb79a9b3682a" + }, + "state": "c7ce9c8dc60e", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/file-tap-resolve-refused.json b/mobile/rpc-foundation/goldens/file-tap-resolve-refused.json new file mode 100644 index 00000000000..387db07301a --- /dev/null +++ b/mobile/rpc-foundation/goldens/file-tap-resolve-refused.json @@ -0,0 +1,91 @@ +{ + "operation": "files.terminal-path-tap", + "family": "files.terminal-path-tap", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "e20a76ecd5e820dc4797fb25307810af68b5ced996dba2b9599464a21b5cbe1b", + "scenarioSha256": "1ada35966dfb65afbb9b3dc8139961b8f042e2d53241b9608a080d0e655a5987", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "8a3fab4d308f": { + "name": "files.resolveTerminalPath#1", + "args": [ + { + "name": "method", + "value": "files.resolveTerminalPath" + }, + { + "name": "params", + "value": { + "crossWorkspace": true, + "cwd": "/repo", + "pathText": "src/app.ts", + "terminal": "terminal-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 10000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "worktree_not_found", + "message": "No such workspace" + }, + "id": "frame-1", + "ok": false + } + } + }, + "c7ce9c8dc60e": { + "activeSessionTabId": "tab-source", + "failed": 1, + "switched": { + "$rpc": "null" + } + }, + "d88940bfb593": { + "name": "files.resolveTerminalPath#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.resolveTerminalPath\",\"params\":{\"worktree\":\"id:workspace-1\",\"pathText\":\"src/app.ts\",\"crossWorkspace\":true,\"terminal\":\"terminal-1\",\"cwd\":\"/repo\"}}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "file-tap-resolve-refused", + "checkpoints": [ + { + "id": "refused", + "observation": { + "sender": ["8a3fab4d308f"], + "payloads": ["d88940bfb593"], + "settlements": { + "tap": "eb79a9b3682a" + }, + "state": "c7ce9c8dc60e", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/files-explorer-legacy-fallback.json b/mobile/rpc-foundation/goldens/files-explorer-legacy-fallback.json new file mode 100644 index 00000000000..72b5debf7d4 --- /dev/null +++ b/mobile/rpc-foundation/goldens/files-explorer-legacy-fallback.json @@ -0,0 +1,201 @@ +{ + "operation": "files.explorer-screen", + "family": "files.explorer-screen", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "160421b989563424531fc893a115b95b399d1524ebaf1c91caa8b2862b52eb07", + "scenarioSha256": "ec02d3f76085619fad35231e12654ec6e926e423c6799fd0df53708743000612", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "195987bc4ef2": { + "name": "files.readDir#1", + "args": [ + { + "name": "method", + "value": "files.readDir" + }, + { + "name": "params", + "value": { + "relativePath": "", + "worktree": "id:wt-files" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "1a3946e517d4": { + "name": "files.list#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"files.list\",\"params\":{\"worktree\":\"id:wt-files\"}}" + }, + "30859af566b0": { + "name": "files.readDir#1", + "args": [ + { + "name": "method", + "value": "files.readDir" + }, + { + "name": "params", + "value": { + "relativePath": "", + "worktree": "id:wt-files" + } + }, + { + "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 + } + } + }, + "80bd28a48dda": { + "name": "files.list#1", + "args": [ + { + "name": "method", + "value": "files.list" + }, + { + "name": "params", + "value": { + "worktree": "id:wt-files" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "files": [ + { + "basename": "README.md", + "kind": "text", + "relativePath": "README.md" + }, + { + "basename": "app.ts", + "kind": "text", + "relativePath": "src/app.ts" + } + ], + "totalCount": 2, + "truncated": true + } + } + } + }, + "b5b1bc83b44d": { + "name": "files.readDir#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.readDir\",\"params\":{\"worktree\":\"id:wt-files\",\"relativePath\":\"\"}}" + }, + "b85511fb8929": { + "crash": { + "$rpc": "null" + }, + "elements": { + "ChevronLeft": 1, + "FlatList": 1, + "Pressable": 1, + "SafeAreaView": 1, + "Text": 2, + "View": 3 + }, + "labels": ["Back to session"], + "rows": ["dir:src", "file:README.md"], + "text": ["Files", "orca-files", " - Showing first 5000"] + }, + "e91880eefe86": { + "crash": { + "$rpc": "null" + }, + "elements": { + "ActivityIndicator": 1, + "ChevronLeft": 1, + "Pressable": 1, + "SafeAreaView": 1, + "Text": 2, + "View": 4 + }, + "labels": ["Back to session"], + "rows": [], + "text": ["Files", "orca-files"] + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "files-explorer-legacy-fallback", + "checkpoints": [ + { + "id": "loading", + "observation": { + "sender": ["195987bc4ef2"], + "payloads": ["b5b1bc83b44d"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "e91880eefe86", + "effects": [] + } + }, + { + "id": "legacy-listed", + "observation": { + "sender": ["30859af566b0", "80bd28a48dda"], + "payloads": ["b5b1bc83b44d", "1a3946e517d4"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "b85511fb8929", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/files-explorer-readdir.json b/mobile/rpc-foundation/goldens/files-explorer-readdir.json new file mode 100644 index 00000000000..0c33524d9ab --- /dev/null +++ b/mobile/rpc-foundation/goldens/files-explorer-readdir.json @@ -0,0 +1,157 @@ +{ + "operation": "files.explorer-screen", + "family": "files.explorer-screen", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "160421b989563424531fc893a115b95b399d1524ebaf1c91caa8b2862b52eb07", + "scenarioSha256": "0b87a230cf1c4219e415c840a088502c8bda7cd2fb525bde1a83a5903d6fd96b", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "195987bc4ef2": { + "name": "files.readDir#1", + "args": [ + { + "name": "method", + "value": "files.readDir" + }, + { + "name": "params", + "value": { + "relativePath": "", + "worktree": "id:wt-files" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "1fac8f3b8f44": { + "crash": { + "$rpc": "null" + }, + "elements": { + "ChevronLeft": 1, + "FlatList": 1, + "Pressable": 1, + "SafeAreaView": 1, + "Text": 2, + "View": 3 + }, + "labels": ["Back to session"], + "rows": ["dir:src", "file:README.md"], + "text": ["Files", "orca-files"] + }, + "23a7ef6123a7": { + "name": "files.readDir#1", + "args": [ + { + "name": "method", + "value": "files.readDir" + }, + { + "name": "params", + "value": { + "relativePath": "", + "worktree": "id:wt-files" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": [ + { + "isDirectory": true, + "name": "src" + }, + { + "isDirectory": false, + "name": "README.md" + } + ] + } + } + }, + "b5b1bc83b44d": { + "name": "files.readDir#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.readDir\",\"params\":{\"worktree\":\"id:wt-files\",\"relativePath\":\"\"}}" + }, + "e91880eefe86": { + "crash": { + "$rpc": "null" + }, + "elements": { + "ActivityIndicator": 1, + "ChevronLeft": 1, + "Pressable": 1, + "SafeAreaView": 1, + "Text": 2, + "View": 4 + }, + "labels": ["Back to session"], + "rows": [], + "text": ["Files", "orca-files"] + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "files-explorer-readdir", + "checkpoints": [ + { + "id": "loading", + "observation": { + "sender": ["195987bc4ef2"], + "payloads": ["b5b1bc83b44d"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "e91880eefe86", + "effects": [] + } + }, + { + "id": "listed", + "observation": { + "sender": ["23a7ef6123a7"], + "payloads": ["b5b1bc83b44d"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "1fac8f3b8f44", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/files-ownership-local.json b/mobile/rpc-foundation/goldens/files-ownership-local.json new file mode 100644 index 00000000000..17c8afde667 --- /dev/null +++ b/mobile/rpc-foundation/goldens/files-ownership-local.json @@ -0,0 +1,123 @@ +{ + "operation": "files.mutation-ownership", + "family": "files.mutation-ownership", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "b93fc8b6f1ece041acaa8cc5699852085e67d7e2f39db13145e483f854ea3309", + "scenarioSha256": "8d24f52eb4194c3bc5d9f0dcabade6d7a09c066f79f911657647ed21dbecb3b1", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "1e5b32902af7": { + "name": "status.get#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "548f05412e41": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "expectedExecutionHostId": "local" + } + }, + "8bdc2aec524d": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "worktree": { + "hostId": "local" + } + } + } + } + }, + "9199aee60486": { + "name": "worktree.show#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:workspace-1\"}}" + }, + "a56852d6836b": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "capabilities": ["files.mutation-ownership.v1"] + } + } + } + }, + "bab8756fa040": { + "ownership": { + "expectedExecutionHostId": "local" + } + } + }, + "recording": { + "scenario": "files-ownership-local", + "checkpoints": [ + { + "id": "settled", + "observation": { + "sender": ["a56852d6836b", "8bdc2aec524d"], + "payloads": ["1e5b32902af7", "9199aee60486"], + "settlements": { + "capture": "548f05412e41" + }, + "state": "bab8756fa040", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/files-ownership-ssh.json b/mobile/rpc-foundation/goldens/files-ownership-ssh.json new file mode 100644 index 00000000000..200435a69dc --- /dev/null +++ b/mobile/rpc-foundation/goldens/files-ownership-ssh.json @@ -0,0 +1,216 @@ +{ + "operation": "files.mutation-ownership", + "family": "files.mutation-ownership", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "b93fc8b6f1ece041acaa8cc5699852085e67d7e2f39db13145e483f854ea3309", + "scenarioSha256": "4cd0be3a1c338b4b68211c717fd10738653c553fdb3b072db6706ff8175a8bd1", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "1e5b32902af7": { + "name": "status.get#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "29bfbe94cca9": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "expectedExecutionHostId": "ssh:target-1", + "expectedSshConnectionGeneration": 3, + "expectedSshTargetId": "target-1" + } + }, + "518ec57c381a": { + "ownership": "uncaptured" + }, + "6116946241ca": { + "name": "ssh.getState#1", + "args": [ + { + "name": "method", + "value": "ssh.getState" + }, + { + "name": "params", + "value": { + "targetId": "target-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "state": { + "connectionGeneration": 3, + "error": { + "$rpc": "null" + }, + "reconnectAttempt": 0, + "status": "connected", + "targetId": "target-1" + } + } + } + } + }, + "6ef43f81f7e3": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "worktree": { + "hostId": "ssh:target-1" + } + } + } + } + }, + "9199aee60486": { + "name": "worktree.show#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:workspace-1\"}}" + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "a0341e6a5d84": { + "name": "ssh.getState#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.getState\",\"params\":{\"targetId\":\"target-1\"}}" + }, + "a56852d6836b": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "capabilities": ["files.mutation-ownership.v1"] + } + } + } + }, + "bc119660f0c1": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "bd84dadd27c7": { + "ownership": { + "expectedExecutionHostId": "ssh:target-1", + "expectedSshConnectionGeneration": 3, + "expectedSshTargetId": "target-1" + } + } + }, + "recording": { + "scenario": "files-ownership-ssh", + "checkpoints": [ + { + "id": "status-pending", + "observation": { + "sender": ["bc119660f0c1"], + "payloads": ["1e5b32902af7"], + "settlements": { + "capture": "9270aeb7d9c6" + }, + "state": "518ec57c381a", + "effects": [] + } + }, + { + "id": "settled", + "observation": { + "sender": ["a56852d6836b", "6ef43f81f7e3", "6116946241ca"], + "payloads": ["1e5b32902af7", "9199aee60486", "a0341e6a5d84"], + "settlements": { + "capture": "29bfbe94cca9" + }, + "state": "bd84dadd27c7", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/files-preview-artifact-direct.json b/mobile/rpc-foundation/goldens/files-preview-artifact-direct.json new file mode 100644 index 00000000000..c601c3445f1 --- /dev/null +++ b/mobile/rpc-foundation/goldens/files-preview-artifact-direct.json @@ -0,0 +1,96 @@ +{ + "operation": "files.preview-load", + "family": "files.preview-load", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "b93fc8b6f1ece041acaa8cc5699852085e67d7e2f39db13145e483f854ea3309", + "scenarioSha256": "dd8b7a0916a84c7d763a163759c02210ae99f8fbccfccaa98796b8610c5da97c", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "194fabd9b9d8": { + "name": "files.readTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "byteLength": 5, + "content": "hello", + "truncated": false + } + } + } + }, + "500d95d47092": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "byteLength": 5, + "content": "hello", + "kind": "text", + "status": "ready", + "truncated": false + } + }, + "784ea351e5b2": { + "preview": { + "byteLength": 5, + "content": "hello", + "kind": "text", + "status": "ready", + "truncated": false + } + }, + "e0401d205ea2": { + "name": "files.readTerminalArtifact#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.readTerminalArtifact\",\"params\":{\"worktree\":\"id:workspace-1\",\"absolutePath\":\"/logs/run.txt\",\"grantId\":\"grant-1\"}}" + } + }, + "recording": { + "scenario": "files-preview-artifact-direct", + "checkpoints": [ + { + "id": "settled", + "observation": { + "sender": ["194fabd9b9d8"], + "payloads": ["e0401d205ea2"], + "settlements": { + "load": "500d95d47092" + }, + "state": "784ea351e5b2", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/files-preview-artifact-image.json b/mobile/rpc-foundation/goldens/files-preview-artifact-image.json new file mode 100644 index 00000000000..feb34948998 --- /dev/null +++ b/mobile/rpc-foundation/goldens/files-preview-artifact-image.json @@ -0,0 +1,93 @@ +{ + "operation": "files.preview-load", + "family": "files.preview-load", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "b93fc8b6f1ece041acaa8cc5699852085e67d7e2f39db13145e483f854ea3309", + "scenarioSha256": "d15c1f4e0f95b5c49a8f889d2d37458225293d7306c8439690d972d2df4c29c0", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "25b0318e985e": { + "name": "files.readTerminalArtifactPreview#1", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifactPreview" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/shot.png", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "content": "aGk=", + "isBinary": true, + "isImage": true, + "mimeType": "image/png" + } + } + } + }, + "4a07826edb3b": { + "name": "files.readTerminalArtifactPreview#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.readTerminalArtifactPreview\",\"params\":{\"worktree\":\"id:workspace-1\",\"absolutePath\":\"/logs/shot.png\",\"grantId\":\"grant-1\"}}" + }, + "7659b8b575da": { + "preview": { + "dataUri": "data:image/png;base64,aGk=", + "kind": "image", + "status": "ready" + } + }, + "eee847a9d90d": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "dataUri": "data:image/png;base64,aGk=", + "kind": "image", + "status": "ready" + } + } + }, + "recording": { + "scenario": "files-preview-artifact-image", + "checkpoints": [ + { + "id": "settled", + "observation": { + "sender": ["25b0318e985e"], + "payloads": ["4a07826edb3b"], + "settlements": { + "load": "eee847a9d90d" + }, + "state": "7659b8b575da", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/files-preview-grant-refresh.json b/mobile/rpc-foundation/goldens/files-preview-grant-refresh.json new file mode 100644 index 00000000000..70e3fb0c01a --- /dev/null +++ b/mobile/rpc-foundation/goldens/files-preview-grant-refresh.json @@ -0,0 +1,241 @@ +{ + "operation": "files.preview-load", + "family": "files.preview-load", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "b93fc8b6f1ece041acaa8cc5699852085e67d7e2f39db13145e483f854ea3309", + "scenarioSha256": "055f3b45442c1736f10ee98c493e2ece1885fdb68d925ee627e2ba20853537e0", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "25b0d1737c71": { + "name": "files.readTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "terminal_file_grant_expired", + "message": "Grant expired" + }, + "id": "frame-1", + "ok": false + } + } + }, + "3c5492779d85": { + "name": "files.resolveTerminalPath#1", + "args": [ + { + "name": "method", + "value": "files.resolveTerminalPath" + }, + { + "name": "params", + "value": { + "cwd": "/logs", + "pathText": "run.txt", + "terminal": "terminal-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "exists": true, + "isDirectory": false, + "openTarget": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-2", + "kind": "absolute-file" + } + } + } + } + }, + "500d95d47092": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "byteLength": 5, + "content": "hello", + "kind": "text", + "status": "ready", + "truncated": false + } + }, + "5f446c109a9a": { + "name": "files.readTerminalArtifact#2", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-2", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "byteLength": 5, + "content": "hello", + "truncated": false + } + } + } + }, + "63abc54b3e87": { + "name": "artifact-source-refreshed", + "value": { + "absolutePath": "/logs/run.txt", + "cwd": "/logs", + "grantId": "grant-2", + "pathText": "run.txt", + "source": "terminalArtifact", + "terminalHandle": "terminal-1", + "worktreeId": "workspace-1" + }, + "sent": 2 + }, + "645c5754be42": { + "preview": "unloaded" + }, + "784ea351e5b2": { + "preview": { + "byteLength": 5, + "content": "hello", + "kind": "text", + "status": "ready", + "truncated": false + } + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "9a56ffbdd5bf": { + "name": "files.resolveTerminalPath#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"files.resolveTerminalPath\",\"params\":{\"worktree\":\"id:workspace-1\",\"pathText\":\"run.txt\",\"cwd\":\"/logs\",\"terminal\":\"terminal-1\"}}" + }, + "c283e01480f7": { + "name": "files.readTerminalArtifact#2", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"files.readTerminalArtifact\",\"params\":{\"worktree\":\"id:workspace-1\",\"absolutePath\":\"/logs/run.txt\",\"grantId\":\"grant-2\"}}" + }, + "e0401d205ea2": { + "name": "files.readTerminalArtifact#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.readTerminalArtifact\",\"params\":{\"worktree\":\"id:workspace-1\",\"absolutePath\":\"/logs/run.txt\",\"grantId\":\"grant-1\"}}" + }, + "e81d5596c201": { + "name": "files.readTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + } + }, + "recording": { + "scenario": "files-preview-grant-refresh", + "checkpoints": [ + { + "id": "read-pending", + "observation": { + "sender": ["e81d5596c201"], + "payloads": ["e0401d205ea2"], + "settlements": { + "load": "9270aeb7d9c6" + }, + "state": "645c5754be42", + "effects": [] + } + }, + { + "id": "settled", + "observation": { + "sender": ["25b0d1737c71", "3c5492779d85", "5f446c109a9a"], + "payloads": ["e0401d205ea2", "9a56ffbdd5bf", "c283e01480f7"], + "settlements": { + "load": "500d95d47092" + }, + "state": "784ea351e5b2", + "effects": ["63abc54b3e87"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/files-preview-worktree-image.json b/mobile/rpc-foundation/goldens/files-preview-worktree-image.json new file mode 100644 index 00000000000..1115bef11df --- /dev/null +++ b/mobile/rpc-foundation/goldens/files-preview-worktree-image.json @@ -0,0 +1,92 @@ +{ + "operation": "files.preview-load", + "family": "files.preview-load", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "b93fc8b6f1ece041acaa8cc5699852085e67d7e2f39db13145e483f854ea3309", + "scenarioSha256": "0ffaffb472b663e08a42317d799a2a000211dda5b127fb21cc64f04f73800130", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "3acec737cb08": { + "name": "files.readPreview#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.readPreview\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"docs/logo.png\"}}" + }, + "7659b8b575da": { + "preview": { + "dataUri": "data:image/png;base64,aGk=", + "kind": "image", + "status": "ready" + } + }, + "eee847a9d90d": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "dataUri": "data:image/png;base64,aGk=", + "kind": "image", + "status": "ready" + } + }, + "f6564bdb4e19": { + "name": "files.readPreview#1", + "args": [ + { + "name": "method", + "value": "files.readPreview" + }, + { + "name": "params", + "value": { + "relativePath": "docs/logo.png", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "content": "aGk=", + "isBinary": true, + "isImage": true, + "mimeType": "image/png" + } + } + } + } + }, + "recording": { + "scenario": "files-preview-worktree-image", + "checkpoints": [ + { + "id": "settled", + "observation": { + "sender": ["f6564bdb4e19"], + "payloads": ["3acec737cb08"], + "settlements": { + "load": "eee847a9d90d" + }, + "state": "7659b8b575da", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/files-preview-worktree.json b/mobile/rpc-foundation/goldens/files-preview-worktree.json new file mode 100644 index 00000000000..e52578ae656 --- /dev/null +++ b/mobile/rpc-foundation/goldens/files-preview-worktree.json @@ -0,0 +1,95 @@ +{ + "operation": "files.preview-load", + "family": "files.preview-load", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "b93fc8b6f1ece041acaa8cc5699852085e67d7e2f39db13145e483f854ea3309", + "scenarioSha256": "bcba4a7d9d929078c5ed80fc7e1acd45859d0b4c559767a919b0396dc6a70a3e", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "02ea3f503180": { + "name": "files.read#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.read\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"docs/readme.md\"}}" + }, + "3f8bf3069e3d": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "byteLength": 8, + "content": "# readme", + "kind": "markdown", + "status": "ready", + "truncated": false + } + }, + "47ef2e397e18": { + "preview": { + "byteLength": 8, + "content": "# readme", + "kind": "markdown", + "status": "ready", + "truncated": false + } + }, + "9babe9503a83": { + "name": "files.read#1", + "args": [ + { + "name": "method", + "value": "files.read" + }, + { + "name": "params", + "value": { + "relativePath": "docs/readme.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "byteLength": 8, + "content": "# readme", + "truncated": false + } + } + } + } + }, + "recording": { + "scenario": "files-preview-worktree", + "checkpoints": [ + { + "id": "settled", + "observation": { + "sender": ["9babe9503a83"], + "payloads": ["02ea3f503180"], + "settlements": { + "load": "3f8bf3069e3d" + }, + "state": "47ef2e397e18", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/files-save-blind.json b/mobile/rpc-foundation/goldens/files-save-blind.json new file mode 100644 index 00000000000..63d5bf51bca --- /dev/null +++ b/mobile/rpc-foundation/goldens/files-save-blind.json @@ -0,0 +1,87 @@ +{ + "operation": "files.preview-save", + "family": "files.preview-save", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "b93fc8b6f1ece041acaa8cc5699852085e67d7e2f39db13145e483f854ea3309", + "scenarioSha256": "8b5c3e87d989966d7b252f19a537040cd5078ba9355a824e7e49af3424390a3e", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "39c6d10eb5a5": { + "name": "files.writeTerminalArtifact#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.writeTerminalArtifact\",\"params\":{\"worktree\":\"id:workspace-1\",\"absolutePath\":\"/logs/run.txt\",\"grantId\":\"grant-1\",\"content\":\"next\"}}" + }, + "54a6055a16b5": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "status": "saved" + } + }, + "936b6553a1e7": { + "name": "files.writeTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.writeTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "content": "next", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "b3f873eb7d0c": { + "saved": { + "status": "saved" + } + } + }, + "recording": { + "scenario": "files-save-blind", + "checkpoints": [ + { + "id": "settled", + "observation": { + "sender": ["936b6553a1e7"], + "payloads": ["39c6d10eb5a5"], + "settlements": { + "save": "54a6055a16b5" + }, + "state": "b3f873eb7d0c", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/files-save-verified.json b/mobile/rpc-foundation/goldens/files-save-verified.json new file mode 100644 index 00000000000..dc3027386b8 --- /dev/null +++ b/mobile/rpc-foundation/goldens/files-save-verified.json @@ -0,0 +1,174 @@ +{ + "operation": "files.preview-save", + "family": "files.preview-save", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "b93fc8b6f1ece041acaa8cc5699852085e67d7e2f39db13145e483f854ea3309", + "scenarioSha256": "6e124d16173074d851d58593b20b25889ed13a3d8021c08fbed53b85a7d3196e", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "54a6055a16b5": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "status": "saved" + } + }, + "7875007ef392": { + "name": "files.writeTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.writeTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "content": "next", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "935100df69e4": { + "saved": "unsaved" + }, + "a3886e3a9791": { + "name": "files.writeTerminalArtifact#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"files.writeTerminalArtifact\",\"params\":{\"worktree\":\"id:workspace-1\",\"absolutePath\":\"/logs/run.txt\",\"grantId\":\"grant-1\",\"content\":\"next\"}}" + }, + "b3f873eb7d0c": { + "saved": { + "status": "saved" + } + }, + "e0401d205ea2": { + "name": "files.readTerminalArtifact#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.readTerminalArtifact\",\"params\":{\"worktree\":\"id:workspace-1\",\"absolutePath\":\"/logs/run.txt\",\"grantId\":\"grant-1\"}}" + }, + "e391aec81b96": { + "name": "files.readTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "byteLength": 4, + "content": "base", + "truncated": false + } + } + } + }, + "e81d5596c201": { + "name": "files.readTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + } + }, + "recording": { + "scenario": "files-save-verified", + "checkpoints": [ + { + "id": "verify-pending", + "observation": { + "sender": ["e81d5596c201"], + "payloads": ["e0401d205ea2"], + "settlements": { + "save": "9270aeb7d9c6" + }, + "state": "935100df69e4", + "effects": [] + } + }, + { + "id": "settled", + "observation": { + "sender": ["e391aec81b96", "7875007ef392"], + "payloads": ["e0401d205ea2", "a3886e3a9791"], + "settlements": { + "save": "54a6055a16b5" + }, + "state": "b3f873eb7d0c", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/files-tab-doc-shapes.json b/mobile/rpc-foundation/goldens/files-tab-doc-shapes.json new file mode 100644 index 00000000000..63dc8467ee8 --- /dev/null +++ b/mobile/rpc-foundation/goldens/files-tab-doc-shapes.json @@ -0,0 +1,232 @@ +{ + "operation": "files.tab-doc", + "family": "files.tab-doc", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "b93fc8b6f1ece041acaa8cc5699852085e67d7e2f39db13145e483f854ea3309", + "scenarioSha256": "b636221f719dae19a3af6772b687b0bcb300c9910645d23e98c309578ec1c5c5", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "02ea3f503180": { + "name": "files.read#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.read\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"docs/readme.md\"}}" + }, + "323bf6059754": { + "name": "files.readPreview#1", + "args": [ + { + "name": "method", + "value": "files.readPreview" + }, + { + "name": "params", + "value": { + "relativePath": "docs/logo.png", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "content": "aGk=", + "isImage": true, + "mimeType": "image/png" + } + } + } + }, + "5c610ebe58ed": { + "name": "files.readPreview#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"files.readPreview\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"docs/logo.png\"}}" + }, + "9babe9503a83": { + "name": "files.read#1", + "args": [ + { + "name": "method", + "value": "files.read" + }, + { + "name": "params", + "value": { + "relativePath": "docs/readme.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "byteLength": 8, + "content": "# readme", + "truncated": false + } + } + } + }, + "b5c68b76c498": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "byteLength": 8, + "content": "# readme", + "kind": "file", + "status": "ready", + "truncated": false + } + }, + "c8fbe8972330": { + "name": "git.diff#1", + "args": [ + { + "name": "method", + "value": "git.diff" + }, + { + "name": "params", + "value": { + "filePath": "docs/readme.md", + "staged": true, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "kind": "text", + "modifiedContent": "b\n", + "originalContent": "a\n" + } + } + } + }, + "ed33ecdb4e8e": { + "diff": { + "kind": "diff", + "lines": [ + { + "kind": "delete", + "oldLineNumber": 1, + "text": "a" + }, + { + "kind": "add", + "newLineNumber": 1, + "text": "b" + } + ], + "status": "ready", + "truncated": false + }, + "image": { + "dataUri": "data:image/png;base64,aGk=", + "kind": "image", + "status": "ready" + }, + "text": { + "byteLength": 8, + "content": "# readme", + "kind": "file", + "status": "ready", + "truncated": false + } + }, + "eee847a9d90d": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "dataUri": "data:image/png;base64,aGk=", + "kind": "image", + "status": "ready" + } + }, + "fad4ca11a316": { + "name": "git.diff#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"git.diff\",\"params\":{\"worktree\":\"id:workspace-1\",\"filePath\":\"docs/readme.md\",\"staged\":true}}" + }, + "ffe1c534d459": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "kind": "diff", + "lines": [ + { + "kind": "delete", + "oldLineNumber": 1, + "text": "a" + }, + { + "kind": "add", + "newLineNumber": 1, + "text": "b" + } + ], + "status": "ready", + "truncated": false + } + } + }, + "recording": { + "scenario": "files-tab-doc-shapes", + "checkpoints": [ + { + "id": "settled", + "observation": { + "sender": ["9babe9503a83", "323bf6059754", "c8fbe8972330"], + "payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"], + "settlements": { + "text": "b5c68b76c498", + "image": "eee847a9d90d", + "diff": "ffe1c534d459" + }, + "state": "ed33ecdb4e8e", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/home-host-stats.json b/mobile/rpc-foundation/goldens/home-host-stats.json new file mode 100644 index 00000000000..08c0820cce8 --- /dev/null +++ b/mobile/rpc-foundation/goldens/home-host-stats.json @@ -0,0 +1,134 @@ +{ + "operation": "home.host-stats", + "family": "home.host-stats", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "a9e0780298a1443664e7ae02056168aa34d67556c9c056d51a82c7b4a73ad35b", + "scenarioSha256": "bd5f4e5f24a29d96c4c98950691c6571918332f71ebb1f29ee97a9abc857ac29", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0ebcc6f6a4cb": { + "name": "stats.summary#1", + "args": [ + { + "name": "method", + "value": "stats.summary" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "activeWorktrees": 1, + "totalWorktrees": 3 + } + } + } + }, + "44136fa355b3": {}, + "7836888bb6c0": { + "name": "stats", + "value": { + "host-1": { + "activeWorktrees": 1, + "totalWorktrees": 3 + } + }, + "sent": 1 + }, + "7bf81b1e94c5": { + "name": "stats.summary#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"stats.summary\"}" + }, + "9a84a7559023": { + "host-1": { + "activeWorktrees": 1, + "totalWorktrees": 3 + } + }, + "a392ac528c2b": { + "name": "stats.summary#1", + "args": [ + { + "name": "method", + "value": "stats.summary" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "home-host-stats", + "checkpoints": [ + { + "id": "stats-pending", + "observation": { + "sender": ["a392ac528c2b"], + "payloads": ["7bf81b1e94c5"], + "settlements": { + "load": "eb79a9b3682a" + }, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "settled", + "observation": { + "sender": ["0ebcc6f6a4cb"], + "payloads": ["7bf81b1e94c5"], + "settlements": { + "load": "eb79a9b3682a" + }, + "state": "9a84a7559023", + "effects": ["7836888bb6c0"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/host-view-settings-sync.json b/mobile/rpc-foundation/goldens/host-view-settings-sync.json new file mode 100644 index 00000000000..5ee81e4fbb1 --- /dev/null +++ b/mobile/rpc-foundation/goldens/host-view-settings-sync.json @@ -0,0 +1,229 @@ +{ + "operation": "host.view-settings", + "family": "host.view-settings", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "a9e0780298a1443664e7ae02056168aa34d67556c9c056d51a82c7b4a73ad35b", + "scenarioSha256": "1ee6031227fa3efd5b36841afa60f7b2264eacdd9c6126e5851d5acb39ffaadd", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "1207e1b06040": { + "name": "workspaceStatuses", + "value": [], + "sent": 1 + }, + "292b632037a0": { + "name": "ui.set#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"ui.set\",\"params\":{\"sortBy\":\"name\"}}" + }, + "5907841fc56d": { + "name": "ui.get#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"ui.get\"}" + }, + "5fbdd64c75bc": { + "name": "ui.get#1", + "args": [ + { + "name": "method", + "value": "ui.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "6816213c2ede": { + "name": "collapsedGroups", + "value": [], + "sent": 1 + }, + "78f2fbcd0185": { + "name": "ui.set#1", + "args": [ + { + "name": "method", + "value": "ui.set" + }, + { + "name": "params", + "value": { + "sortBy": "name" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "a424515cabc9": { + "name": "ui.get#1", + "args": [ + { + "name": "method", + "value": "ui.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ui": { + "groupBy": "repo", + "hideSleepingWorkspaces": true, + "sortBy": "name" + } + } + } + } + }, + "a8115697f295": { + "name": "sortMode", + "value": "name", + "sent": 1 + }, + "ba2035345a68": { + "collapsed": [], + "filters": { + "alwaysShowDefaultBranch": true, + "filterRepoIds": [], + "hideDefaultBranch": false, + "hideSleeping": true + }, + "groupMode": "repo", + "sortMode": "name", + "statuses": [] + }, + "bbdab1a7d122": { + "collapsed": [], + "filters": { + "alwaysShowDefaultBranch": true, + "filterRepoIds": [], + "hideDefaultBranch": false, + "hideSleeping": false + }, + "groupMode": "none", + "sortMode": "recent", + "statuses": [] + }, + "d88f3b1774b1": { + "name": "filters", + "value": { + "alwaysShowDefaultBranch": true, + "filterRepoIds": [], + "hideDefaultBranch": false, + "hideSleeping": true + }, + "sent": 1 + }, + "e0a092c9ae88": { + "name": "groupMode", + "value": "repo", + "sent": 1 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "host-view-settings-sync", + "checkpoints": [ + { + "id": "ui-pending", + "observation": { + "sender": ["5fbdd64c75bc"], + "payloads": ["5907841fc56d"], + "settlements": { + "mount": "eb79a9b3682a", + "sync": "9270aeb7d9c6" + }, + "state": "bbdab1a7d122", + "effects": [] + } + }, + { + "id": "settled", + "observation": { + "sender": ["a424515cabc9", "78f2fbcd0185"], + "payloads": ["5907841fc56d", "292b632037a0"], + "settlements": { + "mount": "eb79a9b3682a", + "sync": "eb79a9b3682a", + "sort": "eb79a9b3682a" + }, + "state": "ba2035345a68", + "effects": [ + "e0a092c9ae88", + "a8115697f295", + "1207e1b06040", + "6816213c2ede", + "d88f3b1774b1", + "e0a092c9ae88", + "a8115697f295", + "1207e1b06040", + "6816213c2ede", + "d88f3b1774b1" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/host-worktree-actions-pin-open-delete.json b/mobile/rpc-foundation/goldens/host-worktree-actions-pin-open-delete.json new file mode 100644 index 00000000000..1904dd37315 --- /dev/null +++ b/mobile/rpc-foundation/goldens/host-worktree-actions-pin-open-delete.json @@ -0,0 +1,374 @@ +{ + "operation": "host.worktree-actions", + "family": "host.worktree-actions", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "92c29bd78ca0c0d5917e9386fc447bb9a1698b1d1ffaba0db7546eaac60da639", + "scenarioSha256": "720add498c79425ca8efc9764fd5d8307fe33bc891842604cfc899f770b79811", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "04938673cbf5": { + "name": "worktree.activate#1", + "args": [ + { + "name": "method", + "value": "worktree.activate" + }, + { + "name": "params", + "value": { + "navigation": "caller", + "notifyClients": false, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "088a989c038b": { + "name": "worktrees", + "value": [ + { + "branch": "feature/pin", + "displayName": "marlin", + "hasAttachedPty": false, + "isPinned": true, + "linkedPR": { + "$rpc": "null" + }, + "liveTerminalCount": 0, + "path": "/repos/marlin/wt-1", + "preview": "", + "repo": "marlin", + "repoId": "repo-1", + "unread": false, + "worktreeId": "wt-1" + } + ], + "sent": 0 + }, + "2b635c2a4fbb": { + "name": "worktree.rm#1", + "args": [ + { + "name": "method", + "value": "worktree.rm" + }, + { + "name": "params", + "value": { + "force": true, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "3e27f9568029": { + "name": "lastKnownWorktrees", + "value": [ + { + "branch": "feature/pin", + "displayName": "marlin", + "hasAttachedPty": false, + "isPinned": true, + "linkedPR": { + "$rpc": "null" + }, + "liveTerminalCount": 0, + "path": "/repos/marlin/wt-1", + "preview": "", + "repo": "marlin", + "repoId": "repo-1", + "unread": false, + "worktreeId": "wt-1" + } + ], + "sent": 0 + }, + "4caf7515e224": { + "name": "worktree.set#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.set\",\"params\":{\"worktree\":\"id:wt-1\",\"isPinned\":true}}" + }, + "56b6d4fb8c56": { + "name": "worktree.set#1", + "args": [ + { + "name": "method", + "value": "worktree.set" + }, + { + "name": "params", + "value": { + "isPinned": true, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "69d698d4f352": { + "name": "worktree.rm#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.rm\",\"params\":{\"worktree\":\"id:wt-1\",\"force\":true}}" + }, + "6e959a9dd70e": { + "confirmRemoveHost": false, + "lastKnownWorktrees": [], + "optimisticActiveWorktreeIdentity": "|wt-1", + "pinnedIds": ["wt-1"], + "routeActionState": {}, + "worktrees": [] + }, + "71246d169f18": { + "name": "worktrees", + "value": [], + "sent": 2 + }, + "8839215bd1a5": { + "name": "lastKnownWorktrees", + "value": [], + "sent": 2 + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "9a9b0d6699b2": { + "confirmRemoveHost": false, + "lastKnownWorktrees": [ + { + "branch": "feature/pin", + "displayName": "marlin", + "hasAttachedPty": false, + "isPinned": true, + "linkedPR": { + "$rpc": "null" + }, + "liveTerminalCount": 0, + "path": "/repos/marlin/wt-1", + "preview": "", + "repo": "marlin", + "repoId": "repo-1", + "unread": false, + "worktreeId": "wt-1" + } + ], + "optimisticActiveWorktreeIdentity": { + "$rpc": "null" + }, + "pinnedIds": ["wt-1"], + "routeActionState": {}, + "worktrees": [ + { + "branch": "feature/pin", + "displayName": "marlin", + "hasAttachedPty": false, + "isPinned": true, + "linkedPR": { + "$rpc": "null" + }, + "liveTerminalCount": 0, + "path": "/repos/marlin/wt-1", + "preview": "", + "repo": "marlin", + "repoId": "repo-1", + "unread": false, + "worktreeId": "wt-1" + } + ] + }, + "a970c9a870bb": { + "name": "pinnedIds", + "value": ["wt-1"], + "sent": 0 + }, + "bb44ad78848e": { + "name": "optimisticActiveWorktreeIdentity", + "value": "|wt-1", + "sent": 1 + }, + "bf2b36bda2d2": { + "name": "worktree.set#1", + "args": [ + { + "name": "method", + "value": "worktree.set" + }, + { + "name": "params", + "value": { + "isPinned": true, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "c3eecb0c6e96": { + "name": "worktree.activate#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.activate\",\"params\":{\"worktree\":\"id:wt-1\",\"notifyClients\":false,\"navigation\":\"caller\"}}" + }, + "e3e3c397a66a": { + "name": "worktree.rm#1", + "args": [ + { + "name": "method", + "value": "worktree.rm" + }, + { + "name": "params", + "value": { + "force": true, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "host-worktree-actions-pin-open-delete", + "checkpoints": [ + { + "id": "pin-optimistic", + "observation": { + "sender": ["bf2b36bda2d2"], + "payloads": ["4caf7515e224"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a" + }, + "state": "9a9b0d6699b2", + "effects": ["088a989c038b", "3e27f9568029", "a970c9a870bb"] + } + }, + { + "id": "delete-optimistic", + "observation": { + "sender": ["56b6d4fb8c56", "04938673cbf5", "e3e3c397a66a"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "9270aeb7d9c6" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "settled", + "observation": { + "sender": ["56b6d4fb8c56", "04938673cbf5", "2b635c2a4fbb"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "eb79a9b3682a" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/host-worktree-delete-refused.json b/mobile/rpc-foundation/goldens/host-worktree-delete-refused.json new file mode 100644 index 00000000000..d815428bd8e --- /dev/null +++ b/mobile/rpc-foundation/goldens/host-worktree-delete-refused.json @@ -0,0 +1,233 @@ +{ + "operation": "host.worktree-actions", + "family": "host.worktree-actions", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "92c29bd78ca0c0d5917e9386fc447bb9a1698b1d1ffaba0db7546eaac60da639", + "scenarioSha256": "5dd5e7eabaabba1e471b13958f59891c3b28f553087c96315598c83a14ded7e7", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "3eaa2fc6fe33": { + "name": "worktrees", + "value": [ + { + "branch": "feature/pin", + "displayName": "marlin", + "hasAttachedPty": false, + "isPinned": false, + "linkedPR": { + "$rpc": "null" + }, + "liveTerminalCount": 0, + "path": "/repos/marlin/wt-1", + "preview": "", + "repo": "marlin", + "repoId": "repo-1", + "unread": false, + "worktreeId": "wt-1" + } + ], + "sent": 1 + }, + "3fd02e693647": { + "name": "worktree.rm#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.rm\",\"params\":{\"worktree\":\"id:wt-1\",\"force\":true}}" + }, + "4390dbd60885": { + "name": "lastKnownWorktrees", + "value": [], + "sent": 0 + }, + "77c8169fffce": { + "name": "worktrees", + "value": [], + "sent": 0 + }, + "8056533b940f": { + "confirmRemoveHost": false, + "lastKnownWorktrees": [], + "optimisticActiveWorktreeIdentity": { + "$rpc": "null" + }, + "pinnedIds": [], + "routeActionState": {}, + "worktrees": [] + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "ad493faf0d61": { + "name": "lastKnownWorktrees", + "value": [ + { + "branch": "feature/pin", + "displayName": "marlin", + "hasAttachedPty": false, + "isPinned": false, + "linkedPR": { + "$rpc": "null" + }, + "liveTerminalCount": 0, + "path": "/repos/marlin/wt-1", + "preview": "", + "repo": "marlin", + "repoId": "repo-1", + "unread": false, + "worktreeId": "wt-1" + } + ], + "sent": 1 + }, + "bcb66b345fcd": { + "confirmRemoveHost": false, + "lastKnownWorktrees": [ + { + "branch": "feature/pin", + "displayName": "marlin", + "hasAttachedPty": false, + "isPinned": false, + "linkedPR": { + "$rpc": "null" + }, + "liveTerminalCount": 0, + "path": "/repos/marlin/wt-1", + "preview": "", + "repo": "marlin", + "repoId": "repo-1", + "unread": false, + "worktreeId": "wt-1" + } + ], + "optimisticActiveWorktreeIdentity": { + "$rpc": "null" + }, + "pinnedIds": [], + "routeActionState": {}, + "worktrees": [ + { + "branch": "feature/pin", + "displayName": "marlin", + "hasAttachedPty": false, + "isPinned": false, + "linkedPR": { + "$rpc": "null" + }, + "liveTerminalCount": 0, + "path": "/repos/marlin/wt-1", + "preview": "", + "repo": "marlin", + "repoId": "repo-1", + "unread": false, + "worktreeId": "wt-1" + } + ] + }, + "e3e3c397a66a": { + "name": "worktree.rm#1", + "args": [ + { + "name": "method", + "value": "worktree.rm" + }, + { + "name": "params", + "value": { + "force": true, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "e97d1f006b72": { + "name": "worktree.rm#1", + "args": [ + { + "name": "method", + "value": "worktree.rm" + }, + { + "name": "params", + "value": { + "force": true, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "worktree_busy", + "message": "Worktree is busy" + }, + "id": "frame-1", + "ok": false + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "host-worktree-delete-refused", + "checkpoints": [ + { + "id": "delete-optimistic", + "observation": { + "sender": ["e3e3c397a66a"], + "payloads": ["3fd02e693647"], + "settlements": { + "mount": "eb79a9b3682a", + "delete": "9270aeb7d9c6" + }, + "state": "8056533b940f", + "effects": ["77c8169fffce", "4390dbd60885"] + } + }, + { + "id": "restored", + "observation": { + "sender": ["e97d1f006b72"], + "payloads": ["3fd02e693647"], + "settlements": { + "mount": "eb79a9b3682a", + "delete": "eb79a9b3682a" + }, + "state": "bcb66b345fcd", + "effects": ["77c8169fffce", "4390dbd60885", "3eaa2fc6fe33", "ad493faf0d61"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/interruptions-inventory-lifecycle.json b/mobile/rpc-foundation/goldens/interruptions-inventory-lifecycle.json index 2202f2f90b8..b30ff9f7671 100644 --- a/mobile/rpc-foundation/goldens/interruptions-inventory-lifecycle.json +++ b/mobile/rpc-foundation/goldens/interruptions-inventory-lifecycle.json @@ -3,9 +3,9 @@ "family": "legacy-inventory", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "262eaad263a45aa13ec5b27c12b59946b12c202474229fff7a5727dba6d702ca", "scenarioSha256": "d6c57a5153d915f0a0c0fd9e305cac70b41b7eb8be226fc865227ebf1821e5d1", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/interruptions-settings-bot-overrides-fulfilled.json b/mobile/rpc-foundation/goldens/interruptions-settings-bot-overrides-fulfilled.json index fbe4f1277c1..1230742aaed 100644 --- a/mobile/rpc-foundation/goldens/interruptions-settings-bot-overrides-fulfilled.json +++ b/mobile/rpc-foundation/goldens/interruptions-settings-bot-overrides-fulfilled.json @@ -3,9 +3,9 @@ "family": "settings.bot-overrides", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "2d5c6dea28aa1a7bb9e4aa14a4c8441527d9ad401ad30161f05ea1f8da836bb2", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/inventory-lifecycle.json b/mobile/rpc-foundation/goldens/inventory-lifecycle.json index 9c02a306ee0..6f8a2f9819b 100644 --- a/mobile/rpc-foundation/goldens/inventory-lifecycle.json +++ b/mobile/rpc-foundation/goldens/inventory-lifecycle.json @@ -3,9 +3,9 @@ "family": "legacy-inventory", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "262eaad263a45aa13ec5b27c12b59946b12c202474229fff7a5727dba6d702ca", "scenarioSha256": "3471f5bcd6923c7b8ba3a737bb45b5239689deb78c00e85a828f38a6d6d68a05", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/inventory-repeat-query.json b/mobile/rpc-foundation/goldens/inventory-repeat-query.json index 279b436b7a3..40a445d1b2c 100644 --- a/mobile/rpc-foundation/goldens/inventory-repeat-query.json +++ b/mobile/rpc-foundation/goldens/inventory-repeat-query.json @@ -3,9 +3,9 @@ "family": "legacy-inventory", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "262eaad263a45aa13ec5b27c12b59946b12c202474229fff7a5727dba6d702ca", "scenarioSha256": "73a468d5c7a51c2dbb7af2642f0050d05d861fce29295460c48d7c51f86bf57f", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/lifecycle-b3.json b/mobile/rpc-foundation/goldens/lifecycle-b3.json index 89f552c989c..abcab370b90 100644 --- a/mobile/rpc-foundation/goldens/lifecycle-b3.json +++ b/mobile/rpc-foundation/goldens/lifecycle-b3.json @@ -3,9 +3,9 @@ "family": "linear-detail-barrier", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "d3b7f33d810e1fa420ac41a628cde9fe4a9e65fd57f89fbca0a40fc7d74951ab", "scenarioSha256": "8be12d116865d27e8dfd37921d2c723d63da101ec1197b1f5b2d9510838e1943", "platform": "darwin", @@ -48,17 +48,19 @@ } } }, - "1696f2f90218": { + "0e0abca05602": { "name": "detailError", - "value": "comments transport error" + "value": "comments transport error", + "sent": 2 }, "2b9e0df88a93": { "name": "linear.getIssue#2", "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"linear.getIssue\",\"params\":{\"id\":\"issue-1\",\"workspaceId\":\"linear-workspace\"}}" }, - "3b01c25bcd45": { + "39ca42c97176": { "name": "detailError", - "value": "" + "value": "", + "sent": 2 }, "3cb9a384ce0e": { "name": "linear.issueComments#1", @@ -125,6 +127,23 @@ } } }, + "56d172ecd2fe": { + "name": "detailLoading", + "value": true, + "sent": 0 + }, + "5ca77e9853cb": { + "name": "detailPayload", + "value": { + "$rpc": "null" + }, + "sent": 2 + }, + "73a4beace1f0": { + "name": "detailLoading", + "value": true, + "sent": 2 + }, "780aaf1d97be": { "error": "", "loading": true, @@ -132,16 +151,6 @@ "$rpc": "null" } }, - "7d21147e56c1": { - "name": "detailLoading", - "value": true - }, - "7d341b2cb946": { - "name": "detailPayload", - "value": { - "$rpc": "null" - } - }, "8b45b8e00ec0": { "name": "linear.getIssue#2", "args": [ @@ -168,9 +177,17 @@ "startedAt": 0 } }, - "91a1c8142e23": { - "name": "detailLoading", - "value": false + "9bd1de5d9753": { + "name": "detailPayload", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "9d6ce9f28401": { + "name": "detailError", + "value": "", + "sent": 0 }, "9ea1594bdfc8": { "name": "linear.issueComments#2", @@ -218,6 +235,11 @@ "$rpc": "undefined" } }, + "ee0c4638d266": { + "name": "detailLoading", + "value": false, + "sent": 2 + }, "fc4ce176400a": { "name": "linear.getIssue#1", "args": [ @@ -257,7 +279,7 @@ "mount": "eb79a9b3682a" }, "state": "780aaf1d97be", - "effects": ["7d341b2cb946", "3b01c25bcd45", "7d21147e56c1"] + "effects": ["9bd1de5d9753", "9d6ce9f28401", "56d172ecd2fe"] } }, { @@ -269,7 +291,7 @@ "mount": "eb79a9b3682a" }, "state": "780aaf1d97be", - "effects": ["7d341b2cb946", "3b01c25bcd45", "7d21147e56c1"] + "effects": ["9bd1de5d9753", "9d6ce9f28401", "56d172ecd2fe"] } }, { @@ -283,12 +305,12 @@ }, "state": "780aaf1d97be", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "5ca77e9853cb", + "39ca42c97176", + "73a4beace1f0" ] } }, @@ -303,12 +325,12 @@ }, "state": "780aaf1d97be", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "5ca77e9853cb", + "39ca42c97176", + "73a4beace1f0" ] } }, @@ -323,12 +345,12 @@ }, "state": "780aaf1d97be", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "5ca77e9853cb", + "39ca42c97176", + "73a4beace1f0" ] } }, @@ -343,12 +365,12 @@ }, "state": "780aaf1d97be", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "5ca77e9853cb", + "39ca42c97176", + "73a4beace1f0" ] } }, @@ -363,12 +385,12 @@ }, "state": "780aaf1d97be", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "5ca77e9853cb", + "39ca42c97176", + "73a4beace1f0" ] } }, @@ -383,12 +405,12 @@ }, "state": "780aaf1d97be", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "5ca77e9853cb", + "39ca42c97176", + "73a4beace1f0" ] } }, @@ -403,12 +425,12 @@ }, "state": "780aaf1d97be", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "5ca77e9853cb", + "39ca42c97176", + "73a4beace1f0" ] } }, @@ -423,12 +445,12 @@ }, "state": "780aaf1d97be", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "5ca77e9853cb", + "39ca42c97176", + "73a4beace1f0" ] } }, @@ -443,14 +465,14 @@ }, "state": "780aaf1d97be", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "1696f2f90218", - "91a1c8142e23", - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "0e0abca05602", + "ee0c4638d266", + "5ca77e9853cb", + "39ca42c97176", + "73a4beace1f0" ] } }, @@ -465,14 +487,14 @@ }, "state": "780aaf1d97be", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "1696f2f90218", - "91a1c8142e23", - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "0e0abca05602", + "ee0c4638d266", + "5ca77e9853cb", + "39ca42c97176", + "73a4beace1f0" ] } }, @@ -486,7 +508,7 @@ "lifecycle-unmount": "eb79a9b3682a" }, "state": "780aaf1d97be", - "effects": ["7d341b2cb946", "3b01c25bcd45", "7d21147e56c1"] + "effects": ["9bd1de5d9753", "9d6ce9f28401", "56d172ecd2fe"] } }, { @@ -499,7 +521,7 @@ "lifecycle-unmount": "eb79a9b3682a" }, "state": "780aaf1d97be", - "effects": ["7d341b2cb946", "3b01c25bcd45", "7d21147e56c1"] + "effects": ["9bd1de5d9753", "9d6ce9f28401", "56d172ecd2fe"] } }, { @@ -512,7 +534,7 @@ "lifecycle-unmount": "eb79a9b3682a" }, "state": "780aaf1d97be", - "effects": ["7d341b2cb946", "3b01c25bcd45", "7d21147e56c1"] + "effects": ["9bd1de5d9753", "9d6ce9f28401", "56d172ecd2fe"] } }, { @@ -527,12 +549,12 @@ }, "state": "780aaf1d97be", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "5ca77e9853cb", + "39ca42c97176", + "73a4beace1f0" ] } }, @@ -546,7 +568,7 @@ "lifecycle-unmount": "eb79a9b3682a" }, "state": "780aaf1d97be", - "effects": ["7d341b2cb946", "3b01c25bcd45", "7d21147e56c1"] + "effects": ["9bd1de5d9753", "9d6ce9f28401", "56d172ecd2fe"] } }, { @@ -559,7 +581,7 @@ "lifecycle-unmount": "eb79a9b3682a" }, "state": "780aaf1d97be", - "effects": ["7d341b2cb946", "3b01c25bcd45", "7d21147e56c1"] + "effects": ["9bd1de5d9753", "9d6ce9f28401", "56d172ecd2fe"] } }, { @@ -572,7 +594,7 @@ "lifecycle-unmount": "eb79a9b3682a" }, "state": "780aaf1d97be", - "effects": ["7d341b2cb946", "3b01c25bcd45", "7d21147e56c1"] + "effects": ["9bd1de5d9753", "9d6ce9f28401", "56d172ecd2fe"] } }, { @@ -587,12 +609,12 @@ }, "state": "780aaf1d97be", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "5ca77e9853cb", + "39ca42c97176", + "73a4beace1f0" ] } }, @@ -606,7 +628,7 @@ "lifecycle-unmount": "eb79a9b3682a" }, "state": "780aaf1d97be", - "effects": ["7d341b2cb946", "3b01c25bcd45", "7d21147e56c1"] + "effects": ["9bd1de5d9753", "9d6ce9f28401", "56d172ecd2fe"] } }, { @@ -619,7 +641,7 @@ "lifecycle-unmount": "eb79a9b3682a" }, "state": "780aaf1d97be", - "effects": ["7d341b2cb946", "3b01c25bcd45", "7d21147e56c1"] + "effects": ["9bd1de5d9753", "9d6ce9f28401", "56d172ecd2fe"] } }, { @@ -634,12 +656,12 @@ }, "state": "780aaf1d97be", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "5ca77e9853cb", + "39ca42c97176", + "73a4beace1f0" ] } }, @@ -654,11 +676,11 @@ }, "state": "42903545f0f8", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "1696f2f90218", - "91a1c8142e23" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "0e0abca05602", + "ee0c4638d266" ] } }, @@ -673,11 +695,11 @@ }, "state": "42903545f0f8", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "1696f2f90218", - "91a1c8142e23" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "0e0abca05602", + "ee0c4638d266" ] } }, @@ -693,14 +715,14 @@ }, "state": "780aaf1d97be", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "1696f2f90218", - "91a1c8142e23", - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "0e0abca05602", + "ee0c4638d266", + "5ca77e9853cb", + "39ca42c97176", + "73a4beace1f0" ] } }, @@ -714,7 +736,7 @@ "lifecycle-blur": "eb79a9b3682a" }, "state": "780aaf1d97be", - "effects": ["7d341b2cb946", "3b01c25bcd45", "7d21147e56c1"] + "effects": ["9bd1de5d9753", "9d6ce9f28401", "56d172ecd2fe"] } }, { @@ -727,7 +749,7 @@ "lifecycle-blur": "eb79a9b3682a" }, "state": "780aaf1d97be", - "effects": ["7d341b2cb946", "3b01c25bcd45", "7d21147e56c1"] + "effects": ["9bd1de5d9753", "9d6ce9f28401", "56d172ecd2fe"] } }, { @@ -741,11 +763,11 @@ }, "state": "42903545f0f8", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "1696f2f90218", - "91a1c8142e23" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "0e0abca05602", + "ee0c4638d266" ] } }, @@ -759,7 +781,7 @@ "lifecycle-blur": "eb79a9b3682a" }, "state": "780aaf1d97be", - "effects": ["7d341b2cb946", "3b01c25bcd45", "7d21147e56c1"] + "effects": ["9bd1de5d9753", "9d6ce9f28401", "56d172ecd2fe"] } }, { @@ -772,7 +794,7 @@ "lifecycle-blur": "eb79a9b3682a" }, "state": "780aaf1d97be", - "effects": ["7d341b2cb946", "3b01c25bcd45", "7d21147e56c1"] + "effects": ["9bd1de5d9753", "9d6ce9f28401", "56d172ecd2fe"] } }, { @@ -786,11 +808,11 @@ }, "state": "42903545f0f8", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "1696f2f90218", - "91a1c8142e23" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "0e0abca05602", + "ee0c4638d266" ] } }, @@ -804,7 +826,7 @@ "lifecycle-blur": "eb79a9b3682a" }, "state": "780aaf1d97be", - "effects": ["7d341b2cb946", "3b01c25bcd45", "7d21147e56c1"] + "effects": ["9bd1de5d9753", "9d6ce9f28401", "56d172ecd2fe"] } }, { @@ -818,11 +840,11 @@ }, "state": "42903545f0f8", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "1696f2f90218", - "91a1c8142e23" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "0e0abca05602", + "ee0c4638d266" ] } }, @@ -837,11 +859,11 @@ }, "state": "42903545f0f8", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "1696f2f90218", - "91a1c8142e23" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "0e0abca05602", + "ee0c4638d266" ] } }, @@ -856,11 +878,11 @@ }, "state": "42903545f0f8", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "1696f2f90218", - "91a1c8142e23" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "0e0abca05602", + "ee0c4638d266" ] } } diff --git a/mobile/rpc-foundation/goldens/lifecycle-inventory-lifecycle.json b/mobile/rpc-foundation/goldens/lifecycle-inventory-lifecycle.json index 15396d1d796..0a24d006b03 100644 --- a/mobile/rpc-foundation/goldens/lifecycle-inventory-lifecycle.json +++ b/mobile/rpc-foundation/goldens/lifecycle-inventory-lifecycle.json @@ -3,9 +3,9 @@ "family": "legacy-inventory", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "262eaad263a45aa13ec5b27c12b59946b12c202474229fff7a5727dba6d702ca", "scenarioSha256": "46bbafcc57fe2e3aee41a14bc26a0375b7b56e58030705fe4c28841a272b2560", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/lifecycle-settings-bot-overrides-fulfilled.json b/mobile/rpc-foundation/goldens/lifecycle-settings-bot-overrides-fulfilled.json index 0f64df064b4..59106d63070 100644 --- a/mobile/rpc-foundation/goldens/lifecycle-settings-bot-overrides-fulfilled.json +++ b/mobile/rpc-foundation/goldens/lifecycle-settings-bot-overrides-fulfilled.json @@ -3,9 +3,9 @@ "family": "settings.bot-overrides", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "eb80283956c93849778f23cbabf1dbf83b72744197af4f6f50335b2fc1590d87", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/lifecycle-settings-task-hydration-fulfilled.json b/mobile/rpc-foundation/goldens/lifecycle-settings-task-hydration-fulfilled.json index 945bff9140f..e18d4ab6d8c 100644 --- a/mobile/rpc-foundation/goldens/lifecycle-settings-task-hydration-fulfilled.json +++ b/mobile/rpc-foundation/goldens/lifecycle-settings-task-hydration-fulfilled.json @@ -3,9 +3,9 @@ "family": "settings.task-hydration", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "3a8eab831602443d320ca0aa0f35dc269d8d511e76bdae8fd025c433561d068d", "platform": "darwin", @@ -13,21 +13,24 @@ "projectionVersion": 2, "goldenFormatVersion": 5, "values": { - "002ad269dd44": { - "name": "showLinearConnect", - "value": false + "00eea9f3200b": { + "name": "pendingGitHubProjectViewSelection", + "value": { + "$rpc": "null" + }, + "sent": 0 }, - "02d5832df83d": { - "name": "query", - "value": "is:issue is:open" + "01e1056d97a4": { + "name": "visibleProviders", + "value": ["github", "linear"], + "sent": 5 }, - "03f32b62aa80": { - "name": "showGitHubProjectViewPicker", - "value": false - }, - "068f4fd0ad0c": { - "name": "showRepoPicker", - "value": false + "073647d24ac4": { + "name": "actionItem", + "value": { + "$rpc": "null" + }, + "sent": 0 }, "090c88478661": { "name": "settings.get#1", @@ -54,19 +57,22 @@ "startedAt": 0 } }, - "12388aa75326": { + "0d33c93fcbfd": { "name": "projectRowItem", "value": { "$rpc": "null" - } + }, + "sent": 5 }, - "1410db92f7e5": { - "name": "linearTeams", - "value": [] + "12b5d58423cb": { + "name": "githubProjectHiddenFieldIdsByView", + "value": {}, + "sent": 5 }, - "16f398d67267": { - "name": "linearConnected", - "value": false + "16348b11fcba": { + "name": "defaultGitHubPreset", + "value": "issues", + "sent": 5 }, "1825a87a7ca8": { "hydrated": false, @@ -78,9 +84,15 @@ "visibleTaskProviders": ["github", "linear"] } }, - "1b3fd2de141f": { - "name": "showLinearOrderPicker", - "value": false + "1dffb3fe8cd8": { + "name": "showLinearDisplayPicker", + "value": false, + "sent": 0 + }, + "1e1de8badcac": { + "name": "showLinearConnect", + "value": false, + "sent": 0 }, "1e5b32902af7": { "name": "status.get#1", @@ -119,9 +131,10 @@ } } }, - "1f96a2f943c0": { + "1fd209dc12de": { "name": "showGitLabViewPicker", - "value": false + "value": false, + "sent": 0 }, "234fabe27913": { "name": "preflight.check#1", @@ -148,85 +161,129 @@ "startedAt": 0 } }, - "321a59c40cce": { - "name": "showProviderPicker", - "value": false - }, - "326e3f8f7e0b": { - "name": "runtimeTaskSettings", - "value": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } - }, - "347cc433c473": { - "name": "projectRowDetail", + "252f3a25533f": { + "name": "actionItem", "value": { "$rpc": "null" - } + }, + "sent": 5 }, - "367b8fc27ba4": { - "name": "showLinearViewPicker", - "value": false + "28fa1cba5d1a": { + "name": "githubProjectSettings", + "value": { + "activeProject": { + "$rpc": "null" + }, + "lastViewByProject": {}, + "pinned": [], + "recent": [] + }, + "sent": 5 }, - "38721e31cbb4": { - "name": "showGitHubProjectSortPicker", - "value": false - }, - "3e610f908f29": { - "name": "showCreateTask", - "value": false - }, - "3e9fac4d6c32": { + "2c04c960ee94": { "name": "showLinearTeamPicker", - "value": false + "value": false, + "sent": 0 }, - "42d2e0167dad": { - "name": "pendingGitHubProjectViewSelection", + "2c4387ddd366": { + "name": "pendingHostedMerge", "value": { "$rpc": "null" - } + }, + "sent": 5 }, - "45d50e768fcc": { - "name": "githubPreset", - "value": "issues" - }, - "4a435aea04b4": { - "name": "showLinearFilterPicker", - "value": false - }, - "4cc1535f7ccf": { - "name": "githubProjectHiddenFieldIdsByView", - "value": {} - }, - "4efedb5c24f1": { - "name": "selectedLinearWorkspaceId", - "value": { - "$rpc": "null" - } - }, - "5093ceeca936": { - "name": "showGitHubPagePicker", - "value": false - }, - "52bdddbac50f": { - "name": "trustedOrcaHooks", - "value": {} - }, - "54ea1a00a461": { + "2e442e4df37c": { "name": "showGitHubProjectFieldsPicker", - "value": false + "value": false, + "sent": 0 }, - "5731a23b16cd": { - "name": "selectedLinearTeamIds", - "value": [] + "308ffd78bb89": { + "name": "linearFilter", + "value": "all", + "sent": 5 }, - "57da83afd125": { + "321bfff34ac2": { + "name": "showGitHubPresetPicker", + "value": false, + "sent": 5 + }, + "334b82d94582": { + "name": "linearStatusPickerItem", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "345762fe1fa4": { + "name": "showLinearOrderPicker", + "value": false, + "sent": 0 + }, + "3adce6077ae5": { + "name": "showCreateTargetPicker", + "value": false, + "sent": 0 + }, + "40eabccc0362": { + "name": "showProviderPicker", + "value": false, + "sent": 0 + }, + "416e38ac3c1e": { + "name": "githubMode", + "value": "items", + "sent": 5 + }, + "41be2620a06b": { + "name": "reset-workspace", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "460c956ad356": { + "name": "showGitHubProjectPicker", + "value": false, + "sent": 5 + }, + "47b218ef208f": { + "name": "showRepoPicker", + "value": false, + "sent": 5 + }, + "4976dfca54f0": { "name": "taskStateHydrated", - "value": true + "value": false, + "sent": 5 + }, + "546c38d1781a": { + "name": "mergeMethodProjectRow", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "551c964c61ea": { + "name": "showProviderPicker", + "value": false, + "sent": 5 + }, + "56f2fa086479": { + "name": "pendingHostedStateChange", + "value": { + "$rpc": "null" + }, + "sent": 5 + }, + "58140f732f03": { + "name": "showLinearWorkspacePicker", + "value": false, + "sent": 0 + }, + "586d2ff60587": { + "name": "githubKind", + "value": "issues", + "sent": 5 }, "58c52d8b7c76": { "hydrated": true, @@ -238,12 +295,30 @@ "visibleTaskProviders": ["github", "linear"] } }, - "5b1145eb3832": { + "59936af3cc5b": { + "name": "showLinearOrderPicker", + "value": false, + "sent": 5 + }, + "5d87a58f6c98": { + "name": "pendingProjectGitHubMerge", + "value": { + "$rpc": "null" + }, + "sent": 5 + }, + "5e05b4814013": { "name": "tasksSupportState", "value": { "client": "logical-client", "kind": "supported" - } + }, + "sent": 1 + }, + "5ebcdff07023": { + "name": "showGitLabFilterPicker", + "value": false, + "sent": 5 }, "5fbdd64c75bc": { "name": "ui.get#1", @@ -270,6 +345,24 @@ "startedAt": 0 } }, + "63b9d87881e1": { + "name": "tasksSupportState", + "value": { + "client": "logical-client", + "kind": "unknown" + }, + "sent": 0 + }, + "67d7ef589c15": { + "name": "showLinearFilterPicker", + "value": false, + "sent": 5 + }, + "6e5246994fa0": { + "name": "showLinearDisplayPicker", + "value": false, + "sent": 5 + }, "6f30f8b6f3d7": { "name": "status.get#1", "args": [ @@ -307,63 +400,166 @@ "name": "status.get#2", "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" }, - "740d91a30846": { - "name": "pendingHostedStateChange", - "value": { - "$rpc": "null" - } - }, - "74a4162f39f8": { - "name": "githubKind", - "value": "issues" - }, - "7d341b2cb946": { - "name": "detailPayload", - "value": { - "$rpc": "null" - } - }, - "7f2e001f13e7": { + "758b8c1db523": { "name": "projectRepoNotInOrca", "value": { "$rpc": "null" - } + }, + "sent": 0 }, - "82cd71d524c8": { - "name": "error", - "value": "" + "76ef2e9da242": { + "name": "selectedLinearWorkspaceId", + "value": { + "$rpc": "null" + }, + "sent": 5 }, - "8372342e5a51": { - "name": "linearFilter", - "value": "all" + "78a159d9a918": { + "name": "showGitHubProjectViewPicker", + "value": false, + "sent": 0 }, - "888c93f6f346": { - "name": "appliedQuery", - "value": "is:issue is:open" + "7a688c351c65": { + "name": "showSortPicker", + "value": false, + "sent": 5 }, - "8f287f21cfc4": { - "name": "defaultGitHubPreset", - "value": "issues" + "7c0f59ba016c": { + "name": "mergeMethodProjectRow", + "value": { + "$rpc": "null" + }, + "sent": 5 }, - "977e1de1ac2f": { + "7c6e6014385b": { + "name": "showCreateTask", + "value": false, + "sent": 5 + }, + "83f55c58a6c5": { + "name": "showCreateTargetPicker", + "value": false, + "sent": 5 + }, + "85beb8cfde14": { "name": "mergeMethodTaskItem", "value": { "$rpc": "null" - } + }, + "sent": 0 }, - "991081048cc2": { - "name": "reset-workspace", + "86a763922cd7": { + "name": "appliedQuery", + "value": "is:issue is:open", + "sent": 5 + }, + "874e70d237d7": { + "name": "projectRepoNotInOrca", "value": { "$rpc": "null" - } + }, + "sent": 5 }, - "9a0f810232ef": { - "name": "provider", - "value": "github" + "8832da75be8d": { + "name": "showGitHubPagePicker", + "value": false, + "sent": 0 }, - "a211e64f0900": { + "886ccf2737c7": { + "name": "showSortPicker", + "value": false, + "sent": 0 + }, + "8a2b4e3d0eed": { + "name": "trustedOrcaHooks", + "value": {}, + "sent": 5 + }, + "8a3cb00faee0": { + "name": "linearConnected", + "value": false, + "sent": 5 + }, + "8c53814e586c": { + "name": "tasksSupportState", + "value": { + "client": "logical-client", + "kind": "unknown" + }, + "sent": 5 + }, + "8e5298b22c5f": { + "name": "projectRowDetail", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "921033244a12": { + "name": "showGitHubProjectSortPicker", + "value": false, + "sent": 5 + }, + "921e10a277e7": { + "name": "pendingHostedMerge", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "947cf7373dd6": { + "name": "linearTeams", + "value": [], + "sent": 5 + }, + "96a071be5404": { + "name": "showGitHubProjectFieldsPicker", + "value": false, + "sent": 5 + }, + "9abed258acba": { + "name": "showGitHubPagePicker", + "value": false, + "sent": 5 + }, + "9b1d9febbcf6": { "name": "showLinearGroupPicker", - "value": false + "value": false, + "sent": 0 + }, + "9bd1de5d9753": { + "name": "detailPayload", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "9cc2d35c57dc": { + "name": "showGitLabFilterPicker", + "value": false, + "sent": 0 + }, + "9e19e2a66126": { + "name": "showRepoPicker", + "value": false, + "sent": 0 + }, + "9f93d78e416e": { + "name": "taskStateHydrated", + "value": true, + "sent": 5 + }, + "a060c9ebc224": { + "name": "pendingProjectGitHubMerge", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "a2cc59889dc0": { + "name": "showGitHubKindPicker", + "value": false, + "sent": 0 }, "a4760ef5a9f4": { "name": "linear.status#1", @@ -390,9 +586,26 @@ "startedAt": 0 } }, - "a67d16a13986": { - "name": "githubMode", - "value": "items" + "a63e620951f0": { + "name": "selectedLinearTeamIds", + "value": [], + "sent": 5 + }, + "a91aca142b2e": { + "name": "showCreateTask", + "value": false, + "sent": 0 + }, + "aa095faa9afd": { + "name": "runtimeTaskSettings", + "value": { + "defaultTuiAgent": "codex", + "disabledTuiAgents": ["claude"], + "hostSettingOverrides": {}, + "prBotAuthorOverrides": ["bot-user"], + "visibleTaskProviders": ["github", "linear"] + }, + "sent": 5 }, "aa624b10c314": { "name": "linear.status#1", @@ -431,66 +644,58 @@ "name": "linear.status#1", "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" }, - "ac9996319e05": { - "name": "actionItem", - "value": { - "$rpc": "null" - } - }, - "afdf1ac21a92": { - "name": "showCreateTargetPicker", - "value": false - }, - "b66eccd2062e": { - "name": "linearWorkspaces", - "value": [] - }, - "b7c9b524edd4": { - "name": "pendingHostedMerge", - "value": { - "$rpc": "null" - } - }, - "b80be68cd059": { - "name": "showGitHubKindPicker", - "value": false - }, - "b82f9e80bd6a": { - "name": "showGitHubPresetPicker", - "value": false - }, - "b8ca6ac0e3ec": { + "afb75a8d93f3": { "name": "showLinearWorkspacePicker", - "value": false + "value": false, + "sent": 5 }, - "bbbd4bc0a4ef": { - "name": "taskStateHydrated", - "value": false - }, - "bc6d9aaa835c": { - "name": "showLinearDisplayPicker", - "value": false - }, - "bfd6af371d88": { - "name": "githubProjectSettings", + "b341e832c60d": { + "name": "projectRowItem", "value": { - "activeProject": { - "$rpc": "null" - }, - "lastViewByProject": {}, - "pinned": [], - "recent": [] - } + "$rpc": "null" + }, + "sent": 0 + }, + "b577c113c079": { + "name": "showLinearViewPicker", + "value": false, + "sent": 5 + }, + "b9481aea1fae": { + "name": "taskStateHydrated", + "value": false, + "sent": 0 + }, + "c0016b5b1033": { + "name": "showGitHubProjectPicker", + "value": false, + "sent": 0 + }, + "c0739ee88dc8": { + "name": "reset-workspace", + "value": { + "$rpc": "null" + }, + "sent": 5 + }, + "c2601492c7cd": { + "name": "showLinearConnect", + "value": false, + "sent": 5 + }, + "c27ba127946c": { + "name": "linearWorkspaces", + "value": [], + "sent": 5 }, "c6178e6a0f4e": { "hydrated": false, "settings": {} }, - "c78894b47bfd": { - "name": "mergeMethodProjectRow", - "value": { - "$rpc": "null" - } + "c7fb67dfaaa0": { + "name": "showLinearViewPicker", + "value": false, + "sent": 0 }, "c9c0513fdcb9": { "name": "status.get#2", @@ -517,16 +722,44 @@ "startedAt": 0 } }, - "ce5f2125a8c4": { - "name": "tasksSupportState", - "value": { - "client": "logical-client", - "kind": "unknown" - } + "cbb40988c5a5": { + "name": "query", + "value": "is:issue is:open", + "sent": 5 }, - "d47b67d8f357": { - "name": "showGitHubIssueSourcePicker", - "value": false + "d0c2ba0d141f": { + "name": "showGitHubProjectViewPicker", + "value": false, + "sent": 5 + }, + "d225c567feae": { + "name": "githubPreset", + "value": "issues", + "sent": 5 + }, + "d3db1d1b21c6": { + "name": "projectRowDetail", + "value": { + "$rpc": "null" + }, + "sent": 5 + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "d4d3179bb79e": { + "name": "showGitHubPresetPicker", + "value": false, + "sent": 0 + }, + "d6ed7b17eb65": { + "name": "linearStatusPickerItem", + "value": { + "$rpc": "null" + }, + "sent": 5 }, "d705fce957e8": { "name": "settings.get#1", @@ -567,13 +800,17 @@ } } }, - "e23c248f269a": { - "name": "showSortPicker", - "value": false + "dc50f834cf28": { + "name": "detailPayload", + "value": { + "$rpc": "null" + }, + "sent": 5 }, - "e542d7c9af9f": { - "name": "showGitHubProjectPicker", - "value": false + "de85b23d1a59": { + "name": "showLinearTeamPicker", + "value": false, + "sent": 5 }, "e5662efa8968": { "name": "preflight.check#1", @@ -614,14 +851,34 @@ "name": "ui.get#1", "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"ui.get\"}" }, + "e69b48c9e675": { + "name": "pendingHostedStateChange", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "e7af9bf83610": { + "name": "mergeMethodTaskItem", + "value": { + "$rpc": "null" + }, + "sent": 5 + }, + "e8bff64c02da": { + "name": "showGitHubProjectSortPicker", + "value": false, + "sent": 0 + }, + "e96a98c6404f": { + "name": "showGitHubIssueSourcePicker", + "value": false, + "sent": 5 + }, "eac54552d8bc": { "name": "settings.get#1", "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" }, - "eafaa34ddedb": { - "name": "visibleProviders", - "value": ["github", "linear"] - }, "eb79a9b3682a": { "status": "fulfilled", "startedAt": 0, @@ -634,21 +891,42 @@ "name": "preflight.check#1", "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.check\"}" }, - "f19db62f49cd": { - "name": "showGitLabFilterPicker", - "value": false + "ef60e60436d0": { + "name": "showGitLabViewPicker", + "value": false, + "sent": 5 }, - "f7c5ddb715d7": { - "name": "pendingProjectGitHubMerge", + "f31031e7e491": { + "name": "showGitHubKindPicker", + "value": false, + "sent": 5 + }, + "f40b9d8aa1eb": { + "name": "showLinearFilterPicker", + "value": false, + "sent": 0 + }, + "f5ca82f623ea": { + "name": "pendingGitHubProjectViewSelection", "value": { "$rpc": "null" - } + }, + "sent": 5 }, - "fb70d4271ae2": { - "name": "linearStatusPickerItem", - "value": { - "$rpc": "null" - } + "f695768dc671": { + "name": "showLinearGroupPicker", + "value": false, + "sent": 5 + }, + "f95005ae133d": { + "name": "provider", + "value": "github", + "sent": 5 + }, + "feb5f42359fb": { + "name": "showGitHubIssueSourcePicker", + "value": false, + "sent": 0 } }, "recording": { @@ -676,46 +954,46 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c" ] } }, @@ -742,46 +1020,46 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c" ] } }, @@ -808,46 +1086,46 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c" ] } }, @@ -877,84 +1155,84 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "4976dfca54f0", + "8c53814e586c", + "afb75a8d93f3", + "de85b23d1a59", + "b577c113c079", + "f695768dc671", + "59936af3cc5b", + "6e5246994fa0", + "c2601492c7cd", + "551c964c61ea", + "f31031e7e491", + "321bfff34ac2", + "ef60e60436d0", + "5ebcdff07023", + "67d7ef589c15", + "7a688c351c65", + "47b218ef208f", + "e96a98c6404f", + "9abed258acba", + "460c956ad356", + "d0c2ba0d141f", + "921033244a12", + "96a071be5404", + "f5ca82f623ea", + "252f3a25533f", + "0d33c93fcbfd", + "874e70d237d7", + "dc50f834cf28", + "d3db1d1b21c6", + "7c6e6014385b", + "83f55c58a6c5", + "d6ed7b17eb65", + "2c4387ddd366", + "5d87a58f6c98", + "56f2fa086479", + "e7af9bf83610", + "7c0f59ba016c", + "c0739ee88dc8" ] } }, @@ -981,46 +1259,46 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c" ] } }, @@ -1047,46 +1325,46 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c" ] } }, @@ -1116,84 +1394,84 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "4976dfca54f0", + "8c53814e586c", + "afb75a8d93f3", + "de85b23d1a59", + "b577c113c079", + "f695768dc671", + "59936af3cc5b", + "6e5246994fa0", + "c2601492c7cd", + "551c964c61ea", + "f31031e7e491", + "321bfff34ac2", + "ef60e60436d0", + "5ebcdff07023", + "67d7ef589c15", + "7a688c351c65", + "47b218ef208f", + "e96a98c6404f", + "9abed258acba", + "460c956ad356", + "d0c2ba0d141f", + "921033244a12", + "96a071be5404", + "f5ca82f623ea", + "252f3a25533f", + "0d33c93fcbfd", + "874e70d237d7", + "dc50f834cf28", + "d3db1d1b21c6", + "7c6e6014385b", + "83f55c58a6c5", + "d6ed7b17eb65", + "2c4387ddd366", + "5d87a58f6c98", + "56f2fa086479", + "e7af9bf83610", + "7c0f59ba016c", + "c0739ee88dc8" ] } }, @@ -1220,46 +1498,46 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c" ] } }, @@ -1286,46 +1564,46 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c" ] } }, @@ -1355,84 +1633,84 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "4976dfca54f0", + "8c53814e586c", + "afb75a8d93f3", + "de85b23d1a59", + "b577c113c079", + "f695768dc671", + "59936af3cc5b", + "6e5246994fa0", + "c2601492c7cd", + "551c964c61ea", + "f31031e7e491", + "321bfff34ac2", + "ef60e60436d0", + "5ebcdff07023", + "67d7ef589c15", + "7a688c351c65", + "47b218ef208f", + "e96a98c6404f", + "9abed258acba", + "460c956ad356", + "d0c2ba0d141f", + "921033244a12", + "96a071be5404", + "f5ca82f623ea", + "252f3a25533f", + "0d33c93fcbfd", + "874e70d237d7", + "dc50f834cf28", + "d3db1d1b21c6", + "7c6e6014385b", + "83f55c58a6c5", + "d6ed7b17eb65", + "2c4387ddd366", + "5d87a58f6c98", + "56f2fa086479", + "e7af9bf83610", + "7c0f59ba016c", + "c0739ee88dc8" ] } }, @@ -1459,46 +1737,46 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c" ] } }, @@ -1525,46 +1803,46 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c" ] } }, @@ -1594,84 +1872,84 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "4976dfca54f0", + "8c53814e586c", + "afb75a8d93f3", + "de85b23d1a59", + "b577c113c079", + "f695768dc671", + "59936af3cc5b", + "6e5246994fa0", + "c2601492c7cd", + "551c964c61ea", + "f31031e7e491", + "321bfff34ac2", + "ef60e60436d0", + "5ebcdff07023", + "67d7ef589c15", + "7a688c351c65", + "47b218ef208f", + "e96a98c6404f", + "9abed258acba", + "460c956ad356", + "d0c2ba0d141f", + "921033244a12", + "96a071be5404", + "f5ca82f623ea", + "252f3a25533f", + "0d33c93fcbfd", + "874e70d237d7", + "dc50f834cf28", + "d3db1d1b21c6", + "7c6e6014385b", + "83f55c58a6c5", + "d6ed7b17eb65", + "2c4387ddd366", + "5d87a58f6c98", + "56f2fa086479", + "e7af9bf83610", + "7c0f59ba016c", + "c0739ee88dc8" ] } }, @@ -1698,46 +1976,46 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c" ] } }, @@ -1764,46 +2042,46 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c" ] } }, @@ -1833,84 +2111,84 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "4976dfca54f0", + "8c53814e586c", + "afb75a8d93f3", + "de85b23d1a59", + "b577c113c079", + "f695768dc671", + "59936af3cc5b", + "6e5246994fa0", + "c2601492c7cd", + "551c964c61ea", + "f31031e7e491", + "321bfff34ac2", + "ef60e60436d0", + "5ebcdff07023", + "67d7ef589c15", + "7a688c351c65", + "47b218ef208f", + "e96a98c6404f", + "9abed258acba", + "460c956ad356", + "d0c2ba0d141f", + "921033244a12", + "96a071be5404", + "f5ca82f623ea", + "252f3a25533f", + "0d33c93fcbfd", + "874e70d237d7", + "dc50f834cf28", + "d3db1d1b21c6", + "7c6e6014385b", + "83f55c58a6c5", + "d6ed7b17eb65", + "2c4387ddd366", + "5d87a58f6c98", + "56f2fa086479", + "e7af9bf83610", + "7c0f59ba016c", + "c0739ee88dc8" ] } }, @@ -1937,46 +2215,46 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c" ] } }, @@ -2003,46 +2281,46 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c" ] } }, @@ -2072,84 +2350,84 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "4976dfca54f0", + "8c53814e586c", + "afb75a8d93f3", + "de85b23d1a59", + "b577c113c079", + "f695768dc671", + "59936af3cc5b", + "6e5246994fa0", + "c2601492c7cd", + "551c964c61ea", + "f31031e7e491", + "321bfff34ac2", + "ef60e60436d0", + "5ebcdff07023", + "67d7ef589c15", + "7a688c351c65", + "47b218ef208f", + "e96a98c6404f", + "9abed258acba", + "460c956ad356", + "d0c2ba0d141f", + "921033244a12", + "96a071be5404", + "f5ca82f623ea", + "252f3a25533f", + "0d33c93fcbfd", + "874e70d237d7", + "dc50f834cf28", + "d3db1d1b21c6", + "7c6e6014385b", + "83f55c58a6c5", + "d6ed7b17eb65", + "2c4387ddd366", + "5d87a58f6c98", + "56f2fa086479", + "e7af9bf83610", + "7c0f59ba016c", + "c0739ee88dc8" ] } }, @@ -2176,46 +2454,46 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c" ] } }, @@ -2242,46 +2520,46 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c" ] } }, @@ -2311,84 +2589,84 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "4976dfca54f0", + "8c53814e586c", + "afb75a8d93f3", + "de85b23d1a59", + "b577c113c079", + "f695768dc671", + "59936af3cc5b", + "6e5246994fa0", + "c2601492c7cd", + "551c964c61ea", + "f31031e7e491", + "321bfff34ac2", + "ef60e60436d0", + "5ebcdff07023", + "67d7ef589c15", + "7a688c351c65", + "47b218ef208f", + "e96a98c6404f", + "9abed258acba", + "460c956ad356", + "d0c2ba0d141f", + "921033244a12", + "96a071be5404", + "f5ca82f623ea", + "252f3a25533f", + "0d33c93fcbfd", + "874e70d237d7", + "dc50f834cf28", + "d3db1d1b21c6", + "7c6e6014385b", + "83f55c58a6c5", + "d6ed7b17eb65", + "2c4387ddd366", + "5d87a58f6c98", + "56f2fa086479", + "e7af9bf83610", + "7c0f59ba016c", + "c0739ee88dc8" ] } }, @@ -2415,65 +2693,65 @@ }, "state": "58c52d8b7c76", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "326e3f8f7e0b", - "52bdddbac50f", - "4cc1535f7ccf", - "16f398d67267", - "b66eccd2062e", - "1410db92f7e5", - "5731a23b16cd", - "4efedb5c24f1", - "eafaa34ddedb", - "9a0f810232ef", - "a67d16a13986", - "8f287f21cfc4", - "45d50e768fcc", - "74a4162f39f8", - "8372342e5a51", - "bfd6af371d88", - "02d5832df83d", - "888c93f6f346", - "57da83afd125" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "aa095faa9afd", + "8a2b4e3d0eed", + "12b5d58423cb", + "8a3cb00faee0", + "c27ba127946c", + "947cf7373dd6", + "a63e620951f0", + "76ef2e9da242", + "01e1056d97a4", + "f95005ae133d", + "416e38ac3c1e", + "16348b11fcba", + "d225c567feae", + "586d2ff60587", + "308ffd78bb89", + "28fa1cba5d1a", + "cbb40988c5a5", + "86a763922cd7", + "9f93d78e416e" ] } }, @@ -2500,65 +2778,65 @@ }, "state": "58c52d8b7c76", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "326e3f8f7e0b", - "52bdddbac50f", - "4cc1535f7ccf", - "16f398d67267", - "b66eccd2062e", - "1410db92f7e5", - "5731a23b16cd", - "4efedb5c24f1", - "eafaa34ddedb", - "9a0f810232ef", - "a67d16a13986", - "8f287f21cfc4", - "45d50e768fcc", - "74a4162f39f8", - "8372342e5a51", - "bfd6af371d88", - "02d5832df83d", - "888c93f6f346", - "57da83afd125" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "aa095faa9afd", + "8a2b4e3d0eed", + "12b5d58423cb", + "8a3cb00faee0", + "c27ba127946c", + "947cf7373dd6", + "a63e620951f0", + "76ef2e9da242", + "01e1056d97a4", + "f95005ae133d", + "416e38ac3c1e", + "16348b11fcba", + "d225c567feae", + "586d2ff60587", + "308ffd78bb89", + "28fa1cba5d1a", + "cbb40988c5a5", + "86a763922cd7", + "9f93d78e416e" ] } }, @@ -2588,103 +2866,103 @@ }, "state": "1825a87a7ca8", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "326e3f8f7e0b", - "52bdddbac50f", - "4cc1535f7ccf", - "16f398d67267", - "b66eccd2062e", - "1410db92f7e5", - "5731a23b16cd", - "4efedb5c24f1", - "eafaa34ddedb", - "9a0f810232ef", - "a67d16a13986", - "8f287f21cfc4", - "45d50e768fcc", - "74a4162f39f8", - "8372342e5a51", - "bfd6af371d88", - "02d5832df83d", - "888c93f6f346", - "57da83afd125", - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "aa095faa9afd", + "8a2b4e3d0eed", + "12b5d58423cb", + "8a3cb00faee0", + "c27ba127946c", + "947cf7373dd6", + "a63e620951f0", + "76ef2e9da242", + "01e1056d97a4", + "f95005ae133d", + "416e38ac3c1e", + "16348b11fcba", + "d225c567feae", + "586d2ff60587", + "308ffd78bb89", + "28fa1cba5d1a", + "cbb40988c5a5", + "86a763922cd7", + "9f93d78e416e", + "4976dfca54f0", + "8c53814e586c", + "afb75a8d93f3", + "de85b23d1a59", + "b577c113c079", + "f695768dc671", + "59936af3cc5b", + "6e5246994fa0", + "c2601492c7cd", + "551c964c61ea", + "f31031e7e491", + "321bfff34ac2", + "ef60e60436d0", + "5ebcdff07023", + "67d7ef589c15", + "7a688c351c65", + "47b218ef208f", + "e96a98c6404f", + "9abed258acba", + "460c956ad356", + "d0c2ba0d141f", + "921033244a12", + "96a071be5404", + "f5ca82f623ea", + "252f3a25533f", + "0d33c93fcbfd", + "874e70d237d7", + "dc50f834cf28", + "d3db1d1b21c6", + "7c6e6014385b", + "83f55c58a6c5", + "d6ed7b17eb65", + "2c4387ddd366", + "5d87a58f6c98", + "56f2fa086479", + "e7af9bf83610", + "7c0f59ba016c", + "c0739ee88dc8" ] } } diff --git a/mobile/rpc-foundation/goldens/lifecycle-settings-workspace-context-fulfilled.json b/mobile/rpc-foundation/goldens/lifecycle-settings-workspace-context-fulfilled.json index 7176d0db11b..18d35ef7274 100644 --- a/mobile/rpc-foundation/goldens/lifecycle-settings-workspace-context-fulfilled.json +++ b/mobile/rpc-foundation/goldens/lifecycle-settings-workspace-context-fulfilled.json @@ -3,9 +3,9 @@ "family": "settings.workspace-context", "namedDeltas": ["new-workspace-runtime-context-null-results-degrade-to-absent"], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "136fb1d8d5925ad12ba22f4dd6c72573a9ad03b6a6ec8308668f0d9cd71aa36d", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/matrix-agentsession.structured-launch-agentsession.createsupport-1.json b/mobile/rpc-foundation/goldens/matrix-agentsession.structured-launch-agentsession.createsupport-1.json new file mode 100644 index 00000000000..6a841c9dea9 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-agentsession.structured-launch-agentsession.createsupport-1.json @@ -0,0 +1,580 @@ +{ + "operation": "agentSession.structured-launch", + "family": "agentSession.structured-launch", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "d340697a64a198066b1037a550afb9a0de7507246a545901d2fc0a23407f38d6", + "scenarioSha256": "211e3780edc0ff5fa0529c0de0e8bc2fd746a19c8a6b4e49900f6c4e56d53f7c", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "03bae1ffdae6": { + "name": "agentSession.createSupport#1", + "args": [ + { + "name": "method", + "value": "agentSession.createSupport" + }, + { + "name": "params", + "value": { + "agent": "claude", + "worktree": "id:workspace-1" + } + }, + { + "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 + } + } + } + }, + "04f63acf891a": { + "launched": { + "kind": "unsupported", + "reason": { + "$rpc": "undefined" + } + } + }, + "0972c78c3d52": { + "name": "agentSession.createSupport#1", + "args": [ + { + "name": "method", + "value": "agentSession.createSupport" + }, + { + "name": "params", + "value": { + "agent": "claude", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "2c227fd1941f": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "kind": "unsupported" + } + }, + "4a8f44bda967": { + "name": "agentSession.createSupport#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"agentSession.createSupport\",\"params\":{\"worktree\":\"id:workspace-1\",\"agent\":\"claude\"}}" + }, + "551313dcc738": { + "launched": { + "kind": "unsupported", + "reason": "remote" + } + }, + "70998d5a1f56": { + "name": "agentSession.createSupport#1", + "args": [ + { + "name": "method", + "value": "agentSession.createSupport" + }, + { + "name": "params", + "value": { + "agent": "claude", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "99caa4276b06": { + "name": "agentSession.createSupport#1", + "args": [ + { + "name": "method", + "value": "agentSession.createSupport" + }, + { + "name": "params", + "value": { + "agent": "claude", + "worktree": "id:workspace-1" + } + }, + { + "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 + } + } + }, + "add0a607a4c6": { + "name": "agentSession.createSupport#1", + "args": [ + { + "name": "method", + "value": "agentSession.createSupport" + }, + { + "name": "params", + "value": { + "agent": "claude", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "af6b02a86254": { + "name": "agentSession.createSupport#1", + "args": [ + { + "name": "method", + "value": "agentSession.createSupport" + }, + { + "name": "params", + "value": { + "agent": "claude", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "b5992e9c9c01": { + "name": "agentSession.createSupport#1", + "args": [ + { + "name": "method", + "value": "agentSession.createSupport" + }, + { + "name": "params", + "value": { + "agent": "claude", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "bef30d717da6": { + "name": "agentSession.createSupport#1", + "args": [ + { + "name": "method", + "value": "agentSession.createSupport" + }, + { + "name": "params", + "value": { + "agent": "claude", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "reason": "remote", + "supported": false + } + } + } + }, + "c0c67a317e23": { + "name": "agentSession.createSupport#1", + "args": [ + { + "name": "method", + "value": "agentSession.createSupport" + }, + { + "name": "params", + "value": { + "agent": "claude", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "dd51c5566f19": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "kind": "unsupported", + "reason": "remote" + } + }, + "e4a3b2c6a246": { + "name": "agentSession.createSupport#1", + "args": [ + { + "name": "method", + "value": "agentSession.createSupport" + }, + { + "name": "params", + "value": { + "agent": "claude", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "f0bb9de9827c": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "kind": "unsupported", + "reason": { + "$rpc": "undefined" + } + } + }, + "f40adca316f9": { + "launched": { + "kind": "unsupported" + } + }, + "f698ccf3773d": { + "name": "agentSession.createSupport#1", + "args": [ + { + "name": "method", + "value": "agentSession.createSupport" + }, + { + "name": "params", + "value": { + "agent": "claude", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + } + }, + "recording": { + "scenario": "matrix-agentsession.structured-launch-agentsession.createsupport-1", + "checkpoints": [ + { + "id": "structured-launch-unsupported.normal:unsupported", + "observation": { + "sender": ["bef30d717da6"], + "payloads": ["4a8f44bda967"], + "settlements": { + "claude": "dd51c5566f19" + }, + "state": "551313dcc738", + "effects": [] + } + }, + { + "id": "structured-launch-unsupported.result-absent:unsupported", + "observation": { + "sender": ["b5992e9c9c01"], + "payloads": ["4a8f44bda967"], + "settlements": { + "claude": "f0bb9de9827c" + }, + "state": "04f63acf891a", + "effects": [] + } + }, + { + "id": "structured-launch-unsupported.result-null:unsupported", + "observation": { + "sender": ["70998d5a1f56"], + "payloads": ["4a8f44bda967"], + "settlements": { + "claude": "f0bb9de9827c" + }, + "state": "04f63acf891a", + "effects": [] + } + }, + { + "id": "structured-launch-unsupported.inner-ok-missing:unsupported", + "observation": { + "sender": ["add0a607a4c6"], + "payloads": ["4a8f44bda967"], + "settlements": { + "claude": "f0bb9de9827c" + }, + "state": "04f63acf891a", + "effects": [] + } + }, + { + "id": "structured-launch-unsupported.inner-false-string-error:unsupported", + "observation": { + "sender": ["af6b02a86254"], + "payloads": ["4a8f44bda967"], + "settlements": { + "claude": "f0bb9de9827c" + }, + "state": "04f63acf891a", + "effects": [] + } + }, + { + "id": "structured-launch-unsupported.inner-false-object-error:unsupported", + "observation": { + "sender": ["03bae1ffdae6"], + "payloads": ["4a8f44bda967"], + "settlements": { + "claude": "f0bb9de9827c" + }, + "state": "04f63acf891a", + "effects": [] + } + }, + { + "id": "structured-launch-unsupported.outer-refused:unsupported", + "observation": { + "sender": ["f698ccf3773d"], + "payloads": ["4a8f44bda967"], + "settlements": { + "claude": "2c227fd1941f" + }, + "state": "f40adca316f9", + "effects": [] + } + }, + { + "id": "structured-launch-unsupported.outer-refused-no-message:unsupported", + "observation": { + "sender": ["0972c78c3d52"], + "payloads": ["4a8f44bda967"], + "settlements": { + "claude": "2c227fd1941f" + }, + "state": "f40adca316f9", + "effects": [] + } + }, + { + "id": "structured-launch-unsupported.method-not-found:unsupported", + "observation": { + "sender": ["99caa4276b06"], + "payloads": ["4a8f44bda967"], + "settlements": { + "claude": "2c227fd1941f" + }, + "state": "f40adca316f9", + "effects": [] + } + }, + { + "id": "structured-launch-unsupported.transport-rejection:unsupported", + "observation": { + "sender": ["e4a3b2c6a246"], + "payloads": ["4a8f44bda967"], + "settlements": { + "claude": "2c227fd1941f" + }, + "state": "f40adca316f9", + "effects": [] + } + }, + { + "id": "structured-launch-unsupported.transport-rejection-no-message:unsupported", + "observation": { + "sender": ["c0c67a317e23"], + "payloads": ["4a8f44bda967"], + "settlements": { + "claude": "2c227fd1941f" + }, + "state": "f40adca316f9", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-aivault.history-aivault.listsessions-1.json b/mobile/rpc-foundation/goldens/matrix-aivault.history-aivault.listsessions-1.json new file mode 100644 index 00000000000..f7230963945 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-aivault.history-aivault.listsessions-1.json @@ -0,0 +1,715 @@ +{ + "operation": "aiVault.history-scan", + "family": "aiVault.history", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "7add46922ba5486e56c8acd99a53d083b605f5d98f3cc44ee3cb350ec0406080", + "scenarioSha256": "efb8d1cd2a2ff0ade4cdc48a1aacec565e33b405bbe95c100b86534cdde49740", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "1277d47c0e64": { + "activeWorktreePath": "/repo/feature", + "hostStatusResult": { + "$rpc": "null" + }, + "refreshing": false, + "scope": "workspace", + "screenState": { + "kind": "error", + "message": "Cannot read properties of undefined (reading 'sessions')" + } + }, + "1e5b32902af7": { + "name": "status.get#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "232a27ecb718": { + "name": "aiVault.listSessions#1", + "args": [ + { + "name": "method", + "value": "aiVault.listSessions" + }, + { + "name": "params", + "value": { + "force": false, + "limit": 500, + "scopePaths": ["/repo/feature"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "23523c413cbd": { + "activeWorktreePath": "/repo/feature", + "hostStatusResult": { + "$rpc": "null" + }, + "refreshing": false, + "scope": "workspace", + "screenState": { + "kind": "error", + "message": "Unable to load agent sessions" + } + }, + "61f76365e23c": { + "activeWorktreePath": "/repo/feature", + "hostStatusResult": { + "$rpc": "null" + }, + "refreshing": false, + "scope": "workspace", + "screenState": { + "kind": "error", + "message": "Cannot read properties of null (reading 'sessions')" + } + }, + "63954da09bd5": { + "name": "aiVault.listSessions#1", + "args": [ + { + "name": "method", + "value": "aiVault.listSessions" + }, + { + "name": "params", + "value": { + "force": false, + "limit": 500, + "scopePaths": ["/repo/feature"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "681cb0d74271": { + "name": "aiVault.listSessions#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"aiVault.listSessions\",\"params\":{\"limit\":500,\"force\":false,\"scopePaths\":[\"/repo/feature\"]}}" + }, + "698f848e6967": { + "activeWorktreePath": "/repo/feature", + "hostStatusResult": { + "$rpc": "null" + }, + "refreshing": false, + "scope": "workspace", + "screenState": { + "kind": "error", + "message": "Unknown method" + } + }, + "6e50957443ea": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "capabilities": ["aiVault.v1"] + } + } + } + }, + "82e315fc9ae9": { + "name": "aiVault.listSessions#1", + "args": [ + { + "name": "method", + "value": "aiVault.listSessions" + }, + { + "name": "params", + "value": { + "force": false, + "limit": 500, + "scopePaths": ["/repo/feature"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "a07975f2dc20": { + "name": "aiVault.listSessions#1", + "args": [ + { + "name": "method", + "value": "aiVault.listSessions" + }, + { + "name": "params", + "value": { + "force": false, + "limit": 500, + "scopePaths": ["/repo/feature"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "b439901fb32e": { + "name": "aiVault.listSessions#1", + "args": [ + { + "name": "method", + "value": "aiVault.listSessions" + }, + { + "name": "params", + "value": { + "force": false, + "limit": 500, + "scopePaths": ["/repo/feature"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "b4700df437ac": { + "name": "aiVault.listSessions#1", + "args": [ + { + "name": "method", + "value": "aiVault.listSessions" + }, + { + "name": "params", + "value": { + "force": false, + "limit": 500, + "scopePaths": ["/repo/feature"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "b567072e5440": { + "name": "aiVault.listSessions#1", + "args": [ + { + "name": "method", + "value": "aiVault.listSessions" + }, + { + "name": "params", + "value": { + "force": false, + "limit": 500, + "scopePaths": ["/repo/feature"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "issues": [], + "sessions": [ + { + "agent": "claude", + "cwd": "/repo/feature", + "id": "s1" + } + ] + } + } + } + }, + "c5357db644f1": { + "name": "aiVault.listSessions#1", + "args": [ + { + "name": "method", + "value": "aiVault.listSessions" + }, + { + "name": "params", + "value": { + "force": false, + "limit": 500, + "scopePaths": ["/repo/feature"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "c9c67b3f0119": { + "activeWorktreePath": "/repo/feature", + "hostStatusResult": { + "$rpc": "null" + }, + "refreshing": false, + "scope": "workspace", + "screenState": { + "kind": "error", + "message": "outer refused" + } + }, + "cb6df2fa8b89": { + "name": "aiVault.listSessions#1", + "args": [ + { + "name": "method", + "value": "aiVault.listSessions" + }, + { + "name": "params", + "value": { + "force": false, + "limit": 500, + "scopePaths": ["/repo/feature"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "cd739a80b7a8": { + "activeWorktreePath": "/repo/feature", + "hostStatusResult": { + "capabilities": ["aiVault.v1"] + }, + "refreshing": false, + "scope": "workspace", + "screenState": { + "issues": [], + "kind": "ready", + "sessions": [ + { + "agent": "claude", + "cwd": "/repo/feature", + "id": "s1" + } + ] + } + }, + "d86e3b3b7ca7": { + "activeWorktreePath": "/repo/feature", + "hostStatusResult": { + "$rpc": "null" + }, + "refreshing": false, + "scope": "workspace", + "screenState": { + "kind": "error", + "message": "transport failure" + } + }, + "e52e185c004d": { + "name": "aiVault.listSessions#1", + "args": [ + { + "name": "method", + "value": "aiVault.listSessions" + }, + { + "name": "params", + "value": { + "force": false, + "limit": 500, + "scopePaths": ["/repo/feature"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "e8d512f74641": { + "activeWorktreePath": "/repo/feature", + "hostStatusResult": { + "$rpc": "null" + }, + "refreshing": false, + "scope": "workspace", + "screenState": { + "kind": "error", + "message": "" + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "fc659419e768": { + "activeWorktreePath": "/repo/feature", + "hostStatusResult": { + "capabilities": ["aiVault.v1"] + }, + "refreshing": false, + "scope": "workspace", + "screenState": { + "issues": { + "$rpc": "undefined" + }, + "kind": "ready", + "sessions": { + "$rpc": "undefined" + } + } + }, + "fe995263cbdb": { + "name": "aiVault.listSessions#1", + "args": [ + { + "name": "method", + "value": "aiVault.listSessions" + }, + { + "name": "params", + "value": { + "force": false, + "limit": 500, + "scopePaths": ["/repo/feature"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + } + }, + "recording": { + "scenario": "matrix-aivault.history-aivault.listsessions-1", + "checkpoints": [ + { + "id": "aivault-history-scan-fulfilled.normal:ready", + "observation": { + "sender": ["6e50957443ea", "b567072e5440"], + "payloads": ["1e5b32902af7", "681cb0d74271"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "cd739a80b7a8", + "effects": [] + } + }, + { + "id": "aivault-history-scan-fulfilled.result-absent:ready", + "observation": { + "sender": ["6e50957443ea", "fe995263cbdb"], + "payloads": ["1e5b32902af7", "681cb0d74271"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "1277d47c0e64", + "effects": [] + } + }, + { + "id": "aivault-history-scan-fulfilled.result-null:ready", + "observation": { + "sender": ["6e50957443ea", "63954da09bd5"], + "payloads": ["1e5b32902af7", "681cb0d74271"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "61f76365e23c", + "effects": [] + } + }, + { + "id": "aivault-history-scan-fulfilled.inner-ok-missing:ready", + "observation": { + "sender": ["6e50957443ea", "a07975f2dc20"], + "payloads": ["1e5b32902af7", "681cb0d74271"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "fc659419e768", + "effects": [] + } + }, + { + "id": "aivault-history-scan-fulfilled.inner-false-string-error:ready", + "observation": { + "sender": ["6e50957443ea", "cb6df2fa8b89"], + "payloads": ["1e5b32902af7", "681cb0d74271"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "fc659419e768", + "effects": [] + } + }, + { + "id": "aivault-history-scan-fulfilled.inner-false-object-error:ready", + "observation": { + "sender": ["6e50957443ea", "b439901fb32e"], + "payloads": ["1e5b32902af7", "681cb0d74271"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "fc659419e768", + "effects": [] + } + }, + { + "id": "aivault-history-scan-fulfilled.outer-refused:ready", + "observation": { + "sender": ["6e50957443ea", "e52e185c004d"], + "payloads": ["1e5b32902af7", "681cb0d74271"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "c9c67b3f0119", + "effects": [] + } + }, + { + "id": "aivault-history-scan-fulfilled.outer-refused-no-message:ready", + "observation": { + "sender": ["6e50957443ea", "82e315fc9ae9"], + "payloads": ["1e5b32902af7", "681cb0d74271"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "23523c413cbd", + "effects": [] + } + }, + { + "id": "aivault-history-scan-fulfilled.method-not-found:ready", + "observation": { + "sender": ["6e50957443ea", "b4700df437ac"], + "payloads": ["1e5b32902af7", "681cb0d74271"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "698f848e6967", + "effects": [] + } + }, + { + "id": "aivault-history-scan-fulfilled.transport-rejection:ready", + "observation": { + "sender": ["6e50957443ea", "232a27ecb718"], + "payloads": ["1e5b32902af7", "681cb0d74271"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "d86e3b3b7ca7", + "effects": [] + } + }, + { + "id": "aivault-history-scan-fulfilled.transport-rejection-no-message:ready", + "observation": { + "sender": ["6e50957443ea", "c5357db644f1"], + "payloads": ["1e5b32902af7", "681cb0d74271"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "e8d512f74641", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-aivault.history-status.get-1.json b/mobile/rpc-foundation/goldens/matrix-aivault.history-status.get-1.json new file mode 100644 index 00000000000..9ce7bb79fb8 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-aivault.history-status.get-1.json @@ -0,0 +1,715 @@ +{ + "operation": "aiVault.history-scan", + "family": "aiVault.history", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "7add46922ba5486e56c8acd99a53d083b605f5d98f3cc44ee3cb350ec0406080", + "scenarioSha256": "a5698ca720dad08561a509c9c18f7586611fc68c58bd86791f4fcefc7915ab1f", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "11509bbb0b2a": { + "activeWorktreePath": "/repo/feature", + "hostStatusResult": { + "error": { + "message": "inner refused" + }, + "ok": false + }, + "refreshing": false, + "scope": "workspace", + "screenState": { + "kind": "unsupported" + } + }, + "16cd464bf664": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "1e5b32902af7": { + "name": "status.get#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "2698c9770ad3": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "4451bb95a76e": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "4af7915fce72": { + "activeWorktreePath": "/repo/feature", + "hostStatusResult": { + "$rpc": "null" + }, + "refreshing": false, + "scope": "workspace", + "screenState": { + "kind": "error", + "message": "Cannot read properties of undefined (reading 'capabilities')" + } + }, + "681cb0d74271": { + "name": "aiVault.listSessions#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"aiVault.listSessions\",\"params\":{\"limit\":500,\"force\":false,\"scopePaths\":[\"/repo/feature\"]}}" + }, + "698f848e6967": { + "activeWorktreePath": "/repo/feature", + "hostStatusResult": { + "$rpc": "null" + }, + "refreshing": false, + "scope": "workspace", + "screenState": { + "kind": "error", + "message": "Unknown method" + } + }, + "6e50957443ea": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "capabilities": ["aiVault.v1"] + } + } + } + }, + "7d3dd7f9381b": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "815d2d808393": { + "activeWorktreePath": "/repo/feature", + "hostStatusResult": { + "error": "inner refused", + "ok": false + }, + "refreshing": false, + "scope": "workspace", + "screenState": { + "kind": "unsupported" + } + }, + "88200d49083c": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "89236e432861": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "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 + } + } + } + }, + "944bf432f199": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "9cdf3c107e7b": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "a358eff43f4a": { + "activeWorktreePath": "/repo/feature", + "hostStatusResult": { + "error": "refused" + }, + "refreshing": false, + "scope": "workspace", + "screenState": { + "kind": "unsupported" + } + }, + "b35d53bd952d": { + "activeWorktreePath": "/repo/feature", + "hostStatusResult": { + "$rpc": "null" + }, + "refreshing": false, + "scope": "workspace", + "screenState": { + "kind": "error", + "message": "Cannot read properties of null (reading 'capabilities')" + } + }, + "b567072e5440": { + "name": "aiVault.listSessions#1", + "args": [ + { + "name": "method", + "value": "aiVault.listSessions" + }, + { + "name": "params", + "value": { + "force": false, + "limit": 500, + "scopePaths": ["/repo/feature"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "issues": [], + "sessions": [ + { + "agent": "claude", + "cwd": "/repo/feature", + "id": "s1" + } + ] + } + } + } + }, + "c71b2f8a6993": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "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 + } + } + }, + "c9c67b3f0119": { + "activeWorktreePath": "/repo/feature", + "hostStatusResult": { + "$rpc": "null" + }, + "refreshing": false, + "scope": "workspace", + "screenState": { + "kind": "error", + "message": "outer refused" + } + }, + "cd739a80b7a8": { + "activeWorktreePath": "/repo/feature", + "hostStatusResult": { + "capabilities": ["aiVault.v1"] + }, + "refreshing": false, + "scope": "workspace", + "screenState": { + "issues": [], + "kind": "ready", + "sessions": [ + { + "agent": "claude", + "cwd": "/repo/feature", + "id": "s1" + } + ] + } + }, + "d86e3b3b7ca7": { + "activeWorktreePath": "/repo/feature", + "hostStatusResult": { + "$rpc": "null" + }, + "refreshing": false, + "scope": "workspace", + "screenState": { + "kind": "error", + "message": "transport failure" + } + }, + "de87f6266897": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "e8d512f74641": { + "activeWorktreePath": "/repo/feature", + "hostStatusResult": { + "$rpc": "null" + }, + "refreshing": false, + "scope": "workspace", + "screenState": { + "kind": "error", + "message": "" + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "fd9ea98fae8e": { + "activeWorktreePath": "/repo/feature", + "hostStatusResult": { + "$rpc": "null" + }, + "refreshing": false, + "scope": "workspace", + "screenState": { + "kind": "error", + "message": "Unable to reach host" + } + } + }, + "recording": { + "scenario": "matrix-aivault.history-status.get-1", + "checkpoints": [ + { + "id": "aivault-history-scan-fulfilled.normal:ready", + "observation": { + "sender": ["6e50957443ea", "b567072e5440"], + "payloads": ["1e5b32902af7", "681cb0d74271"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "cd739a80b7a8", + "effects": [] + } + }, + { + "id": "aivault-history-scan-fulfilled.result-absent:ready", + "observation": { + "sender": ["7d3dd7f9381b"], + "payloads": ["1e5b32902af7"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "4af7915fce72", + "effects": [] + } + }, + { + "id": "aivault-history-scan-fulfilled.result-null:ready", + "observation": { + "sender": ["88200d49083c"], + "payloads": ["1e5b32902af7"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "b35d53bd952d", + "effects": [] + } + }, + { + "id": "aivault-history-scan-fulfilled.inner-ok-missing:ready", + "observation": { + "sender": ["4451bb95a76e"], + "payloads": ["1e5b32902af7"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "a358eff43f4a", + "effects": [] + } + }, + { + "id": "aivault-history-scan-fulfilled.inner-false-string-error:ready", + "observation": { + "sender": ["944bf432f199"], + "payloads": ["1e5b32902af7"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "815d2d808393", + "effects": [] + } + }, + { + "id": "aivault-history-scan-fulfilled.inner-false-object-error:ready", + "observation": { + "sender": ["89236e432861"], + "payloads": ["1e5b32902af7"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "11509bbb0b2a", + "effects": [] + } + }, + { + "id": "aivault-history-scan-fulfilled.outer-refused:ready", + "observation": { + "sender": ["16cd464bf664"], + "payloads": ["1e5b32902af7"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "c9c67b3f0119", + "effects": [] + } + }, + { + "id": "aivault-history-scan-fulfilled.outer-refused-no-message:ready", + "observation": { + "sender": ["9cdf3c107e7b"], + "payloads": ["1e5b32902af7"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "fd9ea98fae8e", + "effects": [] + } + }, + { + "id": "aivault-history-scan-fulfilled.method-not-found:ready", + "observation": { + "sender": ["c71b2f8a6993"], + "payloads": ["1e5b32902af7"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "698f848e6967", + "effects": [] + } + }, + { + "id": "aivault-history-scan-fulfilled.transport-rejection:ready", + "observation": { + "sender": ["de87f6266897"], + "payloads": ["1e5b32902af7"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "d86e3b3b7ca7", + "effects": [] + } + }, + { + "id": "aivault-history-scan-fulfilled.transport-rejection-no-message:ready", + "observation": { + "sender": ["2698c9770ad3"], + "payloads": ["1e5b32902af7"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "e8d512f74641", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-aivault.resume-launch-session.tabs.createterminal-1.json b/mobile/rpc-foundation/goldens/matrix-aivault.resume-launch-session.tabs.createterminal-1.json new file mode 100644 index 00000000000..c9bb611ecd9 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-aivault.resume-launch-session.tabs.createterminal-1.json @@ -0,0 +1,770 @@ +{ + "operation": "aiVault.resume-launch", + "family": "aiVault.resume-launch", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "2f43211e4084c0493bd02ec98868acf53a4c748f89a70cd9657c9c3ee87b12fb", + "scenarioSha256": "f721ab4438c4183927ce5ebc5fd6f1f18414701a5fa3b2807c359785829962a3", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "00ce2da4b927": { + "name": "session.tabs.createTerminal#1", + "args": [ + { + "name": "method", + "value": "session.tabs.createTerminal" + }, + { + "name": "params", + "value": { + "activate": false, + "clientMutationId": "resume-mutation-1", + "env": { + "ORCA_RESUME": "1" + }, + "envToDelete": ["CODEX_HOME"], + "launchAgent": "codex", + "navigation": "caller", + "select": true, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-1", + "ok": false + } + } + }, + "133463600de6": { + "failure": "Failed to create terminal", + "launched": "unlaunched" + }, + "30ec57518c05": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Failed to create terminal", + "isRpcDeliveryUnknown": false + } + }, + "32a7c0ae7918": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "outer refused", + "isRpcDeliveryUnknown": false + } + }, + "3ad18553135a": { + "name": "session.tabs.createTerminal#1", + "args": [ + { + "name": "method", + "value": "session.tabs.createTerminal" + }, + { + "name": "params", + "value": { + "activate": false, + "clientMutationId": "resume-mutation-1", + "env": { + "ORCA_RESUME": "1" + }, + "envToDelete": ["CODEX_HOME"], + "launchAgent": "codex", + "navigation": "caller", + "select": true, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "400d946a183d": { + "failure": { + "$rpc": "null" + }, + "launched": { + "id": "tab-9", + "terminal": "terminal-9", + "title": "codex" + } + }, + "432332c9740e": { + "failure": "Created terminal response was invalid", + "launched": "unlaunched" + }, + "4ee71a589941": { + "name": "session.tabs.createTerminal#1", + "args": [ + { + "name": "method", + "value": "session.tabs.createTerminal" + }, + { + "name": "params", + "value": { + "activate": false, + "clientMutationId": "resume-mutation-1", + "env": { + "ORCA_RESUME": "1" + }, + "envToDelete": ["CODEX_HOME"], + "launchAgent": "codex", + "navigation": "caller", + "select": true, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "54558214b507": { + "failure": "Unknown method", + "launched": "unlaunched" + }, + "611cf7134d32": { + "name": "session.tabs.createTerminal#1", + "args": [ + { + "name": "method", + "value": "session.tabs.createTerminal" + }, + { + "name": "params", + "value": { + "activate": false, + "clientMutationId": "resume-mutation-1", + "env": { + "ORCA_RESUME": "1" + }, + "envToDelete": ["CODEX_HOME"], + "launchAgent": "codex", + "navigation": "caller", + "select": true, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "671d748c842b": { + "name": "session.tabs.createTerminal#1", + "args": [ + { + "name": "method", + "value": "session.tabs.createTerminal" + }, + { + "name": "params", + "value": { + "activate": false, + "clientMutationId": "resume-mutation-1", + "env": { + "ORCA_RESUME": "1" + }, + "envToDelete": ["CODEX_HOME"], + "launchAgent": "codex", + "navigation": "caller", + "select": true, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "681fc4d59b92": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Created terminal response was invalid", + "isRpcDeliveryUnknown": false + } + }, + "6b1e36abce6b": { + "name": "session.tabs.createTerminal#1", + "args": [ + { + "name": "method", + "value": "session.tabs.createTerminal" + }, + { + "name": "params", + "value": { + "activate": false, + "clientMutationId": "resume-mutation-1", + "env": { + "ORCA_RESUME": "1" + }, + "envToDelete": ["CODEX_HOME"], + "launchAgent": "codex", + "navigation": "caller", + "select": true, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "tab": { + "id": "tab-9", + "terminal": "terminal-9", + "title": "codex", + "type": "terminal" + } + } + } + } + }, + "6e79da536ca9": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "tab-9", + "terminal": "terminal-9", + "title": "codex" + } + }, + "80ce09f50b96": { + "name": "session.tabs.createTerminal#1", + "args": [ + { + "name": "method", + "value": "session.tabs.createTerminal" + }, + { + "name": "params", + "value": { + "activate": false, + "clientMutationId": "resume-mutation-1", + "env": { + "ORCA_RESUME": "1" + }, + "envToDelete": ["CODEX_HOME"], + "launchAgent": "codex", + "navigation": "caller", + "select": true, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "92613ac6d4fa": { + "name": "session.tabs.createTerminal#1", + "args": [ + { + "name": "method", + "value": "session.tabs.createTerminal" + }, + { + "name": "params", + "value": { + "activate": false, + "clientMutationId": "resume-mutation-1", + "env": { + "ORCA_RESUME": "1" + }, + "envToDelete": ["CODEX_HOME"], + "launchAgent": "codex", + "navigation": "caller", + "select": true, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "a84f5d45a48b": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "enter": true, + "terminal": "terminal-9", + "text": "codex resume rollout" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + } + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "a9a45875782f": { + "name": "terminal.send#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-9\",\"text\":\"codex resume rollout\",\"enter\":true}}" + }, + "b948e8307e81": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Unknown method", + "isRpcDeliveryUnknown": false + } + }, + "c7584e82c72f": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + }, + "cb0891b6056d": { + "name": "session.tabs.createTerminal#1", + "args": [ + { + "name": "method", + "value": "session.tabs.createTerminal" + }, + { + "name": "params", + "value": { + "activate": false, + "clientMutationId": "resume-mutation-1", + "env": { + "ORCA_RESUME": "1" + }, + "envToDelete": ["CODEX_HOME"], + "launchAgent": "codex", + "navigation": "caller", + "select": true, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "d34341547b51": { + "name": "session.tabs.createTerminal#1", + "args": [ + { + "name": "method", + "value": "session.tabs.createTerminal" + }, + { + "name": "params", + "value": { + "activate": false, + "clientMutationId": "resume-mutation-1", + "env": { + "ORCA_RESUME": "1" + }, + "envToDelete": ["CODEX_HOME"], + "launchAgent": "codex", + "navigation": "caller", + "select": true, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "dbc538c406b0": { + "name": "session.tabs.createTerminal#1", + "args": [ + { + "name": "method", + "value": "session.tabs.createTerminal" + }, + { + "name": "params", + "value": { + "activate": false, + "clientMutationId": "resume-mutation-1", + "env": { + "ORCA_RESUME": "1" + }, + "envToDelete": ["CODEX_HOME"], + "launchAgent": "codex", + "navigation": "caller", + "select": true, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "e105057c5765": { + "failure": "transport failure", + "launched": "unlaunched" + }, + "eb30e498d168": { + "name": "session.tabs.createTerminal#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"session.tabs.createTerminal\",\"params\":{\"worktree\":\"id:workspace-1\",\"env\":{\"ORCA_RESUME\":\"1\"},\"envToDelete\":[\"CODEX_HOME\"],\"launchAgent\":\"codex\",\"clientMutationId\":\"resume-mutation-1\",\"activate\":false,\"select\":true,\"navigation\":\"caller\"}}" + }, + "efa7e20c5a6f": { + "failure": "outer refused", + "launched": "unlaunched" + }, + "f1f50b49b8de": { + "failure": "", + "launched": "unlaunched" + } + }, + "recording": { + "scenario": "matrix-aivault.resume-launch-session.tabs.createterminal-1", + "checkpoints": [ + { + "id": "aivault-resume-launch-sent.normal:resumed", + "observation": { + "sender": ["6b1e36abce6b", "a84f5d45a48b"], + "payloads": ["eb30e498d168", "a9a45875782f"], + "settlements": { + "full": "6e79da536ca9" + }, + "state": "400d946a183d", + "effects": [] + } + }, + { + "id": "aivault-resume-launch-sent.result-absent:resumed", + "observation": { + "sender": ["671d748c842b"], + "payloads": ["eb30e498d168"], + "settlements": { + "full": "681fc4d59b92" + }, + "state": "432332c9740e", + "effects": [] + } + }, + { + "id": "aivault-resume-launch-sent.result-null:resumed", + "observation": { + "sender": ["d34341547b51"], + "payloads": ["eb30e498d168"], + "settlements": { + "full": "681fc4d59b92" + }, + "state": "432332c9740e", + "effects": [] + } + }, + { + "id": "aivault-resume-launch-sent.inner-ok-missing:resumed", + "observation": { + "sender": ["3ad18553135a"], + "payloads": ["eb30e498d168"], + "settlements": { + "full": "681fc4d59b92" + }, + "state": "432332c9740e", + "effects": [] + } + }, + { + "id": "aivault-resume-launch-sent.inner-false-string-error:resumed", + "observation": { + "sender": ["92613ac6d4fa"], + "payloads": ["eb30e498d168"], + "settlements": { + "full": "681fc4d59b92" + }, + "state": "432332c9740e", + "effects": [] + } + }, + { + "id": "aivault-resume-launch-sent.inner-false-object-error:resumed", + "observation": { + "sender": ["4ee71a589941"], + "payloads": ["eb30e498d168"], + "settlements": { + "full": "681fc4d59b92" + }, + "state": "432332c9740e", + "effects": [] + } + }, + { + "id": "aivault-resume-launch-sent.outer-refused:resumed", + "observation": { + "sender": ["611cf7134d32"], + "payloads": ["eb30e498d168"], + "settlements": { + "full": "32a7c0ae7918" + }, + "state": "efa7e20c5a6f", + "effects": [] + } + }, + { + "id": "aivault-resume-launch-sent.outer-refused-no-message:resumed", + "observation": { + "sender": ["cb0891b6056d"], + "payloads": ["eb30e498d168"], + "settlements": { + "full": "30ec57518c05" + }, + "state": "133463600de6", + "effects": [] + } + }, + { + "id": "aivault-resume-launch-sent.method-not-found:resumed", + "observation": { + "sender": ["00ce2da4b927"], + "payloads": ["eb30e498d168"], + "settlements": { + "full": "b948e8307e81" + }, + "state": "54558214b507", + "effects": [] + } + }, + { + "id": "aivault-resume-launch-sent.transport-rejection:resumed", + "observation": { + "sender": ["dbc538c406b0"], + "payloads": ["eb30e498d168"], + "settlements": { + "full": "a947768bc0ed" + }, + "state": "e105057c5765", + "effects": [] + } + }, + { + "id": "aivault-resume-launch-sent.transport-rejection-no-message:resumed", + "observation": { + "sender": ["80ce09f50b96"], + "payloads": ["eb30e498d168"], + "settlements": { + "full": "c7584e82c72f" + }, + "state": "f1f50b49b8de", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-aivault.resume-launch-terminal.send-1.json b/mobile/rpc-foundation/goldens/matrix-aivault.resume-launch-terminal.send-1.json new file mode 100644 index 00000000000..aac0e6cc0f7 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-aivault.resume-launch-terminal.send-1.json @@ -0,0 +1,686 @@ +{ + "operation": "aiVault.resume-launch", + "family": "aiVault.resume-launch", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "2f43211e4084c0493bd02ec98868acf53a4c748f89a70cd9657c9c3ee87b12fb", + "scenarioSha256": "aa812132ede83e4aced73a644e996df82a38bfc70ead70a5db2e9af8a8b1bfff", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "049bcc141657": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "enter": true, + "terminal": "terminal-9", + "text": "codex resume rollout" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "0f7c8cc35709": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "enter": true, + "terminal": "terminal-9", + "text": "codex resume rollout" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "17ee408f637d": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "enter": true, + "terminal": "terminal-9", + "text": "codex resume rollout" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "3253374e68e6": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "enter": true, + "terminal": "terminal-9", + "text": "codex resume rollout" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "32a7c0ae7918": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "outer refused", + "isRpcDeliveryUnknown": false + } + }, + "335573146591": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "enter": true, + "terminal": "terminal-9", + "text": "codex resume rollout" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "400d946a183d": { + "failure": { + "$rpc": "null" + }, + "launched": { + "id": "tab-9", + "terminal": "terminal-9", + "title": "codex" + } + }, + "54558214b507": { + "failure": "Unknown method", + "launched": "unlaunched" + }, + "6b1e36abce6b": { + "name": "session.tabs.createTerminal#1", + "args": [ + { + "name": "method", + "value": "session.tabs.createTerminal" + }, + { + "name": "params", + "value": { + "activate": false, + "clientMutationId": "resume-mutation-1", + "env": { + "ORCA_RESUME": "1" + }, + "envToDelete": ["CODEX_HOME"], + "launchAgent": "codex", + "navigation": "caller", + "select": true, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "tab": { + "id": "tab-9", + "terminal": "terminal-9", + "title": "codex", + "type": "terminal" + } + } + } + } + }, + "6e79da536ca9": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "tab-9", + "terminal": "terminal-9", + "title": "codex" + } + }, + "71b34bf921d6": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "enter": true, + "terminal": "terminal-9", + "text": "codex resume rollout" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "8511f0debfc0": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Failed to send resume command", + "isRpcDeliveryUnknown": false + } + }, + "96f24b3825b5": { + "failure": "Failed to send resume command", + "launched": "unlaunched" + }, + "9b68cd60047e": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "enter": true, + "terminal": "terminal-9", + "text": "codex resume rollout" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "a84f5d45a48b": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "enter": true, + "terminal": "terminal-9", + "text": "codex resume rollout" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + } + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "a9a45875782f": { + "name": "terminal.send#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-9\",\"text\":\"codex resume rollout\",\"enter\":true}}" + }, + "b948e8307e81": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Unknown method", + "isRpcDeliveryUnknown": false + } + }, + "c27cefd487fc": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "enter": true, + "terminal": "terminal-9", + "text": "codex resume rollout" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "c7584e82c72f": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + }, + "dac3aef412ff": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "enter": true, + "terminal": "terminal-9", + "text": "codex resume rollout" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "e105057c5765": { + "failure": "transport failure", + "launched": "unlaunched" + }, + "eb30e498d168": { + "name": "session.tabs.createTerminal#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"session.tabs.createTerminal\",\"params\":{\"worktree\":\"id:workspace-1\",\"env\":{\"ORCA_RESUME\":\"1\"},\"envToDelete\":[\"CODEX_HOME\"],\"launchAgent\":\"codex\",\"clientMutationId\":\"resume-mutation-1\",\"activate\":false,\"select\":true,\"navigation\":\"caller\"}}" + }, + "efa7e20c5a6f": { + "failure": "outer refused", + "launched": "unlaunched" + }, + "f1f50b49b8de": { + "failure": "", + "launched": "unlaunched" + }, + "fa85a657c342": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "enter": true, + "terminal": "terminal-9", + "text": "codex resume rollout" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + } + }, + "recording": { + "scenario": "matrix-aivault.resume-launch-terminal.send-1", + "checkpoints": [ + { + "id": "aivault-resume-launch-sent.normal:resumed", + "observation": { + "sender": ["6b1e36abce6b", "a84f5d45a48b"], + "payloads": ["eb30e498d168", "a9a45875782f"], + "settlements": { + "full": "6e79da536ca9" + }, + "state": "400d946a183d", + "effects": [] + } + }, + { + "id": "aivault-resume-launch-sent.result-absent:resumed", + "observation": { + "sender": ["6b1e36abce6b", "17ee408f637d"], + "payloads": ["eb30e498d168", "a9a45875782f"], + "settlements": { + "full": "6e79da536ca9" + }, + "state": "400d946a183d", + "effects": [] + } + }, + { + "id": "aivault-resume-launch-sent.result-null:resumed", + "observation": { + "sender": ["6b1e36abce6b", "335573146591"], + "payloads": ["eb30e498d168", "a9a45875782f"], + "settlements": { + "full": "6e79da536ca9" + }, + "state": "400d946a183d", + "effects": [] + } + }, + { + "id": "aivault-resume-launch-sent.inner-ok-missing:resumed", + "observation": { + "sender": ["6b1e36abce6b", "3253374e68e6"], + "payloads": ["eb30e498d168", "a9a45875782f"], + "settlements": { + "full": "6e79da536ca9" + }, + "state": "400d946a183d", + "effects": [] + } + }, + { + "id": "aivault-resume-launch-sent.inner-false-string-error:resumed", + "observation": { + "sender": ["6b1e36abce6b", "9b68cd60047e"], + "payloads": ["eb30e498d168", "a9a45875782f"], + "settlements": { + "full": "6e79da536ca9" + }, + "state": "400d946a183d", + "effects": [] + } + }, + { + "id": "aivault-resume-launch-sent.inner-false-object-error:resumed", + "observation": { + "sender": ["6b1e36abce6b", "dac3aef412ff"], + "payloads": ["eb30e498d168", "a9a45875782f"], + "settlements": { + "full": "6e79da536ca9" + }, + "state": "400d946a183d", + "effects": [] + } + }, + { + "id": "aivault-resume-launch-sent.outer-refused:resumed", + "observation": { + "sender": ["6b1e36abce6b", "049bcc141657"], + "payloads": ["eb30e498d168", "a9a45875782f"], + "settlements": { + "full": "32a7c0ae7918" + }, + "state": "efa7e20c5a6f", + "effects": [] + } + }, + { + "id": "aivault-resume-launch-sent.outer-refused-no-message:resumed", + "observation": { + "sender": ["6b1e36abce6b", "fa85a657c342"], + "payloads": ["eb30e498d168", "a9a45875782f"], + "settlements": { + "full": "8511f0debfc0" + }, + "state": "96f24b3825b5", + "effects": [] + } + }, + { + "id": "aivault-resume-launch-sent.method-not-found:resumed", + "observation": { + "sender": ["6b1e36abce6b", "0f7c8cc35709"], + "payloads": ["eb30e498d168", "a9a45875782f"], + "settlements": { + "full": "b948e8307e81" + }, + "state": "54558214b507", + "effects": [] + } + }, + { + "id": "aivault-resume-launch-sent.transport-rejection:resumed", + "observation": { + "sender": ["6b1e36abce6b", "c27cefd487fc"], + "payloads": ["eb30e498d168", "a9a45875782f"], + "settlements": { + "full": "a947768bc0ed" + }, + "state": "e105057c5765", + "effects": [] + } + }, + { + "id": "aivault-resume-launch-sent.transport-rejection-no-message:resumed", + "observation": { + "sender": ["6b1e36abce6b", "71b34bf921d6"], + "payloads": ["eb30e498d168", "a9a45875782f"], + "settlements": { + "full": "c7584e82c72f" + }, + "state": "f1f50b49b8de", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-aivault.resume-preparation-aivault.preparesessionresume-1.json b/mobile/rpc-foundation/goldens/matrix-aivault.resume-preparation-aivault.preparesessionresume-1.json new file mode 100644 index 00000000000..f6e3416f4a5 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-aivault.resume-preparation-aivault.preparesessionresume-1.json @@ -0,0 +1,655 @@ +{ + "operation": "aiVault.resume-preparation", + "family": "aiVault.resume-preparation", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "2f43211e4084c0493bd02ec98868acf53a4c748f89a70cd9657c9c3ee87b12fb", + "scenarioSha256": "c3b400967b0b1c7bd3f82a278f4b10855ade72d384922ec4d34795c7bb20084d", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "02733b10ba3d": { + "failure": { + "$rpc": "null" + }, + "prepared": { + "agent": "codex", + "codexHome": "/hosts/codex-accounts/acct-1/home", + "executionHostId": "local", + "filePath": "/sessions/rollout.jsonl" + } + }, + "06345cef27f9": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Could not prepare this legacy Codex session. Retry resume.", + "isRpcDeliveryUnknown": false + } + }, + "110d8c28ad70": { + "name": "aiVault.prepareSessionResume#1", + "args": [ + { + "name": "method", + "value": "aiVault.prepareSessionResume" + }, + { + "name": "params", + "value": { + "agent": "codex", + "codexHome": "/hosts/codex-runtime-home/home", + "executionHostId": "local", + "filePath": "/sessions/rollout.jsonl" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "1174bbe22a9f": { + "name": "aiVault.prepareSessionResume#1", + "args": [ + { + "name": "method", + "value": "aiVault.prepareSessionResume" + }, + { + "name": "params", + "value": { + "agent": "codex", + "codexHome": "/hosts/codex-runtime-home/home", + "executionHostId": "local", + "filePath": "/sessions/rollout.jsonl" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-1", + "ok": false + } + } + }, + "15e10cea84b9": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "agent": "codex", + "codexHome": "/hosts/codex-accounts/acct-1/home", + "executionHostId": "local", + "filePath": "/sessions/rollout.jsonl" + } + }, + "1cc5c362a1d4": { + "name": "aiVault.prepareSessionResume#1", + "args": [ + { + "name": "method", + "value": "aiVault.prepareSessionResume" + }, + { + "name": "params", + "value": { + "agent": "codex", + "codexHome": "/hosts/codex-runtime-home/home", + "executionHostId": "local", + "filePath": "/sessions/rollout.jsonl" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "1cf09af5681c": { + "failure": "Could not prepare this legacy Codex session. Retry resume.", + "prepared": "unprepared" + }, + "32a7c0ae7918": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "outer refused", + "isRpcDeliveryUnknown": false + } + }, + "3cb5dd9bacb9": { + "name": "aiVault.prepareSessionResume#1", + "args": [ + { + "name": "method", + "value": "aiVault.prepareSessionResume" + }, + { + "name": "params", + "value": { + "agent": "codex", + "codexHome": "/hosts/codex-runtime-home/home", + "executionHostId": "local", + "filePath": "/sessions/rollout.jsonl" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "6c0717cacf4f": { + "name": "aiVault.prepareSessionResume#1", + "args": [ + { + "name": "method", + "value": "aiVault.prepareSessionResume" + }, + { + "name": "params", + "value": { + "agent": "codex", + "codexHome": "/hosts/codex-runtime-home/home", + "executionHostId": "local", + "filePath": "/sessions/rollout.jsonl" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "954fabd8665f": { + "failure": "transport failure", + "prepared": "unprepared" + }, + "9736bcb85d7d": { + "name": "aiVault.prepareSessionResume#1", + "args": [ + { + "name": "method", + "value": "aiVault.prepareSessionResume" + }, + { + "name": "params", + "value": { + "agent": "codex", + "codexHome": "/hosts/codex-runtime-home/home", + "executionHostId": "local", + "filePath": "/sessions/rollout.jsonl" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "97f3b981d81f": { + "name": "aiVault.prepareSessionResume#1", + "args": [ + { + "name": "method", + "value": "aiVault.prepareSessionResume" + }, + { + "name": "params", + "value": { + "agent": "codex", + "codexHome": "/hosts/codex-runtime-home/home", + "executionHostId": "local", + "filePath": "/sessions/rollout.jsonl" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "9a6c365d544f": { + "name": "aiVault.prepareSessionResume#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"aiVault.prepareSessionResume\",\"params\":{\"agent\":\"codex\",\"filePath\":\"/sessions/rollout.jsonl\",\"codexHome\":\"/hosts/codex-runtime-home/home\",\"executionHostId\":\"local\"}}" + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "b8c26ad576fc": { + "name": "aiVault.prepareSessionResume#1", + "args": [ + { + "name": "method", + "value": "aiVault.prepareSessionResume" + }, + { + "name": "params", + "value": { + "agent": "codex", + "codexHome": "/hosts/codex-runtime-home/home", + "executionHostId": "local", + "filePath": "/sessions/rollout.jsonl" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "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 + } + }, + "d8803e70463f": { + "name": "aiVault.prepareSessionResume#1", + "args": [ + { + "name": "method", + "value": "aiVault.prepareSessionResume" + }, + { + "name": "params", + "value": { + "agent": "codex", + "codexHome": "/hosts/codex-runtime-home/home", + "executionHostId": "local", + "filePath": "/sessions/rollout.jsonl" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "substituteCodexHome": "/hosts/codex-accounts/acct-1/home", + "useRealCodexHome": false + } + } + } + }, + "dbbdae8f39e4": { + "name": "aiVault.prepareSessionResume#1", + "args": [ + { + "name": "method", + "value": "aiVault.prepareSessionResume" + }, + { + "name": "params", + "value": { + "agent": "codex", + "codexHome": "/hosts/codex-runtime-home/home", + "executionHostId": "local", + "filePath": "/sessions/rollout.jsonl" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "dd625f18432a": { + "failure": "", + "prepared": "unprepared" + }, + "e0c290ca8a22": { + "failure": "outer refused", + "prepared": "unprepared" + }, + "e839ea279e77": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "agent": "codex", + "codexHome": "/hosts/codex-runtime-home/home", + "executionHostId": "local", + "filePath": "/sessions/rollout.jsonl" + } + }, + "eb577fc22483": { + "name": "aiVault.prepareSessionResume#1", + "args": [ + { + "name": "method", + "value": "aiVault.prepareSessionResume" + }, + { + "name": "params", + "value": { + "agent": "codex", + "codexHome": "/hosts/codex-runtime-home/home", + "executionHostId": "local", + "filePath": "/sessions/rollout.jsonl" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "f9dc8bff0bbd": { + "failure": { + "$rpc": "null" + }, + "prepared": { + "agent": "codex", + "codexHome": "/hosts/codex-runtime-home/home", + "executionHostId": "local", + "filePath": "/sessions/rollout.jsonl" + } + } + }, + "recording": { + "scenario": "matrix-aivault.resume-preparation-aivault.preparesessionresume-1", + "checkpoints": [ + { + "id": "aivault-resume-prepare-repin.normal:repinned", + "observation": { + "sender": ["d8803e70463f"], + "payloads": ["9a6c365d544f"], + "settlements": { + "prepare": "15e10cea84b9" + }, + "state": "02733b10ba3d", + "effects": [] + } + }, + { + "id": "aivault-resume-prepare-repin.result-absent:repinned", + "observation": { + "sender": ["3cb5dd9bacb9"], + "payloads": ["9a6c365d544f"], + "settlements": { + "prepare": "e839ea279e77" + }, + "state": "f9dc8bff0bbd", + "effects": [] + } + }, + { + "id": "aivault-resume-prepare-repin.result-null:repinned", + "observation": { + "sender": ["b8c26ad576fc"], + "payloads": ["9a6c365d544f"], + "settlements": { + "prepare": "e839ea279e77" + }, + "state": "f9dc8bff0bbd", + "effects": [] + } + }, + { + "id": "aivault-resume-prepare-repin.inner-ok-missing:repinned", + "observation": { + "sender": ["eb577fc22483"], + "payloads": ["9a6c365d544f"], + "settlements": { + "prepare": "e839ea279e77" + }, + "state": "f9dc8bff0bbd", + "effects": [] + } + }, + { + "id": "aivault-resume-prepare-repin.inner-false-string-error:repinned", + "observation": { + "sender": ["110d8c28ad70"], + "payloads": ["9a6c365d544f"], + "settlements": { + "prepare": "e839ea279e77" + }, + "state": "f9dc8bff0bbd", + "effects": [] + } + }, + { + "id": "aivault-resume-prepare-repin.inner-false-object-error:repinned", + "observation": { + "sender": ["9736bcb85d7d"], + "payloads": ["9a6c365d544f"], + "settlements": { + "prepare": "e839ea279e77" + }, + "state": "f9dc8bff0bbd", + "effects": [] + } + }, + { + "id": "aivault-resume-prepare-repin.outer-refused:repinned", + "observation": { + "sender": ["dbbdae8f39e4"], + "payloads": ["9a6c365d544f"], + "settlements": { + "prepare": "32a7c0ae7918" + }, + "state": "e0c290ca8a22", + "effects": [] + } + }, + { + "id": "aivault-resume-prepare-repin.outer-refused-no-message:repinned", + "observation": { + "sender": ["6c0717cacf4f"], + "payloads": ["9a6c365d544f"], + "settlements": { + "prepare": "06345cef27f9" + }, + "state": "1cf09af5681c", + "effects": [] + } + }, + { + "id": "aivault-resume-prepare-repin.method-not-found:repinned", + "observation": { + "sender": ["1174bbe22a9f"], + "payloads": ["9a6c365d544f"], + "settlements": { + "prepare": "e839ea279e77" + }, + "state": "f9dc8bff0bbd", + "effects": [] + } + }, + { + "id": "aivault-resume-prepare-repin.transport-rejection:repinned", + "observation": { + "sender": ["1cc5c362a1d4"], + "payloads": ["9a6c365d544f"], + "settlements": { + "prepare": "a947768bc0ed" + }, + "state": "954fabd8665f", + "effects": [] + } + }, + { + "id": "aivault-resume-prepare-repin.transport-rejection-no-message:repinned", + "observation": { + "sender": ["97f3b981d81f"], + "payloads": ["9a6c365d544f"], + "settlements": { + "prepare": "c7584e82c72f" + }, + "state": "dd625f18432a", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-browser.dialog-browser.dialogaccept-1.json b/mobile/rpc-foundation/goldens/matrix-browser.dialog-browser.dialogaccept-1.json new file mode 100644 index 00000000000..fde32ebeb2f --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-browser.dialog-browser.dialogaccept-1.json @@ -0,0 +1,562 @@ +{ + "operation": "browser.page-commands", + "family": "browser.dialog", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "55971752f963202d30160851197a301089b0f3ebd0c46725af1a461d8310d658", + "scenarioSha256": "9cae732e4227d4c2fe874a5fb2e104552c16cbc91b59523de8fd46454660cde8", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "2a884fbac9d5": { + "name": "browser.dialogAccept#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"browser.dialogAccept\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\"}}" + }, + "5aec187274b4": { + "name": "browser.dialogAccept#1", + "args": [ + { + "name": "method", + "value": "browser.dialogAccept" + }, + { + "name": "params", + "value": { + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "7a4be66fde79": { + "name": "browser.dialogAccept#1", + "args": [ + { + "name": "method", + "value": "browser.dialogAccept" + }, + { + "name": "params", + "value": { + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "8533958036cf": { + "name": "browser.dialogAccept#1", + "args": [ + { + "name": "method", + "value": "browser.dialogAccept" + }, + { + "name": "params", + "value": { + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "8cb6223a7fb0": { + "name": "browser.dialogAccept#1", + "args": [ + { + "name": "method", + "value": "browser.dialogAccept" + }, + { + "name": "params", + "value": { + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "953ba6dbc96d": { + "name": "browser.dialogAccept#1", + "args": [ + { + "name": "method", + "value": "browser.dialogAccept" + }, + { + "name": "params", + "value": { + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "9855d4ec3415": { + "busy": false, + "dialog": { + "$rpc": "null" + }, + "error": { + "$rpc": "null" + }, + "keyboardValue": "hello", + "pointerModifiers": [] + }, + "c5aedd728f13": { + "name": "browser.dialogAccept#1", + "args": [ + { + "name": "method", + "value": "browser.dialogAccept" + }, + { + "name": "params", + "value": { + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-1", + "ok": false + } + } + }, + "c7183380b73f": { + "name": "browser.dialogAccept#1", + "args": [ + { + "name": "method", + "value": "browser.dialogAccept" + }, + { + "name": "params", + "value": { + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "cb0512cac66f": { + "name": "browser.dialogAccept#1", + "args": [ + { + "name": "method", + "value": "browser.dialogAccept" + }, + { + "name": "params", + "value": { + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "cfb5f50809ac": { + "name": "browser.dialogAccept#1", + "args": [ + { + "name": "method", + "value": "browser.dialogAccept" + }, + { + "name": "params", + "value": { + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "df5eefc7ff6e": { + "name": "browser.dialogAccept#1", + "args": [ + { + "name": "method", + "value": "browser.dialogAccept" + }, + { + "name": "params", + "value": { + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f23289a40300": { + "name": "browser.dialogAccept#1", + "args": [ + { + "name": "method", + "value": "browser.dialogAccept" + }, + { + "name": "params", + "value": { + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "accepted": true + } + } + } + } + }, + "recording": { + "scenario": "matrix-browser.dialog-browser.dialogaccept-1", + "checkpoints": [ + { + "id": "browser-dialog-accepted.normal:dismissed", + "observation": { + "sender": ["f23289a40300"], + "payloads": ["2a884fbac9d5"], + "settlements": { + "mount": "eb79a9b3682a", + "dialog": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-dialog-accepted.result-absent:dismissed", + "observation": { + "sender": ["5aec187274b4"], + "payloads": ["2a884fbac9d5"], + "settlements": { + "mount": "eb79a9b3682a", + "dialog": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-dialog-accepted.result-null:dismissed", + "observation": { + "sender": ["8533958036cf"], + "payloads": ["2a884fbac9d5"], + "settlements": { + "mount": "eb79a9b3682a", + "dialog": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-dialog-accepted.inner-ok-missing:dismissed", + "observation": { + "sender": ["c7183380b73f"], + "payloads": ["2a884fbac9d5"], + "settlements": { + "mount": "eb79a9b3682a", + "dialog": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-dialog-accepted.inner-false-string-error:dismissed", + "observation": { + "sender": ["953ba6dbc96d"], + "payloads": ["2a884fbac9d5"], + "settlements": { + "mount": "eb79a9b3682a", + "dialog": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-dialog-accepted.inner-false-object-error:dismissed", + "observation": { + "sender": ["cfb5f50809ac"], + "payloads": ["2a884fbac9d5"], + "settlements": { + "mount": "eb79a9b3682a", + "dialog": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-dialog-accepted.outer-refused:dismissed", + "observation": { + "sender": ["df5eefc7ff6e"], + "payloads": ["2a884fbac9d5"], + "settlements": { + "mount": "eb79a9b3682a", + "dialog": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-dialog-accepted.outer-refused-no-message:dismissed", + "observation": { + "sender": ["cb0512cac66f"], + "payloads": ["2a884fbac9d5"], + "settlements": { + "mount": "eb79a9b3682a", + "dialog": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-dialog-accepted.method-not-found:dismissed", + "observation": { + "sender": ["c5aedd728f13"], + "payloads": ["2a884fbac9d5"], + "settlements": { + "mount": "eb79a9b3682a", + "dialog": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-dialog-accepted.transport-rejection:dismissed", + "observation": { + "sender": ["8cb6223a7fb0"], + "payloads": ["2a884fbac9d5"], + "settlements": { + "mount": "eb79a9b3682a", + "dialog": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-dialog-accepted.transport-rejection-no-message:dismissed", + "observation": { + "sender": ["7a4be66fde79"], + "payloads": ["2a884fbac9d5"], + "settlements": { + "mount": "eb79a9b3682a", + "dialog": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-browser.keyboard-browser.keyboardinserttext-1.json b/mobile/rpc-foundation/goldens/matrix-browser.keyboard-browser.keyboardinserttext-1.json new file mode 100644 index 00000000000..216c6c3b588 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-browser.keyboard-browser.keyboardinserttext-1.json @@ -0,0 +1,641 @@ +{ + "operation": "browser.page-commands", + "family": "browser.keyboard", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "55971752f963202d30160851197a301089b0f3ebd0c46725af1a461d8310d658", + "scenarioSha256": "fc3411f3f4cb58b6a1338ea943f59446fda7819931814e9ab002e35e2de42462", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "04ae34c3208f": { + "name": "browser.keypress#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"browser.keypress\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"key\":\"Enter\"}}" + }, + "144ab1dd2183": { + "name": "browser.keyboardInsertText#1", + "args": [ + { + "name": "method", + "value": "browser.keyboardInsertText" + }, + { + "name": "params", + "value": { + "page": "page-1", + "text": "hello", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "14c2ef2f5804": { + "name": "browser.keyboardInsertText#1", + "args": [ + { + "name": "method", + "value": "browser.keyboardInsertText" + }, + { + "name": "params", + "value": { + "page": "page-1", + "text": "hello", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "37ef5fe93769": { + "name": "browser.keyboardInsertText#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"browser.keyboardInsertText\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"text\":\"hello\"}}" + }, + "5fe64ef6c1f3": { + "name": "toast", + "value": { + "message": "Sent" + }, + "sent": 1 + }, + "7609d27b7093": { + "name": "browser.keyboardInsertText#1", + "args": [ + { + "name": "method", + "value": "browser.keyboardInsertText" + }, + { + "name": "params", + "value": { + "page": "page-1", + "text": "hello", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "770254847b6a": { + "name": "browser.keyboardInsertText#1", + "args": [ + { + "name": "method", + "value": "browser.keyboardInsertText" + }, + { + "name": "params", + "value": { + "page": "page-1", + "text": "hello", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "inserted": true + } + } + } + }, + "8160e8872519": { + "busy": false, + "dialog": { + "$rpc": "null" + }, + "error": { + "$rpc": "null" + }, + "keyboardValue": "", + "pointerModifiers": [] + }, + "842f974ec87b": { + "name": "browser.keyboardInsertText#1", + "args": [ + { + "name": "method", + "value": "browser.keyboardInsertText" + }, + { + "name": "params", + "value": { + "page": "page-1", + "text": "hello", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "8a5920bc8d54": { + "name": "browser.keyboardInsertText#1", + "args": [ + { + "name": "method", + "value": "browser.keyboardInsertText" + }, + { + "name": "params", + "value": { + "page": "page-1", + "text": "hello", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "93f857f8c023": { + "name": "browser.keyboardInsertText#1", + "args": [ + { + "name": "method", + "value": "browser.keyboardInsertText" + }, + { + "name": "params", + "value": { + "page": "page-1", + "text": "hello", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-1", + "ok": false + } + } + }, + "9855d4ec3415": { + "busy": false, + "dialog": { + "$rpc": "null" + }, + "error": { + "$rpc": "null" + }, + "keyboardValue": "hello", + "pointerModifiers": [] + }, + "9cb8fe568bd4": { + "name": "browser.keyboardInsertText#1", + "args": [ + { + "name": "method", + "value": "browser.keyboardInsertText" + }, + { + "name": "params", + "value": { + "page": "page-1", + "text": "hello", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "c532c7fdcc69": { + "name": "browser.keypress#1", + "args": [ + { + "name": "method", + "value": "browser.keypress" + }, + { + "name": "params", + "value": { + "key": "Enter", + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "pressed": true + } + } + } + }, + "d3f89a91cfd0": { + "name": "browser.keyboardInsertText#1", + "args": [ + { + "name": "method", + "value": "browser.keyboardInsertText" + }, + { + "name": "params", + "value": { + "page": "page-1", + "text": "hello", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "dc5a9a12c863": { + "name": "browser.keyboardInsertText#1", + "args": [ + { + "name": "method", + "value": "browser.keyboardInsertText" + }, + { + "name": "params", + "value": { + "page": "page-1", + "text": "hello", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "efee2aff072a": { + "name": "browser.keyboardInsertText#1", + "args": [ + { + "name": "method", + "value": "browser.keyboardInsertText" + }, + { + "name": "params", + "value": { + "page": "page-1", + "text": "hello", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + } + }, + "recording": { + "scenario": "matrix-browser.keyboard-browser.keyboardinserttext-1", + "checkpoints": [ + { + "id": "browser-keyboard-input.normal:typed", + "observation": { + "sender": ["770254847b6a", "c532c7fdcc69"], + "payloads": ["37ef5fe93769", "04ae34c3208f"], + "settlements": { + "mount": "eb79a9b3682a", + "text": "eb79a9b3682a", + "keypress": "eb79a9b3682a" + }, + "state": "8160e8872519", + "effects": ["5fe64ef6c1f3"] + } + }, + { + "id": "browser-keyboard-input.result-absent:typed", + "observation": { + "sender": ["9cb8fe568bd4", "c532c7fdcc69"], + "payloads": ["37ef5fe93769", "04ae34c3208f"], + "settlements": { + "mount": "eb79a9b3682a", + "text": "eb79a9b3682a", + "keypress": "eb79a9b3682a" + }, + "state": "8160e8872519", + "effects": ["5fe64ef6c1f3"] + } + }, + { + "id": "browser-keyboard-input.result-null:typed", + "observation": { + "sender": ["dc5a9a12c863", "c532c7fdcc69"], + "payloads": ["37ef5fe93769", "04ae34c3208f"], + "settlements": { + "mount": "eb79a9b3682a", + "text": "eb79a9b3682a", + "keypress": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-keyboard-input.inner-ok-missing:typed", + "observation": { + "sender": ["efee2aff072a", "c532c7fdcc69"], + "payloads": ["37ef5fe93769", "04ae34c3208f"], + "settlements": { + "mount": "eb79a9b3682a", + "text": "eb79a9b3682a", + "keypress": "eb79a9b3682a" + }, + "state": "8160e8872519", + "effects": ["5fe64ef6c1f3"] + } + }, + { + "id": "browser-keyboard-input.inner-false-string-error:typed", + "observation": { + "sender": ["144ab1dd2183", "c532c7fdcc69"], + "payloads": ["37ef5fe93769", "04ae34c3208f"], + "settlements": { + "mount": "eb79a9b3682a", + "text": "eb79a9b3682a", + "keypress": "eb79a9b3682a" + }, + "state": "8160e8872519", + "effects": ["5fe64ef6c1f3"] + } + }, + { + "id": "browser-keyboard-input.inner-false-object-error:typed", + "observation": { + "sender": ["8a5920bc8d54", "c532c7fdcc69"], + "payloads": ["37ef5fe93769", "04ae34c3208f"], + "settlements": { + "mount": "eb79a9b3682a", + "text": "eb79a9b3682a", + "keypress": "eb79a9b3682a" + }, + "state": "8160e8872519", + "effects": ["5fe64ef6c1f3"] + } + }, + { + "id": "browser-keyboard-input.outer-refused:typed", + "observation": { + "sender": ["d3f89a91cfd0", "c532c7fdcc69"], + "payloads": ["37ef5fe93769", "04ae34c3208f"], + "settlements": { + "mount": "eb79a9b3682a", + "text": "eb79a9b3682a", + "keypress": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-keyboard-input.outer-refused-no-message:typed", + "observation": { + "sender": ["14c2ef2f5804", "c532c7fdcc69"], + "payloads": ["37ef5fe93769", "04ae34c3208f"], + "settlements": { + "mount": "eb79a9b3682a", + "text": "eb79a9b3682a", + "keypress": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-keyboard-input.method-not-found:typed", + "observation": { + "sender": ["93f857f8c023", "c532c7fdcc69"], + "payloads": ["37ef5fe93769", "04ae34c3208f"], + "settlements": { + "mount": "eb79a9b3682a", + "text": "eb79a9b3682a", + "keypress": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-keyboard-input.transport-rejection:typed", + "observation": { + "sender": ["7609d27b7093", "c532c7fdcc69"], + "payloads": ["37ef5fe93769", "04ae34c3208f"], + "settlements": { + "mount": "eb79a9b3682a", + "text": "eb79a9b3682a", + "keypress": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-keyboard-input.transport-rejection-no-message:typed", + "observation": { + "sender": ["842f974ec87b", "c532c7fdcc69"], + "payloads": ["37ef5fe93769", "04ae34c3208f"], + "settlements": { + "mount": "eb79a9b3682a", + "text": "eb79a9b3682a", + "keypress": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-browser.keyboard-browser.keypress-1.json b/mobile/rpc-foundation/goldens/matrix-browser.keyboard-browser.keypress-1.json new file mode 100644 index 00000000000..45f41d6661f --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-browser.keyboard-browser.keypress-1.json @@ -0,0 +1,630 @@ +{ + "operation": "browser.page-commands", + "family": "browser.keyboard", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "55971752f963202d30160851197a301089b0f3ebd0c46725af1a461d8310d658", + "scenarioSha256": "c1df871e84d4399e9a447caaff244241933c0dfc7c3d5e114d022e54b0ed7ed4", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "04ae34c3208f": { + "name": "browser.keypress#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"browser.keypress\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"key\":\"Enter\"}}" + }, + "368e34201541": { + "name": "browser.keypress#1", + "args": [ + { + "name": "method", + "value": "browser.keypress" + }, + { + "name": "params", + "value": { + "key": "Enter", + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "37ef5fe93769": { + "name": "browser.keyboardInsertText#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"browser.keyboardInsertText\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"text\":\"hello\"}}" + }, + "3c82ed937461": { + "name": "browser.keypress#1", + "args": [ + { + "name": "method", + "value": "browser.keypress" + }, + { + "name": "params", + "value": { + "key": "Enter", + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "5fe64ef6c1f3": { + "name": "toast", + "value": { + "message": "Sent" + }, + "sent": 1 + }, + "72b0cf4a3571": { + "name": "browser.keypress#1", + "args": [ + { + "name": "method", + "value": "browser.keypress" + }, + { + "name": "params", + "value": { + "key": "Enter", + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "770254847b6a": { + "name": "browser.keyboardInsertText#1", + "args": [ + { + "name": "method", + "value": "browser.keyboardInsertText" + }, + { + "name": "params", + "value": { + "page": "page-1", + "text": "hello", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "inserted": true + } + } + } + }, + "7b06f0a27e27": { + "name": "browser.keypress#1", + "args": [ + { + "name": "method", + "value": "browser.keypress" + }, + { + "name": "params", + "value": { + "key": "Enter", + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "8160e8872519": { + "busy": false, + "dialog": { + "$rpc": "null" + }, + "error": { + "$rpc": "null" + }, + "keyboardValue": "", + "pointerModifiers": [] + }, + "8795eb123f48": { + "name": "browser.keypress#1", + "args": [ + { + "name": "method", + "value": "browser.keypress" + }, + { + "name": "params", + "value": { + "key": "Enter", + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "92ab66cd3f6d": { + "name": "browser.keypress#1", + "args": [ + { + "name": "method", + "value": "browser.keypress" + }, + { + "name": "params", + "value": { + "key": "Enter", + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "be48c9f97d81": { + "name": "browser.keypress#1", + "args": [ + { + "name": "method", + "value": "browser.keypress" + }, + { + "name": "params", + "value": { + "key": "Enter", + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "c2f31140b989": { + "name": "browser.keypress#1", + "args": [ + { + "name": "method", + "value": "browser.keypress" + }, + { + "name": "params", + "value": { + "key": "Enter", + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "c532c7fdcc69": { + "name": "browser.keypress#1", + "args": [ + { + "name": "method", + "value": "browser.keypress" + }, + { + "name": "params", + "value": { + "key": "Enter", + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "pressed": true + } + } + } + }, + "e35aacc63861": { + "name": "browser.keypress#1", + "args": [ + { + "name": "method", + "value": "browser.keypress" + }, + { + "name": "params", + "value": { + "key": "Enter", + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f1c7c94fd8da": { + "name": "browser.keypress#1", + "args": [ + { + "name": "method", + "value": "browser.keypress" + }, + { + "name": "params", + "value": { + "key": "Enter", + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + } + }, + "recording": { + "scenario": "matrix-browser.keyboard-browser.keypress-1", + "checkpoints": [ + { + "id": "browser-keyboard-input.normal:typed", + "observation": { + "sender": ["770254847b6a", "c532c7fdcc69"], + "payloads": ["37ef5fe93769", "04ae34c3208f"], + "settlements": { + "mount": "eb79a9b3682a", + "text": "eb79a9b3682a", + "keypress": "eb79a9b3682a" + }, + "state": "8160e8872519", + "effects": ["5fe64ef6c1f3"] + } + }, + { + "id": "browser-keyboard-input.result-absent:typed", + "observation": { + "sender": ["770254847b6a", "72b0cf4a3571"], + "payloads": ["37ef5fe93769", "04ae34c3208f"], + "settlements": { + "mount": "eb79a9b3682a", + "text": "eb79a9b3682a", + "keypress": "eb79a9b3682a" + }, + "state": "8160e8872519", + "effects": ["5fe64ef6c1f3"] + } + }, + { + "id": "browser-keyboard-input.result-null:typed", + "observation": { + "sender": ["770254847b6a", "3c82ed937461"], + "payloads": ["37ef5fe93769", "04ae34c3208f"], + "settlements": { + "mount": "eb79a9b3682a", + "text": "eb79a9b3682a", + "keypress": "eb79a9b3682a" + }, + "state": "8160e8872519", + "effects": ["5fe64ef6c1f3"] + } + }, + { + "id": "browser-keyboard-input.inner-ok-missing:typed", + "observation": { + "sender": ["770254847b6a", "368e34201541"], + "payloads": ["37ef5fe93769", "04ae34c3208f"], + "settlements": { + "mount": "eb79a9b3682a", + "text": "eb79a9b3682a", + "keypress": "eb79a9b3682a" + }, + "state": "8160e8872519", + "effects": ["5fe64ef6c1f3"] + } + }, + { + "id": "browser-keyboard-input.inner-false-string-error:typed", + "observation": { + "sender": ["770254847b6a", "f1c7c94fd8da"], + "payloads": ["37ef5fe93769", "04ae34c3208f"], + "settlements": { + "mount": "eb79a9b3682a", + "text": "eb79a9b3682a", + "keypress": "eb79a9b3682a" + }, + "state": "8160e8872519", + "effects": ["5fe64ef6c1f3"] + } + }, + { + "id": "browser-keyboard-input.inner-false-object-error:typed", + "observation": { + "sender": ["770254847b6a", "e35aacc63861"], + "payloads": ["37ef5fe93769", "04ae34c3208f"], + "settlements": { + "mount": "eb79a9b3682a", + "text": "eb79a9b3682a", + "keypress": "eb79a9b3682a" + }, + "state": "8160e8872519", + "effects": ["5fe64ef6c1f3"] + } + }, + { + "id": "browser-keyboard-input.outer-refused:typed", + "observation": { + "sender": ["770254847b6a", "be48c9f97d81"], + "payloads": ["37ef5fe93769", "04ae34c3208f"], + "settlements": { + "mount": "eb79a9b3682a", + "text": "eb79a9b3682a", + "keypress": "eb79a9b3682a" + }, + "state": "8160e8872519", + "effects": ["5fe64ef6c1f3"] + } + }, + { + "id": "browser-keyboard-input.outer-refused-no-message:typed", + "observation": { + "sender": ["770254847b6a", "c2f31140b989"], + "payloads": ["37ef5fe93769", "04ae34c3208f"], + "settlements": { + "mount": "eb79a9b3682a", + "text": "eb79a9b3682a", + "keypress": "eb79a9b3682a" + }, + "state": "8160e8872519", + "effects": ["5fe64ef6c1f3"] + } + }, + { + "id": "browser-keyboard-input.method-not-found:typed", + "observation": { + "sender": ["770254847b6a", "92ab66cd3f6d"], + "payloads": ["37ef5fe93769", "04ae34c3208f"], + "settlements": { + "mount": "eb79a9b3682a", + "text": "eb79a9b3682a", + "keypress": "eb79a9b3682a" + }, + "state": "8160e8872519", + "effects": ["5fe64ef6c1f3"] + } + }, + { + "id": "browser-keyboard-input.transport-rejection:typed", + "observation": { + "sender": ["770254847b6a", "8795eb123f48"], + "payloads": ["37ef5fe93769", "04ae34c3208f"], + "settlements": { + "mount": "eb79a9b3682a", + "text": "eb79a9b3682a", + "keypress": "eb79a9b3682a" + }, + "state": "8160e8872519", + "effects": ["5fe64ef6c1f3"] + } + }, + { + "id": "browser-keyboard-input.transport-rejection-no-message:typed", + "observation": { + "sender": ["770254847b6a", "7b06f0a27e27"], + "payloads": ["37ef5fe93769", "04ae34c3208f"], + "settlements": { + "mount": "eb79a9b3682a", + "text": "eb79a9b3682a", + "keypress": "eb79a9b3682a" + }, + "state": "8160e8872519", + "effects": ["5fe64ef6c1f3"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-browser.pointer-click-browser.mouseclick-1.json b/mobile/rpc-foundation/goldens/matrix-browser.pointer-click-browser.mouseclick-1.json new file mode 100644 index 00000000000..95716c9c02f --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-browser.pointer-click-browser.mouseclick-1.json @@ -0,0 +1,735 @@ +{ + "operation": "browser.page-commands", + "family": "browser.pointer-click", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "55971752f963202d30160851197a301089b0f3ebd0c46725af1a461d8310d658", + "scenarioSha256": "74adcaa668164bc7430e9984f100988bf72975dc8ebbe6b52fac34367cf31a4d", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "044a62b795de": { + "name": "browser.mouseClick#1", + "args": [ + { + "name": "method", + "value": "browser.mouseClick" + }, + { + "name": "params", + "value": { + "button": "left", + "modifiers": [], + "page": "page-1", + "radius": 14, + "worktree": "id:worktree-1", + "x": 40, + "y": 80 + } + }, + { + "name": "options", + "value": { + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "1961908d1da1": { + "name": "browser.mouseDown#1", + "args": [ + { + "name": "method", + "value": "browser.mouseDown" + }, + { + "name": "params", + "value": { + "button": "left", + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "down": true + } + } + } + }, + "1e463da3d358": { + "name": "browser.mouseClick#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseClick\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"x\":40,\"y\":80,\"button\":\"left\",\"modifiers\":[],\"radius\":14}}" + }, + "278a20085af8": { + "name": "browser.mouseMove#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseMove\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"x\":40,\"y\":80}}" + }, + "34576a93431d": { + "name": "browser.mouseClick#1", + "args": [ + { + "name": "method", + "value": "browser.mouseClick" + }, + { + "name": "params", + "value": { + "button": "left", + "modifiers": [], + "page": "page-1", + "radius": 14, + "worktree": "id:worktree-1", + "x": 40, + "y": 80 + } + }, + { + "name": "options", + "value": { + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "37c2665d53f3": { + "name": "browser.mouseClick#1", + "args": [ + { + "name": "method", + "value": "browser.mouseClick" + }, + { + "name": "params", + "value": { + "button": "left", + "modifiers": [], + "page": "page-1", + "radius": 14, + "worktree": "id:worktree-1", + "x": 40, + "y": 80 + } + }, + { + "name": "options", + "value": { + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "41b41cc39e88": { + "name": "browser.mouseUp#1", + "args": [ + { + "name": "method", + "value": "browser.mouseUp" + }, + { + "name": "params", + "value": { + "button": "left", + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "up": true + } + } + } + }, + "5b621e308200": { + "name": "browser.mouseClick#1", + "args": [ + { + "name": "method", + "value": "browser.mouseClick" + }, + { + "name": "params", + "value": { + "button": "left", + "modifiers": [], + "page": "page-1", + "radius": 14, + "worktree": "id:worktree-1", + "x": 40, + "y": 80 + } + }, + { + "name": "options", + "value": { + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "clicked": true + } + } + } + }, + "735fc5dcca31": { + "name": "browser.mouseClick#1", + "args": [ + { + "name": "method", + "value": "browser.mouseClick" + }, + { + "name": "params", + "value": { + "button": "left", + "modifiers": [], + "page": "page-1", + "radius": 14, + "worktree": "id:worktree-1", + "x": 40, + "y": 80 + } + }, + { + "name": "options", + "value": { + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "761d5b8a1761": { + "name": "browser.mouseClick#1", + "args": [ + { + "name": "method", + "value": "browser.mouseClick" + }, + { + "name": "params", + "value": { + "button": "left", + "modifiers": [], + "page": "page-1", + "radius": 14, + "worktree": "id:worktree-1", + "x": 40, + "y": 80 + } + }, + { + "name": "options", + "value": { + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-1", + "ok": false + } + } + }, + "878ba478dddf": { + "name": "browser.mouseClick#1", + "args": [ + { + "name": "method", + "value": "browser.mouseClick" + }, + { + "name": "params", + "value": { + "button": "left", + "modifiers": [], + "page": "page-1", + "radius": 14, + "worktree": "id:worktree-1", + "x": 40, + "y": 80 + } + }, + { + "name": "options", + "value": { + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "9855d4ec3415": { + "busy": false, + "dialog": { + "$rpc": "null" + }, + "error": { + "$rpc": "null" + }, + "keyboardValue": "hello", + "pointerModifiers": [] + }, + "a7ceef6dfd2f": { + "name": "browser.mouseClick#1", + "args": [ + { + "name": "method", + "value": "browser.mouseClick" + }, + { + "name": "params", + "value": { + "button": "left", + "modifiers": [], + "page": "page-1", + "radius": 14, + "worktree": "id:worktree-1", + "x": 40, + "y": 80 + } + }, + { + "name": "options", + "value": { + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "abc677cb9976": { + "name": "browser.mouseClick#1", + "args": [ + { + "name": "method", + "value": "browser.mouseClick" + }, + { + "name": "params", + "value": { + "button": "left", + "modifiers": [], + "page": "page-1", + "radius": 14, + "worktree": "id:worktree-1", + "x": 40, + "y": 80 + } + }, + { + "name": "options", + "value": { + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "ad7da1632835": { + "name": "browser.mouseDown#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseDown\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"button\":\"left\"}}" + }, + "afced8593b1c": { + "name": "browser.mouseClick#1", + "args": [ + { + "name": "method", + "value": "browser.mouseClick" + }, + { + "name": "params", + "value": { + "button": "left", + "modifiers": [], + "page": "page-1", + "radius": 14, + "worktree": "id:worktree-1", + "x": 40, + "y": 80 + } + }, + { + "name": "options", + "value": { + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "b3273afd3ec2": { + "name": "browser.mouseMove#1", + "args": [ + { + "name": "method", + "value": "browser.mouseMove" + }, + { + "name": "params", + "value": { + "page": "page-1", + "worktree": "id:worktree-1", + "x": 40, + "y": 80 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "moved": true + } + } + } + }, + "cf4e140ac028": { + "name": "browser.mouseClick#1", + "args": [ + { + "name": "method", + "value": "browser.mouseClick" + }, + { + "name": "params", + "value": { + "button": "left", + "modifiers": [], + "page": "page-1", + "radius": 14, + "worktree": "id:worktree-1", + "x": 40, + "y": 80 + } + }, + { + "name": "options", + "value": { + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "eaa436587fe0": { + "name": "browser.mouseUp#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseUp\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"button\":\"left\"}}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "matrix-browser.pointer-click-browser.mouseclick-1", + "checkpoints": [ + { + "id": "browser-pointer-click-fallback.normal:clicked-by-fallback", + "observation": { + "sender": ["5b621e308200"], + "payloads": ["1e463da3d358"], + "settlements": { + "mount": "eb79a9b3682a", + "click": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-pointer-click-fallback.result-absent:clicked-by-fallback", + "observation": { + "sender": ["abc677cb9976"], + "payloads": ["1e463da3d358"], + "settlements": { + "mount": "eb79a9b3682a", + "click": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-pointer-click-fallback.result-null:clicked-by-fallback", + "observation": { + "sender": ["735fc5dcca31", "b3273afd3ec2", "1961908d1da1", "41b41cc39e88"], + "payloads": ["1e463da3d358", "278a20085af8", "ad7da1632835", "eaa436587fe0"], + "settlements": { + "mount": "eb79a9b3682a", + "click": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-pointer-click-fallback.inner-ok-missing:clicked-by-fallback", + "observation": { + "sender": ["a7ceef6dfd2f"], + "payloads": ["1e463da3d358"], + "settlements": { + "mount": "eb79a9b3682a", + "click": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-pointer-click-fallback.inner-false-string-error:clicked-by-fallback", + "observation": { + "sender": ["afced8593b1c"], + "payloads": ["1e463da3d358"], + "settlements": { + "mount": "eb79a9b3682a", + "click": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-pointer-click-fallback.inner-false-object-error:clicked-by-fallback", + "observation": { + "sender": ["cf4e140ac028"], + "payloads": ["1e463da3d358"], + "settlements": { + "mount": "eb79a9b3682a", + "click": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-pointer-click-fallback.outer-refused:clicked-by-fallback", + "observation": { + "sender": ["878ba478dddf", "b3273afd3ec2", "1961908d1da1", "41b41cc39e88"], + "payloads": ["1e463da3d358", "278a20085af8", "ad7da1632835", "eaa436587fe0"], + "settlements": { + "mount": "eb79a9b3682a", + "click": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-pointer-click-fallback.outer-refused-no-message:clicked-by-fallback", + "observation": { + "sender": ["044a62b795de", "b3273afd3ec2", "1961908d1da1", "41b41cc39e88"], + "payloads": ["1e463da3d358", "278a20085af8", "ad7da1632835", "eaa436587fe0"], + "settlements": { + "mount": "eb79a9b3682a", + "click": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-pointer-click-fallback.method-not-found:clicked-by-fallback", + "observation": { + "sender": ["761d5b8a1761", "b3273afd3ec2", "1961908d1da1", "41b41cc39e88"], + "payloads": ["1e463da3d358", "278a20085af8", "ad7da1632835", "eaa436587fe0"], + "settlements": { + "mount": "eb79a9b3682a", + "click": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-pointer-click-fallback.transport-rejection:clicked-by-fallback", + "observation": { + "sender": ["34576a93431d", "b3273afd3ec2", "1961908d1da1", "41b41cc39e88"], + "payloads": ["1e463da3d358", "278a20085af8", "ad7da1632835", "eaa436587fe0"], + "settlements": { + "mount": "eb79a9b3682a", + "click": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-pointer-click-fallback.transport-rejection-no-message:clicked-by-fallback", + "observation": { + "sender": ["37c2665d53f3", "b3273afd3ec2", "1961908d1da1", "41b41cc39e88"], + "payloads": ["1e463da3d358", "278a20085af8", "ad7da1632835", "eaa436587fe0"], + "settlements": { + "mount": "eb79a9b3682a", + "click": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-browser.pointer-click-browser.mousedown-1.json b/mobile/rpc-foundation/goldens/matrix-browser.pointer-click-browser.mousedown-1.json new file mode 100644 index 00000000000..756c5c92b5d --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-browser.pointer-click-browser.mousedown-1.json @@ -0,0 +1,696 @@ +{ + "operation": "browser.page-commands", + "family": "browser.pointer-click", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "55971752f963202d30160851197a301089b0f3ebd0c46725af1a461d8310d658", + "scenarioSha256": "db84000f262c6812db55b5f735ab7fe32c914e9ab52b9a7ccc0c21386b782298", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0ba3061956e5": { + "name": "browser.mouseDown#1", + "args": [ + { + "name": "method", + "value": "browser.mouseDown" + }, + { + "name": "params", + "value": { + "button": "left", + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "1961908d1da1": { + "name": "browser.mouseDown#1", + "args": [ + { + "name": "method", + "value": "browser.mouseDown" + }, + { + "name": "params", + "value": { + "button": "left", + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "down": true + } + } + } + }, + "1ca524430075": { + "name": "browser.mouseDown#1", + "args": [ + { + "name": "method", + "value": "browser.mouseDown" + }, + { + "name": "params", + "value": { + "button": "left", + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "1e463da3d358": { + "name": "browser.mouseClick#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseClick\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"x\":40,\"y\":80,\"button\":\"left\",\"modifiers\":[],\"radius\":14}}" + }, + "1f12c04c7775": { + "name": "browser.mouseDown#1", + "args": [ + { + "name": "method", + "value": "browser.mouseDown" + }, + { + "name": "params", + "value": { + "button": "left", + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-3", + "ok": false + } + } + }, + "226c752bd1ca": { + "name": "browser.mouseDown#1", + "args": [ + { + "name": "method", + "value": "browser.mouseDown" + }, + { + "name": "params", + "value": { + "button": "left", + "page": "page-1", + "worktree": "id:worktree-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 + } + } + } + }, + "278a20085af8": { + "name": "browser.mouseMove#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseMove\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"x\":40,\"y\":80}}" + }, + "3ba11435b34e": { + "name": "browser.mouseDown#1", + "args": [ + { + "name": "method", + "value": "browser.mouseDown" + }, + { + "name": "params", + "value": { + "button": "left", + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true + } + } + }, + "41b41cc39e88": { + "name": "browser.mouseUp#1", + "args": [ + { + "name": "method", + "value": "browser.mouseUp" + }, + { + "name": "params", + "value": { + "button": "left", + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "up": true + } + } + } + }, + "6852541b6089": { + "name": "browser.mouseDown#1", + "args": [ + { + "name": "method", + "value": "browser.mouseDown" + }, + { + "name": "params", + "value": { + "button": "left", + "page": "page-1", + "worktree": "id:worktree-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 + } + } + } + }, + "89e7c0ea8d33": { + "name": "browser.mouseDown#1", + "args": [ + { + "name": "method", + "value": "browser.mouseDown" + }, + { + "name": "params", + "value": { + "button": "left", + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "9855d4ec3415": { + "busy": false, + "dialog": { + "$rpc": "null" + }, + "error": { + "$rpc": "null" + }, + "keyboardValue": "hello", + "pointerModifiers": [] + }, + "98781daac6f5": { + "name": "browser.mouseDown#1", + "args": [ + { + "name": "method", + "value": "browser.mouseDown" + }, + { + "name": "params", + "value": { + "button": "left", + "page": "page-1", + "worktree": "id:worktree-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 + } + } + }, + "ad7da1632835": { + "name": "browser.mouseDown#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseDown\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"button\":\"left\"}}" + }, + "b3273afd3ec2": { + "name": "browser.mouseMove#1", + "args": [ + { + "name": "method", + "value": "browser.mouseMove" + }, + { + "name": "params", + "value": { + "page": "page-1", + "worktree": "id:worktree-1", + "x": 40, + "y": 80 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "moved": true + } + } + } + }, + "bb3551a9d839": { + "name": "browser.mouseDown#1", + "args": [ + { + "name": "method", + "value": "browser.mouseDown" + }, + { + "name": "params", + "value": { + "button": "left", + "page": "page-1", + "worktree": "id:worktree-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 + } + } + }, + "c7797ce9e235": { + "name": "browser.mouseDown#1", + "args": [ + { + "name": "method", + "value": "browser.mouseDown" + }, + { + "name": "params", + "value": { + "button": "left", + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "cf9ea7b52a57": { + "name": "browser.mouseClick#1", + "args": [ + { + "name": "method", + "value": "browser.mouseClick" + }, + { + "name": "params", + "value": { + "button": "left", + "modifiers": [], + "page": "page-1", + "radius": 14, + "worktree": "id:worktree-1", + "x": 40, + "y": 80 + } + }, + { + "name": "options", + "value": { + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "selector_not_found" + }, + "id": "frame-1", + "ok": false + } + } + }, + "eaa436587fe0": { + "name": "browser.mouseUp#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseUp\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"button\":\"left\"}}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "matrix-browser.pointer-click-browser.mousedown-1", + "checkpoints": [ + { + "id": "browser-pointer-click-fallback.normal:clicked-by-fallback", + "observation": { + "sender": ["cf9ea7b52a57", "b3273afd3ec2", "1961908d1da1", "41b41cc39e88"], + "payloads": ["1e463da3d358", "278a20085af8", "ad7da1632835", "eaa436587fe0"], + "settlements": { + "mount": "eb79a9b3682a", + "click": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-pointer-click-fallback.result-absent:clicked-by-fallback", + "observation": { + "sender": ["cf9ea7b52a57", "b3273afd3ec2", "3ba11435b34e", "41b41cc39e88"], + "payloads": ["1e463da3d358", "278a20085af8", "ad7da1632835", "eaa436587fe0"], + "settlements": { + "mount": "eb79a9b3682a", + "click": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-pointer-click-fallback.result-null:clicked-by-fallback", + "observation": { + "sender": ["cf9ea7b52a57", "b3273afd3ec2", "0ba3061956e5", "41b41cc39e88"], + "payloads": ["1e463da3d358", "278a20085af8", "ad7da1632835", "eaa436587fe0"], + "settlements": { + "mount": "eb79a9b3682a", + "click": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-pointer-click-fallback.inner-ok-missing:clicked-by-fallback", + "observation": { + "sender": ["cf9ea7b52a57", "b3273afd3ec2", "1ca524430075", "41b41cc39e88"], + "payloads": ["1e463da3d358", "278a20085af8", "ad7da1632835", "eaa436587fe0"], + "settlements": { + "mount": "eb79a9b3682a", + "click": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-pointer-click-fallback.inner-false-string-error:clicked-by-fallback", + "observation": { + "sender": ["cf9ea7b52a57", "b3273afd3ec2", "226c752bd1ca", "41b41cc39e88"], + "payloads": ["1e463da3d358", "278a20085af8", "ad7da1632835", "eaa436587fe0"], + "settlements": { + "mount": "eb79a9b3682a", + "click": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-pointer-click-fallback.inner-false-object-error:clicked-by-fallback", + "observation": { + "sender": ["cf9ea7b52a57", "b3273afd3ec2", "6852541b6089", "41b41cc39e88"], + "payloads": ["1e463da3d358", "278a20085af8", "ad7da1632835", "eaa436587fe0"], + "settlements": { + "mount": "eb79a9b3682a", + "click": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-pointer-click-fallback.outer-refused:clicked-by-fallback", + "observation": { + "sender": ["cf9ea7b52a57", "b3273afd3ec2", "98781daac6f5"], + "payloads": ["1e463da3d358", "278a20085af8", "ad7da1632835"], + "settlements": { + "mount": "eb79a9b3682a", + "click": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-pointer-click-fallback.outer-refused-no-message:clicked-by-fallback", + "observation": { + "sender": ["cf9ea7b52a57", "b3273afd3ec2", "1f12c04c7775"], + "payloads": ["1e463da3d358", "278a20085af8", "ad7da1632835"], + "settlements": { + "mount": "eb79a9b3682a", + "click": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-pointer-click-fallback.method-not-found:clicked-by-fallback", + "observation": { + "sender": ["cf9ea7b52a57", "b3273afd3ec2", "bb3551a9d839"], + "payloads": ["1e463da3d358", "278a20085af8", "ad7da1632835"], + "settlements": { + "mount": "eb79a9b3682a", + "click": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-pointer-click-fallback.transport-rejection:clicked-by-fallback", + "observation": { + "sender": ["cf9ea7b52a57", "b3273afd3ec2", "89e7c0ea8d33"], + "payloads": ["1e463da3d358", "278a20085af8", "ad7da1632835"], + "settlements": { + "mount": "eb79a9b3682a", + "click": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-pointer-click-fallback.transport-rejection-no-message:clicked-by-fallback", + "observation": { + "sender": ["cf9ea7b52a57", "b3273afd3ec2", "c7797ce9e235"], + "payloads": ["1e463da3d358", "278a20085af8", "ad7da1632835"], + "settlements": { + "mount": "eb79a9b3682a", + "click": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-browser.pointer-click-browser.mousemove-1.json b/mobile/rpc-foundation/goldens/matrix-browser.pointer-click-browser.mousemove-1.json new file mode 100644 index 00000000000..49637da56db --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-browser.pointer-click-browser.mousemove-1.json @@ -0,0 +1,706 @@ +{ + "operation": "browser.page-commands", + "family": "browser.pointer-click", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "55971752f963202d30160851197a301089b0f3ebd0c46725af1a461d8310d658", + "scenarioSha256": "35ef15037791fa2e87456ee4585ddaaa00fbf5cde578d7c0b5df143cd40dd9a1", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "12b0c1bdb4ff": { + "name": "browser.mouseMove#1", + "args": [ + { + "name": "method", + "value": "browser.mouseMove" + }, + { + "name": "params", + "value": { + "page": "page-1", + "worktree": "id:worktree-1", + "x": 40, + "y": 80 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "1961908d1da1": { + "name": "browser.mouseDown#1", + "args": [ + { + "name": "method", + "value": "browser.mouseDown" + }, + { + "name": "params", + "value": { + "button": "left", + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "down": true + } + } + } + }, + "1e463da3d358": { + "name": "browser.mouseClick#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseClick\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"x\":40,\"y\":80,\"button\":\"left\",\"modifiers\":[],\"radius\":14}}" + }, + "278a20085af8": { + "name": "browser.mouseMove#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseMove\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"x\":40,\"y\":80}}" + }, + "3052368779e3": { + "name": "browser.mouseMove#1", + "args": [ + { + "name": "method", + "value": "browser.mouseMove" + }, + { + "name": "params", + "value": { + "page": "page-1", + "worktree": "id:worktree-1", + "x": 40, + "y": 80 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "346fa7b7e051": { + "name": "browser.mouseMove#1", + "args": [ + { + "name": "method", + "value": "browser.mouseMove" + }, + { + "name": "params", + "value": { + "page": "page-1", + "worktree": "id:worktree-1", + "x": 40, + "y": 80 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "41b41cc39e88": { + "name": "browser.mouseUp#1", + "args": [ + { + "name": "method", + "value": "browser.mouseUp" + }, + { + "name": "params", + "value": { + "button": "left", + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "up": true + } + } + } + }, + "60433b36ae23": { + "name": "browser.mouseMove#1", + "args": [ + { + "name": "method", + "value": "browser.mouseMove" + }, + { + "name": "params", + "value": { + "page": "page-1", + "worktree": "id:worktree-1", + "x": 40, + "y": 80 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "848344a1650c": { + "name": "browser.mouseMove#1", + "args": [ + { + "name": "method", + "value": "browser.mouseMove" + }, + { + "name": "params", + "value": { + "page": "page-1", + "worktree": "id:worktree-1", + "x": 40, + "y": 80 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "9855d4ec3415": { + "busy": false, + "dialog": { + "$rpc": "null" + }, + "error": { + "$rpc": "null" + }, + "keyboardValue": "hello", + "pointerModifiers": [] + }, + "ad7da1632835": { + "name": "browser.mouseDown#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseDown\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"button\":\"left\"}}" + }, + "b3273afd3ec2": { + "name": "browser.mouseMove#1", + "args": [ + { + "name": "method", + "value": "browser.mouseMove" + }, + { + "name": "params", + "value": { + "page": "page-1", + "worktree": "id:worktree-1", + "x": 40, + "y": 80 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "moved": true + } + } + } + }, + "b7845e202b66": { + "name": "browser.mouseMove#1", + "args": [ + { + "name": "method", + "value": "browser.mouseMove" + }, + { + "name": "params", + "value": { + "page": "page-1", + "worktree": "id:worktree-1", + "x": 40, + "y": 80 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "be93dec09243": { + "name": "browser.mouseMove#1", + "args": [ + { + "name": "method", + "value": "browser.mouseMove" + }, + { + "name": "params", + "value": { + "page": "page-1", + "worktree": "id:worktree-1", + "x": 40, + "y": 80 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "cdedc2083eee": { + "name": "browser.mouseMove#1", + "args": [ + { + "name": "method", + "value": "browser.mouseMove" + }, + { + "name": "params", + "value": { + "page": "page-1", + "worktree": "id:worktree-1", + "x": 40, + "y": 80 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "cf9ea7b52a57": { + "name": "browser.mouseClick#1", + "args": [ + { + "name": "method", + "value": "browser.mouseClick" + }, + { + "name": "params", + "value": { + "button": "left", + "modifiers": [], + "page": "page-1", + "radius": 14, + "worktree": "id:worktree-1", + "x": 40, + "y": 80 + } + }, + { + "name": "options", + "value": { + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "selector_not_found" + }, + "id": "frame-1", + "ok": false + } + } + }, + "e7d1715da1e8": { + "name": "browser.mouseMove#1", + "args": [ + { + "name": "method", + "value": "browser.mouseMove" + }, + { + "name": "params", + "value": { + "page": "page-1", + "worktree": "id:worktree-1", + "x": 40, + "y": 80 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "ea5bfc2dc03d": { + "name": "browser.mouseMove#1", + "args": [ + { + "name": "method", + "value": "browser.mouseMove" + }, + { + "name": "params", + "value": { + "page": "page-1", + "worktree": "id:worktree-1", + "x": 40, + "y": 80 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "eaa436587fe0": { + "name": "browser.mouseUp#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseUp\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"button\":\"left\"}}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "matrix-browser.pointer-click-browser.mousemove-1", + "checkpoints": [ + { + "id": "browser-pointer-click-fallback.normal:clicked-by-fallback", + "observation": { + "sender": ["cf9ea7b52a57", "b3273afd3ec2", "1961908d1da1", "41b41cc39e88"], + "payloads": ["1e463da3d358", "278a20085af8", "ad7da1632835", "eaa436587fe0"], + "settlements": { + "mount": "eb79a9b3682a", + "click": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-pointer-click-fallback.result-absent:clicked-by-fallback", + "observation": { + "sender": ["cf9ea7b52a57", "e7d1715da1e8", "1961908d1da1", "41b41cc39e88"], + "payloads": ["1e463da3d358", "278a20085af8", "ad7da1632835", "eaa436587fe0"], + "settlements": { + "mount": "eb79a9b3682a", + "click": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-pointer-click-fallback.result-null:clicked-by-fallback", + "observation": { + "sender": ["cf9ea7b52a57", "12b0c1bdb4ff", "1961908d1da1", "41b41cc39e88"], + "payloads": ["1e463da3d358", "278a20085af8", "ad7da1632835", "eaa436587fe0"], + "settlements": { + "mount": "eb79a9b3682a", + "click": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-pointer-click-fallback.inner-ok-missing:clicked-by-fallback", + "observation": { + "sender": ["cf9ea7b52a57", "ea5bfc2dc03d", "1961908d1da1", "41b41cc39e88"], + "payloads": ["1e463da3d358", "278a20085af8", "ad7da1632835", "eaa436587fe0"], + "settlements": { + "mount": "eb79a9b3682a", + "click": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-pointer-click-fallback.inner-false-string-error:clicked-by-fallback", + "observation": { + "sender": ["cf9ea7b52a57", "346fa7b7e051", "1961908d1da1", "41b41cc39e88"], + "payloads": ["1e463da3d358", "278a20085af8", "ad7da1632835", "eaa436587fe0"], + "settlements": { + "mount": "eb79a9b3682a", + "click": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-pointer-click-fallback.inner-false-object-error:clicked-by-fallback", + "observation": { + "sender": ["cf9ea7b52a57", "be93dec09243", "1961908d1da1", "41b41cc39e88"], + "payloads": ["1e463da3d358", "278a20085af8", "ad7da1632835", "eaa436587fe0"], + "settlements": { + "mount": "eb79a9b3682a", + "click": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-pointer-click-fallback.outer-refused:clicked-by-fallback", + "observation": { + "sender": ["cf9ea7b52a57", "b7845e202b66"], + "payloads": ["1e463da3d358", "278a20085af8"], + "settlements": { + "mount": "eb79a9b3682a", + "click": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-pointer-click-fallback.outer-refused-no-message:clicked-by-fallback", + "observation": { + "sender": ["cf9ea7b52a57", "60433b36ae23"], + "payloads": ["1e463da3d358", "278a20085af8"], + "settlements": { + "mount": "eb79a9b3682a", + "click": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-pointer-click-fallback.method-not-found:clicked-by-fallback", + "observation": { + "sender": ["cf9ea7b52a57", "848344a1650c"], + "payloads": ["1e463da3d358", "278a20085af8"], + "settlements": { + "mount": "eb79a9b3682a", + "click": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-pointer-click-fallback.transport-rejection:clicked-by-fallback", + "observation": { + "sender": ["cf9ea7b52a57", "3052368779e3"], + "payloads": ["1e463da3d358", "278a20085af8"], + "settlements": { + "mount": "eb79a9b3682a", + "click": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-pointer-click-fallback.transport-rejection-no-message:clicked-by-fallback", + "observation": { + "sender": ["cf9ea7b52a57", "cdedc2083eee"], + "payloads": ["1e463da3d358", "278a20085af8"], + "settlements": { + "mount": "eb79a9b3682a", + "click": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-browser.pointer-click-browser.mouseup-1.json b/mobile/rpc-foundation/goldens/matrix-browser.pointer-click-browser.mouseup-1.json new file mode 100644 index 00000000000..2d734e0c723 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-browser.pointer-click-browser.mouseup-1.json @@ -0,0 +1,696 @@ +{ + "operation": "browser.page-commands", + "family": "browser.pointer-click", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "55971752f963202d30160851197a301089b0f3ebd0c46725af1a461d8310d658", + "scenarioSha256": "47868afdd6d593526ea6f0a0a1e19377ee8306ab70636f2dace0da9ef2454397", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0b8577f118ef": { + "name": "browser.mouseUp#1", + "args": [ + { + "name": "method", + "value": "browser.mouseUp" + }, + { + "name": "params", + "value": { + "button": "left", + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "1961908d1da1": { + "name": "browser.mouseDown#1", + "args": [ + { + "name": "method", + "value": "browser.mouseDown" + }, + { + "name": "params", + "value": { + "button": "left", + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "down": true + } + } + } + }, + "1e463da3d358": { + "name": "browser.mouseClick#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseClick\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"x\":40,\"y\":80,\"button\":\"left\",\"modifiers\":[],\"radius\":14}}" + }, + "22b944083246": { + "name": "browser.mouseUp#1", + "args": [ + { + "name": "method", + "value": "browser.mouseUp" + }, + { + "name": "params", + "value": { + "button": "left", + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "278a20085af8": { + "name": "browser.mouseMove#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseMove\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"x\":40,\"y\":80}}" + }, + "41b41cc39e88": { + "name": "browser.mouseUp#1", + "args": [ + { + "name": "method", + "value": "browser.mouseUp" + }, + { + "name": "params", + "value": { + "button": "left", + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "up": true + } + } + } + }, + "50c3560a450b": { + "name": "browser.mouseUp#1", + "args": [ + { + "name": "method", + "value": "browser.mouseUp" + }, + { + "name": "params", + "value": { + "button": "left", + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "55278458fd06": { + "name": "browser.mouseUp#1", + "args": [ + { + "name": "method", + "value": "browser.mouseUp" + }, + { + "name": "params", + "value": { + "button": "left", + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "807c12c1fba8": { + "name": "browser.mouseUp#1", + "args": [ + { + "name": "method", + "value": "browser.mouseUp" + }, + { + "name": "params", + "value": { + "button": "left", + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-4", + "ok": false + } + } + }, + "9855d4ec3415": { + "busy": false, + "dialog": { + "$rpc": "null" + }, + "error": { + "$rpc": "null" + }, + "keyboardValue": "hello", + "pointerModifiers": [] + }, + "ad7da1632835": { + "name": "browser.mouseDown#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseDown\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"button\":\"left\"}}" + }, + "affb8c2e1014": { + "name": "browser.mouseUp#1", + "args": [ + { + "name": "method", + "value": "browser.mouseUp" + }, + { + "name": "params", + "value": { + "button": "left", + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-4", + "ok": false + } + } + }, + "b3273afd3ec2": { + "name": "browser.mouseMove#1", + "args": [ + { + "name": "method", + "value": "browser.mouseMove" + }, + { + "name": "params", + "value": { + "page": "page-1", + "worktree": "id:worktree-1", + "x": 40, + "y": 80 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "moved": true + } + } + } + }, + "b6e807143994": { + "name": "browser.mouseUp#1", + "args": [ + { + "name": "method", + "value": "browser.mouseUp" + }, + { + "name": "params", + "value": { + "button": "left", + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-4", + "ok": false + } + } + }, + "c4a8ab904481": { + "name": "browser.mouseUp#1", + "args": [ + { + "name": "method", + "value": "browser.mouseUp" + }, + { + "name": "params", + "value": { + "button": "left", + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true + } + } + }, + "cf9ea7b52a57": { + "name": "browser.mouseClick#1", + "args": [ + { + "name": "method", + "value": "browser.mouseClick" + }, + { + "name": "params", + "value": { + "button": "left", + "modifiers": [], + "page": "page-1", + "radius": 14, + "worktree": "id:worktree-1", + "x": 40, + "y": 80 + } + }, + { + "name": "options", + "value": { + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "selector_not_found" + }, + "id": "frame-1", + "ok": false + } + } + }, + "e1791e2206cd": { + "name": "browser.mouseUp#1", + "args": [ + { + "name": "method", + "value": "browser.mouseUp" + }, + { + "name": "params", + "value": { + "button": "left", + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "eaa436587fe0": { + "name": "browser.mouseUp#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseUp\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"button\":\"left\"}}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ef2f396492d9": { + "name": "browser.mouseUp#1", + "args": [ + { + "name": "method", + "value": "browser.mouseUp" + }, + { + "name": "params", + "value": { + "button": "left", + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + } + }, + "recording": { + "scenario": "matrix-browser.pointer-click-browser.mouseup-1", + "checkpoints": [ + { + "id": "browser-pointer-click-fallback.normal:clicked-by-fallback", + "observation": { + "sender": ["cf9ea7b52a57", "b3273afd3ec2", "1961908d1da1", "41b41cc39e88"], + "payloads": ["1e463da3d358", "278a20085af8", "ad7da1632835", "eaa436587fe0"], + "settlements": { + "mount": "eb79a9b3682a", + "click": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-pointer-click-fallback.result-absent:clicked-by-fallback", + "observation": { + "sender": ["cf9ea7b52a57", "b3273afd3ec2", "1961908d1da1", "c4a8ab904481"], + "payloads": ["1e463da3d358", "278a20085af8", "ad7da1632835", "eaa436587fe0"], + "settlements": { + "mount": "eb79a9b3682a", + "click": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-pointer-click-fallback.result-null:clicked-by-fallback", + "observation": { + "sender": ["cf9ea7b52a57", "b3273afd3ec2", "1961908d1da1", "55278458fd06"], + "payloads": ["1e463da3d358", "278a20085af8", "ad7da1632835", "eaa436587fe0"], + "settlements": { + "mount": "eb79a9b3682a", + "click": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-pointer-click-fallback.inner-ok-missing:clicked-by-fallback", + "observation": { + "sender": ["cf9ea7b52a57", "b3273afd3ec2", "1961908d1da1", "0b8577f118ef"], + "payloads": ["1e463da3d358", "278a20085af8", "ad7da1632835", "eaa436587fe0"], + "settlements": { + "mount": "eb79a9b3682a", + "click": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-pointer-click-fallback.inner-false-string-error:clicked-by-fallback", + "observation": { + "sender": ["cf9ea7b52a57", "b3273afd3ec2", "1961908d1da1", "e1791e2206cd"], + "payloads": ["1e463da3d358", "278a20085af8", "ad7da1632835", "eaa436587fe0"], + "settlements": { + "mount": "eb79a9b3682a", + "click": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-pointer-click-fallback.inner-false-object-error:clicked-by-fallback", + "observation": { + "sender": ["cf9ea7b52a57", "b3273afd3ec2", "1961908d1da1", "ef2f396492d9"], + "payloads": ["1e463da3d358", "278a20085af8", "ad7da1632835", "eaa436587fe0"], + "settlements": { + "mount": "eb79a9b3682a", + "click": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-pointer-click-fallback.outer-refused:clicked-by-fallback", + "observation": { + "sender": ["cf9ea7b52a57", "b3273afd3ec2", "1961908d1da1", "affb8c2e1014"], + "payloads": ["1e463da3d358", "278a20085af8", "ad7da1632835", "eaa436587fe0"], + "settlements": { + "mount": "eb79a9b3682a", + "click": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-pointer-click-fallback.outer-refused-no-message:clicked-by-fallback", + "observation": { + "sender": ["cf9ea7b52a57", "b3273afd3ec2", "1961908d1da1", "807c12c1fba8"], + "payloads": ["1e463da3d358", "278a20085af8", "ad7da1632835", "eaa436587fe0"], + "settlements": { + "mount": "eb79a9b3682a", + "click": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-pointer-click-fallback.method-not-found:clicked-by-fallback", + "observation": { + "sender": ["cf9ea7b52a57", "b3273afd3ec2", "1961908d1da1", "b6e807143994"], + "payloads": ["1e463da3d358", "278a20085af8", "ad7da1632835", "eaa436587fe0"], + "settlements": { + "mount": "eb79a9b3682a", + "click": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-pointer-click-fallback.transport-rejection:clicked-by-fallback", + "observation": { + "sender": ["cf9ea7b52a57", "b3273afd3ec2", "1961908d1da1", "50c3560a450b"], + "payloads": ["1e463da3d358", "278a20085af8", "ad7da1632835", "eaa436587fe0"], + "settlements": { + "mount": "eb79a9b3682a", + "click": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-pointer-click-fallback.transport-rejection-no-message:clicked-by-fallback", + "observation": { + "sender": ["cf9ea7b52a57", "b3273afd3ec2", "1961908d1da1", "22b944083246"], + "payloads": ["1e463da3d358", "278a20085af8", "ad7da1632835", "eaa436587fe0"], + "settlements": { + "mount": "eb79a9b3682a", + "click": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-browser.wheel-browser.mousemove-1.json b/mobile/rpc-foundation/goldens/matrix-browser.wheel-browser.mousemove-1.json new file mode 100644 index 00000000000..51135f40954 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-browser.wheel-browser.mousemove-1.json @@ -0,0 +1,624 @@ +{ + "operation": "browser.page-commands", + "family": "browser.wheel", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "55971752f963202d30160851197a301089b0f3ebd0c46725af1a461d8310d658", + "scenarioSha256": "c1283bbfb340e968bbd4c86ac63489995d6191290751316228d27779dc6a2c55", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "1f5a0be7a1a8": { + "name": "browser.mouseMove#1", + "args": [ + { + "name": "method", + "value": "browser.mouseMove" + }, + { + "name": "params", + "value": { + "page": "page-1", + "worktree": "id:worktree-1", + "x": 40, + "y": 80 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "22a1fb464229": { + "name": "browser.mouseMove#1", + "args": [ + { + "name": "method", + "value": "browser.mouseMove" + }, + { + "name": "params", + "value": { + "page": "page-1", + "worktree": "id:worktree-1", + "x": 40, + "y": 80 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "2cdb242ced7a": { + "name": "browser.mouseMove#1", + "args": [ + { + "name": "method", + "value": "browser.mouseMove" + }, + { + "name": "params", + "value": { + "page": "page-1", + "worktree": "id:worktree-1", + "x": 40, + "y": 80 + } + }, + { + "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 + } + } + } + }, + "3052368779e3": { + "name": "browser.mouseMove#1", + "args": [ + { + "name": "method", + "value": "browser.mouseMove" + }, + { + "name": "params", + "value": { + "page": "page-1", + "worktree": "id:worktree-1", + "x": 40, + "y": 80 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "329c4e091114": { + "name": "browser.mouseMove#1", + "args": [ + { + "name": "method", + "value": "browser.mouseMove" + }, + { + "name": "params", + "value": { + "page": "page-1", + "worktree": "id:worktree-1", + "x": 40, + "y": 80 + } + }, + { + "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 + } + } + }, + "3ae1d19b9c51": { + "name": "browser.mouseMove#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseMove\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"x\":40,\"y\":80}}" + }, + "56a99047a121": { + "name": "browser.mouseMove#1", + "args": [ + { + "name": "method", + "value": "browser.mouseMove" + }, + { + "name": "params", + "value": { + "page": "page-1", + "worktree": "id:worktree-1", + "x": 40, + "y": 80 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "moved": true + } + } + } + }, + "63c8cd9dbd5c": { + "name": "browser.mouseMove#1", + "args": [ + { + "name": "method", + "value": "browser.mouseMove" + }, + { + "name": "params", + "value": { + "page": "page-1", + "worktree": "id:worktree-1", + "x": 40, + "y": 80 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "71b1fb55eafa": { + "name": "browser.mouseWheel#1", + "args": [ + { + "name": "method", + "value": "browser.mouseWheel" + }, + { + "name": "params", + "value": { + "dx": 0, + "dy": -120, + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "scrolled": true + } + } + } + }, + "8bf9a97ea141": { + "name": "browser.mouseWheel#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseWheel\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"dx\":0,\"dy\":-120}}" + }, + "9855d4ec3415": { + "busy": false, + "dialog": { + "$rpc": "null" + }, + "error": { + "$rpc": "null" + }, + "keyboardValue": "hello", + "pointerModifiers": [] + }, + "a6b85f927c18": { + "name": "browser.mouseMove#1", + "args": [ + { + "name": "method", + "value": "browser.mouseMove" + }, + { + "name": "params", + "value": { + "page": "page-1", + "worktree": "id:worktree-1", + "x": 40, + "y": 80 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "cdedc2083eee": { + "name": "browser.mouseMove#1", + "args": [ + { + "name": "method", + "value": "browser.mouseMove" + }, + { + "name": "params", + "value": { + "page": "page-1", + "worktree": "id:worktree-1", + "x": 40, + "y": 80 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "d7c29eb4797b": { + "name": "browser.mouseMove#1", + "args": [ + { + "name": "method", + "value": "browser.mouseMove" + }, + { + "name": "params", + "value": { + "page": "page-1", + "worktree": "id:worktree-1", + "x": 40, + "y": 80 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "e9f7ceb55fe0": { + "name": "browser.mouseMove#1", + "args": [ + { + "name": "method", + "value": "browser.mouseMove" + }, + { + "name": "params", + "value": { + "page": "page-1", + "worktree": "id:worktree-1", + "x": 40, + "y": 80 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "matrix-browser.wheel-browser.mousemove-1", + "checkpoints": [ + { + "id": "browser-wheel-scrolled.normal:scrolled", + "observation": { + "sender": ["56a99047a121", "71b1fb55eafa"], + "payloads": ["3ae1d19b9c51", "8bf9a97ea141"], + "settlements": { + "mount": "eb79a9b3682a", + "wheel": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-wheel-scrolled.result-absent:scrolled", + "observation": { + "sender": ["e9f7ceb55fe0", "71b1fb55eafa"], + "payloads": ["3ae1d19b9c51", "8bf9a97ea141"], + "settlements": { + "mount": "eb79a9b3682a", + "wheel": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-wheel-scrolled.result-null:scrolled", + "observation": { + "sender": ["63c8cd9dbd5c", "71b1fb55eafa"], + "payloads": ["3ae1d19b9c51", "8bf9a97ea141"], + "settlements": { + "mount": "eb79a9b3682a", + "wheel": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-wheel-scrolled.inner-ok-missing:scrolled", + "observation": { + "sender": ["22a1fb464229", "71b1fb55eafa"], + "payloads": ["3ae1d19b9c51", "8bf9a97ea141"], + "settlements": { + "mount": "eb79a9b3682a", + "wheel": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-wheel-scrolled.inner-false-string-error:scrolled", + "observation": { + "sender": ["a6b85f927c18", "71b1fb55eafa"], + "payloads": ["3ae1d19b9c51", "8bf9a97ea141"], + "settlements": { + "mount": "eb79a9b3682a", + "wheel": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-wheel-scrolled.inner-false-object-error:scrolled", + "observation": { + "sender": ["2cdb242ced7a", "71b1fb55eafa"], + "payloads": ["3ae1d19b9c51", "8bf9a97ea141"], + "settlements": { + "mount": "eb79a9b3682a", + "wheel": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-wheel-scrolled.outer-refused:scrolled", + "observation": { + "sender": ["1f5a0be7a1a8"], + "payloads": ["3ae1d19b9c51"], + "settlements": { + "mount": "eb79a9b3682a", + "wheel": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-wheel-scrolled.outer-refused-no-message:scrolled", + "observation": { + "sender": ["d7c29eb4797b"], + "payloads": ["3ae1d19b9c51"], + "settlements": { + "mount": "eb79a9b3682a", + "wheel": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-wheel-scrolled.method-not-found:scrolled", + "observation": { + "sender": ["329c4e091114"], + "payloads": ["3ae1d19b9c51"], + "settlements": { + "mount": "eb79a9b3682a", + "wheel": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-wheel-scrolled.transport-rejection:scrolled", + "observation": { + "sender": ["3052368779e3"], + "payloads": ["3ae1d19b9c51"], + "settlements": { + "mount": "eb79a9b3682a", + "wheel": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-wheel-scrolled.transport-rejection-no-message:scrolled", + "observation": { + "sender": ["cdedc2083eee"], + "payloads": ["3ae1d19b9c51"], + "settlements": { + "mount": "eb79a9b3682a", + "wheel": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-browser.wheel-browser.mousewheel-1.json b/mobile/rpc-foundation/goldens/matrix-browser.wheel-browser.mousewheel-1.json new file mode 100644 index 00000000000..e726e39a0a2 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-browser.wheel-browser.mousewheel-1.json @@ -0,0 +1,624 @@ +{ + "operation": "browser.page-commands", + "family": "browser.wheel", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "55971752f963202d30160851197a301089b0f3ebd0c46725af1a461d8310d658", + "scenarioSha256": "092777c9ce457dcae95eafbe083c70510580569ac74e31c0d4224ac94b9fad76", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "03b40646208d": { + "name": "browser.mouseWheel#1", + "args": [ + { + "name": "method", + "value": "browser.mouseWheel" + }, + { + "name": "params", + "value": { + "dx": 0, + "dy": -120, + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "1c44b93a0de8": { + "name": "browser.mouseWheel#1", + "args": [ + { + "name": "method", + "value": "browser.mouseWheel" + }, + { + "name": "params", + "value": { + "dx": 0, + "dy": -120, + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "3ae1d19b9c51": { + "name": "browser.mouseMove#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseMove\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"x\":40,\"y\":80}}" + }, + "3d2559c47ac0": { + "name": "browser.mouseWheel#1", + "args": [ + { + "name": "method", + "value": "browser.mouseWheel" + }, + { + "name": "params", + "value": { + "dx": 0, + "dy": -120, + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "56a99047a121": { + "name": "browser.mouseMove#1", + "args": [ + { + "name": "method", + "value": "browser.mouseMove" + }, + { + "name": "params", + "value": { + "page": "page-1", + "worktree": "id:worktree-1", + "x": 40, + "y": 80 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "moved": true + } + } + } + }, + "60398cced00c": { + "name": "browser.mouseWheel#1", + "args": [ + { + "name": "method", + "value": "browser.mouseWheel" + }, + { + "name": "params", + "value": { + "dx": 0, + "dy": -120, + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "68930a4fb066": { + "name": "browser.mouseWheel#1", + "args": [ + { + "name": "method", + "value": "browser.mouseWheel" + }, + { + "name": "params", + "value": { + "dx": 0, + "dy": -120, + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "69ac9de0ee4a": { + "name": "browser.mouseWheel#1", + "args": [ + { + "name": "method", + "value": "browser.mouseWheel" + }, + { + "name": "params", + "value": { + "dx": 0, + "dy": -120, + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "71b1fb55eafa": { + "name": "browser.mouseWheel#1", + "args": [ + { + "name": "method", + "value": "browser.mouseWheel" + }, + { + "name": "params", + "value": { + "dx": 0, + "dy": -120, + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "scrolled": true + } + } + } + }, + "8bf9a97ea141": { + "name": "browser.mouseWheel#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseWheel\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"dx\":0,\"dy\":-120}}" + }, + "9855d4ec3415": { + "busy": false, + "dialog": { + "$rpc": "null" + }, + "error": { + "$rpc": "null" + }, + "keyboardValue": "hello", + "pointerModifiers": [] + }, + "a81f1310f255": { + "name": "browser.mouseWheel#1", + "args": [ + { + "name": "method", + "value": "browser.mouseWheel" + }, + { + "name": "params", + "value": { + "dx": 0, + "dy": -120, + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "ae30023f85cc": { + "name": "browser.mouseWheel#1", + "args": [ + { + "name": "method", + "value": "browser.mouseWheel" + }, + { + "name": "params", + "value": { + "dx": 0, + "dy": -120, + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "c3a7e8d1a1a5": { + "name": "browser.mouseWheel#1", + "args": [ + { + "name": "method", + "value": "browser.mouseWheel" + }, + { + "name": "params", + "value": { + "dx": 0, + "dy": -120, + "page": "page-1", + "worktree": "id:worktree-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "e7e871a97516": { + "name": "browser.mouseWheel#1", + "args": [ + { + "name": "method", + "value": "browser.mouseWheel" + }, + { + "name": "params", + "value": { + "dx": 0, + "dy": -120, + "page": "page-1", + "worktree": "id:worktree-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" + } + } + }, + "recording": { + "scenario": "matrix-browser.wheel-browser.mousewheel-1", + "checkpoints": [ + { + "id": "browser-wheel-scrolled.normal:scrolled", + "observation": { + "sender": ["56a99047a121", "71b1fb55eafa"], + "payloads": ["3ae1d19b9c51", "8bf9a97ea141"], + "settlements": { + "mount": "eb79a9b3682a", + "wheel": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-wheel-scrolled.result-absent:scrolled", + "observation": { + "sender": ["56a99047a121", "c3a7e8d1a1a5"], + "payloads": ["3ae1d19b9c51", "8bf9a97ea141"], + "settlements": { + "mount": "eb79a9b3682a", + "wheel": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-wheel-scrolled.result-null:scrolled", + "observation": { + "sender": ["56a99047a121", "68930a4fb066"], + "payloads": ["3ae1d19b9c51", "8bf9a97ea141"], + "settlements": { + "mount": "eb79a9b3682a", + "wheel": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-wheel-scrolled.inner-ok-missing:scrolled", + "observation": { + "sender": ["56a99047a121", "3d2559c47ac0"], + "payloads": ["3ae1d19b9c51", "8bf9a97ea141"], + "settlements": { + "mount": "eb79a9b3682a", + "wheel": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-wheel-scrolled.inner-false-string-error:scrolled", + "observation": { + "sender": ["56a99047a121", "69ac9de0ee4a"], + "payloads": ["3ae1d19b9c51", "8bf9a97ea141"], + "settlements": { + "mount": "eb79a9b3682a", + "wheel": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-wheel-scrolled.inner-false-object-error:scrolled", + "observation": { + "sender": ["56a99047a121", "03b40646208d"], + "payloads": ["3ae1d19b9c51", "8bf9a97ea141"], + "settlements": { + "mount": "eb79a9b3682a", + "wheel": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-wheel-scrolled.outer-refused:scrolled", + "observation": { + "sender": ["56a99047a121", "1c44b93a0de8"], + "payloads": ["3ae1d19b9c51", "8bf9a97ea141"], + "settlements": { + "mount": "eb79a9b3682a", + "wheel": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-wheel-scrolled.outer-refused-no-message:scrolled", + "observation": { + "sender": ["56a99047a121", "60398cced00c"], + "payloads": ["3ae1d19b9c51", "8bf9a97ea141"], + "settlements": { + "mount": "eb79a9b3682a", + "wheel": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-wheel-scrolled.method-not-found:scrolled", + "observation": { + "sender": ["56a99047a121", "a81f1310f255"], + "payloads": ["3ae1d19b9c51", "8bf9a97ea141"], + "settlements": { + "mount": "eb79a9b3682a", + "wheel": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-wheel-scrolled.transport-rejection:scrolled", + "observation": { + "sender": ["56a99047a121", "e7e871a97516"], + "payloads": ["3ae1d19b9c51", "8bf9a97ea141"], + "settlements": { + "mount": "eb79a9b3682a", + "wheel": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + }, + { + "id": "browser-wheel-scrolled.transport-rejection-no-message:scrolled", + "observation": { + "sender": ["56a99047a121", "ae30023f85cc"], + "payloads": ["3ae1d19b9c51", "8bf9a97ea141"], + "settlements": { + "mount": "eb79a9b3682a", + "wheel": "eb79a9b3682a" + }, + "state": "9855d4ec3415", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-clipboard.image-attachment-clipboard.startimageupload-1.json b/mobile/rpc-foundation/goldens/matrix-clipboard.image-attachment-clipboard.startimageupload-1.json new file mode 100644 index 00000000000..e75c6515120 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-clipboard.image-attachment-clipboard.startimageupload-1.json @@ -0,0 +1,721 @@ +{ + "operation": "clipboard.image-terminal-attachment", + "family": "clipboard.image-attachment", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "16779b663f4faec8cbccdb42efd7b568a2912845b161f8a4827754687eb4235c", + "scenarioSha256": "fc690a2ac59a6fbcdc08f9b91e769cd793f5a48d9034a50c2d587ce0d0fca3d9", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "09c6a4baa397": { + "attached": "unattached", + "failure": "outer refused" + }, + "0ba13b24aafa": { + "attached": "unattached", + "failure": "transport failure" + }, + "10eb844da0d9": { + "name": "clipboard.startImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "12f2bb1c7b16": { + "name": "clipboard.startImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "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 + } + } + }, + "2360f0a18466": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "TypeError", + "message": "Cannot destructure property 'uploadId' of 'startResponse.result' as it is null.", + "isRpcDeliveryUnknown": false + } + }, + "32a7c0ae7918": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "outer refused", + "isRpcDeliveryUnknown": false + } + }, + "443dd7aae7aa": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "TypeError", + "message": "Cannot destructure property 'uploadId' of 'startResponse.result' as it is undefined.", + "isRpcDeliveryUnknown": false + } + }, + "520b3fe0fb07": { + "name": "clipboard.startImageUpload#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.startImageUpload\",\"params\":{\"expectedBase64Length\":32,\"connectionId\":\"connection-1\"}}" + }, + "5573fed479c2": { + "attached": "unattached", + "failure": { + "$rpc": "null" + } + }, + "5884da2bfdb4": { + "name": "clipboard.startImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "5f71b4d3d25c": { + "name": "upload-start", + "value": {}, + "sent": 0 + }, + "64cf59fb95a9": { + "name": "clipboard.startImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "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 + } + } + } + }, + "6f4464fb363d": { + "name": "clipboard.startImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "71c09680e90b": { + "name": "clipboard.startImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "7a67576b4db6": { + "name": "clipboard.saveImageAsTempFile#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.saveImageAsTempFile\",\"params\":{\"contentBase64\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\",\"connectionId\":\"connection-1\"}}" + }, + "7d50e9097d4b": { + "name": "clipboard.saveImageAsTempFile#1", + "args": [ + { + "name": "method", + "value": "clipboard.saveImageAsTempFile" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "7e48c58139e5": { + "name": "clipboard.startImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "uploadId": "upload-1" + } + } + } + }, + "81e9dee3833a": { + "attached": "unattached", + "failure": "" + }, + "8504c3b81dd7": { + "name": "clipboard.appendImageUploadChunk#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.appendImageUploadChunk\",\"params\":{\"offset\":0,\"contentBase64\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\"}}" + }, + "873e759fa035": { + "name": "clipboard.startImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "8de120313755": { + "attached": "unattached", + "failure": "Cannot destructure property 'uploadId' of 'startResponse.result' as it is undefined." + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "934346926f7a": { + "attached": "unattached", + "failure": "Cannot destructure property 'uploadId' of 'startResponse.result' as it is null." + }, + "9dea35e9f187": { + "name": "clipboard.startImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "b69a955ea891": { + "name": "clipboard.appendImageUploadChunk#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.appendImageUploadChunk\",\"params\":{\"uploadId\":\"upload-1\",\"offset\":0,\"contentBase64\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\"}}" + }, + "b782aed57bef": { + "name": "clipboard.startImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "c7584e82c72f": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + }, + "d3e85c1d5bb4": { + "name": "clipboard.appendImageUploadChunk#1", + "args": [ + { + "name": "method", + "value": "clipboard.appendImageUploadChunk" + }, + { + "name": "params", + "value": { + "contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "offset": 0, + "uploadId": "upload-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "d8eb6923f5c3": { + "name": "clipboard.startImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "f3b516f62081": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": false + } + }, + "f61098e90dc1": { + "name": "clipboard.appendImageUploadChunk#1", + "args": [ + { + "name": "method", + "value": "clipboard.appendImageUploadChunk" + }, + { + "name": "params", + "value": { + "contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "offset": 0, + "uploadId": { + "$rpc": "undefined" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + } + }, + "recording": { + "scenario": "matrix-clipboard.image-attachment-clipboard.startimageupload-1", + "checkpoints": [ + { + "id": "clipboard-image-attachment-upload-refused.normal:upload-refused", + "observation": { + "sender": ["7e48c58139e5", "d3e85c1d5bb4"], + "payloads": ["520b3fe0fb07", "b69a955ea891"], + "settlements": { + "normal": "9270aeb7d9c6" + }, + "state": "5573fed479c2", + "effects": ["5f71b4d3d25c"] + } + }, + { + "id": "clipboard-image-attachment-upload-refused.result-absent:upload-refused", + "observation": { + "sender": ["873e759fa035"], + "payloads": ["520b3fe0fb07"], + "settlements": { + "normal": "443dd7aae7aa" + }, + "state": "8de120313755", + "effects": ["5f71b4d3d25c"] + } + }, + { + "id": "clipboard-image-attachment-upload-refused.result-null:upload-refused", + "observation": { + "sender": ["10eb844da0d9"], + "payloads": ["520b3fe0fb07"], + "settlements": { + "normal": "2360f0a18466" + }, + "state": "934346926f7a", + "effects": ["5f71b4d3d25c"] + } + }, + { + "id": "clipboard-image-attachment-upload-refused.inner-ok-missing:upload-refused", + "observation": { + "sender": ["d8eb6923f5c3", "f61098e90dc1"], + "payloads": ["520b3fe0fb07", "8504c3b81dd7"], + "settlements": { + "normal": "9270aeb7d9c6" + }, + "state": "5573fed479c2", + "effects": ["5f71b4d3d25c"] + } + }, + { + "id": "clipboard-image-attachment-upload-refused.inner-false-string-error:upload-refused", + "observation": { + "sender": ["9dea35e9f187", "f61098e90dc1"], + "payloads": ["520b3fe0fb07", "8504c3b81dd7"], + "settlements": { + "normal": "9270aeb7d9c6" + }, + "state": "5573fed479c2", + "effects": ["5f71b4d3d25c"] + } + }, + { + "id": "clipboard-image-attachment-upload-refused.inner-false-object-error:upload-refused", + "observation": { + "sender": ["64cf59fb95a9", "f61098e90dc1"], + "payloads": ["520b3fe0fb07", "8504c3b81dd7"], + "settlements": { + "normal": "9270aeb7d9c6" + }, + "state": "5573fed479c2", + "effects": ["5f71b4d3d25c"] + } + }, + { + "id": "clipboard-image-attachment-upload-refused.outer-refused:upload-refused", + "observation": { + "sender": ["71c09680e90b"], + "payloads": ["520b3fe0fb07"], + "settlements": { + "normal": "32a7c0ae7918" + }, + "state": "09c6a4baa397", + "effects": ["5f71b4d3d25c"] + } + }, + { + "id": "clipboard-image-attachment-upload-refused.outer-refused-no-message:upload-refused", + "observation": { + "sender": ["6f4464fb363d"], + "payloads": ["520b3fe0fb07"], + "settlements": { + "normal": "f3b516f62081" + }, + "state": "81e9dee3833a", + "effects": ["5f71b4d3d25c"] + } + }, + { + "id": "clipboard-image-attachment-upload-refused.method-not-found:upload-refused", + "observation": { + "sender": ["12f2bb1c7b16", "7d50e9097d4b"], + "payloads": ["520b3fe0fb07", "7a67576b4db6"], + "settlements": { + "normal": "9270aeb7d9c6" + }, + "state": "5573fed479c2", + "effects": ["5f71b4d3d25c"] + } + }, + { + "id": "clipboard-image-attachment-upload-refused.transport-rejection:upload-refused", + "observation": { + "sender": ["5884da2bfdb4"], + "payloads": ["520b3fe0fb07"], + "settlements": { + "normal": "a947768bc0ed" + }, + "state": "0ba13b24aafa", + "effects": ["5f71b4d3d25c"] + } + }, + { + "id": "clipboard-image-attachment-upload-refused.transport-rejection-no-message:upload-refused", + "observation": { + "sender": ["b782aed57bef"], + "payloads": ["520b3fe0fb07"], + "settlements": { + "normal": "c7584e82c72f" + }, + "state": "81e9dee3833a", + "effects": ["5f71b4d3d25c"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-clipboard.image-upload-clipboard.saveimageastempfile-1.json b/mobile/rpc-foundation/goldens/matrix-clipboard.image-upload-clipboard.saveimageastempfile-1.json new file mode 100644 index 00000000000..8d09af90235 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-clipboard.image-upload-clipboard.saveimageastempfile-1.json @@ -0,0 +1,735 @@ +{ + "operation": "clipboard.image-upload", + "family": "clipboard.image-upload", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "16779b663f4faec8cbccdb42efd7b568a2912845b161f8a4827754687eb4235c", + "scenarioSha256": "fa69748b6d0e29abc37757b48bcb22dac07af1686554200ceaf18b4e3d62e4ac", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0886378046b0": { + "failure": { + "$rpc": "null" + }, + "path": { + "$rpc": "undefined" + } + }, + "12f2bb1c7b16": { + "name": "clipboard.startImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "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 + } + } + }, + "16df47fdaef5": { + "name": "clipboard.saveImageAsTempFile#1", + "args": [ + { + "name": "method", + "value": "clipboard.saveImageAsTempFile" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "2565f3b22472": { + "failure": { + "$rpc": "null" + }, + "path": { + "error": "inner refused", + "ok": false + } + }, + "2c021902d01b": { + "failure": { + "$rpc": "null" + }, + "path": { + "error": { + "message": "inner refused" + }, + "ok": false + } + }, + "301151228fa3": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "refused" + } + }, + "32a7c0ae7918": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "outer refused", + "isRpcDeliveryUnknown": false + } + }, + "350e6f28e830": { + "failure": "outer refused", + "path": "unsaved" + }, + "447c096794ae": { + "name": "clipboard.saveImageAsTempFile#1", + "args": [ + { + "name": "method", + "value": "clipboard.saveImageAsTempFile" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "44fb3e60f264": { + "name": "clipboard.saveImageAsTempFile#1", + "args": [ + { + "name": "method", + "value": "clipboard.saveImageAsTempFile" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "520b3fe0fb07": { + "name": "clipboard.startImageUpload#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.startImageUpload\",\"params\":{\"expectedBase64Length\":32,\"connectionId\":\"connection-1\"}}" + }, + "5f0bdbce1ddf": { + "failure": "", + "path": "unsaved" + }, + "61599dd8e71a": { + "name": "clipboard.saveImageAsTempFile#1", + "args": [ + { + "name": "method", + "value": "clipboard.saveImageAsTempFile" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": "/tmp/legacy.png" + } + } + }, + "73fe3aca4d79": { + "name": "clipboard.saveImageAsTempFile#1", + "args": [ + { + "name": "method", + "value": "clipboard.saveImageAsTempFile" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "7a67576b4db6": { + "name": "clipboard.saveImageAsTempFile#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.saveImageAsTempFile\",\"params\":{\"contentBase64\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\",\"connectionId\":\"connection-1\"}}" + }, + "7a9387a4c64a": { + "failure": "transport failure", + "path": "unsaved" + }, + "7f1260e77032": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": "/tmp/legacy.png" + }, + "84271db61a98": { + "name": "clipboard.saveImageAsTempFile#1", + "args": [ + { + "name": "method", + "value": "clipboard.saveImageAsTempFile" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "923de2c0221d": { + "failure": { + "$rpc": "null" + }, + "path": "/tmp/legacy.png" + }, + "927229706f96": { + "failure": { + "$rpc": "null" + }, + "path": { + "error": "refused" + } + }, + "9bb070695706": { + "name": "clipboard.saveImageAsTempFile#1", + "args": [ + { + "name": "method", + "value": "clipboard.saveImageAsTempFile" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "9c3a6678afcc": { + "name": "clipboard.saveImageAsTempFile#1", + "args": [ + { + "name": "method", + "value": "clipboard.saveImageAsTempFile" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "9f00dd54ba64": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "inner refused", + "ok": false + } + }, + "a3d9fec4cf5a": { + "name": "clipboard.saveImageAsTempFile#1", + "args": [ + { + "name": "method", + "value": "clipboard.saveImageAsTempFile" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "a79e227c913e": { + "name": "clipboard.saveImageAsTempFile#1", + "args": [ + { + "name": "method", + "value": "clipboard.saveImageAsTempFile" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "ad8a954e879d": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "message": "inner refused" + }, + "ok": false + } + }, + "afb22d946687": { + "failure": { + "$rpc": "null" + }, + "path": { + "$rpc": "null" + } + }, + "b948e8307e81": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Unknown method", + "isRpcDeliveryUnknown": false + } + }, + "b9ede26528d9": { + "name": "clipboard.saveImageAsTempFile#1", + "args": [ + { + "name": "method", + "value": "clipboard.saveImageAsTempFile" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "c7584e82c72f": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + }, + "e939e5e1437a": { + "failure": "Unknown method", + "path": "unsaved" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ee20a1dc39e7": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "null" + } + }, + "f3b516f62081": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": false + } + } + }, + "recording": { + "scenario": "matrix-clipboard.image-upload-clipboard.saveimageastempfile-1", + "checkpoints": [ + { + "id": "clipboard-image-upload-single-frame-fallback.normal:fell-back", + "observation": { + "sender": ["12f2bb1c7b16", "61599dd8e71a"], + "payloads": ["520b3fe0fb07", "7a67576b4db6"], + "settlements": { + "remote": "7f1260e77032" + }, + "state": "923de2c0221d", + "effects": [] + } + }, + { + "id": "clipboard-image-upload-single-frame-fallback.result-absent:fell-back", + "observation": { + "sender": ["12f2bb1c7b16", "73fe3aca4d79"], + "payloads": ["520b3fe0fb07", "7a67576b4db6"], + "settlements": { + "remote": "eb79a9b3682a" + }, + "state": "0886378046b0", + "effects": [] + } + }, + { + "id": "clipboard-image-upload-single-frame-fallback.result-null:fell-back", + "observation": { + "sender": ["12f2bb1c7b16", "b9ede26528d9"], + "payloads": ["520b3fe0fb07", "7a67576b4db6"], + "settlements": { + "remote": "ee20a1dc39e7" + }, + "state": "afb22d946687", + "effects": [] + } + }, + { + "id": "clipboard-image-upload-single-frame-fallback.inner-ok-missing:fell-back", + "observation": { + "sender": ["12f2bb1c7b16", "9bb070695706"], + "payloads": ["520b3fe0fb07", "7a67576b4db6"], + "settlements": { + "remote": "301151228fa3" + }, + "state": "927229706f96", + "effects": [] + } + }, + { + "id": "clipboard-image-upload-single-frame-fallback.inner-false-string-error:fell-back", + "observation": { + "sender": ["12f2bb1c7b16", "84271db61a98"], + "payloads": ["520b3fe0fb07", "7a67576b4db6"], + "settlements": { + "remote": "9f00dd54ba64" + }, + "state": "2565f3b22472", + "effects": [] + } + }, + { + "id": "clipboard-image-upload-single-frame-fallback.inner-false-object-error:fell-back", + "observation": { + "sender": ["12f2bb1c7b16", "9c3a6678afcc"], + "payloads": ["520b3fe0fb07", "7a67576b4db6"], + "settlements": { + "remote": "ad8a954e879d" + }, + "state": "2c021902d01b", + "effects": [] + } + }, + { + "id": "clipboard-image-upload-single-frame-fallback.outer-refused:fell-back", + "observation": { + "sender": ["12f2bb1c7b16", "16df47fdaef5"], + "payloads": ["520b3fe0fb07", "7a67576b4db6"], + "settlements": { + "remote": "32a7c0ae7918" + }, + "state": "350e6f28e830", + "effects": [] + } + }, + { + "id": "clipboard-image-upload-single-frame-fallback.outer-refused-no-message:fell-back", + "observation": { + "sender": ["12f2bb1c7b16", "a79e227c913e"], + "payloads": ["520b3fe0fb07", "7a67576b4db6"], + "settlements": { + "remote": "f3b516f62081" + }, + "state": "5f0bdbce1ddf", + "effects": [] + } + }, + { + "id": "clipboard-image-upload-single-frame-fallback.method-not-found:fell-back", + "observation": { + "sender": ["12f2bb1c7b16", "a3d9fec4cf5a"], + "payloads": ["520b3fe0fb07", "7a67576b4db6"], + "settlements": { + "remote": "b948e8307e81" + }, + "state": "e939e5e1437a", + "effects": [] + } + }, + { + "id": "clipboard-image-upload-single-frame-fallback.transport-rejection:fell-back", + "observation": { + "sender": ["12f2bb1c7b16", "44fb3e60f264"], + "payloads": ["520b3fe0fb07", "7a67576b4db6"], + "settlements": { + "remote": "a947768bc0ed" + }, + "state": "7a9387a4c64a", + "effects": [] + } + }, + { + "id": "clipboard-image-upload-single-frame-fallback.transport-rejection-no-message:fell-back", + "observation": { + "sender": ["12f2bb1c7b16", "447c096794ae"], + "payloads": ["520b3fe0fb07", "7a67576b4db6"], + "settlements": { + "remote": "c7584e82c72f" + }, + "state": "5f0bdbce1ddf", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-clipboard.image-upload-clipboard.startimageupload-1.json b/mobile/rpc-foundation/goldens/matrix-clipboard.image-upload-clipboard.startimageupload-1.json new file mode 100644 index 00000000000..6b6b2e100ae --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-clipboard.image-upload-clipboard.startimageupload-1.json @@ -0,0 +1,734 @@ +{ + "operation": "clipboard.image-upload", + "family": "clipboard.image-upload", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "16779b663f4faec8cbccdb42efd7b568a2912845b161f8a4827754687eb4235c", + "scenarioSha256": "a4bea606723da4d4a86db6e04c46266801149a852a8861b15e637d5c0855c679", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0076104a780d": { + "failure": "Cannot destructure property 'uploadId' of 'startResponse.result' as it is undefined.", + "path": "unsaved" + }, + "10eb844da0d9": { + "name": "clipboard.startImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "12f2bb1c7b16": { + "name": "clipboard.startImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "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 + } + } + }, + "2360f0a18466": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "TypeError", + "message": "Cannot destructure property 'uploadId' of 'startResponse.result' as it is null.", + "isRpcDeliveryUnknown": false + } + }, + "32a7c0ae7918": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "outer refused", + "isRpcDeliveryUnknown": false + } + }, + "350e6f28e830": { + "failure": "outer refused", + "path": "unsaved" + }, + "443dd7aae7aa": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "TypeError", + "message": "Cannot destructure property 'uploadId' of 'startResponse.result' as it is undefined.", + "isRpcDeliveryUnknown": false + } + }, + "520b3fe0fb07": { + "name": "clipboard.startImageUpload#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.startImageUpload\",\"params\":{\"expectedBase64Length\":32,\"connectionId\":\"connection-1\"}}" + }, + "5884da2bfdb4": { + "name": "clipboard.startImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "5f0bdbce1ddf": { + "failure": "", + "path": "unsaved" + }, + "61599dd8e71a": { + "name": "clipboard.saveImageAsTempFile#1", + "args": [ + { + "name": "method", + "value": "clipboard.saveImageAsTempFile" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": "/tmp/legacy.png" + } + } + }, + "64cf59fb95a9": { + "name": "clipboard.startImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "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 + } + } + } + }, + "6f4464fb363d": { + "name": "clipboard.startImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "71c09680e90b": { + "name": "clipboard.startImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "7a67576b4db6": { + "name": "clipboard.saveImageAsTempFile#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.saveImageAsTempFile\",\"params\":{\"contentBase64\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\",\"connectionId\":\"connection-1\"}}" + }, + "7a9387a4c64a": { + "failure": "transport failure", + "path": "unsaved" + }, + "7e48c58139e5": { + "name": "clipboard.startImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "uploadId": "upload-1" + } + } + } + }, + "7f1260e77032": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": "/tmp/legacy.png" + }, + "8504c3b81dd7": { + "name": "clipboard.appendImageUploadChunk#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.appendImageUploadChunk\",\"params\":{\"offset\":0,\"contentBase64\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\"}}" + }, + "873e759fa035": { + "name": "clipboard.startImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "923de2c0221d": { + "failure": { + "$rpc": "null" + }, + "path": "/tmp/legacy.png" + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "9de89efe4e9a": { + "failure": "Cannot destructure property 'uploadId' of 'startResponse.result' as it is null.", + "path": "unsaved" + }, + "9dea35e9f187": { + "name": "clipboard.startImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "b69a955ea891": { + "name": "clipboard.appendImageUploadChunk#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.appendImageUploadChunk\",\"params\":{\"uploadId\":\"upload-1\",\"offset\":0,\"contentBase64\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\"}}" + }, + "b782aed57bef": { + "name": "clipboard.startImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "c7584e82c72f": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + }, + "d3e85c1d5bb4": { + "name": "clipboard.appendImageUploadChunk#1", + "args": [ + { + "name": "method", + "value": "clipboard.appendImageUploadChunk" + }, + { + "name": "params", + "value": { + "contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "offset": 0, + "uploadId": "upload-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "d8eb6923f5c3": { + "name": "clipboard.startImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "e8f2e67001e9": { + "failure": { + "$rpc": "null" + }, + "path": "unsaved" + }, + "f3b516f62081": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": false + } + }, + "f61098e90dc1": { + "name": "clipboard.appendImageUploadChunk#1", + "args": [ + { + "name": "method", + "value": "clipboard.appendImageUploadChunk" + }, + { + "name": "params", + "value": { + "contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "offset": 0, + "uploadId": { + "$rpc": "undefined" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + } + }, + "recording": { + "scenario": "matrix-clipboard.image-upload-clipboard.startimageupload-1", + "checkpoints": [ + { + "id": "clipboard-image-upload-single-frame-fallback.normal:fell-back", + "observation": { + "sender": ["7e48c58139e5", "d3e85c1d5bb4"], + "payloads": ["520b3fe0fb07", "b69a955ea891"], + "settlements": { + "remote": "9270aeb7d9c6" + }, + "state": "e8f2e67001e9", + "effects": [] + } + }, + { + "id": "clipboard-image-upload-single-frame-fallback.result-absent:fell-back", + "observation": { + "sender": ["873e759fa035"], + "payloads": ["520b3fe0fb07"], + "settlements": { + "remote": "443dd7aae7aa" + }, + "state": "0076104a780d", + "effects": [] + } + }, + { + "id": "clipboard-image-upload-single-frame-fallback.result-null:fell-back", + "observation": { + "sender": ["10eb844da0d9"], + "payloads": ["520b3fe0fb07"], + "settlements": { + "remote": "2360f0a18466" + }, + "state": "9de89efe4e9a", + "effects": [] + } + }, + { + "id": "clipboard-image-upload-single-frame-fallback.inner-ok-missing:fell-back", + "observation": { + "sender": ["d8eb6923f5c3", "f61098e90dc1"], + "payloads": ["520b3fe0fb07", "8504c3b81dd7"], + "settlements": { + "remote": "9270aeb7d9c6" + }, + "state": "e8f2e67001e9", + "effects": [] + } + }, + { + "id": "clipboard-image-upload-single-frame-fallback.inner-false-string-error:fell-back", + "observation": { + "sender": ["9dea35e9f187", "f61098e90dc1"], + "payloads": ["520b3fe0fb07", "8504c3b81dd7"], + "settlements": { + "remote": "9270aeb7d9c6" + }, + "state": "e8f2e67001e9", + "effects": [] + } + }, + { + "id": "clipboard-image-upload-single-frame-fallback.inner-false-object-error:fell-back", + "observation": { + "sender": ["64cf59fb95a9", "f61098e90dc1"], + "payloads": ["520b3fe0fb07", "8504c3b81dd7"], + "settlements": { + "remote": "9270aeb7d9c6" + }, + "state": "e8f2e67001e9", + "effects": [] + } + }, + { + "id": "clipboard-image-upload-single-frame-fallback.outer-refused:fell-back", + "observation": { + "sender": ["71c09680e90b"], + "payloads": ["520b3fe0fb07"], + "settlements": { + "remote": "32a7c0ae7918" + }, + "state": "350e6f28e830", + "effects": [] + } + }, + { + "id": "clipboard-image-upload-single-frame-fallback.outer-refused-no-message:fell-back", + "observation": { + "sender": ["6f4464fb363d"], + "payloads": ["520b3fe0fb07"], + "settlements": { + "remote": "f3b516f62081" + }, + "state": "5f0bdbce1ddf", + "effects": [] + } + }, + { + "id": "clipboard-image-upload-single-frame-fallback.method-not-found:fell-back", + "observation": { + "sender": ["12f2bb1c7b16", "61599dd8e71a"], + "payloads": ["520b3fe0fb07", "7a67576b4db6"], + "settlements": { + "remote": "7f1260e77032" + }, + "state": "923de2c0221d", + "effects": [] + } + }, + { + "id": "clipboard-image-upload-single-frame-fallback.transport-rejection:fell-back", + "observation": { + "sender": ["5884da2bfdb4"], + "payloads": ["520b3fe0fb07"], + "settlements": { + "remote": "a947768bc0ed" + }, + "state": "7a9387a4c64a", + "effects": [] + } + }, + { + "id": "clipboard-image-upload-single-frame-fallback.transport-rejection-no-message:fell-back", + "observation": { + "sender": ["b782aed57bef"], + "payloads": ["520b3fe0fb07"], + "settlements": { + "remote": "c7584e82c72f" + }, + "state": "5f0bdbce1ddf", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-components.codex-reset-capability-status.get-1.json b/mobile/rpc-foundation/goldens/matrix-components.codex-reset-capability-status.get-1.json new file mode 100644 index 00000000000..d0b903c75e9 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-components.codex-reset-capability-status.get-1.json @@ -0,0 +1,539 @@ +{ + "operation": "components.codex-reset-capability", + "family": "components.codex-reset-capability", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "5cfbce3c7d97d908fbd447646d611e41a8aa1f61f684b9b710c4b67d6ff023a7", + "scenarioSha256": "06c2ad6d4b464f889a640be7a238f6d0ff7c54b0e93fb5ea22aaa856dadb0336", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "16cd464bf664": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "1e5b32902af7": { + "name": "status.get#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "2698c9770ad3": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "4451bb95a76e": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "578b9d38ecc7": { + "supported": true + }, + "6a0093a8288b": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "capabilities": ["accounts.codex-reset-credit.v1"] + } + } + } + }, + "7d3dd7f9381b": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "7ed3d39f0607": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": false + }, + "84e5ca07cb7a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": true + }, + "88200d49083c": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "89236e432861": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "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 + } + } + } + }, + "944bf432f199": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "9cdf3c107e7b": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "c71b2f8a6993": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "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 + } + } + }, + "de87f6266897": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "ece4ea3ed179": { + "supported": false + } + }, + "recording": { + "scenario": "matrix-components.codex-reset-capability-status.get-1", + "checkpoints": [ + { + "id": "components-codex-capability.normal:settled", + "observation": { + "sender": ["6a0093a8288b"], + "payloads": ["1e5b32902af7"], + "settlements": { + "probe": "84e5ca07cb7a" + }, + "state": "578b9d38ecc7", + "effects": [] + } + }, + { + "id": "components-codex-capability.result-absent:settled", + "observation": { + "sender": ["7d3dd7f9381b"], + "payloads": ["1e5b32902af7"], + "settlements": { + "probe": "7ed3d39f0607" + }, + "state": "ece4ea3ed179", + "effects": [] + } + }, + { + "id": "components-codex-capability.result-null:settled", + "observation": { + "sender": ["88200d49083c"], + "payloads": ["1e5b32902af7"], + "settlements": { + "probe": "7ed3d39f0607" + }, + "state": "ece4ea3ed179", + "effects": [] + } + }, + { + "id": "components-codex-capability.inner-ok-missing:settled", + "observation": { + "sender": ["4451bb95a76e"], + "payloads": ["1e5b32902af7"], + "settlements": { + "probe": "7ed3d39f0607" + }, + "state": "ece4ea3ed179", + "effects": [] + } + }, + { + "id": "components-codex-capability.inner-false-string-error:settled", + "observation": { + "sender": ["944bf432f199"], + "payloads": ["1e5b32902af7"], + "settlements": { + "probe": "7ed3d39f0607" + }, + "state": "ece4ea3ed179", + "effects": [] + } + }, + { + "id": "components-codex-capability.inner-false-object-error:settled", + "observation": { + "sender": ["89236e432861"], + "payloads": ["1e5b32902af7"], + "settlements": { + "probe": "7ed3d39f0607" + }, + "state": "ece4ea3ed179", + "effects": [] + } + }, + { + "id": "components-codex-capability.outer-refused:settled", + "observation": { + "sender": ["16cd464bf664"], + "payloads": ["1e5b32902af7"], + "settlements": { + "probe": "7ed3d39f0607" + }, + "state": "ece4ea3ed179", + "effects": [] + } + }, + { + "id": "components-codex-capability.outer-refused-no-message:settled", + "observation": { + "sender": ["9cdf3c107e7b"], + "payloads": ["1e5b32902af7"], + "settlements": { + "probe": "7ed3d39f0607" + }, + "state": "ece4ea3ed179", + "effects": [] + } + }, + { + "id": "components-codex-capability.method-not-found:settled", + "observation": { + "sender": ["c71b2f8a6993"], + "payloads": ["1e5b32902af7"], + "settlements": { + "probe": "7ed3d39f0607" + }, + "state": "ece4ea3ed179", + "effects": [] + } + }, + { + "id": "components-codex-capability.transport-rejection:settled", + "observation": { + "sender": ["de87f6266897"], + "payloads": ["1e5b32902af7"], + "settlements": { + "probe": "7ed3d39f0607" + }, + "state": "ece4ea3ed179", + "effects": [] + } + }, + { + "id": "components-codex-capability.transport-rejection-no-message:settled", + "observation": { + "sender": ["2698c9770ad3"], + "payloads": ["1e5b32902af7"], + "settlements": { + "probe": "7ed3d39f0607" + }, + "state": "ece4ea3ed179", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-components.codex-reset-credit-accounts.consumecodexresetcredit-1.json b/mobile/rpc-foundation/goldens/matrix-components.codex-reset-credit-accounts.consumecodexresetcredit-1.json new file mode 100644 index 00000000000..f5c86ad34e7 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-components.codex-reset-credit-accounts.consumecodexresetcredit-1.json @@ -0,0 +1,908 @@ +{ + "operation": "accounts.codex-reset-credit", + "family": "components.codex-reset-credit", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "76b53dea504a688493843e23e8e7d052fc196f559bb1e2579d0fd38bf3156d0e", + "scenarioSha256": "cc6de73be00be072f9a3b7fd63459fd1a529c45d0916a67d5fe6d90dbee61e91", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0a07efb53f1e": { + "settled": { + "$rpc": "null" + } + }, + "1fe9cca0cfea": { + "name": "accounts.consumeCodexResetCredit#1", + "args": [ + { + "name": "method", + "value": "accounts.consumeCodexResetCredit" + }, + { + "name": "params", + "value": { + "expectedScope": { + "accountId": "codex-1", + "accountRevision": 1700000000000, + "offerRevision": "v1:[1,null,null,[],null,null,1700000000000]", + "target": { + "runtime": "host", + "wslDistro": { + "$rpc": "null" + } + } + }, + "idempotencyKey": "00000000-0000-4000-8000-000000000001" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 90000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "32a7c0ae7918": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "outer refused", + "isRpcDeliveryUnknown": false + } + }, + "396ce6536d6c": { + "name": "accounts.consumeCodexResetCredit#1", + "args": [ + { + "name": "method", + "value": "accounts.consumeCodexResetCredit" + }, + { + "name": "params", + "value": { + "expectedScope": { + "accountId": "codex-1", + "accountRevision": 1700000000000, + "offerRevision": "v1:[1,null,null,[],null,null,1700000000000]", + "target": { + "runtime": "host", + "wslDistro": { + "$rpc": "null" + } + } + }, + "idempotencyKey": "00000000-0000-4000-8000-000000000001" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 90000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "3aec3f08d180": { + "name": "accounts.consumeCodexResetCredit#1", + "args": [ + { + "name": "method", + "value": "accounts.consumeCodexResetCredit" + }, + { + "name": "params", + "value": { + "expectedScope": { + "accountId": "codex-1", + "accountRevision": 1700000000000, + "offerRevision": "v1:[1,null,null,[],null,null,1700000000000]", + "target": { + "runtime": "host", + "wslDistro": { + "$rpc": "null" + } + } + }, + "idempotencyKey": "00000000-0000-4000-8000-000000000001" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 90000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "3e0977e026e9": { + "name": "accounts.consumeCodexResetCredit#1", + "args": [ + { + "name": "method", + "value": "accounts.consumeCodexResetCredit" + }, + { + "name": "params", + "value": { + "expectedScope": { + "accountId": "codex-1", + "accountRevision": 1700000000000, + "offerRevision": "v1:[1,null,null,[],null,null,1700000000000]", + "target": { + "runtime": "host", + "wslDistro": { + "$rpc": "null" + } + } + }, + "idempotencyKey": "00000000-0000-4000-8000-000000000001" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 90000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "45c6bf0513f4": { + "name": "accounts.consumeCodexResetCredit#1", + "args": [ + { + "name": "method", + "value": "accounts.consumeCodexResetCredit" + }, + { + "name": "params", + "value": { + "expectedScope": { + "accountId": "codex-1", + "accountRevision": 1700000000000, + "offerRevision": "v1:[1,null,null,[],null,null,1700000000000]", + "target": { + "runtime": "host", + "wslDistro": { + "$rpc": "null" + } + } + }, + "idempotencyKey": "00000000-0000-4000-8000-000000000001" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 90000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "60304d1e19bb": { + "settled": { + "attemptJournalRetained": false, + "outcome": "reset" + } + }, + "6e14949b9d4b": { + "name": "accounts.consumeCodexResetCredit#1", + "args": [ + { + "name": "method", + "value": "accounts.consumeCodexResetCredit" + }, + { + "name": "params", + "value": { + "expectedScope": { + "accountId": "codex-1", + "accountRevision": 1700000000000, + "offerRevision": "v1:[1,null,null,[],null,null,1700000000000]", + "target": { + "runtime": "host", + "wslDistro": { + "$rpc": "null" + } + } + }, + "idempotencyKey": "00000000-0000-4000-8000-000000000001" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 90000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-1", + "ok": false + } + } + }, + "90f55bfe00c2": { + "name": "accounts.consumeCodexResetCredit#1", + "args": [ + { + "name": "method", + "value": "accounts.consumeCodexResetCredit" + }, + { + "name": "params", + "value": { + "expectedScope": { + "accountId": "codex-1", + "accountRevision": 1700000000000, + "offerRevision": "v1:[1,null,null,[],null,null,1700000000000]", + "target": { + "runtime": "host", + "wslDistro": { + "$rpc": "null" + } + } + }, + "idempotencyKey": "00000000-0000-4000-8000-000000000001" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 90000 + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "95625d997965": { + "name": "accounts.consumeCodexResetCredit#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"accounts.consumeCodexResetCredit\",\"params\":{\"idempotencyKey\":\"00000000-0000-4000-8000-000000000001\",\"expectedScope\":{\"target\":{\"runtime\":\"host\",\"wslDistro\":null},\"accountId\":\"codex-1\",\"accountRevision\":1700000000000,\"offerRevision\":\"v1:[1,null,null,[],null,null,1700000000000]\"}}}" + }, + "a7ee87932ad2": { + "name": "accounts.consumeCodexResetCredit#1", + "args": [ + { + "name": "method", + "value": "accounts.consumeCodexResetCredit" + }, + { + "name": "params", + "value": { + "expectedScope": { + "accountId": "codex-1", + "accountRevision": 1700000000000, + "offerRevision": "v1:[1,null,null,[],null,null,1700000000000]", + "target": { + "runtime": "host", + "wslDistro": { + "$rpc": "null" + } + } + }, + "idempotencyKey": "00000000-0000-4000-8000-000000000001" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 90000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "ab755576c214": { + "name": "device-store.setItem", + "value": { + "key": "orca:codex-reset-credit-attempt:v1:0832055c2fa90e8e145c588ad4db656a2fc2840ed2e851a28494eae769db9b3e", + "value": "{\"v\":1,\"hostId\":\"host-1\",\"expectedScope\":{\"target\":{\"runtime\":\"host\",\"wslDistro\":null},\"accountId\":\"codex-1\",\"accountRevision\":1700000000000,\"offerRevision\":\"v1:[1,null,null,[],null,null,1700000000000]\"},\"idempotencyKey\":\"00000000-0000-4000-8000-000000000001\"}" + }, + "sent": 0 + }, + "b0762ae2d280": { + "name": "accounts.consumeCodexResetCredit#1", + "args": [ + { + "name": "method", + "value": "accounts.consumeCodexResetCredit" + }, + { + "name": "params", + "value": { + "expectedScope": { + "accountId": "codex-1", + "accountRevision": 1700000000000, + "offerRevision": "v1:[1,null,null,[],null,null,1700000000000]", + "target": { + "runtime": "host", + "wslDistro": { + "$rpc": "null" + } + } + }, + "idempotencyKey": "00000000-0000-4000-8000-000000000001" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 90000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "b948e8307e81": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Unknown method", + "isRpcDeliveryUnknown": false + } + }, + "c4a98628ea44": { + "name": "accounts.consumeCodexResetCredit#1", + "args": [ + { + "name": "method", + "value": "accounts.consumeCodexResetCredit" + }, + { + "name": "params", + "value": { + "expectedScope": { + "accountId": "codex-1", + "accountRevision": 1700000000000, + "offerRevision": "v1:[1,null,null,[],null,null,1700000000000]", + "target": { + "runtime": "host", + "wslDistro": { + "$rpc": "null" + } + } + }, + "idempotencyKey": "00000000-0000-4000-8000-000000000001" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 90000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "outcome": "reset", + "scope": { + "accountId": "codex-1", + "accountRevision": 1700000000000, + "offerRevision": "v1:[1,null,null,[],null,null,1700000000000]", + "target": { + "runtime": "host", + "wslDistro": { + "$rpc": "null" + } + } + }, + "snapshot": { + "claude": { + "accounts": [], + "activeAccountId": { + "$rpc": "null" + } + }, + "codex": { + "accounts": [ + { + "email": "codex@example.test", + "id": "codex-1", + "updatedAt": 1700000000000 + } + ], + "activeAccountId": "codex-1", + "activeAccountIdsByRuntime": { + "host": "codex-1", + "wsl": {} + } + }, + "rateLimits": { + "claude": { + "$rpc": "null" + }, + "codex": { + "error": { + "$rpc": "null" + }, + "provider": "codex", + "rateLimitResetCredits": { + "availableCount": 1 + }, + "session": { + "$rpc": "null" + }, + "status": "ok", + "updatedAt": 1700000000000, + "weekly": { + "$rpc": "null" + } + }, + "inactiveClaudeAccounts": [], + "inactiveCodexAccounts": [] + } + } + } + } + } + }, + "c7584e82c72f": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + }, + "e1ee0a1ae721": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Invalid reset response from host", + "isRpcDeliveryUnknown": false + } + }, + "e418952ce431": { + "name": "accounts.consumeCodexResetCredit#1", + "args": [ + { + "name": "method", + "value": "accounts.consumeCodexResetCredit" + }, + { + "name": "params", + "value": { + "expectedScope": { + "accountId": "codex-1", + "accountRevision": 1700000000000, + "offerRevision": "v1:[1,null,null,[],null,null,1700000000000]", + "target": { + "runtime": "host", + "wslDistro": { + "$rpc": "null" + } + } + }, + "idempotencyKey": "00000000-0000-4000-8000-000000000001" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 90000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "ea4200bda9a6": { + "name": "accounts.consumeCodexResetCredit#1", + "args": [ + { + "name": "method", + "value": "accounts.consumeCodexResetCredit" + }, + { + "name": "params", + "value": { + "expectedScope": { + "accountId": "codex-1", + "accountRevision": 1700000000000, + "offerRevision": "v1:[1,null,null,[],null,null,1700000000000]", + "target": { + "runtime": "host", + "wslDistro": { + "$rpc": "null" + } + } + }, + "idempotencyKey": "00000000-0000-4000-8000-000000000001" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 90000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "f3b516f62081": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": false + } + }, + "fed9e1669a83": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "attemptJournalRetained": false, + "outcome": "reset", + "scope": { + "accountId": "codex-1", + "accountRevision": 1700000000000, + "offerRevision": "v1:[1,null,null,[],null,null,1700000000000]", + "target": { + "runtime": "host", + "wslDistro": { + "$rpc": "null" + } + } + }, + "snapshot": { + "claude": { + "accounts": [], + "activeAccountId": { + "$rpc": "null" + } + }, + "codex": { + "accounts": [ + { + "email": "codex@example.test", + "id": "codex-1", + "updatedAt": 1700000000000 + } + ], + "activeAccountId": "codex-1", + "activeAccountIdsByRuntime": { + "host": "codex-1", + "wsl": {} + } + }, + "rateLimits": { + "claude": { + "$rpc": "null" + }, + "claudeTarget": { + "runtime": "host", + "wslDistro": { + "$rpc": "null" + } + }, + "codex": { + "error": { + "$rpc": "null" + }, + "provider": "codex", + "rateLimitResetCredits": { + "availableCount": 1 + }, + "session": { + "$rpc": "null" + }, + "status": "ok", + "updatedAt": 1700000000000, + "weekly": { + "$rpc": "null" + } + }, + "codexTarget": { + "runtime": "host", + "wslDistro": { + "$rpc": "null" + } + }, + "inactiveClaudeAccounts": [], + "inactiveCodexAccounts": [] + } + } + } + } + }, + "recording": { + "scenario": "matrix-components.codex-reset-credit-accounts.consumecodexresetcredit-1", + "checkpoints": [ + { + "id": "codex-reset-credit-consumed.prelude:requested", + "observation": { + "sender": ["90f55bfe00c2"], + "payloads": ["95625d997965"], + "settlements": { + "confirm": "9270aeb7d9c6" + }, + "state": "0a07efb53f1e", + "effects": ["ab755576c214"] + } + }, + { + "id": "codex-reset-credit-consumed.normal:consumed", + "observation": { + "sender": ["c4a98628ea44"], + "payloads": ["95625d997965"], + "settlements": { + "confirm": "fed9e1669a83" + }, + "state": "60304d1e19bb", + "effects": ["ab755576c214"] + } + }, + { + "id": "codex-reset-credit-consumed.result-absent:consumed", + "observation": { + "sender": ["1fe9cca0cfea"], + "payloads": ["95625d997965"], + "settlements": { + "confirm": "e1ee0a1ae721" + }, + "state": "0a07efb53f1e", + "effects": ["ab755576c214"] + } + }, + { + "id": "codex-reset-credit-consumed.result-null:consumed", + "observation": { + "sender": ["ea4200bda9a6"], + "payloads": ["95625d997965"], + "settlements": { + "confirm": "e1ee0a1ae721" + }, + "state": "0a07efb53f1e", + "effects": ["ab755576c214"] + } + }, + { + "id": "codex-reset-credit-consumed.inner-ok-missing:consumed", + "observation": { + "sender": ["e418952ce431"], + "payloads": ["95625d997965"], + "settlements": { + "confirm": "e1ee0a1ae721" + }, + "state": "0a07efb53f1e", + "effects": ["ab755576c214"] + } + }, + { + "id": "codex-reset-credit-consumed.inner-false-string-error:consumed", + "observation": { + "sender": ["396ce6536d6c"], + "payloads": ["95625d997965"], + "settlements": { + "confirm": "e1ee0a1ae721" + }, + "state": "0a07efb53f1e", + "effects": ["ab755576c214"] + } + }, + { + "id": "codex-reset-credit-consumed.inner-false-object-error:consumed", + "observation": { + "sender": ["3e0977e026e9"], + "payloads": ["95625d997965"], + "settlements": { + "confirm": "e1ee0a1ae721" + }, + "state": "0a07efb53f1e", + "effects": ["ab755576c214"] + } + }, + { + "id": "codex-reset-credit-consumed.outer-refused:consumed", + "observation": { + "sender": ["45c6bf0513f4"], + "payloads": ["95625d997965"], + "settlements": { + "confirm": "32a7c0ae7918" + }, + "state": "0a07efb53f1e", + "effects": ["ab755576c214"] + } + }, + { + "id": "codex-reset-credit-consumed.outer-refused-no-message:consumed", + "observation": { + "sender": ["3aec3f08d180"], + "payloads": ["95625d997965"], + "settlements": { + "confirm": "f3b516f62081" + }, + "state": "0a07efb53f1e", + "effects": ["ab755576c214"] + } + }, + { + "id": "codex-reset-credit-consumed.method-not-found:consumed", + "observation": { + "sender": ["6e14949b9d4b"], + "payloads": ["95625d997965"], + "settlements": { + "confirm": "b948e8307e81" + }, + "state": "0a07efb53f1e", + "effects": ["ab755576c214"] + } + }, + { + "id": "codex-reset-credit-consumed.transport-rejection:consumed", + "observation": { + "sender": ["a7ee87932ad2"], + "payloads": ["95625d997965"], + "settlements": { + "confirm": "a947768bc0ed" + }, + "state": "0a07efb53f1e", + "effects": ["ab755576c214"] + } + }, + { + "id": "codex-reset-credit-consumed.transport-rejection-no-message:consumed", + "observation": { + "sender": ["b0762ae2d280"], + "payloads": ["95625d997965"], + "settlements": { + "confirm": "c7584e82c72f" + }, + "state": "0a07efb53f1e", + "effects": ["ab755576c214"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-components.execution-target-local-preflight.detectagents-1.json b/mobile/rpc-foundation/goldens/matrix-components.execution-target-local-preflight.detectagents-1.json new file mode 100644 index 00000000000..6b96d9adca4 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-components.execution-target-local-preflight.detectagents-1.json @@ -0,0 +1,605 @@ +{ + "operation": "components.execution-target-local", + "family": "components.execution-target-local", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "5cfbce3c7d97d908fbd447646d611e41a8aa1f61f684b9b710c4b67d6ff023a7", + "scenarioSha256": "f88ee2f5d19b19cc53dca5180a9b5936a13a00a82e8a4636a5e895262b669dec", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "00d70c40c34c": { + "name": "preflight.detectAgents#1", + "args": [ + { + "name": "method", + "value": "preflight.detectAgents" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "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 + } + } + } + }, + "0846bea730cf": { + "name": "preflight.detectAgents#1", + "args": [ + { + "name": "method", + "value": "preflight.detectAgents" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "1317fc33bdbe": { + "name": "preflight.detectAgents#1", + "args": [ + { + "name": "method", + "value": "preflight.detectAgents" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "163b91b6fe9c": { + "name": "preflight.detectAgents#1", + "args": [ + { + "name": "method", + "value": "preflight.detectAgents" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "1e4520fe6576": { + "detected": { + "$rpc": "null" + }, + "gate": { + "connectInProgress": true, + "error": { + "$rpc": "null" + }, + "requiresConnection": false, + "status": { + "$rpc": "null" + } + } + }, + "327b46fb8bef": { + "name": "preflight.detectAgents#1", + "args": [ + { + "name": "method", + "value": "preflight.detectAgents" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "3579737ce1a6": { + "name": "preflight.detectAgents#1", + "args": [ + { + "name": "method", + "value": "preflight.detectAgents" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "365a6864b043": { + "detected": [], + "gate": { + "connectInProgress": true, + "error": { + "$rpc": "null" + }, + "requiresConnection": false, + "status": { + "$rpc": "null" + } + } + }, + "6806cee7c59f": { + "name": "preflight.detectAgents#1", + "args": [ + { + "name": "method", + "value": "preflight.detectAgents" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": ["claude"] + } + } + }, + "6e5fcf24648d": { + "name": "preflight.detectAgents#1", + "args": [ + { + "name": "method", + "value": "preflight.detectAgents" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "70d128c20ae4": { + "name": "preflight.detectAgents#1", + "args": [ + { + "name": "method", + "value": "preflight.detectAgents" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "87d7d24a30d2": { + "name": "preflight.detectAgents#1", + "args": [ + { + "name": "method", + "value": "preflight.detectAgents" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "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 + } + } + }, + "986a776213e8": { + "detected": ["claude"], + "gate": { + "connectInProgress": true, + "error": { + "$rpc": "null" + }, + "requiresConnection": false, + "status": { + "$rpc": "null" + } + } + }, + "cf32edc950ac": { + "name": "preflight.detectAgents#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectAgents\"}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "fb640b2bca4c": { + "name": "preflight.detectAgents#1", + "args": [ + { + "name": "method", + "value": "preflight.detectAgents" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "fbb9eef78275": { + "name": "preflight.detectAgents#1", + "args": [ + { + "name": "method", + "value": "preflight.detectAgents" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + } + }, + "recording": { + "scenario": "matrix-components.execution-target-local-preflight.detectagents-1", + "checkpoints": [ + { + "id": "components-target-local.prelude:detect-pending", + "observation": { + "sender": ["3579737ce1a6"], + "payloads": ["cf32edc950ac"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "1e4520fe6576", + "effects": [] + } + }, + { + "id": "components-target-local.normal:settled", + "observation": { + "sender": ["6806cee7c59f"], + "payloads": ["cf32edc950ac"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "986a776213e8", + "effects": [] + } + }, + { + "id": "components-target-local.result-absent:settled", + "observation": { + "sender": ["6e5fcf24648d"], + "payloads": ["cf32edc950ac"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "365a6864b043", + "effects": [] + } + }, + { + "id": "components-target-local.result-null:settled", + "observation": { + "sender": ["1317fc33bdbe"], + "payloads": ["cf32edc950ac"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "365a6864b043", + "effects": [] + } + }, + { + "id": "components-target-local.inner-ok-missing:settled", + "observation": { + "sender": ["327b46fb8bef"], + "payloads": ["cf32edc950ac"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "365a6864b043", + "effects": [] + } + }, + { + "id": "components-target-local.inner-false-string-error:settled", + "observation": { + "sender": ["0846bea730cf"], + "payloads": ["cf32edc950ac"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "365a6864b043", + "effects": [] + } + }, + { + "id": "components-target-local.inner-false-object-error:settled", + "observation": { + "sender": ["00d70c40c34c"], + "payloads": ["cf32edc950ac"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "365a6864b043", + "effects": [] + } + }, + { + "id": "components-target-local.outer-refused:settled", + "observation": { + "sender": ["fb640b2bca4c"], + "payloads": ["cf32edc950ac"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "365a6864b043", + "effects": [] + } + }, + { + "id": "components-target-local.outer-refused-no-message:settled", + "observation": { + "sender": ["163b91b6fe9c"], + "payloads": ["cf32edc950ac"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "365a6864b043", + "effects": [] + } + }, + { + "id": "components-target-local.method-not-found:settled", + "observation": { + "sender": ["87d7d24a30d2"], + "payloads": ["cf32edc950ac"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "365a6864b043", + "effects": [] + } + }, + { + "id": "components-target-local.transport-rejection:settled", + "observation": { + "sender": ["fbb9eef78275"], + "payloads": ["cf32edc950ac"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "365a6864b043", + "effects": [] + } + }, + { + "id": "components-target-local.transport-rejection-no-message:settled", + "observation": { + "sender": ["70d128c20ae4"], + "payloads": ["cf32edc950ac"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "365a6864b043", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-components.execution-target-preflight.detectremoteagents-1.json b/mobile/rpc-foundation/goldens/matrix-components.execution-target-preflight.detectremoteagents-1.json new file mode 100644 index 00000000000..8a98c9e53bd --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-components.execution-target-preflight.detectremoteagents-1.json @@ -0,0 +1,729 @@ +{ + "operation": "components.execution-target", + "family": "components.execution-target", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "5cfbce3c7d97d908fbd447646d611e41a8aa1f61f684b9b710c4b67d6ff023a7", + "scenarioSha256": "79a49cddf66935007afb9be8a30593b778f02237894e5fd4d2898b526fc125df", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "07d4c9b0eaf2": { + "name": "preflight.detectRemoteAgents#1", + "args": [ + { + "name": "method", + "value": "preflight.detectRemoteAgents" + }, + { + "name": "params", + "value": { + "connectionId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "0a7094a9a9ac": { + "name": "preflight.detectRemoteAgents#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectRemoteAgents\",\"params\":{\"connectionId\":\"ssh-1\"}}" + }, + "245e68137e04": { + "name": "preflight.detectRemoteAgents#1", + "args": [ + { + "name": "method", + "value": "preflight.detectRemoteAgents" + }, + { + "name": "params", + "value": { + "connectionId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "4e2e9a890ced": { + "detected": ["codex"], + "gate": { + "connectInProgress": false, + "error": { + "$rpc": "null" + }, + "requiresConnection": false, + "status": "connected" + } + }, + "51d7ac902696": { + "name": "preflight.detectRemoteAgents#1", + "args": [ + { + "name": "method", + "value": "preflight.detectRemoteAgents" + }, + { + "name": "params", + "value": { + "connectionId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "57095302d8c1": { + "name": "ssh.connect#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.connect\",\"params\":{\"targetId\":\"ssh-1\"}}" + }, + "6004e75ef39e": { + "name": "preflight.detectRemoteAgents#2", + "args": [ + { + "name": "method", + "value": "preflight.detectRemoteAgents" + }, + { + "name": "params", + "value": { + "connectionId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "65a3db621845": { + "name": "preflight.detectRemoteAgents#1", + "args": [ + { + "name": "method", + "value": "preflight.detectRemoteAgents" + }, + { + "name": "params", + "value": { + "connectionId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "66a99391260b": { + "name": "preflight.detectRemoteAgents#2", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectRemoteAgents\",\"params\":{\"connectionId\":\"ssh-1\"}}" + }, + "737995ed36c3": { + "name": "preflight.detectRemoteAgents#1", + "args": [ + { + "name": "method", + "value": "preflight.detectRemoteAgents" + }, + { + "name": "params", + "value": { + "connectionId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "75cd96280963": { + "name": "preflight.detectRemoteAgents#1", + "args": [ + { + "name": "method", + "value": "preflight.detectRemoteAgents" + }, + { + "name": "params", + "value": { + "connectionId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "81c9c204b647": { + "name": "ssh.connect#1", + "args": [ + { + "name": "method", + "value": "ssh.connect" + }, + { + "name": "params", + "value": { + "targetId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 120000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "state": { + "error": { + "$rpc": "null" + }, + "reconnectAttempt": 0, + "status": "connected", + "targetId": "ssh-1" + } + } + } + } + }, + "88ecd0c754ca": { + "detected": [], + "gate": { + "connectInProgress": false, + "error": { + "$rpc": "null" + }, + "requiresConnection": false, + "status": "connected" + } + }, + "89aa7a3bd619": { + "name": "ssh.getState#1", + "args": [ + { + "name": "method", + "value": "ssh.getState" + }, + { + "name": "params", + "value": { + "targetId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "state": { + "error": { + "$rpc": "null" + }, + "reconnectAttempt": 0, + "status": "connected", + "targetId": "ssh-1" + } + } + } + } + }, + "8ce8dae8c036": { + "name": "preflight.detectRemoteAgents#1", + "args": [ + { + "name": "method", + "value": "preflight.detectRemoteAgents" + }, + { + "name": "params", + "value": { + "connectionId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "95dee1165f95": { + "name": "preflight.detectRemoteAgents#1", + "args": [ + { + "name": "method", + "value": "preflight.detectRemoteAgents" + }, + { + "name": "params", + "value": { + "connectionId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "9a892112da5b": { + "name": "preflight.detectRemoteAgents#1", + "args": [ + { + "name": "method", + "value": "preflight.detectRemoteAgents" + }, + { + "name": "params", + "value": { + "connectionId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": ["codex"] + } + } + }, + "c0d4a122ea86": { + "name": "preflight.detectRemoteAgents#1", + "args": [ + { + "name": "method", + "value": "preflight.detectRemoteAgents" + }, + { + "name": "params", + "value": { + "connectionId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "ca123825be51": { + "name": "ssh.getState#1", + "args": [ + { + "name": "method", + "value": "ssh.getState" + }, + { + "name": "params", + "value": { + "targetId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "ce1d236eece4": { + "name": "preflight.detectRemoteAgents#1", + "args": [ + { + "name": "method", + "value": "preflight.detectRemoteAgents" + }, + { + "name": "params", + "value": { + "connectionId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "d23b91bd7660": { + "detected": { + "$rpc": "null" + }, + "gate": { + "connectInProgress": false, + "error": { + "$rpc": "null" + }, + "requiresConnection": true, + "status": { + "$rpc": "null" + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f9dfbe0c0ea7": { + "name": "ssh.getState#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.getState\",\"params\":{\"targetId\":\"ssh-1\"}}" + } + }, + "recording": { + "scenario": "matrix-components.execution-target-preflight.detectremoteagents-1", + "checkpoints": [ + { + "id": "components-target-ssh.prelude:state-pending", + "observation": { + "sender": ["ca123825be51"], + "payloads": ["f9dfbe0c0ea7"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "d23b91bd7660", + "effects": [] + } + }, + { + "id": "components-target-ssh.normal:settled", + "observation": { + "sender": ["89aa7a3bd619", "9a892112da5b", "81c9c204b647", "6004e75ef39e"], + "payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1", "66a99391260b"], + "settlements": { + "mount": "eb79a9b3682a", + "connect": "eb79a9b3682a" + }, + "state": "4e2e9a890ced", + "effects": [] + } + }, + { + "id": "components-target-ssh.result-absent:settled", + "observation": { + "sender": ["89aa7a3bd619", "8ce8dae8c036", "81c9c204b647", "6004e75ef39e"], + "payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1", "66a99391260b"], + "settlements": { + "mount": "eb79a9b3682a", + "connect": "eb79a9b3682a" + }, + "state": "88ecd0c754ca", + "effects": [] + } + }, + { + "id": "components-target-ssh.result-null:settled", + "observation": { + "sender": ["89aa7a3bd619", "75cd96280963", "81c9c204b647", "6004e75ef39e"], + "payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1", "66a99391260b"], + "settlements": { + "mount": "eb79a9b3682a", + "connect": "eb79a9b3682a" + }, + "state": "88ecd0c754ca", + "effects": [] + } + }, + { + "id": "components-target-ssh.inner-ok-missing:settled", + "observation": { + "sender": ["89aa7a3bd619", "ce1d236eece4", "81c9c204b647", "6004e75ef39e"], + "payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1", "66a99391260b"], + "settlements": { + "mount": "eb79a9b3682a", + "connect": "eb79a9b3682a" + }, + "state": "88ecd0c754ca", + "effects": [] + } + }, + { + "id": "components-target-ssh.inner-false-string-error:settled", + "observation": { + "sender": ["89aa7a3bd619", "245e68137e04", "81c9c204b647", "6004e75ef39e"], + "payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1", "66a99391260b"], + "settlements": { + "mount": "eb79a9b3682a", + "connect": "eb79a9b3682a" + }, + "state": "88ecd0c754ca", + "effects": [] + } + }, + { + "id": "components-target-ssh.inner-false-object-error:settled", + "observation": { + "sender": ["89aa7a3bd619", "c0d4a122ea86", "81c9c204b647", "6004e75ef39e"], + "payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1", "66a99391260b"], + "settlements": { + "mount": "eb79a9b3682a", + "connect": "eb79a9b3682a" + }, + "state": "88ecd0c754ca", + "effects": [] + } + }, + { + "id": "components-target-ssh.outer-refused:settled", + "observation": { + "sender": ["89aa7a3bd619", "65a3db621845", "81c9c204b647", "6004e75ef39e"], + "payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1", "66a99391260b"], + "settlements": { + "mount": "eb79a9b3682a", + "connect": "eb79a9b3682a" + }, + "state": "88ecd0c754ca", + "effects": [] + } + }, + { + "id": "components-target-ssh.outer-refused-no-message:settled", + "observation": { + "sender": ["89aa7a3bd619", "51d7ac902696", "81c9c204b647", "6004e75ef39e"], + "payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1", "66a99391260b"], + "settlements": { + "mount": "eb79a9b3682a", + "connect": "eb79a9b3682a" + }, + "state": "88ecd0c754ca", + "effects": [] + } + }, + { + "id": "components-target-ssh.method-not-found:settled", + "observation": { + "sender": ["89aa7a3bd619", "737995ed36c3", "81c9c204b647", "6004e75ef39e"], + "payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1", "66a99391260b"], + "settlements": { + "mount": "eb79a9b3682a", + "connect": "eb79a9b3682a" + }, + "state": "88ecd0c754ca", + "effects": [] + } + }, + { + "id": "components-target-ssh.transport-rejection:settled", + "observation": { + "sender": ["89aa7a3bd619", "07d4c9b0eaf2", "81c9c204b647", "6004e75ef39e"], + "payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1", "66a99391260b"], + "settlements": { + "mount": "eb79a9b3682a", + "connect": "eb79a9b3682a" + }, + "state": "88ecd0c754ca", + "effects": [] + } + }, + { + "id": "components-target-ssh.transport-rejection-no-message:settled", + "observation": { + "sender": ["89aa7a3bd619", "95dee1165f95", "81c9c204b647", "6004e75ef39e"], + "payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1", "66a99391260b"], + "settlements": { + "mount": "eb79a9b3682a", + "connect": "eb79a9b3682a" + }, + "state": "88ecd0c754ca", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-components.execution-target-ssh.connect-1.json b/mobile/rpc-foundation/goldens/matrix-components.execution-target-ssh.connect-1.json new file mode 100644 index 00000000000..f382fcb7346 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-components.execution-target-ssh.connect-1.json @@ -0,0 +1,784 @@ +{ + "operation": "components.execution-target", + "family": "components.execution-target", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "5cfbce3c7d97d908fbd447646d611e41a8aa1f61f684b9b710c4b67d6ff023a7", + "scenarioSha256": "8b8f7fe7227d44330e216e0bf5d366c41b54d9bf76acfb24df2c1770984b9f27", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0a7094a9a9ac": { + "name": "preflight.detectRemoteAgents#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectRemoteAgents\",\"params\":{\"connectionId\":\"ssh-1\"}}" + }, + "1d5f374a6378": { + "name": "ssh.connect#1", + "args": [ + { + "name": "method", + "value": "ssh.connect" + }, + { + "name": "params", + "value": { + "targetId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 120000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-3", + "ok": false + } + } + }, + "2a9fa3de486c": { + "name": "ssh.connect#1", + "args": [ + { + "name": "method", + "value": "ssh.connect" + }, + { + "name": "params", + "value": { + "targetId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 120000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "2d47b46a5872": { + "detected": { + "$rpc": "null" + }, + "gate": { + "connectInProgress": false, + "error": "Unknown method", + "requiresConnection": true, + "status": "error" + } + }, + "2fd7109925e5": { + "name": "ssh.connect#1", + "args": [ + { + "name": "method", + "value": "ssh.connect" + }, + { + "name": "params", + "value": { + "targetId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 120000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "33a303634ab9": { + "name": "ssh.connect#1", + "args": [ + { + "name": "method", + "value": "ssh.connect" + }, + { + "name": "params", + "value": { + "targetId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 120000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-3", + "ok": false + } + } + }, + "3443aa3290c8": { + "name": "ssh.connect#1", + "args": [ + { + "name": "method", + "value": "ssh.connect" + }, + { + "name": "params", + "value": { + "targetId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 120000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-3", + "ok": false + } + } + }, + "3828494e64df": { + "detected": { + "$rpc": "null" + }, + "gate": { + "connectInProgress": false, + "error": "", + "requiresConnection": true, + "status": "error" + } + }, + "467f1a0954f0": { + "detected": { + "$rpc": "null" + }, + "gate": { + "connectInProgress": false, + "error": "transport failure", + "requiresConnection": true, + "status": "error" + } + }, + "4e2e9a890ced": { + "detected": ["codex"], + "gate": { + "connectInProgress": false, + "error": { + "$rpc": "null" + }, + "requiresConnection": false, + "status": "connected" + } + }, + "57095302d8c1": { + "name": "ssh.connect#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.connect\",\"params\":{\"targetId\":\"ssh-1\"}}" + }, + "5a241dd7bf9b": { + "name": "ssh.connect#1", + "args": [ + { + "name": "method", + "value": "ssh.connect" + }, + { + "name": "params", + "value": { + "targetId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 120000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "5a628e933aa0": { + "name": "ssh.connect#1", + "args": [ + { + "name": "method", + "value": "ssh.connect" + }, + { + "name": "params", + "value": { + "targetId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 120000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "6004e75ef39e": { + "name": "preflight.detectRemoteAgents#2", + "args": [ + { + "name": "method", + "value": "preflight.detectRemoteAgents" + }, + { + "name": "params", + "value": { + "connectionId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "66a99391260b": { + "name": "preflight.detectRemoteAgents#2", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectRemoteAgents\",\"params\":{\"connectionId\":\"ssh-1\"}}" + }, + "671db70f932a": { + "name": "ssh.connect#1", + "args": [ + { + "name": "method", + "value": "ssh.connect" + }, + { + "name": "params", + "value": { + "targetId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 120000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "81c9c204b647": { + "name": "ssh.connect#1", + "args": [ + { + "name": "method", + "value": "ssh.connect" + }, + { + "name": "params", + "value": { + "targetId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 120000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "state": { + "error": { + "$rpc": "null" + }, + "reconnectAttempt": 0, + "status": "connected", + "targetId": "ssh-1" + } + } + } + } + }, + "89aa7a3bd619": { + "name": "ssh.getState#1", + "args": [ + { + "name": "method", + "value": "ssh.getState" + }, + { + "name": "params", + "value": { + "targetId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "state": { + "error": { + "$rpc": "null" + }, + "reconnectAttempt": 0, + "status": "connected", + "targetId": "ssh-1" + } + } + } + } + }, + "990a404630b4": { + "detected": { + "$rpc": "null" + }, + "gate": { + "connectInProgress": false, + "error": "outer refused", + "requiresConnection": true, + "status": "error" + } + }, + "9a892112da5b": { + "name": "preflight.detectRemoteAgents#1", + "args": [ + { + "name": "method", + "value": "preflight.detectRemoteAgents" + }, + { + "name": "params", + "value": { + "connectionId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": ["codex"] + } + } + }, + "c04e51232b36": { + "detected": { + "$rpc": "null" + }, + "gate": { + "connectInProgress": false, + "error": "Cannot read properties of null (reading 'state')", + "requiresConnection": true, + "status": "error" + } + }, + "c5608f9dd27c": { + "name": "ssh.connect#1", + "args": [ + { + "name": "method", + "value": "ssh.connect" + }, + { + "name": "params", + "value": { + "targetId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 120000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "c9821a8643be": { + "name": "ssh.connect#1", + "args": [ + { + "name": "method", + "value": "ssh.connect" + }, + { + "name": "params", + "value": { + "targetId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 120000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true + } + } + }, + "ca123825be51": { + "name": "ssh.getState#1", + "args": [ + { + "name": "method", + "value": "ssh.getState" + }, + { + "name": "params", + "value": { + "targetId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "d23b91bd7660": { + "detected": { + "$rpc": "null" + }, + "gate": { + "connectInProgress": false, + "error": { + "$rpc": "null" + }, + "requiresConnection": true, + "status": { + "$rpc": "null" + } + } + }, + "d714ad0ce8fb": { + "detected": { + "$rpc": "null" + }, + "gate": { + "connectInProgress": false, + "error": "Cannot read properties of undefined (reading 'state')", + "requiresConnection": true, + "status": "error" + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f9dfbe0c0ea7": { + "name": "ssh.getState#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.getState\",\"params\":{\"targetId\":\"ssh-1\"}}" + } + }, + "recording": { + "scenario": "matrix-components.execution-target-ssh.connect-1", + "checkpoints": [ + { + "id": "components-target-ssh.prelude:state-pending", + "observation": { + "sender": ["ca123825be51"], + "payloads": ["f9dfbe0c0ea7"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "d23b91bd7660", + "effects": [] + } + }, + { + "id": "components-target-ssh.normal:settled", + "observation": { + "sender": ["89aa7a3bd619", "9a892112da5b", "81c9c204b647", "6004e75ef39e"], + "payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1", "66a99391260b"], + "settlements": { + "mount": "eb79a9b3682a", + "connect": "eb79a9b3682a" + }, + "state": "4e2e9a890ced", + "effects": [] + } + }, + { + "id": "components-target-ssh.result-absent:settled", + "observation": { + "sender": ["89aa7a3bd619", "9a892112da5b", "c9821a8643be"], + "payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1"], + "settlements": { + "mount": "eb79a9b3682a", + "connect": "eb79a9b3682a" + }, + "state": "d714ad0ce8fb", + "effects": [] + } + }, + { + "id": "components-target-ssh.result-null:settled", + "observation": { + "sender": ["89aa7a3bd619", "9a892112da5b", "5a241dd7bf9b"], + "payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1"], + "settlements": { + "mount": "eb79a9b3682a", + "connect": "eb79a9b3682a" + }, + "state": "c04e51232b36", + "effects": [] + } + }, + { + "id": "components-target-ssh.inner-ok-missing:settled", + "observation": { + "sender": ["89aa7a3bd619", "9a892112da5b", "2fd7109925e5", "6004e75ef39e"], + "payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1", "66a99391260b"], + "settlements": { + "mount": "eb79a9b3682a", + "connect": "eb79a9b3682a" + }, + "state": "4e2e9a890ced", + "effects": [] + } + }, + { + "id": "components-target-ssh.inner-false-string-error:settled", + "observation": { + "sender": ["89aa7a3bd619", "9a892112da5b", "2a9fa3de486c", "6004e75ef39e"], + "payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1", "66a99391260b"], + "settlements": { + "mount": "eb79a9b3682a", + "connect": "eb79a9b3682a" + }, + "state": "4e2e9a890ced", + "effects": [] + } + }, + { + "id": "components-target-ssh.inner-false-object-error:settled", + "observation": { + "sender": ["89aa7a3bd619", "9a892112da5b", "5a628e933aa0", "6004e75ef39e"], + "payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1", "66a99391260b"], + "settlements": { + "mount": "eb79a9b3682a", + "connect": "eb79a9b3682a" + }, + "state": "4e2e9a890ced", + "effects": [] + } + }, + { + "id": "components-target-ssh.outer-refused:settled", + "observation": { + "sender": ["89aa7a3bd619", "9a892112da5b", "3443aa3290c8"], + "payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1"], + "settlements": { + "mount": "eb79a9b3682a", + "connect": "eb79a9b3682a" + }, + "state": "990a404630b4", + "effects": [] + } + }, + { + "id": "components-target-ssh.outer-refused-no-message:settled", + "observation": { + "sender": ["89aa7a3bd619", "9a892112da5b", "33a303634ab9"], + "payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1"], + "settlements": { + "mount": "eb79a9b3682a", + "connect": "eb79a9b3682a" + }, + "state": "3828494e64df", + "effects": [] + } + }, + { + "id": "components-target-ssh.method-not-found:settled", + "observation": { + "sender": ["89aa7a3bd619", "9a892112da5b", "1d5f374a6378"], + "payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1"], + "settlements": { + "mount": "eb79a9b3682a", + "connect": "eb79a9b3682a" + }, + "state": "2d47b46a5872", + "effects": [] + } + }, + { + "id": "components-target-ssh.transport-rejection:settled", + "observation": { + "sender": ["89aa7a3bd619", "9a892112da5b", "c5608f9dd27c"], + "payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1"], + "settlements": { + "mount": "eb79a9b3682a", + "connect": "eb79a9b3682a" + }, + "state": "467f1a0954f0", + "effects": [] + } + }, + { + "id": "components-target-ssh.transport-rejection-no-message:settled", + "observation": { + "sender": ["89aa7a3bd619", "9a892112da5b", "671db70f932a"], + "payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1"], + "settlements": { + "mount": "eb79a9b3682a", + "connect": "eb79a9b3682a" + }, + "state": "3828494e64df", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-components.execution-target-ssh.getstate-1.json b/mobile/rpc-foundation/goldens/matrix-components.execution-target-ssh.getstate-1.json new file mode 100644 index 00000000000..66c765e0c71 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-components.execution-target-ssh.getstate-1.json @@ -0,0 +1,804 @@ +{ + "operation": "components.execution-target", + "family": "components.execution-target", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "5cfbce3c7d97d908fbd447646d611e41a8aa1f61f684b9b710c4b67d6ff023a7", + "scenarioSha256": "6832d23c6500e4fcb20abe7c53bc4f5abe72180dc0ad747a4907b82d99bc75d0", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0a16839c6f87": { + "name": "ssh.getState#1", + "args": [ + { + "name": "method", + "value": "ssh.getState" + }, + { + "name": "params", + "value": { + "targetId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "0a7094a9a9ac": { + "name": "preflight.detectRemoteAgents#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectRemoteAgents\",\"params\":{\"connectionId\":\"ssh-1\"}}" + }, + "0eabd872f405": { + "name": "ssh.getState#1", + "args": [ + { + "name": "method", + "value": "ssh.getState" + }, + { + "name": "params", + "value": { + "targetId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "14db652edf02": { + "name": "ssh.getState#1", + "args": [ + { + "name": "method", + "value": "ssh.getState" + }, + { + "name": "params", + "value": { + "targetId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "2d910059043a": { + "name": "ssh.getState#1", + "args": [ + { + "name": "method", + "value": "ssh.getState" + }, + { + "name": "params", + "value": { + "targetId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "4e2e9a890ced": { + "detected": ["codex"], + "gate": { + "connectInProgress": false, + "error": { + "$rpc": "null" + }, + "requiresConnection": false, + "status": "connected" + } + }, + "57095302d8c1": { + "name": "ssh.connect#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.connect\",\"params\":{\"targetId\":\"ssh-1\"}}" + }, + "6004e75ef39e": { + "name": "preflight.detectRemoteAgents#2", + "args": [ + { + "name": "method", + "value": "preflight.detectRemoteAgents" + }, + { + "name": "params", + "value": { + "connectionId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "66a99391260b": { + "name": "preflight.detectRemoteAgents#2", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectRemoteAgents\",\"params\":{\"connectionId\":\"ssh-1\"}}" + }, + "71d817ffdd81": { + "name": "ssh.connect#1", + "args": [ + { + "name": "method", + "value": "ssh.connect" + }, + { + "name": "params", + "value": { + "targetId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 120000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "state": { + "error": { + "$rpc": "null" + }, + "reconnectAttempt": 0, + "status": "connected", + "targetId": "ssh-1" + } + } + } + } + }, + "7c9498659f58": { + "name": "ssh.connect#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.connect\",\"params\":{\"targetId\":\"ssh-1\"}}" + }, + "81c9c204b647": { + "name": "ssh.connect#1", + "args": [ + { + "name": "method", + "value": "ssh.connect" + }, + { + "name": "params", + "value": { + "targetId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 120000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "state": { + "error": { + "$rpc": "null" + }, + "reconnectAttempt": 0, + "status": "connected", + "targetId": "ssh-1" + } + } + } + } + }, + "89aa7a3bd619": { + "name": "ssh.getState#1", + "args": [ + { + "name": "method", + "value": "ssh.getState" + }, + { + "name": "params", + "value": { + "targetId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "state": { + "error": { + "$rpc": "null" + }, + "reconnectAttempt": 0, + "status": "connected", + "targetId": "ssh-1" + } + } + } + } + }, + "9a892112da5b": { + "name": "preflight.detectRemoteAgents#1", + "args": [ + { + "name": "method", + "value": "preflight.detectRemoteAgents" + }, + { + "name": "params", + "value": { + "connectionId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": ["codex"] + } + } + }, + "b09dd4915f43": { + "name": "ssh.getState#1", + "args": [ + { + "name": "method", + "value": "ssh.getState" + }, + { + "name": "params", + "value": { + "targetId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "b69a18178af8": { + "name": "preflight.detectRemoteAgents#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectRemoteAgents\",\"params\":{\"connectionId\":\"ssh-1\"}}" + }, + "b705ba88a562": { + "name": "ssh.getState#1", + "args": [ + { + "name": "method", + "value": "ssh.getState" + }, + { + "name": "params", + "value": { + "targetId": "ssh-1" + } + }, + { + "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 + } + } + }, + "ca123825be51": { + "name": "ssh.getState#1", + "args": [ + { + "name": "method", + "value": "ssh.getState" + }, + { + "name": "params", + "value": { + "targetId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "d0fad8f739ca": { + "name": "ssh.getState#1", + "args": [ + { + "name": "method", + "value": "ssh.getState" + }, + { + "name": "params", + "value": { + "targetId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "d23b91bd7660": { + "detected": { + "$rpc": "null" + }, + "gate": { + "connectInProgress": false, + "error": { + "$rpc": "null" + }, + "requiresConnection": true, + "status": { + "$rpc": "null" + } + } + }, + "e18278fce524": { + "name": "ssh.getState#1", + "args": [ + { + "name": "method", + "value": "ssh.getState" + }, + { + "name": "params", + "value": { + "targetId": "ssh-1" + } + }, + { + "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 + } + } + } + }, + "e314f3903bd3": { + "detected": { + "$rpc": "null" + }, + "gate": { + "connectInProgress": false, + "error": { + "$rpc": "null" + }, + "requiresConnection": false, + "status": "connected" + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f03117831a8e": { + "name": "preflight.detectRemoteAgents#1", + "args": [ + { + "name": "method", + "value": "preflight.detectRemoteAgents" + }, + { + "name": "params", + "value": { + "connectionId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "f36f17f8d448": { + "name": "ssh.getState#1", + "args": [ + { + "name": "method", + "value": "ssh.getState" + }, + { + "name": "params", + "value": { + "targetId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "f9dfbe0c0ea7": { + "name": "ssh.getState#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.getState\",\"params\":{\"targetId\":\"ssh-1\"}}" + }, + "ff6c3161dcc7": { + "name": "ssh.getState#1", + "args": [ + { + "name": "method", + "value": "ssh.getState" + }, + { + "name": "params", + "value": { + "targetId": "ssh-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + } + }, + "recording": { + "scenario": "matrix-components.execution-target-ssh.getstate-1", + "checkpoints": [ + { + "id": "components-target-ssh.prelude:state-pending", + "observation": { + "sender": ["ca123825be51"], + "payloads": ["f9dfbe0c0ea7"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "d23b91bd7660", + "effects": [] + } + }, + { + "id": "components-target-ssh.normal:settled", + "observation": { + "sender": ["89aa7a3bd619", "9a892112da5b", "81c9c204b647", "6004e75ef39e"], + "payloads": ["f9dfbe0c0ea7", "0a7094a9a9ac", "57095302d8c1", "66a99391260b"], + "settlements": { + "mount": "eb79a9b3682a", + "connect": "eb79a9b3682a" + }, + "state": "4e2e9a890ced", + "effects": [] + } + }, + { + "id": "components-target-ssh.result-absent:settled", + "observation": { + "sender": ["14db652edf02", "71d817ffdd81", "f03117831a8e"], + "payloads": ["f9dfbe0c0ea7", "7c9498659f58", "b69a18178af8"], + "settlements": { + "mount": "eb79a9b3682a", + "connect": "eb79a9b3682a" + }, + "state": "e314f3903bd3", + "effects": [] + } + }, + { + "id": "components-target-ssh.result-null:settled", + "observation": { + "sender": ["0eabd872f405", "71d817ffdd81", "f03117831a8e"], + "payloads": ["f9dfbe0c0ea7", "7c9498659f58", "b69a18178af8"], + "settlements": { + "mount": "eb79a9b3682a", + "connect": "eb79a9b3682a" + }, + "state": "e314f3903bd3", + "effects": [] + } + }, + { + "id": "components-target-ssh.inner-ok-missing:settled", + "observation": { + "sender": ["0a16839c6f87", "71d817ffdd81", "f03117831a8e"], + "payloads": ["f9dfbe0c0ea7", "7c9498659f58", "b69a18178af8"], + "settlements": { + "mount": "eb79a9b3682a", + "connect": "eb79a9b3682a" + }, + "state": "e314f3903bd3", + "effects": [] + } + }, + { + "id": "components-target-ssh.inner-false-string-error:settled", + "observation": { + "sender": ["b09dd4915f43", "71d817ffdd81", "f03117831a8e"], + "payloads": ["f9dfbe0c0ea7", "7c9498659f58", "b69a18178af8"], + "settlements": { + "mount": "eb79a9b3682a", + "connect": "eb79a9b3682a" + }, + "state": "e314f3903bd3", + "effects": [] + } + }, + { + "id": "components-target-ssh.inner-false-object-error:settled", + "observation": { + "sender": ["e18278fce524", "71d817ffdd81", "f03117831a8e"], + "payloads": ["f9dfbe0c0ea7", "7c9498659f58", "b69a18178af8"], + "settlements": { + "mount": "eb79a9b3682a", + "connect": "eb79a9b3682a" + }, + "state": "e314f3903bd3", + "effects": [] + } + }, + { + "id": "components-target-ssh.outer-refused:settled", + "observation": { + "sender": ["d0fad8f739ca", "71d817ffdd81", "f03117831a8e"], + "payloads": ["f9dfbe0c0ea7", "7c9498659f58", "b69a18178af8"], + "settlements": { + "mount": "eb79a9b3682a", + "connect": "eb79a9b3682a" + }, + "state": "e314f3903bd3", + "effects": [] + } + }, + { + "id": "components-target-ssh.outer-refused-no-message:settled", + "observation": { + "sender": ["ff6c3161dcc7", "71d817ffdd81", "f03117831a8e"], + "payloads": ["f9dfbe0c0ea7", "7c9498659f58", "b69a18178af8"], + "settlements": { + "mount": "eb79a9b3682a", + "connect": "eb79a9b3682a" + }, + "state": "e314f3903bd3", + "effects": [] + } + }, + { + "id": "components-target-ssh.method-not-found:settled", + "observation": { + "sender": ["b705ba88a562", "71d817ffdd81", "f03117831a8e"], + "payloads": ["f9dfbe0c0ea7", "7c9498659f58", "b69a18178af8"], + "settlements": { + "mount": "eb79a9b3682a", + "connect": "eb79a9b3682a" + }, + "state": "e314f3903bd3", + "effects": [] + } + }, + { + "id": "components-target-ssh.transport-rejection:settled", + "observation": { + "sender": ["2d910059043a", "71d817ffdd81", "f03117831a8e"], + "payloads": ["f9dfbe0c0ea7", "7c9498659f58", "b69a18178af8"], + "settlements": { + "mount": "eb79a9b3682a", + "connect": "eb79a9b3682a" + }, + "state": "e314f3903bd3", + "effects": [] + } + }, + { + "id": "components-target-ssh.transport-rejection-no-message:settled", + "observation": { + "sender": ["f36f17f8d448", "71d817ffdd81", "f03117831a8e"], + "payloads": ["f9dfbe0c0ea7", "7c9498659f58", "b69a18178af8"], + "settlements": { + "mount": "eb79a9b3682a", + "connect": "eb79a9b3682a" + }, + "state": "e314f3903bd3", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-components.new-workspace-repositories-repo.list-1.json b/mobile/rpc-foundation/goldens/matrix-components.new-workspace-repositories-repo.list-1.json new file mode 100644 index 00000000000..4f6a2ada0eb --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-components.new-workspace-repositories-repo.list-1.json @@ -0,0 +1,622 @@ +{ + "operation": "workspace.repositories", + "family": "components.new-workspace-repositories", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "64c1772f0f95a3c43fbb14398a8804b2b4784f7f18874e4fd79767ae634c7faa", + "scenarioSha256": "95f7dbb11bca7203d29bd13230d4a286f49ff20596535163094e1bff73e7f3cb", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "06b63e0d9986": { + "name": "repo.list#1", + "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-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "06fc8e7b85d5": { + "name": "repo.list#1", + "args": [ + { + "name": "method", + "value": "repo.list" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "26accd69bc48": { + "name": "repo.list#1", + "args": [ + { + "name": "method", + "value": "repo.list" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "288dd3529eaf": { + "name": "repo.list#1", + "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-1", + "ok": true, + "result": { + "repos": [ + { + "displayName": "alpha", + "id": "repo-a", + "path": "/tmp/repo-a" + }, + { + "displayName": "beta", + "id": "repo-b", + "path": "/tmp/repo-b" + } + ] + } + } + } + }, + "2ebe4d776f9b": { + "name": "repo.list#1", + "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-1", + "ok": true + } + } + }, + "2f24355c470f": { + "crash": "Cannot read properties of undefined (reading 'length')", + "loading": false, + "repos": { + "$rpc": "undefined" + }, + "selected": { + "$rpc": "null" + } + }, + "38e790fd9e9c": { + "name": "repo.list#1", + "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-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "4e8b4e3e814f": { + "crash": { + "$rpc": "null" + }, + "loading": true, + "repos": [], + "selected": { + "$rpc": "null" + } + }, + "6a50de773e54": { + "crash": { + "$rpc": "null" + }, + "loading": false, + "repos": [], + "selected": { + "$rpc": "null" + } + }, + "6bdbf70bafa2": { + "name": "repo.list#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" + }, + "6e5c6593dad8": { + "name": "repo.list#1", + "args": [ + { + "name": "method", + "value": "repo.list" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "9d3fa0db2665": { + "name": "repo.list#1", + "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-1", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "b9f0f1e94cd9": { + "name": "repo.list#1", + "args": [ + { + "name": "method", + "value": "repo.list" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "cc1facdf008c": { + "name": "repo.list#1", + "args": [ + { + "name": "method", + "value": "repo.list" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "e341bd05e614": { + "name": "repo.list#1", + "args": [ + { + "name": "method", + "value": "repo.list" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "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 + } + } + }, + "e3855d3cb5ae": { + "name": "screen.crash", + "value": { + "message": "Cannot read properties of undefined (reading 'length')" + }, + "sent": 1 + }, + "eac6e56c2d2c": { + "crash": { + "$rpc": "null" + }, + "loading": false, + "repos": ["repo-a", "repo-b"], + "selected": "repo-b" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f96e83d33565": { + "name": "repo.list#1", + "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-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + } + }, + "recording": { + "scenario": "matrix-components.new-workspace-repositories-repo.list-1", + "checkpoints": [ + { + "id": "new-workspace-repositories-fulfilled.prelude:loading", + "observation": { + "sender": ["26accd69bc48"], + "payloads": ["6bdbf70bafa2"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "4e8b4e3e814f", + "effects": [] + } + }, + { + "id": "new-workspace-repositories-fulfilled.normal:selected", + "observation": { + "sender": ["288dd3529eaf"], + "payloads": ["6bdbf70bafa2"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "eac6e56c2d2c", + "effects": [] + } + }, + { + "id": "new-workspace-repositories-fulfilled.result-absent:selected", + "observation": { + "sender": ["2ebe4d776f9b"], + "payloads": ["6bdbf70bafa2"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "6a50de773e54", + "effects": [] + } + }, + { + "id": "new-workspace-repositories-fulfilled.result-null:selected", + "observation": { + "sender": ["38e790fd9e9c"], + "payloads": ["6bdbf70bafa2"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "6a50de773e54", + "effects": [] + } + }, + { + "id": "new-workspace-repositories-fulfilled.inner-ok-missing:selected", + "observation": { + "sender": ["06b63e0d9986"], + "payloads": ["6bdbf70bafa2"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "2f24355c470f", + "effects": ["e3855d3cb5ae"] + } + }, + { + "id": "new-workspace-repositories-fulfilled.inner-false-string-error:selected", + "observation": { + "sender": ["f96e83d33565"], + "payloads": ["6bdbf70bafa2"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "2f24355c470f", + "effects": ["e3855d3cb5ae"] + } + }, + { + "id": "new-workspace-repositories-fulfilled.inner-false-object-error:selected", + "observation": { + "sender": ["9d3fa0db2665"], + "payloads": ["6bdbf70bafa2"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "2f24355c470f", + "effects": ["e3855d3cb5ae"] + } + }, + { + "id": "new-workspace-repositories-fulfilled.outer-refused:selected", + "observation": { + "sender": ["b9f0f1e94cd9"], + "payloads": ["6bdbf70bafa2"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "6a50de773e54", + "effects": [] + } + }, + { + "id": "new-workspace-repositories-fulfilled.outer-refused-no-message:selected", + "observation": { + "sender": ["06fc8e7b85d5"], + "payloads": ["6bdbf70bafa2"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "6a50de773e54", + "effects": [] + } + }, + { + "id": "new-workspace-repositories-fulfilled.method-not-found:selected", + "observation": { + "sender": ["e341bd05e614"], + "payloads": ["6bdbf70bafa2"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "6a50de773e54", + "effects": [] + } + }, + { + "id": "new-workspace-repositories-fulfilled.transport-rejection:selected", + "observation": { + "sender": ["6e5c6593dad8"], + "payloads": ["6bdbf70bafa2"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "6a50de773e54", + "effects": [] + } + }, + { + "id": "new-workspace-repositories-fulfilled.transport-rejection-no-message:selected", + "observation": { + "sender": ["cc1facdf008c"], + "payloads": ["6bdbf70bafa2"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "6a50de773e54", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-components.setup-script-repo.hooks-1.json b/mobile/rpc-foundation/goldens/matrix-components.setup-script-repo.hooks-1.json new file mode 100644 index 00000000000..948ff471c43 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-components.setup-script-repo.hooks-1.json @@ -0,0 +1,599 @@ +{ + "operation": "components.setup-script", + "family": "components.setup-script", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "5cfbce3c7d97d908fbd447646d611e41a8aa1f61f684b9b710c4b67d6ff023a7", + "scenarioSha256": "a844134d7bad3c7c12107d60dbd298f5cfba778703fb9dd0f7ad454615d26b07", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0a180dd2149f": { + "name": "repo.hooks#1", + "args": [ + { + "name": "method", + "value": "repo.hooks" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "170986cae6b4": { + "name": "repo.hooks#1", + "args": [ + { + "name": "method", + "value": "repo.hooks" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "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 + } + } + } + }, + "1e344a6b5da7": { + "name": "repo.hooks#1", + "args": [ + { + "name": "method", + "value": "repo.hooks" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "28e75475e9e0": { + "name": "repo.hooks#1", + "args": [ + { + "name": "method", + "value": "repo.hooks" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "33cfd55c1890": { + "name": "repo.hooks#1", + "args": [ + { + "name": "method", + "value": "repo.hooks" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "3515a8adcd6d": { + "name": "repo.hooks#1", + "args": [ + { + "name": "method", + "value": "repo.hooks" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "hooks": { + "scripts": { + "setup": "pnpm install" + } + }, + "setupRunPolicy": "ask", + "setupTrust": { + "$rpc": "null" + }, + "source": "repo" + } + } + } + }, + "3c9287ca1560": { + "name": "repo.hooks#1", + "args": [ + { + "name": "method", + "value": "repo.hooks" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "3cdc23cf6f4a": { + "name": "repo.hooks#1", + "args": [ + { + "name": "method", + "value": "repo.hooks" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "5d1cf72f4e12": { + "advanced": true, + "command": "pnpm install", + "run": true, + "runPolicy": "ask", + "source": "repo", + "trust": { + "$rpc": "null" + } + }, + "64c03730d628": { + "name": "repo.hooks#1", + "args": [ + { + "name": "method", + "value": "repo.hooks" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "80cf8444e458": { + "advanced": false, + "command": { + "$rpc": "null" + }, + "run": true, + "runPolicy": "run-by-default", + "source": { + "$rpc": "null" + }, + "trust": { + "$rpc": "null" + } + }, + "941b6aeb0d6f": { + "name": "repo.hooks#1", + "args": [ + { + "name": "method", + "value": "repo.hooks" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "daf213730e62": { + "name": "repo.hooks#1", + "args": [ + { + "name": "method", + "value": "repo.hooks" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "e6c72f695b50": { + "name": "repo.hooks#1", + "args": [ + { + "name": "method", + "value": "repo.hooks" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "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 + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f5dc0ce1e7b8": { + "name": "repo.hooks#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"repo.hooks\",\"params\":{\"repo\":\"id:repo-1\"}}" + } + }, + "recording": { + "scenario": "matrix-components.setup-script-repo.hooks-1", + "checkpoints": [ + { + "id": "components-setup-ask.prelude:hooks-pending", + "observation": { + "sender": ["28e75475e9e0"], + "payloads": ["f5dc0ce1e7b8"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "80cf8444e458", + "effects": [] + } + }, + { + "id": "components-setup-ask.normal:settled", + "observation": { + "sender": ["3515a8adcd6d"], + "payloads": ["f5dc0ce1e7b8"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "5d1cf72f4e12", + "effects": [] + } + }, + { + "id": "components-setup-ask.result-absent:settled", + "observation": { + "sender": ["daf213730e62"], + "payloads": ["f5dc0ce1e7b8"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "80cf8444e458", + "effects": [] + } + }, + { + "id": "components-setup-ask.result-null:settled", + "observation": { + "sender": ["1e344a6b5da7"], + "payloads": ["f5dc0ce1e7b8"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "80cf8444e458", + "effects": [] + } + }, + { + "id": "components-setup-ask.inner-ok-missing:settled", + "observation": { + "sender": ["3cdc23cf6f4a"], + "payloads": ["f5dc0ce1e7b8"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "80cf8444e458", + "effects": [] + } + }, + { + "id": "components-setup-ask.inner-false-string-error:settled", + "observation": { + "sender": ["0a180dd2149f"], + "payloads": ["f5dc0ce1e7b8"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "80cf8444e458", + "effects": [] + } + }, + { + "id": "components-setup-ask.inner-false-object-error:settled", + "observation": { + "sender": ["170986cae6b4"], + "payloads": ["f5dc0ce1e7b8"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "80cf8444e458", + "effects": [] + } + }, + { + "id": "components-setup-ask.outer-refused:settled", + "observation": { + "sender": ["64c03730d628"], + "payloads": ["f5dc0ce1e7b8"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "80cf8444e458", + "effects": [] + } + }, + { + "id": "components-setup-ask.outer-refused-no-message:settled", + "observation": { + "sender": ["3c9287ca1560"], + "payloads": ["f5dc0ce1e7b8"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "80cf8444e458", + "effects": [] + } + }, + { + "id": "components-setup-ask.method-not-found:settled", + "observation": { + "sender": ["e6c72f695b50"], + "payloads": ["f5dc0ce1e7b8"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "80cf8444e458", + "effects": [] + } + }, + { + "id": "components-setup-ask.transport-rejection:settled", + "observation": { + "sender": ["941b6aeb0d6f"], + "payloads": ["f5dc0ce1e7b8"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "80cf8444e458", + "effects": [] + } + }, + { + "id": "components-setup-ask.transport-rejection-no-message:settled", + "observation": { + "sender": ["33cfd55c1890"], + "payloads": ["f5dc0ce1e7b8"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "80cf8444e458", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-files.explorer-screen-files.list-1.json b/mobile/rpc-foundation/goldens/matrix-files.explorer-screen-files.list-1.json new file mode 100644 index 00000000000..e94b60343b4 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-files.explorer-screen-files.list-1.json @@ -0,0 +1,761 @@ +{ + "operation": "files.explorer-screen", + "family": "files.explorer-screen", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "160421b989563424531fc893a115b95b399d1524ebaf1c91caa8b2862b52eb07", + "scenarioSha256": "38b5590173c1f6791d1b35c0f036e2f844ed4b0e39c880e8e376c5f314adaade", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "13db9ec07bae": { + "crash": { + "$rpc": "null" + }, + "elements": { + "ChevronLeft": 1, + "Pressable": 2, + "SafeAreaView": 1, + "Text": 4, + "View": 4 + }, + "labels": ["Back to session"], + "rows": [], + "text": ["Files", "orca-files", "outer refused", "Retry"] + }, + "172ce972ddef": { + "name": "files.list#1", + "args": [ + { + "name": "method", + "value": "files.list" + }, + { + "name": "params", + "value": { + "worktree": "id:wt-files" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "17ee98fb7a54": { + "crash": { + "$rpc": "null" + }, + "elements": { + "ChevronLeft": 1, + "Pressable": 2, + "SafeAreaView": 1, + "Text": 4, + "View": 4 + }, + "labels": ["Back to session"], + "rows": [], + "text": ["Files", "orca-files", "Unknown method", "Retry"] + }, + "195987bc4ef2": { + "name": "files.readDir#1", + "args": [ + { + "name": "method", + "value": "files.readDir" + }, + { + "name": "params", + "value": { + "relativePath": "", + "worktree": "id:wt-files" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "1a3946e517d4": { + "name": "files.list#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"files.list\",\"params\":{\"worktree\":\"id:wt-files\"}}" + }, + "1ab1c4e91b2b": { + "name": "files.list#1", + "args": [ + { + "name": "method", + "value": "files.list" + }, + { + "name": "params", + "value": { + "worktree": "id:wt-files" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "21c8265367a7": { + "name": "files.list#1", + "args": [ + { + "name": "method", + "value": "files.list" + }, + { + "name": "params", + "value": { + "worktree": "id:wt-files" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "30859af566b0": { + "name": "files.readDir#1", + "args": [ + { + "name": "method", + "value": "files.readDir" + }, + { + "name": "params", + "value": { + "relativePath": "", + "worktree": "id:wt-files" + } + }, + { + "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 + } + } + }, + "345725f4b97d": { + "crash": { + "$rpc": "null" + }, + "elements": { + "ChevronLeft": 1, + "Pressable": 2, + "SafeAreaView": 1, + "Text": 4, + "View": 4 + }, + "labels": ["Back to session"], + "rows": [], + "text": ["Files", "orca-files", "transport failure", "Retry"] + }, + "4d91e2cd49e7": { + "name": "files.list#1", + "args": [ + { + "name": "method", + "value": "files.list" + }, + { + "name": "params", + "value": { + "worktree": "id:wt-files" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "6d857847180e": { + "name": "files.list#1", + "args": [ + { + "name": "method", + "value": "files.list" + }, + { + "name": "params", + "value": { + "worktree": "id:wt-files" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "7331b73c2e67": { + "name": "files.list#1", + "args": [ + { + "name": "method", + "value": "files.list" + }, + { + "name": "params", + "value": { + "worktree": "id:wt-files" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "80bd28a48dda": { + "name": "files.list#1", + "args": [ + { + "name": "method", + "value": "files.list" + }, + { + "name": "params", + "value": { + "worktree": "id:wt-files" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "files": [ + { + "basename": "README.md", + "kind": "text", + "relativePath": "README.md" + }, + { + "basename": "app.ts", + "kind": "text", + "relativePath": "src/app.ts" + } + ], + "totalCount": 2, + "truncated": true + } + } + } + }, + "86cd436cbbb4": { + "name": "files.list#1", + "args": [ + { + "name": "method", + "value": "files.list" + }, + { + "name": "params", + "value": { + "worktree": "id:wt-files" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "8966ebfaf515": { + "crash": { + "$rpc": "null" + }, + "elements": { + "ChevronLeft": 1, + "Pressable": 2, + "SafeAreaView": 1, + "Text": 4, + "View": 4 + }, + "labels": ["Back to session"], + "rows": [], + "text": [ + "Files", + "orca-files", + "Cannot read properties of undefined (reading 'files')", + "Retry" + ] + }, + "a0139a06ef98": { + "crash": { + "$rpc": "null" + }, + "elements": { + "ChevronLeft": 1, + "Pressable": 1, + "SafeAreaView": 1, + "Text": 3, + "View": 4 + }, + "labels": ["Back to session"], + "rows": [], + "text": ["Files", "orca-files", "No files found"] + }, + "aa33782c6235": { + "crash": { + "$rpc": "null" + }, + "elements": { + "ChevronLeft": 1, + "Pressable": 2, + "SafeAreaView": 1, + "Text": 4, + "View": 4 + }, + "labels": ["Back to session"], + "rows": [], + "text": ["Files", "orca-files", "Cannot read properties of null (reading 'files')", "Retry"] + }, + "acc0ab029cee": { + "crash": { + "$rpc": "null" + }, + "elements": { + "ChevronLeft": 1, + "Pressable": 2, + "SafeAreaView": 1, + "Text": 4, + "View": 4 + }, + "labels": ["Back to session"], + "rows": [], + "text": ["Files", "orca-files", "files is not iterable", "Retry"] + }, + "b5b1bc83b44d": { + "name": "files.readDir#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.readDir\",\"params\":{\"worktree\":\"id:wt-files\",\"relativePath\":\"\"}}" + }, + "b7a3bc68b28f": { + "name": "files.list#1", + "args": [ + { + "name": "method", + "value": "files.list" + }, + { + "name": "params", + "value": { + "worktree": "id:wt-files" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "b85511fb8929": { + "crash": { + "$rpc": "null" + }, + "elements": { + "ChevronLeft": 1, + "FlatList": 1, + "Pressable": 1, + "SafeAreaView": 1, + "Text": 2, + "View": 3 + }, + "labels": ["Back to session"], + "rows": ["dir:src", "file:README.md"], + "text": ["Files", "orca-files", " - Showing first 5000"] + }, + "e91880eefe86": { + "crash": { + "$rpc": "null" + }, + "elements": { + "ActivityIndicator": 1, + "ChevronLeft": 1, + "Pressable": 1, + "SafeAreaView": 1, + "Text": 2, + "View": 4 + }, + "labels": ["Back to session"], + "rows": [], + "text": ["Files", "orca-files"] + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f08f593a8be1": { + "name": "files.list#1", + "args": [ + { + "name": "method", + "value": "files.list" + }, + { + "name": "params", + "value": { + "worktree": "id:wt-files" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "f8568eb054ee": { + "name": "files.list#1", + "args": [ + { + "name": "method", + "value": "files.list" + }, + { + "name": "params", + "value": { + "worktree": "id:wt-files" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + } + }, + "recording": { + "scenario": "matrix-files.explorer-screen-files.list-1", + "checkpoints": [ + { + "id": "files-explorer-legacy-fallback.prelude:loading", + "observation": { + "sender": ["195987bc4ef2"], + "payloads": ["b5b1bc83b44d"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "e91880eefe86", + "effects": [] + } + }, + { + "id": "files-explorer-legacy-fallback.normal:legacy-listed", + "observation": { + "sender": ["30859af566b0", "80bd28a48dda"], + "payloads": ["b5b1bc83b44d", "1a3946e517d4"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "b85511fb8929", + "effects": [] + } + }, + { + "id": "files-explorer-legacy-fallback.result-absent:legacy-listed", + "observation": { + "sender": ["30859af566b0", "b7a3bc68b28f"], + "payloads": ["b5b1bc83b44d", "1a3946e517d4"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "8966ebfaf515", + "effects": [] + } + }, + { + "id": "files-explorer-legacy-fallback.result-null:legacy-listed", + "observation": { + "sender": ["30859af566b0", "f8568eb054ee"], + "payloads": ["b5b1bc83b44d", "1a3946e517d4"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "aa33782c6235", + "effects": [] + } + }, + { + "id": "files-explorer-legacy-fallback.inner-ok-missing:legacy-listed", + "observation": { + "sender": ["30859af566b0", "f08f593a8be1"], + "payloads": ["b5b1bc83b44d", "1a3946e517d4"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "acc0ab029cee", + "effects": [] + } + }, + { + "id": "files-explorer-legacy-fallback.inner-false-string-error:legacy-listed", + "observation": { + "sender": ["30859af566b0", "172ce972ddef"], + "payloads": ["b5b1bc83b44d", "1a3946e517d4"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "acc0ab029cee", + "effects": [] + } + }, + { + "id": "files-explorer-legacy-fallback.inner-false-object-error:legacy-listed", + "observation": { + "sender": ["30859af566b0", "6d857847180e"], + "payloads": ["b5b1bc83b44d", "1a3946e517d4"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "acc0ab029cee", + "effects": [] + } + }, + { + "id": "files-explorer-legacy-fallback.outer-refused:legacy-listed", + "observation": { + "sender": ["30859af566b0", "7331b73c2e67"], + "payloads": ["b5b1bc83b44d", "1a3946e517d4"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "13db9ec07bae", + "effects": [] + } + }, + { + "id": "files-explorer-legacy-fallback.outer-refused-no-message:legacy-listed", + "observation": { + "sender": ["30859af566b0", "86cd436cbbb4"], + "payloads": ["b5b1bc83b44d", "1a3946e517d4"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "17ee98fb7a54", + "effects": [] + } + }, + { + "id": "files-explorer-legacy-fallback.method-not-found:legacy-listed", + "observation": { + "sender": ["30859af566b0", "21c8265367a7"], + "payloads": ["b5b1bc83b44d", "1a3946e517d4"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "17ee98fb7a54", + "effects": [] + } + }, + { + "id": "files-explorer-legacy-fallback.transport-rejection:legacy-listed", + "observation": { + "sender": ["30859af566b0", "4d91e2cd49e7"], + "payloads": ["b5b1bc83b44d", "1a3946e517d4"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "345725f4b97d", + "effects": [] + } + }, + { + "id": "files-explorer-legacy-fallback.transport-rejection-no-message:legacy-listed", + "observation": { + "sender": ["30859af566b0", "1ab1c4e91b2b"], + "payloads": ["b5b1bc83b44d", "1a3946e517d4"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "a0139a06ef98", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-files.explorer-screen-files.readdir-1.json b/mobile/rpc-foundation/goldens/matrix-files.explorer-screen-files.readdir-1.json new file mode 100644 index 00000000000..de071cfd521 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-files.explorer-screen-files.readdir-1.json @@ -0,0 +1,757 @@ +{ + "operation": "files.explorer-screen", + "family": "files.explorer-screen", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "160421b989563424531fc893a115b95b399d1524ebaf1c91caa8b2862b52eb07", + "scenarioSha256": "8c1fa604104c5551b8418af225c9420b1292f0c55b392f847985947c66749959", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "13db9ec07bae": { + "crash": { + "$rpc": "null" + }, + "elements": { + "ChevronLeft": 1, + "Pressable": 2, + "SafeAreaView": 1, + "Text": 4, + "View": 4 + }, + "labels": ["Back to session"], + "rows": [], + "text": ["Files", "orca-files", "outer refused", "Retry"] + }, + "195987bc4ef2": { + "name": "files.readDir#1", + "args": [ + { + "name": "method", + "value": "files.readDir" + }, + { + "name": "params", + "value": { + "relativePath": "", + "worktree": "id:wt-files" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "1a3946e517d4": { + "name": "files.list#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"files.list\",\"params\":{\"worktree\":\"id:wt-files\"}}" + }, + "1fac8f3b8f44": { + "crash": { + "$rpc": "null" + }, + "elements": { + "ChevronLeft": 1, + "FlatList": 1, + "Pressable": 1, + "SafeAreaView": 1, + "Text": 2, + "View": 3 + }, + "labels": ["Back to session"], + "rows": ["dir:src", "file:README.md"], + "text": ["Files", "orca-files"] + }, + "23a7ef6123a7": { + "name": "files.readDir#1", + "args": [ + { + "name": "method", + "value": "files.readDir" + }, + { + "name": "params", + "value": { + "relativePath": "", + "worktree": "id:wt-files" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": [ + { + "isDirectory": true, + "name": "src" + }, + { + "isDirectory": false, + "name": "README.md" + } + ] + } + } + }, + "2d716277e0b4": { + "name": "files.readDir#1", + "args": [ + { + "name": "method", + "value": "files.readDir" + }, + { + "name": "params", + "value": { + "relativePath": "", + "worktree": "id:wt-files" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "30859af566b0": { + "name": "files.readDir#1", + "args": [ + { + "name": "method", + "value": "files.readDir" + }, + { + "name": "params", + "value": { + "relativePath": "", + "worktree": "id:wt-files" + } + }, + { + "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 + } + } + }, + "345725f4b97d": { + "crash": { + "$rpc": "null" + }, + "elements": { + "ChevronLeft": 1, + "Pressable": 2, + "SafeAreaView": 1, + "Text": 4, + "View": 4 + }, + "labels": ["Back to session"], + "rows": [], + "text": ["Files", "orca-files", "transport failure", "Retry"] + }, + "406c76bf7ebe": { + "crash": { + "$rpc": "null" + }, + "elements": { + "ChevronLeft": 1, + "Pressable": 2, + "SafeAreaView": 1, + "Text": 4, + "View": 4 + }, + "labels": ["Back to session"], + "rows": [], + "text": ["Files", "orca-files", "Unable to load files", "Retry"] + }, + "4f4a81c91e23": { + "name": "files.readDir#1", + "args": [ + { + "name": "method", + "value": "files.readDir" + }, + { + "name": "params", + "value": { + "relativePath": "", + "worktree": "id:wt-files" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "4f61e2e0cdf7": { + "name": "files.readDir#1", + "args": [ + { + "name": "method", + "value": "files.readDir" + }, + { + "name": "params", + "value": { + "relativePath": "", + "worktree": "id:wt-files" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "55062daf394e": { + "name": "screen.crash", + "value": { + "message": "entries.filter is not a function" + }, + "sent": 1 + }, + "6660284d98a2": { + "name": "files.readDir#1", + "args": [ + { + "name": "method", + "value": "files.readDir" + }, + { + "name": "params", + "value": { + "relativePath": "", + "worktree": "id:wt-files" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "7fd035a057b5": { + "name": "files.readDir#1", + "args": [ + { + "name": "method", + "value": "files.readDir" + }, + { + "name": "params", + "value": { + "relativePath": "", + "worktree": "id:wt-files" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "80bd28a48dda": { + "name": "files.list#1", + "args": [ + { + "name": "method", + "value": "files.list" + }, + { + "name": "params", + "value": { + "worktree": "id:wt-files" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "files": [ + { + "basename": "README.md", + "kind": "text", + "relativePath": "README.md" + }, + { + "basename": "app.ts", + "kind": "text", + "relativePath": "src/app.ts" + } + ], + "totalCount": 2, + "truncated": true + } + } + } + }, + "91637dc6ae5b": { + "name": "files.readDir#1", + "args": [ + { + "name": "method", + "value": "files.readDir" + }, + { + "name": "params", + "value": { + "relativePath": "", + "worktree": "id:wt-files" + } + }, + { + "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 + } + } + } + }, + "995efbb97b13": { + "name": "files.readDir#1", + "args": [ + { + "name": "method", + "value": "files.readDir" + }, + { + "name": "params", + "value": { + "relativePath": "", + "worktree": "id:wt-files" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "a0139a06ef98": { + "crash": { + "$rpc": "null" + }, + "elements": { + "ChevronLeft": 1, + "Pressable": 1, + "SafeAreaView": 1, + "Text": 3, + "View": 4 + }, + "labels": ["Back to session"], + "rows": [], + "text": ["Files", "orca-files", "No files found"] + }, + "b3e7934618ec": { + "name": "files.readDir#1", + "args": [ + { + "name": "method", + "value": "files.readDir" + }, + { + "name": "params", + "value": { + "relativePath": "", + "worktree": "id:wt-files" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "b5b1bc83b44d": { + "name": "files.readDir#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.readDir\",\"params\":{\"worktree\":\"id:wt-files\",\"relativePath\":\"\"}}" + }, + "b85511fb8929": { + "crash": { + "$rpc": "null" + }, + "elements": { + "ChevronLeft": 1, + "FlatList": 1, + "Pressable": 1, + "SafeAreaView": 1, + "Text": 2, + "View": 3 + }, + "labels": ["Back to session"], + "rows": ["dir:src", "file:README.md"], + "text": ["Files", "orca-files", " - Showing first 5000"] + }, + "ba58d31f3c54": { + "name": "files.readDir#1", + "args": [ + { + "name": "method", + "value": "files.readDir" + }, + { + "name": "params", + "value": { + "relativePath": "", + "worktree": "id:wt-files" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "e91880eefe86": { + "crash": { + "$rpc": "null" + }, + "elements": { + "ActivityIndicator": 1, + "ChevronLeft": 1, + "Pressable": 1, + "SafeAreaView": 1, + "Text": 2, + "View": 4 + }, + "labels": ["Back to session"], + "rows": [], + "text": ["Files", "orca-files"] + }, + "ea2c96b08e6b": { + "crash": "entries.filter is not a function", + "elements": {}, + "labels": [], + "rows": [], + "text": [] + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "matrix-files.explorer-screen-files.readdir-1", + "checkpoints": [ + { + "id": "files-explorer-legacy-fallback.prelude:loading", + "observation": { + "sender": ["195987bc4ef2"], + "payloads": ["b5b1bc83b44d"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "e91880eefe86", + "effects": [] + } + }, + { + "id": "files-explorer-legacy-fallback.normal:legacy-listed", + "observation": { + "sender": ["23a7ef6123a7"], + "payloads": ["b5b1bc83b44d"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "1fac8f3b8f44", + "effects": [] + } + }, + { + "id": "files-explorer-legacy-fallback.result-absent:legacy-listed", + "observation": { + "sender": ["995efbb97b13"], + "payloads": ["b5b1bc83b44d"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "a0139a06ef98", + "effects": [] + } + }, + { + "id": "files-explorer-legacy-fallback.result-null:legacy-listed", + "observation": { + "sender": ["2d716277e0b4"], + "payloads": ["b5b1bc83b44d"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "a0139a06ef98", + "effects": [] + } + }, + { + "id": "files-explorer-legacy-fallback.inner-ok-missing:legacy-listed", + "observation": { + "sender": ["7fd035a057b5"], + "payloads": ["b5b1bc83b44d"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "ea2c96b08e6b", + "effects": ["55062daf394e"] + } + }, + { + "id": "files-explorer-legacy-fallback.inner-false-string-error:legacy-listed", + "observation": { + "sender": ["ba58d31f3c54"], + "payloads": ["b5b1bc83b44d"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "ea2c96b08e6b", + "effects": ["55062daf394e"] + } + }, + { + "id": "files-explorer-legacy-fallback.inner-false-object-error:legacy-listed", + "observation": { + "sender": ["91637dc6ae5b"], + "payloads": ["b5b1bc83b44d"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "ea2c96b08e6b", + "effects": ["55062daf394e"] + } + }, + { + "id": "files-explorer-legacy-fallback.outer-refused:legacy-listed", + "observation": { + "sender": ["6660284d98a2"], + "payloads": ["b5b1bc83b44d"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "13db9ec07bae", + "effects": [] + } + }, + { + "id": "files-explorer-legacy-fallback.outer-refused-no-message:legacy-listed", + "observation": { + "sender": ["4f4a81c91e23"], + "payloads": ["b5b1bc83b44d"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "406c76bf7ebe", + "effects": [] + } + }, + { + "id": "files-explorer-legacy-fallback.method-not-found:legacy-listed", + "observation": { + "sender": ["30859af566b0", "80bd28a48dda"], + "payloads": ["b5b1bc83b44d", "1a3946e517d4"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "b85511fb8929", + "effects": [] + } + }, + { + "id": "files-explorer-legacy-fallback.transport-rejection:legacy-listed", + "observation": { + "sender": ["b3e7934618ec"], + "payloads": ["b5b1bc83b44d"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "345725f4b97d", + "effects": [] + } + }, + { + "id": "files-explorer-legacy-fallback.transport-rejection-no-message:legacy-listed", + "observation": { + "sender": ["4f61e2e0cdf7"], + "payloads": ["b5b1bc83b44d"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "a0139a06ef98", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-files.mutation-ownership-ssh.getstate-1.json b/mobile/rpc-foundation/goldens/matrix-files.mutation-ownership-ssh.getstate-1.json new file mode 100644 index 00000000000..2469e6789af --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-files.mutation-ownership-ssh.getstate-1.json @@ -0,0 +1,746 @@ +{ + "operation": "files.mutation-ownership", + "family": "files.mutation-ownership", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "b93fc8b6f1ece041acaa8cc5699852085e67d7e2f39db13145e483f854ea3309", + "scenarioSha256": "5815450e8d07f463423ca0bd8237830791c220234201abffc6fa13e698913516", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0cfc3aa2bfb0": { + "name": "ssh.getState#1", + "args": [ + { + "name": "method", + "value": "ssh.getState" + }, + { + "name": "params", + "value": { + "targetId": "target-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "1e5b32902af7": { + "name": "status.get#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "29bfbe94cca9": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "expectedExecutionHostId": "ssh:target-1", + "expectedSshConnectionGeneration": 3, + "expectedSshTargetId": "target-1" + } + }, + "32a7c0ae7918": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "outer refused", + "isRpcDeliveryUnknown": false + } + }, + "3bff05e80a36": { + "name": "ssh.getState#1", + "args": [ + { + "name": "method", + "value": "ssh.getState" + }, + { + "name": "params", + "value": { + "targetId": "target-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-3", + "ok": false + } + } + }, + "504c0e27345c": { + "name": "ssh.getState#1", + "args": [ + { + "name": "method", + "value": "ssh.getState" + }, + { + "name": "params", + "value": { + "targetId": "target-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "518ec57c381a": { + "ownership": "uncaptured" + }, + "6116946241ca": { + "name": "ssh.getState#1", + "args": [ + { + "name": "method", + "value": "ssh.getState" + }, + { + "name": "params", + "value": { + "targetId": "target-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "state": { + "connectionGeneration": 3, + "error": { + "$rpc": "null" + }, + "reconnectAttempt": 0, + "status": "connected", + "targetId": "target-1" + } + } + } + } + }, + "6178f3695366": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Couldn't verify the SSH connection. Reconnect the host and try again.", + "isRpcDeliveryUnknown": false + } + }, + "6ef43f81f7e3": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "worktree": { + "hostId": "ssh:target-1" + } + } + } + } + }, + "7ae12fc753a2": { + "name": "ssh.getState#1", + "args": [ + { + "name": "method", + "value": "ssh.getState" + }, + { + "name": "params", + "value": { + "targetId": "target-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-3", + "ok": false + } + } + }, + "9199aee60486": { + "name": "worktree.show#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:workspace-1\"}}" + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "98a7aa1d359d": { + "name": "ssh.getState#1", + "args": [ + { + "name": "method", + "value": "ssh.getState" + }, + { + "name": "params", + "value": { + "targetId": "target-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "a0341e6a5d84": { + "name": "ssh.getState#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.getState\",\"params\":{\"targetId\":\"target-1\"}}" + }, + "a56852d6836b": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "capabilities": ["files.mutation-ownership.v1"] + } + } + } + }, + "a7e256068a4e": { + "name": "ssh.getState#1", + "args": [ + { + "name": "method", + "value": "ssh.getState" + }, + { + "name": "params", + "value": { + "targetId": "target-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "b8b7e759edc4": { + "name": "ssh.getState#1", + "args": [ + { + "name": "method", + "value": "ssh.getState" + }, + { + "name": "params", + "value": { + "targetId": "target-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "b948e8307e81": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Unknown method", + "isRpcDeliveryUnknown": false + } + }, + "bc119660f0c1": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "bd84dadd27c7": { + "ownership": { + "expectedExecutionHostId": "ssh:target-1", + "expectedSshConnectionGeneration": 3, + "expectedSshTargetId": "target-1" + } + }, + "c05abe5bc0bc": { + "name": "ssh.getState#1", + "args": [ + { + "name": "method", + "value": "ssh.getState" + }, + { + "name": "params", + "value": { + "targetId": "target-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "c7584e82c72f": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + }, + "ce2b29907ae3": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "TypeError", + "message": "Cannot read properties of null (reading 'state')", + "isRpcDeliveryUnknown": false + } + }, + "d954a0a142a5": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "TypeError", + "message": "Cannot read properties of undefined (reading 'state')", + "isRpcDeliveryUnknown": false + } + }, + "dfc84caa8f54": { + "name": "ssh.getState#1", + "args": [ + { + "name": "method", + "value": "ssh.getState" + }, + { + "name": "params", + "value": { + "targetId": "target-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true + } + } + }, + "e7fd41d8b9e6": { + "name": "ssh.getState#1", + "args": [ + { + "name": "method", + "value": "ssh.getState" + }, + { + "name": "params", + "value": { + "targetId": "target-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-3", + "ok": false + } + } + }, + "f3b516f62081": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": false + } + } + }, + "recording": { + "scenario": "matrix-files.mutation-ownership-ssh.getstate-1", + "checkpoints": [ + { + "id": "files-ownership-ssh.prelude:status-pending", + "observation": { + "sender": ["bc119660f0c1"], + "payloads": ["1e5b32902af7"], + "settlements": { + "capture": "9270aeb7d9c6" + }, + "state": "518ec57c381a", + "effects": [] + } + }, + { + "id": "files-ownership-ssh.normal:settled", + "observation": { + "sender": ["a56852d6836b", "6ef43f81f7e3", "6116946241ca"], + "payloads": ["1e5b32902af7", "9199aee60486", "a0341e6a5d84"], + "settlements": { + "capture": "29bfbe94cca9" + }, + "state": "bd84dadd27c7", + "effects": [] + } + }, + { + "id": "files-ownership-ssh.result-absent:settled", + "observation": { + "sender": ["a56852d6836b", "6ef43f81f7e3", "dfc84caa8f54"], + "payloads": ["1e5b32902af7", "9199aee60486", "a0341e6a5d84"], + "settlements": { + "capture": "d954a0a142a5" + }, + "state": "518ec57c381a", + "effects": [] + } + }, + { + "id": "files-ownership-ssh.result-null:settled", + "observation": { + "sender": ["a56852d6836b", "6ef43f81f7e3", "504c0e27345c"], + "payloads": ["1e5b32902af7", "9199aee60486", "a0341e6a5d84"], + "settlements": { + "capture": "ce2b29907ae3" + }, + "state": "518ec57c381a", + "effects": [] + } + }, + { + "id": "files-ownership-ssh.inner-ok-missing:settled", + "observation": { + "sender": ["a56852d6836b", "6ef43f81f7e3", "c05abe5bc0bc"], + "payloads": ["1e5b32902af7", "9199aee60486", "a0341e6a5d84"], + "settlements": { + "capture": "6178f3695366" + }, + "state": "518ec57c381a", + "effects": [] + } + }, + { + "id": "files-ownership-ssh.inner-false-string-error:settled", + "observation": { + "sender": ["a56852d6836b", "6ef43f81f7e3", "b8b7e759edc4"], + "payloads": ["1e5b32902af7", "9199aee60486", "a0341e6a5d84"], + "settlements": { + "capture": "6178f3695366" + }, + "state": "518ec57c381a", + "effects": [] + } + }, + { + "id": "files-ownership-ssh.inner-false-object-error:settled", + "observation": { + "sender": ["a56852d6836b", "6ef43f81f7e3", "a7e256068a4e"], + "payloads": ["1e5b32902af7", "9199aee60486", "a0341e6a5d84"], + "settlements": { + "capture": "6178f3695366" + }, + "state": "518ec57c381a", + "effects": [] + } + }, + { + "id": "files-ownership-ssh.outer-refused:settled", + "observation": { + "sender": ["a56852d6836b", "6ef43f81f7e3", "7ae12fc753a2"], + "payloads": ["1e5b32902af7", "9199aee60486", "a0341e6a5d84"], + "settlements": { + "capture": "32a7c0ae7918" + }, + "state": "518ec57c381a", + "effects": [] + } + }, + { + "id": "files-ownership-ssh.outer-refused-no-message:settled", + "observation": { + "sender": ["a56852d6836b", "6ef43f81f7e3", "e7fd41d8b9e6"], + "payloads": ["1e5b32902af7", "9199aee60486", "a0341e6a5d84"], + "settlements": { + "capture": "f3b516f62081" + }, + "state": "518ec57c381a", + "effects": [] + } + }, + { + "id": "files-ownership-ssh.method-not-found:settled", + "observation": { + "sender": ["a56852d6836b", "6ef43f81f7e3", "3bff05e80a36"], + "payloads": ["1e5b32902af7", "9199aee60486", "a0341e6a5d84"], + "settlements": { + "capture": "b948e8307e81" + }, + "state": "518ec57c381a", + "effects": [] + } + }, + { + "id": "files-ownership-ssh.transport-rejection:settled", + "observation": { + "sender": ["a56852d6836b", "6ef43f81f7e3", "0cfc3aa2bfb0"], + "payloads": ["1e5b32902af7", "9199aee60486", "a0341e6a5d84"], + "settlements": { + "capture": "a947768bc0ed" + }, + "state": "518ec57c381a", + "effects": [] + } + }, + { + "id": "files-ownership-ssh.transport-rejection-no-message:settled", + "observation": { + "sender": ["a56852d6836b", "6ef43f81f7e3", "98a7aa1d359d"], + "payloads": ["1e5b32902af7", "9199aee60486", "a0341e6a5d84"], + "settlements": { + "capture": "c7584e82c72f" + }, + "state": "518ec57c381a", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-files.mutation-ownership-status.get-1.json b/mobile/rpc-foundation/goldens/matrix-files.mutation-ownership-status.get-1.json new file mode 100644 index 00000000000..e51145dc9dd --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-files.mutation-ownership-status.get-1.json @@ -0,0 +1,746 @@ +{ + "operation": "files.mutation-ownership", + "family": "files.mutation-ownership", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "b93fc8b6f1ece041acaa8cc5699852085e67d7e2f39db13145e483f854ea3309", + "scenarioSha256": "b9cfb187224a4b42efe8ccfcd96145833730d135c4fffa345716f95991a4700f", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0b7588536afb": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "0d163aa89099": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "1e5b32902af7": { + "name": "status.get#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "29bfbe94cca9": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "expectedExecutionHostId": "ssh:target-1", + "expectedSshConnectionGeneration": 3, + "expectedSshTargetId": "target-1" + } + }, + "32a7c0ae7918": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "outer refused", + "isRpcDeliveryUnknown": false + } + }, + "48e2bdc38094": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "4b0fb2833d76": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "518ec57c381a": { + "ownership": "uncaptured" + }, + "6116946241ca": { + "name": "ssh.getState#1", + "args": [ + { + "name": "method", + "value": "ssh.getState" + }, + { + "name": "params", + "value": { + "targetId": "target-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "state": { + "connectionGeneration": 3, + "error": { + "$rpc": "null" + }, + "reconnectAttempt": 0, + "status": "connected", + "targetId": "target-1" + } + } + } + } + }, + "68ce4d376250": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "TypeError", + "message": "Cannot read properties of null (reading 'capabilities')", + "isRpcDeliveryUnknown": false + } + }, + "6ef43f81f7e3": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "worktree": { + "hostId": "ssh:target-1" + } + } + } + } + }, + "74a9cdb3c227": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "753f8f2aac3b": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-1", + "ok": false + } + } + }, + "848eaee9cd6a": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "TypeError", + "message": "Cannot read properties of undefined (reading 'capabilities')", + "isRpcDeliveryUnknown": false + } + }, + "90817e8c47cb": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "9199aee60486": { + "name": "worktree.show#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:workspace-1\"}}" + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "9ce0c7923c41": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Remote file changes require a newer Orca server. Update the HUB and try again.", + "isRpcDeliveryUnknown": false + } + }, + "a0341e6a5d84": { + "name": "ssh.getState#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.getState\",\"params\":{\"targetId\":\"target-1\"}}" + }, + "a56852d6836b": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "capabilities": ["files.mutation-ownership.v1"] + } + } + } + }, + "a8d9f204690e": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "b948e8307e81": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Unknown method", + "isRpcDeliveryUnknown": false + } + }, + "bc119660f0c1": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "bd84dadd27c7": { + "ownership": { + "expectedExecutionHostId": "ssh:target-1", + "expectedSshConnectionGeneration": 3, + "expectedSshTargetId": "target-1" + } + }, + "c7584e82c72f": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + }, + "f2a2b92aa73c": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "f3b516f62081": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": false + } + }, + "f68f9c806fb2": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + } + }, + "recording": { + "scenario": "matrix-files.mutation-ownership-status.get-1", + "checkpoints": [ + { + "id": "files-ownership-ssh.prelude:status-pending", + "observation": { + "sender": ["bc119660f0c1"], + "payloads": ["1e5b32902af7"], + "settlements": { + "capture": "9270aeb7d9c6" + }, + "state": "518ec57c381a", + "effects": [] + } + }, + { + "id": "files-ownership-ssh.normal:settled", + "observation": { + "sender": ["a56852d6836b", "6ef43f81f7e3", "6116946241ca"], + "payloads": ["1e5b32902af7", "9199aee60486", "a0341e6a5d84"], + "settlements": { + "capture": "29bfbe94cca9" + }, + "state": "bd84dadd27c7", + "effects": [] + } + }, + { + "id": "files-ownership-ssh.result-absent:settled", + "observation": { + "sender": ["90817e8c47cb"], + "payloads": ["1e5b32902af7"], + "settlements": { + "capture": "848eaee9cd6a" + }, + "state": "518ec57c381a", + "effects": [] + } + }, + { + "id": "files-ownership-ssh.result-null:settled", + "observation": { + "sender": ["0d163aa89099"], + "payloads": ["1e5b32902af7"], + "settlements": { + "capture": "68ce4d376250" + }, + "state": "518ec57c381a", + "effects": [] + } + }, + { + "id": "files-ownership-ssh.inner-ok-missing:settled", + "observation": { + "sender": ["48e2bdc38094"], + "payloads": ["1e5b32902af7"], + "settlements": { + "capture": "9ce0c7923c41" + }, + "state": "518ec57c381a", + "effects": [] + } + }, + { + "id": "files-ownership-ssh.inner-false-string-error:settled", + "observation": { + "sender": ["f2a2b92aa73c"], + "payloads": ["1e5b32902af7"], + "settlements": { + "capture": "9ce0c7923c41" + }, + "state": "518ec57c381a", + "effects": [] + } + }, + { + "id": "files-ownership-ssh.inner-false-object-error:settled", + "observation": { + "sender": ["f68f9c806fb2"], + "payloads": ["1e5b32902af7"], + "settlements": { + "capture": "9ce0c7923c41" + }, + "state": "518ec57c381a", + "effects": [] + } + }, + { + "id": "files-ownership-ssh.outer-refused:settled", + "observation": { + "sender": ["0b7588536afb"], + "payloads": ["1e5b32902af7"], + "settlements": { + "capture": "32a7c0ae7918" + }, + "state": "518ec57c381a", + "effects": [] + } + }, + { + "id": "files-ownership-ssh.outer-refused-no-message:settled", + "observation": { + "sender": ["a8d9f204690e"], + "payloads": ["1e5b32902af7"], + "settlements": { + "capture": "f3b516f62081" + }, + "state": "518ec57c381a", + "effects": [] + } + }, + { + "id": "files-ownership-ssh.method-not-found:settled", + "observation": { + "sender": ["753f8f2aac3b"], + "payloads": ["1e5b32902af7"], + "settlements": { + "capture": "b948e8307e81" + }, + "state": "518ec57c381a", + "effects": [] + } + }, + { + "id": "files-ownership-ssh.transport-rejection:settled", + "observation": { + "sender": ["4b0fb2833d76"], + "payloads": ["1e5b32902af7"], + "settlements": { + "capture": "a947768bc0ed" + }, + "state": "518ec57c381a", + "effects": [] + } + }, + { + "id": "files-ownership-ssh.transport-rejection-no-message:settled", + "observation": { + "sender": ["74a9cdb3c227"], + "payloads": ["1e5b32902af7"], + "settlements": { + "capture": "c7584e82c72f" + }, + "state": "518ec57c381a", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-files.mutation-ownership-worktree.show-1.json b/mobile/rpc-foundation/goldens/matrix-files.mutation-ownership-worktree.show-1.json new file mode 100644 index 00000000000..d4b3e7c275e --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-files.mutation-ownership-worktree.show-1.json @@ -0,0 +1,746 @@ +{ + "operation": "files.mutation-ownership", + "family": "files.mutation-ownership", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "b93fc8b6f1ece041acaa8cc5699852085e67d7e2f39db13145e483f854ea3309", + "scenarioSha256": "0bf3b17048bceb0bc8592405facd99cb8086274509206d9e55cd589a05d7415f", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "06cbb9a1b167": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "0b4d42954d52": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "1e5b32902af7": { + "name": "status.get#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "2588fd63a157": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "TypeError", + "message": "Cannot read properties of undefined (reading 'worktree')", + "isRpcDeliveryUnknown": false + } + }, + "29bfbe94cca9": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "expectedExecutionHostId": "ssh:target-1", + "expectedSshConnectionGeneration": 3, + "expectedSshTargetId": "target-1" + } + }, + "2fa02ab5402f": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "32a7c0ae7918": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "outer refused", + "isRpcDeliveryUnknown": false + } + }, + "39a0b3c0e319": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "518ec57c381a": { + "ownership": "uncaptured" + }, + "533d020d6123": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "6116946241ca": { + "name": "ssh.getState#1", + "args": [ + { + "name": "method", + "value": "ssh.getState" + }, + { + "name": "params", + "value": { + "targetId": "target-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "state": { + "connectionGeneration": 3, + "error": { + "$rpc": "null" + }, + "reconnectAttempt": 0, + "status": "connected", + "targetId": "target-1" + } + } + } + } + }, + "6178f3695366": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Couldn't verify the SSH connection. Reconnect the host and try again.", + "isRpcDeliveryUnknown": false + } + }, + "6ef43f81f7e3": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "worktree": { + "hostId": "ssh:target-1" + } + } + } + } + }, + "8845bcbdc51b": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "9199aee60486": { + "name": "worktree.show#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:workspace-1\"}}" + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "a0341e6a5d84": { + "name": "ssh.getState#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.getState\",\"params\":{\"targetId\":\"target-1\"}}" + }, + "a56852d6836b": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "capabilities": ["files.mutation-ownership.v1"] + } + } + } + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "b5447f4dd931": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "TypeError", + "message": "Cannot read properties of null (reading 'worktree')", + "isRpcDeliveryUnknown": false + } + }, + "b948e8307e81": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Unknown method", + "isRpcDeliveryUnknown": false + } + }, + "bc119660f0c1": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "bd84dadd27c7": { + "ownership": { + "expectedExecutionHostId": "ssh:target-1", + "expectedSshConnectionGeneration": 3, + "expectedSshTargetId": "target-1" + } + }, + "c6aa5c0a7bd1": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "c7584e82c72f": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + }, + "cff8b7a5e7ce": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "f3b516f62081": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": false + } + }, + "fc05e7103b6c": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "fd50303f30ce": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + } + }, + "recording": { + "scenario": "matrix-files.mutation-ownership-worktree.show-1", + "checkpoints": [ + { + "id": "files-ownership-ssh.prelude:status-pending", + "observation": { + "sender": ["bc119660f0c1"], + "payloads": ["1e5b32902af7"], + "settlements": { + "capture": "9270aeb7d9c6" + }, + "state": "518ec57c381a", + "effects": [] + } + }, + { + "id": "files-ownership-ssh.normal:settled", + "observation": { + "sender": ["a56852d6836b", "6ef43f81f7e3", "6116946241ca"], + "payloads": ["1e5b32902af7", "9199aee60486", "a0341e6a5d84"], + "settlements": { + "capture": "29bfbe94cca9" + }, + "state": "bd84dadd27c7", + "effects": [] + } + }, + { + "id": "files-ownership-ssh.result-absent:settled", + "observation": { + "sender": ["a56852d6836b", "533d020d6123"], + "payloads": ["1e5b32902af7", "9199aee60486"], + "settlements": { + "capture": "2588fd63a157" + }, + "state": "518ec57c381a", + "effects": [] + } + }, + { + "id": "files-ownership-ssh.result-null:settled", + "observation": { + "sender": ["a56852d6836b", "39a0b3c0e319"], + "payloads": ["1e5b32902af7", "9199aee60486"], + "settlements": { + "capture": "b5447f4dd931" + }, + "state": "518ec57c381a", + "effects": [] + } + }, + { + "id": "files-ownership-ssh.inner-ok-missing:settled", + "observation": { + "sender": ["a56852d6836b", "06cbb9a1b167"], + "payloads": ["1e5b32902af7", "9199aee60486"], + "settlements": { + "capture": "6178f3695366" + }, + "state": "518ec57c381a", + "effects": [] + } + }, + { + "id": "files-ownership-ssh.inner-false-string-error:settled", + "observation": { + "sender": ["a56852d6836b", "8845bcbdc51b"], + "payloads": ["1e5b32902af7", "9199aee60486"], + "settlements": { + "capture": "6178f3695366" + }, + "state": "518ec57c381a", + "effects": [] + } + }, + { + "id": "files-ownership-ssh.inner-false-object-error:settled", + "observation": { + "sender": ["a56852d6836b", "2fa02ab5402f"], + "payloads": ["1e5b32902af7", "9199aee60486"], + "settlements": { + "capture": "6178f3695366" + }, + "state": "518ec57c381a", + "effects": [] + } + }, + { + "id": "files-ownership-ssh.outer-refused:settled", + "observation": { + "sender": ["a56852d6836b", "cff8b7a5e7ce"], + "payloads": ["1e5b32902af7", "9199aee60486"], + "settlements": { + "capture": "32a7c0ae7918" + }, + "state": "518ec57c381a", + "effects": [] + } + }, + { + "id": "files-ownership-ssh.outer-refused-no-message:settled", + "observation": { + "sender": ["a56852d6836b", "0b4d42954d52"], + "payloads": ["1e5b32902af7", "9199aee60486"], + "settlements": { + "capture": "f3b516f62081" + }, + "state": "518ec57c381a", + "effects": [] + } + }, + { + "id": "files-ownership-ssh.method-not-found:settled", + "observation": { + "sender": ["a56852d6836b", "c6aa5c0a7bd1"], + "payloads": ["1e5b32902af7", "9199aee60486"], + "settlements": { + "capture": "b948e8307e81" + }, + "state": "518ec57c381a", + "effects": [] + } + }, + { + "id": "files-ownership-ssh.transport-rejection:settled", + "observation": { + "sender": ["a56852d6836b", "fd50303f30ce"], + "payloads": ["1e5b32902af7", "9199aee60486"], + "settlements": { + "capture": "a947768bc0ed" + }, + "state": "518ec57c381a", + "effects": [] + } + }, + { + "id": "files-ownership-ssh.transport-rejection-no-message:settled", + "observation": { + "sender": ["a56852d6836b", "fc05e7103b6c"], + "payloads": ["1e5b32902af7", "9199aee60486"], + "settlements": { + "capture": "c7584e82c72f" + }, + "state": "518ec57c381a", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-files.preview-load-files.readterminalartifact-1.json b/mobile/rpc-foundation/goldens/matrix-files.preview-load-files.readterminalartifact-1.json new file mode 100644 index 00000000000..d0a315cf5b9 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-files.preview-load-files.readterminalartifact-1.json @@ -0,0 +1,649 @@ +{ + "operation": "files.preview-load", + "family": "files.preview-load", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "b93fc8b6f1ece041acaa8cc5699852085e67d7e2f39db13145e483f854ea3309", + "scenarioSha256": "dbd20e271999641affbd4b52635c8864e25f08aa6db820a46d0773faa09770c6", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "139c55987ba6": { + "name": "files.readTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "15467bba2d60": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "message": "Unable to load preview", + "reconnect": false, + "status": "error" + } + }, + "194fabd9b9d8": { + "name": "files.readTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "byteLength": 5, + "content": "hello", + "truncated": false + } + } + } + }, + "500d95d47092": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "byteLength": 5, + "content": "hello", + "kind": "text", + "status": "ready", + "truncated": false + } + }, + "645c5754be42": { + "preview": "unloaded" + }, + "67427c41b324": { + "name": "files.readTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "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 + } + } + } + }, + "68b5d189bcca": { + "name": "files.readTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "7500d091ea19": { + "name": "files.readTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "784ea351e5b2": { + "preview": { + "byteLength": 5, + "content": "hello", + "kind": "text", + "status": "ready", + "truncated": false + } + }, + "7886fcdc8065": { + "name": "files.readTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "9d9aa1c01790": { + "name": "files.readTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "ac130adfeffb": { + "name": "files.readTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "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 + } + } + }, + "c7584e82c72f": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + }, + "e0401d205ea2": { + "name": "files.readTerminalArtifact#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.readTerminalArtifact\",\"params\":{\"worktree\":\"id:workspace-1\",\"absolutePath\":\"/logs/run.txt\",\"grantId\":\"grant-1\"}}" + }, + "e088aa7f81b8": { + "name": "files.readTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "e2791dca552b": { + "name": "files.readTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "e81d5596c201": { + "name": "files.readTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "f488aff81e98": { + "name": "files.readTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "fba5e3c89244": { + "preview": { + "message": "Unable to load preview", + "reconnect": false, + "status": "error" + } + } + }, + "recording": { + "scenario": "matrix-files.preview-load-files.readterminalartifact-1", + "checkpoints": [ + { + "id": "files-preview-grant-refresh.prelude:read-pending", + "observation": { + "sender": ["e81d5596c201"], + "payloads": ["e0401d205ea2"], + "settlements": { + "load": "9270aeb7d9c6" + }, + "state": "645c5754be42", + "effects": [] + } + }, + { + "id": "files-preview-grant-refresh.normal:settled", + "observation": { + "sender": ["194fabd9b9d8"], + "payloads": ["e0401d205ea2"], + "settlements": { + "load": "500d95d47092" + }, + "state": "784ea351e5b2", + "effects": [] + } + }, + { + "id": "files-preview-grant-refresh.result-absent:settled", + "observation": { + "sender": ["139c55987ba6"], + "payloads": ["e0401d205ea2"], + "settlements": { + "load": "15467bba2d60" + }, + "state": "fba5e3c89244", + "effects": [] + } + }, + { + "id": "files-preview-grant-refresh.result-null:settled", + "observation": { + "sender": ["7500d091ea19"], + "payloads": ["e0401d205ea2"], + "settlements": { + "load": "15467bba2d60" + }, + "state": "fba5e3c89244", + "effects": [] + } + }, + { + "id": "files-preview-grant-refresh.inner-ok-missing:settled", + "observation": { + "sender": ["f488aff81e98"], + "payloads": ["e0401d205ea2"], + "settlements": { + "load": "15467bba2d60" + }, + "state": "fba5e3c89244", + "effects": [] + } + }, + { + "id": "files-preview-grant-refresh.inner-false-string-error:settled", + "observation": { + "sender": ["e088aa7f81b8"], + "payloads": ["e0401d205ea2"], + "settlements": { + "load": "15467bba2d60" + }, + "state": "fba5e3c89244", + "effects": [] + } + }, + { + "id": "files-preview-grant-refresh.inner-false-object-error:settled", + "observation": { + "sender": ["67427c41b324"], + "payloads": ["e0401d205ea2"], + "settlements": { + "load": "15467bba2d60" + }, + "state": "fba5e3c89244", + "effects": [] + } + }, + { + "id": "files-preview-grant-refresh.outer-refused:settled", + "observation": { + "sender": ["68b5d189bcca"], + "payloads": ["e0401d205ea2"], + "settlements": { + "load": "15467bba2d60" + }, + "state": "fba5e3c89244", + "effects": [] + } + }, + { + "id": "files-preview-grant-refresh.outer-refused-no-message:settled", + "observation": { + "sender": ["e2791dca552b"], + "payloads": ["e0401d205ea2"], + "settlements": { + "load": "15467bba2d60" + }, + "state": "fba5e3c89244", + "effects": [] + } + }, + { + "id": "files-preview-grant-refresh.method-not-found:settled", + "observation": { + "sender": ["ac130adfeffb"], + "payloads": ["e0401d205ea2"], + "settlements": { + "load": "15467bba2d60" + }, + "state": "fba5e3c89244", + "effects": [] + } + }, + { + "id": "files-preview-grant-refresh.transport-rejection:settled", + "observation": { + "sender": ["7886fcdc8065"], + "payloads": ["e0401d205ea2"], + "settlements": { + "load": "a947768bc0ed" + }, + "state": "645c5754be42", + "effects": [] + } + }, + { + "id": "files-preview-grant-refresh.transport-rejection-no-message:settled", + "observation": { + "sender": ["9d9aa1c01790"], + "payloads": ["e0401d205ea2"], + "settlements": { + "load": "c7584e82c72f" + }, + "state": "645c5754be42", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-files.preview-load-files.readterminalartifact-2.json b/mobile/rpc-foundation/goldens/matrix-files.preview-load-files.readterminalartifact-2.json new file mode 100644 index 00000000000..1f46d5cab53 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-files.preview-load-files.readterminalartifact-2.json @@ -0,0 +1,748 @@ +{ + "operation": "files.preview-load", + "family": "files.preview-load", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "b93fc8b6f1ece041acaa8cc5699852085e67d7e2f39db13145e483f854ea3309", + "scenarioSha256": "c4a09003352ba4e97a17ec4109cc125298cf7123b317265cc5eca06e8dcc0615", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "15467bba2d60": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "message": "Unable to load preview", + "reconnect": false, + "status": "error" + } + }, + "23897314fbe2": { + "name": "files.readTerminalArtifact#2", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-2", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "25b0d1737c71": { + "name": "files.readTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "terminal_file_grant_expired", + "message": "Grant expired" + }, + "id": "frame-1", + "ok": false + } + } + }, + "3c5492779d85": { + "name": "files.resolveTerminalPath#1", + "args": [ + { + "name": "method", + "value": "files.resolveTerminalPath" + }, + { + "name": "params", + "value": { + "cwd": "/logs", + "pathText": "run.txt", + "terminal": "terminal-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "exists": true, + "isDirectory": false, + "openTarget": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-2", + "kind": "absolute-file" + } + } + } + } + }, + "500d95d47092": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "byteLength": 5, + "content": "hello", + "kind": "text", + "status": "ready", + "truncated": false + } + }, + "5f446c109a9a": { + "name": "files.readTerminalArtifact#2", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-2", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "byteLength": 5, + "content": "hello", + "truncated": false + } + } + } + }, + "63abc54b3e87": { + "name": "artifact-source-refreshed", + "value": { + "absolutePath": "/logs/run.txt", + "cwd": "/logs", + "grantId": "grant-2", + "pathText": "run.txt", + "source": "terminalArtifact", + "terminalHandle": "terminal-1", + "worktreeId": "workspace-1" + }, + "sent": 2 + }, + "645c5754be42": { + "preview": "unloaded" + }, + "68b4cb95d67a": { + "name": "files.readTerminalArtifact#2", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-2", + "worktree": "id:workspace-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 + } + } + } + }, + "70356f9cd814": { + "name": "files.readTerminalArtifact#2", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-2", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "784ea351e5b2": { + "preview": { + "byteLength": 5, + "content": "hello", + "kind": "text", + "status": "ready", + "truncated": false + } + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "9a56ffbdd5bf": { + "name": "files.resolveTerminalPath#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"files.resolveTerminalPath\",\"params\":{\"worktree\":\"id:workspace-1\",\"pathText\":\"run.txt\",\"cwd\":\"/logs\",\"terminal\":\"terminal-1\"}}" + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "b1c3cb621eff": { + "name": "files.readTerminalArtifact#2", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-2", + "worktree": "id:workspace-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 + } + } + }, + "c01a147cb225": { + "name": "files.readTerminalArtifact#2", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-2", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "c283e01480f7": { + "name": "files.readTerminalArtifact#2", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"files.readTerminalArtifact\",\"params\":{\"worktree\":\"id:workspace-1\",\"absolutePath\":\"/logs/run.txt\",\"grantId\":\"grant-2\"}}" + }, + "c727a49c2e15": { + "name": "files.readTerminalArtifact#2", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-2", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-3", + "ok": false + } + } + }, + "c7584e82c72f": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + }, + "ca6bf3108851": { + "name": "files.readTerminalArtifact#2", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-2", + "worktree": "id:workspace-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 + } + } + }, + "e0401d205ea2": { + "name": "files.readTerminalArtifact#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.readTerminalArtifact\",\"params\":{\"worktree\":\"id:workspace-1\",\"absolutePath\":\"/logs/run.txt\",\"grantId\":\"grant-1\"}}" + }, + "e81d5596c201": { + "name": "files.readTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "ebf2a6ee078d": { + "name": "files.readTerminalArtifact#2", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-2", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "edcd6a3e98cd": { + "name": "files.readTerminalArtifact#2", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-2", + "worktree": "id:workspace-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 + } + } + } + }, + "f444aa03ba44": { + "name": "files.readTerminalArtifact#2", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-2", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true + } + } + }, + "fba5e3c89244": { + "preview": { + "message": "Unable to load preview", + "reconnect": false, + "status": "error" + } + } + }, + "recording": { + "scenario": "matrix-files.preview-load-files.readterminalartifact-2", + "checkpoints": [ + { + "id": "files-preview-grant-refresh.prelude:read-pending", + "observation": { + "sender": ["e81d5596c201"], + "payloads": ["e0401d205ea2"], + "settlements": { + "load": "9270aeb7d9c6" + }, + "state": "645c5754be42", + "effects": [] + } + }, + { + "id": "files-preview-grant-refresh.normal:settled", + "observation": { + "sender": ["25b0d1737c71", "3c5492779d85", "5f446c109a9a"], + "payloads": ["e0401d205ea2", "9a56ffbdd5bf", "c283e01480f7"], + "settlements": { + "load": "500d95d47092" + }, + "state": "784ea351e5b2", + "effects": ["63abc54b3e87"] + } + }, + { + "id": "files-preview-grant-refresh.result-absent:settled", + "observation": { + "sender": ["25b0d1737c71", "3c5492779d85", "f444aa03ba44"], + "payloads": ["e0401d205ea2", "9a56ffbdd5bf", "c283e01480f7"], + "settlements": { + "load": "15467bba2d60" + }, + "state": "fba5e3c89244", + "effects": ["63abc54b3e87"] + } + }, + { + "id": "files-preview-grant-refresh.result-null:settled", + "observation": { + "sender": ["25b0d1737c71", "3c5492779d85", "23897314fbe2"], + "payloads": ["e0401d205ea2", "9a56ffbdd5bf", "c283e01480f7"], + "settlements": { + "load": "15467bba2d60" + }, + "state": "fba5e3c89244", + "effects": ["63abc54b3e87"] + } + }, + { + "id": "files-preview-grant-refresh.inner-ok-missing:settled", + "observation": { + "sender": ["25b0d1737c71", "3c5492779d85", "c01a147cb225"], + "payloads": ["e0401d205ea2", "9a56ffbdd5bf", "c283e01480f7"], + "settlements": { + "load": "15467bba2d60" + }, + "state": "fba5e3c89244", + "effects": ["63abc54b3e87"] + } + }, + { + "id": "files-preview-grant-refresh.inner-false-string-error:settled", + "observation": { + "sender": ["25b0d1737c71", "3c5492779d85", "68b4cb95d67a"], + "payloads": ["e0401d205ea2", "9a56ffbdd5bf", "c283e01480f7"], + "settlements": { + "load": "15467bba2d60" + }, + "state": "fba5e3c89244", + "effects": ["63abc54b3e87"] + } + }, + { + "id": "files-preview-grant-refresh.inner-false-object-error:settled", + "observation": { + "sender": ["25b0d1737c71", "3c5492779d85", "edcd6a3e98cd"], + "payloads": ["e0401d205ea2", "9a56ffbdd5bf", "c283e01480f7"], + "settlements": { + "load": "15467bba2d60" + }, + "state": "fba5e3c89244", + "effects": ["63abc54b3e87"] + } + }, + { + "id": "files-preview-grant-refresh.outer-refused:settled", + "observation": { + "sender": ["25b0d1737c71", "3c5492779d85", "b1c3cb621eff"], + "payloads": ["e0401d205ea2", "9a56ffbdd5bf", "c283e01480f7"], + "settlements": { + "load": "15467bba2d60" + }, + "state": "fba5e3c89244", + "effects": ["63abc54b3e87"] + } + }, + { + "id": "files-preview-grant-refresh.outer-refused-no-message:settled", + "observation": { + "sender": ["25b0d1737c71", "3c5492779d85", "c727a49c2e15"], + "payloads": ["e0401d205ea2", "9a56ffbdd5bf", "c283e01480f7"], + "settlements": { + "load": "15467bba2d60" + }, + "state": "fba5e3c89244", + "effects": ["63abc54b3e87"] + } + }, + { + "id": "files-preview-grant-refresh.method-not-found:settled", + "observation": { + "sender": ["25b0d1737c71", "3c5492779d85", "ca6bf3108851"], + "payloads": ["e0401d205ea2", "9a56ffbdd5bf", "c283e01480f7"], + "settlements": { + "load": "15467bba2d60" + }, + "state": "fba5e3c89244", + "effects": ["63abc54b3e87"] + } + }, + { + "id": "files-preview-grant-refresh.transport-rejection:settled", + "observation": { + "sender": ["25b0d1737c71", "3c5492779d85", "ebf2a6ee078d"], + "payloads": ["e0401d205ea2", "9a56ffbdd5bf", "c283e01480f7"], + "settlements": { + "load": "a947768bc0ed" + }, + "state": "645c5754be42", + "effects": ["63abc54b3e87"] + } + }, + { + "id": "files-preview-grant-refresh.transport-rejection-no-message:settled", + "observation": { + "sender": ["25b0d1737c71", "3c5492779d85", "70356f9cd814"], + "payloads": ["e0401d205ea2", "9a56ffbdd5bf", "c283e01480f7"], + "settlements": { + "load": "c7584e82c72f" + }, + "state": "645c5754be42", + "effects": ["63abc54b3e87"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-files.preview-load-files.resolveterminalpath-1.json b/mobile/rpc-foundation/goldens/matrix-files.preview-load-files.resolveterminalpath-1.json new file mode 100644 index 00000000000..b40683499db --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-files.preview-load-files.resolveterminalpath-1.json @@ -0,0 +1,758 @@ +{ + "operation": "files.preview-load", + "family": "files.preview-load", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "b93fc8b6f1ece041acaa8cc5699852085e67d7e2f39db13145e483f854ea3309", + "scenarioSha256": "ecdeff2713e454925158dde09782713d76f39455729bb25688a6ffcfff154f30", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "05c972dfc190": { + "name": "files.resolveTerminalPath#1", + "args": [ + { + "name": "method", + "value": "files.resolveTerminalPath" + }, + { + "name": "params", + "value": { + "cwd": "/logs", + "pathText": "run.txt", + "terminal": "terminal-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "15467bba2d60": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "message": "Unable to load preview", + "reconnect": false, + "status": "error" + } + }, + "25b0d1737c71": { + "name": "files.readTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "terminal_file_grant_expired", + "message": "Grant expired" + }, + "id": "frame-1", + "ok": false + } + } + }, + "30954e0c83e6": { + "name": "files.resolveTerminalPath#1", + "args": [ + { + "name": "method", + "value": "files.resolveTerminalPath" + }, + { + "name": "params", + "value": { + "cwd": "/logs", + "pathText": "run.txt", + "terminal": "terminal-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "3c5492779d85": { + "name": "files.resolveTerminalPath#1", + "args": [ + { + "name": "method", + "value": "files.resolveTerminalPath" + }, + { + "name": "params", + "value": { + "cwd": "/logs", + "pathText": "run.txt", + "terminal": "terminal-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "exists": true, + "isDirectory": false, + "openTarget": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-2", + "kind": "absolute-file" + } + } + } + } + }, + "500d95d47092": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "byteLength": 5, + "content": "hello", + "kind": "text", + "status": "ready", + "truncated": false + } + }, + "5f446c109a9a": { + "name": "files.readTerminalArtifact#2", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-2", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "byteLength": 5, + "content": "hello", + "truncated": false + } + } + } + }, + "63abc54b3e87": { + "name": "artifact-source-refreshed", + "value": { + "absolutePath": "/logs/run.txt", + "cwd": "/logs", + "grantId": "grant-2", + "pathText": "run.txt", + "source": "terminalArtifact", + "terminalHandle": "terminal-1", + "worktreeId": "workspace-1" + }, + "sent": 2 + }, + "645c5754be42": { + "preview": "unloaded" + }, + "784ea351e5b2": { + "preview": { + "byteLength": 5, + "content": "hello", + "kind": "text", + "status": "ready", + "truncated": false + } + }, + "7f321cd7152f": { + "name": "files.resolveTerminalPath#1", + "args": [ + { + "name": "method", + "value": "files.resolveTerminalPath" + }, + { + "name": "params", + "value": { + "cwd": "/logs", + "pathText": "run.txt", + "terminal": "terminal-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "8ce900375525": { + "name": "files.resolveTerminalPath#1", + "args": [ + { + "name": "method", + "value": "files.resolveTerminalPath" + }, + { + "name": "params", + "value": { + "cwd": "/logs", + "pathText": "run.txt", + "terminal": "terminal-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "9a56ffbdd5bf": { + "name": "files.resolveTerminalPath#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"files.resolveTerminalPath\",\"params\":{\"worktree\":\"id:workspace-1\",\"pathText\":\"run.txt\",\"cwd\":\"/logs\",\"terminal\":\"terminal-1\"}}" + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "ad2583c82bfe": { + "name": "files.resolveTerminalPath#1", + "args": [ + { + "name": "method", + "value": "files.resolveTerminalPath" + }, + { + "name": "params", + "value": { + "cwd": "/logs", + "pathText": "run.txt", + "terminal": "terminal-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "c283e01480f7": { + "name": "files.readTerminalArtifact#2", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"files.readTerminalArtifact\",\"params\":{\"worktree\":\"id:workspace-1\",\"absolutePath\":\"/logs/run.txt\",\"grantId\":\"grant-2\"}}" + }, + "c469c3b9bfe7": { + "name": "files.resolveTerminalPath#1", + "args": [ + { + "name": "method", + "value": "files.resolveTerminalPath" + }, + { + "name": "params", + "value": { + "cwd": "/logs", + "pathText": "run.txt", + "terminal": "terminal-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "c657a3f0e02b": { + "name": "files.resolveTerminalPath#1", + "args": [ + { + "name": "method", + "value": "files.resolveTerminalPath" + }, + { + "name": "params", + "value": { + "cwd": "/logs", + "pathText": "run.txt", + "terminal": "terminal-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "c7584e82c72f": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + }, + "d9baab0b6b3c": { + "name": "files.resolveTerminalPath#1", + "args": [ + { + "name": "method", + "value": "files.resolveTerminalPath" + }, + { + "name": "params", + "value": { + "cwd": "/logs", + "pathText": "run.txt", + "terminal": "terminal-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "de1ef0907023": { + "name": "files.resolveTerminalPath#1", + "args": [ + { + "name": "method", + "value": "files.resolveTerminalPath" + }, + { + "name": "params", + "value": { + "cwd": "/logs", + "pathText": "run.txt", + "terminal": "terminal-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "e0401d205ea2": { + "name": "files.readTerminalArtifact#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.readTerminalArtifact\",\"params\":{\"worktree\":\"id:workspace-1\",\"absolutePath\":\"/logs/run.txt\",\"grantId\":\"grant-1\"}}" + }, + "e81d5596c201": { + "name": "files.readTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "efd7ff51072f": { + "name": "files.resolveTerminalPath#1", + "args": [ + { + "name": "method", + "value": "files.resolveTerminalPath" + }, + { + "name": "params", + "value": { + "cwd": "/logs", + "pathText": "run.txt", + "terminal": "terminal-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "fba5e3c89244": { + "preview": { + "message": "Unable to load preview", + "reconnect": false, + "status": "error" + } + } + }, + "recording": { + "scenario": "matrix-files.preview-load-files.resolveterminalpath-1", + "checkpoints": [ + { + "id": "files-preview-grant-refresh.prelude:read-pending", + "observation": { + "sender": ["e81d5596c201"], + "payloads": ["e0401d205ea2"], + "settlements": { + "load": "9270aeb7d9c6" + }, + "state": "645c5754be42", + "effects": [] + } + }, + { + "id": "files-preview-grant-refresh.normal:settled", + "observation": { + "sender": ["25b0d1737c71", "3c5492779d85", "5f446c109a9a"], + "payloads": ["e0401d205ea2", "9a56ffbdd5bf", "c283e01480f7"], + "settlements": { + "load": "500d95d47092" + }, + "state": "784ea351e5b2", + "effects": ["63abc54b3e87"] + } + }, + { + "id": "files-preview-grant-refresh.result-absent:settled", + "observation": { + "sender": ["25b0d1737c71", "05c972dfc190"], + "payloads": ["e0401d205ea2", "9a56ffbdd5bf"], + "settlements": { + "load": "15467bba2d60" + }, + "state": "fba5e3c89244", + "effects": [] + } + }, + { + "id": "files-preview-grant-refresh.result-null:settled", + "observation": { + "sender": ["25b0d1737c71", "c469c3b9bfe7"], + "payloads": ["e0401d205ea2", "9a56ffbdd5bf"], + "settlements": { + "load": "15467bba2d60" + }, + "state": "fba5e3c89244", + "effects": [] + } + }, + { + "id": "files-preview-grant-refresh.inner-ok-missing:settled", + "observation": { + "sender": ["25b0d1737c71", "c657a3f0e02b"], + "payloads": ["e0401d205ea2", "9a56ffbdd5bf"], + "settlements": { + "load": "15467bba2d60" + }, + "state": "fba5e3c89244", + "effects": [] + } + }, + { + "id": "files-preview-grant-refresh.inner-false-string-error:settled", + "observation": { + "sender": ["25b0d1737c71", "8ce900375525"], + "payloads": ["e0401d205ea2", "9a56ffbdd5bf"], + "settlements": { + "load": "15467bba2d60" + }, + "state": "fba5e3c89244", + "effects": [] + } + }, + { + "id": "files-preview-grant-refresh.inner-false-object-error:settled", + "observation": { + "sender": ["25b0d1737c71", "d9baab0b6b3c"], + "payloads": ["e0401d205ea2", "9a56ffbdd5bf"], + "settlements": { + "load": "15467bba2d60" + }, + "state": "fba5e3c89244", + "effects": [] + } + }, + { + "id": "files-preview-grant-refresh.outer-refused:settled", + "observation": { + "sender": ["25b0d1737c71", "ad2583c82bfe"], + "payloads": ["e0401d205ea2", "9a56ffbdd5bf"], + "settlements": { + "load": "15467bba2d60" + }, + "state": "fba5e3c89244", + "effects": [] + } + }, + { + "id": "files-preview-grant-refresh.outer-refused-no-message:settled", + "observation": { + "sender": ["25b0d1737c71", "30954e0c83e6"], + "payloads": ["e0401d205ea2", "9a56ffbdd5bf"], + "settlements": { + "load": "15467bba2d60" + }, + "state": "fba5e3c89244", + "effects": [] + } + }, + { + "id": "files-preview-grant-refresh.method-not-found:settled", + "observation": { + "sender": ["25b0d1737c71", "efd7ff51072f"], + "payloads": ["e0401d205ea2", "9a56ffbdd5bf"], + "settlements": { + "load": "15467bba2d60" + }, + "state": "fba5e3c89244", + "effects": [] + } + }, + { + "id": "files-preview-grant-refresh.transport-rejection:settled", + "observation": { + "sender": ["25b0d1737c71", "7f321cd7152f"], + "payloads": ["e0401d205ea2", "9a56ffbdd5bf"], + "settlements": { + "load": "a947768bc0ed" + }, + "state": "645c5754be42", + "effects": [] + } + }, + { + "id": "files-preview-grant-refresh.transport-rejection-no-message:settled", + "observation": { + "sender": ["25b0d1737c71", "de1ef0907023"], + "payloads": ["e0401d205ea2", "9a56ffbdd5bf"], + "settlements": { + "load": "c7584e82c72f" + }, + "state": "645c5754be42", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-files.preview-save-files.readterminalartifact-1.json b/mobile/rpc-foundation/goldens/matrix-files.preview-save-files.readterminalartifact-1.json new file mode 100644 index 00000000000..fd1384d0d67 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-files.preview-save-files.readterminalartifact-1.json @@ -0,0 +1,681 @@ +{ + "operation": "files.preview-save", + "family": "files.preview-save", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "b93fc8b6f1ece041acaa8cc5699852085e67d7e2f39db13145e483f854ea3309", + "scenarioSha256": "1a4f7dff351be244712bedb8f495c83a531cfbfc5b5923267d1ed46bf2d6d11b", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "139c55987ba6": { + "name": "files.readTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "15467bba2d60": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "message": "Unable to load preview", + "reconnect": false, + "status": "error" + } + }, + "54a6055a16b5": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "status": "saved" + } + }, + "5ac141a87b5a": { + "saved": { + "message": "Unable to load preview", + "reconnect": false, + "status": "error" + } + }, + "67427c41b324": { + "name": "files.readTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "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 + } + } + } + }, + "68b5d189bcca": { + "name": "files.readTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "7500d091ea19": { + "name": "files.readTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "7875007ef392": { + "name": "files.writeTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.writeTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "content": "next", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "7886fcdc8065": { + "name": "files.readTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "935100df69e4": { + "saved": "unsaved" + }, + "9d9aa1c01790": { + "name": "files.readTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "a3886e3a9791": { + "name": "files.writeTerminalArtifact#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"files.writeTerminalArtifact\",\"params\":{\"worktree\":\"id:workspace-1\",\"absolutePath\":\"/logs/run.txt\",\"grantId\":\"grant-1\",\"content\":\"next\"}}" + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "ac130adfeffb": { + "name": "files.readTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "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 + } + } + }, + "b3f873eb7d0c": { + "saved": { + "status": "saved" + } + }, + "c7584e82c72f": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + }, + "e0401d205ea2": { + "name": "files.readTerminalArtifact#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.readTerminalArtifact\",\"params\":{\"worktree\":\"id:workspace-1\",\"absolutePath\":\"/logs/run.txt\",\"grantId\":\"grant-1\"}}" + }, + "e088aa7f81b8": { + "name": "files.readTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "e2791dca552b": { + "name": "files.readTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "e391aec81b96": { + "name": "files.readTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "byteLength": 4, + "content": "base", + "truncated": false + } + } + } + }, + "e81d5596c201": { + "name": "files.readTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "f488aff81e98": { + "name": "files.readTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + } + }, + "recording": { + "scenario": "matrix-files.preview-save-files.readterminalartifact-1", + "checkpoints": [ + { + "id": "files-save-verified.prelude:verify-pending", + "observation": { + "sender": ["e81d5596c201"], + "payloads": ["e0401d205ea2"], + "settlements": { + "save": "9270aeb7d9c6" + }, + "state": "935100df69e4", + "effects": [] + } + }, + { + "id": "files-save-verified.normal:settled", + "observation": { + "sender": ["e391aec81b96", "7875007ef392"], + "payloads": ["e0401d205ea2", "a3886e3a9791"], + "settlements": { + "save": "54a6055a16b5" + }, + "state": "b3f873eb7d0c", + "effects": [] + } + }, + { + "id": "files-save-verified.result-absent:settled", + "observation": { + "sender": ["139c55987ba6"], + "payloads": ["e0401d205ea2"], + "settlements": { + "save": "15467bba2d60" + }, + "state": "5ac141a87b5a", + "effects": [] + } + }, + { + "id": "files-save-verified.result-null:settled", + "observation": { + "sender": ["7500d091ea19"], + "payloads": ["e0401d205ea2"], + "settlements": { + "save": "15467bba2d60" + }, + "state": "5ac141a87b5a", + "effects": [] + } + }, + { + "id": "files-save-verified.inner-ok-missing:settled", + "observation": { + "sender": ["f488aff81e98"], + "payloads": ["e0401d205ea2"], + "settlements": { + "save": "15467bba2d60" + }, + "state": "5ac141a87b5a", + "effects": [] + } + }, + { + "id": "files-save-verified.inner-false-string-error:settled", + "observation": { + "sender": ["e088aa7f81b8"], + "payloads": ["e0401d205ea2"], + "settlements": { + "save": "15467bba2d60" + }, + "state": "5ac141a87b5a", + "effects": [] + } + }, + { + "id": "files-save-verified.inner-false-object-error:settled", + "observation": { + "sender": ["67427c41b324"], + "payloads": ["e0401d205ea2"], + "settlements": { + "save": "15467bba2d60" + }, + "state": "5ac141a87b5a", + "effects": [] + } + }, + { + "id": "files-save-verified.outer-refused:settled", + "observation": { + "sender": ["68b5d189bcca"], + "payloads": ["e0401d205ea2"], + "settlements": { + "save": "15467bba2d60" + }, + "state": "5ac141a87b5a", + "effects": [] + } + }, + { + "id": "files-save-verified.outer-refused-no-message:settled", + "observation": { + "sender": ["e2791dca552b"], + "payloads": ["e0401d205ea2"], + "settlements": { + "save": "15467bba2d60" + }, + "state": "5ac141a87b5a", + "effects": [] + } + }, + { + "id": "files-save-verified.method-not-found:settled", + "observation": { + "sender": ["ac130adfeffb"], + "payloads": ["e0401d205ea2"], + "settlements": { + "save": "15467bba2d60" + }, + "state": "5ac141a87b5a", + "effects": [] + } + }, + { + "id": "files-save-verified.transport-rejection:settled", + "observation": { + "sender": ["7886fcdc8065"], + "payloads": ["e0401d205ea2"], + "settlements": { + "save": "a947768bc0ed" + }, + "state": "935100df69e4", + "effects": [] + } + }, + { + "id": "files-save-verified.transport-rejection-no-message:settled", + "observation": { + "sender": ["9d9aa1c01790"], + "payloads": ["e0401d205ea2"], + "settlements": { + "save": "c7584e82c72f" + }, + "state": "935100df69e4", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-files.preview-save-files.writeterminalartifact-1.json b/mobile/rpc-foundation/goldens/matrix-files.preview-save-files.writeterminalartifact-1.json new file mode 100644 index 00000000000..31ef6a9be06 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-files.preview-save-files.writeterminalartifact-1.json @@ -0,0 +1,691 @@ +{ + "operation": "files.preview-save", + "family": "files.preview-save", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "b93fc8b6f1ece041acaa8cc5699852085e67d7e2f39db13145e483f854ea3309", + "scenarioSha256": "8d443bda91fe5a1fa74910d525bb2ec40f639109bc71afbd42bccd949b3d463f", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "15467bba2d60": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "message": "Unable to load preview", + "reconnect": false, + "status": "error" + } + }, + "24195166cf4d": { + "name": "files.writeTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.writeTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "content": "next", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "2e3484ef7995": { + "name": "files.writeTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.writeTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "content": "next", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "3a281590ccf7": { + "name": "files.writeTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.writeTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "content": "next", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "4db44f048a4d": { + "name": "files.writeTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.writeTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "content": "next", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "54a6055a16b5": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "status": "saved" + } + }, + "5ac141a87b5a": { + "saved": { + "message": "Unable to load preview", + "reconnect": false, + "status": "error" + } + }, + "7875007ef392": { + "name": "files.writeTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.writeTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "content": "next", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "78be845b88ca": { + "name": "files.writeTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.writeTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "content": "next", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "82f499ca91c8": { + "name": "files.writeTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.writeTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "content": "next", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "935100df69e4": { + "saved": "unsaved" + }, + "a1ef4333ebe3": { + "name": "files.writeTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.writeTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "content": "next", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "a3886e3a9791": { + "name": "files.writeTerminalArtifact#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"files.writeTerminalArtifact\",\"params\":{\"worktree\":\"id:workspace-1\",\"absolutePath\":\"/logs/run.txt\",\"grantId\":\"grant-1\",\"content\":\"next\"}}" + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "b3f873eb7d0c": { + "saved": { + "status": "saved" + } + }, + "bddbfe5ee1aa": { + "name": "files.writeTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.writeTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "content": "next", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "c09d56029b09": { + "name": "files.writeTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.writeTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "content": "next", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "c7584e82c72f": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + }, + "c889a22fe351": { + "name": "files.writeTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.writeTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "content": "next", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "e0401d205ea2": { + "name": "files.readTerminalArtifact#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.readTerminalArtifact\",\"params\":{\"worktree\":\"id:workspace-1\",\"absolutePath\":\"/logs/run.txt\",\"grantId\":\"grant-1\"}}" + }, + "e391aec81b96": { + "name": "files.readTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "byteLength": 4, + "content": "base", + "truncated": false + } + } + } + }, + "e81d5596c201": { + "name": "files.readTerminalArtifact#1", + "args": [ + { + "name": "method", + "value": "files.readTerminalArtifact" + }, + { + "name": "params", + "value": { + "absolutePath": "/logs/run.txt", + "grantId": "grant-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + } + }, + "recording": { + "scenario": "matrix-files.preview-save-files.writeterminalartifact-1", + "checkpoints": [ + { + "id": "files-save-verified.prelude:verify-pending", + "observation": { + "sender": ["e81d5596c201"], + "payloads": ["e0401d205ea2"], + "settlements": { + "save": "9270aeb7d9c6" + }, + "state": "935100df69e4", + "effects": [] + } + }, + { + "id": "files-save-verified.normal:settled", + "observation": { + "sender": ["e391aec81b96", "7875007ef392"], + "payloads": ["e0401d205ea2", "a3886e3a9791"], + "settlements": { + "save": "54a6055a16b5" + }, + "state": "b3f873eb7d0c", + "effects": [] + } + }, + { + "id": "files-save-verified.result-absent:settled", + "observation": { + "sender": ["e391aec81b96", "a1ef4333ebe3"], + "payloads": ["e0401d205ea2", "a3886e3a9791"], + "settlements": { + "save": "54a6055a16b5" + }, + "state": "b3f873eb7d0c", + "effects": [] + } + }, + { + "id": "files-save-verified.result-null:settled", + "observation": { + "sender": ["e391aec81b96", "c889a22fe351"], + "payloads": ["e0401d205ea2", "a3886e3a9791"], + "settlements": { + "save": "54a6055a16b5" + }, + "state": "b3f873eb7d0c", + "effects": [] + } + }, + { + "id": "files-save-verified.inner-ok-missing:settled", + "observation": { + "sender": ["e391aec81b96", "78be845b88ca"], + "payloads": ["e0401d205ea2", "a3886e3a9791"], + "settlements": { + "save": "54a6055a16b5" + }, + "state": "b3f873eb7d0c", + "effects": [] + } + }, + { + "id": "files-save-verified.inner-false-string-error:settled", + "observation": { + "sender": ["e391aec81b96", "82f499ca91c8"], + "payloads": ["e0401d205ea2", "a3886e3a9791"], + "settlements": { + "save": "54a6055a16b5" + }, + "state": "b3f873eb7d0c", + "effects": [] + } + }, + { + "id": "files-save-verified.inner-false-object-error:settled", + "observation": { + "sender": ["e391aec81b96", "bddbfe5ee1aa"], + "payloads": ["e0401d205ea2", "a3886e3a9791"], + "settlements": { + "save": "54a6055a16b5" + }, + "state": "b3f873eb7d0c", + "effects": [] + } + }, + { + "id": "files-save-verified.outer-refused:settled", + "observation": { + "sender": ["e391aec81b96", "2e3484ef7995"], + "payloads": ["e0401d205ea2", "a3886e3a9791"], + "settlements": { + "save": "15467bba2d60" + }, + "state": "5ac141a87b5a", + "effects": [] + } + }, + { + "id": "files-save-verified.outer-refused-no-message:settled", + "observation": { + "sender": ["e391aec81b96", "c09d56029b09"], + "payloads": ["e0401d205ea2", "a3886e3a9791"], + "settlements": { + "save": "15467bba2d60" + }, + "state": "5ac141a87b5a", + "effects": [] + } + }, + { + "id": "files-save-verified.method-not-found:settled", + "observation": { + "sender": ["e391aec81b96", "4db44f048a4d"], + "payloads": ["e0401d205ea2", "a3886e3a9791"], + "settlements": { + "save": "15467bba2d60" + }, + "state": "5ac141a87b5a", + "effects": [] + } + }, + { + "id": "files-save-verified.transport-rejection:settled", + "observation": { + "sender": ["e391aec81b96", "3a281590ccf7"], + "payloads": ["e0401d205ea2", "a3886e3a9791"], + "settlements": { + "save": "a947768bc0ed" + }, + "state": "935100df69e4", + "effects": [] + } + }, + { + "id": "files-save-verified.transport-rejection-no-message:settled", + "observation": { + "sender": ["e391aec81b96", "24195166cf4d"], + "payloads": ["e0401d205ea2", "a3886e3a9791"], + "settlements": { + "save": "c7584e82c72f" + }, + "state": "935100df69e4", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-files.tab-doc-files.read-1.json b/mobile/rpc-foundation/goldens/matrix-files.tab-doc-files.read-1.json new file mode 100644 index 00000000000..5a09244346c --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-files.tab-doc-files.read-1.json @@ -0,0 +1,861 @@ +{ + "operation": "files.tab-doc", + "family": "files.tab-doc", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "b93fc8b6f1ece041acaa8cc5699852085e67d7e2f39db13145e483f854ea3309", + "scenarioSha256": "65895c028637185238baf4fd4f1297c11f528a289fe8173a41c48dc5a0b37c26", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "02ea3f503180": { + "name": "files.read#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.read\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"docs/readme.md\"}}" + }, + "02ee7655cfac": { + "name": "files.read#1", + "args": [ + { + "name": "method", + "value": "files.read" + }, + { + "name": "params", + "value": { + "relativePath": "docs/readme.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "22c63b806ef5": { + "name": "files.read#1", + "args": [ + { + "name": "method", + "value": "files.read" + }, + { + "name": "params", + "value": { + "relativePath": "docs/readme.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "3073ceba86bd": { + "diff": { + "kind": "diff", + "lines": [ + { + "kind": "delete", + "oldLineNumber": 1, + "text": "a" + }, + { + "kind": "add", + "newLineNumber": 1, + "text": "b" + } + ], + "status": "ready", + "truncated": false + }, + "image": { + "dataUri": "data:image/png;base64,aGk=", + "kind": "image", + "status": "ready" + } + }, + "323bf6059754": { + "name": "files.readPreview#1", + "args": [ + { + "name": "method", + "value": "files.readPreview" + }, + { + "name": "params", + "value": { + "relativePath": "docs/logo.png", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "content": "aGk=", + "isImage": true, + "mimeType": "image/png" + } + } + } + }, + "32a7c0ae7918": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "outer refused", + "isRpcDeliveryUnknown": false + } + }, + "4771cbfc0dfc": { + "name": "files.read#1", + "args": [ + { + "name": "method", + "value": "files.read" + }, + { + "name": "params", + "value": { + "relativePath": "docs/readme.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "5a33eeedb90f": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "byteLength": { + "$rpc": "undefined" + }, + "content": { + "$rpc": "undefined" + }, + "kind": "file", + "status": "ready", + "truncated": { + "$rpc": "undefined" + } + } + }, + "5c610ebe58ed": { + "name": "files.readPreview#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"files.readPreview\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"docs/logo.png\"}}" + }, + "65af9a3f5ad4": { + "name": "files.read#1", + "args": [ + { + "name": "method", + "value": "files.read" + }, + { + "name": "params", + "value": { + "relativePath": "docs/readme.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "6aca770498a6": { + "name": "files.read#1", + "args": [ + { + "name": "method", + "value": "files.read" + }, + { + "name": "params", + "value": { + "relativePath": "docs/readme.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "8595b3c0f792": { + "name": "files.read#1", + "args": [ + { + "name": "method", + "value": "files.read" + }, + { + "name": "params", + "value": { + "relativePath": "docs/readme.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "987f853ccbc2": { + "name": "files.read#1", + "args": [ + { + "name": "method", + "value": "files.read" + }, + { + "name": "params", + "value": { + "relativePath": "docs/readme.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "9babe9503a83": { + "name": "files.read#1", + "args": [ + { + "name": "method", + "value": "files.read" + }, + { + "name": "params", + "value": { + "relativePath": "docs/readme.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "byteLength": 8, + "content": "# readme", + "truncated": false + } + } + } + }, + "a7c7f43265d5": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "TypeError", + "message": "Cannot read properties of null (reading 'content')", + "isRpcDeliveryUnknown": false + } + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "ae1baf99acb7": { + "name": "files.read#1", + "args": [ + { + "name": "method", + "value": "files.read" + }, + { + "name": "params", + "value": { + "relativePath": "docs/readme.md", + "worktree": "id:workspace-1" + } + }, + { + "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 + } + } + } + }, + "b5a9ffe4c713": { + "name": "files.read#1", + "args": [ + { + "name": "method", + "value": "files.read" + }, + { + "name": "params", + "value": { + "relativePath": "docs/readme.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "b5c68b76c498": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "byteLength": 8, + "content": "# readme", + "kind": "file", + "status": "ready", + "truncated": false + } + }, + "b948e8307e81": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Unknown method", + "isRpcDeliveryUnknown": false + } + }, + "ba9332ae7bb1": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "TypeError", + "message": "Cannot read properties of undefined (reading 'content')", + "isRpcDeliveryUnknown": false + } + }, + "c7584e82c72f": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + }, + "c8fbe8972330": { + "name": "git.diff#1", + "args": [ + { + "name": "method", + "value": "git.diff" + }, + { + "name": "params", + "value": { + "filePath": "docs/readme.md", + "staged": true, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "kind": "text", + "modifiedContent": "b\n", + "originalContent": "a\n" + } + } + } + }, + "cb1b85f12e0a": { + "name": "files.read#1", + "args": [ + { + "name": "method", + "value": "files.read" + }, + { + "name": "params", + "value": { + "relativePath": "docs/readme.md", + "worktree": "id:workspace-1" + } + }, + { + "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 + } + } + }, + "ed33ecdb4e8e": { + "diff": { + "kind": "diff", + "lines": [ + { + "kind": "delete", + "oldLineNumber": 1, + "text": "a" + }, + { + "kind": "add", + "newLineNumber": 1, + "text": "b" + } + ], + "status": "ready", + "truncated": false + }, + "image": { + "dataUri": "data:image/png;base64,aGk=", + "kind": "image", + "status": "ready" + }, + "text": { + "byteLength": 8, + "content": "# readme", + "kind": "file", + "status": "ready", + "truncated": false + } + }, + "eee847a9d90d": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "dataUri": "data:image/png;base64,aGk=", + "kind": "image", + "status": "ready" + } + }, + "f3b516f62081": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": false + } + }, + "fad4ca11a316": { + "name": "git.diff#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"git.diff\",\"params\":{\"worktree\":\"id:workspace-1\",\"filePath\":\"docs/readme.md\",\"staged\":true}}" + }, + "fb58498a8798": { + "diff": { + "kind": "diff", + "lines": [ + { + "kind": "delete", + "oldLineNumber": 1, + "text": "a" + }, + { + "kind": "add", + "newLineNumber": 1, + "text": "b" + } + ], + "status": "ready", + "truncated": false + }, + "image": { + "dataUri": "data:image/png;base64,aGk=", + "kind": "image", + "status": "ready" + }, + "text": { + "byteLength": { + "$rpc": "undefined" + }, + "content": { + "$rpc": "undefined" + }, + "kind": "file", + "status": "ready", + "truncated": { + "$rpc": "undefined" + } + } + }, + "ffe1c534d459": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "kind": "diff", + "lines": [ + { + "kind": "delete", + "oldLineNumber": 1, + "text": "a" + }, + { + "kind": "add", + "newLineNumber": 1, + "text": "b" + } + ], + "status": "ready", + "truncated": false + } + } + }, + "recording": { + "scenario": "matrix-files.tab-doc-files.read-1", + "checkpoints": [ + { + "id": "files-tab-doc-shapes.normal:settled", + "observation": { + "sender": ["9babe9503a83", "323bf6059754", "c8fbe8972330"], + "payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"], + "settlements": { + "text": "b5c68b76c498", + "image": "eee847a9d90d", + "diff": "ffe1c534d459" + }, + "state": "ed33ecdb4e8e", + "effects": [] + } + }, + { + "id": "files-tab-doc-shapes.result-absent:settled", + "observation": { + "sender": ["b5a9ffe4c713", "323bf6059754", "c8fbe8972330"], + "payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"], + "settlements": { + "text": "ba9332ae7bb1", + "image": "eee847a9d90d", + "diff": "ffe1c534d459" + }, + "state": "3073ceba86bd", + "effects": [] + } + }, + { + "id": "files-tab-doc-shapes.result-null:settled", + "observation": { + "sender": ["6aca770498a6", "323bf6059754", "c8fbe8972330"], + "payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"], + "settlements": { + "text": "a7c7f43265d5", + "image": "eee847a9d90d", + "diff": "ffe1c534d459" + }, + "state": "3073ceba86bd", + "effects": [] + } + }, + { + "id": "files-tab-doc-shapes.inner-ok-missing:settled", + "observation": { + "sender": ["8595b3c0f792", "323bf6059754", "c8fbe8972330"], + "payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"], + "settlements": { + "text": "5a33eeedb90f", + "image": "eee847a9d90d", + "diff": "ffe1c534d459" + }, + "state": "fb58498a8798", + "effects": [] + } + }, + { + "id": "files-tab-doc-shapes.inner-false-string-error:settled", + "observation": { + "sender": ["987f853ccbc2", "323bf6059754", "c8fbe8972330"], + "payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"], + "settlements": { + "text": "5a33eeedb90f", + "image": "eee847a9d90d", + "diff": "ffe1c534d459" + }, + "state": "fb58498a8798", + "effects": [] + } + }, + { + "id": "files-tab-doc-shapes.inner-false-object-error:settled", + "observation": { + "sender": ["ae1baf99acb7", "323bf6059754", "c8fbe8972330"], + "payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"], + "settlements": { + "text": "5a33eeedb90f", + "image": "eee847a9d90d", + "diff": "ffe1c534d459" + }, + "state": "fb58498a8798", + "effects": [] + } + }, + { + "id": "files-tab-doc-shapes.outer-refused:settled", + "observation": { + "sender": ["4771cbfc0dfc", "323bf6059754", "c8fbe8972330"], + "payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"], + "settlements": { + "text": "32a7c0ae7918", + "image": "eee847a9d90d", + "diff": "ffe1c534d459" + }, + "state": "3073ceba86bd", + "effects": [] + } + }, + { + "id": "files-tab-doc-shapes.outer-refused-no-message:settled", + "observation": { + "sender": ["02ee7655cfac", "323bf6059754", "c8fbe8972330"], + "payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"], + "settlements": { + "text": "f3b516f62081", + "image": "eee847a9d90d", + "diff": "ffe1c534d459" + }, + "state": "3073ceba86bd", + "effects": [] + } + }, + { + "id": "files-tab-doc-shapes.method-not-found:settled", + "observation": { + "sender": ["cb1b85f12e0a", "323bf6059754", "c8fbe8972330"], + "payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"], + "settlements": { + "text": "b948e8307e81", + "image": "eee847a9d90d", + "diff": "ffe1c534d459" + }, + "state": "3073ceba86bd", + "effects": [] + } + }, + { + "id": "files-tab-doc-shapes.transport-rejection:settled", + "observation": { + "sender": ["22c63b806ef5", "323bf6059754", "c8fbe8972330"], + "payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"], + "settlements": { + "text": "a947768bc0ed", + "image": "eee847a9d90d", + "diff": "ffe1c534d459" + }, + "state": "3073ceba86bd", + "effects": [] + } + }, + { + "id": "files-tab-doc-shapes.transport-rejection-no-message:settled", + "observation": { + "sender": ["65af9a3f5ad4", "323bf6059754", "c8fbe8972330"], + "payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"], + "settlements": { + "text": "c7584e82c72f", + "image": "eee847a9d90d", + "diff": "ffe1c534d459" + }, + "state": "3073ceba86bd", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-files.tab-doc-files.readpreview-1.json b/mobile/rpc-foundation/goldens/matrix-files.tab-doc-files.readpreview-1.json new file mode 100644 index 00000000000..bd2776371aa --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-files.tab-doc-files.readpreview-1.json @@ -0,0 +1,818 @@ +{ + "operation": "files.tab-doc", + "family": "files.tab-doc", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "b93fc8b6f1ece041acaa8cc5699852085e67d7e2f39db13145e483f854ea3309", + "scenarioSha256": "2ceca0ecd901fd78838fcbdc789cbb6b96f04674b850a0994c7611f5db804915", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "02ea3f503180": { + "name": "files.read#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.read\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"docs/readme.md\"}}" + }, + "0fef03f57c61": { + "name": "files.readPreview#1", + "args": [ + { + "name": "method", + "value": "files.readPreview" + }, + { + "name": "params", + "value": { + "relativePath": "docs/logo.png", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "2e3bb1c16607": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "TypeError", + "message": "Cannot read properties of undefined (reading 'isImage')", + "isRpcDeliveryUnknown": false + } + }, + "323bf6059754": { + "name": "files.readPreview#1", + "args": [ + { + "name": "method", + "value": "files.readPreview" + }, + { + "name": "params", + "value": { + "relativePath": "docs/logo.png", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "content": "aGk=", + "isImage": true, + "mimeType": "image/png" + } + } + } + }, + "32a7c0ae7918": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "outer refused", + "isRpcDeliveryUnknown": false + } + }, + "43465946206b": { + "name": "files.readPreview#1", + "args": [ + { + "name": "method", + "value": "files.readPreview" + }, + { + "name": "params", + "value": { + "relativePath": "docs/logo.png", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "47bde408cf1e": { + "name": "files.readPreview#1", + "args": [ + { + "name": "method", + "value": "files.readPreview" + }, + { + "name": "params", + "value": { + "relativePath": "docs/logo.png", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "5521ad94c331": { + "diff": { + "kind": "diff", + "lines": [ + { + "kind": "delete", + "oldLineNumber": 1, + "text": "a" + }, + { + "kind": "add", + "newLineNumber": 1, + "text": "b" + } + ], + "status": "ready", + "truncated": false + }, + "text": { + "byteLength": 8, + "content": "# readme", + "kind": "file", + "status": "ready", + "truncated": false + } + }, + "5c610ebe58ed": { + "name": "files.readPreview#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"files.readPreview\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"docs/logo.png\"}}" + }, + "62a16026dfb1": { + "name": "files.readPreview#1", + "args": [ + { + "name": "method", + "value": "files.readPreview" + }, + { + "name": "params", + "value": { + "relativePath": "docs/logo.png", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "63bda5bd024b": { + "name": "files.readPreview#1", + "args": [ + { + "name": "method", + "value": "files.readPreview" + }, + { + "name": "params", + "value": { + "relativePath": "docs/logo.png", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "9babe9503a83": { + "name": "files.read#1", + "args": [ + { + "name": "method", + "value": "files.read" + }, + { + "name": "params", + "value": { + "relativePath": "docs/readme.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "byteLength": 8, + "content": "# readme", + "truncated": false + } + } + } + }, + "a5ebcad292b7": { + "name": "files.readPreview#1", + "args": [ + { + "name": "method", + "value": "files.readPreview" + }, + { + "name": "params", + "value": { + "relativePath": "docs/logo.png", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "a9fc8a97c98b": { + "name": "files.readPreview#1", + "args": [ + { + "name": "method", + "value": "files.readPreview" + }, + { + "name": "params", + "value": { + "relativePath": "docs/logo.png", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "b5c68b76c498": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "byteLength": 8, + "content": "# readme", + "kind": "file", + "status": "ready", + "truncated": false + } + }, + "b948e8307e81": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Unknown method", + "isRpcDeliveryUnknown": false + } + }, + "c2ba83cacd09": { + "name": "files.readPreview#1", + "args": [ + { + "name": "method", + "value": "files.readPreview" + }, + { + "name": "params", + "value": { + "relativePath": "docs/logo.png", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "c38abcaf69dd": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "binary_file", + "isRpcDeliveryUnknown": false + } + }, + "c47f8da1be2f": { + "name": "files.readPreview#1", + "args": [ + { + "name": "method", + "value": "files.readPreview" + }, + { + "name": "params", + "value": { + "relativePath": "docs/logo.png", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "c7584e82c72f": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + }, + "c8fbe8972330": { + "name": "git.diff#1", + "args": [ + { + "name": "method", + "value": "git.diff" + }, + { + "name": "params", + "value": { + "filePath": "docs/readme.md", + "staged": true, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "kind": "text", + "modifiedContent": "b\n", + "originalContent": "a\n" + } + } + } + }, + "d6234620430f": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "TypeError", + "message": "Cannot read properties of null (reading 'isImage')", + "isRpcDeliveryUnknown": false + } + }, + "ed33ecdb4e8e": { + "diff": { + "kind": "diff", + "lines": [ + { + "kind": "delete", + "oldLineNumber": 1, + "text": "a" + }, + { + "kind": "add", + "newLineNumber": 1, + "text": "b" + } + ], + "status": "ready", + "truncated": false + }, + "image": { + "dataUri": "data:image/png;base64,aGk=", + "kind": "image", + "status": "ready" + }, + "text": { + "byteLength": 8, + "content": "# readme", + "kind": "file", + "status": "ready", + "truncated": false + } + }, + "eee847a9d90d": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "dataUri": "data:image/png;base64,aGk=", + "kind": "image", + "status": "ready" + } + }, + "f3b516f62081": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": false + } + }, + "f53a3ae32692": { + "name": "files.readPreview#1", + "args": [ + { + "name": "method", + "value": "files.readPreview" + }, + { + "name": "params", + "value": { + "relativePath": "docs/logo.png", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "fad4ca11a316": { + "name": "git.diff#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"git.diff\",\"params\":{\"worktree\":\"id:workspace-1\",\"filePath\":\"docs/readme.md\",\"staged\":true}}" + }, + "ffe1c534d459": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "kind": "diff", + "lines": [ + { + "kind": "delete", + "oldLineNumber": 1, + "text": "a" + }, + { + "kind": "add", + "newLineNumber": 1, + "text": "b" + } + ], + "status": "ready", + "truncated": false + } + } + }, + "recording": { + "scenario": "matrix-files.tab-doc-files.readpreview-1", + "checkpoints": [ + { + "id": "files-tab-doc-shapes.normal:settled", + "observation": { + "sender": ["9babe9503a83", "323bf6059754", "c8fbe8972330"], + "payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"], + "settlements": { + "text": "b5c68b76c498", + "image": "eee847a9d90d", + "diff": "ffe1c534d459" + }, + "state": "ed33ecdb4e8e", + "effects": [] + } + }, + { + "id": "files-tab-doc-shapes.result-absent:settled", + "observation": { + "sender": ["9babe9503a83", "47bde408cf1e", "c8fbe8972330"], + "payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"], + "settlements": { + "text": "b5c68b76c498", + "image": "2e3bb1c16607", + "diff": "ffe1c534d459" + }, + "state": "5521ad94c331", + "effects": [] + } + }, + { + "id": "files-tab-doc-shapes.result-null:settled", + "observation": { + "sender": ["9babe9503a83", "0fef03f57c61", "c8fbe8972330"], + "payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"], + "settlements": { + "text": "b5c68b76c498", + "image": "d6234620430f", + "diff": "ffe1c534d459" + }, + "state": "5521ad94c331", + "effects": [] + } + }, + { + "id": "files-tab-doc-shapes.inner-ok-missing:settled", + "observation": { + "sender": ["9babe9503a83", "c47f8da1be2f", "c8fbe8972330"], + "payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"], + "settlements": { + "text": "b5c68b76c498", + "image": "c38abcaf69dd", + "diff": "ffe1c534d459" + }, + "state": "5521ad94c331", + "effects": [] + } + }, + { + "id": "files-tab-doc-shapes.inner-false-string-error:settled", + "observation": { + "sender": ["9babe9503a83", "a9fc8a97c98b", "c8fbe8972330"], + "payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"], + "settlements": { + "text": "b5c68b76c498", + "image": "c38abcaf69dd", + "diff": "ffe1c534d459" + }, + "state": "5521ad94c331", + "effects": [] + } + }, + { + "id": "files-tab-doc-shapes.inner-false-object-error:settled", + "observation": { + "sender": ["9babe9503a83", "62a16026dfb1", "c8fbe8972330"], + "payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"], + "settlements": { + "text": "b5c68b76c498", + "image": "c38abcaf69dd", + "diff": "ffe1c534d459" + }, + "state": "5521ad94c331", + "effects": [] + } + }, + { + "id": "files-tab-doc-shapes.outer-refused:settled", + "observation": { + "sender": ["9babe9503a83", "c2ba83cacd09", "c8fbe8972330"], + "payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"], + "settlements": { + "text": "b5c68b76c498", + "image": "32a7c0ae7918", + "diff": "ffe1c534d459" + }, + "state": "5521ad94c331", + "effects": [] + } + }, + { + "id": "files-tab-doc-shapes.outer-refused-no-message:settled", + "observation": { + "sender": ["9babe9503a83", "63bda5bd024b", "c8fbe8972330"], + "payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"], + "settlements": { + "text": "b5c68b76c498", + "image": "f3b516f62081", + "diff": "ffe1c534d459" + }, + "state": "5521ad94c331", + "effects": [] + } + }, + { + "id": "files-tab-doc-shapes.method-not-found:settled", + "observation": { + "sender": ["9babe9503a83", "f53a3ae32692", "c8fbe8972330"], + "payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"], + "settlements": { + "text": "b5c68b76c498", + "image": "b948e8307e81", + "diff": "ffe1c534d459" + }, + "state": "5521ad94c331", + "effects": [] + } + }, + { + "id": "files-tab-doc-shapes.transport-rejection:settled", + "observation": { + "sender": ["9babe9503a83", "a5ebcad292b7", "c8fbe8972330"], + "payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"], + "settlements": { + "text": "b5c68b76c498", + "image": "a947768bc0ed", + "diff": "ffe1c534d459" + }, + "state": "5521ad94c331", + "effects": [] + } + }, + { + "id": "files-tab-doc-shapes.transport-rejection-no-message:settled", + "observation": { + "sender": ["9babe9503a83", "43465946206b", "c8fbe8972330"], + "payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"], + "settlements": { + "text": "b5c68b76c498", + "image": "c7584e82c72f", + "diff": "ffe1c534d459" + }, + "state": "5521ad94c331", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-files.tab-doc-git.diff-1.json b/mobile/rpc-foundation/goldens/matrix-files.tab-doc-git.diff-1.json new file mode 100644 index 00000000000..82d7635c1a3 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-files.tab-doc-git.diff-1.json @@ -0,0 +1,816 @@ +{ + "operation": "files.tab-doc", + "family": "files.tab-doc", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "b93fc8b6f1ece041acaa8cc5699852085e67d7e2f39db13145e483f854ea3309", + "scenarioSha256": "c4db2424b8a35fd97b3fea00b4dd91a3c8d50c6fb73795811ef5402e3d14f8df", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "02ea3f503180": { + "name": "files.read#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.read\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"docs/readme.md\"}}" + }, + "0aa81de503dc": { + "name": "git.diff#1", + "args": [ + { + "name": "method", + "value": "git.diff" + }, + { + "name": "params", + "value": { + "filePath": "docs/readme.md", + "staged": true, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "0ddde941c38a": { + "name": "git.diff#1", + "args": [ + { + "name": "method", + "value": "git.diff" + }, + { + "name": "params", + "value": { + "filePath": "docs/readme.md", + "staged": true, + "worktree": "id:workspace-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 + } + } + }, + "0fa28155e34e": { + "name": "git.diff#1", + "args": [ + { + "name": "method", + "value": "git.diff" + }, + { + "name": "params", + "value": { + "filePath": "docs/readme.md", + "staged": true, + "worktree": "id:workspace-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 + } + } + }, + "323bf6059754": { + "name": "files.readPreview#1", + "args": [ + { + "name": "method", + "value": "files.readPreview" + }, + { + "name": "params", + "value": { + "relativePath": "docs/logo.png", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "content": "aGk=", + "isImage": true, + "mimeType": "image/png" + } + } + } + }, + "32a7c0ae7918": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "outer refused", + "isRpcDeliveryUnknown": false + } + }, + "3a9e5c87d18b": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "TypeError", + "message": "Cannot read properties of undefined (reading 'kind')", + "isRpcDeliveryUnknown": false + } + }, + "3eca7222b2d0": { + "name": "git.diff#1", + "args": [ + { + "name": "method", + "value": "git.diff" + }, + { + "name": "params", + "value": { + "filePath": "docs/readme.md", + "staged": true, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-3", + "ok": false + } + } + }, + "5225d2d0d430": { + "name": "git.diff#1", + "args": [ + { + "name": "method", + "value": "git.diff" + }, + { + "name": "params", + "value": { + "filePath": "docs/readme.md", + "staged": true, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "559c313a79f9": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "TypeError", + "message": "Cannot read properties of null (reading 'kind')", + "isRpcDeliveryUnknown": false + } + }, + "5c610ebe58ed": { + "name": "files.readPreview#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"files.readPreview\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"docs/logo.png\"}}" + }, + "6f5e5f7888b7": { + "name": "git.diff#1", + "args": [ + { + "name": "method", + "value": "git.diff" + }, + { + "name": "params", + "value": { + "filePath": "docs/readme.md", + "staged": true, + "worktree": "id:workspace-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 + } + } + } + }, + "9babe9503a83": { + "name": "files.read#1", + "args": [ + { + "name": "method", + "value": "files.read" + }, + { + "name": "params", + "value": { + "relativePath": "docs/readme.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "byteLength": 8, + "content": "# readme", + "truncated": false + } + } + } + }, + "9cf9915b1ff3": { + "name": "git.diff#1", + "args": [ + { + "name": "method", + "value": "git.diff" + }, + { + "name": "params", + "value": { + "filePath": "docs/readme.md", + "staged": true, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "af88d9765fd0": { + "name": "git.diff#1", + "args": [ + { + "name": "method", + "value": "git.diff" + }, + { + "name": "params", + "value": { + "filePath": "docs/readme.md", + "staged": true, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "b5c68b76c498": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "byteLength": 8, + "content": "# readme", + "kind": "file", + "status": "ready", + "truncated": false + } + }, + "b948e8307e81": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Unknown method", + "isRpcDeliveryUnknown": false + } + }, + "c38abcaf69dd": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "binary_file", + "isRpcDeliveryUnknown": false + } + }, + "c7584e82c72f": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + }, + "c8fbe8972330": { + "name": "git.diff#1", + "args": [ + { + "name": "method", + "value": "git.diff" + }, + { + "name": "params", + "value": { + "filePath": "docs/readme.md", + "staged": true, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "kind": "text", + "modifiedContent": "b\n", + "originalContent": "a\n" + } + } + } + }, + "e3995cc146f1": { + "image": { + "dataUri": "data:image/png;base64,aGk=", + "kind": "image", + "status": "ready" + }, + "text": { + "byteLength": 8, + "content": "# readme", + "kind": "file", + "status": "ready", + "truncated": false + } + }, + "e56bb4eec9ad": { + "name": "git.diff#1", + "args": [ + { + "name": "method", + "value": "git.diff" + }, + { + "name": "params", + "value": { + "filePath": "docs/readme.md", + "staged": true, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true + } + } + }, + "ed33ecdb4e8e": { + "diff": { + "kind": "diff", + "lines": [ + { + "kind": "delete", + "oldLineNumber": 1, + "text": "a" + }, + { + "kind": "add", + "newLineNumber": 1, + "text": "b" + } + ], + "status": "ready", + "truncated": false + }, + "image": { + "dataUri": "data:image/png;base64,aGk=", + "kind": "image", + "status": "ready" + }, + "text": { + "byteLength": 8, + "content": "# readme", + "kind": "file", + "status": "ready", + "truncated": false + } + }, + "eee847a9d90d": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "dataUri": "data:image/png;base64,aGk=", + "kind": "image", + "status": "ready" + } + }, + "f3b516f62081": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": false + } + }, + "fad4ca11a316": { + "name": "git.diff#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"git.diff\",\"params\":{\"worktree\":\"id:workspace-1\",\"filePath\":\"docs/readme.md\",\"staged\":true}}" + }, + "fdb82a72967a": { + "name": "git.diff#1", + "args": [ + { + "name": "method", + "value": "git.diff" + }, + { + "name": "params", + "value": { + "filePath": "docs/readme.md", + "staged": true, + "worktree": "id:workspace-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 + } + } + } + }, + "ffe1c534d459": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "kind": "diff", + "lines": [ + { + "kind": "delete", + "oldLineNumber": 1, + "text": "a" + }, + { + "kind": "add", + "newLineNumber": 1, + "text": "b" + } + ], + "status": "ready", + "truncated": false + } + } + }, + "recording": { + "scenario": "matrix-files.tab-doc-git.diff-1", + "checkpoints": [ + { + "id": "files-tab-doc-shapes.normal:settled", + "observation": { + "sender": ["9babe9503a83", "323bf6059754", "c8fbe8972330"], + "payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"], + "settlements": { + "text": "b5c68b76c498", + "image": "eee847a9d90d", + "diff": "ffe1c534d459" + }, + "state": "ed33ecdb4e8e", + "effects": [] + } + }, + { + "id": "files-tab-doc-shapes.result-absent:settled", + "observation": { + "sender": ["9babe9503a83", "323bf6059754", "e56bb4eec9ad"], + "payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"], + "settlements": { + "text": "b5c68b76c498", + "image": "eee847a9d90d", + "diff": "3a9e5c87d18b" + }, + "state": "e3995cc146f1", + "effects": [] + } + }, + { + "id": "files-tab-doc-shapes.result-null:settled", + "observation": { + "sender": ["9babe9503a83", "323bf6059754", "0aa81de503dc"], + "payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"], + "settlements": { + "text": "b5c68b76c498", + "image": "eee847a9d90d", + "diff": "559c313a79f9" + }, + "state": "e3995cc146f1", + "effects": [] + } + }, + { + "id": "files-tab-doc-shapes.inner-ok-missing:settled", + "observation": { + "sender": ["9babe9503a83", "323bf6059754", "af88d9765fd0"], + "payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"], + "settlements": { + "text": "b5c68b76c498", + "image": "eee847a9d90d", + "diff": "c38abcaf69dd" + }, + "state": "e3995cc146f1", + "effects": [] + } + }, + { + "id": "files-tab-doc-shapes.inner-false-string-error:settled", + "observation": { + "sender": ["9babe9503a83", "323bf6059754", "6f5e5f7888b7"], + "payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"], + "settlements": { + "text": "b5c68b76c498", + "image": "eee847a9d90d", + "diff": "c38abcaf69dd" + }, + "state": "e3995cc146f1", + "effects": [] + } + }, + { + "id": "files-tab-doc-shapes.inner-false-object-error:settled", + "observation": { + "sender": ["9babe9503a83", "323bf6059754", "fdb82a72967a"], + "payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"], + "settlements": { + "text": "b5c68b76c498", + "image": "eee847a9d90d", + "diff": "c38abcaf69dd" + }, + "state": "e3995cc146f1", + "effects": [] + } + }, + { + "id": "files-tab-doc-shapes.outer-refused:settled", + "observation": { + "sender": ["9babe9503a83", "323bf6059754", "0fa28155e34e"], + "payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"], + "settlements": { + "text": "b5c68b76c498", + "image": "eee847a9d90d", + "diff": "32a7c0ae7918" + }, + "state": "e3995cc146f1", + "effects": [] + } + }, + { + "id": "files-tab-doc-shapes.outer-refused-no-message:settled", + "observation": { + "sender": ["9babe9503a83", "323bf6059754", "3eca7222b2d0"], + "payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"], + "settlements": { + "text": "b5c68b76c498", + "image": "eee847a9d90d", + "diff": "f3b516f62081" + }, + "state": "e3995cc146f1", + "effects": [] + } + }, + { + "id": "files-tab-doc-shapes.method-not-found:settled", + "observation": { + "sender": ["9babe9503a83", "323bf6059754", "0ddde941c38a"], + "payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"], + "settlements": { + "text": "b5c68b76c498", + "image": "eee847a9d90d", + "diff": "b948e8307e81" + }, + "state": "e3995cc146f1", + "effects": [] + } + }, + { + "id": "files-tab-doc-shapes.transport-rejection:settled", + "observation": { + "sender": ["9babe9503a83", "323bf6059754", "9cf9915b1ff3"], + "payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"], + "settlements": { + "text": "b5c68b76c498", + "image": "eee847a9d90d", + "diff": "a947768bc0ed" + }, + "state": "e3995cc146f1", + "effects": [] + } + }, + { + "id": "files-tab-doc-shapes.transport-rejection-no-message:settled", + "observation": { + "sender": ["9babe9503a83", "323bf6059754", "5225d2d0d430"], + "payloads": ["02ea3f503180", "5c610ebe58ed", "fad4ca11a316"], + "settlements": { + "text": "b5c68b76c498", + "image": "eee847a9d90d", + "diff": "c7584e82c72f" + }, + "state": "e3995cc146f1", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-files.terminal-path-tap-files.open-1.json b/mobile/rpc-foundation/goldens/matrix-files.terminal-path-tap-files.open-1.json new file mode 100644 index 00000000000..311a3e1d6ac --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-files.terminal-path-tap-files.open-1.json @@ -0,0 +1,779 @@ +{ + "operation": "files.terminal-path-tap", + "family": "files.terminal-path-tap", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "e20a76ecd5e820dc4797fb25307810af68b5ced996dba2b9599464a21b5cbe1b", + "scenarioSha256": "73dbbb8b96662af57240194be4af5726697d402b624a807d003ab56fea04dbd7", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "18cda90904c3": { + "name": "files.resolveTerminalPath#1", + "args": [ + { + "name": "method", + "value": "files.resolveTerminalPath" + }, + { + "name": "params", + "value": { + "crossWorkspace": true, + "cwd": "/repo", + "pathText": "src/app.ts", + "terminal": "terminal-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 10000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "exists": true, + "isDirectory": false, + "openTarget": { + "absolutePath": "/repo/src/app.ts", + "kind": "worktree-file", + "provider": "ssh", + "relativePath": "src/app.ts" + }, + "relativePath": "src/app.ts" + } + } + } + }, + "1d18c66a85d5": { + "name": "open-feedback", + "value": {}, + "sent": 1 + }, + "230cba644911": { + "name": "files.open#1", + "args": [ + { + "name": "method", + "value": "files.open" + }, + { + "name": "params", + "value": { + "relativePath": "src/app.ts", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "3e4eebf8cca0": { + "name": "files.open#1", + "args": [ + { + "name": "method", + "value": "files.open" + }, + { + "name": "params", + "value": { + "relativePath": "src/app.ts", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "4301fd620304": { + "name": "fetch-session-tabs", + "value": {}, + "sent": 2 + }, + "650c13434960": { + "name": "files.open#1", + "args": [ + { + "name": "method", + "value": "files.open" + }, + { + "name": "params", + "value": { + "relativePath": "src/app.ts", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "8d3bc4f0f067": { + "name": "files.open#1", + "args": [ + { + "name": "method", + "value": "files.open" + }, + { + "name": "params", + "value": { + "relativePath": "src/app.ts", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "b18df88ac812": { + "name": "files.open#1", + "args": [ + { + "name": "method", + "value": "files.open" + }, + { + "name": "params", + "value": { + "relativePath": "src/app.ts", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "b765beef262e": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": [ + { + "id": "tab-opened", + "relativePath": "src/app.ts" + } + ] + }, + "c08a54e5680c": { + "name": "files.open#1", + "args": [ + { + "name": "method", + "value": "files.open" + }, + { + "name": "params", + "value": { + "relativePath": "src/app.ts", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "c7ce9c8dc60e": { + "activeSessionTabId": "tab-source", + "failed": 1, + "switched": { + "$rpc": "null" + } + }, + "d88940bfb593": { + "name": "files.resolveTerminalPath#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.resolveTerminalPath\",\"params\":{\"worktree\":\"id:workspace-1\",\"pathText\":\"src/app.ts\",\"crossWorkspace\":true,\"terminal\":\"terminal-1\",\"cwd\":\"/repo\"}}" + }, + "d9a357a79330": { + "name": "files.open#1", + "args": [ + { + "name": "method", + "value": "files.open" + }, + { + "name": "params", + "value": { + "relativePath": "src/app.ts", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "opened": true + } + } + } + }, + "dd46a93564da": { + "name": "files.open#1", + "args": [ + { + "name": "method", + "value": "files.open" + }, + { + "name": "params", + "value": { + "relativePath": "src/app.ts", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "e53bbf4222bd": { + "name": "files.open#1", + "args": [ + { + "name": "method", + "value": "files.open" + }, + { + "name": "params", + "value": { + "relativePath": "src/app.ts", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "e7105794ab87": { + "name": "files.open#1", + "args": [ + { + "name": "method", + "value": "files.open" + }, + { + "name": "params", + "value": { + "relativePath": "src/app.ts", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f1dbfddcde3b": { + "name": "files.open#1", + "args": [ + { + "name": "method", + "value": "files.open" + }, + { + "name": "params", + "value": { + "relativePath": "src/app.ts", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "f334b291fecc": { + "name": "files.open#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"files.open\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"src/app.ts\"}}" + }, + "f8a009b4a36e": { + "activeSessionTabId": "tab-opened", + "failed": 0, + "switched": { + "id": "tab-opened", + "relativePath": "src/app.ts" + } + } + }, + "recording": { + "scenario": "matrix-files.terminal-path-tap-files.open-1", + "checkpoints": [ + { + "id": "file-tap-opens-worktree-file.normal:switched", + "observation": { + "sender": ["18cda90904c3", "d9a357a79330"], + "payloads": ["d88940bfb593", "f334b291fecc"], + "settlements": { + "tap": "eb79a9b3682a", + "list": "b765beef262e" + }, + "state": "f8a009b4a36e", + "effects": ["1d18c66a85d5", "4301fd620304"] + } + }, + { + "id": "file-tap-opens-worktree-file.normal:settled", + "observation": { + "sender": ["18cda90904c3", "d9a357a79330"], + "payloads": ["d88940bfb593", "f334b291fecc"], + "settlements": { + "tap": "eb79a9b3682a", + "list": "b765beef262e" + }, + "state": "f8a009b4a36e", + "effects": ["1d18c66a85d5", "4301fd620304"] + } + }, + { + "id": "file-tap-opens-worktree-file.result-absent:switched", + "observation": { + "sender": ["18cda90904c3", "e53bbf4222bd"], + "payloads": ["d88940bfb593", "f334b291fecc"], + "settlements": { + "tap": "eb79a9b3682a", + "list": "b765beef262e" + }, + "state": "c7ce9c8dc60e", + "effects": ["1d18c66a85d5"] + } + }, + { + "id": "file-tap-opens-worktree-file.result-absent:settled", + "observation": { + "sender": ["18cda90904c3", "e53bbf4222bd"], + "payloads": ["d88940bfb593", "f334b291fecc"], + "settlements": { + "tap": "eb79a9b3682a", + "list": "b765beef262e" + }, + "state": "c7ce9c8dc60e", + "effects": ["1d18c66a85d5"] + } + }, + { + "id": "file-tap-opens-worktree-file.result-null:switched", + "observation": { + "sender": ["18cda90904c3", "c08a54e5680c"], + "payloads": ["d88940bfb593", "f334b291fecc"], + "settlements": { + "tap": "eb79a9b3682a", + "list": "b765beef262e" + }, + "state": "c7ce9c8dc60e", + "effects": ["1d18c66a85d5"] + } + }, + { + "id": "file-tap-opens-worktree-file.result-null:settled", + "observation": { + "sender": ["18cda90904c3", "c08a54e5680c"], + "payloads": ["d88940bfb593", "f334b291fecc"], + "settlements": { + "tap": "eb79a9b3682a", + "list": "b765beef262e" + }, + "state": "c7ce9c8dc60e", + "effects": ["1d18c66a85d5"] + } + }, + { + "id": "file-tap-opens-worktree-file.inner-ok-missing:switched", + "observation": { + "sender": ["18cda90904c3", "230cba644911"], + "payloads": ["d88940bfb593", "f334b291fecc"], + "settlements": { + "tap": "eb79a9b3682a", + "list": "b765beef262e" + }, + "state": "c7ce9c8dc60e", + "effects": ["1d18c66a85d5"] + } + }, + { + "id": "file-tap-opens-worktree-file.inner-ok-missing:settled", + "observation": { + "sender": ["18cda90904c3", "230cba644911"], + "payloads": ["d88940bfb593", "f334b291fecc"], + "settlements": { + "tap": "eb79a9b3682a", + "list": "b765beef262e" + }, + "state": "c7ce9c8dc60e", + "effects": ["1d18c66a85d5"] + } + }, + { + "id": "file-tap-opens-worktree-file.inner-false-string-error:switched", + "observation": { + "sender": ["18cda90904c3", "8d3bc4f0f067"], + "payloads": ["d88940bfb593", "f334b291fecc"], + "settlements": { + "tap": "eb79a9b3682a", + "list": "b765beef262e" + }, + "state": "c7ce9c8dc60e", + "effects": ["1d18c66a85d5"] + } + }, + { + "id": "file-tap-opens-worktree-file.inner-false-string-error:settled", + "observation": { + "sender": ["18cda90904c3", "8d3bc4f0f067"], + "payloads": ["d88940bfb593", "f334b291fecc"], + "settlements": { + "tap": "eb79a9b3682a", + "list": "b765beef262e" + }, + "state": "c7ce9c8dc60e", + "effects": ["1d18c66a85d5"] + } + }, + { + "id": "file-tap-opens-worktree-file.inner-false-object-error:switched", + "observation": { + "sender": ["18cda90904c3", "b18df88ac812"], + "payloads": ["d88940bfb593", "f334b291fecc"], + "settlements": { + "tap": "eb79a9b3682a", + "list": "b765beef262e" + }, + "state": "c7ce9c8dc60e", + "effects": ["1d18c66a85d5"] + } + }, + { + "id": "file-tap-opens-worktree-file.inner-false-object-error:settled", + "observation": { + "sender": ["18cda90904c3", "b18df88ac812"], + "payloads": ["d88940bfb593", "f334b291fecc"], + "settlements": { + "tap": "eb79a9b3682a", + "list": "b765beef262e" + }, + "state": "c7ce9c8dc60e", + "effects": ["1d18c66a85d5"] + } + }, + { + "id": "file-tap-opens-worktree-file.outer-refused:switched", + "observation": { + "sender": ["18cda90904c3", "3e4eebf8cca0"], + "payloads": ["d88940bfb593", "f334b291fecc"], + "settlements": { + "tap": "eb79a9b3682a", + "list": "b765beef262e" + }, + "state": "c7ce9c8dc60e", + "effects": ["1d18c66a85d5"] + } + }, + { + "id": "file-tap-opens-worktree-file.outer-refused:settled", + "observation": { + "sender": ["18cda90904c3", "3e4eebf8cca0"], + "payloads": ["d88940bfb593", "f334b291fecc"], + "settlements": { + "tap": "eb79a9b3682a", + "list": "b765beef262e" + }, + "state": "c7ce9c8dc60e", + "effects": ["1d18c66a85d5"] + } + }, + { + "id": "file-tap-opens-worktree-file.outer-refused-no-message:switched", + "observation": { + "sender": ["18cda90904c3", "dd46a93564da"], + "payloads": ["d88940bfb593", "f334b291fecc"], + "settlements": { + "tap": "eb79a9b3682a", + "list": "b765beef262e" + }, + "state": "c7ce9c8dc60e", + "effects": ["1d18c66a85d5"] + } + }, + { + "id": "file-tap-opens-worktree-file.outer-refused-no-message:settled", + "observation": { + "sender": ["18cda90904c3", "dd46a93564da"], + "payloads": ["d88940bfb593", "f334b291fecc"], + "settlements": { + "tap": "eb79a9b3682a", + "list": "b765beef262e" + }, + "state": "c7ce9c8dc60e", + "effects": ["1d18c66a85d5"] + } + }, + { + "id": "file-tap-opens-worktree-file.method-not-found:switched", + "observation": { + "sender": ["18cda90904c3", "e7105794ab87"], + "payloads": ["d88940bfb593", "f334b291fecc"], + "settlements": { + "tap": "eb79a9b3682a", + "list": "b765beef262e" + }, + "state": "c7ce9c8dc60e", + "effects": ["1d18c66a85d5"] + } + }, + { + "id": "file-tap-opens-worktree-file.method-not-found:settled", + "observation": { + "sender": ["18cda90904c3", "e7105794ab87"], + "payloads": ["d88940bfb593", "f334b291fecc"], + "settlements": { + "tap": "eb79a9b3682a", + "list": "b765beef262e" + }, + "state": "c7ce9c8dc60e", + "effects": ["1d18c66a85d5"] + } + }, + { + "id": "file-tap-opens-worktree-file.transport-rejection:switched", + "observation": { + "sender": ["18cda90904c3", "650c13434960"], + "payloads": ["d88940bfb593", "f334b291fecc"], + "settlements": { + "tap": "eb79a9b3682a", + "list": "b765beef262e" + }, + "state": "c7ce9c8dc60e", + "effects": ["1d18c66a85d5"] + } + }, + { + "id": "file-tap-opens-worktree-file.transport-rejection:settled", + "observation": { + "sender": ["18cda90904c3", "650c13434960"], + "payloads": ["d88940bfb593", "f334b291fecc"], + "settlements": { + "tap": "eb79a9b3682a", + "list": "b765beef262e" + }, + "state": "c7ce9c8dc60e", + "effects": ["1d18c66a85d5"] + } + }, + { + "id": "file-tap-opens-worktree-file.transport-rejection-no-message:switched", + "observation": { + "sender": ["18cda90904c3", "f1dbfddcde3b"], + "payloads": ["d88940bfb593", "f334b291fecc"], + "settlements": { + "tap": "eb79a9b3682a", + "list": "b765beef262e" + }, + "state": "c7ce9c8dc60e", + "effects": ["1d18c66a85d5"] + } + }, + { + "id": "file-tap-opens-worktree-file.transport-rejection-no-message:settled", + "observation": { + "sender": ["18cda90904c3", "f1dbfddcde3b"], + "payloads": ["d88940bfb593", "f334b291fecc"], + "settlements": { + "tap": "eb79a9b3682a", + "list": "b765beef262e" + }, + "state": "c7ce9c8dc60e", + "effects": ["1d18c66a85d5"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-files.terminal-path-tap-files.resolveterminalpath-1.json b/mobile/rpc-foundation/goldens/matrix-files.terminal-path-tap-files.resolveterminalpath-1.json new file mode 100644 index 00000000000..341dd760922 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-files.terminal-path-tap-files.resolveterminalpath-1.json @@ -0,0 +1,809 @@ +{ + "operation": "files.terminal-path-tap", + "family": "files.terminal-path-tap", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "e20a76ecd5e820dc4797fb25307810af68b5ced996dba2b9599464a21b5cbe1b", + "scenarioSha256": "ba8728e890e0e9c10ea163bd16f4f99fbc9727cd2f9c4ed69c56436d8bc29f89", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "10db95f1c64d": { + "name": "files.resolveTerminalPath#1", + "args": [ + { + "name": "method", + "value": "files.resolveTerminalPath" + }, + { + "name": "params", + "value": { + "crossWorkspace": true, + "cwd": "/repo", + "pathText": "src/app.ts", + "terminal": "terminal-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 10000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "18cda90904c3": { + "name": "files.resolveTerminalPath#1", + "args": [ + { + "name": "method", + "value": "files.resolveTerminalPath" + }, + { + "name": "params", + "value": { + "crossWorkspace": true, + "cwd": "/repo", + "pathText": "src/app.ts", + "terminal": "terminal-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 10000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "exists": true, + "isDirectory": false, + "openTarget": { + "absolutePath": "/repo/src/app.ts", + "kind": "worktree-file", + "provider": "ssh", + "relativePath": "src/app.ts" + }, + "relativePath": "src/app.ts" + } + } + } + }, + "1d18c66a85d5": { + "name": "open-feedback", + "value": {}, + "sent": 1 + }, + "2f4867eaa094": { + "name": "files.resolveTerminalPath#1", + "args": [ + { + "name": "method", + "value": "files.resolveTerminalPath" + }, + { + "name": "params", + "value": { + "crossWorkspace": true, + "cwd": "/repo", + "pathText": "src/app.ts", + "terminal": "terminal-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 10000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "31f84e3531c0": { + "name": "files.resolveTerminalPath#1", + "args": [ + { + "name": "method", + "value": "files.resolveTerminalPath" + }, + { + "name": "params", + "value": { + "crossWorkspace": true, + "cwd": "/repo", + "pathText": "src/app.ts", + "terminal": "terminal-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 10000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "3f64ebc424e8": { + "name": "files.resolveTerminalPath#1", + "args": [ + { + "name": "method", + "value": "files.resolveTerminalPath" + }, + { + "name": "params", + "value": { + "crossWorkspace": true, + "cwd": "/repo", + "pathText": "src/app.ts", + "terminal": "terminal-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 10000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "4301fd620304": { + "name": "fetch-session-tabs", + "value": {}, + "sent": 2 + }, + "6ec7ceb8bafd": { + "name": "files.resolveTerminalPath#1", + "args": [ + { + "name": "method", + "value": "files.resolveTerminalPath" + }, + { + "name": "params", + "value": { + "crossWorkspace": true, + "cwd": "/repo", + "pathText": "src/app.ts", + "terminal": "terminal-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 10000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "7f9e906655aa": { + "name": "files.resolveTerminalPath#1", + "args": [ + { + "name": "method", + "value": "files.resolveTerminalPath" + }, + { + "name": "params", + "value": { + "crossWorkspace": true, + "cwd": "/repo", + "pathText": "src/app.ts", + "terminal": "terminal-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 10000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-1", + "ok": false + } + } + }, + "986ca89cb4f6": { + "name": "files.resolveTerminalPath#1", + "args": [ + { + "name": "method", + "value": "files.resolveTerminalPath" + }, + { + "name": "params", + "value": { + "crossWorkspace": true, + "cwd": "/repo", + "pathText": "src/app.ts", + "terminal": "terminal-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 10000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "9b581f30ecf9": { + "name": "files.resolveTerminalPath#1", + "args": [ + { + "name": "method", + "value": "files.resolveTerminalPath" + }, + { + "name": "params", + "value": { + "crossWorkspace": true, + "cwd": "/repo", + "pathText": "src/app.ts", + "terminal": "terminal-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 10000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "b765beef262e": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": [ + { + "id": "tab-opened", + "relativePath": "src/app.ts" + } + ] + }, + "c7ce9c8dc60e": { + "activeSessionTabId": "tab-source", + "failed": 1, + "switched": { + "$rpc": "null" + } + }, + "caa3fdbab58a": { + "name": "files.resolveTerminalPath#1", + "args": [ + { + "name": "method", + "value": "files.resolveTerminalPath" + }, + { + "name": "params", + "value": { + "crossWorkspace": true, + "cwd": "/repo", + "pathText": "src/app.ts", + "terminal": "terminal-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 10000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "cbff15f6958f": { + "name": "files.resolveTerminalPath#1", + "args": [ + { + "name": "method", + "value": "files.resolveTerminalPath" + }, + { + "name": "params", + "value": { + "crossWorkspace": true, + "cwd": "/repo", + "pathText": "src/app.ts", + "terminal": "terminal-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 10000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "d88940bfb593": { + "name": "files.resolveTerminalPath#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.resolveTerminalPath\",\"params\":{\"worktree\":\"id:workspace-1\",\"pathText\":\"src/app.ts\",\"crossWorkspace\":true,\"terminal\":\"terminal-1\",\"cwd\":\"/repo\"}}" + }, + "d9a357a79330": { + "name": "files.open#1", + "args": [ + { + "name": "method", + "value": "files.open" + }, + { + "name": "params", + "value": { + "relativePath": "src/app.ts", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "opened": true + } + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f334b291fecc": { + "name": "files.open#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"files.open\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"src/app.ts\"}}" + }, + "f8a009b4a36e": { + "activeSessionTabId": "tab-opened", + "failed": 0, + "switched": { + "id": "tab-opened", + "relativePath": "src/app.ts" + } + } + }, + "recording": { + "scenario": "matrix-files.terminal-path-tap-files.resolveterminalpath-1", + "checkpoints": [ + { + "id": "file-tap-opens-worktree-file.normal:switched", + "observation": { + "sender": ["18cda90904c3", "d9a357a79330"], + "payloads": ["d88940bfb593", "f334b291fecc"], + "settlements": { + "tap": "eb79a9b3682a", + "list": "b765beef262e" + }, + "state": "f8a009b4a36e", + "effects": ["1d18c66a85d5", "4301fd620304"] + } + }, + { + "id": "file-tap-opens-worktree-file.normal:settled", + "observation": { + "sender": ["18cda90904c3", "d9a357a79330"], + "payloads": ["d88940bfb593", "f334b291fecc"], + "settlements": { + "tap": "eb79a9b3682a", + "list": "b765beef262e" + }, + "state": "f8a009b4a36e", + "effects": ["1d18c66a85d5", "4301fd620304"] + } + }, + { + "id": "file-tap-opens-worktree-file.result-absent:switched", + "observation": { + "sender": ["3f64ebc424e8"], + "payloads": ["d88940bfb593"], + "settlements": { + "tap": "eb79a9b3682a", + "list": "b765beef262e" + }, + "state": "c7ce9c8dc60e", + "effects": [] + } + }, + { + "id": "file-tap-opens-worktree-file.result-absent:settled", + "observation": { + "sender": ["3f64ebc424e8"], + "payloads": ["d88940bfb593"], + "settlements": { + "tap": "eb79a9b3682a", + "list": "b765beef262e" + }, + "state": "c7ce9c8dc60e", + "effects": [] + } + }, + { + "id": "file-tap-opens-worktree-file.result-null:switched", + "observation": { + "sender": ["31f84e3531c0"], + "payloads": ["d88940bfb593"], + "settlements": { + "tap": "eb79a9b3682a", + "list": "b765beef262e" + }, + "state": "c7ce9c8dc60e", + "effects": [] + } + }, + { + "id": "file-tap-opens-worktree-file.result-null:settled", + "observation": { + "sender": ["31f84e3531c0"], + "payloads": ["d88940bfb593"], + "settlements": { + "tap": "eb79a9b3682a", + "list": "b765beef262e" + }, + "state": "c7ce9c8dc60e", + "effects": [] + } + }, + { + "id": "file-tap-opens-worktree-file.inner-ok-missing:switched", + "observation": { + "sender": ["10db95f1c64d"], + "payloads": ["d88940bfb593"], + "settlements": { + "tap": "eb79a9b3682a", + "list": "b765beef262e" + }, + "state": "c7ce9c8dc60e", + "effects": [] + } + }, + { + "id": "file-tap-opens-worktree-file.inner-ok-missing:settled", + "observation": { + "sender": ["10db95f1c64d"], + "payloads": ["d88940bfb593"], + "settlements": { + "tap": "eb79a9b3682a", + "list": "b765beef262e" + }, + "state": "c7ce9c8dc60e", + "effects": [] + } + }, + { + "id": "file-tap-opens-worktree-file.inner-false-string-error:switched", + "observation": { + "sender": ["986ca89cb4f6"], + "payloads": ["d88940bfb593"], + "settlements": { + "tap": "eb79a9b3682a", + "list": "b765beef262e" + }, + "state": "c7ce9c8dc60e", + "effects": [] + } + }, + { + "id": "file-tap-opens-worktree-file.inner-false-string-error:settled", + "observation": { + "sender": ["986ca89cb4f6"], + "payloads": ["d88940bfb593"], + "settlements": { + "tap": "eb79a9b3682a", + "list": "b765beef262e" + }, + "state": "c7ce9c8dc60e", + "effects": [] + } + }, + { + "id": "file-tap-opens-worktree-file.inner-false-object-error:switched", + "observation": { + "sender": ["2f4867eaa094"], + "payloads": ["d88940bfb593"], + "settlements": { + "tap": "eb79a9b3682a", + "list": "b765beef262e" + }, + "state": "c7ce9c8dc60e", + "effects": [] + } + }, + { + "id": "file-tap-opens-worktree-file.inner-false-object-error:settled", + "observation": { + "sender": ["2f4867eaa094"], + "payloads": ["d88940bfb593"], + "settlements": { + "tap": "eb79a9b3682a", + "list": "b765beef262e" + }, + "state": "c7ce9c8dc60e", + "effects": [] + } + }, + { + "id": "file-tap-opens-worktree-file.outer-refused:switched", + "observation": { + "sender": ["caa3fdbab58a"], + "payloads": ["d88940bfb593"], + "settlements": { + "tap": "eb79a9b3682a", + "list": "b765beef262e" + }, + "state": "c7ce9c8dc60e", + "effects": [] + } + }, + { + "id": "file-tap-opens-worktree-file.outer-refused:settled", + "observation": { + "sender": ["caa3fdbab58a"], + "payloads": ["d88940bfb593"], + "settlements": { + "tap": "eb79a9b3682a", + "list": "b765beef262e" + }, + "state": "c7ce9c8dc60e", + "effects": [] + } + }, + { + "id": "file-tap-opens-worktree-file.outer-refused-no-message:switched", + "observation": { + "sender": ["9b581f30ecf9"], + "payloads": ["d88940bfb593"], + "settlements": { + "tap": "eb79a9b3682a", + "list": "b765beef262e" + }, + "state": "c7ce9c8dc60e", + "effects": [] + } + }, + { + "id": "file-tap-opens-worktree-file.outer-refused-no-message:settled", + "observation": { + "sender": ["9b581f30ecf9"], + "payloads": ["d88940bfb593"], + "settlements": { + "tap": "eb79a9b3682a", + "list": "b765beef262e" + }, + "state": "c7ce9c8dc60e", + "effects": [] + } + }, + { + "id": "file-tap-opens-worktree-file.method-not-found:switched", + "observation": { + "sender": ["7f9e906655aa"], + "payloads": ["d88940bfb593"], + "settlements": { + "tap": "eb79a9b3682a", + "list": "b765beef262e" + }, + "state": "c7ce9c8dc60e", + "effects": [] + } + }, + { + "id": "file-tap-opens-worktree-file.method-not-found:settled", + "observation": { + "sender": ["7f9e906655aa"], + "payloads": ["d88940bfb593"], + "settlements": { + "tap": "eb79a9b3682a", + "list": "b765beef262e" + }, + "state": "c7ce9c8dc60e", + "effects": [] + } + }, + { + "id": "file-tap-opens-worktree-file.transport-rejection:switched", + "observation": { + "sender": ["6ec7ceb8bafd"], + "payloads": ["d88940bfb593"], + "settlements": { + "tap": "eb79a9b3682a", + "list": "b765beef262e" + }, + "state": "c7ce9c8dc60e", + "effects": [] + } + }, + { + "id": "file-tap-opens-worktree-file.transport-rejection:settled", + "observation": { + "sender": ["6ec7ceb8bafd"], + "payloads": ["d88940bfb593"], + "settlements": { + "tap": "eb79a9b3682a", + "list": "b765beef262e" + }, + "state": "c7ce9c8dc60e", + "effects": [] + } + }, + { + "id": "file-tap-opens-worktree-file.transport-rejection-no-message:switched", + "observation": { + "sender": ["cbff15f6958f"], + "payloads": ["d88940bfb593"], + "settlements": { + "tap": "eb79a9b3682a", + "list": "b765beef262e" + }, + "state": "c7ce9c8dc60e", + "effects": [] + } + }, + { + "id": "file-tap-opens-worktree-file.transport-rejection-no-message:settled", + "observation": { + "sender": ["cbff15f6958f"], + "payloads": ["d88940bfb593"], + "settlements": { + "tap": "eb79a9b3682a", + "list": "b765beef262e" + }, + "state": "c7ce9c8dc60e", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-git.base-ref-chain-repo.baserefdefault-1.json b/mobile/rpc-foundation/goldens/matrix-git.base-ref-chain-repo.baserefdefault-1.json index 8798fc37eb9..db4b77e6e00 100644 --- a/mobile/rpc-foundation/goldens/matrix-git.base-ref-chain-repo.baserefdefault-1.json +++ b/mobile/rpc-foundation/goldens/matrix-git.base-ref-chain-repo.baserefdefault-1.json @@ -3,9 +3,9 @@ "family": "git.base-ref-chain", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "5e47c7960b9352753f0751d4ccf5e3ff7fb7b74a63cc4e4df3c3ffdcc6c1e66b", "scenarioSha256": "5605a2984d7692aa80e5e38f804bdfed4b1ce8ac2102def5dc728b1a79dc1acf", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/matrix-git.base-ref-chain-repo.list-1.json b/mobile/rpc-foundation/goldens/matrix-git.base-ref-chain-repo.list-1.json index 93d14399294..5a265049a99 100644 --- a/mobile/rpc-foundation/goldens/matrix-git.base-ref-chain-repo.list-1.json +++ b/mobile/rpc-foundation/goldens/matrix-git.base-ref-chain-repo.list-1.json @@ -3,9 +3,9 @@ "family": "git.base-ref-chain", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "5e47c7960b9352753f0751d4ccf5e3ff7fb7b74a63cc4e4df3c3ffdcc6c1e66b", "scenarioSha256": "ed0e97ead1aad0b45bdfc48f5fe4e498810d0cfee88f07d3c6228db56fda1dd9", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/matrix-git.base-ref-chain-worktree.show-1.json b/mobile/rpc-foundation/goldens/matrix-git.base-ref-chain-worktree.show-1.json index 197474a5f06..4584db130b9 100644 --- a/mobile/rpc-foundation/goldens/matrix-git.base-ref-chain-worktree.show-1.json +++ b/mobile/rpc-foundation/goldens/matrix-git.base-ref-chain-worktree.show-1.json @@ -3,9 +3,9 @@ "family": "git.base-ref-chain", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "5e47c7960b9352753f0751d4ccf5e3ff7fb7b74a63cc4e4df3c3ffdcc6c1e66b", "scenarioSha256": "1db6919b94df3b8548838ff4c206fafa3a09ea096b17c04483f78f9321ccb1ba", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/matrix-git.commit-message-ai-git.generatecommitmessage-1.json b/mobile/rpc-foundation/goldens/matrix-git.commit-message-ai-git.generatecommitmessage-1.json index d7b195213a4..9e9eb60a30f 100644 --- a/mobile/rpc-foundation/goldens/matrix-git.commit-message-ai-git.generatecommitmessage-1.json +++ b/mobile/rpc-foundation/goldens/matrix-git.commit-message-ai-git.generatecommitmessage-1.json @@ -3,9 +3,9 @@ "family": "git.commit-message-ai", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "5e47c7960b9352753f0751d4ccf5e3ff7fb7b74a63cc4e4df3c3ffdcc6c1e66b", "scenarioSha256": "22ea5279155ecf749aaab521ffd570221ac3169b177fc1daf85ef93a49d38260", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/matrix-git.history-read-git.history-1.json b/mobile/rpc-foundation/goldens/matrix-git.history-read-git.history-1.json index 0c22c57019d..08dce59da27 100644 --- a/mobile/rpc-foundation/goldens/matrix-git.history-read-git.history-1.json +++ b/mobile/rpc-foundation/goldens/matrix-git.history-read-git.history-1.json @@ -3,9 +3,9 @@ "family": "git.history-read", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "5e47c7960b9352753f0751d4ccf5e3ff7fb7b74a63cc4e4df3c3ffdcc6c1e66b", "scenarioSha256": "86254ed87ad3427d6ee4631d7348075039ba2d4d7496d59f27f03f78580f35a1", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/matrix-git.remote-prerequisite-git.push-1.json b/mobile/rpc-foundation/goldens/matrix-git.remote-prerequisite-git.push-1.json index 62e2a2ddb99..f6ae40eba32 100644 --- a/mobile/rpc-foundation/goldens/matrix-git.remote-prerequisite-git.push-1.json +++ b/mobile/rpc-foundation/goldens/matrix-git.remote-prerequisite-git.push-1.json @@ -3,9 +3,9 @@ "family": "git.remote-prerequisite", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "c582ce355b0704b38d7e84cbce352630096c91231bf09aecd1f6dbb409fed17f", "scenarioSha256": "5009c22df7e74a850bcea41fc110ea7d7eb4bdada623837279f32eaa5149a9b8", "platform": "darwin", @@ -187,10 +187,6 @@ } } }, - "60421d882fd2": { - "name": "progress", - "value": "pushing" - }, "6c0349218dd0": { "name": "git.push#1", "args": [ @@ -255,6 +251,11 @@ } } }, + "8c74af79c1cf": { + "name": "progress", + "value": "pushing", + "sent": 0 + }, "9270aeb7d9c6": { "status": "pending", "startedAt": 0 @@ -519,7 +520,7 @@ "apply": "9270aeb7d9c6" }, "state": "cf19981c2114", - "effects": ["60421d882fd2"] + "effects": ["8c74af79c1cf"] } }, { @@ -531,7 +532,7 @@ "apply": "00e8a3bac22f" }, "state": "0fe2eb2410a4", - "effects": ["60421d882fd2"] + "effects": ["8c74af79c1cf"] } }, { @@ -543,7 +544,7 @@ "apply": "00e8a3bac22f" }, "state": "0fe2eb2410a4", - "effects": ["60421d882fd2"] + "effects": ["8c74af79c1cf"] } }, { @@ -555,7 +556,7 @@ "apply": "00e8a3bac22f" }, "state": "0fe2eb2410a4", - "effects": ["60421d882fd2"] + "effects": ["8c74af79c1cf"] } }, { @@ -567,7 +568,7 @@ "apply": "00e8a3bac22f" }, "state": "0fe2eb2410a4", - "effects": ["60421d882fd2"] + "effects": ["8c74af79c1cf"] } }, { @@ -579,7 +580,7 @@ "apply": "00e8a3bac22f" }, "state": "0fe2eb2410a4", - "effects": ["60421d882fd2"] + "effects": ["8c74af79c1cf"] } }, { @@ -591,7 +592,7 @@ "apply": "00e8a3bac22f" }, "state": "0fe2eb2410a4", - "effects": ["60421d882fd2"] + "effects": ["8c74af79c1cf"] } }, { @@ -603,7 +604,7 @@ "apply": "1b2778bf67a2" }, "state": "aa8b30457cff", - "effects": ["60421d882fd2"] + "effects": ["8c74af79c1cf"] } }, { @@ -615,7 +616,7 @@ "apply": "3e6cf1f04a9c" }, "state": "34eee892be9b", - "effects": ["60421d882fd2"] + "effects": ["8c74af79c1cf"] } }, { @@ -627,7 +628,7 @@ "apply": "fa93ca01f266" }, "state": "e157741a28a1", - "effects": ["60421d882fd2"] + "effects": ["8c74af79c1cf"] } }, { @@ -639,7 +640,7 @@ "apply": "a197c20578aa" }, "state": "f4ca76ee9f22", - "effects": ["60421d882fd2"] + "effects": ["8c74af79c1cf"] } }, { @@ -651,7 +652,7 @@ "apply": "fb4429083480" }, "state": "3c6a5a164e8a", - "effects": ["60421d882fd2"] + "effects": ["8c74af79c1cf"] } } ] diff --git a/mobile/rpc-foundation/goldens/matrix-git.review-preparation-git.status-1.json b/mobile/rpc-foundation/goldens/matrix-git.review-preparation-git.status-1.json index 57dd65fa040..eac9ccc0141 100644 --- a/mobile/rpc-foundation/goldens/matrix-git.review-preparation-git.status-1.json +++ b/mobile/rpc-foundation/goldens/matrix-git.review-preparation-git.status-1.json @@ -3,9 +3,9 @@ "family": "git.review-preparation", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "c582ce355b0704b38d7e84cbce352630096c91231bf09aecd1f6dbb409fed17f", "scenarioSha256": "485b2751006ee8fb4df28b228ea7adda85779feae83974eb0f7e795e31c500a1", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/matrix-github.pr-comment-mutation-github.addissuecomment-1.json b/mobile/rpc-foundation/goldens/matrix-github.pr-comment-mutation-github.addissuecomment-1.json new file mode 100644 index 00000000000..f9b7753e45b --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-github.pr-comment-mutation-github.addissuecomment-1.json @@ -0,0 +1,1821 @@ +{ + "operation": "session.pr-mutations", + "family": "github.pr-comment-mutation", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "f560ff1582487c118756c527faa1fb1f65e37ce22ca9573491fd4b2dbcedf38d", + "scenarioSha256": "0c8f09683408a919dd3ac2b7cd12197d8745882627134cde95ecee209575b027", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "02901e46c7a3": { + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "error": "Unknown method", + "ok": false + } + }, + "08b540c77640": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "recorded comment", + "number": 12, + "repo": "id:repo-9", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "11da44dfb879": { + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "error": "inner refused", + "ok": false + } + }, + "1b2778bf67a2": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "outer refused", + "ok": false + } + }, + "21ee02b012e8": { + "edit-comment": { + "ok": true + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "error": "outer refused", + "ok": false + } + }, + "23bd818e8ba6": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "recorded comment", + "number": 12, + "repo": "id:repo-9", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "2dd1ced3c6e3": { + "edit-comment": { + "ok": true + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "41441b5c604e": { + "delete-comment": { + "ok": true + }, + "edit-comment": { + "ok": true + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "error": "outer refused", + "ok": false + } + }, + "44136fa355b3": {}, + "45f8781a0214": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "recorded comment", + "number": 12, + "repo": "id:repo-9", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "478fd4bcbb87": { + "name": "github.addIssueComment#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.addIssueComment\",\"params\":{\"repo\":\"id:repo-9\",\"number\":12,\"body\":\"recorded comment\",\"type\":\"pr\"}}" + }, + "4fccb238edb1": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "recorded comment", + "number": 12, + "repo": "id:repo-9", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "5f1bb831eeeb": { + "edit-comment": { + "ok": true + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "error": "transport failure", + "ok": false + } + }, + "692d2314c7c5": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Request failed: github.addIssueComment", + "ok": false + } + }, + "6e135fd30dcd": { + "delete-comment": { + "ok": true + }, + "edit-comment": { + "ok": true + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "error": "Request failed: github.addIssueComment", + "ok": false + } + }, + "6ef76b3e8f0d": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "recorded comment", + "number": 12, + "repo": "id:repo-9", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "720507281e9c": { + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "7223e2d25a72": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "recorded comment", + "number": 12, + "repo": "id:repo-9", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "735f219f431b": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "recorded comment", + "number": 12, + "repo": "id:repo-9", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "7d998237c7b0": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": true + } + } + }, + "8108c9f604fb": { + "name": "github.addPRReviewCommentReply#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.addPRReviewCommentReply\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"commentId\":55,\"body\":\"recorded reply\",\"threadId\":\"thread-1\",\"path\":\"src/app.ts\",\"line\":3}}" + }, + "8302b53c96cd": { + "edit-comment": { + "ok": true + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "error": "inner refused", + "ok": false + } + }, + "871b2a18f62d": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "recorded comment", + "number": 12, + "repo": "id:repo-9", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "8b61a6ecaab9": { + "edit-comment": { + "ok": true + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "error": "Request failed: github.addIssueComment", + "ok": false + } + }, + "8f960e5dec0b": { + "delete-comment": { + "ok": true + }, + "edit-comment": { + "ok": true + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "error": "", + "ok": false + } + }, + "94828c89cc0f": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "recorded comment", + "number": 12, + "repo": "id:repo-9", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "98be7abfd74c": { + "reply": { + "ok": true + }, + "root-comment": { + "error": "", + "ok": false + } + }, + "99737c47980d": { + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "error": "outer refused", + "ok": false + } + }, + "9adfce5d3c0b": { + "reply": { + "ok": true + }, + "root-comment": { + "error": "inner refused", + "ok": false + } + }, + "9f00dd54ba64": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "inner refused", + "ok": false + } + }, + "a03244774599": { + "reply": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "a09b7d2d7c5a": { + "name": "github.project.deleteIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.deleteIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "commentId": 55, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "a197c20578aa": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "transport failure", + "ok": false + } + }, + "a4d389fbb21f": { + "edit-comment": { + "ok": true + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "error": "", + "ok": false + } + }, + "ac0fbf7e8046": { + "reply": { + "ok": true + }, + "root-comment": { + "error": "transport failure", + "ok": false + } + }, + "af688481a64e": { + "name": "github.project.deleteIssueCommentBySlug#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.deleteIssueCommentBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"commentId\":55}}" + }, + "b05590db45b7": { + "reply": { + "ok": true + }, + "root-comment": { + "error": "Request failed: github.addIssueComment", + "ok": false + } + }, + "b72d1b08ed71": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "recorded reply", + "commentId": 55, + "line": 3, + "path": "src/app.ts", + "prNumber": 12, + "repo": "id:repo-9", + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "comment": { + "id": 56 + }, + "ok": true + } + } + } + }, + "c809528f892d": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "recorded comment", + "number": 12, + "repo": "id:repo-9", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "comment": { + "id": 57 + }, + "ok": true + } + } + } + }, + "ca6d007cb7b8": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "recorded comment", + "number": 12, + "repo": "id:repo-9", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "cb0ebf3e3df2": { + "name": "github.project.updateIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "body": "edited", + "commentId": 55, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "d0c188fbc72e": { + "delete-comment": { + "ok": true + }, + "edit-comment": { + "ok": true + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "error": "Unknown method", + "ok": false + } + }, + "d17352ae4289": { + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "error": "transport failure", + "ok": false + } + }, + "d59bb9371e7c": { + "edit-comment": { + "ok": true + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "error": "Unknown method", + "ok": false + } + }, + "d65744cb322a": { + "delete-comment": { + "ok": true + }, + "edit-comment": { + "ok": true + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "d7020c20297f": { + "reply": { + "ok": true + } + }, + "d9b62b144917": { + "name": "github.resolveReviewThread#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.resolveReviewThread\",\"params\":{\"repo\":\"id:repo-9\",\"threadId\":\"thread-1\",\"resolve\":true}}" + }, + "dbf8fad741cc": { + "reply": { + "ok": true + }, + "root-comment": { + "error": "Unknown method", + "ok": false + } + }, + "dd111f37a483": { + "delete-comment": { + "ok": true + }, + "edit-comment": { + "ok": true + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "error": "transport failure", + "ok": false + } + }, + "e44ccd2e6c39": { + "delete-comment": { + "ok": true + }, + "edit-comment": { + "ok": true + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "error": "inner refused", + "ok": false + } + }, + "e8277b2fbe2f": { + "name": "github.project.updateIssueCommentBySlug#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.updateIssueCommentBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"commentId\":55,\"body\":\"edited\"}}" + }, + "ed14ba07acb1": { + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "error": "", + "ok": false + } + }, + "f387102e5524": { + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "error": "Request failed: github.addIssueComment", + "ok": false + } + }, + "f46379198976": { + "reply": { + "ok": true + }, + "root-comment": { + "error": "outer refused", + "ok": false + } + }, + "fa93ca01f266": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Unknown method", + "ok": false + } + }, + "fb4429083480": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "", + "ok": false + } + }, + "fbc958e4d46e": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true + } + } + }, + "recording": { + "scenario": "matrix-github.pr-comment-mutation-github.addissuecomment-1", + "checkpoints": [ + { + "id": "pr-comment-mutation.prelude:pending", + "observation": { + "sender": [], + "payloads": [], + "settlements": {}, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.prelude:reply", + "observation": { + "sender": ["b72d1b08ed71"], + "payloads": ["8108c9f604fb"], + "settlements": { + "reply": "fbc958e4d46e" + }, + "state": "d7020c20297f", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.normal:root-comment", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d"], + "payloads": ["8108c9f604fb", "478fd4bcbb87"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e" + }, + "state": "a03244774599", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.normal:resolve-thread", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d", "7d998237c7b0"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e" + }, + "state": "720507281e9c", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.normal:edit-comment", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d", "7d998237c7b0", "cb0ebf3e3df2"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917", "e8277b2fbe2f"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e" + }, + "state": "2dd1ced3c6e3", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.normal:delete-comment", + "observation": { + "sender": [ + "b72d1b08ed71", + "c809528f892d", + "7d998237c7b0", + "cb0ebf3e3df2", + "a09b7d2d7c5a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e", + "delete-comment": "fbc958e4d46e" + }, + "state": "d65744cb322a", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.result-absent:root-comment", + "observation": { + "sender": ["b72d1b08ed71", "7223e2d25a72"], + "payloads": ["8108c9f604fb", "478fd4bcbb87"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e" + }, + "state": "a03244774599", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.result-absent:resolve-thread", + "observation": { + "sender": ["b72d1b08ed71", "7223e2d25a72", "7d998237c7b0"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e" + }, + "state": "720507281e9c", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.result-absent:edit-comment", + "observation": { + "sender": ["b72d1b08ed71", "7223e2d25a72", "7d998237c7b0", "cb0ebf3e3df2"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917", "e8277b2fbe2f"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e" + }, + "state": "2dd1ced3c6e3", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.result-absent:delete-comment", + "observation": { + "sender": [ + "b72d1b08ed71", + "7223e2d25a72", + "7d998237c7b0", + "cb0ebf3e3df2", + "a09b7d2d7c5a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e", + "delete-comment": "fbc958e4d46e" + }, + "state": "d65744cb322a", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.result-null:root-comment", + "observation": { + "sender": ["b72d1b08ed71", "4fccb238edb1"], + "payloads": ["8108c9f604fb", "478fd4bcbb87"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e" + }, + "state": "a03244774599", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.result-null:resolve-thread", + "observation": { + "sender": ["b72d1b08ed71", "4fccb238edb1", "7d998237c7b0"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e" + }, + "state": "720507281e9c", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.result-null:edit-comment", + "observation": { + "sender": ["b72d1b08ed71", "4fccb238edb1", "7d998237c7b0", "cb0ebf3e3df2"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917", "e8277b2fbe2f"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e" + }, + "state": "2dd1ced3c6e3", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.result-null:delete-comment", + "observation": { + "sender": [ + "b72d1b08ed71", + "4fccb238edb1", + "7d998237c7b0", + "cb0ebf3e3df2", + "a09b7d2d7c5a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e", + "delete-comment": "fbc958e4d46e" + }, + "state": "d65744cb322a", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.inner-ok-missing:root-comment", + "observation": { + "sender": ["b72d1b08ed71", "45f8781a0214"], + "payloads": ["8108c9f604fb", "478fd4bcbb87"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e" + }, + "state": "a03244774599", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.inner-ok-missing:resolve-thread", + "observation": { + "sender": ["b72d1b08ed71", "45f8781a0214", "7d998237c7b0"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e" + }, + "state": "720507281e9c", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.inner-ok-missing:edit-comment", + "observation": { + "sender": ["b72d1b08ed71", "45f8781a0214", "7d998237c7b0", "cb0ebf3e3df2"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917", "e8277b2fbe2f"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e" + }, + "state": "2dd1ced3c6e3", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.inner-ok-missing:delete-comment", + "observation": { + "sender": [ + "b72d1b08ed71", + "45f8781a0214", + "7d998237c7b0", + "cb0ebf3e3df2", + "a09b7d2d7c5a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e", + "delete-comment": "fbc958e4d46e" + }, + "state": "d65744cb322a", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.inner-false-string-error:root-comment", + "observation": { + "sender": ["b72d1b08ed71", "871b2a18f62d"], + "payloads": ["8108c9f604fb", "478fd4bcbb87"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "9f00dd54ba64" + }, + "state": "9adfce5d3c0b", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.inner-false-string-error:resolve-thread", + "observation": { + "sender": ["b72d1b08ed71", "871b2a18f62d", "7d998237c7b0"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "9f00dd54ba64", + "resolve-thread": "fbc958e4d46e" + }, + "state": "11da44dfb879", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.inner-false-string-error:edit-comment", + "observation": { + "sender": ["b72d1b08ed71", "871b2a18f62d", "7d998237c7b0", "cb0ebf3e3df2"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917", "e8277b2fbe2f"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "9f00dd54ba64", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e" + }, + "state": "8302b53c96cd", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.inner-false-string-error:delete-comment", + "observation": { + "sender": [ + "b72d1b08ed71", + "871b2a18f62d", + "7d998237c7b0", + "cb0ebf3e3df2", + "a09b7d2d7c5a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "9f00dd54ba64", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e", + "delete-comment": "fbc958e4d46e" + }, + "state": "e44ccd2e6c39", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.inner-false-object-error:root-comment", + "observation": { + "sender": ["b72d1b08ed71", "23bd818e8ba6"], + "payloads": ["8108c9f604fb", "478fd4bcbb87"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "9f00dd54ba64" + }, + "state": "9adfce5d3c0b", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.inner-false-object-error:resolve-thread", + "observation": { + "sender": ["b72d1b08ed71", "23bd818e8ba6", "7d998237c7b0"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "9f00dd54ba64", + "resolve-thread": "fbc958e4d46e" + }, + "state": "11da44dfb879", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.inner-false-object-error:edit-comment", + "observation": { + "sender": ["b72d1b08ed71", "23bd818e8ba6", "7d998237c7b0", "cb0ebf3e3df2"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917", "e8277b2fbe2f"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "9f00dd54ba64", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e" + }, + "state": "8302b53c96cd", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.inner-false-object-error:delete-comment", + "observation": { + "sender": [ + "b72d1b08ed71", + "23bd818e8ba6", + "7d998237c7b0", + "cb0ebf3e3df2", + "a09b7d2d7c5a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "9f00dd54ba64", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e", + "delete-comment": "fbc958e4d46e" + }, + "state": "e44ccd2e6c39", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.outer-refused:root-comment", + "observation": { + "sender": ["b72d1b08ed71", "735f219f431b"], + "payloads": ["8108c9f604fb", "478fd4bcbb87"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "1b2778bf67a2" + }, + "state": "f46379198976", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.outer-refused:resolve-thread", + "observation": { + "sender": ["b72d1b08ed71", "735f219f431b", "7d998237c7b0"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "1b2778bf67a2", + "resolve-thread": "fbc958e4d46e" + }, + "state": "99737c47980d", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.outer-refused:edit-comment", + "observation": { + "sender": ["b72d1b08ed71", "735f219f431b", "7d998237c7b0", "cb0ebf3e3df2"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917", "e8277b2fbe2f"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "1b2778bf67a2", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e" + }, + "state": "21ee02b012e8", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.outer-refused:delete-comment", + "observation": { + "sender": [ + "b72d1b08ed71", + "735f219f431b", + "7d998237c7b0", + "cb0ebf3e3df2", + "a09b7d2d7c5a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "1b2778bf67a2", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e", + "delete-comment": "fbc958e4d46e" + }, + "state": "41441b5c604e", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.outer-refused-no-message:root-comment", + "observation": { + "sender": ["b72d1b08ed71", "6ef76b3e8f0d"], + "payloads": ["8108c9f604fb", "478fd4bcbb87"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "692d2314c7c5" + }, + "state": "b05590db45b7", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.outer-refused-no-message:resolve-thread", + "observation": { + "sender": ["b72d1b08ed71", "6ef76b3e8f0d", "7d998237c7b0"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "692d2314c7c5", + "resolve-thread": "fbc958e4d46e" + }, + "state": "f387102e5524", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.outer-refused-no-message:edit-comment", + "observation": { + "sender": ["b72d1b08ed71", "6ef76b3e8f0d", "7d998237c7b0", "cb0ebf3e3df2"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917", "e8277b2fbe2f"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "692d2314c7c5", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e" + }, + "state": "8b61a6ecaab9", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.outer-refused-no-message:delete-comment", + "observation": { + "sender": [ + "b72d1b08ed71", + "6ef76b3e8f0d", + "7d998237c7b0", + "cb0ebf3e3df2", + "a09b7d2d7c5a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "692d2314c7c5", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e", + "delete-comment": "fbc958e4d46e" + }, + "state": "6e135fd30dcd", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.method-not-found:root-comment", + "observation": { + "sender": ["b72d1b08ed71", "08b540c77640"], + "payloads": ["8108c9f604fb", "478fd4bcbb87"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fa93ca01f266" + }, + "state": "dbf8fad741cc", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.method-not-found:resolve-thread", + "observation": { + "sender": ["b72d1b08ed71", "08b540c77640", "7d998237c7b0"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fa93ca01f266", + "resolve-thread": "fbc958e4d46e" + }, + "state": "02901e46c7a3", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.method-not-found:edit-comment", + "observation": { + "sender": ["b72d1b08ed71", "08b540c77640", "7d998237c7b0", "cb0ebf3e3df2"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917", "e8277b2fbe2f"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fa93ca01f266", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e" + }, + "state": "d59bb9371e7c", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.method-not-found:delete-comment", + "observation": { + "sender": [ + "b72d1b08ed71", + "08b540c77640", + "7d998237c7b0", + "cb0ebf3e3df2", + "a09b7d2d7c5a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fa93ca01f266", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e", + "delete-comment": "fbc958e4d46e" + }, + "state": "d0c188fbc72e", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.transport-rejection:root-comment", + "observation": { + "sender": ["b72d1b08ed71", "94828c89cc0f"], + "payloads": ["8108c9f604fb", "478fd4bcbb87"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "a197c20578aa" + }, + "state": "ac0fbf7e8046", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.transport-rejection:resolve-thread", + "observation": { + "sender": ["b72d1b08ed71", "94828c89cc0f", "7d998237c7b0"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "a197c20578aa", + "resolve-thread": "fbc958e4d46e" + }, + "state": "d17352ae4289", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.transport-rejection:edit-comment", + "observation": { + "sender": ["b72d1b08ed71", "94828c89cc0f", "7d998237c7b0", "cb0ebf3e3df2"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917", "e8277b2fbe2f"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "a197c20578aa", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e" + }, + "state": "5f1bb831eeeb", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.transport-rejection:delete-comment", + "observation": { + "sender": [ + "b72d1b08ed71", + "94828c89cc0f", + "7d998237c7b0", + "cb0ebf3e3df2", + "a09b7d2d7c5a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "a197c20578aa", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e", + "delete-comment": "fbc958e4d46e" + }, + "state": "dd111f37a483", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.transport-rejection-no-message:root-comment", + "observation": { + "sender": ["b72d1b08ed71", "ca6d007cb7b8"], + "payloads": ["8108c9f604fb", "478fd4bcbb87"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fb4429083480" + }, + "state": "98be7abfd74c", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.transport-rejection-no-message:resolve-thread", + "observation": { + "sender": ["b72d1b08ed71", "ca6d007cb7b8", "7d998237c7b0"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fb4429083480", + "resolve-thread": "fbc958e4d46e" + }, + "state": "ed14ba07acb1", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.transport-rejection-no-message:edit-comment", + "observation": { + "sender": ["b72d1b08ed71", "ca6d007cb7b8", "7d998237c7b0", "cb0ebf3e3df2"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917", "e8277b2fbe2f"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fb4429083480", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e" + }, + "state": "a4d389fbb21f", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.transport-rejection-no-message:delete-comment", + "observation": { + "sender": [ + "b72d1b08ed71", + "ca6d007cb7b8", + "7d998237c7b0", + "cb0ebf3e3df2", + "a09b7d2d7c5a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fb4429083480", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e", + "delete-comment": "fbc958e4d46e" + }, + "state": "8f960e5dec0b", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-github.pr-comment-mutation-github.addprreviewcommentreply-1.json b/mobile/rpc-foundation/goldens/matrix-github.pr-comment-mutation-github.addprreviewcommentreply-1.json new file mode 100644 index 00000000000..7c6735a2f65 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-github.pr-comment-mutation-github.addprreviewcommentreply-1.json @@ -0,0 +1,2007 @@ +{ + "operation": "session.pr-mutations", + "family": "github.pr-comment-mutation", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "f560ff1582487c118756c527faa1fb1f65e37ce22ca9573491fd4b2dbcedf38d", + "scenarioSha256": "4f2b61df5e59d2efe81d467214a78132654035cbcb4d929385410b53f735c9fe", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "067c7f523d70": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "recorded reply", + "commentId": 55, + "line": 3, + "path": "src/app.ts", + "prNumber": 12, + "repo": "id:repo-9", + "threadId": "thread-1" + } + }, + { + "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 + } + } + } + }, + "06ba1c859547": { + "reply": { + "error": "", + "ok": false + } + }, + "142b1e3b6b70": { + "reply": { + "error": "outer refused", + "ok": false + } + }, + "19ae13828166": { + "reply": { + "error": "transport failure", + "ok": false + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "19cd524e341a": { + "reply": { + "error": "", + "ok": false + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "1b2778bf67a2": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "outer refused", + "ok": false + } + }, + "28b73f1b7623": { + "reply": { + "error": "Request failed: github.addPRReviewCommentReply", + "ok": false + } + }, + "2dd1ced3c6e3": { + "edit-comment": { + "ok": true + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "2f20b6d17632": { + "reply": { + "error": "Unknown method", + "ok": false + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "3145cd921157": { + "edit-comment": { + "ok": true + }, + "reply": { + "error": "outer refused", + "ok": false + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "3f582d0e4cd1": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Request failed: github.addPRReviewCommentReply", + "ok": false + } + }, + "42681d760b54": { + "delete-comment": { + "ok": true + }, + "edit-comment": { + "ok": true + }, + "reply": { + "error": "", + "ok": false + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "44136fa355b3": {}, + "478fd4bcbb87": { + "name": "github.addIssueComment#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.addIssueComment\",\"params\":{\"repo\":\"id:repo-9\",\"number\":12,\"body\":\"recorded comment\",\"type\":\"pr\"}}" + }, + "552ab1726647": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "recorded reply", + "commentId": 55, + "line": 3, + "path": "src/app.ts", + "prNumber": 12, + "repo": "id:repo-9", + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "62c50de19f23": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "recorded reply", + "commentId": 55, + "line": 3, + "path": "src/app.ts", + "prNumber": 12, + "repo": "id:repo-9", + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "63ae6ce07800": { + "edit-comment": { + "ok": true + }, + "reply": { + "error": "transport failure", + "ok": false + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "657bdbc91c07": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "recorded reply", + "commentId": 55, + "line": 3, + "path": "src/app.ts", + "prNumber": 12, + "repo": "id:repo-9", + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "701813316c23": { + "delete-comment": { + "ok": true + }, + "edit-comment": { + "ok": true + }, + "reply": { + "error": "outer refused", + "ok": false + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "720507281e9c": { + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "766b47e9f1b4": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "recorded reply", + "commentId": 55, + "line": 3, + "path": "src/app.ts", + "prNumber": 12, + "repo": "id:repo-9", + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "7d315faa1073": { + "delete-comment": { + "ok": true + }, + "edit-comment": { + "ok": true + }, + "reply": { + "error": "transport failure", + "ok": false + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "7d998237c7b0": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": true + } + } + }, + "8108c9f604fb": { + "name": "github.addPRReviewCommentReply#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.addPRReviewCommentReply\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"commentId\":55,\"body\":\"recorded reply\",\"threadId\":\"thread-1\",\"path\":\"src/app.ts\",\"line\":3}}" + }, + "825827297f7a": { + "reply": { + "error": "Unknown method", + "ok": false + }, + "root-comment": { + "ok": true + } + }, + "84c5c28d10f1": { + "delete-comment": { + "ok": true + }, + "edit-comment": { + "ok": true + }, + "reply": { + "error": "Request failed: github.addPRReviewCommentReply", + "ok": false + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "87f96829742f": { + "reply": { + "error": "", + "ok": false + }, + "root-comment": { + "ok": true + } + }, + "89dd41cd21a2": { + "reply": { + "error": "transport failure", + "ok": false + }, + "root-comment": { + "ok": true + } + }, + "918d7aa7b94d": { + "reply": { + "error": "outer refused", + "ok": false + }, + "root-comment": { + "ok": true + } + }, + "95b7d2c7712e": { + "reply": { + "error": "transport failure", + "ok": false + } + }, + "9f00dd54ba64": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "inner refused", + "ok": false + } + }, + "a03244774599": { + "reply": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "a09b7d2d7c5a": { + "name": "github.project.deleteIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.deleteIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "commentId": 55, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "a197c20578aa": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "transport failure", + "ok": false + } + }, + "a2873309ede9": { + "delete-comment": { + "ok": true + }, + "edit-comment": { + "ok": true + }, + "reply": { + "error": "inner refused", + "ok": false + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "a41b04c9deb8": { + "delete-comment": { + "ok": true + }, + "edit-comment": { + "ok": true + }, + "reply": { + "error": "Unknown method", + "ok": false + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "a6c7b24c0f3f": { + "reply": { + "error": "inner refused", + "ok": false + }, + "root-comment": { + "ok": true + } + }, + "ac81845257b6": { + "reply": { + "error": "Request failed: github.addPRReviewCommentReply", + "ok": false + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "af688481a64e": { + "name": "github.project.deleteIssueCommentBySlug#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.deleteIssueCommentBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"commentId\":55}}" + }, + "b3ae95f45617": { + "edit-comment": { + "ok": true + }, + "reply": { + "error": "Request failed: github.addPRReviewCommentReply", + "ok": false + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "b5d7302ebfb7": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "recorded reply", + "commentId": 55, + "line": 3, + "path": "src/app.ts", + "prNumber": 12, + "repo": "id:repo-9", + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "b7107312d478": { + "edit-comment": { + "ok": true + }, + "reply": { + "error": "", + "ok": false + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "b72d1b08ed71": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "recorded reply", + "commentId": 55, + "line": 3, + "path": "src/app.ts", + "prNumber": 12, + "repo": "id:repo-9", + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "comment": { + "id": 56 + }, + "ok": true + } + } + } + }, + "b98bf8be5269": { + "edit-comment": { + "ok": true + }, + "reply": { + "error": "inner refused", + "ok": false + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "be49216f63c9": { + "reply": { + "error": "inner refused", + "ok": false + } + }, + "c060b2f738db": { + "reply": { + "error": "Request failed: github.addPRReviewCommentReply", + "ok": false + }, + "root-comment": { + "ok": true + } + }, + "c0d7d39f1b67": { + "reply": { + "error": "Unknown method", + "ok": false + } + }, + "c0db4698539c": { + "reply": { + "error": "outer refused", + "ok": false + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "c6e854dae600": { + "edit-comment": { + "ok": true + }, + "reply": { + "error": "Unknown method", + "ok": false + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "c809528f892d": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "recorded comment", + "number": 12, + "repo": "id:repo-9", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "comment": { + "id": 57 + }, + "ok": true + } + } + } + }, + "cb0ebf3e3df2": { + "name": "github.project.updateIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "body": "edited", + "commentId": 55, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "d4360e5db185": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "recorded reply", + "commentId": 55, + "line": 3, + "path": "src/app.ts", + "prNumber": 12, + "repo": "id:repo-9", + "threadId": "thread-1" + } + }, + { + "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 + } + } + }, + "d65744cb322a": { + "delete-comment": { + "ok": true + }, + "edit-comment": { + "ok": true + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "d7020c20297f": { + "reply": { + "ok": true + } + }, + "d9b62b144917": { + "name": "github.resolveReviewThread#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.resolveReviewThread\",\"params\":{\"repo\":\"id:repo-9\",\"threadId\":\"thread-1\",\"resolve\":true}}" + }, + "e8277b2fbe2f": { + "name": "github.project.updateIssueCommentBySlug#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.updateIssueCommentBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"commentId\":55,\"body\":\"edited\"}}" + }, + "ecc3c00f38d4": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "recorded reply", + "commentId": 55, + "line": 3, + "path": "src/app.ts", + "prNumber": 12, + "repo": "id:repo-9", + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "ed1fe986dec4": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "recorded reply", + "commentId": 55, + "line": 3, + "path": "src/app.ts", + "prNumber": 12, + "repo": "id:repo-9", + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "f4ca6a62d9d6": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "recorded reply", + "commentId": 55, + "line": 3, + "path": "src/app.ts", + "prNumber": 12, + "repo": "id:repo-9", + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "f593e89635fc": { + "reply": { + "error": "inner refused", + "ok": false + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "fa93ca01f266": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Unknown method", + "ok": false + } + }, + "fb4429083480": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "", + "ok": false + } + }, + "fbc958e4d46e": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true + } + } + }, + "recording": { + "scenario": "matrix-github.pr-comment-mutation-github.addprreviewcommentreply-1", + "checkpoints": [ + { + "id": "pr-comment-mutation.prelude:pending", + "observation": { + "sender": [], + "payloads": [], + "settlements": {}, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.normal:reply", + "observation": { + "sender": ["b72d1b08ed71"], + "payloads": ["8108c9f604fb"], + "settlements": { + "reply": "fbc958e4d46e" + }, + "state": "d7020c20297f", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.normal:root-comment", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d"], + "payloads": ["8108c9f604fb", "478fd4bcbb87"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e" + }, + "state": "a03244774599", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.normal:resolve-thread", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d", "7d998237c7b0"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e" + }, + "state": "720507281e9c", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.normal:edit-comment", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d", "7d998237c7b0", "cb0ebf3e3df2"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917", "e8277b2fbe2f"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e" + }, + "state": "2dd1ced3c6e3", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.normal:delete-comment", + "observation": { + "sender": [ + "b72d1b08ed71", + "c809528f892d", + "7d998237c7b0", + "cb0ebf3e3df2", + "a09b7d2d7c5a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e", + "delete-comment": "fbc958e4d46e" + }, + "state": "d65744cb322a", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.result-absent:reply", + "observation": { + "sender": ["b5d7302ebfb7"], + "payloads": ["8108c9f604fb"], + "settlements": { + "reply": "fbc958e4d46e" + }, + "state": "d7020c20297f", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.result-absent:root-comment", + "observation": { + "sender": ["b5d7302ebfb7", "c809528f892d"], + "payloads": ["8108c9f604fb", "478fd4bcbb87"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e" + }, + "state": "a03244774599", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.result-absent:resolve-thread", + "observation": { + "sender": ["b5d7302ebfb7", "c809528f892d", "7d998237c7b0"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e" + }, + "state": "720507281e9c", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.result-absent:edit-comment", + "observation": { + "sender": ["b5d7302ebfb7", "c809528f892d", "7d998237c7b0", "cb0ebf3e3df2"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917", "e8277b2fbe2f"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e" + }, + "state": "2dd1ced3c6e3", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.result-absent:delete-comment", + "observation": { + "sender": [ + "b5d7302ebfb7", + "c809528f892d", + "7d998237c7b0", + "cb0ebf3e3df2", + "a09b7d2d7c5a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e", + "delete-comment": "fbc958e4d46e" + }, + "state": "d65744cb322a", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.result-null:reply", + "observation": { + "sender": ["766b47e9f1b4"], + "payloads": ["8108c9f604fb"], + "settlements": { + "reply": "fbc958e4d46e" + }, + "state": "d7020c20297f", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.result-null:root-comment", + "observation": { + "sender": ["766b47e9f1b4", "c809528f892d"], + "payloads": ["8108c9f604fb", "478fd4bcbb87"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e" + }, + "state": "a03244774599", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.result-null:resolve-thread", + "observation": { + "sender": ["766b47e9f1b4", "c809528f892d", "7d998237c7b0"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e" + }, + "state": "720507281e9c", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.result-null:edit-comment", + "observation": { + "sender": ["766b47e9f1b4", "c809528f892d", "7d998237c7b0", "cb0ebf3e3df2"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917", "e8277b2fbe2f"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e" + }, + "state": "2dd1ced3c6e3", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.result-null:delete-comment", + "observation": { + "sender": [ + "766b47e9f1b4", + "c809528f892d", + "7d998237c7b0", + "cb0ebf3e3df2", + "a09b7d2d7c5a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e", + "delete-comment": "fbc958e4d46e" + }, + "state": "d65744cb322a", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.inner-ok-missing:reply", + "observation": { + "sender": ["ed1fe986dec4"], + "payloads": ["8108c9f604fb"], + "settlements": { + "reply": "fbc958e4d46e" + }, + "state": "d7020c20297f", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.inner-ok-missing:root-comment", + "observation": { + "sender": ["ed1fe986dec4", "c809528f892d"], + "payloads": ["8108c9f604fb", "478fd4bcbb87"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e" + }, + "state": "a03244774599", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.inner-ok-missing:resolve-thread", + "observation": { + "sender": ["ed1fe986dec4", "c809528f892d", "7d998237c7b0"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e" + }, + "state": "720507281e9c", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.inner-ok-missing:edit-comment", + "observation": { + "sender": ["ed1fe986dec4", "c809528f892d", "7d998237c7b0", "cb0ebf3e3df2"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917", "e8277b2fbe2f"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e" + }, + "state": "2dd1ced3c6e3", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.inner-ok-missing:delete-comment", + "observation": { + "sender": [ + "ed1fe986dec4", + "c809528f892d", + "7d998237c7b0", + "cb0ebf3e3df2", + "a09b7d2d7c5a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e", + "delete-comment": "fbc958e4d46e" + }, + "state": "d65744cb322a", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.inner-false-string-error:reply", + "observation": { + "sender": ["ecc3c00f38d4"], + "payloads": ["8108c9f604fb"], + "settlements": { + "reply": "9f00dd54ba64" + }, + "state": "be49216f63c9", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.inner-false-string-error:root-comment", + "observation": { + "sender": ["ecc3c00f38d4", "c809528f892d"], + "payloads": ["8108c9f604fb", "478fd4bcbb87"], + "settlements": { + "reply": "9f00dd54ba64", + "root-comment": "fbc958e4d46e" + }, + "state": "a6c7b24c0f3f", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.inner-false-string-error:resolve-thread", + "observation": { + "sender": ["ecc3c00f38d4", "c809528f892d", "7d998237c7b0"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917"], + "settlements": { + "reply": "9f00dd54ba64", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e" + }, + "state": "f593e89635fc", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.inner-false-string-error:edit-comment", + "observation": { + "sender": ["ecc3c00f38d4", "c809528f892d", "7d998237c7b0", "cb0ebf3e3df2"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917", "e8277b2fbe2f"], + "settlements": { + "reply": "9f00dd54ba64", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e" + }, + "state": "b98bf8be5269", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.inner-false-string-error:delete-comment", + "observation": { + "sender": [ + "ecc3c00f38d4", + "c809528f892d", + "7d998237c7b0", + "cb0ebf3e3df2", + "a09b7d2d7c5a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "9f00dd54ba64", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e", + "delete-comment": "fbc958e4d46e" + }, + "state": "a2873309ede9", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.inner-false-object-error:reply", + "observation": { + "sender": ["067c7f523d70"], + "payloads": ["8108c9f604fb"], + "settlements": { + "reply": "9f00dd54ba64" + }, + "state": "be49216f63c9", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.inner-false-object-error:root-comment", + "observation": { + "sender": ["067c7f523d70", "c809528f892d"], + "payloads": ["8108c9f604fb", "478fd4bcbb87"], + "settlements": { + "reply": "9f00dd54ba64", + "root-comment": "fbc958e4d46e" + }, + "state": "a6c7b24c0f3f", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.inner-false-object-error:resolve-thread", + "observation": { + "sender": ["067c7f523d70", "c809528f892d", "7d998237c7b0"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917"], + "settlements": { + "reply": "9f00dd54ba64", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e" + }, + "state": "f593e89635fc", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.inner-false-object-error:edit-comment", + "observation": { + "sender": ["067c7f523d70", "c809528f892d", "7d998237c7b0", "cb0ebf3e3df2"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917", "e8277b2fbe2f"], + "settlements": { + "reply": "9f00dd54ba64", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e" + }, + "state": "b98bf8be5269", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.inner-false-object-error:delete-comment", + "observation": { + "sender": [ + "067c7f523d70", + "c809528f892d", + "7d998237c7b0", + "cb0ebf3e3df2", + "a09b7d2d7c5a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "9f00dd54ba64", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e", + "delete-comment": "fbc958e4d46e" + }, + "state": "a2873309ede9", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.outer-refused:reply", + "observation": { + "sender": ["552ab1726647"], + "payloads": ["8108c9f604fb"], + "settlements": { + "reply": "1b2778bf67a2" + }, + "state": "142b1e3b6b70", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.outer-refused:root-comment", + "observation": { + "sender": ["552ab1726647", "c809528f892d"], + "payloads": ["8108c9f604fb", "478fd4bcbb87"], + "settlements": { + "reply": "1b2778bf67a2", + "root-comment": "fbc958e4d46e" + }, + "state": "918d7aa7b94d", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.outer-refused:resolve-thread", + "observation": { + "sender": ["552ab1726647", "c809528f892d", "7d998237c7b0"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917"], + "settlements": { + "reply": "1b2778bf67a2", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e" + }, + "state": "c0db4698539c", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.outer-refused:edit-comment", + "observation": { + "sender": ["552ab1726647", "c809528f892d", "7d998237c7b0", "cb0ebf3e3df2"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917", "e8277b2fbe2f"], + "settlements": { + "reply": "1b2778bf67a2", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e" + }, + "state": "3145cd921157", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.outer-refused:delete-comment", + "observation": { + "sender": [ + "552ab1726647", + "c809528f892d", + "7d998237c7b0", + "cb0ebf3e3df2", + "a09b7d2d7c5a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "1b2778bf67a2", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e", + "delete-comment": "fbc958e4d46e" + }, + "state": "701813316c23", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.outer-refused-no-message:reply", + "observation": { + "sender": ["657bdbc91c07"], + "payloads": ["8108c9f604fb"], + "settlements": { + "reply": "3f582d0e4cd1" + }, + "state": "28b73f1b7623", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.outer-refused-no-message:root-comment", + "observation": { + "sender": ["657bdbc91c07", "c809528f892d"], + "payloads": ["8108c9f604fb", "478fd4bcbb87"], + "settlements": { + "reply": "3f582d0e4cd1", + "root-comment": "fbc958e4d46e" + }, + "state": "c060b2f738db", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.outer-refused-no-message:resolve-thread", + "observation": { + "sender": ["657bdbc91c07", "c809528f892d", "7d998237c7b0"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917"], + "settlements": { + "reply": "3f582d0e4cd1", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e" + }, + "state": "ac81845257b6", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.outer-refused-no-message:edit-comment", + "observation": { + "sender": ["657bdbc91c07", "c809528f892d", "7d998237c7b0", "cb0ebf3e3df2"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917", "e8277b2fbe2f"], + "settlements": { + "reply": "3f582d0e4cd1", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e" + }, + "state": "b3ae95f45617", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.outer-refused-no-message:delete-comment", + "observation": { + "sender": [ + "657bdbc91c07", + "c809528f892d", + "7d998237c7b0", + "cb0ebf3e3df2", + "a09b7d2d7c5a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "3f582d0e4cd1", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e", + "delete-comment": "fbc958e4d46e" + }, + "state": "84c5c28d10f1", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.method-not-found:reply", + "observation": { + "sender": ["d4360e5db185"], + "payloads": ["8108c9f604fb"], + "settlements": { + "reply": "fa93ca01f266" + }, + "state": "c0d7d39f1b67", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.method-not-found:root-comment", + "observation": { + "sender": ["d4360e5db185", "c809528f892d"], + "payloads": ["8108c9f604fb", "478fd4bcbb87"], + "settlements": { + "reply": "fa93ca01f266", + "root-comment": "fbc958e4d46e" + }, + "state": "825827297f7a", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.method-not-found:resolve-thread", + "observation": { + "sender": ["d4360e5db185", "c809528f892d", "7d998237c7b0"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917"], + "settlements": { + "reply": "fa93ca01f266", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e" + }, + "state": "2f20b6d17632", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.method-not-found:edit-comment", + "observation": { + "sender": ["d4360e5db185", "c809528f892d", "7d998237c7b0", "cb0ebf3e3df2"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917", "e8277b2fbe2f"], + "settlements": { + "reply": "fa93ca01f266", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e" + }, + "state": "c6e854dae600", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.method-not-found:delete-comment", + "observation": { + "sender": [ + "d4360e5db185", + "c809528f892d", + "7d998237c7b0", + "cb0ebf3e3df2", + "a09b7d2d7c5a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fa93ca01f266", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e", + "delete-comment": "fbc958e4d46e" + }, + "state": "a41b04c9deb8", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.transport-rejection:reply", + "observation": { + "sender": ["62c50de19f23"], + "payloads": ["8108c9f604fb"], + "settlements": { + "reply": "a197c20578aa" + }, + "state": "95b7d2c7712e", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.transport-rejection:root-comment", + "observation": { + "sender": ["62c50de19f23", "c809528f892d"], + "payloads": ["8108c9f604fb", "478fd4bcbb87"], + "settlements": { + "reply": "a197c20578aa", + "root-comment": "fbc958e4d46e" + }, + "state": "89dd41cd21a2", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.transport-rejection:resolve-thread", + "observation": { + "sender": ["62c50de19f23", "c809528f892d", "7d998237c7b0"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917"], + "settlements": { + "reply": "a197c20578aa", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e" + }, + "state": "19ae13828166", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.transport-rejection:edit-comment", + "observation": { + "sender": ["62c50de19f23", "c809528f892d", "7d998237c7b0", "cb0ebf3e3df2"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917", "e8277b2fbe2f"], + "settlements": { + "reply": "a197c20578aa", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e" + }, + "state": "63ae6ce07800", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.transport-rejection:delete-comment", + "observation": { + "sender": [ + "62c50de19f23", + "c809528f892d", + "7d998237c7b0", + "cb0ebf3e3df2", + "a09b7d2d7c5a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "a197c20578aa", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e", + "delete-comment": "fbc958e4d46e" + }, + "state": "7d315faa1073", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.transport-rejection-no-message:reply", + "observation": { + "sender": ["f4ca6a62d9d6"], + "payloads": ["8108c9f604fb"], + "settlements": { + "reply": "fb4429083480" + }, + "state": "06ba1c859547", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.transport-rejection-no-message:root-comment", + "observation": { + "sender": ["f4ca6a62d9d6", "c809528f892d"], + "payloads": ["8108c9f604fb", "478fd4bcbb87"], + "settlements": { + "reply": "fb4429083480", + "root-comment": "fbc958e4d46e" + }, + "state": "87f96829742f", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.transport-rejection-no-message:resolve-thread", + "observation": { + "sender": ["f4ca6a62d9d6", "c809528f892d", "7d998237c7b0"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917"], + "settlements": { + "reply": "fb4429083480", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e" + }, + "state": "19cd524e341a", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.transport-rejection-no-message:edit-comment", + "observation": { + "sender": ["f4ca6a62d9d6", "c809528f892d", "7d998237c7b0", "cb0ebf3e3df2"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917", "e8277b2fbe2f"], + "settlements": { + "reply": "fb4429083480", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e" + }, + "state": "b7107312d478", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.transport-rejection-no-message:delete-comment", + "observation": { + "sender": [ + "f4ca6a62d9d6", + "c809528f892d", + "7d998237c7b0", + "cb0ebf3e3df2", + "a09b7d2d7c5a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fb4429083480", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e", + "delete-comment": "fbc958e4d46e" + }, + "state": "42681d760b54", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-github.pr-comment-mutation-github.project.deleteissuecommentbyslug-1.json b/mobile/rpc-foundation/goldens/matrix-github.pr-comment-mutation-github.project.deleteissuecommentbyslug-1.json new file mode 100644 index 00000000000..e6a51c7405a --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-github.pr-comment-mutation-github.project.deleteissuecommentbyslug-1.json @@ -0,0 +1,1175 @@ +{ + "operation": "session.pr-mutations", + "family": "github.pr-comment-mutation", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "f560ff1582487c118756c527faa1fb1f65e37ce22ca9573491fd4b2dbcedf38d", + "scenarioSha256": "04b2052cce6f24d9e208c992f204355639409ddc9793b3044b394c0e38d3c284", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "1b2778bf67a2": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "outer refused", + "ok": false + } + }, + "23b9ce21023f": { + "name": "github.project.deleteIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.deleteIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "commentId": 55, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "2dd1ced3c6e3": { + "edit-comment": { + "ok": true + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "2ed368bb030a": { + "name": "github.project.deleteIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.deleteIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "commentId": 55, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "30b3292b744d": { + "delete-comment": { + "error": "Request failed: github.project.deleteIssueCommentBySlug", + "ok": false + }, + "edit-comment": { + "ok": true + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "3515d33d219e": { + "delete-comment": { + "error": "", + "ok": false + }, + "edit-comment": { + "ok": true + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "38b3fe4d71dc": { + "delete-comment": { + "error": "transport failure", + "ok": false + }, + "edit-comment": { + "ok": true + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "44136fa355b3": {}, + "478fd4bcbb87": { + "name": "github.addIssueComment#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.addIssueComment\",\"params\":{\"repo\":\"id:repo-9\",\"number\":12,\"body\":\"recorded comment\",\"type\":\"pr\"}}" + }, + "6faee2aa2763": { + "name": "github.project.deleteIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.deleteIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "commentId": 55, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "720507281e9c": { + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "73b514d9f764": { + "name": "github.project.deleteIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.deleteIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "commentId": 55, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "7d998237c7b0": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": true + } + } + }, + "8108c9f604fb": { + "name": "github.addPRReviewCommentReply#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.addPRReviewCommentReply\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"commentId\":55,\"body\":\"recorded reply\",\"threadId\":\"thread-1\",\"path\":\"src/app.ts\",\"line\":3}}" + }, + "8cc87cf6e61d": { + "delete-comment": { + "error": "Unknown method", + "ok": false + }, + "edit-comment": { + "ok": true + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "8ec5becc2062": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Request failed: github.project.deleteIssueCommentBySlug", + "ok": false + } + }, + "8f35c824cd5f": { + "delete-comment": { + "error": "outer refused", + "ok": false + }, + "edit-comment": { + "ok": true + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "9f00dd54ba64": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "inner refused", + "ok": false + } + }, + "a03244774599": { + "reply": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "a09b7d2d7c5a": { + "name": "github.project.deleteIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.deleteIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "commentId": 55, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "a197c20578aa": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "transport failure", + "ok": false + } + }, + "af688481a64e": { + "name": "github.project.deleteIssueCommentBySlug#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.deleteIssueCommentBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"commentId\":55}}" + }, + "b527e21e8b74": { + "name": "github.project.deleteIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.deleteIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "commentId": 55, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-5", + "ok": false + } + } + }, + "b5aaedad11c3": { + "name": "github.project.deleteIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.deleteIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "commentId": 55, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-5", + "ok": false + } + } + }, + "b5ded9939b2b": { + "name": "github.project.deleteIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.deleteIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "commentId": 55, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true + } + } + }, + "b72d1b08ed71": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "recorded reply", + "commentId": 55, + "line": 3, + "path": "src/app.ts", + "prNumber": 12, + "repo": "id:repo-9", + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "comment": { + "id": 56 + }, + "ok": true + } + } + } + }, + "c48cbac933ba": { + "name": "github.project.deleteIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.deleteIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "commentId": 55, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "c809528f892d": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "recorded comment", + "number": 12, + "repo": "id:repo-9", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "comment": { + "id": 57 + }, + "ok": true + } + } + } + }, + "cb0ebf3e3df2": { + "name": "github.project.updateIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "body": "edited", + "commentId": 55, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "cb1da026444f": { + "name": "github.project.deleteIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.deleteIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "commentId": 55, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "d65744cb322a": { + "delete-comment": { + "ok": true + }, + "edit-comment": { + "ok": true + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "d7020c20297f": { + "reply": { + "ok": true + } + }, + "d9b62b144917": { + "name": "github.resolveReviewThread#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.resolveReviewThread\",\"params\":{\"repo\":\"id:repo-9\",\"threadId\":\"thread-1\",\"resolve\":true}}" + }, + "e4d7b3c37cab": { + "name": "github.project.deleteIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.deleteIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "commentId": 55, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-5", + "ok": false + } + } + }, + "e8277b2fbe2f": { + "name": "github.project.updateIssueCommentBySlug#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.updateIssueCommentBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"commentId\":55,\"body\":\"edited\"}}" + }, + "f7ebab409cd3": { + "delete-comment": { + "error": "inner refused", + "ok": false + }, + "edit-comment": { + "ok": true + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "fa93ca01f266": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Unknown method", + "ok": false + } + }, + "fb4429083480": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "", + "ok": false + } + }, + "fbc958e4d46e": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true + } + } + }, + "recording": { + "scenario": "matrix-github.pr-comment-mutation-github.project.deleteissuecommentbyslug-1", + "checkpoints": [ + { + "id": "pr-comment-mutation.prelude:pending", + "observation": { + "sender": [], + "payloads": [], + "settlements": {}, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.prelude:reply", + "observation": { + "sender": ["b72d1b08ed71"], + "payloads": ["8108c9f604fb"], + "settlements": { + "reply": "fbc958e4d46e" + }, + "state": "d7020c20297f", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.prelude:root-comment", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d"], + "payloads": ["8108c9f604fb", "478fd4bcbb87"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e" + }, + "state": "a03244774599", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.prelude:resolve-thread", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d", "7d998237c7b0"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e" + }, + "state": "720507281e9c", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.prelude:edit-comment", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d", "7d998237c7b0", "cb0ebf3e3df2"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917", "e8277b2fbe2f"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e" + }, + "state": "2dd1ced3c6e3", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.normal:delete-comment", + "observation": { + "sender": [ + "b72d1b08ed71", + "c809528f892d", + "7d998237c7b0", + "cb0ebf3e3df2", + "a09b7d2d7c5a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e", + "delete-comment": "fbc958e4d46e" + }, + "state": "d65744cb322a", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.result-absent:delete-comment", + "observation": { + "sender": [ + "b72d1b08ed71", + "c809528f892d", + "7d998237c7b0", + "cb0ebf3e3df2", + "b5ded9939b2b" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e", + "delete-comment": "fbc958e4d46e" + }, + "state": "d65744cb322a", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.result-null:delete-comment", + "observation": { + "sender": [ + "b72d1b08ed71", + "c809528f892d", + "7d998237c7b0", + "cb0ebf3e3df2", + "c48cbac933ba" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e", + "delete-comment": "fbc958e4d46e" + }, + "state": "d65744cb322a", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.inner-ok-missing:delete-comment", + "observation": { + "sender": [ + "b72d1b08ed71", + "c809528f892d", + "7d998237c7b0", + "cb0ebf3e3df2", + "23b9ce21023f" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e", + "delete-comment": "fbc958e4d46e" + }, + "state": "d65744cb322a", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.inner-false-string-error:delete-comment", + "observation": { + "sender": [ + "b72d1b08ed71", + "c809528f892d", + "7d998237c7b0", + "cb0ebf3e3df2", + "cb1da026444f" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e", + "delete-comment": "9f00dd54ba64" + }, + "state": "f7ebab409cd3", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.inner-false-object-error:delete-comment", + "observation": { + "sender": [ + "b72d1b08ed71", + "c809528f892d", + "7d998237c7b0", + "cb0ebf3e3df2", + "2ed368bb030a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e", + "delete-comment": "9f00dd54ba64" + }, + "state": "f7ebab409cd3", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.outer-refused:delete-comment", + "observation": { + "sender": [ + "b72d1b08ed71", + "c809528f892d", + "7d998237c7b0", + "cb0ebf3e3df2", + "e4d7b3c37cab" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e", + "delete-comment": "1b2778bf67a2" + }, + "state": "8f35c824cd5f", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.outer-refused-no-message:delete-comment", + "observation": { + "sender": [ + "b72d1b08ed71", + "c809528f892d", + "7d998237c7b0", + "cb0ebf3e3df2", + "b5aaedad11c3" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e", + "delete-comment": "8ec5becc2062" + }, + "state": "30b3292b744d", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.method-not-found:delete-comment", + "observation": { + "sender": [ + "b72d1b08ed71", + "c809528f892d", + "7d998237c7b0", + "cb0ebf3e3df2", + "b527e21e8b74" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e", + "delete-comment": "fa93ca01f266" + }, + "state": "8cc87cf6e61d", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.transport-rejection:delete-comment", + "observation": { + "sender": [ + "b72d1b08ed71", + "c809528f892d", + "7d998237c7b0", + "cb0ebf3e3df2", + "6faee2aa2763" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e", + "delete-comment": "a197c20578aa" + }, + "state": "38b3fe4d71dc", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.transport-rejection-no-message:delete-comment", + "observation": { + "sender": [ + "b72d1b08ed71", + "c809528f892d", + "7d998237c7b0", + "cb0ebf3e3df2", + "73b514d9f764" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e", + "delete-comment": "fb4429083480" + }, + "state": "3515d33d219e", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-github.pr-comment-mutation-github.project.updateissuecommentbyslug-1.json b/mobile/rpc-foundation/goldens/matrix-github.pr-comment-mutation-github.project.updateissuecommentbyslug-1.json new file mode 100644 index 00000000000..2e395f6ce54 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-github.pr-comment-mutation-github.project.updateissuecommentbyslug-1.json @@ -0,0 +1,1425 @@ +{ + "operation": "session.pr-mutations", + "family": "github.pr-comment-mutation", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "f560ff1582487c118756c527faa1fb1f65e37ce22ca9573491fd4b2dbcedf38d", + "scenarioSha256": "8f849437158296753a84a75dfdbaf69852bcdb6cdc6e8205496961ec16e4be21", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0c83831d655b": { + "name": "github.project.updateIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "body": "edited", + "commentId": 55, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-4", + "ok": false + } + } + }, + "1b2778bf67a2": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "outer refused", + "ok": false + } + }, + "212530085104": { + "delete-comment": { + "ok": true + }, + "edit-comment": { + "error": "transport failure", + "ok": false + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "229da860b66a": { + "edit-comment": { + "error": "Request failed: github.project.updateIssueCommentBySlug", + "ok": false + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "22ec636a26f2": { + "name": "github.project.updateIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "body": "edited", + "commentId": 55, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "2dd1ced3c6e3": { + "edit-comment": { + "ok": true + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "44136fa355b3": {}, + "478fd4bcbb87": { + "name": "github.addIssueComment#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.addIssueComment\",\"params\":{\"repo\":\"id:repo-9\",\"number\":12,\"body\":\"recorded comment\",\"type\":\"pr\"}}" + }, + "5b8020b7cd97": { + "name": "github.project.updateIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "body": "edited", + "commentId": 55, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "6e4455e73475": { + "edit-comment": { + "error": "transport failure", + "ok": false + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "6e7d4c5dad1f": { + "name": "github.project.updateIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "body": "edited", + "commentId": 55, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "720507281e9c": { + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "7b8920cbcd2b": { + "delete-comment": { + "ok": true + }, + "edit-comment": { + "error": "Request failed: github.project.updateIssueCommentBySlug", + "ok": false + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "7d998237c7b0": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": true + } + } + }, + "8108c9f604fb": { + "name": "github.addPRReviewCommentReply#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.addPRReviewCommentReply\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"commentId\":55,\"body\":\"recorded reply\",\"threadId\":\"thread-1\",\"path\":\"src/app.ts\",\"line\":3}}" + }, + "828db39cff00": { + "name": "github.project.updateIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "body": "edited", + "commentId": 55, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "949713a8a738": { + "name": "github.project.updateIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "body": "edited", + "commentId": 55, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "9ba32bb7251a": { + "name": "github.project.updateIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "body": "edited", + "commentId": 55, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-4", + "ok": false + } + } + }, + "9f00dd54ba64": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "inner refused", + "ok": false + } + }, + "a03244774599": { + "reply": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "a09b7d2d7c5a": { + "name": "github.project.deleteIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.deleteIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "commentId": 55, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "a197c20578aa": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "transport failure", + "ok": false + } + }, + "a793eafd9989": { + "name": "github.project.updateIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "body": "edited", + "commentId": 55, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true + } + } + }, + "a8fb7303b43d": { + "name": "github.project.updateIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "body": "edited", + "commentId": 55, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "ae334e6e6cfc": { + "delete-comment": { + "ok": true + }, + "edit-comment": { + "error": "inner refused", + "ok": false + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "af688481a64e": { + "name": "github.project.deleteIssueCommentBySlug#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.deleteIssueCommentBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"commentId\":55}}" + }, + "b4b6d25cc9b2": { + "name": "github.project.updateIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "body": "edited", + "commentId": 55, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-4", + "ok": false + } + } + }, + "b72d1b08ed71": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "recorded reply", + "commentId": 55, + "line": 3, + "path": "src/app.ts", + "prNumber": 12, + "repo": "id:repo-9", + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "comment": { + "id": 56 + }, + "ok": true + } + } + } + }, + "c4b9a96a9273": { + "edit-comment": { + "error": "inner refused", + "ok": false + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "c809528f892d": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "recorded comment", + "number": 12, + "repo": "id:repo-9", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "comment": { + "id": 57 + }, + "ok": true + } + } + } + }, + "cb0ebf3e3df2": { + "name": "github.project.updateIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "body": "edited", + "commentId": 55, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "cc031f4d2fab": { + "delete-comment": { + "ok": true + }, + "edit-comment": { + "error": "Unknown method", + "ok": false + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "d0da5f8b35ed": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Request failed: github.project.updateIssueCommentBySlug", + "ok": false + } + }, + "d65744cb322a": { + "delete-comment": { + "ok": true + }, + "edit-comment": { + "ok": true + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "d6d9b440bca2": { + "edit-comment": { + "error": "outer refused", + "ok": false + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "d7020c20297f": { + "reply": { + "ok": true + } + }, + "d7c351c27114": { + "edit-comment": { + "error": "", + "ok": false + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "d9b62b144917": { + "name": "github.resolveReviewThread#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.resolveReviewThread\",\"params\":{\"repo\":\"id:repo-9\",\"threadId\":\"thread-1\",\"resolve\":true}}" + }, + "db8a1ebee13a": { + "delete-comment": { + "ok": true + }, + "edit-comment": { + "error": "", + "ok": false + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "e192e6397e30": { + "edit-comment": { + "error": "Unknown method", + "ok": false + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "e8277b2fbe2f": { + "name": "github.project.updateIssueCommentBySlug#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.updateIssueCommentBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"commentId\":55,\"body\":\"edited\"}}" + }, + "f42f398553af": { + "delete-comment": { + "ok": true + }, + "edit-comment": { + "error": "outer refused", + "ok": false + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "fa93ca01f266": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Unknown method", + "ok": false + } + }, + "fb4429083480": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "", + "ok": false + } + }, + "fbc958e4d46e": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true + } + } + }, + "recording": { + "scenario": "matrix-github.pr-comment-mutation-github.project.updateissuecommentbyslug-1", + "checkpoints": [ + { + "id": "pr-comment-mutation.prelude:pending", + "observation": { + "sender": [], + "payloads": [], + "settlements": {}, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.prelude:reply", + "observation": { + "sender": ["b72d1b08ed71"], + "payloads": ["8108c9f604fb"], + "settlements": { + "reply": "fbc958e4d46e" + }, + "state": "d7020c20297f", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.prelude:root-comment", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d"], + "payloads": ["8108c9f604fb", "478fd4bcbb87"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e" + }, + "state": "a03244774599", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.prelude:resolve-thread", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d", "7d998237c7b0"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e" + }, + "state": "720507281e9c", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.normal:edit-comment", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d", "7d998237c7b0", "cb0ebf3e3df2"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917", "e8277b2fbe2f"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e" + }, + "state": "2dd1ced3c6e3", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.normal:delete-comment", + "observation": { + "sender": [ + "b72d1b08ed71", + "c809528f892d", + "7d998237c7b0", + "cb0ebf3e3df2", + "a09b7d2d7c5a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e", + "delete-comment": "fbc958e4d46e" + }, + "state": "d65744cb322a", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.result-absent:edit-comment", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d", "7d998237c7b0", "a793eafd9989"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917", "e8277b2fbe2f"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e" + }, + "state": "2dd1ced3c6e3", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.result-absent:delete-comment", + "observation": { + "sender": [ + "b72d1b08ed71", + "c809528f892d", + "7d998237c7b0", + "a793eafd9989", + "a09b7d2d7c5a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e", + "delete-comment": "fbc958e4d46e" + }, + "state": "d65744cb322a", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.result-null:edit-comment", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d", "7d998237c7b0", "949713a8a738"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917", "e8277b2fbe2f"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e" + }, + "state": "2dd1ced3c6e3", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.result-null:delete-comment", + "observation": { + "sender": [ + "b72d1b08ed71", + "c809528f892d", + "7d998237c7b0", + "949713a8a738", + "a09b7d2d7c5a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e", + "delete-comment": "fbc958e4d46e" + }, + "state": "d65744cb322a", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.inner-ok-missing:edit-comment", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d", "7d998237c7b0", "5b8020b7cd97"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917", "e8277b2fbe2f"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e" + }, + "state": "2dd1ced3c6e3", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.inner-ok-missing:delete-comment", + "observation": { + "sender": [ + "b72d1b08ed71", + "c809528f892d", + "7d998237c7b0", + "5b8020b7cd97", + "a09b7d2d7c5a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e", + "delete-comment": "fbc958e4d46e" + }, + "state": "d65744cb322a", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.inner-false-string-error:edit-comment", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d", "7d998237c7b0", "a8fb7303b43d"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917", "e8277b2fbe2f"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "9f00dd54ba64" + }, + "state": "c4b9a96a9273", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.inner-false-string-error:delete-comment", + "observation": { + "sender": [ + "b72d1b08ed71", + "c809528f892d", + "7d998237c7b0", + "a8fb7303b43d", + "a09b7d2d7c5a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "9f00dd54ba64", + "delete-comment": "fbc958e4d46e" + }, + "state": "ae334e6e6cfc", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.inner-false-object-error:edit-comment", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d", "7d998237c7b0", "6e7d4c5dad1f"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917", "e8277b2fbe2f"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "9f00dd54ba64" + }, + "state": "c4b9a96a9273", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.inner-false-object-error:delete-comment", + "observation": { + "sender": [ + "b72d1b08ed71", + "c809528f892d", + "7d998237c7b0", + "6e7d4c5dad1f", + "a09b7d2d7c5a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "9f00dd54ba64", + "delete-comment": "fbc958e4d46e" + }, + "state": "ae334e6e6cfc", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.outer-refused:edit-comment", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d", "7d998237c7b0", "9ba32bb7251a"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917", "e8277b2fbe2f"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "1b2778bf67a2" + }, + "state": "d6d9b440bca2", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.outer-refused:delete-comment", + "observation": { + "sender": [ + "b72d1b08ed71", + "c809528f892d", + "7d998237c7b0", + "9ba32bb7251a", + "a09b7d2d7c5a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "1b2778bf67a2", + "delete-comment": "fbc958e4d46e" + }, + "state": "f42f398553af", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.outer-refused-no-message:edit-comment", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d", "7d998237c7b0", "b4b6d25cc9b2"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917", "e8277b2fbe2f"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "d0da5f8b35ed" + }, + "state": "229da860b66a", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.outer-refused-no-message:delete-comment", + "observation": { + "sender": [ + "b72d1b08ed71", + "c809528f892d", + "7d998237c7b0", + "b4b6d25cc9b2", + "a09b7d2d7c5a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "d0da5f8b35ed", + "delete-comment": "fbc958e4d46e" + }, + "state": "7b8920cbcd2b", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.method-not-found:edit-comment", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d", "7d998237c7b0", "0c83831d655b"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917", "e8277b2fbe2f"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fa93ca01f266" + }, + "state": "e192e6397e30", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.method-not-found:delete-comment", + "observation": { + "sender": [ + "b72d1b08ed71", + "c809528f892d", + "7d998237c7b0", + "0c83831d655b", + "a09b7d2d7c5a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fa93ca01f266", + "delete-comment": "fbc958e4d46e" + }, + "state": "cc031f4d2fab", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.transport-rejection:edit-comment", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d", "7d998237c7b0", "828db39cff00"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917", "e8277b2fbe2f"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "a197c20578aa" + }, + "state": "6e4455e73475", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.transport-rejection:delete-comment", + "observation": { + "sender": [ + "b72d1b08ed71", + "c809528f892d", + "7d998237c7b0", + "828db39cff00", + "a09b7d2d7c5a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "a197c20578aa", + "delete-comment": "fbc958e4d46e" + }, + "state": "212530085104", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.transport-rejection-no-message:edit-comment", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d", "7d998237c7b0", "22ec636a26f2"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917", "e8277b2fbe2f"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fb4429083480" + }, + "state": "d7c351c27114", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.transport-rejection-no-message:delete-comment", + "observation": { + "sender": [ + "b72d1b08ed71", + "c809528f892d", + "7d998237c7b0", + "22ec636a26f2", + "a09b7d2d7c5a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fb4429083480", + "delete-comment": "fbc958e4d46e" + }, + "state": "db8a1ebee13a", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-github.pr-comment-mutation-github.resolvereviewthread-1.json b/mobile/rpc-foundation/goldens/matrix-github.pr-comment-mutation-github.resolvereviewthread-1.json new file mode 100644 index 00000000000..4442d2129fd --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-github.pr-comment-mutation-github.resolvereviewthread-1.json @@ -0,0 +1,1573 @@ +{ + "operation": "session.pr-mutations", + "family": "github.pr-comment-mutation", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "f560ff1582487c118756c527faa1fb1f65e37ce22ca9573491fd4b2dbcedf38d", + "scenarioSha256": "77eba7deff3f15e64795cdcbefd009abfcf2379e7293eefb1f154ca1e99f4d5d", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "020284980ba5": { + "delete-comment": { + "ok": true + }, + "edit-comment": { + "ok": true + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "error": "Failed to update review thread.", + "ok": false + }, + "root-comment": { + "ok": true + } + }, + "1165af07b50f": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Failed to update review thread.", + "ok": false + } + }, + "1597576cfda0": { + "delete-comment": { + "ok": true + }, + "edit-comment": { + "ok": true + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "error": "transport failure", + "ok": false + }, + "root-comment": { + "ok": true + } + }, + "19beec93ad88": { + "edit-comment": { + "ok": true + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "error": "Failed to update review thread.", + "ok": false + }, + "root-comment": { + "ok": true + } + }, + "1b2778bf67a2": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "outer refused", + "ok": false + } + }, + "20f3623c9075": { + "reply": { + "ok": true + }, + "resolve-thread": { + "error": "transport failure", + "ok": false + }, + "root-comment": { + "ok": true + } + }, + "266cacb5b483": { + "reply": { + "ok": true + }, + "resolve-thread": { + "error": "Failed to update review thread.", + "ok": false + }, + "root-comment": { + "ok": true + } + }, + "2c3e4f7ea6f7": { + "delete-comment": { + "ok": true + }, + "edit-comment": { + "ok": true + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "error": "Request failed: github.resolveReviewThread", + "ok": false + }, + "root-comment": { + "ok": true + } + }, + "2dd1ced3c6e3": { + "edit-comment": { + "ok": true + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "3cb7f7e749de": { + "edit-comment": { + "ok": true + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "error": "transport failure", + "ok": false + }, + "root-comment": { + "ok": true + } + }, + "432ad7dbe6f4": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-3", + "ok": false + } + } + }, + "44136fa355b3": {}, + "478fd4bcbb87": { + "name": "github.addIssueComment#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.addIssueComment\",\"params\":{\"repo\":\"id:repo-9\",\"number\":12,\"body\":\"recorded comment\",\"type\":\"pr\"}}" + }, + "48692b2b9917": { + "edit-comment": { + "ok": true + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "error": "Unknown method", + "ok": false + }, + "root-comment": { + "ok": true + } + }, + "4ca64ac9d73c": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "5136069034bb": { + "reply": { + "ok": true + }, + "resolve-thread": { + "error": "Unknown method", + "ok": false + }, + "root-comment": { + "ok": true + } + }, + "54cb93b42f23": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9", + "resolve": true, + "threadId": "thread-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 + } + } + }, + "61ff2d7c4cab": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9", + "resolve": true, + "threadId": "thread-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 + } + } + } + }, + "678d4fa16712": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true + } + } + }, + "6c2da6b5529a": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9", + "resolve": true, + "threadId": "thread-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 + } + } + }, + "720507281e9c": { + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "7d998237c7b0": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": true + } + } + }, + "8108c9f604fb": { + "name": "github.addPRReviewCommentReply#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.addPRReviewCommentReply\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"commentId\":55,\"body\":\"recorded reply\",\"threadId\":\"thread-1\",\"path\":\"src/app.ts\",\"line\":3}}" + }, + "8747462b8a7d": { + "reply": { + "ok": true + }, + "resolve-thread": { + "error": "outer refused", + "ok": false + }, + "root-comment": { + "ok": true + } + }, + "9680a67995ab": { + "delete-comment": { + "ok": true + }, + "edit-comment": { + "ok": true + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "error": "Unknown method", + "ok": false + }, + "root-comment": { + "ok": true + } + }, + "98b29432c53b": { + "edit-comment": { + "ok": true + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "error": "Request failed: github.resolveReviewThread", + "ok": false + }, + "root-comment": { + "ok": true + } + }, + "a03244774599": { + "reply": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "a09b7d2d7c5a": { + "name": "github.project.deleteIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.deleteIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "commentId": 55, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "a197c20578aa": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "transport failure", + "ok": false + } + }, + "ac656f2d262c": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Request failed: github.resolveReviewThread", + "ok": false + } + }, + "af688481a64e": { + "name": "github.project.deleteIssueCommentBySlug#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.deleteIssueCommentBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"commentId\":55}}" + }, + "b72d1b08ed71": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "recorded reply", + "commentId": 55, + "line": 3, + "path": "src/app.ts", + "prNumber": 12, + "repo": "id:repo-9", + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "comment": { + "id": 56 + }, + "ok": true + } + } + } + }, + "bfd3ce78eab0": { + "edit-comment": { + "ok": true + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "error": "outer refused", + "ok": false + }, + "root-comment": { + "ok": true + } + }, + "c13d4eb83ebc": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "c6cb8d3962d9": { + "reply": { + "ok": true + }, + "resolve-thread": { + "error": "Request failed: github.resolveReviewThread", + "ok": false + }, + "root-comment": { + "ok": true + } + }, + "c809528f892d": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "recorded comment", + "number": 12, + "repo": "id:repo-9", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "comment": { + "id": 57 + }, + "ok": true + } + } + } + }, + "c909efbc6588": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9", + "resolve": true, + "threadId": "thread-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 + } + } + } + }, + "cb0ebf3e3df2": { + "name": "github.project.updateIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "body": "edited", + "commentId": 55, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "d65744cb322a": { + "delete-comment": { + "ok": true + }, + "edit-comment": { + "ok": true + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "d7020c20297f": { + "reply": { + "ok": true + } + }, + "d9b62b144917": { + "name": "github.resolveReviewThread#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.resolveReviewThread\",\"params\":{\"repo\":\"id:repo-9\",\"threadId\":\"thread-1\",\"resolve\":true}}" + }, + "e8277b2fbe2f": { + "name": "github.project.updateIssueCommentBySlug#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.updateIssueCommentBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"commentId\":55,\"body\":\"edited\"}}" + }, + "f17b0cbea46c": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "f4fc444f020f": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "f58246d78c6b": { + "delete-comment": { + "ok": true + }, + "edit-comment": { + "ok": true + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "error": "outer refused", + "ok": false + }, + "root-comment": { + "ok": true + } + }, + "fa93ca01f266": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Unknown method", + "ok": false + } + }, + "fbc958e4d46e": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true + } + } + }, + "recording": { + "scenario": "matrix-github.pr-comment-mutation-github.resolvereviewthread-1", + "checkpoints": [ + { + "id": "pr-comment-mutation.prelude:pending", + "observation": { + "sender": [], + "payloads": [], + "settlements": {}, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.prelude:reply", + "observation": { + "sender": ["b72d1b08ed71"], + "payloads": ["8108c9f604fb"], + "settlements": { + "reply": "fbc958e4d46e" + }, + "state": "d7020c20297f", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.prelude:root-comment", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d"], + "payloads": ["8108c9f604fb", "478fd4bcbb87"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e" + }, + "state": "a03244774599", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.normal:resolve-thread", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d", "7d998237c7b0"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e" + }, + "state": "720507281e9c", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.normal:edit-comment", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d", "7d998237c7b0", "cb0ebf3e3df2"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917", "e8277b2fbe2f"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e" + }, + "state": "2dd1ced3c6e3", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.normal:delete-comment", + "observation": { + "sender": [ + "b72d1b08ed71", + "c809528f892d", + "7d998237c7b0", + "cb0ebf3e3df2", + "a09b7d2d7c5a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e", + "delete-comment": "fbc958e4d46e" + }, + "state": "d65744cb322a", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.result-absent:resolve-thread", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d", "678d4fa16712"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "1165af07b50f" + }, + "state": "266cacb5b483", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.result-absent:edit-comment", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d", "678d4fa16712", "cb0ebf3e3df2"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917", "e8277b2fbe2f"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "1165af07b50f", + "edit-comment": "fbc958e4d46e" + }, + "state": "19beec93ad88", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.result-absent:delete-comment", + "observation": { + "sender": [ + "b72d1b08ed71", + "c809528f892d", + "678d4fa16712", + "cb0ebf3e3df2", + "a09b7d2d7c5a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "1165af07b50f", + "edit-comment": "fbc958e4d46e", + "delete-comment": "fbc958e4d46e" + }, + "state": "020284980ba5", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.result-null:resolve-thread", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d", "4ca64ac9d73c"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "1165af07b50f" + }, + "state": "266cacb5b483", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.result-null:edit-comment", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d", "4ca64ac9d73c", "cb0ebf3e3df2"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917", "e8277b2fbe2f"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "1165af07b50f", + "edit-comment": "fbc958e4d46e" + }, + "state": "19beec93ad88", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.result-null:delete-comment", + "observation": { + "sender": [ + "b72d1b08ed71", + "c809528f892d", + "4ca64ac9d73c", + "cb0ebf3e3df2", + "a09b7d2d7c5a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "1165af07b50f", + "edit-comment": "fbc958e4d46e", + "delete-comment": "fbc958e4d46e" + }, + "state": "020284980ba5", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.inner-ok-missing:resolve-thread", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d", "f4fc444f020f"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "1165af07b50f" + }, + "state": "266cacb5b483", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.inner-ok-missing:edit-comment", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d", "f4fc444f020f", "cb0ebf3e3df2"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917", "e8277b2fbe2f"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "1165af07b50f", + "edit-comment": "fbc958e4d46e" + }, + "state": "19beec93ad88", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.inner-ok-missing:delete-comment", + "observation": { + "sender": [ + "b72d1b08ed71", + "c809528f892d", + "f4fc444f020f", + "cb0ebf3e3df2", + "a09b7d2d7c5a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "1165af07b50f", + "edit-comment": "fbc958e4d46e", + "delete-comment": "fbc958e4d46e" + }, + "state": "020284980ba5", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.inner-false-string-error:resolve-thread", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d", "c909efbc6588"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "1165af07b50f" + }, + "state": "266cacb5b483", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.inner-false-string-error:edit-comment", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d", "c909efbc6588", "cb0ebf3e3df2"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917", "e8277b2fbe2f"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "1165af07b50f", + "edit-comment": "fbc958e4d46e" + }, + "state": "19beec93ad88", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.inner-false-string-error:delete-comment", + "observation": { + "sender": [ + "b72d1b08ed71", + "c809528f892d", + "c909efbc6588", + "cb0ebf3e3df2", + "a09b7d2d7c5a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "1165af07b50f", + "edit-comment": "fbc958e4d46e", + "delete-comment": "fbc958e4d46e" + }, + "state": "020284980ba5", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.inner-false-object-error:resolve-thread", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d", "61ff2d7c4cab"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "1165af07b50f" + }, + "state": "266cacb5b483", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.inner-false-object-error:edit-comment", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d", "61ff2d7c4cab", "cb0ebf3e3df2"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917", "e8277b2fbe2f"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "1165af07b50f", + "edit-comment": "fbc958e4d46e" + }, + "state": "19beec93ad88", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.inner-false-object-error:delete-comment", + "observation": { + "sender": [ + "b72d1b08ed71", + "c809528f892d", + "61ff2d7c4cab", + "cb0ebf3e3df2", + "a09b7d2d7c5a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "1165af07b50f", + "edit-comment": "fbc958e4d46e", + "delete-comment": "fbc958e4d46e" + }, + "state": "020284980ba5", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.outer-refused:resolve-thread", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d", "6c2da6b5529a"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "1b2778bf67a2" + }, + "state": "8747462b8a7d", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.outer-refused:edit-comment", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d", "6c2da6b5529a", "cb0ebf3e3df2"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917", "e8277b2fbe2f"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "1b2778bf67a2", + "edit-comment": "fbc958e4d46e" + }, + "state": "bfd3ce78eab0", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.outer-refused:delete-comment", + "observation": { + "sender": [ + "b72d1b08ed71", + "c809528f892d", + "6c2da6b5529a", + "cb0ebf3e3df2", + "a09b7d2d7c5a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "1b2778bf67a2", + "edit-comment": "fbc958e4d46e", + "delete-comment": "fbc958e4d46e" + }, + "state": "f58246d78c6b", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.outer-refused-no-message:resolve-thread", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d", "432ad7dbe6f4"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "ac656f2d262c" + }, + "state": "c6cb8d3962d9", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.outer-refused-no-message:edit-comment", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d", "432ad7dbe6f4", "cb0ebf3e3df2"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917", "e8277b2fbe2f"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "ac656f2d262c", + "edit-comment": "fbc958e4d46e" + }, + "state": "98b29432c53b", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.outer-refused-no-message:delete-comment", + "observation": { + "sender": [ + "b72d1b08ed71", + "c809528f892d", + "432ad7dbe6f4", + "cb0ebf3e3df2", + "a09b7d2d7c5a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "ac656f2d262c", + "edit-comment": "fbc958e4d46e", + "delete-comment": "fbc958e4d46e" + }, + "state": "2c3e4f7ea6f7", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.method-not-found:resolve-thread", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d", "54cb93b42f23"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fa93ca01f266" + }, + "state": "5136069034bb", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.method-not-found:edit-comment", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d", "54cb93b42f23", "cb0ebf3e3df2"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917", "e8277b2fbe2f"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fa93ca01f266", + "edit-comment": "fbc958e4d46e" + }, + "state": "48692b2b9917", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.method-not-found:delete-comment", + "observation": { + "sender": [ + "b72d1b08ed71", + "c809528f892d", + "54cb93b42f23", + "cb0ebf3e3df2", + "a09b7d2d7c5a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fa93ca01f266", + "edit-comment": "fbc958e4d46e", + "delete-comment": "fbc958e4d46e" + }, + "state": "9680a67995ab", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.transport-rejection:resolve-thread", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d", "c13d4eb83ebc"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "a197c20578aa" + }, + "state": "20f3623c9075", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.transport-rejection:edit-comment", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d", "c13d4eb83ebc", "cb0ebf3e3df2"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917", "e8277b2fbe2f"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "a197c20578aa", + "edit-comment": "fbc958e4d46e" + }, + "state": "3cb7f7e749de", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.transport-rejection:delete-comment", + "observation": { + "sender": [ + "b72d1b08ed71", + "c809528f892d", + "c13d4eb83ebc", + "cb0ebf3e3df2", + "a09b7d2d7c5a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "a197c20578aa", + "edit-comment": "fbc958e4d46e", + "delete-comment": "fbc958e4d46e" + }, + "state": "1597576cfda0", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.transport-rejection-no-message:resolve-thread", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d", "f17b0cbea46c"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "ac656f2d262c" + }, + "state": "c6cb8d3962d9", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.transport-rejection-no-message:edit-comment", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d", "f17b0cbea46c", "cb0ebf3e3df2"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917", "e8277b2fbe2f"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "ac656f2d262c", + "edit-comment": "fbc958e4d46e" + }, + "state": "98b29432c53b", + "effects": [] + } + }, + { + "id": "pr-comment-mutation.transport-rejection-no-message:delete-comment", + "observation": { + "sender": [ + "b72d1b08ed71", + "c809528f892d", + "f17b0cbea46c", + "cb0ebf3e3df2", + "a09b7d2d7c5a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "ac656f2d262c", + "edit-comment": "fbc958e4d46e", + "delete-comment": "fbc958e4d46e" + }, + "state": "2c3e4f7ea6f7", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-github.pr-mutation-github.mergepr-1.json b/mobile/rpc-foundation/goldens/matrix-github.pr-mutation-github.mergepr-1.json new file mode 100644 index 00000000000..3b06ca3a10d --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-github.pr-mutation-github.mergepr-1.json @@ -0,0 +1,2486 @@ +{ + "operation": "session.pr-mutations", + "family": "github.pr-mutation", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "f560ff1582487c118756c527faa1fb1f65e37ce22ca9573491fd4b2dbcedf38d", + "scenarioSha256": "2235d05e0d2c6f1a9518cfdd76870e303cccd35289d6a44334147b6a5b6b675e", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0347a5b67d44": { + "auto-merge": { + "ok": true + }, + "merge": { + "error": "transport failure", + "ok": false + } + }, + "053eb7126f9a": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + } + }, + "0550d42a40c4": { + "name": "github.mergePR#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.mergePR\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"method\":\"squash\"}}" + }, + "074760f7a997": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "0b9c507e7144": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "0e14bd119328": { + "merge": { + "ok": true + } + }, + "0e9ac0111bbf": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "error": "outer refused", + "ok": false + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + } + }, + "1223e6f9fcdf": { + "merge": { + "error": "Unknown method", + "ok": false + } + }, + "14322a66ab67": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "195633478e1f": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "error": "inner refused", + "ok": false + }, + "request-reviewers": { + "ok": true + } + }, + "1b2778bf67a2": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "outer refused", + "ok": false + } + }, + "217757a427ce": { + "auto-merge": { + "ok": true + }, + "merge": { + "ok": true + } + }, + "247c152db16d": { + "name": "github.rerunPRChecks#1", + "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"github.rerunPRChecks\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"failedOnly\":true,\"headSha\":\"head-sha-1\"}}" + }, + "258eb619fcbb": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "request-reviewers": { + "ok": true + } + }, + "266e4fc6cd68": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "error": "inner refused", + "ok": false + } + }, + "2d3d93cf30ff": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "error": "Unknown method", + "ok": false + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + } + }, + "3647a2c38c38": { + "auto-merge": { + "ok": true + }, + "merge": { + "error": "Request failed: github.mergePR", + "ok": false + } + }, + "377d35168721": { + "merge": { + "error": "inner refused", + "ok": false + } + }, + "393a98aa7e4f": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "error": "", + "ok": false + }, + "request-reviewers": { + "ok": true + } + }, + "4270aa7d997f": { + "auto-merge": { + "ok": true + }, + "merge": { + "error": "outer refused", + "ok": false + } + }, + "44136fa355b3": {}, + "4479a15344d2": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "5c4f3e6537bc": { + "auto-merge": { + "ok": true + }, + "merge": { + "error": "inner refused", + "ok": false + } + }, + "623284ef41db": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "error": "outer refused", + "ok": false + } + }, + "63c7b86ce0f8": { + "name": "github.requestPRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.requestPRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "67b1aff15d64": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "error": "", + "ok": false + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + }, + "rerun-checks": { + "ok": true + } + }, + "69fb8798d61e": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "error": "Unknown method", + "ok": false + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + }, + "rerun-checks": { + "ok": true + } + }, + "6c4c7536b04b": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "error": "", + "ok": false + } + }, + "71b2f2be4837": { + "auto-merge": { + "ok": true + }, + "merge": { + "error": "Unknown method", + "ok": false + } + }, + "81f9a572f5bd": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "error": "", + "ok": false + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + } + }, + "84790920ad91": { + "name": "github.updatePRState#1", + "args": [ + { + "name": "method", + "value": "github.updatePRState" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "85e381ca8727": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "error": "Request failed: github.mergePR", + "ok": false + } + }, + "8703c2befb8c": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "8d35383c6800": { + "merge": { + "error": "outer refused", + "ok": false + } + }, + "8d5a8e14e557": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "error": "outer refused", + "ok": false + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + }, + "rerun-checks": { + "ok": true + } + }, + "9305632adf32": { + "name": "github.setPRAutoMerge#1", + "args": [ + { + "name": "method", + "value": "github.setPRAutoMerge" + }, + { + "name": "params", + "value": { + "enabled": true, + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "95b9ec32d195": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "error": "Request failed: github.mergePR", + "ok": false + }, + "request-reviewers": { + "ok": true + } + }, + "97b08057c152": { + "name": "github.removePRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.removePRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "98a9268b04e2": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + } + }, + "9d1baa17ee73": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "error": "transport failure", + "ok": false + }, + "request-reviewers": { + "ok": true + } + }, + "9f00dd54ba64": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "inner refused", + "ok": false + } + }, + "a197c20578aa": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "transport failure", + "ok": false + } + }, + "a31c146ba418": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "error": "Request failed: github.mergePR", + "ok": false + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + }, + "rerun-checks": { + "ok": true + } + }, + "a63eb4f9dc60": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "error": "Unknown method", + "ok": false + } + }, + "aa25b877ab14": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Request failed: github.mergePR", + "ok": false + } + }, + "afb5c5cc70a0": { + "merge": { + "error": "", + "ok": false + } + }, + "b0c30b1cac36": { + "merge": { + "error": "transport failure", + "ok": false + } + }, + "b303193775ad": { + "name": "github.updatePRState#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.updatePRState\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"updates\":{\"state\":\"closed\"}}}" + }, + "b7e39f4a5cb6": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "b9123a0fc952": { + "name": "github.removePRReviewers#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.removePRReviewers\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"reviewers\":[\"octocat\"]}}" + }, + "bdcf1daddf4e": { + "name": "github.setPRAutoMerge#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.setPRAutoMerge\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"enabled\":true}}" + }, + "bf7ea23375ff": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "c247c08d1506": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "error": "transport failure", + "ok": false + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + } + }, + "c3a4721a8b9f": { + "merge": { + "error": "Request failed: github.mergePR", + "ok": false + } + }, + "c69c2c6cd163": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "error": "Request failed: github.mergePR", + "ok": false + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + } + }, + "c7c48ac3f8d0": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "error": "outer refused", + "ok": false + }, + "request-reviewers": { + "ok": true + } + }, + "c99e7213ac11": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "error": "Unknown method", + "ok": false + }, + "request-reviewers": { + "ok": true + } + }, + "cb34801bfb4f": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "error": "inner refused", + "ok": false + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + } + }, + "ccf2be5c9d44": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "d026cfa35ea0": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + }, + "rerun-checks": { + "ok": true + } + }, + "dc17670104ca": { + "auto-merge": { + "ok": true + }, + "merge": { + "error": "", + "ok": false + } + }, + "e03e20748580": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "error": "inner refused", + "ok": false + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + }, + "rerun-checks": { + "ok": true + } + }, + "e53c2e2f9a43": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha-1", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-6", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "ee0fb6c4d945": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "error": "transport failure", + "ok": false + } + }, + "f0dd64f5debf": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "error": "transport failure", + "ok": false + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + }, + "rerun-checks": { + "ok": true + } + }, + "f44b3cd07d00": { + "name": "github.requestPRReviewers#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.requestPRReviewers\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"reviewers\":[\"octocat\"]}}" + }, + "f62245202919": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "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 + } + } + } + }, + "f6348bae9167": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "fa93ca01f266": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Unknown method", + "ok": false + } + }, + "fb4429083480": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "", + "ok": false + } + }, + "fbc958e4d46e": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true + } + }, + "fd07dabe4f38": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "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 + } + } + } + }, + "recording": { + "scenario": "matrix-github.pr-mutation-github.mergepr-1", + "checkpoints": [ + { + "id": "pr-mutation-status.prelude:pending", + "observation": { + "sender": [], + "payloads": [], + "settlements": {}, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "pr-mutation-status.normal:merge", + "observation": { + "sender": ["ccf2be5c9d44"], + "payloads": ["0550d42a40c4"], + "settlements": { + "merge": "fbc958e4d46e" + }, + "state": "0e14bd119328", + "effects": [] + } + }, + { + "id": "pr-mutation-status.normal:auto-merge", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e" + }, + "state": "217757a427ce", + "effects": [] + } + }, + { + "id": "pr-mutation-status.normal:close", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32", "84790920ad91"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e" + }, + "state": "053eb7126f9a", + "effects": [] + } + }, + { + "id": "pr-mutation-status.normal:request-reviewers", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32", "84790920ad91", "63c7b86ce0f8"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e" + }, + "state": "258eb619fcbb", + "effects": [] + } + }, + { + "id": "pr-mutation-status.normal:remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "98a9268b04e2", + "effects": [] + } + }, + { + "id": "pr-mutation-status.normal:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "d026cfa35ea0", + "effects": [] + } + }, + { + "id": "pr-mutation-status.result-absent:merge", + "observation": { + "sender": ["14322a66ab67"], + "payloads": ["0550d42a40c4"], + "settlements": { + "merge": "fbc958e4d46e" + }, + "state": "0e14bd119328", + "effects": [] + } + }, + { + "id": "pr-mutation-status.result-absent:auto-merge", + "observation": { + "sender": ["14322a66ab67", "9305632adf32"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e" + }, + "state": "217757a427ce", + "effects": [] + } + }, + { + "id": "pr-mutation-status.result-absent:close", + "observation": { + "sender": ["14322a66ab67", "9305632adf32", "84790920ad91"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e" + }, + "state": "053eb7126f9a", + "effects": [] + } + }, + { + "id": "pr-mutation-status.result-absent:request-reviewers", + "observation": { + "sender": ["14322a66ab67", "9305632adf32", "84790920ad91", "63c7b86ce0f8"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e" + }, + "state": "258eb619fcbb", + "effects": [] + } + }, + { + "id": "pr-mutation-status.result-absent:remove-reviewers", + "observation": { + "sender": [ + "14322a66ab67", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "98a9268b04e2", + "effects": [] + } + }, + { + "id": "pr-mutation-status.result-absent:rerun-checks", + "observation": { + "sender": [ + "14322a66ab67", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "d026cfa35ea0", + "effects": [] + } + }, + { + "id": "pr-mutation-status.result-null:merge", + "observation": { + "sender": ["f6348bae9167"], + "payloads": ["0550d42a40c4"], + "settlements": { + "merge": "fbc958e4d46e" + }, + "state": "0e14bd119328", + "effects": [] + } + }, + { + "id": "pr-mutation-status.result-null:auto-merge", + "observation": { + "sender": ["f6348bae9167", "9305632adf32"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e" + }, + "state": "217757a427ce", + "effects": [] + } + }, + { + "id": "pr-mutation-status.result-null:close", + "observation": { + "sender": ["f6348bae9167", "9305632adf32", "84790920ad91"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e" + }, + "state": "053eb7126f9a", + "effects": [] + } + }, + { + "id": "pr-mutation-status.result-null:request-reviewers", + "observation": { + "sender": ["f6348bae9167", "9305632adf32", "84790920ad91", "63c7b86ce0f8"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e" + }, + "state": "258eb619fcbb", + "effects": [] + } + }, + { + "id": "pr-mutation-status.result-null:remove-reviewers", + "observation": { + "sender": [ + "f6348bae9167", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "98a9268b04e2", + "effects": [] + } + }, + { + "id": "pr-mutation-status.result-null:rerun-checks", + "observation": { + "sender": [ + "f6348bae9167", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "d026cfa35ea0", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-ok-missing:merge", + "observation": { + "sender": ["8703c2befb8c"], + "payloads": ["0550d42a40c4"], + "settlements": { + "merge": "fbc958e4d46e" + }, + "state": "0e14bd119328", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-ok-missing:auto-merge", + "observation": { + "sender": ["8703c2befb8c", "9305632adf32"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e" + }, + "state": "217757a427ce", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-ok-missing:close", + "observation": { + "sender": ["8703c2befb8c", "9305632adf32", "84790920ad91"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e" + }, + "state": "053eb7126f9a", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-ok-missing:request-reviewers", + "observation": { + "sender": ["8703c2befb8c", "9305632adf32", "84790920ad91", "63c7b86ce0f8"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e" + }, + "state": "258eb619fcbb", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-ok-missing:remove-reviewers", + "observation": { + "sender": [ + "8703c2befb8c", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "98a9268b04e2", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-ok-missing:rerun-checks", + "observation": { + "sender": [ + "8703c2befb8c", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "d026cfa35ea0", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-false-string-error:merge", + "observation": { + "sender": ["b7e39f4a5cb6"], + "payloads": ["0550d42a40c4"], + "settlements": { + "merge": "9f00dd54ba64" + }, + "state": "377d35168721", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-false-string-error:auto-merge", + "observation": { + "sender": ["b7e39f4a5cb6", "9305632adf32"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e"], + "settlements": { + "merge": "9f00dd54ba64", + "auto-merge": "fbc958e4d46e" + }, + "state": "5c4f3e6537bc", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-false-string-error:close", + "observation": { + "sender": ["b7e39f4a5cb6", "9305632adf32", "84790920ad91"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad"], + "settlements": { + "merge": "9f00dd54ba64", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e" + }, + "state": "266e4fc6cd68", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-false-string-error:request-reviewers", + "observation": { + "sender": ["b7e39f4a5cb6", "9305632adf32", "84790920ad91", "63c7b86ce0f8"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "9f00dd54ba64", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e" + }, + "state": "195633478e1f", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-false-string-error:remove-reviewers", + "observation": { + "sender": [ + "b7e39f4a5cb6", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "9f00dd54ba64", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "cb34801bfb4f", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-false-string-error:rerun-checks", + "observation": { + "sender": [ + "b7e39f4a5cb6", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "9f00dd54ba64", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "e03e20748580", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-false-object-error:merge", + "observation": { + "sender": ["f62245202919"], + "payloads": ["0550d42a40c4"], + "settlements": { + "merge": "9f00dd54ba64" + }, + "state": "377d35168721", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-false-object-error:auto-merge", + "observation": { + "sender": ["f62245202919", "9305632adf32"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e"], + "settlements": { + "merge": "9f00dd54ba64", + "auto-merge": "fbc958e4d46e" + }, + "state": "5c4f3e6537bc", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-false-object-error:close", + "observation": { + "sender": ["f62245202919", "9305632adf32", "84790920ad91"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad"], + "settlements": { + "merge": "9f00dd54ba64", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e" + }, + "state": "266e4fc6cd68", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-false-object-error:request-reviewers", + "observation": { + "sender": ["f62245202919", "9305632adf32", "84790920ad91", "63c7b86ce0f8"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "9f00dd54ba64", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e" + }, + "state": "195633478e1f", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-false-object-error:remove-reviewers", + "observation": { + "sender": [ + "f62245202919", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "9f00dd54ba64", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "cb34801bfb4f", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-false-object-error:rerun-checks", + "observation": { + "sender": [ + "f62245202919", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "9f00dd54ba64", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "e03e20748580", + "effects": [] + } + }, + { + "id": "pr-mutation-status.outer-refused:merge", + "observation": { + "sender": ["4479a15344d2"], + "payloads": ["0550d42a40c4"], + "settlements": { + "merge": "1b2778bf67a2" + }, + "state": "8d35383c6800", + "effects": [] + } + }, + { + "id": "pr-mutation-status.outer-refused:auto-merge", + "observation": { + "sender": ["4479a15344d2", "9305632adf32"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e"], + "settlements": { + "merge": "1b2778bf67a2", + "auto-merge": "fbc958e4d46e" + }, + "state": "4270aa7d997f", + "effects": [] + } + }, + { + "id": "pr-mutation-status.outer-refused:close", + "observation": { + "sender": ["4479a15344d2", "9305632adf32", "84790920ad91"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad"], + "settlements": { + "merge": "1b2778bf67a2", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e" + }, + "state": "623284ef41db", + "effects": [] + } + }, + { + "id": "pr-mutation-status.outer-refused:request-reviewers", + "observation": { + "sender": ["4479a15344d2", "9305632adf32", "84790920ad91", "63c7b86ce0f8"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "1b2778bf67a2", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e" + }, + "state": "c7c48ac3f8d0", + "effects": [] + } + }, + { + "id": "pr-mutation-status.outer-refused:remove-reviewers", + "observation": { + "sender": [ + "4479a15344d2", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "1b2778bf67a2", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "0e9ac0111bbf", + "effects": [] + } + }, + { + "id": "pr-mutation-status.outer-refused:rerun-checks", + "observation": { + "sender": [ + "4479a15344d2", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "1b2778bf67a2", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "8d5a8e14e557", + "effects": [] + } + }, + { + "id": "pr-mutation-status.outer-refused-no-message:merge", + "observation": { + "sender": ["074760f7a997"], + "payloads": ["0550d42a40c4"], + "settlements": { + "merge": "aa25b877ab14" + }, + "state": "c3a4721a8b9f", + "effects": [] + } + }, + { + "id": "pr-mutation-status.outer-refused-no-message:auto-merge", + "observation": { + "sender": ["074760f7a997", "9305632adf32"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e"], + "settlements": { + "merge": "aa25b877ab14", + "auto-merge": "fbc958e4d46e" + }, + "state": "3647a2c38c38", + "effects": [] + } + }, + { + "id": "pr-mutation-status.outer-refused-no-message:close", + "observation": { + "sender": ["074760f7a997", "9305632adf32", "84790920ad91"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad"], + "settlements": { + "merge": "aa25b877ab14", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e" + }, + "state": "85e381ca8727", + "effects": [] + } + }, + { + "id": "pr-mutation-status.outer-refused-no-message:request-reviewers", + "observation": { + "sender": ["074760f7a997", "9305632adf32", "84790920ad91", "63c7b86ce0f8"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "aa25b877ab14", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e" + }, + "state": "95b9ec32d195", + "effects": [] + } + }, + { + "id": "pr-mutation-status.outer-refused-no-message:remove-reviewers", + "observation": { + "sender": [ + "074760f7a997", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "aa25b877ab14", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "c69c2c6cd163", + "effects": [] + } + }, + { + "id": "pr-mutation-status.outer-refused-no-message:rerun-checks", + "observation": { + "sender": [ + "074760f7a997", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "aa25b877ab14", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "a31c146ba418", + "effects": [] + } + }, + { + "id": "pr-mutation-status.method-not-found:merge", + "observation": { + "sender": ["fd07dabe4f38"], + "payloads": ["0550d42a40c4"], + "settlements": { + "merge": "fa93ca01f266" + }, + "state": "1223e6f9fcdf", + "effects": [] + } + }, + { + "id": "pr-mutation-status.method-not-found:auto-merge", + "observation": { + "sender": ["fd07dabe4f38", "9305632adf32"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e"], + "settlements": { + "merge": "fa93ca01f266", + "auto-merge": "fbc958e4d46e" + }, + "state": "71b2f2be4837", + "effects": [] + } + }, + { + "id": "pr-mutation-status.method-not-found:close", + "observation": { + "sender": ["fd07dabe4f38", "9305632adf32", "84790920ad91"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad"], + "settlements": { + "merge": "fa93ca01f266", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e" + }, + "state": "a63eb4f9dc60", + "effects": [] + } + }, + { + "id": "pr-mutation-status.method-not-found:request-reviewers", + "observation": { + "sender": ["fd07dabe4f38", "9305632adf32", "84790920ad91", "63c7b86ce0f8"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "fa93ca01f266", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e" + }, + "state": "c99e7213ac11", + "effects": [] + } + }, + { + "id": "pr-mutation-status.method-not-found:remove-reviewers", + "observation": { + "sender": [ + "fd07dabe4f38", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fa93ca01f266", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "2d3d93cf30ff", + "effects": [] + } + }, + { + "id": "pr-mutation-status.method-not-found:rerun-checks", + "observation": { + "sender": [ + "fd07dabe4f38", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fa93ca01f266", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "69fb8798d61e", + "effects": [] + } + }, + { + "id": "pr-mutation-status.transport-rejection:merge", + "observation": { + "sender": ["bf7ea23375ff"], + "payloads": ["0550d42a40c4"], + "settlements": { + "merge": "a197c20578aa" + }, + "state": "b0c30b1cac36", + "effects": [] + } + }, + { + "id": "pr-mutation-status.transport-rejection:auto-merge", + "observation": { + "sender": ["bf7ea23375ff", "9305632adf32"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e"], + "settlements": { + "merge": "a197c20578aa", + "auto-merge": "fbc958e4d46e" + }, + "state": "0347a5b67d44", + "effects": [] + } + }, + { + "id": "pr-mutation-status.transport-rejection:close", + "observation": { + "sender": ["bf7ea23375ff", "9305632adf32", "84790920ad91"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad"], + "settlements": { + "merge": "a197c20578aa", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e" + }, + "state": "ee0fb6c4d945", + "effects": [] + } + }, + { + "id": "pr-mutation-status.transport-rejection:request-reviewers", + "observation": { + "sender": ["bf7ea23375ff", "9305632adf32", "84790920ad91", "63c7b86ce0f8"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "a197c20578aa", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e" + }, + "state": "9d1baa17ee73", + "effects": [] + } + }, + { + "id": "pr-mutation-status.transport-rejection:remove-reviewers", + "observation": { + "sender": [ + "bf7ea23375ff", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "a197c20578aa", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "c247c08d1506", + "effects": [] + } + }, + { + "id": "pr-mutation-status.transport-rejection:rerun-checks", + "observation": { + "sender": [ + "bf7ea23375ff", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "a197c20578aa", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "f0dd64f5debf", + "effects": [] + } + }, + { + "id": "pr-mutation-status.transport-rejection-no-message:merge", + "observation": { + "sender": ["0b9c507e7144"], + "payloads": ["0550d42a40c4"], + "settlements": { + "merge": "fb4429083480" + }, + "state": "afb5c5cc70a0", + "effects": [] + } + }, + { + "id": "pr-mutation-status.transport-rejection-no-message:auto-merge", + "observation": { + "sender": ["0b9c507e7144", "9305632adf32"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e"], + "settlements": { + "merge": "fb4429083480", + "auto-merge": "fbc958e4d46e" + }, + "state": "dc17670104ca", + "effects": [] + } + }, + { + "id": "pr-mutation-status.transport-rejection-no-message:close", + "observation": { + "sender": ["0b9c507e7144", "9305632adf32", "84790920ad91"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad"], + "settlements": { + "merge": "fb4429083480", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e" + }, + "state": "6c4c7536b04b", + "effects": [] + } + }, + { + "id": "pr-mutation-status.transport-rejection-no-message:request-reviewers", + "observation": { + "sender": ["0b9c507e7144", "9305632adf32", "84790920ad91", "63c7b86ce0f8"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "fb4429083480", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e" + }, + "state": "393a98aa7e4f", + "effects": [] + } + }, + { + "id": "pr-mutation-status.transport-rejection-no-message:remove-reviewers", + "observation": { + "sender": [ + "0b9c507e7144", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fb4429083480", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "81f9a572f5bd", + "effects": [] + } + }, + { + "id": "pr-mutation-status.transport-rejection-no-message:rerun-checks", + "observation": { + "sender": [ + "0b9c507e7144", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fb4429083480", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "67b1aff15d64", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-github.pr-mutation-github.removeprreviewers-1.json b/mobile/rpc-foundation/goldens/matrix-github.pr-mutation-github.removeprreviewers-1.json new file mode 100644 index 00000000000..86dd3f03a82 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-github.pr-mutation-github.removeprreviewers-1.json @@ -0,0 +1,1694 @@ +{ + "operation": "session.pr-mutations", + "family": "github.pr-mutation", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "f560ff1582487c118756c527faa1fb1f65e37ce22ca9573491fd4b2dbcedf38d", + "scenarioSha256": "2cea87c339b35daf62c963092c01c6379db43f2ee4ca5cb2b5f817975b0caf65", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "053eb7126f9a": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + } + }, + "0550d42a40c4": { + "name": "github.mergePR#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.mergePR\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"method\":\"squash\"}}" + }, + "0e14bd119328": { + "merge": { + "ok": true + } + }, + "10785b488982": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "error": "transport failure", + "ok": false + }, + "request-reviewers": { + "ok": true + } + }, + "1b2778bf67a2": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "outer refused", + "ok": false + } + }, + "1f0d92cce396": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "error": "outer refused", + "ok": false + }, + "request-reviewers": { + "ok": true + } + }, + "217757a427ce": { + "auto-merge": { + "ok": true + }, + "merge": { + "ok": true + } + }, + "247c152db16d": { + "name": "github.rerunPRChecks#1", + "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"github.rerunPRChecks\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"failedOnly\":true,\"headSha\":\"head-sha-1\"}}" + }, + "258eb619fcbb": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "request-reviewers": { + "ok": true + } + }, + "44136fa355b3": {}, + "5427ca897dae": { + "name": "github.removePRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.removePRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "5beb63c8f3e4": { + "name": "github.removePRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.removePRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "613a6a4cb4fa": { + "name": "github.removePRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.removePRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-5", + "ok": false + } + } + }, + "63c7b86ce0f8": { + "name": "github.requestPRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.requestPRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "793e277a2c76": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "error": "Request failed: github.removePRReviewers", + "ok": false + }, + "request-reviewers": { + "ok": true + } + }, + "7e030fa29a4e": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "error": "inner refused", + "ok": false + }, + "request-reviewers": { + "ok": true + }, + "rerun-checks": { + "ok": true + } + }, + "84790920ad91": { + "name": "github.updatePRState#1", + "args": [ + { + "name": "method", + "value": "github.updatePRState" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "88359e8a639b": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "error": "inner refused", + "ok": false + }, + "request-reviewers": { + "ok": true + } + }, + "9305632adf32": { + "name": "github.setPRAutoMerge#1", + "args": [ + { + "name": "method", + "value": "github.setPRAutoMerge" + }, + { + "name": "params", + "value": { + "enabled": true, + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "97b08057c152": { + "name": "github.removePRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.removePRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "98a9268b04e2": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + } + }, + "9f00dd54ba64": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "inner refused", + "ok": false + } + }, + "a197c20578aa": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "transport failure", + "ok": false + } + }, + "a48666d7363e": { + "name": "github.removePRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.removePRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "a6c581ec18e5": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "error": "", + "ok": false + }, + "request-reviewers": { + "ok": true + } + }, + "a88b3541c376": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Request failed: github.removePRReviewers", + "ok": false + } + }, + "aa4f6f04353d": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "error": "Request failed: github.removePRReviewers", + "ok": false + }, + "request-reviewers": { + "ok": true + }, + "rerun-checks": { + "ok": true + } + }, + "b303193775ad": { + "name": "github.updatePRState#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.updatePRState\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"updates\":{\"state\":\"closed\"}}}" + }, + "b9123a0fc952": { + "name": "github.removePRReviewers#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.removePRReviewers\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"reviewers\":[\"octocat\"]}}" + }, + "bbb832d9d5a0": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "error": "", + "ok": false + }, + "request-reviewers": { + "ok": true + }, + "rerun-checks": { + "ok": true + } + }, + "bdcf1daddf4e": { + "name": "github.setPRAutoMerge#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.setPRAutoMerge\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"enabled\":true}}" + }, + "c3a8e861aedd": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "error": "Unknown method", + "ok": false + }, + "request-reviewers": { + "ok": true + } + }, + "c3af046e05d9": { + "name": "github.removePRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.removePRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "c6cb6de08905": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "error": "outer refused", + "ok": false + }, + "request-reviewers": { + "ok": true + }, + "rerun-checks": { + "ok": true + } + }, + "ccf2be5c9d44": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "d026cfa35ea0": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + }, + "rerun-checks": { + "ok": true + } + }, + "d8e94101426c": { + "name": "github.removePRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.removePRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-5", + "ok": false + } + } + }, + "e53c2e2f9a43": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha-1", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-6", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "e54d1591f561": { + "name": "github.removePRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.removePRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true + } + } + }, + "e54e689c05a0": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "error": "Unknown method", + "ok": false + }, + "request-reviewers": { + "ok": true + }, + "rerun-checks": { + "ok": true + } + }, + "ef0f653e02b7": { + "name": "github.removePRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.removePRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-5", + "ok": false + } + } + }, + "f44b3cd07d00": { + "name": "github.requestPRReviewers#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.requestPRReviewers\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"reviewers\":[\"octocat\"]}}" + }, + "f5bd2f1cf948": { + "name": "github.removePRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.removePRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "f95048ecc730": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "error": "transport failure", + "ok": false + }, + "request-reviewers": { + "ok": true + }, + "rerun-checks": { + "ok": true + } + }, + "fa93ca01f266": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Unknown method", + "ok": false + } + }, + "fb4429083480": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "", + "ok": false + } + }, + "fbc958e4d46e": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true + } + }, + "ffae51817019": { + "name": "github.removePRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.removePRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "error": "refused" + } + } + } + } + }, + "recording": { + "scenario": "matrix-github.pr-mutation-github.removeprreviewers-1", + "checkpoints": [ + { + "id": "pr-mutation-status.prelude:pending", + "observation": { + "sender": [], + "payloads": [], + "settlements": {}, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "pr-mutation-status.prelude:merge", + "observation": { + "sender": ["ccf2be5c9d44"], + "payloads": ["0550d42a40c4"], + "settlements": { + "merge": "fbc958e4d46e" + }, + "state": "0e14bd119328", + "effects": [] + } + }, + { + "id": "pr-mutation-status.prelude:auto-merge", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e" + }, + "state": "217757a427ce", + "effects": [] + } + }, + { + "id": "pr-mutation-status.prelude:close", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32", "84790920ad91"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e" + }, + "state": "053eb7126f9a", + "effects": [] + } + }, + { + "id": "pr-mutation-status.prelude:request-reviewers", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32", "84790920ad91", "63c7b86ce0f8"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e" + }, + "state": "258eb619fcbb", + "effects": [] + } + }, + { + "id": "pr-mutation-status.normal:remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "98a9268b04e2", + "effects": [] + } + }, + { + "id": "pr-mutation-status.normal:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "d026cfa35ea0", + "effects": [] + } + }, + { + "id": "pr-mutation-status.result-absent:remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "e54d1591f561" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "98a9268b04e2", + "effects": [] + } + }, + { + "id": "pr-mutation-status.result-absent:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "e54d1591f561", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "d026cfa35ea0", + "effects": [] + } + }, + { + "id": "pr-mutation-status.result-null:remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "5beb63c8f3e4" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "98a9268b04e2", + "effects": [] + } + }, + { + "id": "pr-mutation-status.result-null:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "5beb63c8f3e4", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "d026cfa35ea0", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-ok-missing:remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "ffae51817019" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "98a9268b04e2", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-ok-missing:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "ffae51817019", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "d026cfa35ea0", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-false-string-error:remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "5427ca897dae" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "9f00dd54ba64" + }, + "state": "88359e8a639b", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-false-string-error:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "5427ca897dae", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "9f00dd54ba64", + "rerun-checks": "fbc958e4d46e" + }, + "state": "7e030fa29a4e", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-false-object-error:remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "f5bd2f1cf948" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "9f00dd54ba64" + }, + "state": "88359e8a639b", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-false-object-error:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "f5bd2f1cf948", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "9f00dd54ba64", + "rerun-checks": "fbc958e4d46e" + }, + "state": "7e030fa29a4e", + "effects": [] + } + }, + { + "id": "pr-mutation-status.outer-refused:remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "d8e94101426c" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "1b2778bf67a2" + }, + "state": "1f0d92cce396", + "effects": [] + } + }, + { + "id": "pr-mutation-status.outer-refused:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "d8e94101426c", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "1b2778bf67a2", + "rerun-checks": "fbc958e4d46e" + }, + "state": "c6cb6de08905", + "effects": [] + } + }, + { + "id": "pr-mutation-status.outer-refused-no-message:remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "ef0f653e02b7" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "a88b3541c376" + }, + "state": "793e277a2c76", + "effects": [] + } + }, + { + "id": "pr-mutation-status.outer-refused-no-message:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "ef0f653e02b7", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "a88b3541c376", + "rerun-checks": "fbc958e4d46e" + }, + "state": "aa4f6f04353d", + "effects": [] + } + }, + { + "id": "pr-mutation-status.method-not-found:remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "613a6a4cb4fa" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fa93ca01f266" + }, + "state": "c3a8e861aedd", + "effects": [] + } + }, + { + "id": "pr-mutation-status.method-not-found:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "613a6a4cb4fa", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fa93ca01f266", + "rerun-checks": "fbc958e4d46e" + }, + "state": "e54e689c05a0", + "effects": [] + } + }, + { + "id": "pr-mutation-status.transport-rejection:remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "c3af046e05d9" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "a197c20578aa" + }, + "state": "10785b488982", + "effects": [] + } + }, + { + "id": "pr-mutation-status.transport-rejection:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "c3af046e05d9", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "a197c20578aa", + "rerun-checks": "fbc958e4d46e" + }, + "state": "f95048ecc730", + "effects": [] + } + }, + { + "id": "pr-mutation-status.transport-rejection-no-message:remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "a48666d7363e" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fb4429083480" + }, + "state": "a6c581ec18e5", + "effects": [] + } + }, + { + "id": "pr-mutation-status.transport-rejection-no-message:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "a48666d7363e", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fb4429083480", + "rerun-checks": "fbc958e4d46e" + }, + "state": "bbb832d9d5a0", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-github.pr-mutation-github.requestprreviewers-1.json b/mobile/rpc-foundation/goldens/matrix-github.pr-mutation-github.requestprreviewers-1.json new file mode 100644 index 00000000000..526675bf887 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-github.pr-mutation-github.requestprreviewers-1.json @@ -0,0 +1,1934 @@ +{ + "operation": "session.pr-mutations", + "family": "github.pr-mutation", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "f560ff1582487c118756c527faa1fb1f65e37ce22ca9573491fd4b2dbcedf38d", + "scenarioSha256": "78de11de556c91782590725819b22821732a12d3769f493d165c80bc7fcc1f53", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "035af8a295e0": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "error": "Unknown method", + "ok": false + }, + "rerun-checks": { + "ok": true + } + }, + "053eb7126f9a": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + } + }, + "0550d42a40c4": { + "name": "github.mergePR#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.mergePR\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"method\":\"squash\"}}" + }, + "0c78f24b60d3": { + "name": "github.requestPRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.requestPRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "0e14bd119328": { + "merge": { + "ok": true + } + }, + "0e265147cca0": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "error": "", + "ok": false + }, + "rerun-checks": { + "ok": true + } + }, + "11ec96129830": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "error": "Request failed: github.requestPRReviewers", + "ok": false + } + }, + "12111ee93e3c": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "error": "transport failure", + "ok": false + } + }, + "1a9ce2e02440": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "error": "outer refused", + "ok": false + } + }, + "1b2778bf67a2": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "outer refused", + "ok": false + } + }, + "217757a427ce": { + "auto-merge": { + "ok": true + }, + "merge": { + "ok": true + } + }, + "2284df572b14": { + "name": "github.requestPRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.requestPRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "247c152db16d": { + "name": "github.rerunPRChecks#1", + "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"github.rerunPRChecks\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"failedOnly\":true,\"headSha\":\"head-sha-1\"}}" + }, + "258eb619fcbb": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "request-reviewers": { + "ok": true + } + }, + "2def6ddffe87": { + "name": "github.requestPRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.requestPRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-4", + "ok": false + } + } + }, + "31dbe89ee0ae": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "request-reviewers": { + "error": "transport failure", + "ok": false + } + }, + "3a3ae6ad04e1": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "error": "outer refused", + "ok": false + }, + "rerun-checks": { + "ok": true + } + }, + "44136fa355b3": {}, + "47f77d47cba9": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "request-reviewers": { + "error": "Request failed: github.requestPRReviewers", + "ok": false + } + }, + "63c7b86ce0f8": { + "name": "github.requestPRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.requestPRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "66bb94ed189f": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Request failed: github.requestPRReviewers", + "ok": false + } + }, + "69307047d6a8": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "error": "inner refused", + "ok": false + } + }, + "6ec670eccd83": { + "name": "github.requestPRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.requestPRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "75ef915d5b00": { + "name": "github.requestPRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.requestPRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "84790920ad91": { + "name": "github.updatePRState#1", + "args": [ + { + "name": "method", + "value": "github.updatePRState" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "89bf464aa7c2": { + "name": "github.requestPRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.requestPRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "8ebcbeae2e10": { + "name": "github.requestPRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.requestPRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "9305632adf32": { + "name": "github.setPRAutoMerge#1", + "args": [ + { + "name": "method", + "value": "github.setPRAutoMerge" + }, + { + "name": "params", + "value": { + "enabled": true, + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "97b08057c152": { + "name": "github.removePRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.removePRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "98a9268b04e2": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + } + }, + "99be28413e23": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "request-reviewers": { + "error": "inner refused", + "ok": false + } + }, + "9f00dd54ba64": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "inner refused", + "ok": false + } + }, + "a197c20578aa": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "transport failure", + "ok": false + } + }, + "a266ac0478b3": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "request-reviewers": { + "error": "Unknown method", + "ok": false + } + }, + "a8de50be7b29": { + "name": "github.requestPRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.requestPRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-4", + "ok": false + } + } + }, + "b303193775ad": { + "name": "github.updatePRState#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.updatePRState\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"updates\":{\"state\":\"closed\"}}}" + }, + "b9123a0fc952": { + "name": "github.removePRReviewers#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.removePRReviewers\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"reviewers\":[\"octocat\"]}}" + }, + "bdcf1daddf4e": { + "name": "github.setPRAutoMerge#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.setPRAutoMerge\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"enabled\":true}}" + }, + "ccf2be5c9d44": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "cf51780f9b0e": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "error": "Unknown method", + "ok": false + } + }, + "cf5563bda43b": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "error": "", + "ok": false + } + }, + "d026cfa35ea0": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + }, + "rerun-checks": { + "ok": true + } + }, + "d1e46237180e": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "error": "inner refused", + "ok": false + }, + "rerun-checks": { + "ok": true + } + }, + "d283abedff61": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "error": "transport failure", + "ok": false + }, + "rerun-checks": { + "ok": true + } + }, + "d400457c6261": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "request-reviewers": { + "error": "", + "ok": false + } + }, + "d84d1f87b9ee": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "request-reviewers": { + "error": "outer refused", + "ok": false + } + }, + "e53c2e2f9a43": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha-1", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-6", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "e672576ed746": { + "name": "github.requestPRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.requestPRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true + } + } + }, + "efcd4689905a": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "error": "Request failed: github.requestPRReviewers", + "ok": false + }, + "rerun-checks": { + "ok": true + } + }, + "f44b3cd07d00": { + "name": "github.requestPRReviewers#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.requestPRReviewers\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"reviewers\":[\"octocat\"]}}" + }, + "f78a6e79f10c": { + "name": "github.requestPRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.requestPRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-4", + "ok": false + } + } + }, + "fa93ca01f266": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Unknown method", + "ok": false + } + }, + "fb4429083480": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "", + "ok": false + } + }, + "fbc958e4d46e": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true + } + } + }, + "recording": { + "scenario": "matrix-github.pr-mutation-github.requestprreviewers-1", + "checkpoints": [ + { + "id": "pr-mutation-status.prelude:pending", + "observation": { + "sender": [], + "payloads": [], + "settlements": {}, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "pr-mutation-status.prelude:merge", + "observation": { + "sender": ["ccf2be5c9d44"], + "payloads": ["0550d42a40c4"], + "settlements": { + "merge": "fbc958e4d46e" + }, + "state": "0e14bd119328", + "effects": [] + } + }, + { + "id": "pr-mutation-status.prelude:auto-merge", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e" + }, + "state": "217757a427ce", + "effects": [] + } + }, + { + "id": "pr-mutation-status.prelude:close", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32", "84790920ad91"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e" + }, + "state": "053eb7126f9a", + "effects": [] + } + }, + { + "id": "pr-mutation-status.normal:request-reviewers", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32", "84790920ad91", "63c7b86ce0f8"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e" + }, + "state": "258eb619fcbb", + "effects": [] + } + }, + { + "id": "pr-mutation-status.normal:remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "98a9268b04e2", + "effects": [] + } + }, + { + "id": "pr-mutation-status.normal:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "d026cfa35ea0", + "effects": [] + } + }, + { + "id": "pr-mutation-status.result-absent:request-reviewers", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32", "84790920ad91", "e672576ed746"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e" + }, + "state": "258eb619fcbb", + "effects": [] + } + }, + { + "id": "pr-mutation-status.result-absent:remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "e672576ed746", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "98a9268b04e2", + "effects": [] + } + }, + { + "id": "pr-mutation-status.result-absent:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "e672576ed746", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "d026cfa35ea0", + "effects": [] + } + }, + { + "id": "pr-mutation-status.result-null:request-reviewers", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32", "84790920ad91", "6ec670eccd83"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e" + }, + "state": "258eb619fcbb", + "effects": [] + } + }, + { + "id": "pr-mutation-status.result-null:remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "6ec670eccd83", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "98a9268b04e2", + "effects": [] + } + }, + { + "id": "pr-mutation-status.result-null:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "6ec670eccd83", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "d026cfa35ea0", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-ok-missing:request-reviewers", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32", "84790920ad91", "75ef915d5b00"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e" + }, + "state": "258eb619fcbb", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-ok-missing:remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "75ef915d5b00", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "98a9268b04e2", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-ok-missing:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "75ef915d5b00", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "d026cfa35ea0", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-false-string-error:request-reviewers", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32", "84790920ad91", "89bf464aa7c2"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "9f00dd54ba64" + }, + "state": "99be28413e23", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-false-string-error:remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "89bf464aa7c2", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "9f00dd54ba64", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "69307047d6a8", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-false-string-error:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "89bf464aa7c2", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "9f00dd54ba64", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "d1e46237180e", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-false-object-error:request-reviewers", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32", "84790920ad91", "2284df572b14"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "9f00dd54ba64" + }, + "state": "99be28413e23", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-false-object-error:remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "2284df572b14", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "9f00dd54ba64", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "69307047d6a8", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-false-object-error:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "2284df572b14", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "9f00dd54ba64", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "d1e46237180e", + "effects": [] + } + }, + { + "id": "pr-mutation-status.outer-refused:request-reviewers", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32", "84790920ad91", "2def6ddffe87"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "1b2778bf67a2" + }, + "state": "d84d1f87b9ee", + "effects": [] + } + }, + { + "id": "pr-mutation-status.outer-refused:remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "2def6ddffe87", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "1b2778bf67a2", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "1a9ce2e02440", + "effects": [] + } + }, + { + "id": "pr-mutation-status.outer-refused:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "2def6ddffe87", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "1b2778bf67a2", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "3a3ae6ad04e1", + "effects": [] + } + }, + { + "id": "pr-mutation-status.outer-refused-no-message:request-reviewers", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32", "84790920ad91", "f78a6e79f10c"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "66bb94ed189f" + }, + "state": "47f77d47cba9", + "effects": [] + } + }, + { + "id": "pr-mutation-status.outer-refused-no-message:remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "f78a6e79f10c", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "66bb94ed189f", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "11ec96129830", + "effects": [] + } + }, + { + "id": "pr-mutation-status.outer-refused-no-message:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "f78a6e79f10c", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "66bb94ed189f", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "efcd4689905a", + "effects": [] + } + }, + { + "id": "pr-mutation-status.method-not-found:request-reviewers", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32", "84790920ad91", "a8de50be7b29"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fa93ca01f266" + }, + "state": "a266ac0478b3", + "effects": [] + } + }, + { + "id": "pr-mutation-status.method-not-found:remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "a8de50be7b29", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fa93ca01f266", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "cf51780f9b0e", + "effects": [] + } + }, + { + "id": "pr-mutation-status.method-not-found:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "a8de50be7b29", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fa93ca01f266", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "035af8a295e0", + "effects": [] + } + }, + { + "id": "pr-mutation-status.transport-rejection:request-reviewers", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32", "84790920ad91", "8ebcbeae2e10"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "a197c20578aa" + }, + "state": "31dbe89ee0ae", + "effects": [] + } + }, + { + "id": "pr-mutation-status.transport-rejection:remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "8ebcbeae2e10", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "a197c20578aa", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "12111ee93e3c", + "effects": [] + } + }, + { + "id": "pr-mutation-status.transport-rejection:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "8ebcbeae2e10", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "a197c20578aa", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "d283abedff61", + "effects": [] + } + }, + { + "id": "pr-mutation-status.transport-rejection-no-message:request-reviewers", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32", "84790920ad91", "0c78f24b60d3"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fb4429083480" + }, + "state": "d400457c6261", + "effects": [] + } + }, + { + "id": "pr-mutation-status.transport-rejection-no-message:remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "0c78f24b60d3", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fb4429083480", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "cf5563bda43b", + "effects": [] + } + }, + { + "id": "pr-mutation-status.transport-rejection-no-message:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "0c78f24b60d3", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fb4429083480", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "0e265147cca0", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-github.pr-mutation-github.rerunprchecks-1.json b/mobile/rpc-foundation/goldens/matrix-github.pr-mutation-github.rerunprchecks-1.json new file mode 100644 index 00000000000..238b88fd233 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-github.pr-mutation-github.rerunprchecks-1.json @@ -0,0 +1,1316 @@ +{ + "operation": "session.pr-mutations", + "family": "github.pr-mutation", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "f560ff1582487c118756c527faa1fb1f65e37ce22ca9573491fd4b2dbcedf38d", + "scenarioSha256": "ac7e91b4d35021eca63af8ce01f9a2c7959109e4cb824009881437cb94dbfe82", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "053eb7126f9a": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + } + }, + "0550d42a40c4": { + "name": "github.mergePR#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.mergePR\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"method\":\"squash\"}}" + }, + "0e14bd119328": { + "merge": { + "ok": true + } + }, + "0e51ad314718": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha-1", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-6", + "ok": true + } + } + }, + "1b2778bf67a2": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "outer refused", + "ok": false + } + }, + "20de9d68ad48": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha-1", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-6", + "ok": false + } + } + }, + "217757a427ce": { + "auto-merge": { + "ok": true + }, + "merge": { + "ok": true + } + }, + "247c152db16d": { + "name": "github.rerunPRChecks#1", + "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"github.rerunPRChecks\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"failedOnly\":true,\"headSha\":\"head-sha-1\"}}" + }, + "258eb619fcbb": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "request-reviewers": { + "ok": true + } + }, + "2950918b53d4": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha-1", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-6", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "3669f883f784": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha-1", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-6", + "ok": false + } + } + }, + "39e80d3f3344": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + }, + "rerun-checks": { + "error": "inner refused", + "ok": false + } + }, + "3f8ca94ffe66": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha-1", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-6", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "44136fa355b3": {}, + "56fc7450f80f": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + }, + "rerun-checks": { + "error": "Request failed: github.rerunPRChecks", + "ok": false + } + }, + "63c7b86ce0f8": { + "name": "github.requestPRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.requestPRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "6698707ca0b9": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha-1", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "714977c3cfc6": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + }, + "rerun-checks": { + "error": "Unknown method", + "ok": false + } + }, + "748ead77d5ac": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha-1", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-6", + "ok": false + } + } + }, + "84790920ad91": { + "name": "github.updatePRState#1", + "args": [ + { + "name": "method", + "value": "github.updatePRState" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "8826d7101635": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha-1", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "8be705a6533e": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Request failed: github.rerunPRChecks", + "ok": false + } + }, + "9305632adf32": { + "name": "github.setPRAutoMerge#1", + "args": [ + { + "name": "method", + "value": "github.setPRAutoMerge" + }, + { + "name": "params", + "value": { + "enabled": true, + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "95bed935c770": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + }, + "rerun-checks": { + "error": "transport failure", + "ok": false + } + }, + "97b08057c152": { + "name": "github.removePRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.removePRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "98a9268b04e2": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + } + }, + "9f00dd54ba64": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "inner refused", + "ok": false + } + }, + "a14250b0a5a9": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + }, + "rerun-checks": { + "error": "outer refused", + "ok": false + } + }, + "a197c20578aa": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "transport failure", + "ok": false + } + }, + "a4720efd2007": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha-1", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-6", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "aafbbdcfb21a": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha-1", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-6", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "b303193775ad": { + "name": "github.updatePRState#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.updatePRState\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"updates\":{\"state\":\"closed\"}}}" + }, + "b9123a0fc952": { + "name": "github.removePRReviewers#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.removePRReviewers\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"reviewers\":[\"octocat\"]}}" + }, + "bdcf1daddf4e": { + "name": "github.setPRAutoMerge#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.setPRAutoMerge\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"enabled\":true}}" + }, + "ccf2be5c9d44": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "d026cfa35ea0": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + }, + "rerun-checks": { + "ok": true + } + }, + "e53c2e2f9a43": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha-1", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-6", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "e6f15a3c2f54": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + }, + "rerun-checks": { + "error": "", + "ok": false + } + }, + "f44b3cd07d00": { + "name": "github.requestPRReviewers#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.requestPRReviewers\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"reviewers\":[\"octocat\"]}}" + }, + "fa93ca01f266": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Unknown method", + "ok": false + } + }, + "fb4429083480": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "", + "ok": false + } + }, + "fbc958e4d46e": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true + } + } + }, + "recording": { + "scenario": "matrix-github.pr-mutation-github.rerunprchecks-1", + "checkpoints": [ + { + "id": "pr-mutation-status.prelude:pending", + "observation": { + "sender": [], + "payloads": [], + "settlements": {}, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "pr-mutation-status.prelude:merge", + "observation": { + "sender": ["ccf2be5c9d44"], + "payloads": ["0550d42a40c4"], + "settlements": { + "merge": "fbc958e4d46e" + }, + "state": "0e14bd119328", + "effects": [] + } + }, + { + "id": "pr-mutation-status.prelude:auto-merge", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e" + }, + "state": "217757a427ce", + "effects": [] + } + }, + { + "id": "pr-mutation-status.prelude:close", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32", "84790920ad91"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e" + }, + "state": "053eb7126f9a", + "effects": [] + } + }, + { + "id": "pr-mutation-status.prelude:request-reviewers", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32", "84790920ad91", "63c7b86ce0f8"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e" + }, + "state": "258eb619fcbb", + "effects": [] + } + }, + { + "id": "pr-mutation-status.prelude:remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "98a9268b04e2", + "effects": [] + } + }, + { + "id": "pr-mutation-status.normal:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "d026cfa35ea0", + "effects": [] + } + }, + { + "id": "pr-mutation-status.result-absent:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152", + "0e51ad314718" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "d026cfa35ea0", + "effects": [] + } + }, + { + "id": "pr-mutation-status.result-null:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152", + "3f8ca94ffe66" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "d026cfa35ea0", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-ok-missing:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152", + "aafbbdcfb21a" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "d026cfa35ea0", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-false-string-error:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152", + "2950918b53d4" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "9f00dd54ba64" + }, + "state": "39e80d3f3344", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-false-object-error:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152", + "a4720efd2007" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "9f00dd54ba64" + }, + "state": "39e80d3f3344", + "effects": [] + } + }, + { + "id": "pr-mutation-status.outer-refused:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152", + "20de9d68ad48" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "1b2778bf67a2" + }, + "state": "a14250b0a5a9", + "effects": [] + } + }, + { + "id": "pr-mutation-status.outer-refused-no-message:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152", + "3669f883f784" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "8be705a6533e" + }, + "state": "56fc7450f80f", + "effects": [] + } + }, + { + "id": "pr-mutation-status.method-not-found:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152", + "748ead77d5ac" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fa93ca01f266" + }, + "state": "714977c3cfc6", + "effects": [] + } + }, + { + "id": "pr-mutation-status.transport-rejection:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152", + "8826d7101635" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "a197c20578aa" + }, + "state": "95bed935c770", + "effects": [] + } + }, + { + "id": "pr-mutation-status.transport-rejection-no-message:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152", + "6698707ca0b9" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fb4429083480" + }, + "state": "e6f15a3c2f54", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-github.pr-mutation-github.setprautomerge-1.json b/mobile/rpc-foundation/goldens/matrix-github.pr-mutation-github.setprautomerge-1.json new file mode 100644 index 00000000000..723c529d3ba --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-github.pr-mutation-github.setprautomerge-1.json @@ -0,0 +1,2330 @@ +{ + "operation": "session.pr-mutations", + "family": "github.pr-mutation", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "f560ff1582487c118756c527faa1fb1f65e37ce22ca9573491fd4b2dbcedf38d", + "scenarioSha256": "a85682e5009d634bf468b8dbe4f35a957988754ed9c2b07d57ad475c1590d1f6", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "01ba040ce320": { + "name": "github.setPRAutoMerge#1", + "args": [ + { + "name": "method", + "value": "github.setPRAutoMerge" + }, + { + "name": "params", + "value": { + "enabled": true, + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "04a837f2d497": { + "auto-merge": { + "error": "Unknown method", + "ok": false + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + } + }, + "053eb7126f9a": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + } + }, + "0550d42a40c4": { + "name": "github.mergePR#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.mergePR\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"method\":\"squash\"}}" + }, + "06946d968abf": { + "name": "github.setPRAutoMerge#1", + "args": [ + { + "name": "method", + "value": "github.setPRAutoMerge" + }, + { + "name": "params", + "value": { + "enabled": true, + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "0baa734b671e": { + "auto-merge": { + "error": "Unknown method", + "ok": false + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "request-reviewers": { + "ok": true + } + }, + "0e14bd119328": { + "merge": { + "ok": true + } + }, + "16535a751cb9": { + "name": "github.setPRAutoMerge#1", + "args": [ + { + "name": "method", + "value": "github.setPRAutoMerge" + }, + { + "name": "params", + "value": { + "enabled": true, + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "1b2778bf67a2": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "outer refused", + "ok": false + } + }, + "1ce5aa9e1592": { + "auto-merge": { + "error": "Request failed: github.setPRAutoMerge", + "ok": false + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + } + }, + "20e8b84fb904": { + "auto-merge": { + "error": "inner refused", + "ok": false + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + }, + "rerun-checks": { + "ok": true + } + }, + "217757a427ce": { + "auto-merge": { + "ok": true + }, + "merge": { + "ok": true + } + }, + "22dce5927b75": { + "auto-merge": { + "error": "transport failure", + "ok": false + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + } + }, + "234677ea4076": { + "auto-merge": { + "error": "outer refused", + "ok": false + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + } + }, + "247c152db16d": { + "name": "github.rerunPRChecks#1", + "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"github.rerunPRChecks\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"failedOnly\":true,\"headSha\":\"head-sha-1\"}}" + }, + "258eb619fcbb": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "request-reviewers": { + "ok": true + } + }, + "3ca8ad232738": { + "auto-merge": { + "error": "outer refused", + "ok": false + }, + "merge": { + "ok": true + } + }, + "44136fa355b3": {}, + "465d085d9d15": { + "auto-merge": { + "error": "inner refused", + "ok": false + }, + "merge": { + "ok": true + } + }, + "46830236ac9f": { + "name": "github.setPRAutoMerge#1", + "args": [ + { + "name": "method", + "value": "github.setPRAutoMerge" + }, + { + "name": "params", + "value": { + "enabled": true, + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "469be04cf43b": { + "auto-merge": { + "error": "", + "ok": false + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + }, + "rerun-checks": { + "ok": true + } + }, + "4c389ddb7f74": { + "auto-merge": { + "error": "", + "ok": false + }, + "merge": { + "ok": true + } + }, + "4e9bde2a9e22": { + "name": "github.setPRAutoMerge#1", + "args": [ + { + "name": "method", + "value": "github.setPRAutoMerge" + }, + { + "name": "params", + "value": { + "enabled": true, + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "6082e4096a0b": { + "auto-merge": { + "error": "inner refused", + "ok": false + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "request-reviewers": { + "ok": true + } + }, + "63c7b86ce0f8": { + "name": "github.requestPRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.requestPRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "6e3d0920e5ca": { + "auto-merge": { + "error": "", + "ok": false + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + } + }, + "74246011025e": { + "auto-merge": { + "error": "", + "ok": false + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + } + }, + "742cb6a23c64": { + "auto-merge": { + "error": "Unknown method", + "ok": false + }, + "merge": { + "ok": true + } + }, + "789f74a1d7d1": { + "auto-merge": { + "error": "transport failure", + "ok": false + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + } + }, + "7ae0c6b9f9f0": { + "auto-merge": { + "error": "outer refused", + "ok": false + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + }, + "rerun-checks": { + "ok": true + } + }, + "7d8c685821f8": { + "auto-merge": { + "error": "Request failed: github.setPRAutoMerge", + "ok": false + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + } + }, + "8102686c1366": { + "auto-merge": { + "error": "", + "ok": false + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "request-reviewers": { + "ok": true + } + }, + "84790920ad91": { + "name": "github.updatePRState#1", + "args": [ + { + "name": "method", + "value": "github.updatePRState" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "8b5e75aec255": { + "auto-merge": { + "error": "transport failure", + "ok": false + }, + "merge": { + "ok": true + } + }, + "8bd96c712db3": { + "name": "github.setPRAutoMerge#1", + "args": [ + { + "name": "method", + "value": "github.setPRAutoMerge" + }, + { + "name": "params", + "value": { + "enabled": true, + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "9305632adf32": { + "name": "github.setPRAutoMerge#1", + "args": [ + { + "name": "method", + "value": "github.setPRAutoMerge" + }, + { + "name": "params", + "value": { + "enabled": true, + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "95fbe51013b2": { + "auto-merge": { + "error": "transport failure", + "ok": false + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "request-reviewers": { + "ok": true + } + }, + "97b08057c152": { + "name": "github.removePRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.removePRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "98a9268b04e2": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + } + }, + "9c7e4fb14ee1": { + "auto-merge": { + "error": "outer refused", + "ok": false + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + } + }, + "9f00dd54ba64": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "inner refused", + "ok": false + } + }, + "a197c20578aa": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "transport failure", + "ok": false + } + }, + "a8e18378c895": { + "name": "github.setPRAutoMerge#1", + "args": [ + { + "name": "method", + "value": "github.setPRAutoMerge" + }, + { + "name": "params", + "value": { + "enabled": true, + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "b1f69fae2896": { + "auto-merge": { + "error": "Unknown method", + "ok": false + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + }, + "rerun-checks": { + "ok": true + } + }, + "b303193775ad": { + "name": "github.updatePRState#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.updatePRState\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"updates\":{\"state\":\"closed\"}}}" + }, + "b3146e73e9ae": { + "auto-merge": { + "error": "outer refused", + "ok": false + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "request-reviewers": { + "ok": true + } + }, + "b5f886064f15": { + "auto-merge": { + "error": "Request failed: github.setPRAutoMerge", + "ok": false + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + }, + "rerun-checks": { + "ok": true + } + }, + "b6adb5401ec8": { + "auto-merge": { + "error": "Unknown method", + "ok": false + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + } + }, + "b9123a0fc952": { + "name": "github.removePRReviewers#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.removePRReviewers\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"reviewers\":[\"octocat\"]}}" + }, + "bb2a2b4efa81": { + "auto-merge": { + "error": "transport failure", + "ok": false + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + }, + "rerun-checks": { + "ok": true + } + }, + "bdcf1daddf4e": { + "name": "github.setPRAutoMerge#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.setPRAutoMerge\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"enabled\":true}}" + }, + "c04b65fbc242": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Request failed: github.setPRAutoMerge", + "ok": false + } + }, + "cbbd452ef29a": { + "name": "github.setPRAutoMerge#1", + "args": [ + { + "name": "method", + "value": "github.setPRAutoMerge" + }, + { + "name": "params", + "value": { + "enabled": true, + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "cc88259ef631": { + "auto-merge": { + "error": "inner refused", + "ok": false + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + } + }, + "ccf2be5c9d44": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "cd9bcd746cb3": { + "auto-merge": { + "error": "Request failed: github.setPRAutoMerge", + "ok": false + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "request-reviewers": { + "ok": true + } + }, + "d026cfa35ea0": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + }, + "rerun-checks": { + "ok": true + } + }, + "d447f6895d0b": { + "auto-merge": { + "error": "inner refused", + "ok": false + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + } + }, + "d48d668c5f80": { + "name": "github.setPRAutoMerge#1", + "args": [ + { + "name": "method", + "value": "github.setPRAutoMerge" + }, + { + "name": "params", + "value": { + "enabled": true, + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "e53c2e2f9a43": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha-1", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-6", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "eb3396fea61e": { + "name": "github.setPRAutoMerge#1", + "args": [ + { + "name": "method", + "value": "github.setPRAutoMerge" + }, + { + "name": "params", + "value": { + "enabled": true, + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "f44b3cd07d00": { + "name": "github.requestPRReviewers#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.requestPRReviewers\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"reviewers\":[\"octocat\"]}}" + }, + "f4f598b269ab": { + "auto-merge": { + "error": "Request failed: github.setPRAutoMerge", + "ok": false + }, + "merge": { + "ok": true + } + }, + "fa93ca01f266": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Unknown method", + "ok": false + } + }, + "fb4429083480": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "", + "ok": false + } + }, + "fbc958e4d46e": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true + } + } + }, + "recording": { + "scenario": "matrix-github.pr-mutation-github.setprautomerge-1", + "checkpoints": [ + { + "id": "pr-mutation-status.prelude:pending", + "observation": { + "sender": [], + "payloads": [], + "settlements": {}, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "pr-mutation-status.prelude:merge", + "observation": { + "sender": ["ccf2be5c9d44"], + "payloads": ["0550d42a40c4"], + "settlements": { + "merge": "fbc958e4d46e" + }, + "state": "0e14bd119328", + "effects": [] + } + }, + { + "id": "pr-mutation-status.normal:auto-merge", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e" + }, + "state": "217757a427ce", + "effects": [] + } + }, + { + "id": "pr-mutation-status.normal:close", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32", "84790920ad91"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e" + }, + "state": "053eb7126f9a", + "effects": [] + } + }, + { + "id": "pr-mutation-status.normal:request-reviewers", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32", "84790920ad91", "63c7b86ce0f8"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e" + }, + "state": "258eb619fcbb", + "effects": [] + } + }, + { + "id": "pr-mutation-status.normal:remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "98a9268b04e2", + "effects": [] + } + }, + { + "id": "pr-mutation-status.normal:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "d026cfa35ea0", + "effects": [] + } + }, + { + "id": "pr-mutation-status.result-absent:auto-merge", + "observation": { + "sender": ["ccf2be5c9d44", "8bd96c712db3"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e" + }, + "state": "217757a427ce", + "effects": [] + } + }, + { + "id": "pr-mutation-status.result-absent:close", + "observation": { + "sender": ["ccf2be5c9d44", "8bd96c712db3", "84790920ad91"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e" + }, + "state": "053eb7126f9a", + "effects": [] + } + }, + { + "id": "pr-mutation-status.result-absent:request-reviewers", + "observation": { + "sender": ["ccf2be5c9d44", "8bd96c712db3", "84790920ad91", "63c7b86ce0f8"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e" + }, + "state": "258eb619fcbb", + "effects": [] + } + }, + { + "id": "pr-mutation-status.result-absent:remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "8bd96c712db3", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "98a9268b04e2", + "effects": [] + } + }, + { + "id": "pr-mutation-status.result-absent:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "8bd96c712db3", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "d026cfa35ea0", + "effects": [] + } + }, + { + "id": "pr-mutation-status.result-null:auto-merge", + "observation": { + "sender": ["ccf2be5c9d44", "eb3396fea61e"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e" + }, + "state": "217757a427ce", + "effects": [] + } + }, + { + "id": "pr-mutation-status.result-null:close", + "observation": { + "sender": ["ccf2be5c9d44", "eb3396fea61e", "84790920ad91"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e" + }, + "state": "053eb7126f9a", + "effects": [] + } + }, + { + "id": "pr-mutation-status.result-null:request-reviewers", + "observation": { + "sender": ["ccf2be5c9d44", "eb3396fea61e", "84790920ad91", "63c7b86ce0f8"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e" + }, + "state": "258eb619fcbb", + "effects": [] + } + }, + { + "id": "pr-mutation-status.result-null:remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "eb3396fea61e", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "98a9268b04e2", + "effects": [] + } + }, + { + "id": "pr-mutation-status.result-null:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "eb3396fea61e", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "d026cfa35ea0", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-ok-missing:auto-merge", + "observation": { + "sender": ["ccf2be5c9d44", "4e9bde2a9e22"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e" + }, + "state": "217757a427ce", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-ok-missing:close", + "observation": { + "sender": ["ccf2be5c9d44", "4e9bde2a9e22", "84790920ad91"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e" + }, + "state": "053eb7126f9a", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-ok-missing:request-reviewers", + "observation": { + "sender": ["ccf2be5c9d44", "4e9bde2a9e22", "84790920ad91", "63c7b86ce0f8"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e" + }, + "state": "258eb619fcbb", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-ok-missing:remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "4e9bde2a9e22", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "98a9268b04e2", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-ok-missing:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "4e9bde2a9e22", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "d026cfa35ea0", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-false-string-error:auto-merge", + "observation": { + "sender": ["ccf2be5c9d44", "a8e18378c895"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "9f00dd54ba64" + }, + "state": "465d085d9d15", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-false-string-error:close", + "observation": { + "sender": ["ccf2be5c9d44", "a8e18378c895", "84790920ad91"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "9f00dd54ba64", + "close": "fbc958e4d46e" + }, + "state": "cc88259ef631", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-false-string-error:request-reviewers", + "observation": { + "sender": ["ccf2be5c9d44", "a8e18378c895", "84790920ad91", "63c7b86ce0f8"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "9f00dd54ba64", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e" + }, + "state": "6082e4096a0b", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-false-string-error:remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "a8e18378c895", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "9f00dd54ba64", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "d447f6895d0b", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-false-string-error:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "a8e18378c895", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "9f00dd54ba64", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "20e8b84fb904", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-false-object-error:auto-merge", + "observation": { + "sender": ["ccf2be5c9d44", "06946d968abf"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "9f00dd54ba64" + }, + "state": "465d085d9d15", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-false-object-error:close", + "observation": { + "sender": ["ccf2be5c9d44", "06946d968abf", "84790920ad91"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "9f00dd54ba64", + "close": "fbc958e4d46e" + }, + "state": "cc88259ef631", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-false-object-error:request-reviewers", + "observation": { + "sender": ["ccf2be5c9d44", "06946d968abf", "84790920ad91", "63c7b86ce0f8"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "9f00dd54ba64", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e" + }, + "state": "6082e4096a0b", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-false-object-error:remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "06946d968abf", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "9f00dd54ba64", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "d447f6895d0b", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-false-object-error:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "06946d968abf", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "9f00dd54ba64", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "20e8b84fb904", + "effects": [] + } + }, + { + "id": "pr-mutation-status.outer-refused:auto-merge", + "observation": { + "sender": ["ccf2be5c9d44", "46830236ac9f"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "1b2778bf67a2" + }, + "state": "3ca8ad232738", + "effects": [] + } + }, + { + "id": "pr-mutation-status.outer-refused:close", + "observation": { + "sender": ["ccf2be5c9d44", "46830236ac9f", "84790920ad91"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "1b2778bf67a2", + "close": "fbc958e4d46e" + }, + "state": "234677ea4076", + "effects": [] + } + }, + { + "id": "pr-mutation-status.outer-refused:request-reviewers", + "observation": { + "sender": ["ccf2be5c9d44", "46830236ac9f", "84790920ad91", "63c7b86ce0f8"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "1b2778bf67a2", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e" + }, + "state": "b3146e73e9ae", + "effects": [] + } + }, + { + "id": "pr-mutation-status.outer-refused:remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "46830236ac9f", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "1b2778bf67a2", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "9c7e4fb14ee1", + "effects": [] + } + }, + { + "id": "pr-mutation-status.outer-refused:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "46830236ac9f", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "1b2778bf67a2", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "7ae0c6b9f9f0", + "effects": [] + } + }, + { + "id": "pr-mutation-status.outer-refused-no-message:auto-merge", + "observation": { + "sender": ["ccf2be5c9d44", "cbbd452ef29a"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "c04b65fbc242" + }, + "state": "f4f598b269ab", + "effects": [] + } + }, + { + "id": "pr-mutation-status.outer-refused-no-message:close", + "observation": { + "sender": ["ccf2be5c9d44", "cbbd452ef29a", "84790920ad91"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "c04b65fbc242", + "close": "fbc958e4d46e" + }, + "state": "7d8c685821f8", + "effects": [] + } + }, + { + "id": "pr-mutation-status.outer-refused-no-message:request-reviewers", + "observation": { + "sender": ["ccf2be5c9d44", "cbbd452ef29a", "84790920ad91", "63c7b86ce0f8"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "c04b65fbc242", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e" + }, + "state": "cd9bcd746cb3", + "effects": [] + } + }, + { + "id": "pr-mutation-status.outer-refused-no-message:remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "cbbd452ef29a", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "c04b65fbc242", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "1ce5aa9e1592", + "effects": [] + } + }, + { + "id": "pr-mutation-status.outer-refused-no-message:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "cbbd452ef29a", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "c04b65fbc242", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "b5f886064f15", + "effects": [] + } + }, + { + "id": "pr-mutation-status.method-not-found:auto-merge", + "observation": { + "sender": ["ccf2be5c9d44", "01ba040ce320"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fa93ca01f266" + }, + "state": "742cb6a23c64", + "effects": [] + } + }, + { + "id": "pr-mutation-status.method-not-found:close", + "observation": { + "sender": ["ccf2be5c9d44", "01ba040ce320", "84790920ad91"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fa93ca01f266", + "close": "fbc958e4d46e" + }, + "state": "b6adb5401ec8", + "effects": [] + } + }, + { + "id": "pr-mutation-status.method-not-found:request-reviewers", + "observation": { + "sender": ["ccf2be5c9d44", "01ba040ce320", "84790920ad91", "63c7b86ce0f8"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fa93ca01f266", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e" + }, + "state": "0baa734b671e", + "effects": [] + } + }, + { + "id": "pr-mutation-status.method-not-found:remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "01ba040ce320", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fa93ca01f266", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "04a837f2d497", + "effects": [] + } + }, + { + "id": "pr-mutation-status.method-not-found:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "01ba040ce320", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fa93ca01f266", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "b1f69fae2896", + "effects": [] + } + }, + { + "id": "pr-mutation-status.transport-rejection:auto-merge", + "observation": { + "sender": ["ccf2be5c9d44", "16535a751cb9"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "a197c20578aa" + }, + "state": "8b5e75aec255", + "effects": [] + } + }, + { + "id": "pr-mutation-status.transport-rejection:close", + "observation": { + "sender": ["ccf2be5c9d44", "16535a751cb9", "84790920ad91"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "a197c20578aa", + "close": "fbc958e4d46e" + }, + "state": "789f74a1d7d1", + "effects": [] + } + }, + { + "id": "pr-mutation-status.transport-rejection:request-reviewers", + "observation": { + "sender": ["ccf2be5c9d44", "16535a751cb9", "84790920ad91", "63c7b86ce0f8"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "a197c20578aa", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e" + }, + "state": "95fbe51013b2", + "effects": [] + } + }, + { + "id": "pr-mutation-status.transport-rejection:remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "16535a751cb9", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "a197c20578aa", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "22dce5927b75", + "effects": [] + } + }, + { + "id": "pr-mutation-status.transport-rejection:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "16535a751cb9", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "a197c20578aa", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "bb2a2b4efa81", + "effects": [] + } + }, + { + "id": "pr-mutation-status.transport-rejection-no-message:auto-merge", + "observation": { + "sender": ["ccf2be5c9d44", "d48d668c5f80"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fb4429083480" + }, + "state": "4c389ddb7f74", + "effects": [] + } + }, + { + "id": "pr-mutation-status.transport-rejection-no-message:close", + "observation": { + "sender": ["ccf2be5c9d44", "d48d668c5f80", "84790920ad91"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fb4429083480", + "close": "fbc958e4d46e" + }, + "state": "6e3d0920e5ca", + "effects": [] + } + }, + { + "id": "pr-mutation-status.transport-rejection-no-message:request-reviewers", + "observation": { + "sender": ["ccf2be5c9d44", "d48d668c5f80", "84790920ad91", "63c7b86ce0f8"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fb4429083480", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e" + }, + "state": "8102686c1366", + "effects": [] + } + }, + { + "id": "pr-mutation-status.transport-rejection-no-message:remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "d48d668c5f80", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fb4429083480", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "74246011025e", + "effects": [] + } + }, + { + "id": "pr-mutation-status.transport-rejection-no-message:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "d48d668c5f80", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fb4429083480", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "469be04cf43b", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-github.pr-mutation-github.updateprstate-1.json b/mobile/rpc-foundation/goldens/matrix-github.pr-mutation-github.updateprstate-1.json new file mode 100644 index 00000000000..61cebb1e346 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-github.pr-mutation-github.updateprstate-1.json @@ -0,0 +1,2166 @@ +{ + "operation": "session.pr-mutations", + "family": "github.pr-mutation", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "f560ff1582487c118756c527faa1fb1f65e37ce22ca9573491fd4b2dbcedf38d", + "scenarioSha256": "30f321fcbfaf09505bc6e18e64c09ca49c0dcdb7c5e12c4e27c2429b3e1066ca", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "04c9f7782b94": { + "auto-merge": { + "ok": true + }, + "close": { + "error": "Unknown method", + "ok": false + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + } + }, + "053886423f9e": { + "name": "github.updatePRState#1", + "args": [ + { + "name": "method", + "value": "github.updatePRState" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "053eb7126f9a": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + } + }, + "0550d42a40c4": { + "name": "github.mergePR#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.mergePR\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"method\":\"squash\"}}" + }, + "080376e913d5": { + "auto-merge": { + "ok": true + }, + "close": { + "error": "transport failure", + "ok": false + }, + "merge": { + "ok": true + } + }, + "0e14bd119328": { + "merge": { + "ok": true + } + }, + "1b2778bf67a2": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "outer refused", + "ok": false + } + }, + "217757a427ce": { + "auto-merge": { + "ok": true + }, + "merge": { + "ok": true + } + }, + "247c152db16d": { + "name": "github.rerunPRChecks#1", + "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"github.rerunPRChecks\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"failedOnly\":true,\"headSha\":\"head-sha-1\"}}" + }, + "258eb619fcbb": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "request-reviewers": { + "ok": true + } + }, + "2986d1e4ac88": { + "auto-merge": { + "ok": true + }, + "close": { + "error": "", + "ok": false + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + } + }, + "2df3fd88ad3d": { + "name": "github.updatePRState#1", + "args": [ + { + "name": "method", + "value": "github.updatePRState" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-3", + "ok": false + } + } + }, + "34e590b23882": { + "name": "github.updatePRState#1", + "args": [ + { + "name": "method", + "value": "github.updatePRState" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-3", + "ok": false + } + } + }, + "3b90b4cfe2af": { + "auto-merge": { + "ok": true + }, + "close": { + "error": "Request failed: github.updatePRState", + "ok": false + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + }, + "rerun-checks": { + "ok": true + } + }, + "3ea824916a31": { + "name": "github.updatePRState#1", + "args": [ + { + "name": "method", + "value": "github.updatePRState" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "44136fa355b3": {}, + "4a0d5a41060e": { + "name": "github.updatePRState#1", + "args": [ + { + "name": "method", + "value": "github.updatePRState" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "4baceb4ce2c0": { + "auto-merge": { + "ok": true + }, + "close": { + "error": "outer refused", + "ok": false + }, + "merge": { + "ok": true + }, + "request-reviewers": { + "ok": true + } + }, + "51627485f0a0": { + "name": "github.updatePRState#1", + "args": [ + { + "name": "method", + "value": "github.updatePRState" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "63c7b86ce0f8": { + "name": "github.requestPRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.requestPRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "67c594a9f909": { + "name": "github.updatePRState#1", + "args": [ + { + "name": "method", + "value": "github.updatePRState" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true + } + } + }, + "67cefc1991f7": { + "auto-merge": { + "ok": true + }, + "close": { + "error": "Unknown method", + "ok": false + }, + "merge": { + "ok": true + } + }, + "6d57d04d0b54": { + "name": "github.updatePRState#1", + "args": [ + { + "name": "method", + "value": "github.updatePRState" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "updates": { + "state": "closed" + } + } + }, + { + "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 + } + } + } + }, + "7949e0e647b9": { + "auto-merge": { + "ok": true + }, + "close": { + "error": "inner refused", + "ok": false + }, + "merge": { + "ok": true + } + }, + "7a01d063dd6b": { + "auto-merge": { + "ok": true + }, + "close": { + "error": "Request failed: github.updatePRState", + "ok": false + }, + "merge": { + "ok": true + } + }, + "84790920ad91": { + "name": "github.updatePRState#1", + "args": [ + { + "name": "method", + "value": "github.updatePRState" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "8538f9e6b0d6": { + "auto-merge": { + "ok": true + }, + "close": { + "error": "Request failed: github.updatePRState", + "ok": false + }, + "merge": { + "ok": true + }, + "request-reviewers": { + "ok": true + } + }, + "87ae71c197c7": { + "auto-merge": { + "ok": true + }, + "close": { + "error": "Unknown method", + "ok": false + }, + "merge": { + "ok": true + }, + "request-reviewers": { + "ok": true + } + }, + "905485b38db4": { + "auto-merge": { + "ok": true + }, + "close": { + "error": "Request failed: github.updatePRState", + "ok": false + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + } + }, + "9305632adf32": { + "name": "github.setPRAutoMerge#1", + "args": [ + { + "name": "method", + "value": "github.setPRAutoMerge" + }, + { + "name": "params", + "value": { + "enabled": true, + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "97b08057c152": { + "name": "github.removePRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.removePRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "98a9268b04e2": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + } + }, + "9dbcacd7285f": { + "auto-merge": { + "ok": true + }, + "close": { + "error": "transport failure", + "ok": false + }, + "merge": { + "ok": true + }, + "request-reviewers": { + "ok": true + } + }, + "9f00dd54ba64": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "inner refused", + "ok": false + } + }, + "a197c20578aa": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "transport failure", + "ok": false + } + }, + "a23d0040b1a3": { + "name": "github.updatePRState#1", + "args": [ + { + "name": "method", + "value": "github.updatePRState" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "b303193775ad": { + "name": "github.updatePRState#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.updatePRState\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"updates\":{\"state\":\"closed\"}}}" + }, + "b6bd018118e6": { + "auto-merge": { + "ok": true + }, + "close": { + "error": "inner refused", + "ok": false + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + } + }, + "b79d8ac89a22": { + "auto-merge": { + "ok": true + }, + "close": { + "error": "outer refused", + "ok": false + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + } + }, + "b9123a0fc952": { + "name": "github.removePRReviewers#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.removePRReviewers\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"reviewers\":[\"octocat\"]}}" + }, + "bdcf1daddf4e": { + "name": "github.setPRAutoMerge#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.setPRAutoMerge\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"enabled\":true}}" + }, + "be1602979f64": { + "auto-merge": { + "ok": true + }, + "close": { + "error": "outer refused", + "ok": false + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + }, + "rerun-checks": { + "ok": true + } + }, + "c3018607a10c": { + "name": "github.updatePRState#1", + "args": [ + { + "name": "method", + "value": "github.updatePRState" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "updates": { + "state": "closed" + } + } + }, + { + "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 + } + } + }, + "c7e27ac39a7f": { + "auto-merge": { + "ok": true + }, + "close": { + "error": "", + "ok": false + }, + "merge": { + "ok": true + } + }, + "ccf2be5c9d44": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "d026cfa35ea0": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + }, + "rerun-checks": { + "ok": true + } + }, + "d21a6a7e791a": { + "auto-merge": { + "ok": true + }, + "close": { + "error": "transport failure", + "ok": false + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + }, + "rerun-checks": { + "ok": true + } + }, + "d2d3a89f6b7b": { + "auto-merge": { + "ok": true + }, + "close": { + "error": "outer refused", + "ok": false + }, + "merge": { + "ok": true + } + }, + "d666b154b720": { + "auto-merge": { + "ok": true + }, + "close": { + "error": "", + "ok": false + }, + "merge": { + "ok": true + }, + "request-reviewers": { + "ok": true + } + }, + "d671b1dd972f": { + "auto-merge": { + "ok": true + }, + "close": { + "error": "transport failure", + "ok": false + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + } + }, + "dbc311eea885": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Request failed: github.updatePRState", + "ok": false + } + }, + "e522e94466e4": { + "auto-merge": { + "ok": true + }, + "close": { + "error": "Unknown method", + "ok": false + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + }, + "rerun-checks": { + "ok": true + } + }, + "e53c2e2f9a43": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha-1", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-6", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "ea00c00bd52d": { + "auto-merge": { + "ok": true + }, + "close": { + "error": "inner refused", + "ok": false + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + }, + "rerun-checks": { + "ok": true + } + }, + "f0835506c05a": { + "auto-merge": { + "ok": true + }, + "close": { + "error": "inner refused", + "ok": false + }, + "merge": { + "ok": true + }, + "request-reviewers": { + "ok": true + } + }, + "f340f2f77064": { + "auto-merge": { + "ok": true + }, + "close": { + "error": "", + "ok": false + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + }, + "rerun-checks": { + "ok": true + } + }, + "f44b3cd07d00": { + "name": "github.requestPRReviewers#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.requestPRReviewers\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"reviewers\":[\"octocat\"]}}" + }, + "fa93ca01f266": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Unknown method", + "ok": false + } + }, + "fb4429083480": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "", + "ok": false + } + }, + "fbc958e4d46e": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true + } + } + }, + "recording": { + "scenario": "matrix-github.pr-mutation-github.updateprstate-1", + "checkpoints": [ + { + "id": "pr-mutation-status.prelude:pending", + "observation": { + "sender": [], + "payloads": [], + "settlements": {}, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "pr-mutation-status.prelude:merge", + "observation": { + "sender": ["ccf2be5c9d44"], + "payloads": ["0550d42a40c4"], + "settlements": { + "merge": "fbc958e4d46e" + }, + "state": "0e14bd119328", + "effects": [] + } + }, + { + "id": "pr-mutation-status.prelude:auto-merge", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e" + }, + "state": "217757a427ce", + "effects": [] + } + }, + { + "id": "pr-mutation-status.normal:close", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32", "84790920ad91"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e" + }, + "state": "053eb7126f9a", + "effects": [] + } + }, + { + "id": "pr-mutation-status.normal:request-reviewers", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32", "84790920ad91", "63c7b86ce0f8"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e" + }, + "state": "258eb619fcbb", + "effects": [] + } + }, + { + "id": "pr-mutation-status.normal:remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "98a9268b04e2", + "effects": [] + } + }, + { + "id": "pr-mutation-status.normal:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "d026cfa35ea0", + "effects": [] + } + }, + { + "id": "pr-mutation-status.result-absent:close", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32", "67c594a9f909"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e" + }, + "state": "053eb7126f9a", + "effects": [] + } + }, + { + "id": "pr-mutation-status.result-absent:request-reviewers", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32", "67c594a9f909", "63c7b86ce0f8"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e" + }, + "state": "258eb619fcbb", + "effects": [] + } + }, + { + "id": "pr-mutation-status.result-absent:remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "67c594a9f909", + "63c7b86ce0f8", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "98a9268b04e2", + "effects": [] + } + }, + { + "id": "pr-mutation-status.result-absent:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "67c594a9f909", + "63c7b86ce0f8", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "d026cfa35ea0", + "effects": [] + } + }, + { + "id": "pr-mutation-status.result-null:close", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32", "51627485f0a0"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e" + }, + "state": "053eb7126f9a", + "effects": [] + } + }, + { + "id": "pr-mutation-status.result-null:request-reviewers", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32", "51627485f0a0", "63c7b86ce0f8"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e" + }, + "state": "258eb619fcbb", + "effects": [] + } + }, + { + "id": "pr-mutation-status.result-null:remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "51627485f0a0", + "63c7b86ce0f8", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "98a9268b04e2", + "effects": [] + } + }, + { + "id": "pr-mutation-status.result-null:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "51627485f0a0", + "63c7b86ce0f8", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "d026cfa35ea0", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-ok-missing:close", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32", "4a0d5a41060e"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e" + }, + "state": "053eb7126f9a", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-ok-missing:request-reviewers", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32", "4a0d5a41060e", "63c7b86ce0f8"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e" + }, + "state": "258eb619fcbb", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-ok-missing:remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "4a0d5a41060e", + "63c7b86ce0f8", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "98a9268b04e2", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-ok-missing:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "4a0d5a41060e", + "63c7b86ce0f8", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "d026cfa35ea0", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-false-string-error:close", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32", "a23d0040b1a3"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "9f00dd54ba64" + }, + "state": "7949e0e647b9", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-false-string-error:request-reviewers", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32", "a23d0040b1a3", "63c7b86ce0f8"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "9f00dd54ba64", + "request-reviewers": "fbc958e4d46e" + }, + "state": "f0835506c05a", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-false-string-error:remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "a23d0040b1a3", + "63c7b86ce0f8", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "9f00dd54ba64", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "b6bd018118e6", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-false-string-error:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "a23d0040b1a3", + "63c7b86ce0f8", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "9f00dd54ba64", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "ea00c00bd52d", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-false-object-error:close", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32", "6d57d04d0b54"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "9f00dd54ba64" + }, + "state": "7949e0e647b9", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-false-object-error:request-reviewers", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32", "6d57d04d0b54", "63c7b86ce0f8"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "9f00dd54ba64", + "request-reviewers": "fbc958e4d46e" + }, + "state": "f0835506c05a", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-false-object-error:remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "6d57d04d0b54", + "63c7b86ce0f8", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "9f00dd54ba64", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "b6bd018118e6", + "effects": [] + } + }, + { + "id": "pr-mutation-status.inner-false-object-error:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "6d57d04d0b54", + "63c7b86ce0f8", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "9f00dd54ba64", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "ea00c00bd52d", + "effects": [] + } + }, + { + "id": "pr-mutation-status.outer-refused:close", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32", "2df3fd88ad3d"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "1b2778bf67a2" + }, + "state": "d2d3a89f6b7b", + "effects": [] + } + }, + { + "id": "pr-mutation-status.outer-refused:request-reviewers", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32", "2df3fd88ad3d", "63c7b86ce0f8"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "1b2778bf67a2", + "request-reviewers": "fbc958e4d46e" + }, + "state": "4baceb4ce2c0", + "effects": [] + } + }, + { + "id": "pr-mutation-status.outer-refused:remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "2df3fd88ad3d", + "63c7b86ce0f8", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "1b2778bf67a2", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "b79d8ac89a22", + "effects": [] + } + }, + { + "id": "pr-mutation-status.outer-refused:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "2df3fd88ad3d", + "63c7b86ce0f8", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "1b2778bf67a2", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "be1602979f64", + "effects": [] + } + }, + { + "id": "pr-mutation-status.outer-refused-no-message:close", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32", "34e590b23882"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "dbc311eea885" + }, + "state": "7a01d063dd6b", + "effects": [] + } + }, + { + "id": "pr-mutation-status.outer-refused-no-message:request-reviewers", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32", "34e590b23882", "63c7b86ce0f8"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "dbc311eea885", + "request-reviewers": "fbc958e4d46e" + }, + "state": "8538f9e6b0d6", + "effects": [] + } + }, + { + "id": "pr-mutation-status.outer-refused-no-message:remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "34e590b23882", + "63c7b86ce0f8", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "dbc311eea885", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "905485b38db4", + "effects": [] + } + }, + { + "id": "pr-mutation-status.outer-refused-no-message:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "34e590b23882", + "63c7b86ce0f8", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "dbc311eea885", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "3b90b4cfe2af", + "effects": [] + } + }, + { + "id": "pr-mutation-status.method-not-found:close", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32", "c3018607a10c"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fa93ca01f266" + }, + "state": "67cefc1991f7", + "effects": [] + } + }, + { + "id": "pr-mutation-status.method-not-found:request-reviewers", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32", "c3018607a10c", "63c7b86ce0f8"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fa93ca01f266", + "request-reviewers": "fbc958e4d46e" + }, + "state": "87ae71c197c7", + "effects": [] + } + }, + { + "id": "pr-mutation-status.method-not-found:remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "c3018607a10c", + "63c7b86ce0f8", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fa93ca01f266", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "04c9f7782b94", + "effects": [] + } + }, + { + "id": "pr-mutation-status.method-not-found:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "c3018607a10c", + "63c7b86ce0f8", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fa93ca01f266", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "e522e94466e4", + "effects": [] + } + }, + { + "id": "pr-mutation-status.transport-rejection:close", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32", "053886423f9e"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "a197c20578aa" + }, + "state": "080376e913d5", + "effects": [] + } + }, + { + "id": "pr-mutation-status.transport-rejection:request-reviewers", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32", "053886423f9e", "63c7b86ce0f8"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "a197c20578aa", + "request-reviewers": "fbc958e4d46e" + }, + "state": "9dbcacd7285f", + "effects": [] + } + }, + { + "id": "pr-mutation-status.transport-rejection:remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "053886423f9e", + "63c7b86ce0f8", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "a197c20578aa", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "d671b1dd972f", + "effects": [] + } + }, + { + "id": "pr-mutation-status.transport-rejection:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "053886423f9e", + "63c7b86ce0f8", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "a197c20578aa", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "d21a6a7e791a", + "effects": [] + } + }, + { + "id": "pr-mutation-status.transport-rejection-no-message:close", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32", "3ea824916a31"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fb4429083480" + }, + "state": "c7e27ac39a7f", + "effects": [] + } + }, + { + "id": "pr-mutation-status.transport-rejection-no-message:request-reviewers", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32", "3ea824916a31", "63c7b86ce0f8"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fb4429083480", + "request-reviewers": "fbc958e4d46e" + }, + "state": "d666b154b720", + "effects": [] + } + }, + { + "id": "pr-mutation-status.transport-rejection-no-message:remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "3ea824916a31", + "63c7b86ce0f8", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fb4429083480", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "2986d1e4ac88", + "effects": [] + } + }, + { + "id": "pr-mutation-status.transport-rejection-no-message:rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "3ea824916a31", + "63c7b86ce0f8", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fb4429083480", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "f340f2f77064", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-github.pr-read-github.listassignableusers-1.json b/mobile/rpc-foundation/goldens/matrix-github.pr-read-github.listassignableusers-1.json new file mode 100644 index 00000000000..4d4b3bf9053 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-github.pr-read-github.listassignableusers-1.json @@ -0,0 +1,3327 @@ +{ + "operation": "session.pr-reads", + "family": "github.pr-read", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "f560ff1582487c118756c527faa1fb1f65e37ce22ca9573491fd4b2dbcedf38d", + "scenarioSha256": "507743a5925a37be32156b3d8df83ddb8e08c262d2c2f44bbd117dee4672bbc5", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0d72c677732e": { + "name": "github.listAssignableUsers#1", + "args": [ + { + "name": "method", + "value": "github.listAssignableUsers" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-7", + "ok": false + } + } + }, + "124a9e4e90b6": { + "assignable": { + "error": "transport failure", + "ok": false + }, + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "1b2778bf67a2": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "outer refused", + "ok": false + } + }, + "1bdfee368839": { + "name": "hostedReview.forBranch#1", + "args": [ + { + "name": "method", + "value": "hostedReview.forBranch" + }, + { + "name": "params", + "value": { + "active": true, + "branch": "feature", + "linkedGitHubPR": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "state": "open", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + } + } + }, + "1c88fe396b45": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + } + }, + "203489cf0750": { + "name": "github.listAssignableUsers#1", + "args": [ + { + "name": "method", + "value": "github.listAssignableUsers" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-7", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "20afea7a7ded": { + "assignable": { + "ok": true, + "result": [] + }, + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "2638b3063bb1": { + "name": "github.repoSlug#1", + "args": [ + { + "name": "method", + "value": "github.repoSlug" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + } + }, + "37ad7ac0a9f2": { + "name": "github.listAssignableUsers#1", + "args": [ + { + "name": "method", + "value": "github.listAssignableUsers" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-7", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "3879f5d02dc5": { + "name": "github.listAssignableUsers#1", + "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"github.listAssignableUsers\",\"params\":{\"repo\":\"id:repo-9\"}}" + }, + "3b464a1ac1ab": { + "name": "github.prChecks#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.prChecks\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"headSha\":\"head-sha-1\"}}" + }, + "41113a109089": { + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "44136fa355b3": {}, + "4a081d46fc88": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha-1", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed" + } + ] + } + } + }, + "4a5d0ded4e6c": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "50f04028e403": { + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "52aeedd2ed0e": { + "assignable": { + "error": "Unknown method", + "ok": false + }, + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "59ec56b0e49c": { + "name": "github.workItemDetails#1", + "args": [ + { + "name": "method", + "value": "github.workItemDetails" + }, + { + "name": "params", + "value": { + "number": 12, + "repo": "id:repo-9", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "body": "body", + "headSha": "head-sha-1", + "item": { + "assignees": [], + "id": "PR_1", + "labels": [], + "number": 12, + "state": "open", + "title": "Recorded", + "type": "pr" + } + } + } + } + }, + "5a46540568af": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "5e1de4c14b9f": { + "name": "github.listAssignableUsers#1", + "args": [ + { + "name": "method", + "value": "github.listAssignableUsers" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-7", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "5f3e1cddc32f": { + "assignable": { + "error": "outer refused", + "ok": false + }, + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "72b695c452ea": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Request failed: github.listAssignableUsers", + "ok": false + } + }, + "783f757d936a": { + "name": "github.listAssignableUsers#1", + "args": [ + { + "name": "method", + "value": "github.listAssignableUsers" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-7", + "ok": false + } + } + }, + "823aec8501e9": { + "name": "github.listAssignableUsers#1", + "args": [ + { + "name": "method", + "value": "github.listAssignableUsers" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-7", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "8b8554db4d73": { + "assignable": { + "error": "Request failed: github.listAssignableUsers", + "ok": false + }, + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "8cbb79ec0c39": { + "name": "hostedReview.forBranch#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.forBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedGitHubPR\":12,\"active\":true}}" + }, + "9174bc5ac409": { + "name": "github.listAssignableUsers#1", + "args": [ + { + "name": "method", + "value": "github.listAssignableUsers" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-7", + "ok": false + } + } + }, + "9353f049138c": { + "name": "github.prCheckDetails#1", + "args": [ + { + "name": "method", + "value": "github.prCheckDetails" + }, + { + "name": "params", + "value": { + "checkName": "build", + "checkRunId": 7, + "repo": "id:repo-9", + "url": { + "$rpc": "null" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-6", + "ok": true, + "result": { + "annotations": [], + "conclusion": "success", + "jobs": [], + "name": "build", + "status": "completed" + } + } + } + }, + "9589a1e1a61e": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "a197c20578aa": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "transport failure", + "ok": false + } + }, + "a591fd1d2c33": { + "name": "github.listAssignableUsers#1", + "args": [ + { + "name": "method", + "value": "github.listAssignableUsers" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "a7c7a8c0dcbd": { + "assignable": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + }, + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "a93bcc7122e8": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + } + }, + "b0b5c628b5c7": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + } + }, + "b68c4051a825": { + "name": "github.listAssignableUsers#1", + "args": [ + { + "name": "method", + "value": "github.listAssignableUsers" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "ba1b866ad599": { + "name": "github.workItemDetails#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.workItemDetails\",\"params\":{\"repo\":\"id:repo-9\",\"number\":12,\"type\":\"pr\"}}" + }, + "c6892d4f1f95": { + "assignable": { + "error": "", + "ok": false + }, + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "c9cb3ce714a0": { + "name": "github.prForBranch#1", + "args": [ + { + "name": "method", + "value": "github.prForBranch" + }, + { + "name": "params", + "value": { + "branch": "feature", + "linkedPRNumber": { + "$rpc": "null" + }, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "fetchedAt": 0, + "kind": "found", + "pr": { + "headSha": "head-sha-1", + "mergeable": "MERGEABLE", + "number": 12, + "state": "open", + "title": "Recorded", + "url": "https://x/12" + } + } + } + } + }, + "d08ed4a769f3": { + "name": "github.prCheckDetails#1", + "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"github.prCheckDetails\",\"params\":{\"repo\":\"id:repo-9\",\"checkRunId\":7,\"checkName\":\"build\",\"url\":null}}" + }, + "d89e7b8ce2a0": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "e23eb2e4b033": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + } + }, + "e2a5da33d958": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": [] + } + }, + "e323dec040c2": { + "name": "github.prForBranch#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.prForBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedPRNumber\":null}}" + }, + "eb6a2b2f507e": { + "name": "github.repoSlug#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.repoSlug\",\"params\":{\"repo\":\"id:repo-9\"}}" + }, + "efcf99a657b9": { + "name": "github.listAssignableUsers#1", + "args": [ + { + "name": "method", + "value": "github.listAssignableUsers" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-7", + "ok": true, + "result": [ + { + "login": "octocat", + "name": "Octo Cat" + } + ] + } + } + }, + "f0b34267007c": { + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "f2563d0882ec": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + } + }, + "f52f6130cb7f": { + "name": "github.listAssignableUsers#1", + "args": [ + { + "name": "method", + "value": "github.listAssignableUsers" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-7", + "ok": true + } + } + }, + "fa93ca01f266": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Unknown method", + "ok": false + } + }, + "fb4429083480": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "", + "ok": false + } + }, + "fd7cf23591a3": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + } + }, + "recording": { + "scenario": "matrix-github.pr-read-github.listassignableusers-1", + "checkpoints": [ + { + "id": "pr-read-surface.prelude:pending", + "observation": { + "sender": [], + "payloads": [], + "settlements": {}, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "pr-read-surface.prelude:repo-slug", + "observation": { + "sender": ["2638b3063bb1"], + "payloads": ["eb6a2b2f507e"], + "settlements": { + "repo-slug": "d89e7b8ce2a0" + }, + "state": "41113a109089", + "effects": [] + } + }, + { + "id": "pr-read-surface.prelude:hosted-review", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7" + }, + "state": "5a46540568af", + "effects": [] + } + }, + { + "id": "pr-read-surface.prelude:pr-for-branch", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839", "c9cb3ce714a0"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec" + }, + "state": "9589a1e1a61e", + "effects": [] + } + }, + { + "id": "pr-read-surface.prelude:work-item", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839", "c9cb3ce714a0", "59ec56b0e49c"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c" + }, + "state": "fd7cf23591a3", + "effects": [] + } + }, + { + "id": "pr-read-surface.prelude:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033" + }, + "state": "f0b34267007c", + "effects": [] + } + }, + { + "id": "pr-read-surface.prelude:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "50f04028e403", + "effects": [] + } + }, + { + "id": "pr-read-surface.normal:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "a7c7a8c0dcbd", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-absent:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "f52f6130cb7f" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "e2a5da33d958" + }, + "state": "20afea7a7ded", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-null:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "203489cf0750" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "e2a5da33d958" + }, + "state": "20afea7a7ded", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-ok-missing:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "37ad7ac0a9f2" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "e2a5da33d958" + }, + "state": "20afea7a7ded", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-string-error:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "823aec8501e9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "e2a5da33d958" + }, + "state": "20afea7a7ded", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-object-error:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "5e1de4c14b9f" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "e2a5da33d958" + }, + "state": "20afea7a7ded", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "783f757d936a" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "1b2778bf67a2" + }, + "state": "5f3e1cddc32f", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused-no-message:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "0d72c677732e" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "72b695c452ea" + }, + "state": "8b8554db4d73", + "effects": [] + } + }, + { + "id": "pr-read-surface.method-not-found:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "9174bc5ac409" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "fa93ca01f266" + }, + "state": "52aeedd2ed0e", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "a591fd1d2c33" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a197c20578aa" + }, + "state": "124a9e4e90b6", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection-no-message:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "b68c4051a825" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "fb4429083480" + }, + "state": "c6892d4f1f95", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-github.pr-read-github.prcheckdetails-1.json b/mobile/rpc-foundation/goldens/matrix-github.pr-read-github.prcheckdetails-1.json new file mode 100644 index 00000000000..6be7d81cff7 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-github.pr-read-github.prcheckdetails-1.json @@ -0,0 +1,4491 @@ +{ + "operation": "session.pr-reads", + "family": "github.pr-read", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "f560ff1582487c118756c527faa1fb1f65e37ce22ca9573491fd4b2dbcedf38d", + "scenarioSha256": "6efca320cf31a1de988110004a9fb7b67fdad279a789e046ad6b5141b66e5bf1", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0077514d4277": { + "assignable": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + }, + "check-details": { + "ok": true, + "result": { + "$rpc": "null" + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "0ffca3ac1504": { + "check-details": { + "error": "Request failed: github.prCheckDetails", + "ok": false + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "1b2778bf67a2": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "outer refused", + "ok": false + } + }, + "1bdfee368839": { + "name": "hostedReview.forBranch#1", + "args": [ + { + "name": "method", + "value": "hostedReview.forBranch" + }, + { + "name": "params", + "value": { + "active": true, + "branch": "feature", + "linkedGitHubPR": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "state": "open", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + } + } + }, + "1c88fe396b45": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + } + }, + "209b719bdddd": { + "name": "github.prCheckDetails#1", + "args": [ + { + "name": "method", + "value": "github.prCheckDetails" + }, + { + "name": "params", + "value": { + "checkName": "build", + "checkRunId": 7, + "repo": "id:repo-9", + "url": { + "$rpc": "null" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-6", + "ok": false + } + } + }, + "2638b3063bb1": { + "name": "github.repoSlug#1", + "args": [ + { + "name": "method", + "value": "github.repoSlug" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + } + }, + "30c1ac472edd": { + "check-details": { + "error": "outer refused", + "ok": false + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "3515d63329fa": { + "name": "github.prCheckDetails#1", + "args": [ + { + "name": "method", + "value": "github.prCheckDetails" + }, + { + "name": "params", + "value": { + "checkName": "build", + "checkRunId": 7, + "repo": "id:repo-9", + "url": { + "$rpc": "null" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-6", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "36b13ec53e52": { + "assignable": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + }, + "check-details": { + "error": "outer refused", + "ok": false + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "3879f5d02dc5": { + "name": "github.listAssignableUsers#1", + "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"github.listAssignableUsers\",\"params\":{\"repo\":\"id:repo-9\"}}" + }, + "3b464a1ac1ab": { + "name": "github.prChecks#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.prChecks\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"headSha\":\"head-sha-1\"}}" + }, + "41113a109089": { + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "44136fa355b3": {}, + "4a081d46fc88": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha-1", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed" + } + ] + } + } + }, + "4a5d0ded4e6c": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "4ad6060b1f4d": { + "name": "github.prCheckDetails#1", + "args": [ + { + "name": "method", + "value": "github.prCheckDetails" + }, + { + "name": "params", + "value": { + "checkName": "build", + "checkRunId": 7, + "repo": "id:repo-9", + "url": { + "$rpc": "null" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "50f04028e403": { + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "53370b950c03": { + "assignable": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + }, + "check-details": { + "error": "Request failed: github.prCheckDetails", + "ok": false + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "59ec56b0e49c": { + "name": "github.workItemDetails#1", + "args": [ + { + "name": "method", + "value": "github.workItemDetails" + }, + { + "name": "params", + "value": { + "number": 12, + "repo": "id:repo-9", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "body": "body", + "headSha": "head-sha-1", + "item": { + "assignees": [], + "id": "PR_1", + "labels": [], + "number": 12, + "state": "open", + "title": "Recorded", + "type": "pr" + } + } + } + } + }, + "5a46540568af": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "634eff89af61": { + "name": "github.prCheckDetails#1", + "args": [ + { + "name": "method", + "value": "github.prCheckDetails" + }, + { + "name": "params", + "value": { + "checkName": "build", + "checkRunId": 7, + "repo": "id:repo-9", + "url": { + "$rpc": "null" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-6", + "ok": false + } + } + }, + "6bc58fbcb6cb": { + "assignable": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + }, + "check-details": { + "error": "transport failure", + "ok": false + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "71d48dcb9af6": { + "check-details": { + "ok": true, + "result": { + "$rpc": "null" + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "79bf1be739f1": { + "assignable": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + }, + "check-details": { + "error": "Unknown method", + "ok": false + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "7d43beaf1484": { + "name": "github.prCheckDetails#1", + "args": [ + { + "name": "method", + "value": "github.prCheckDetails" + }, + { + "name": "params", + "value": { + "checkName": "build", + "checkRunId": 7, + "repo": "id:repo-9", + "url": { + "$rpc": "null" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-6", + "ok": true + } + } + }, + "8a5cb8b66303": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "$rpc": "null" + } + } + }, + "8cbb79ec0c39": { + "name": "hostedReview.forBranch#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.forBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedGitHubPR\":12,\"active\":true}}" + }, + "9353f049138c": { + "name": "github.prCheckDetails#1", + "args": [ + { + "name": "method", + "value": "github.prCheckDetails" + }, + { + "name": "params", + "value": { + "checkName": "build", + "checkRunId": 7, + "repo": "id:repo-9", + "url": { + "$rpc": "null" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-6", + "ok": true, + "result": { + "annotations": [], + "conclusion": "success", + "jobs": [], + "name": "build", + "status": "completed" + } + } + } + }, + "9589a1e1a61e": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "a197c20578aa": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "transport failure", + "ok": false + } + }, + "a7c7a8c0dcbd": { + "assignable": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + }, + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "a93bcc7122e8": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + } + }, + "b0b5c628b5c7": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + } + }, + "b863718e6335": { + "name": "github.prCheckDetails#1", + "args": [ + { + "name": "method", + "value": "github.prCheckDetails" + }, + { + "name": "params", + "value": { + "checkName": "build", + "checkRunId": 7, + "repo": "id:repo-9", + "url": { + "$rpc": "null" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-6", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "b9c906995b3c": { + "check-details": { + "error": "", + "ok": false + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "ba1b866ad599": { + "name": "github.workItemDetails#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.workItemDetails\",\"params\":{\"repo\":\"id:repo-9\",\"number\":12,\"type\":\"pr\"}}" + }, + "c59e9d791e7a": { + "check-details": { + "error": "Unknown method", + "ok": false + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "c8188245a800": { + "assignable": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + }, + "check-details": { + "error": "", + "ok": false + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "c9cb3ce714a0": { + "name": "github.prForBranch#1", + "args": [ + { + "name": "method", + "value": "github.prForBranch" + }, + { + "name": "params", + "value": { + "branch": "feature", + "linkedPRNumber": { + "$rpc": "null" + }, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "fetchedAt": 0, + "kind": "found", + "pr": { + "headSha": "head-sha-1", + "mergeable": "MERGEABLE", + "number": 12, + "state": "open", + "title": "Recorded", + "url": "https://x/12" + } + } + } + } + }, + "ca17a8609e5d": { + "check-details": { + "error": "transport failure", + "ok": false + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "cb694ef59554": { + "name": "github.prCheckDetails#1", + "args": [ + { + "name": "method", + "value": "github.prCheckDetails" + }, + { + "name": "params", + "value": { + "checkName": "build", + "checkRunId": 7, + "repo": "id:repo-9", + "url": { + "$rpc": "null" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "cbf576a28991": { + "name": "github.prCheckDetails#1", + "args": [ + { + "name": "method", + "value": "github.prCheckDetails" + }, + { + "name": "params", + "value": { + "checkName": "build", + "checkRunId": 7, + "repo": "id:repo-9", + "url": { + "$rpc": "null" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-6", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "cc3b225ddaeb": { + "name": "github.prCheckDetails#1", + "args": [ + { + "name": "method", + "value": "github.prCheckDetails" + }, + { + "name": "params", + "value": { + "checkName": "build", + "checkRunId": 7, + "repo": "id:repo-9", + "url": { + "$rpc": "null" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-6", + "ok": false + } + } + }, + "d08ed4a769f3": { + "name": "github.prCheckDetails#1", + "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"github.prCheckDetails\",\"params\":{\"repo\":\"id:repo-9\",\"checkRunId\":7,\"checkName\":\"build\",\"url\":null}}" + }, + "d205bc3bdc6b": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Request failed: github.prCheckDetails", + "ok": false + } + }, + "d89e7b8ce2a0": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "e23eb2e4b033": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + } + }, + "e323dec040c2": { + "name": "github.prForBranch#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.prForBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedPRNumber\":null}}" + }, + "eb6a2b2f507e": { + "name": "github.repoSlug#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.repoSlug\",\"params\":{\"repo\":\"id:repo-9\"}}" + }, + "efcf99a657b9": { + "name": "github.listAssignableUsers#1", + "args": [ + { + "name": "method", + "value": "github.listAssignableUsers" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-7", + "ok": true, + "result": [ + { + "login": "octocat", + "name": "Octo Cat" + } + ] + } + } + }, + "f0b34267007c": { + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "f2563d0882ec": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + } + }, + "f789f601b893": { + "name": "github.prCheckDetails#1", + "args": [ + { + "name": "method", + "value": "github.prCheckDetails" + }, + { + "name": "params", + "value": { + "checkName": "build", + "checkRunId": 7, + "repo": "id:repo-9", + "url": { + "$rpc": "null" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-6", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "fa93ca01f266": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Unknown method", + "ok": false + } + }, + "fb4429083480": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "", + "ok": false + } + }, + "fd7cf23591a3": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + } + }, + "recording": { + "scenario": "matrix-github.pr-read-github.prcheckdetails-1", + "checkpoints": [ + { + "id": "pr-read-surface.prelude:pending", + "observation": { + "sender": [], + "payloads": [], + "settlements": {}, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "pr-read-surface.prelude:repo-slug", + "observation": { + "sender": ["2638b3063bb1"], + "payloads": ["eb6a2b2f507e"], + "settlements": { + "repo-slug": "d89e7b8ce2a0" + }, + "state": "41113a109089", + "effects": [] + } + }, + { + "id": "pr-read-surface.prelude:hosted-review", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7" + }, + "state": "5a46540568af", + "effects": [] + } + }, + { + "id": "pr-read-surface.prelude:pr-for-branch", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839", "c9cb3ce714a0"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec" + }, + "state": "9589a1e1a61e", + "effects": [] + } + }, + { + "id": "pr-read-surface.prelude:work-item", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839", "c9cb3ce714a0", "59ec56b0e49c"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c" + }, + "state": "fd7cf23591a3", + "effects": [] + } + }, + { + "id": "pr-read-surface.prelude:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033" + }, + "state": "f0b34267007c", + "effects": [] + } + }, + { + "id": "pr-read-surface.normal:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "50f04028e403", + "effects": [] + } + }, + { + "id": "pr-read-surface.normal:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "a7c7a8c0dcbd", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-absent:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "7d43beaf1484" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "8a5cb8b66303" + }, + "state": "71d48dcb9af6", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-absent:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "7d43beaf1484", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "8a5cb8b66303", + "assignable": "a93bcc7122e8" + }, + "state": "0077514d4277", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-null:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "3515d63329fa" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "8a5cb8b66303" + }, + "state": "71d48dcb9af6", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-null:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "3515d63329fa", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "8a5cb8b66303", + "assignable": "a93bcc7122e8" + }, + "state": "0077514d4277", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-ok-missing:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "f789f601b893" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "8a5cb8b66303" + }, + "state": "71d48dcb9af6", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-ok-missing:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "f789f601b893", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "8a5cb8b66303", + "assignable": "a93bcc7122e8" + }, + "state": "0077514d4277", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-string-error:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "cbf576a28991" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "8a5cb8b66303" + }, + "state": "71d48dcb9af6", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-string-error:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "cbf576a28991", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "8a5cb8b66303", + "assignable": "a93bcc7122e8" + }, + "state": "0077514d4277", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-object-error:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "b863718e6335" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "8a5cb8b66303" + }, + "state": "71d48dcb9af6", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-object-error:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "b863718e6335", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "8a5cb8b66303", + "assignable": "a93bcc7122e8" + }, + "state": "0077514d4277", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "cc3b225ddaeb" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1b2778bf67a2" + }, + "state": "30c1ac472edd", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "cc3b225ddaeb", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1b2778bf67a2", + "assignable": "a93bcc7122e8" + }, + "state": "36b13ec53e52", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused-no-message:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "634eff89af61" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "d205bc3bdc6b" + }, + "state": "0ffca3ac1504", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused-no-message:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "634eff89af61", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "d205bc3bdc6b", + "assignable": "a93bcc7122e8" + }, + "state": "53370b950c03", + "effects": [] + } + }, + { + "id": "pr-read-surface.method-not-found:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "209b719bdddd" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "fa93ca01f266" + }, + "state": "c59e9d791e7a", + "effects": [] + } + }, + { + "id": "pr-read-surface.method-not-found:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "209b719bdddd", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "fa93ca01f266", + "assignable": "a93bcc7122e8" + }, + "state": "79bf1be739f1", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "4ad6060b1f4d" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "a197c20578aa" + }, + "state": "ca17a8609e5d", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "4ad6060b1f4d", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "a197c20578aa", + "assignable": "a93bcc7122e8" + }, + "state": "6bc58fbcb6cb", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection-no-message:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "cb694ef59554" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "fb4429083480" + }, + "state": "b9c906995b3c", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection-no-message:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "cb694ef59554", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "fb4429083480", + "assignable": "a93bcc7122e8" + }, + "state": "c8188245a800", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-github.pr-read-github.prchecks-1.json b/mobile/rpc-foundation/goldens/matrix-github.pr-read-github.prchecks-1.json new file mode 100644 index 00000000000..f9991b5b370 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-github.pr-read-github.prchecks-1.json @@ -0,0 +1,5725 @@ +{ + "operation": "session.pr-reads", + "family": "github.pr-read", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "f560ff1582487c118756c527faa1fb1f65e37ce22ca9573491fd4b2dbcedf38d", + "scenarioSha256": "c77d7c7a05ecb9b27180ef28ca63a28e1c1ca42db2bb54a468699da77281ae35", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "1b2778bf67a2": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "outer refused", + "ok": false + } + }, + "1bdfee368839": { + "name": "hostedReview.forBranch#1", + "args": [ + { + "name": "method", + "value": "hostedReview.forBranch" + }, + { + "name": "params", + "value": { + "active": true, + "branch": "feature", + "linkedGitHubPR": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "state": "open", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + } + } + }, + "1c88fe396b45": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + } + }, + "2638b3063bb1": { + "name": "github.repoSlug#1", + "args": [ + { + "name": "method", + "value": "github.repoSlug" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + } + }, + "2778cd843c64": { + "checks": { + "error": "Request failed: github.prChecks", + "ok": false + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "29764d5fe2f2": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha-1", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "34f51c480880": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha-1", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-5", + "ok": false + } + } + }, + "3879f5d02dc5": { + "name": "github.listAssignableUsers#1", + "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"github.listAssignableUsers\",\"params\":{\"repo\":\"id:repo-9\"}}" + }, + "39e94717a579": { + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "3b464a1ac1ab": { + "name": "github.prChecks#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.prChecks\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"headSha\":\"head-sha-1\"}}" + }, + "41113a109089": { + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "44136fa355b3": {}, + "4a081d46fc88": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha-1", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed" + } + ] + } + } + }, + "4a08381b3338": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha-1", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "4a5d0ded4e6c": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "50ea0b59affe": { + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "error": "Request failed: github.prChecks", + "ok": false + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "50f04028e403": { + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "5193c05bf771": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha-1", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "51ca635b531c": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha-1", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-5", + "ok": false + } + } + }, + "571ce91520e4": { + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "error": "", + "ok": false + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "59ec56b0e49c": { + "name": "github.workItemDetails#1", + "args": [ + { + "name": "method", + "value": "github.workItemDetails" + }, + { + "name": "params", + "value": { + "number": 12, + "repo": "id:repo-9", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "body": "body", + "headSha": "head-sha-1", + "item": { + "assignees": [], + "id": "PR_1", + "labels": [], + "number": 12, + "state": "open", + "title": "Recorded", + "type": "pr" + } + } + } + } + }, + "5a46540568af": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "5bd76bbb70a3": { + "assignable": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + }, + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "64d37118e661": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha-1", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "68f384af09e4": { + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "error": "Unknown method", + "ok": false + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "6b8fbb2362c5": { + "assignable": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + }, + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "error": "Request failed: github.prChecks", + "ok": false + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "71b2b3b6f4d6": { + "checks": { + "error": "outer refused", + "ok": false + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "733efe44c01b": { + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "error": "transport failure", + "ok": false + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "7b042e3c28e5": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha-1", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true + } + } + }, + "7c2131928532": { + "assignable": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + }, + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "error": "transport failure", + "ok": false + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "83928ae97f0e": { + "assignable": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + }, + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "error": "outer refused", + "ok": false + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "8cbb79ec0c39": { + "name": "hostedReview.forBranch#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.forBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedGitHubPR\":12,\"active\":true}}" + }, + "9353f049138c": { + "name": "github.prCheckDetails#1", + "args": [ + { + "name": "method", + "value": "github.prCheckDetails" + }, + { + "name": "params", + "value": { + "checkName": "build", + "checkRunId": 7, + "repo": "id:repo-9", + "url": { + "$rpc": "null" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-6", + "ok": true, + "result": { + "annotations": [], + "conclusion": "success", + "jobs": [], + "name": "build", + "status": "completed" + } + } + } + }, + "9589a1e1a61e": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "a197c20578aa": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "transport failure", + "ok": false + } + }, + "a686fe01332d": { + "assignable": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + }, + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "error": "Unknown method", + "ok": false + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "a7c7a8c0dcbd": { + "assignable": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + }, + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "a93bcc7122e8": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + } + }, + "ad1ea7ff597a": { + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "error": "outer refused", + "ok": false + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "b0b5c628b5c7": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + } + }, + "ba1b866ad599": { + "name": "github.workItemDetails#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.workItemDetails\",\"params\":{\"repo\":\"id:repo-9\",\"number\":12,\"type\":\"pr\"}}" + }, + "bc3ddaf7ea3e": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Request failed: github.prChecks", + "ok": false + } + }, + "c9cb3ce714a0": { + "name": "github.prForBranch#1", + "args": [ + { + "name": "method", + "value": "github.prForBranch" + }, + { + "name": "params", + "value": { + "branch": "feature", + "linkedPRNumber": { + "$rpc": "null" + }, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "fetchedAt": 0, + "kind": "found", + "pr": { + "headSha": "head-sha-1", + "mergeable": "MERGEABLE", + "number": 12, + "state": "open", + "title": "Recorded", + "url": "https://x/12" + } + } + } + } + }, + "d08ed4a769f3": { + "name": "github.prCheckDetails#1", + "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"github.prCheckDetails\",\"params\":{\"repo\":\"id:repo-9\",\"checkRunId\":7,\"checkName\":\"build\",\"url\":null}}" + }, + "d11aa8f6201d": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha-1", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "d4345c3d588c": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha-1", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-5", + "ok": false + } + } + }, + "d89e7b8ce2a0": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "e23eb2e4b033": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + } + }, + "e2a5da33d958": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": [] + } + }, + "e323dec040c2": { + "name": "github.prForBranch#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.prForBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedPRNumber\":null}}" + }, + "e62b0342ca47": { + "assignable": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + }, + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "error": "", + "ok": false + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "eb1c7e565fe7": { + "checks": { + "error": "transport failure", + "ok": false + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "eb6a2b2f507e": { + "name": "github.repoSlug#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.repoSlug\",\"params\":{\"repo\":\"id:repo-9\"}}" + }, + "efcf99a657b9": { + "name": "github.listAssignableUsers#1", + "args": [ + { + "name": "method", + "value": "github.listAssignableUsers" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-7", + "ok": true, + "result": [ + { + "login": "octocat", + "name": "Octo Cat" + } + ] + } + } + }, + "f0b34267007c": { + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "f2563d0882ec": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + } + }, + "f3cd0f471a8c": { + "checks": { + "error": "", + "ok": false + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "fa16dfe3f088": { + "checks": { + "error": "Unknown method", + "ok": false + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "fa93ca01f266": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Unknown method", + "ok": false + } + }, + "fac2b8d11810": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha-1", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "fb2c614a2ef8": { + "checks": { + "ok": true, + "result": [] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "fb4429083480": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "", + "ok": false + } + }, + "fd7cf23591a3": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + } + }, + "recording": { + "scenario": "matrix-github.pr-read-github.prchecks-1", + "checkpoints": [ + { + "id": "pr-read-surface.prelude:pending", + "observation": { + "sender": [], + "payloads": [], + "settlements": {}, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "pr-read-surface.prelude:repo-slug", + "observation": { + "sender": ["2638b3063bb1"], + "payloads": ["eb6a2b2f507e"], + "settlements": { + "repo-slug": "d89e7b8ce2a0" + }, + "state": "41113a109089", + "effects": [] + } + }, + { + "id": "pr-read-surface.prelude:hosted-review", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7" + }, + "state": "5a46540568af", + "effects": [] + } + }, + { + "id": "pr-read-surface.prelude:pr-for-branch", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839", "c9cb3ce714a0"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec" + }, + "state": "9589a1e1a61e", + "effects": [] + } + }, + { + "id": "pr-read-surface.prelude:work-item", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839", "c9cb3ce714a0", "59ec56b0e49c"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c" + }, + "state": "fd7cf23591a3", + "effects": [] + } + }, + { + "id": "pr-read-surface.normal:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033" + }, + "state": "f0b34267007c", + "effects": [] + } + }, + { + "id": "pr-read-surface.normal:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "50f04028e403", + "effects": [] + } + }, + { + "id": "pr-read-surface.normal:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "a7c7a8c0dcbd", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-absent:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "7b042e3c28e5" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e2a5da33d958" + }, + "state": "fb2c614a2ef8", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-absent:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "7b042e3c28e5", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e2a5da33d958", + "check-details": "1c88fe396b45" + }, + "state": "39e94717a579", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-absent:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "7b042e3c28e5", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e2a5da33d958", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "5bd76bbb70a3", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-null:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "64d37118e661" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e2a5da33d958" + }, + "state": "fb2c614a2ef8", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-null:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "64d37118e661", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e2a5da33d958", + "check-details": "1c88fe396b45" + }, + "state": "39e94717a579", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-null:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "64d37118e661", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e2a5da33d958", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "5bd76bbb70a3", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-ok-missing:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "fac2b8d11810" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e2a5da33d958" + }, + "state": "fb2c614a2ef8", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-ok-missing:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "fac2b8d11810", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e2a5da33d958", + "check-details": "1c88fe396b45" + }, + "state": "39e94717a579", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-ok-missing:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "fac2b8d11810", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e2a5da33d958", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "5bd76bbb70a3", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-string-error:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "5193c05bf771" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e2a5da33d958" + }, + "state": "fb2c614a2ef8", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-string-error:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "5193c05bf771", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e2a5da33d958", + "check-details": "1c88fe396b45" + }, + "state": "39e94717a579", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-string-error:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "5193c05bf771", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e2a5da33d958", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "5bd76bbb70a3", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-object-error:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a08381b3338" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e2a5da33d958" + }, + "state": "fb2c614a2ef8", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-object-error:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a08381b3338", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e2a5da33d958", + "check-details": "1c88fe396b45" + }, + "state": "39e94717a579", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-object-error:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a08381b3338", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e2a5da33d958", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "5bd76bbb70a3", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "51ca635b531c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "1b2778bf67a2" + }, + "state": "71b2b3b6f4d6", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "51ca635b531c", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "1b2778bf67a2", + "check-details": "1c88fe396b45" + }, + "state": "ad1ea7ff597a", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "51ca635b531c", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "1b2778bf67a2", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "83928ae97f0e", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused-no-message:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "d4345c3d588c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "bc3ddaf7ea3e" + }, + "state": "2778cd843c64", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused-no-message:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "d4345c3d588c", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "bc3ddaf7ea3e", + "check-details": "1c88fe396b45" + }, + "state": "50ea0b59affe", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused-no-message:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "d4345c3d588c", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "bc3ddaf7ea3e", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "6b8fbb2362c5", + "effects": [] + } + }, + { + "id": "pr-read-surface.method-not-found:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "34f51c480880" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "fa93ca01f266" + }, + "state": "fa16dfe3f088", + "effects": [] + } + }, + { + "id": "pr-read-surface.method-not-found:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "34f51c480880", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "fa93ca01f266", + "check-details": "1c88fe396b45" + }, + "state": "68f384af09e4", + "effects": [] + } + }, + { + "id": "pr-read-surface.method-not-found:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "34f51c480880", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "fa93ca01f266", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "a686fe01332d", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "d11aa8f6201d" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "a197c20578aa" + }, + "state": "eb1c7e565fe7", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "d11aa8f6201d", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "a197c20578aa", + "check-details": "1c88fe396b45" + }, + "state": "733efe44c01b", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "d11aa8f6201d", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "a197c20578aa", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "7c2131928532", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection-no-message:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "29764d5fe2f2" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "fb4429083480" + }, + "state": "f3cd0f471a8c", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection-no-message:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "29764d5fe2f2", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "fb4429083480", + "check-details": "1c88fe396b45" + }, + "state": "571ce91520e4", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection-no-message:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "29764d5fe2f2", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "fb4429083480", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "e62b0342ca47", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-github.pr-read-github.prforbranch-1.json b/mobile/rpc-foundation/goldens/matrix-github.pr-read-github.prforbranch-1.json new file mode 100644 index 00000000000..636650b5349 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-github.pr-read-github.prforbranch-1.json @@ -0,0 +1,7197 @@ +{ + "operation": "session.pr-reads", + "family": "github.pr-read", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "f560ff1582487c118756c527faa1fb1f65e37ce22ca9573491fd4b2dbcedf38d", + "scenarioSha256": "3b3d3032b992fc7461b13de8a42512affa12fb018ad583898179a9934c13b414", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "00308d923db4": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "error": "transport failure", + "ok": false + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "01fbea4bc4d0": { + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "error": "GitHub returned an invalid pull request response.", + "ok": false + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "031157206b33": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "error": "Request failed: github.prForBranch", + "ok": false + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "083d75e30d84": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "error": "transport failure", + "ok": false + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "0c37ac141d21": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "error": "", + "ok": false + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "124feca7abeb": { + "name": "github.prForBranch#1", + "args": [ + { + "name": "method", + "value": "github.prForBranch" + }, + { + "name": "params", + "value": { + "branch": "feature", + "linkedPRNumber": { + "$rpc": "null" + }, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-3", + "ok": false + } + } + }, + "1b2778bf67a2": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "outer refused", + "ok": false + } + }, + "1bdfee368839": { + "name": "hostedReview.forBranch#1", + "args": [ + { + "name": "method", + "value": "hostedReview.forBranch" + }, + { + "name": "params", + "value": { + "active": true, + "branch": "feature", + "linkedGitHubPR": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "state": "open", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + } + } + }, + "1c88fe396b45": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + } + }, + "205ed83fc175": { + "name": "github.prForBranch#1", + "args": [ + { + "name": "method", + "value": "github.prForBranch" + }, + { + "name": "params", + "value": { + "branch": "feature", + "linkedPRNumber": { + "$rpc": "null" + }, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-3", + "ok": false + } + } + }, + "252a325ae1c3": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "$rpc": "null" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "2553cf32f6d0": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "error": "outer refused", + "ok": false + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "2638b3063bb1": { + "name": "github.repoSlug#1", + "args": [ + { + "name": "method", + "value": "github.repoSlug" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + } + }, + "29d212540de6": { + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "error": "Request failed: github.prForBranch", + "ok": false + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "2ca00ecfc3cb": { + "assignable": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + }, + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "$rpc": "null" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "3879f5d02dc5": { + "name": "github.listAssignableUsers#1", + "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"github.listAssignableUsers\",\"params\":{\"repo\":\"id:repo-9\"}}" + }, + "3b464a1ac1ab": { + "name": "github.prChecks#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.prChecks\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"headSha\":\"head-sha-1\"}}" + }, + "3dc632749aec": { + "assignable": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + }, + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "error": "transport failure", + "ok": false + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "3e0035e84f2b": { + "name": "github.prForBranch#1", + "args": [ + { + "name": "method", + "value": "github.prForBranch" + }, + { + "name": "params", + "value": { + "branch": "feature", + "linkedPRNumber": { + "$rpc": "null" + }, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "400b6a3aab0e": { + "name": "github.prForBranch#1", + "args": [ + { + "name": "method", + "value": "github.prForBranch" + }, + { + "name": "params", + "value": { + "branch": "feature", + "linkedPRNumber": { + "$rpc": "null" + }, + "repo": "id:repo-9" + } + }, + { + "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 + } + } + } + }, + "41113a109089": { + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "44136fa355b3": {}, + "460f94c9df1c": { + "assignable": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + }, + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "error": "outer refused", + "ok": false + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "47927b96a3d0": { + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "$rpc": "null" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "49ca39e5dc72": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "error": "GitHub returned an invalid pull request response.", + "ok": false + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "4a081d46fc88": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha-1", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed" + } + ] + } + } + }, + "4a5d0ded4e6c": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "4f845c8c65ed": { + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "error": "Unknown method", + "ok": false + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "50f04028e403": { + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "573e1ddb868a": { + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "error": "Request failed: github.prForBranch", + "ok": false + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "59ec56b0e49c": { + "name": "github.workItemDetails#1", + "args": [ + { + "name": "method", + "value": "github.workItemDetails" + }, + { + "name": "params", + "value": { + "number": 12, + "repo": "id:repo-9", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "body": "body", + "headSha": "head-sha-1", + "item": { + "assignees": [], + "id": "PR_1", + "labels": [], + "number": 12, + "state": "open", + "title": "Recorded", + "type": "pr" + } + } + } + } + }, + "5a46540568af": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "5f5638d448f4": { + "name": "github.prForBranch#1", + "args": [ + { + "name": "method", + "value": "github.prForBranch" + }, + { + "name": "params", + "value": { + "branch": "feature", + "linkedPRNumber": { + "$rpc": "null" + }, + "repo": "id:repo-9" + } + }, + { + "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 + } + } + }, + "6937df1e376d": { + "assignable": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + }, + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "error": "Unknown method", + "ok": false + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "695287c9c3b4": { + "name": "github.prForBranch#1", + "args": [ + { + "name": "method", + "value": "github.prForBranch" + }, + { + "name": "params", + "value": { + "branch": "feature", + "linkedPRNumber": { + "$rpc": "null" + }, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "76aa0eed84bc": { + "name": "github.prForBranch#1", + "args": [ + { + "name": "method", + "value": "github.prForBranch" + }, + { + "name": "params", + "value": { + "branch": "feature", + "linkedPRNumber": { + "$rpc": "null" + }, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true + } + } + }, + "7b6adaded0f0": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "error": "Unknown method", + "ok": false + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "7ca8c3d4fc5d": { + "name": "github.prForBranch#1", + "args": [ + { + "name": "method", + "value": "github.prForBranch" + }, + { + "name": "params", + "value": { + "branch": "feature", + "linkedPRNumber": { + "$rpc": "null" + }, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "7e6dc5a132e8": { + "assignable": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + }, + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "error": "Request failed: github.prForBranch", + "ok": false + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "85efcedcf3b6": { + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "error": "transport failure", + "ok": false + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "8675a6cb51d5": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "error": "outer refused", + "ok": false + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "8a5cb8b66303": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "$rpc": "null" + } + } + }, + "8c383b60c908": { + "name": "github.prForBranch#1", + "args": [ + { + "name": "method", + "value": "github.prForBranch" + }, + { + "name": "params", + "value": { + "branch": "feature", + "linkedPRNumber": { + "$rpc": "null" + }, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "8cbb79ec0c39": { + "name": "hostedReview.forBranch#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.forBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedGitHubPR\":12,\"active\":true}}" + }, + "9353f049138c": { + "name": "github.prCheckDetails#1", + "args": [ + { + "name": "method", + "value": "github.prCheckDetails" + }, + { + "name": "params", + "value": { + "checkName": "build", + "checkRunId": 7, + "repo": "id:repo-9", + "url": { + "$rpc": "null" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-6", + "ok": true, + "result": { + "annotations": [], + "conclusion": "success", + "jobs": [], + "name": "build", + "status": "completed" + } + } + } + }, + "9589a1e1a61e": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "9aed5cd0817a": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "error": "", + "ok": false + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "9db528424005": { + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "error": "GitHub returned an invalid pull request response.", + "ok": false + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "a0b41fe348fc": { + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "error": "", + "ok": false + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "a197c20578aa": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "transport failure", + "ok": false + } + }, + "a48f8fa888dd": { + "assignable": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + }, + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "error": "GitHub returned an invalid pull request response.", + "ok": false + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "a5ad215db98d": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "error": "GitHub returned an invalid pull request response.", + "ok": false + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "a7c7a8c0dcbd": { + "assignable": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + }, + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "a93bcc7122e8": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + } + }, + "a976d414bc11": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "GitHub returned an invalid pull request response.", + "ok": false + } + }, + "ad7a5cee83e4": { + "assignable": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + }, + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "error": "", + "ok": false + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "b0790639cbb3": { + "name": "github.prForBranch#1", + "args": [ + { + "name": "method", + "value": "github.prForBranch" + }, + { + "name": "params", + "value": { + "branch": "feature", + "linkedPRNumber": { + "$rpc": "null" + }, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "b0b5c628b5c7": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + } + }, + "b90e24a2c693": { + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "error": "outer refused", + "ok": false + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "ba1b866ad599": { + "name": "github.workItemDetails#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.workItemDetails\",\"params\":{\"repo\":\"id:repo-9\",\"number\":12,\"type\":\"pr\"}}" + }, + "bf11de4890db": { + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "error": "outer refused", + "ok": false + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "c58d6674f960": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Request failed: github.prForBranch", + "ok": false + } + }, + "c953072ef1c1": { + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "error": "Unknown method", + "ok": false + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "c9cb3ce714a0": { + "name": "github.prForBranch#1", + "args": [ + { + "name": "method", + "value": "github.prForBranch" + }, + { + "name": "params", + "value": { + "branch": "feature", + "linkedPRNumber": { + "$rpc": "null" + }, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "fetchedAt": 0, + "kind": "found", + "pr": { + "headSha": "head-sha-1", + "mergeable": "MERGEABLE", + "number": 12, + "state": "open", + "title": "Recorded", + "url": "https://x/12" + } + } + } + } + }, + "cefc553a9501": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "$rpc": "null" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "d08ed4a769f3": { + "name": "github.prCheckDetails#1", + "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"github.prCheckDetails\",\"params\":{\"repo\":\"id:repo-9\",\"checkRunId\":7,\"checkName\":\"build\",\"url\":null}}" + }, + "d19d1a3fedb6": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "error": "Unknown method", + "ok": false + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "d639742be2c9": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "error": "Request failed: github.prForBranch", + "ok": false + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "d89e7b8ce2a0": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "e23eb2e4b033": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + } + }, + "e323dec040c2": { + "name": "github.prForBranch#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.prForBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedPRNumber\":null}}" + }, + "eb1f6ba35cc6": { + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "error": "", + "ok": false + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "eb6a2b2f507e": { + "name": "github.repoSlug#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.repoSlug\",\"params\":{\"repo\":\"id:repo-9\"}}" + }, + "efcf99a657b9": { + "name": "github.listAssignableUsers#1", + "args": [ + { + "name": "method", + "value": "github.listAssignableUsers" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-7", + "ok": true, + "result": [ + { + "login": "octocat", + "name": "Octo Cat" + } + ] + } + } + }, + "f0b34267007c": { + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "f2563d0882ec": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + } + }, + "f52b32e89239": { + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "$rpc": "null" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "f8bd41be9b26": { + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "error": "transport failure", + "ok": false + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "fa93ca01f266": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Unknown method", + "ok": false + } + }, + "fb4429083480": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "", + "ok": false + } + }, + "fd7cf23591a3": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + } + }, + "recording": { + "scenario": "matrix-github.pr-read-github.prforbranch-1", + "checkpoints": [ + { + "id": "pr-read-surface.prelude:pending", + "observation": { + "sender": [], + "payloads": [], + "settlements": {}, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "pr-read-surface.prelude:repo-slug", + "observation": { + "sender": ["2638b3063bb1"], + "payloads": ["eb6a2b2f507e"], + "settlements": { + "repo-slug": "d89e7b8ce2a0" + }, + "state": "41113a109089", + "effects": [] + } + }, + { + "id": "pr-read-surface.prelude:hosted-review", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7" + }, + "state": "5a46540568af", + "effects": [] + } + }, + { + "id": "pr-read-surface.normal:pr-for-branch", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839", "c9cb3ce714a0"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec" + }, + "state": "9589a1e1a61e", + "effects": [] + } + }, + { + "id": "pr-read-surface.normal:work-item", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839", "c9cb3ce714a0", "59ec56b0e49c"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c" + }, + "state": "fd7cf23591a3", + "effects": [] + } + }, + { + "id": "pr-read-surface.normal:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033" + }, + "state": "f0b34267007c", + "effects": [] + } + }, + { + "id": "pr-read-surface.normal:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "50f04028e403", + "effects": [] + } + }, + { + "id": "pr-read-surface.normal:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "a7c7a8c0dcbd", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-absent:pr-for-branch", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839", "76aa0eed84bc"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "8a5cb8b66303" + }, + "state": "252a325ae1c3", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-absent:work-item", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839", "76aa0eed84bc", "59ec56b0e49c"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "8a5cb8b66303", + "work-item": "4a5d0ded4e6c" + }, + "state": "cefc553a9501", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-absent:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "76aa0eed84bc", + "59ec56b0e49c", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "8a5cb8b66303", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033" + }, + "state": "f52b32e89239", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-absent:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "76aa0eed84bc", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "8a5cb8b66303", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "47927b96a3d0", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-absent:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "76aa0eed84bc", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "8a5cb8b66303", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "2ca00ecfc3cb", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-null:pr-for-branch", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839", "8c383b60c908"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "8a5cb8b66303" + }, + "state": "252a325ae1c3", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-null:work-item", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839", "8c383b60c908", "59ec56b0e49c"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "8a5cb8b66303", + "work-item": "4a5d0ded4e6c" + }, + "state": "cefc553a9501", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-null:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "8c383b60c908", + "59ec56b0e49c", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "8a5cb8b66303", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033" + }, + "state": "f52b32e89239", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-null:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "8c383b60c908", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "8a5cb8b66303", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "47927b96a3d0", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-null:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "8c383b60c908", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "8a5cb8b66303", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "2ca00ecfc3cb", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-ok-missing:pr-for-branch", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839", "b0790639cbb3"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "a976d414bc11" + }, + "state": "a5ad215db98d", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-ok-missing:work-item", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839", "b0790639cbb3", "59ec56b0e49c"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "a976d414bc11", + "work-item": "4a5d0ded4e6c" + }, + "state": "49ca39e5dc72", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-ok-missing:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "b0790639cbb3", + "59ec56b0e49c", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "a976d414bc11", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033" + }, + "state": "9db528424005", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-ok-missing:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "b0790639cbb3", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "a976d414bc11", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "01fbea4bc4d0", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-ok-missing:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "b0790639cbb3", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "a976d414bc11", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "a48f8fa888dd", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-string-error:pr-for-branch", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839", "7ca8c3d4fc5d"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "a976d414bc11" + }, + "state": "a5ad215db98d", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-string-error:work-item", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839", "7ca8c3d4fc5d", "59ec56b0e49c"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "a976d414bc11", + "work-item": "4a5d0ded4e6c" + }, + "state": "49ca39e5dc72", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-string-error:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "7ca8c3d4fc5d", + "59ec56b0e49c", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "a976d414bc11", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033" + }, + "state": "9db528424005", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-string-error:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "7ca8c3d4fc5d", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "a976d414bc11", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "01fbea4bc4d0", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-string-error:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "7ca8c3d4fc5d", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "a976d414bc11", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "a48f8fa888dd", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-object-error:pr-for-branch", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839", "400b6a3aab0e"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "a976d414bc11" + }, + "state": "a5ad215db98d", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-object-error:work-item", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839", "400b6a3aab0e", "59ec56b0e49c"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "a976d414bc11", + "work-item": "4a5d0ded4e6c" + }, + "state": "49ca39e5dc72", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-object-error:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "400b6a3aab0e", + "59ec56b0e49c", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "a976d414bc11", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033" + }, + "state": "9db528424005", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-object-error:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "400b6a3aab0e", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "a976d414bc11", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "01fbea4bc4d0", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-object-error:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "400b6a3aab0e", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "a976d414bc11", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "a48f8fa888dd", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused:pr-for-branch", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839", "124feca7abeb"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "1b2778bf67a2" + }, + "state": "2553cf32f6d0", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused:work-item", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839", "124feca7abeb", "59ec56b0e49c"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "1b2778bf67a2", + "work-item": "4a5d0ded4e6c" + }, + "state": "8675a6cb51d5", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "124feca7abeb", + "59ec56b0e49c", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "1b2778bf67a2", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033" + }, + "state": "b90e24a2c693", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "124feca7abeb", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "1b2778bf67a2", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "bf11de4890db", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "124feca7abeb", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "1b2778bf67a2", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "460f94c9df1c", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused-no-message:pr-for-branch", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839", "205ed83fc175"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "c58d6674f960" + }, + "state": "031157206b33", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused-no-message:work-item", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839", "205ed83fc175", "59ec56b0e49c"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "c58d6674f960", + "work-item": "4a5d0ded4e6c" + }, + "state": "d639742be2c9", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused-no-message:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "205ed83fc175", + "59ec56b0e49c", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "c58d6674f960", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033" + }, + "state": "29d212540de6", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused-no-message:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "205ed83fc175", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "c58d6674f960", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "573e1ddb868a", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused-no-message:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "205ed83fc175", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "c58d6674f960", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "7e6dc5a132e8", + "effects": [] + } + }, + { + "id": "pr-read-surface.method-not-found:pr-for-branch", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839", "5f5638d448f4"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "fa93ca01f266" + }, + "state": "d19d1a3fedb6", + "effects": [] + } + }, + { + "id": "pr-read-surface.method-not-found:work-item", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839", "5f5638d448f4", "59ec56b0e49c"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "fa93ca01f266", + "work-item": "4a5d0ded4e6c" + }, + "state": "7b6adaded0f0", + "effects": [] + } + }, + { + "id": "pr-read-surface.method-not-found:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "5f5638d448f4", + "59ec56b0e49c", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "fa93ca01f266", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033" + }, + "state": "4f845c8c65ed", + "effects": [] + } + }, + { + "id": "pr-read-surface.method-not-found:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "5f5638d448f4", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "fa93ca01f266", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "c953072ef1c1", + "effects": [] + } + }, + { + "id": "pr-read-surface.method-not-found:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "5f5638d448f4", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "fa93ca01f266", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "6937df1e376d", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection:pr-for-branch", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839", "695287c9c3b4"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "a197c20578aa" + }, + "state": "00308d923db4", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection:work-item", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839", "695287c9c3b4", "59ec56b0e49c"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "a197c20578aa", + "work-item": "4a5d0ded4e6c" + }, + "state": "083d75e30d84", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "695287c9c3b4", + "59ec56b0e49c", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "a197c20578aa", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033" + }, + "state": "f8bd41be9b26", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "695287c9c3b4", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "a197c20578aa", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "85efcedcf3b6", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "695287c9c3b4", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "a197c20578aa", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "3dc632749aec", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection-no-message:pr-for-branch", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839", "3e0035e84f2b"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "fb4429083480" + }, + "state": "9aed5cd0817a", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection-no-message:work-item", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839", "3e0035e84f2b", "59ec56b0e49c"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "fb4429083480", + "work-item": "4a5d0ded4e6c" + }, + "state": "0c37ac141d21", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection-no-message:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "3e0035e84f2b", + "59ec56b0e49c", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "fb4429083480", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033" + }, + "state": "eb1f6ba35cc6", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection-no-message:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "3e0035e84f2b", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "fb4429083480", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "a0b41fe348fc", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection-no-message:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "3e0035e84f2b", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "fb4429083480", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "ad7a5cee83e4", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-github.pr-read-github.reposlug-1.json b/mobile/rpc-foundation/goldens/matrix-github.pr-read-github.reposlug-1.json new file mode 100644 index 00000000000..f8330a94754 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-github.pr-read-github.reposlug-1.json @@ -0,0 +1,7845 @@ +{ + "operation": "session.pr-reads", + "family": "github.pr-read", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "f560ff1582487c118756c527faa1fb1f65e37ce22ca9573491fd4b2dbcedf38d", + "scenarioSha256": "4ebe865f874b0b4a813860ec7356b8dc214ea02f0a9036cb003efe863d89b83e", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "007a6464a6ba": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "error": "transport failure", + "ok": false + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "037a607a1a89": { + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "error": "", + "ok": false + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "0be8b8d0c171": { + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "error": "Unknown method", + "ok": false + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "0c120f483012": { + "repo-slug": { + "error": "Unknown method", + "ok": false + } + }, + "0d355456eae1": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "$rpc": "null" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "13f68d23b241": { + "name": "github.repoSlug#1", + "args": [ + { + "name": "method", + "value": "github.repoSlug" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "1b2778bf67a2": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "outer refused", + "ok": false + } + }, + "1bdfee368839": { + "name": "hostedReview.forBranch#1", + "args": [ + { + "name": "method", + "value": "hostedReview.forBranch" + }, + { + "name": "params", + "value": { + "active": true, + "branch": "feature", + "linkedGitHubPR": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "state": "open", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + } + } + }, + "1c88fe396b45": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + } + }, + "1d23366ac99f": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "error": "", + "ok": false + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "210e66bfd76b": { + "name": "github.repoSlug#1", + "args": [ + { + "name": "method", + "value": "github.repoSlug" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "2638b3063bb1": { + "name": "github.repoSlug#1", + "args": [ + { + "name": "method", + "value": "github.repoSlug" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + } + }, + "28d99e994c42": { + "name": "github.repoSlug#1", + "args": [ + { + "name": "method", + "value": "github.repoSlug" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "30aaca8a4ddc": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "error": "Unknown method", + "ok": false + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "331e2fdac98e": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "repo-slug": { + "error": "transport failure", + "ok": false + } + }, + "33a3f1cafaae": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "error": "Request failed: github.repoSlug", + "ok": false + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "353c7b575a4d": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "repo-slug": { + "error": "outer refused", + "ok": false + } + }, + "3720c4e9bd44": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "error": "Request failed: github.repoSlug", + "ok": false + } + }, + "3879f5d02dc5": { + "name": "github.listAssignableUsers#1", + "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"github.listAssignableUsers\",\"params\":{\"repo\":\"id:repo-9\"}}" + }, + "391bd395f3ef": { + "name": "github.repoSlug#1", + "args": [ + { + "name": "method", + "value": "github.repoSlug" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "39456a6c08b4": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "repo-slug": { + "error": "", + "ok": false + } + }, + "3b464a1ac1ab": { + "name": "github.prChecks#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.prChecks\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"headSha\":\"head-sha-1\"}}" + }, + "41113a109089": { + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "4222f69dc8c3": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "error": "", + "ok": false + } + }, + "44136fa355b3": {}, + "441cde996084": { + "name": "github.repoSlug#1", + "args": [ + { + "name": "method", + "value": "github.repoSlug" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "498740d73d3a": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "$rpc": "null" + } + } + }, + "4990fec293d4": { + "repo-slug": { + "error": "Request failed: github.repoSlug", + "ok": false + } + }, + "4a081d46fc88": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha-1", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed" + } + ] + } + } + }, + "4a5d0ded4e6c": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "4e1ede59ab3e": { + "repo-slug": { + "error": "", + "ok": false + } + }, + "4e8a726d6e27": { + "repo-slug": { + "error": "transport failure", + "ok": false + } + }, + "50f04028e403": { + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "59ec56b0e49c": { + "name": "github.workItemDetails#1", + "args": [ + { + "name": "method", + "value": "github.workItemDetails" + }, + { + "name": "params", + "value": { + "number": 12, + "repo": "id:repo-9", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "body": "body", + "headSha": "head-sha-1", + "item": { + "assignees": [], + "id": "PR_1", + "labels": [], + "number": 12, + "state": "open", + "title": "Recorded", + "type": "pr" + } + } + } + } + }, + "5a46540568af": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "5b1e1c58407f": { + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "$rpc": "null" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "6351c8c80be6": { + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "error": "", + "ok": false + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "654cfe12e87a": { + "name": "github.repoSlug#1", + "args": [ + { + "name": "method", + "value": "github.repoSlug" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "6e6be4bf5991": { + "assignable": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + }, + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "error": "outer refused", + "ok": false + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "7099316955f1": { + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "error": "Request failed: github.repoSlug", + "ok": false + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "7a7b563b3c47": { + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "error": "outer refused", + "ok": false + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "7df9a5953f86": { + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "error": "outer refused", + "ok": false + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "8441184cee7b": { + "repo-slug": { + "ok": true, + "result": { + "$rpc": "null" + } + } + }, + "8a5cb8b66303": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "$rpc": "null" + } + } + }, + "8cbb79ec0c39": { + "name": "hostedReview.forBranch#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.forBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedGitHubPR\":12,\"active\":true}}" + }, + "910ed730d559": { + "assignable": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + }, + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "error": "transport failure", + "ok": false + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "9188aae05753": { + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "error": "Request failed: github.repoSlug", + "ok": false + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "9353f049138c": { + "name": "github.prCheckDetails#1", + "args": [ + { + "name": "method", + "value": "github.prCheckDetails" + }, + { + "name": "params", + "value": { + "checkName": "build", + "checkRunId": 7, + "repo": "id:repo-9", + "url": { + "$rpc": "null" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-6", + "ok": true, + "result": { + "annotations": [], + "conclusion": "success", + "jobs": [], + "name": "build", + "status": "completed" + } + } + } + }, + "94e74c7955d8": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "error": "Unknown method", + "ok": false + } + }, + "9589a1e1a61e": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "98d035f8c150": { + "assignable": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + }, + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "error": "", + "ok": false + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "9f235dbe3215": { + "assignable": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + }, + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "error": "Request failed: github.repoSlug", + "ok": false + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "a140f45fed5e": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "$rpc": "null" + } + } + }, + "a17efc7718c7": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Request failed: github.repoSlug", + "ok": false + } + }, + "a197c20578aa": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "transport failure", + "ok": false + } + }, + "a408ff99ead1": { + "name": "github.repoSlug#1", + "args": [ + { + "name": "method", + "value": "github.repoSlug" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "a6de88f88d75": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "error": "outer refused", + "ok": false + } + }, + "a7c7a8c0dcbd": { + "assignable": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + }, + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "a93bcc7122e8": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + } + }, + "b0b5c628b5c7": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + } + }, + "b64724410723": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "repo-slug": { + "error": "Unknown method", + "ok": false + } + }, + "b7115f5019f9": { + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "error": "transport failure", + "ok": false + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "b7155181b301": { + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "$rpc": "null" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "b7dded744779": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "error": "transport failure", + "ok": false + } + }, + "ba1b866ad599": { + "name": "github.workItemDetails#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.workItemDetails\",\"params\":{\"repo\":\"id:repo-9\",\"number\":12,\"type\":\"pr\"}}" + }, + "c0d9d94f8137": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "repo-slug": { + "error": "Request failed: github.repoSlug", + "ok": false + } + }, + "c9cb3ce714a0": { + "name": "github.prForBranch#1", + "args": [ + { + "name": "method", + "value": "github.prForBranch" + }, + { + "name": "params", + "value": { + "branch": "feature", + "linkedPRNumber": { + "$rpc": "null" + }, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "fetchedAt": 0, + "kind": "found", + "pr": { + "headSha": "head-sha-1", + "mergeable": "MERGEABLE", + "number": 12, + "state": "open", + "title": "Recorded", + "url": "https://x/12" + } + } + } + } + }, + "d08ed4a769f3": { + "name": "github.prCheckDetails#1", + "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"github.prCheckDetails\",\"params\":{\"repo\":\"id:repo-9\",\"checkRunId\":7,\"checkName\":\"build\",\"url\":null}}" + }, + "d1a5c4c6c474": { + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "error": "transport failure", + "ok": false + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "d65054cbac4b": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "error": "outer refused", + "ok": false + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "d89e7b8ce2a0": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "e190f0419795": { + "repo-slug": { + "error": "outer refused", + "ok": false + } + }, + "e23eb2e4b033": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + } + }, + "e323dec040c2": { + "name": "github.prForBranch#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.prForBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedPRNumber\":null}}" + }, + "e58da1774b42": { + "name": "github.repoSlug#1", + "args": [ + { + "name": "method", + "value": "github.repoSlug" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9" + } + }, + { + "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 + } + } + } + }, + "e9d0a96c9dc3": { + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "error": "Unknown method", + "ok": false + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "eaae31a0291c": { + "name": "github.repoSlug#1", + "args": [ + { + "name": "method", + "value": "github.repoSlug" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9" + } + }, + { + "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 + } + } + }, + "eb6a2b2f507e": { + "name": "github.repoSlug#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.repoSlug\",\"params\":{\"repo\":\"id:repo-9\"}}" + }, + "efcf99a657b9": { + "name": "github.listAssignableUsers#1", + "args": [ + { + "name": "method", + "value": "github.listAssignableUsers" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-7", + "ok": true, + "result": [ + { + "login": "octocat", + "name": "Octo Cat" + } + ] + } + } + }, + "f013dd477eb0": { + "name": "github.repoSlug#1", + "args": [ + { + "name": "method", + "value": "github.repoSlug" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "f0b34267007c": { + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "f199fca8440a": { + "assignable": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + }, + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "$rpc": "null" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "f2563d0882ec": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + } + }, + "fa93ca01f266": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Unknown method", + "ok": false + } + }, + "faddb87bab8a": { + "assignable": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + }, + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "error": "Unknown method", + "ok": false + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "fb4429083480": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "", + "ok": false + } + }, + "fd7cf23591a3": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + } + }, + "recording": { + "scenario": "matrix-github.pr-read-github.reposlug-1", + "checkpoints": [ + { + "id": "pr-read-surface.prelude:pending", + "observation": { + "sender": [], + "payloads": [], + "settlements": {}, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "pr-read-surface.normal:repo-slug", + "observation": { + "sender": ["2638b3063bb1"], + "payloads": ["eb6a2b2f507e"], + "settlements": { + "repo-slug": "d89e7b8ce2a0" + }, + "state": "41113a109089", + "effects": [] + } + }, + { + "id": "pr-read-surface.normal:hosted-review", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7" + }, + "state": "5a46540568af", + "effects": [] + } + }, + { + "id": "pr-read-surface.normal:pr-for-branch", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839", "c9cb3ce714a0"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec" + }, + "state": "9589a1e1a61e", + "effects": [] + } + }, + { + "id": "pr-read-surface.normal:work-item", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839", "c9cb3ce714a0", "59ec56b0e49c"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c" + }, + "state": "fd7cf23591a3", + "effects": [] + } + }, + { + "id": "pr-read-surface.normal:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033" + }, + "state": "f0b34267007c", + "effects": [] + } + }, + { + "id": "pr-read-surface.normal:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "50f04028e403", + "effects": [] + } + }, + { + "id": "pr-read-surface.normal:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "a7c7a8c0dcbd", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-absent:repo-slug", + "observation": { + "sender": ["13f68d23b241"], + "payloads": ["eb6a2b2f507e"], + "settlements": { + "repo-slug": "8a5cb8b66303" + }, + "state": "8441184cee7b", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-absent:hosted-review", + "observation": { + "sender": ["13f68d23b241", "1bdfee368839"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39"], + "settlements": { + "repo-slug": "8a5cb8b66303", + "hosted-review": "b0b5c628b5c7" + }, + "state": "498740d73d3a", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-absent:pr-for-branch", + "observation": { + "sender": ["13f68d23b241", "1bdfee368839", "c9cb3ce714a0"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2"], + "settlements": { + "repo-slug": "8a5cb8b66303", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec" + }, + "state": "a140f45fed5e", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-absent:work-item", + "observation": { + "sender": ["13f68d23b241", "1bdfee368839", "c9cb3ce714a0", "59ec56b0e49c"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "8a5cb8b66303", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c" + }, + "state": "0d355456eae1", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-absent:checks", + "observation": { + "sender": [ + "13f68d23b241", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "8a5cb8b66303", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033" + }, + "state": "5b1e1c58407f", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-absent:check-details", + "observation": { + "sender": [ + "13f68d23b241", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "8a5cb8b66303", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "b7155181b301", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-absent:assignable", + "observation": { + "sender": [ + "13f68d23b241", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "8a5cb8b66303", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "f199fca8440a", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-null:repo-slug", + "observation": { + "sender": ["a408ff99ead1"], + "payloads": ["eb6a2b2f507e"], + "settlements": { + "repo-slug": "8a5cb8b66303" + }, + "state": "8441184cee7b", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-null:hosted-review", + "observation": { + "sender": ["a408ff99ead1", "1bdfee368839"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39"], + "settlements": { + "repo-slug": "8a5cb8b66303", + "hosted-review": "b0b5c628b5c7" + }, + "state": "498740d73d3a", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-null:pr-for-branch", + "observation": { + "sender": ["a408ff99ead1", "1bdfee368839", "c9cb3ce714a0"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2"], + "settlements": { + "repo-slug": "8a5cb8b66303", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec" + }, + "state": "a140f45fed5e", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-null:work-item", + "observation": { + "sender": ["a408ff99ead1", "1bdfee368839", "c9cb3ce714a0", "59ec56b0e49c"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "8a5cb8b66303", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c" + }, + "state": "0d355456eae1", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-null:checks", + "observation": { + "sender": [ + "a408ff99ead1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "8a5cb8b66303", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033" + }, + "state": "5b1e1c58407f", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-null:check-details", + "observation": { + "sender": [ + "a408ff99ead1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "8a5cb8b66303", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "b7155181b301", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-null:assignable", + "observation": { + "sender": [ + "a408ff99ead1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "8a5cb8b66303", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "f199fca8440a", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-ok-missing:repo-slug", + "observation": { + "sender": ["28d99e994c42"], + "payloads": ["eb6a2b2f507e"], + "settlements": { + "repo-slug": "8a5cb8b66303" + }, + "state": "8441184cee7b", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-ok-missing:hosted-review", + "observation": { + "sender": ["28d99e994c42", "1bdfee368839"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39"], + "settlements": { + "repo-slug": "8a5cb8b66303", + "hosted-review": "b0b5c628b5c7" + }, + "state": "498740d73d3a", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-ok-missing:pr-for-branch", + "observation": { + "sender": ["28d99e994c42", "1bdfee368839", "c9cb3ce714a0"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2"], + "settlements": { + "repo-slug": "8a5cb8b66303", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec" + }, + "state": "a140f45fed5e", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-ok-missing:work-item", + "observation": { + "sender": ["28d99e994c42", "1bdfee368839", "c9cb3ce714a0", "59ec56b0e49c"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "8a5cb8b66303", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c" + }, + "state": "0d355456eae1", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-ok-missing:checks", + "observation": { + "sender": [ + "28d99e994c42", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "8a5cb8b66303", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033" + }, + "state": "5b1e1c58407f", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-ok-missing:check-details", + "observation": { + "sender": [ + "28d99e994c42", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "8a5cb8b66303", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "b7155181b301", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-ok-missing:assignable", + "observation": { + "sender": [ + "28d99e994c42", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "8a5cb8b66303", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "f199fca8440a", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-string-error:repo-slug", + "observation": { + "sender": ["391bd395f3ef"], + "payloads": ["eb6a2b2f507e"], + "settlements": { + "repo-slug": "8a5cb8b66303" + }, + "state": "8441184cee7b", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-string-error:hosted-review", + "observation": { + "sender": ["391bd395f3ef", "1bdfee368839"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39"], + "settlements": { + "repo-slug": "8a5cb8b66303", + "hosted-review": "b0b5c628b5c7" + }, + "state": "498740d73d3a", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-string-error:pr-for-branch", + "observation": { + "sender": ["391bd395f3ef", "1bdfee368839", "c9cb3ce714a0"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2"], + "settlements": { + "repo-slug": "8a5cb8b66303", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec" + }, + "state": "a140f45fed5e", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-string-error:work-item", + "observation": { + "sender": ["391bd395f3ef", "1bdfee368839", "c9cb3ce714a0", "59ec56b0e49c"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "8a5cb8b66303", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c" + }, + "state": "0d355456eae1", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-string-error:checks", + "observation": { + "sender": [ + "391bd395f3ef", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "8a5cb8b66303", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033" + }, + "state": "5b1e1c58407f", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-string-error:check-details", + "observation": { + "sender": [ + "391bd395f3ef", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "8a5cb8b66303", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "b7155181b301", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-string-error:assignable", + "observation": { + "sender": [ + "391bd395f3ef", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "8a5cb8b66303", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "f199fca8440a", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-object-error:repo-slug", + "observation": { + "sender": ["e58da1774b42"], + "payloads": ["eb6a2b2f507e"], + "settlements": { + "repo-slug": "8a5cb8b66303" + }, + "state": "8441184cee7b", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-object-error:hosted-review", + "observation": { + "sender": ["e58da1774b42", "1bdfee368839"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39"], + "settlements": { + "repo-slug": "8a5cb8b66303", + "hosted-review": "b0b5c628b5c7" + }, + "state": "498740d73d3a", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-object-error:pr-for-branch", + "observation": { + "sender": ["e58da1774b42", "1bdfee368839", "c9cb3ce714a0"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2"], + "settlements": { + "repo-slug": "8a5cb8b66303", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec" + }, + "state": "a140f45fed5e", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-object-error:work-item", + "observation": { + "sender": ["e58da1774b42", "1bdfee368839", "c9cb3ce714a0", "59ec56b0e49c"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "8a5cb8b66303", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c" + }, + "state": "0d355456eae1", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-object-error:checks", + "observation": { + "sender": [ + "e58da1774b42", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "8a5cb8b66303", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033" + }, + "state": "5b1e1c58407f", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-object-error:check-details", + "observation": { + "sender": [ + "e58da1774b42", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "8a5cb8b66303", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "b7155181b301", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-object-error:assignable", + "observation": { + "sender": [ + "e58da1774b42", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "8a5cb8b66303", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "f199fca8440a", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused:repo-slug", + "observation": { + "sender": ["441cde996084"], + "payloads": ["eb6a2b2f507e"], + "settlements": { + "repo-slug": "1b2778bf67a2" + }, + "state": "e190f0419795", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused:hosted-review", + "observation": { + "sender": ["441cde996084", "1bdfee368839"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39"], + "settlements": { + "repo-slug": "1b2778bf67a2", + "hosted-review": "b0b5c628b5c7" + }, + "state": "353c7b575a4d", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused:pr-for-branch", + "observation": { + "sender": ["441cde996084", "1bdfee368839", "c9cb3ce714a0"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2"], + "settlements": { + "repo-slug": "1b2778bf67a2", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec" + }, + "state": "a6de88f88d75", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused:work-item", + "observation": { + "sender": ["441cde996084", "1bdfee368839", "c9cb3ce714a0", "59ec56b0e49c"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "1b2778bf67a2", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c" + }, + "state": "d65054cbac4b", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused:checks", + "observation": { + "sender": [ + "441cde996084", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "1b2778bf67a2", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033" + }, + "state": "7df9a5953f86", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused:check-details", + "observation": { + "sender": [ + "441cde996084", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "1b2778bf67a2", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "7a7b563b3c47", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused:assignable", + "observation": { + "sender": [ + "441cde996084", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "1b2778bf67a2", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "6e6be4bf5991", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused-no-message:repo-slug", + "observation": { + "sender": ["210e66bfd76b"], + "payloads": ["eb6a2b2f507e"], + "settlements": { + "repo-slug": "a17efc7718c7" + }, + "state": "4990fec293d4", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused-no-message:hosted-review", + "observation": { + "sender": ["210e66bfd76b", "1bdfee368839"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39"], + "settlements": { + "repo-slug": "a17efc7718c7", + "hosted-review": "b0b5c628b5c7" + }, + "state": "c0d9d94f8137", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused-no-message:pr-for-branch", + "observation": { + "sender": ["210e66bfd76b", "1bdfee368839", "c9cb3ce714a0"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2"], + "settlements": { + "repo-slug": "a17efc7718c7", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec" + }, + "state": "3720c4e9bd44", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused-no-message:work-item", + "observation": { + "sender": ["210e66bfd76b", "1bdfee368839", "c9cb3ce714a0", "59ec56b0e49c"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "a17efc7718c7", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c" + }, + "state": "33a3f1cafaae", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused-no-message:checks", + "observation": { + "sender": [ + "210e66bfd76b", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "a17efc7718c7", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033" + }, + "state": "7099316955f1", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused-no-message:check-details", + "observation": { + "sender": [ + "210e66bfd76b", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "a17efc7718c7", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "9188aae05753", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused-no-message:assignable", + "observation": { + "sender": [ + "210e66bfd76b", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "a17efc7718c7", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "9f235dbe3215", + "effects": [] + } + }, + { + "id": "pr-read-surface.method-not-found:repo-slug", + "observation": { + "sender": ["eaae31a0291c"], + "payloads": ["eb6a2b2f507e"], + "settlements": { + "repo-slug": "fa93ca01f266" + }, + "state": "0c120f483012", + "effects": [] + } + }, + { + "id": "pr-read-surface.method-not-found:hosted-review", + "observation": { + "sender": ["eaae31a0291c", "1bdfee368839"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39"], + "settlements": { + "repo-slug": "fa93ca01f266", + "hosted-review": "b0b5c628b5c7" + }, + "state": "b64724410723", + "effects": [] + } + }, + { + "id": "pr-read-surface.method-not-found:pr-for-branch", + "observation": { + "sender": ["eaae31a0291c", "1bdfee368839", "c9cb3ce714a0"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2"], + "settlements": { + "repo-slug": "fa93ca01f266", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec" + }, + "state": "94e74c7955d8", + "effects": [] + } + }, + { + "id": "pr-read-surface.method-not-found:work-item", + "observation": { + "sender": ["eaae31a0291c", "1bdfee368839", "c9cb3ce714a0", "59ec56b0e49c"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "fa93ca01f266", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c" + }, + "state": "30aaca8a4ddc", + "effects": [] + } + }, + { + "id": "pr-read-surface.method-not-found:checks", + "observation": { + "sender": [ + "eaae31a0291c", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "fa93ca01f266", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033" + }, + "state": "e9d0a96c9dc3", + "effects": [] + } + }, + { + "id": "pr-read-surface.method-not-found:check-details", + "observation": { + "sender": [ + "eaae31a0291c", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "fa93ca01f266", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "0be8b8d0c171", + "effects": [] + } + }, + { + "id": "pr-read-surface.method-not-found:assignable", + "observation": { + "sender": [ + "eaae31a0291c", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "fa93ca01f266", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "faddb87bab8a", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection:repo-slug", + "observation": { + "sender": ["654cfe12e87a"], + "payloads": ["eb6a2b2f507e"], + "settlements": { + "repo-slug": "a197c20578aa" + }, + "state": "4e8a726d6e27", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection:hosted-review", + "observation": { + "sender": ["654cfe12e87a", "1bdfee368839"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39"], + "settlements": { + "repo-slug": "a197c20578aa", + "hosted-review": "b0b5c628b5c7" + }, + "state": "331e2fdac98e", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection:pr-for-branch", + "observation": { + "sender": ["654cfe12e87a", "1bdfee368839", "c9cb3ce714a0"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2"], + "settlements": { + "repo-slug": "a197c20578aa", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec" + }, + "state": "b7dded744779", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection:work-item", + "observation": { + "sender": ["654cfe12e87a", "1bdfee368839", "c9cb3ce714a0", "59ec56b0e49c"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "a197c20578aa", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c" + }, + "state": "007a6464a6ba", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection:checks", + "observation": { + "sender": [ + "654cfe12e87a", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "a197c20578aa", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033" + }, + "state": "d1a5c4c6c474", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection:check-details", + "observation": { + "sender": [ + "654cfe12e87a", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "a197c20578aa", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "b7115f5019f9", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection:assignable", + "observation": { + "sender": [ + "654cfe12e87a", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "a197c20578aa", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "910ed730d559", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection-no-message:repo-slug", + "observation": { + "sender": ["f013dd477eb0"], + "payloads": ["eb6a2b2f507e"], + "settlements": { + "repo-slug": "fb4429083480" + }, + "state": "4e1ede59ab3e", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection-no-message:hosted-review", + "observation": { + "sender": ["f013dd477eb0", "1bdfee368839"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39"], + "settlements": { + "repo-slug": "fb4429083480", + "hosted-review": "b0b5c628b5c7" + }, + "state": "39456a6c08b4", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection-no-message:pr-for-branch", + "observation": { + "sender": ["f013dd477eb0", "1bdfee368839", "c9cb3ce714a0"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2"], + "settlements": { + "repo-slug": "fb4429083480", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec" + }, + "state": "4222f69dc8c3", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection-no-message:work-item", + "observation": { + "sender": ["f013dd477eb0", "1bdfee368839", "c9cb3ce714a0", "59ec56b0e49c"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "fb4429083480", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c" + }, + "state": "1d23366ac99f", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection-no-message:checks", + "observation": { + "sender": [ + "f013dd477eb0", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "fb4429083480", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033" + }, + "state": "6351c8c80be6", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection-no-message:check-details", + "observation": { + "sender": [ + "f013dd477eb0", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "fb4429083480", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "037a607a1a89", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection-no-message:assignable", + "observation": { + "sender": [ + "f013dd477eb0", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "fb4429083480", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "98d035f8c150", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-github.pr-read-github.workitemdetails-1.json b/mobile/rpc-foundation/goldens/matrix-github.pr-read-github.workitemdetails-1.json new file mode 100644 index 00000000000..c00e22e3913 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-github.pr-read-github.workitemdetails-1.json @@ -0,0 +1,5549 @@ +{ + "operation": "session.pr-reads", + "family": "github.pr-read", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "f560ff1582487c118756c527faa1fb1f65e37ce22ca9573491fd4b2dbcedf38d", + "scenarioSha256": "bc3350efc030f824fc21046aea8c6dc9a46993b6c75613c66874fde59af9171a", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "069a9c97e09d": { + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "error": "transport failure", + "ok": false + } + }, + "09191350a1f2": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Request failed: github.workItemDetails", + "ok": false + } + }, + "163b358f3ed2": { + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "error": "outer refused", + "ok": false + } + }, + "1b2778bf67a2": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "outer refused", + "ok": false + } + }, + "1bdfee368839": { + "name": "hostedReview.forBranch#1", + "args": [ + { + "name": "method", + "value": "hostedReview.forBranch" + }, + { + "name": "params", + "value": { + "active": true, + "branch": "feature", + "linkedGitHubPR": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "state": "open", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + } + } + }, + "1c88fe396b45": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + } + }, + "1d52420ad659": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "$rpc": "null" + } + } + }, + "2638b3063bb1": { + "name": "github.repoSlug#1", + "args": [ + { + "name": "method", + "value": "github.repoSlug" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + } + }, + "26ff78066b68": { + "assignable": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + }, + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "error": "Unknown method", + "ok": false + } + }, + "2cc31ed9e14d": { + "assignable": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + }, + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "error": "outer refused", + "ok": false + } + }, + "3879f5d02dc5": { + "name": "github.listAssignableUsers#1", + "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"github.listAssignableUsers\",\"params\":{\"repo\":\"id:repo-9\"}}" + }, + "388e8cb0c898": { + "name": "github.workItemDetails#1", + "args": [ + { + "name": "method", + "value": "github.workItemDetails" + }, + { + "name": "params", + "value": { + "number": 12, + "repo": "id:repo-9", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "3a35062c7180": { + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "error": "Request failed: github.workItemDetails", + "ok": false + } + }, + "3b464a1ac1ab": { + "name": "github.prChecks#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.prChecks\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"headSha\":\"head-sha-1\"}}" + }, + "3dcf7169b95c": { + "name": "github.workItemDetails#1", + "args": [ + { + "name": "method", + "value": "github.workItemDetails" + }, + { + "name": "params", + "value": { + "number": 12, + "repo": "id:repo-9", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-4", + "ok": false + } + } + }, + "41113a109089": { + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "44136fa355b3": {}, + "4a081d46fc88": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha-1", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed" + } + ] + } + } + }, + "4a5d0ded4e6c": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "4cb58b2b8a8a": { + "assignable": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + }, + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "$rpc": "null" + } + } + }, + "50f04028e403": { + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "59ec56b0e49c": { + "name": "github.workItemDetails#1", + "args": [ + { + "name": "method", + "value": "github.workItemDetails" + }, + { + "name": "params", + "value": { + "number": 12, + "repo": "id:repo-9", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "body": "body", + "headSha": "head-sha-1", + "item": { + "assignees": [], + "id": "PR_1", + "labels": [], + "number": 12, + "state": "open", + "title": "Recorded", + "type": "pr" + } + } + } + } + }, + "5a46540568af": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "68cc73a25624": { + "assignable": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + }, + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "error": "", + "ok": false + } + }, + "6ab3eb2d5cbe": { + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "$rpc": "null" + } + } + }, + "6c077d752eb3": { + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "error": "Unknown method", + "ok": false + } + }, + "6d7cac2188cf": { + "assignable": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + }, + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "error": "Request failed: github.workItemDetails", + "ok": false + } + }, + "719b0e3a1714": { + "name": "github.workItemDetails#1", + "args": [ + { + "name": "method", + "value": "github.workItemDetails" + }, + { + "name": "params", + "value": { + "number": 12, + "repo": "id:repo-9", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-4", + "ok": false + } + } + }, + "83206396a38d": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "error": "Request failed: github.workItemDetails", + "ok": false + } + }, + "8a5cb8b66303": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "$rpc": "null" + } + } + }, + "8be4852a6a4c": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "error": "", + "ok": false + } + }, + "8c8754145522": { + "name": "github.workItemDetails#1", + "args": [ + { + "name": "method", + "value": "github.workItemDetails" + }, + { + "name": "params", + "value": { + "number": 12, + "repo": "id:repo-9", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "8cbb79ec0c39": { + "name": "hostedReview.forBranch#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.forBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedGitHubPR\":12,\"active\":true}}" + }, + "8d7de2a48d1e": { + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "error": "transport failure", + "ok": false + } + }, + "9353f049138c": { + "name": "github.prCheckDetails#1", + "args": [ + { + "name": "method", + "value": "github.prCheckDetails" + }, + { + "name": "params", + "value": { + "checkName": "build", + "checkRunId": 7, + "repo": "id:repo-9", + "url": { + "$rpc": "null" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-6", + "ok": true, + "result": { + "annotations": [], + "conclusion": "success", + "jobs": [], + "name": "build", + "status": "completed" + } + } + } + }, + "9589a1e1a61e": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "9ad673a50a9f": { + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "error": "Request failed: github.workItemDetails", + "ok": false + } + }, + "9c65895af93c": { + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "$rpc": "null" + } + } + }, + "9d92029e6bf2": { + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "error": "", + "ok": false + } + }, + "a197c20578aa": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "transport failure", + "ok": false + } + }, + "a7c7a8c0dcbd": { + "assignable": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + }, + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "a93bcc7122e8": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + } + }, + "acd4822cfd04": { + "name": "github.workItemDetails#1", + "args": [ + { + "name": "method", + "value": "github.workItemDetails" + }, + { + "name": "params", + "value": { + "number": 12, + "repo": "id:repo-9", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "b00ac850143f": { + "name": "github.workItemDetails#1", + "args": [ + { + "name": "method", + "value": "github.workItemDetails" + }, + { + "name": "params", + "value": { + "number": 12, + "repo": "id:repo-9", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-4", + "ok": false + } + } + }, + "b0b5c628b5c7": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + } + }, + "ba1b866ad599": { + "name": "github.workItemDetails#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.workItemDetails\",\"params\":{\"repo\":\"id:repo-9\",\"number\":12,\"type\":\"pr\"}}" + }, + "bab6aa71f650": { + "assignable": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + }, + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "error": "transport failure", + "ok": false + } + }, + "c064dde02014": { + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "error": "outer refused", + "ok": false + } + }, + "c4e2cfc10080": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "error": "outer refused", + "ok": false + } + }, + "c9cb3ce714a0": { + "name": "github.prForBranch#1", + "args": [ + { + "name": "method", + "value": "github.prForBranch" + }, + { + "name": "params", + "value": { + "branch": "feature", + "linkedPRNumber": { + "$rpc": "null" + }, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "fetchedAt": 0, + "kind": "found", + "pr": { + "headSha": "head-sha-1", + "mergeable": "MERGEABLE", + "number": 12, + "state": "open", + "title": "Recorded", + "url": "https://x/12" + } + } + } + } + }, + "d08ed4a769f3": { + "name": "github.prCheckDetails#1", + "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"github.prCheckDetails\",\"params\":{\"repo\":\"id:repo-9\",\"checkRunId\":7,\"checkName\":\"build\",\"url\":null}}" + }, + "d70ab03ef370": { + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "error": "Unknown method", + "ok": false + } + }, + "d89e7b8ce2a0": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "dc56fd50dbf7": { + "name": "github.workItemDetails#1", + "args": [ + { + "name": "method", + "value": "github.workItemDetails" + }, + { + "name": "params", + "value": { + "number": 12, + "repo": "id:repo-9", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "e0bbeb14dedf": { + "name": "github.workItemDetails#1", + "args": [ + { + "name": "method", + "value": "github.workItemDetails" + }, + { + "name": "params", + "value": { + "number": 12, + "repo": "id:repo-9", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true + } + } + }, + "e138ebae7a7a": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "error": "Unknown method", + "ok": false + } + }, + "e23eb2e4b033": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + } + }, + "e323dec040c2": { + "name": "github.prForBranch#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.prForBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedPRNumber\":null}}" + }, + "e778ec0366f2": { + "name": "github.workItemDetails#1", + "args": [ + { + "name": "method", + "value": "github.workItemDetails" + }, + { + "name": "params", + "value": { + "number": 12, + "repo": "id:repo-9", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "eb6a2b2f507e": { + "name": "github.repoSlug#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.repoSlug\",\"params\":{\"repo\":\"id:repo-9\"}}" + }, + "efcf99a657b9": { + "name": "github.listAssignableUsers#1", + "args": [ + { + "name": "method", + "value": "github.listAssignableUsers" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-7", + "ok": true, + "result": [ + { + "login": "octocat", + "name": "Octo Cat" + } + ] + } + } + }, + "f0b34267007c": { + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "f0dcfba97998": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "error": "transport failure", + "ok": false + } + }, + "f2563d0882ec": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + } + }, + "f288b5c31f15": { + "name": "github.workItemDetails#1", + "args": [ + { + "name": "method", + "value": "github.workItemDetails" + }, + { + "name": "params", + "value": { + "number": 12, + "repo": "id:repo-9", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "f45d25a623d6": { + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "error": "", + "ok": false + } + }, + "fa93ca01f266": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Unknown method", + "ok": false + } + }, + "fb4429083480": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "", + "ok": false + } + }, + "fd7cf23591a3": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + } + }, + "recording": { + "scenario": "matrix-github.pr-read-github.workitemdetails-1", + "checkpoints": [ + { + "id": "pr-read-surface.prelude:pending", + "observation": { + "sender": [], + "payloads": [], + "settlements": {}, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "pr-read-surface.prelude:repo-slug", + "observation": { + "sender": ["2638b3063bb1"], + "payloads": ["eb6a2b2f507e"], + "settlements": { + "repo-slug": "d89e7b8ce2a0" + }, + "state": "41113a109089", + "effects": [] + } + }, + { + "id": "pr-read-surface.prelude:hosted-review", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7" + }, + "state": "5a46540568af", + "effects": [] + } + }, + { + "id": "pr-read-surface.prelude:pr-for-branch", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839", "c9cb3ce714a0"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec" + }, + "state": "9589a1e1a61e", + "effects": [] + } + }, + { + "id": "pr-read-surface.normal:work-item", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839", "c9cb3ce714a0", "59ec56b0e49c"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c" + }, + "state": "fd7cf23591a3", + "effects": [] + } + }, + { + "id": "pr-read-surface.normal:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033" + }, + "state": "f0b34267007c", + "effects": [] + } + }, + { + "id": "pr-read-surface.normal:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "50f04028e403", + "effects": [] + } + }, + { + "id": "pr-read-surface.normal:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "a7c7a8c0dcbd", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-absent:work-item", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839", "c9cb3ce714a0", "e0bbeb14dedf"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "8a5cb8b66303" + }, + "state": "1d52420ad659", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-absent:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "e0bbeb14dedf", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "8a5cb8b66303", + "checks": "e23eb2e4b033" + }, + "state": "9c65895af93c", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-absent:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "e0bbeb14dedf", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "8a5cb8b66303", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "6ab3eb2d5cbe", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-absent:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "e0bbeb14dedf", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "8a5cb8b66303", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "4cb58b2b8a8a", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-null:work-item", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839", "c9cb3ce714a0", "f288b5c31f15"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "8a5cb8b66303" + }, + "state": "1d52420ad659", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-null:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "f288b5c31f15", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "8a5cb8b66303", + "checks": "e23eb2e4b033" + }, + "state": "9c65895af93c", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-null:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "f288b5c31f15", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "8a5cb8b66303", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "6ab3eb2d5cbe", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-null:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "f288b5c31f15", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "8a5cb8b66303", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "4cb58b2b8a8a", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-ok-missing:work-item", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839", "c9cb3ce714a0", "e778ec0366f2"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "8a5cb8b66303" + }, + "state": "1d52420ad659", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-ok-missing:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "e778ec0366f2", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "8a5cb8b66303", + "checks": "e23eb2e4b033" + }, + "state": "9c65895af93c", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-ok-missing:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "e778ec0366f2", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "8a5cb8b66303", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "6ab3eb2d5cbe", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-ok-missing:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "e778ec0366f2", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "8a5cb8b66303", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "4cb58b2b8a8a", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-string-error:work-item", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839", "c9cb3ce714a0", "dc56fd50dbf7"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "8a5cb8b66303" + }, + "state": "1d52420ad659", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-string-error:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "dc56fd50dbf7", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "8a5cb8b66303", + "checks": "e23eb2e4b033" + }, + "state": "9c65895af93c", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-string-error:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "dc56fd50dbf7", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "8a5cb8b66303", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "6ab3eb2d5cbe", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-string-error:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "dc56fd50dbf7", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "8a5cb8b66303", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "4cb58b2b8a8a", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-object-error:work-item", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839", "c9cb3ce714a0", "acd4822cfd04"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "8a5cb8b66303" + }, + "state": "1d52420ad659", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-object-error:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "acd4822cfd04", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "8a5cb8b66303", + "checks": "e23eb2e4b033" + }, + "state": "9c65895af93c", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-object-error:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "acd4822cfd04", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "8a5cb8b66303", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "6ab3eb2d5cbe", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-object-error:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "acd4822cfd04", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "8a5cb8b66303", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "4cb58b2b8a8a", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused:work-item", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839", "c9cb3ce714a0", "b00ac850143f"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "1b2778bf67a2" + }, + "state": "c4e2cfc10080", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "b00ac850143f", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "1b2778bf67a2", + "checks": "e23eb2e4b033" + }, + "state": "163b358f3ed2", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "b00ac850143f", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "1b2778bf67a2", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "c064dde02014", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "b00ac850143f", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "1b2778bf67a2", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "2cc31ed9e14d", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused-no-message:work-item", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839", "c9cb3ce714a0", "3dcf7169b95c"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "09191350a1f2" + }, + "state": "83206396a38d", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused-no-message:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "3dcf7169b95c", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "09191350a1f2", + "checks": "e23eb2e4b033" + }, + "state": "9ad673a50a9f", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused-no-message:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "3dcf7169b95c", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "09191350a1f2", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "3a35062c7180", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused-no-message:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "3dcf7169b95c", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "09191350a1f2", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "6d7cac2188cf", + "effects": [] + } + }, + { + "id": "pr-read-surface.method-not-found:work-item", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839", "c9cb3ce714a0", "719b0e3a1714"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "fa93ca01f266" + }, + "state": "e138ebae7a7a", + "effects": [] + } + }, + { + "id": "pr-read-surface.method-not-found:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "719b0e3a1714", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "fa93ca01f266", + "checks": "e23eb2e4b033" + }, + "state": "6c077d752eb3", + "effects": [] + } + }, + { + "id": "pr-read-surface.method-not-found:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "719b0e3a1714", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "fa93ca01f266", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "d70ab03ef370", + "effects": [] + } + }, + { + "id": "pr-read-surface.method-not-found:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "719b0e3a1714", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "fa93ca01f266", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "26ff78066b68", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection:work-item", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839", "c9cb3ce714a0", "388e8cb0c898"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "a197c20578aa" + }, + "state": "f0dcfba97998", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "388e8cb0c898", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "a197c20578aa", + "checks": "e23eb2e4b033" + }, + "state": "8d7de2a48d1e", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "388e8cb0c898", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "a197c20578aa", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "069a9c97e09d", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "388e8cb0c898", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "a197c20578aa", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "bab6aa71f650", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection-no-message:work-item", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839", "c9cb3ce714a0", "8c8754145522"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "fb4429083480" + }, + "state": "8be4852a6a4c", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection-no-message:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "8c8754145522", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "fb4429083480", + "checks": "e23eb2e4b033" + }, + "state": "f45d25a623d6", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection-no-message:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "8c8754145522", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "fb4429083480", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "9d92029e6bf2", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection-no-message:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "8c8754145522", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "fb4429083480", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "68cc73a25624", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-github.pr-read-hostedreview.forbranch-1.json b/mobile/rpc-foundation/goldens/matrix-github.pr-read-hostedreview.forbranch-1.json new file mode 100644 index 00000000000..94a43cfc892 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-github.pr-read-hostedreview.forbranch-1.json @@ -0,0 +1,6997 @@ +{ + "operation": "session.pr-reads", + "family": "github.pr-read", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "f560ff1582487c118756c527faa1fb1f65e37ce22ca9573491fd4b2dbcedf38d", + "scenarioSha256": "9171e982babc4e56852fe35bafa7a9f3aeda2be5bd4648f29aaa04ca7119d5d2", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0bf9dd2ea01f": { + "assignable": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + }, + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "error": "transport failure", + "ok": false + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "0e7baebbb27f": { + "hosted-review": { + "error": "Unknown method", + "ok": false + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "1b2778bf67a2": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "outer refused", + "ok": false + } + }, + "1bdfee368839": { + "name": "hostedReview.forBranch#1", + "args": [ + { + "name": "method", + "value": "hostedReview.forBranch" + }, + { + "name": "params", + "value": { + "active": true, + "branch": "feature", + "linkedGitHubPR": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "state": "open", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + } + } + }, + "1c88fe396b45": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + } + }, + "1e45b439eee1": { + "name": "hostedReview.forBranch#1", + "args": [ + { + "name": "method", + "value": "hostedReview.forBranch" + }, + { + "name": "params", + "value": { + "active": true, + "branch": "feature", + "linkedGitHubPR": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "2638b3063bb1": { + "name": "github.repoSlug#1", + "args": [ + { + "name": "method", + "value": "github.repoSlug" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + } + }, + "2b970b84ffa6": { + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "error": "Request failed: hostedReview.forBranch", + "ok": false + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "2dab01ab9563": { + "assignable": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + }, + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "$rpc": "null" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "308c3697a3ad": { + "name": "hostedReview.forBranch#1", + "args": [ + { + "name": "method", + "value": "hostedReview.forBranch" + }, + { + "name": "params", + "value": { + "active": true, + "branch": "feature", + "linkedGitHubPR": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "334e4a86ed4b": { + "name": "hostedReview.forBranch#1", + "args": [ + { + "name": "method", + "value": "hostedReview.forBranch" + }, + { + "name": "params", + "value": { + "active": true, + "branch": "feature", + "linkedGitHubPR": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "34311b7ca6cf": { + "hosted-review": { + "error": "transport failure", + "ok": false + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "35c541abc335": { + "hosted-review": { + "ok": true, + "result": { + "$rpc": "null" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "3705791a670e": { + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "$rpc": "null" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "3879f5d02dc5": { + "name": "github.listAssignableUsers#1", + "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"github.listAssignableUsers\",\"params\":{\"repo\":\"id:repo-9\"}}" + }, + "38bed66e2126": { + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "error": "Request failed: hostedReview.forBranch", + "ok": false + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "3b464a1ac1ab": { + "name": "github.prChecks#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.prChecks\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"headSha\":\"head-sha-1\"}}" + }, + "3fe0f4e7006a": { + "hosted-review": { + "error": "Unknown method", + "ok": false + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "41113a109089": { + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "44136fa355b3": {}, + "443c75b7c287": { + "assignable": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + }, + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "error": "", + "ok": false + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "4732bd240a2c": { + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "error": "", + "ok": false + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "47f4266e4022": { + "hosted-review": { + "error": "outer refused", + "ok": false + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "4a081d46fc88": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha-1", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed" + } + ] + } + } + }, + "4a5d0ded4e6c": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "4d88a9683e03": { + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "error": "outer refused", + "ok": false + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "50f04028e403": { + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "59ec56b0e49c": { + "name": "github.workItemDetails#1", + "args": [ + { + "name": "method", + "value": "github.workItemDetails" + }, + { + "name": "params", + "value": { + "number": 12, + "repo": "id:repo-9", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "body": "body", + "headSha": "head-sha-1", + "item": { + "assignees": [], + "id": "PR_1", + "labels": [], + "number": 12, + "state": "open", + "title": "Recorded", + "type": "pr" + } + } + } + } + }, + "5a46540568af": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "5eb8e4e51555": { + "name": "hostedReview.forBranch#1", + "args": [ + { + "name": "method", + "value": "hostedReview.forBranch" + }, + { + "name": "params", + "value": { + "active": true, + "branch": "feature", + "linkedGitHubPR": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "6cdc3be86e30": { + "name": "hostedReview.forBranch#1", + "args": [ + { + "name": "method", + "value": "hostedReview.forBranch" + }, + { + "name": "params", + "value": { + "active": true, + "branch": "feature", + "linkedGitHubPR": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "6e209168ee83": { + "assignable": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + }, + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "error": "outer refused", + "ok": false + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "71533a6109c4": { + "hosted-review": { + "error": "", + "ok": false + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "722a8a8a21e1": { + "hosted-review": { + "ok": true, + "result": { + "$rpc": "null" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "790001e16d4d": { + "hosted-review": { + "error": "", + "ok": false + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "7ae43821a429": { + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "$rpc": "null" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "7cce0413fe0b": { + "hosted-review": { + "error": "outer refused", + "ok": false + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "865868813a73": { + "hosted-review": { + "error": "outer refused", + "ok": false + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "8a5cb8b66303": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "$rpc": "null" + } + } + }, + "8cbb79ec0c39": { + "name": "hostedReview.forBranch#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.forBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedGitHubPR\":12,\"active\":true}}" + }, + "9353f049138c": { + "name": "github.prCheckDetails#1", + "args": [ + { + "name": "method", + "value": "github.prCheckDetails" + }, + { + "name": "params", + "value": { + "checkName": "build", + "checkRunId": 7, + "repo": "id:repo-9", + "url": { + "$rpc": "null" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-6", + "ok": true, + "result": { + "annotations": [], + "conclusion": "success", + "jobs": [], + "name": "build", + "status": "completed" + } + } + } + }, + "9589a1e1a61e": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "9b8e7504e780": { + "hosted-review": { + "error": "Request failed: hostedReview.forBranch", + "ok": false + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "9c3bbaec24c3": { + "name": "hostedReview.forBranch#1", + "args": [ + { + "name": "method", + "value": "hostedReview.forBranch" + }, + { + "name": "params", + "value": { + "active": true, + "branch": "feature", + "linkedGitHubPR": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "9c80d3e62aa8": { + "name": "hostedReview.forBranch#1", + "args": [ + { + "name": "method", + "value": "hostedReview.forBranch" + }, + { + "name": "params", + "value": { + "active": true, + "branch": "feature", + "linkedGitHubPR": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "a06554ae2705": { + "name": "hostedReview.forBranch#1", + "args": [ + { + "name": "method", + "value": "hostedReview.forBranch" + }, + { + "name": "params", + "value": { + "active": true, + "branch": "feature", + "linkedGitHubPR": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "a197c20578aa": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "transport failure", + "ok": false + } + }, + "a69e28662d72": { + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "error": "", + "ok": false + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "a7c7a8c0dcbd": { + "assignable": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + }, + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "a93bcc7122e8": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + } + }, + "b0560b0e17e7": { + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "error": "transport failure", + "ok": false + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "b0b5c628b5c7": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + } + }, + "b37a8225d54b": { + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "error": "Unknown method", + "ok": false + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "b934615a7829": { + "hosted-review": { + "error": "Unknown method", + "ok": false + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "b9fd90a75d1c": { + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "error": "outer refused", + "ok": false + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "ba1b866ad599": { + "name": "github.workItemDetails#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.workItemDetails\",\"params\":{\"repo\":\"id:repo-9\",\"number\":12,\"type\":\"pr\"}}" + }, + "bdc35d641ccd": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Request failed: hostedReview.forBranch", + "ok": false + } + }, + "c4c56019af4a": { + "hosted-review": { + "error": "", + "ok": false + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "c9cb3ce714a0": { + "name": "github.prForBranch#1", + "args": [ + { + "name": "method", + "value": "github.prForBranch" + }, + { + "name": "params", + "value": { + "branch": "feature", + "linkedPRNumber": { + "$rpc": "null" + }, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "fetchedAt": 0, + "kind": "found", + "pr": { + "headSha": "head-sha-1", + "mergeable": "MERGEABLE", + "number": 12, + "state": "open", + "title": "Recorded", + "url": "https://x/12" + } + } + } + } + }, + "cccf065536b1": { + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "error": "transport failure", + "ok": false + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "d08ed4a769f3": { + "name": "github.prCheckDetails#1", + "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"github.prCheckDetails\",\"params\":{\"repo\":\"id:repo-9\",\"checkRunId\":7,\"checkName\":\"build\",\"url\":null}}" + }, + "d16ab2cb0431": { + "hosted-review": { + "error": "Request failed: hostedReview.forBranch", + "ok": false + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "d50f91ec3983": { + "hosted-review": { + "error": "transport failure", + "ok": false + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "d89e7b8ce2a0": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "dde36468517e": { + "assignable": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + }, + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "error": "Request failed: hostedReview.forBranch", + "ok": false + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "df1c77ad04a7": { + "hosted-review": { + "error": "Request failed: hostedReview.forBranch", + "ok": false + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "e23eb2e4b033": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + } + }, + "e2492a87874a": { + "assignable": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + }, + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "error": "Unknown method", + "ok": false + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "e323dec040c2": { + "name": "github.prForBranch#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.prForBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedPRNumber\":null}}" + }, + "e5af59988641": { + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "error": "Unknown method", + "ok": false + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "eb6a2b2f507e": { + "name": "github.repoSlug#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.repoSlug\",\"params\":{\"repo\":\"id:repo-9\"}}" + }, + "ebff04a80f32": { + "name": "hostedReview.forBranch#1", + "args": [ + { + "name": "method", + "value": "hostedReview.forBranch" + }, + { + "name": "params", + "value": { + "active": true, + "branch": "feature", + "linkedGitHubPR": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "efcf99a657b9": { + "name": "github.listAssignableUsers#1", + "args": [ + { + "name": "method", + "value": "github.listAssignableUsers" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-7", + "ok": true, + "result": [ + { + "login": "octocat", + "name": "Octo Cat" + } + ] + } + } + }, + "f0b34267007c": { + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "f2563d0882ec": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + } + }, + "f501de1476e0": { + "name": "hostedReview.forBranch#1", + "args": [ + { + "name": "method", + "value": "hostedReview.forBranch" + }, + { + "name": "params", + "value": { + "active": true, + "branch": "feature", + "linkedGitHubPR": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "f862dce4a761": { + "hosted-review": { + "error": "transport failure", + "ok": false + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "fa93ca01f266": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Unknown method", + "ok": false + } + }, + "fb4429083480": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "", + "ok": false + } + }, + "fd7cf23591a3": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "fe9773365df3": { + "hosted-review": { + "ok": true, + "result": { + "$rpc": "null" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + } + }, + "recording": { + "scenario": "matrix-github.pr-read-hostedreview.forbranch-1", + "checkpoints": [ + { + "id": "pr-read-surface.prelude:pending", + "observation": { + "sender": [], + "payloads": [], + "settlements": {}, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "pr-read-surface.prelude:repo-slug", + "observation": { + "sender": ["2638b3063bb1"], + "payloads": ["eb6a2b2f507e"], + "settlements": { + "repo-slug": "d89e7b8ce2a0" + }, + "state": "41113a109089", + "effects": [] + } + }, + { + "id": "pr-read-surface.normal:hosted-review", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7" + }, + "state": "5a46540568af", + "effects": [] + } + }, + { + "id": "pr-read-surface.normal:pr-for-branch", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839", "c9cb3ce714a0"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec" + }, + "state": "9589a1e1a61e", + "effects": [] + } + }, + { + "id": "pr-read-surface.normal:work-item", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839", "c9cb3ce714a0", "59ec56b0e49c"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c" + }, + "state": "fd7cf23591a3", + "effects": [] + } + }, + { + "id": "pr-read-surface.normal:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033" + }, + "state": "f0b34267007c", + "effects": [] + } + }, + { + "id": "pr-read-surface.normal:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "50f04028e403", + "effects": [] + } + }, + { + "id": "pr-read-surface.normal:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "a7c7a8c0dcbd", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-absent:hosted-review", + "observation": { + "sender": ["2638b3063bb1", "f501de1476e0"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "8a5cb8b66303" + }, + "state": "fe9773365df3", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-absent:pr-for-branch", + "observation": { + "sender": ["2638b3063bb1", "f501de1476e0", "c9cb3ce714a0"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "8a5cb8b66303", + "pr-for-branch": "f2563d0882ec" + }, + "state": "35c541abc335", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-absent:work-item", + "observation": { + "sender": ["2638b3063bb1", "f501de1476e0", "c9cb3ce714a0", "59ec56b0e49c"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "8a5cb8b66303", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c" + }, + "state": "722a8a8a21e1", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-absent:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "f501de1476e0", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "8a5cb8b66303", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033" + }, + "state": "7ae43821a429", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-absent:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "f501de1476e0", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "8a5cb8b66303", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "3705791a670e", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-absent:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "f501de1476e0", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "8a5cb8b66303", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "2dab01ab9563", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-null:hosted-review", + "observation": { + "sender": ["2638b3063bb1", "9c80d3e62aa8"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "8a5cb8b66303" + }, + "state": "fe9773365df3", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-null:pr-for-branch", + "observation": { + "sender": ["2638b3063bb1", "9c80d3e62aa8", "c9cb3ce714a0"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "8a5cb8b66303", + "pr-for-branch": "f2563d0882ec" + }, + "state": "35c541abc335", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-null:work-item", + "observation": { + "sender": ["2638b3063bb1", "9c80d3e62aa8", "c9cb3ce714a0", "59ec56b0e49c"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "8a5cb8b66303", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c" + }, + "state": "722a8a8a21e1", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-null:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "9c80d3e62aa8", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "8a5cb8b66303", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033" + }, + "state": "7ae43821a429", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-null:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "9c80d3e62aa8", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "8a5cb8b66303", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "3705791a670e", + "effects": [] + } + }, + { + "id": "pr-read-surface.result-null:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "9c80d3e62aa8", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "8a5cb8b66303", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "2dab01ab9563", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-ok-missing:hosted-review", + "observation": { + "sender": ["2638b3063bb1", "6cdc3be86e30"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "8a5cb8b66303" + }, + "state": "fe9773365df3", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-ok-missing:pr-for-branch", + "observation": { + "sender": ["2638b3063bb1", "6cdc3be86e30", "c9cb3ce714a0"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "8a5cb8b66303", + "pr-for-branch": "f2563d0882ec" + }, + "state": "35c541abc335", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-ok-missing:work-item", + "observation": { + "sender": ["2638b3063bb1", "6cdc3be86e30", "c9cb3ce714a0", "59ec56b0e49c"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "8a5cb8b66303", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c" + }, + "state": "722a8a8a21e1", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-ok-missing:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "6cdc3be86e30", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "8a5cb8b66303", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033" + }, + "state": "7ae43821a429", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-ok-missing:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "6cdc3be86e30", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "8a5cb8b66303", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "3705791a670e", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-ok-missing:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "6cdc3be86e30", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "8a5cb8b66303", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "2dab01ab9563", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-string-error:hosted-review", + "observation": { + "sender": ["2638b3063bb1", "334e4a86ed4b"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "8a5cb8b66303" + }, + "state": "fe9773365df3", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-string-error:pr-for-branch", + "observation": { + "sender": ["2638b3063bb1", "334e4a86ed4b", "c9cb3ce714a0"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "8a5cb8b66303", + "pr-for-branch": "f2563d0882ec" + }, + "state": "35c541abc335", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-string-error:work-item", + "observation": { + "sender": ["2638b3063bb1", "334e4a86ed4b", "c9cb3ce714a0", "59ec56b0e49c"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "8a5cb8b66303", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c" + }, + "state": "722a8a8a21e1", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-string-error:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "334e4a86ed4b", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "8a5cb8b66303", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033" + }, + "state": "7ae43821a429", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-string-error:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "334e4a86ed4b", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "8a5cb8b66303", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "3705791a670e", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-string-error:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "334e4a86ed4b", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "8a5cb8b66303", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "2dab01ab9563", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-object-error:hosted-review", + "observation": { + "sender": ["2638b3063bb1", "9c3bbaec24c3"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "8a5cb8b66303" + }, + "state": "fe9773365df3", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-object-error:pr-for-branch", + "observation": { + "sender": ["2638b3063bb1", "9c3bbaec24c3", "c9cb3ce714a0"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "8a5cb8b66303", + "pr-for-branch": "f2563d0882ec" + }, + "state": "35c541abc335", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-object-error:work-item", + "observation": { + "sender": ["2638b3063bb1", "9c3bbaec24c3", "c9cb3ce714a0", "59ec56b0e49c"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "8a5cb8b66303", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c" + }, + "state": "722a8a8a21e1", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-object-error:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "9c3bbaec24c3", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "8a5cb8b66303", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033" + }, + "state": "7ae43821a429", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-object-error:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "9c3bbaec24c3", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "8a5cb8b66303", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "3705791a670e", + "effects": [] + } + }, + { + "id": "pr-read-surface.inner-false-object-error:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "9c3bbaec24c3", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "8a5cb8b66303", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "2dab01ab9563", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused:hosted-review", + "observation": { + "sender": ["2638b3063bb1", "1e45b439eee1"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "1b2778bf67a2" + }, + "state": "865868813a73", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused:pr-for-branch", + "observation": { + "sender": ["2638b3063bb1", "1e45b439eee1", "c9cb3ce714a0"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "1b2778bf67a2", + "pr-for-branch": "f2563d0882ec" + }, + "state": "7cce0413fe0b", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused:work-item", + "observation": { + "sender": ["2638b3063bb1", "1e45b439eee1", "c9cb3ce714a0", "59ec56b0e49c"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "1b2778bf67a2", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c" + }, + "state": "47f4266e4022", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "1e45b439eee1", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "1b2778bf67a2", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033" + }, + "state": "b9fd90a75d1c", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1e45b439eee1", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "1b2778bf67a2", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "4d88a9683e03", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1e45b439eee1", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "1b2778bf67a2", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "6e209168ee83", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused-no-message:hosted-review", + "observation": { + "sender": ["2638b3063bb1", "5eb8e4e51555"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "bdc35d641ccd" + }, + "state": "d16ab2cb0431", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused-no-message:pr-for-branch", + "observation": { + "sender": ["2638b3063bb1", "5eb8e4e51555", "c9cb3ce714a0"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "bdc35d641ccd", + "pr-for-branch": "f2563d0882ec" + }, + "state": "df1c77ad04a7", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused-no-message:work-item", + "observation": { + "sender": ["2638b3063bb1", "5eb8e4e51555", "c9cb3ce714a0", "59ec56b0e49c"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "bdc35d641ccd", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c" + }, + "state": "9b8e7504e780", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused-no-message:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "5eb8e4e51555", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "bdc35d641ccd", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033" + }, + "state": "38bed66e2126", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused-no-message:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "5eb8e4e51555", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "bdc35d641ccd", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "2b970b84ffa6", + "effects": [] + } + }, + { + "id": "pr-read-surface.outer-refused-no-message:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "5eb8e4e51555", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "bdc35d641ccd", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "dde36468517e", + "effects": [] + } + }, + { + "id": "pr-read-surface.method-not-found:hosted-review", + "observation": { + "sender": ["2638b3063bb1", "308c3697a3ad"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "fa93ca01f266" + }, + "state": "3fe0f4e7006a", + "effects": [] + } + }, + { + "id": "pr-read-surface.method-not-found:pr-for-branch", + "observation": { + "sender": ["2638b3063bb1", "308c3697a3ad", "c9cb3ce714a0"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "fa93ca01f266", + "pr-for-branch": "f2563d0882ec" + }, + "state": "0e7baebbb27f", + "effects": [] + } + }, + { + "id": "pr-read-surface.method-not-found:work-item", + "observation": { + "sender": ["2638b3063bb1", "308c3697a3ad", "c9cb3ce714a0", "59ec56b0e49c"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "fa93ca01f266", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c" + }, + "state": "b934615a7829", + "effects": [] + } + }, + { + "id": "pr-read-surface.method-not-found:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "308c3697a3ad", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "fa93ca01f266", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033" + }, + "state": "e5af59988641", + "effects": [] + } + }, + { + "id": "pr-read-surface.method-not-found:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "308c3697a3ad", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "fa93ca01f266", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "b37a8225d54b", + "effects": [] + } + }, + { + "id": "pr-read-surface.method-not-found:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "308c3697a3ad", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "fa93ca01f266", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "e2492a87874a", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection:hosted-review", + "observation": { + "sender": ["2638b3063bb1", "ebff04a80f32"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "a197c20578aa" + }, + "state": "34311b7ca6cf", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection:pr-for-branch", + "observation": { + "sender": ["2638b3063bb1", "ebff04a80f32", "c9cb3ce714a0"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "a197c20578aa", + "pr-for-branch": "f2563d0882ec" + }, + "state": "f862dce4a761", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection:work-item", + "observation": { + "sender": ["2638b3063bb1", "ebff04a80f32", "c9cb3ce714a0", "59ec56b0e49c"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "a197c20578aa", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c" + }, + "state": "d50f91ec3983", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "ebff04a80f32", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "a197c20578aa", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033" + }, + "state": "cccf065536b1", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "ebff04a80f32", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "a197c20578aa", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "b0560b0e17e7", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "ebff04a80f32", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "a197c20578aa", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "0bf9dd2ea01f", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection-no-message:hosted-review", + "observation": { + "sender": ["2638b3063bb1", "a06554ae2705"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "fb4429083480" + }, + "state": "c4c56019af4a", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection-no-message:pr-for-branch", + "observation": { + "sender": ["2638b3063bb1", "a06554ae2705", "c9cb3ce714a0"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "fb4429083480", + "pr-for-branch": "f2563d0882ec" + }, + "state": "71533a6109c4", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection-no-message:work-item", + "observation": { + "sender": ["2638b3063bb1", "a06554ae2705", "c9cb3ce714a0", "59ec56b0e49c"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "fb4429083480", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c" + }, + "state": "790001e16d4d", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection-no-message:checks", + "observation": { + "sender": [ + "2638b3063bb1", + "a06554ae2705", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "fb4429083480", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033" + }, + "state": "a69e28662d72", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection-no-message:check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "a06554ae2705", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "fb4429083480", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "4732bd240a2c", + "effects": [] + } + }, + { + "id": "pr-read-surface.transport-rejection-no-message:assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "a06554ae2705", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "fb4429083480", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "443c75b7c287", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-github.pr-title-mutation-github.updateprtitle-1.json b/mobile/rpc-foundation/goldens/matrix-github.pr-title-mutation-github.updateprtitle-1.json new file mode 100644 index 00000000000..32eafcb25a4 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-github.pr-title-mutation-github.updateprtitle-1.json @@ -0,0 +1,629 @@ +{ + "operation": "session.pr-mutations", + "family": "github.pr-title-mutation", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "f560ff1582487c118756c527faa1fb1f65e37ce22ca9573491fd4b2dbcedf38d", + "scenarioSha256": "fe91d5518501a078dff3010e74c4b9d70122f88a629e384336cd1b6a84de36a8", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0400bbb4177c": { + "title": { + "error": "Request failed: github.updatePRTitle", + "ok": false + } + }, + "17e9a253f62d": { + "name": "github.updatePRTitle#1", + "args": [ + { + "name": "method", + "value": "github.updatePRTitle" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "title": "Recorded title" + } + }, + { + "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 + } + } + } + }, + "1b2778bf67a2": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "outer refused", + "ok": false + } + }, + "273a783a3e6f": { + "name": "github.updatePRTitle#1", + "args": [ + { + "name": "method", + "value": "github.updatePRTitle" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "title": "Recorded title" + } + }, + { + "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 + } + } + }, + "2a122cfe29f9": { + "name": "github.updatePRTitle#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.updatePRTitle\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"title\":\"Recorded title\"}}" + }, + "2d92f601524b": { + "name": "github.updatePRTitle#1", + "args": [ + { + "name": "method", + "value": "github.updatePRTitle" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "title": "Recorded title" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "578bc8950993": { + "title": { + "ok": true + } + }, + "5ff779cd8c84": { + "title": { + "error": "Failed to update title.", + "ok": false + } + }, + "63139c527e1e": { + "name": "github.updatePRTitle#1", + "args": [ + { + "name": "method", + "value": "github.updatePRTitle" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "title": "Recorded title" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "6e9fb05124f5": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Failed to update title.", + "ok": false + } + }, + "732177caffde": { + "name": "github.updatePRTitle#1", + "args": [ + { + "name": "method", + "value": "github.updatePRTitle" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "title": "Recorded title" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "73a201bf0d92": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Request failed: github.updatePRTitle", + "ok": false + } + }, + "96fcd9b9c31e": { + "name": "github.updatePRTitle#1", + "args": [ + { + "name": "method", + "value": "github.updatePRTitle" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "title": "Recorded title" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": true + } + } + }, + "98cad060a5b3": { + "name": "github.updatePRTitle#1", + "args": [ + { + "name": "method", + "value": "github.updatePRTitle" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "title": "Recorded title" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "a197c20578aa": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "transport failure", + "ok": false + } + }, + "ae3df1024ded": { + "name": "github.updatePRTitle#1", + "args": [ + { + "name": "method", + "value": "github.updatePRTitle" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "title": "Recorded title" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "b3c795dd8d35": { + "title": { + "error": "Unknown method", + "ok": false + } + }, + "c5ea88c843eb": { + "title": { + "error": "outer refused", + "ok": false + } + }, + "d8959e64c99e": { + "name": "github.updatePRTitle#1", + "args": [ + { + "name": "method", + "value": "github.updatePRTitle" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "title": "Recorded title" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "e1fc6048c4fb": { + "title": { + "error": "transport failure", + "ok": false + } + }, + "e676985c7e4b": { + "name": "github.updatePRTitle#1", + "args": [ + { + "name": "method", + "value": "github.updatePRTitle" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "title": "Recorded title" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "ec52831dce6f": { + "name": "github.updatePRTitle#1", + "args": [ + { + "name": "method", + "value": "github.updatePRTitle" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "title": "Recorded title" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "fa93ca01f266": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Unknown method", + "ok": false + } + }, + "fbc958e4d46e": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true + } + } + }, + "recording": { + "scenario": "matrix-github.pr-title-mutation-github.updateprtitle-1", + "checkpoints": [ + { + "id": "pr-title-mutation.normal:title", + "observation": { + "sender": ["96fcd9b9c31e"], + "payloads": ["2a122cfe29f9"], + "settlements": { + "title": "fbc958e4d46e" + }, + "state": "578bc8950993", + "effects": [] + } + }, + { + "id": "pr-title-mutation.result-absent:title", + "observation": { + "sender": ["2d92f601524b"], + "payloads": ["2a122cfe29f9"], + "settlements": { + "title": "6e9fb05124f5" + }, + "state": "5ff779cd8c84", + "effects": [] + } + }, + { + "id": "pr-title-mutation.result-null:title", + "observation": { + "sender": ["ec52831dce6f"], + "payloads": ["2a122cfe29f9"], + "settlements": { + "title": "6e9fb05124f5" + }, + "state": "5ff779cd8c84", + "effects": [] + } + }, + { + "id": "pr-title-mutation.inner-ok-missing:title", + "observation": { + "sender": ["98cad060a5b3"], + "payloads": ["2a122cfe29f9"], + "settlements": { + "title": "6e9fb05124f5" + }, + "state": "5ff779cd8c84", + "effects": [] + } + }, + { + "id": "pr-title-mutation.inner-false-string-error:title", + "observation": { + "sender": ["d8959e64c99e"], + "payloads": ["2a122cfe29f9"], + "settlements": { + "title": "6e9fb05124f5" + }, + "state": "5ff779cd8c84", + "effects": [] + } + }, + { + "id": "pr-title-mutation.inner-false-object-error:title", + "observation": { + "sender": ["17e9a253f62d"], + "payloads": ["2a122cfe29f9"], + "settlements": { + "title": "6e9fb05124f5" + }, + "state": "5ff779cd8c84", + "effects": [] + } + }, + { + "id": "pr-title-mutation.outer-refused:title", + "observation": { + "sender": ["63139c527e1e"], + "payloads": ["2a122cfe29f9"], + "settlements": { + "title": "1b2778bf67a2" + }, + "state": "c5ea88c843eb", + "effects": [] + } + }, + { + "id": "pr-title-mutation.outer-refused-no-message:title", + "observation": { + "sender": ["ae3df1024ded"], + "payloads": ["2a122cfe29f9"], + "settlements": { + "title": "73a201bf0d92" + }, + "state": "0400bbb4177c", + "effects": [] + } + }, + { + "id": "pr-title-mutation.method-not-found:title", + "observation": { + "sender": ["273a783a3e6f"], + "payloads": ["2a122cfe29f9"], + "settlements": { + "title": "fa93ca01f266" + }, + "state": "b3c795dd8d35", + "effects": [] + } + }, + { + "id": "pr-title-mutation.transport-rejection:title", + "observation": { + "sender": ["732177caffde"], + "payloads": ["2a122cfe29f9"], + "settlements": { + "title": "a197c20578aa" + }, + "state": "e1fc6048c4fb", + "effects": [] + } + }, + { + "id": "pr-title-mutation.transport-rejection-no-message:title", + "observation": { + "sender": ["e676985c7e4b"], + "payloads": ["2a122cfe29f9"], + "settlements": { + "title": "73a201bf0d92" + }, + "state": "0400bbb4177c", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-home.host-stats-stats.summary-1.json b/mobile/rpc-foundation/goldens/matrix-home.host-stats-stats.summary-1.json new file mode 100644 index 00000000000..6b67341ab28 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-home.host-stats-stats.summary-1.json @@ -0,0 +1,662 @@ +{ + "operation": "home.host-stats", + "family": "home.host-stats", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "a9e0780298a1443664e7ae02056168aa34d67556c9c056d51a82c7b4a73ad35b", + "scenarioSha256": "5518e08c1b20f0ddd4cb6bc81ff9af032b1a38daf24f3d3497bac5df8b2d0ec5", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "003f84d10dd0": { + "name": "stats.summary#1", + "args": [ + { + "name": "method", + "value": "stats.summary" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "0ebcc6f6a4cb": { + "name": "stats.summary#1", + "args": [ + { + "name": "method", + "value": "stats.summary" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "activeWorktrees": 1, + "totalWorktrees": 3 + } + } + } + }, + "2a8c0c9ced05": { + "name": "stats.summary#1", + "args": [ + { + "name": "method", + "value": "stats.summary" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "334d5072a3ae": { + "name": "stats", + "value": { + "host-1": { + "$rpc": "undefined" + } + }, + "sent": 1 + }, + "44136fa355b3": {}, + "556edbbc8712": { + "host-1": { + "$rpc": "null" + } + }, + "71f63720e55d": { + "name": "stats", + "value": { + "host-1": { + "$rpc": "null" + } + }, + "sent": 1 + }, + "774545f8062f": { + "name": "stats", + "value": { + "host-1": { + "error": { + "message": "inner refused" + }, + "ok": false + } + }, + "sent": 1 + }, + "7836888bb6c0": { + "name": "stats", + "value": { + "host-1": { + "activeWorktrees": 1, + "totalWorktrees": 3 + } + }, + "sent": 1 + }, + "7bf81b1e94c5": { + "name": "stats.summary#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"stats.summary\"}" + }, + "9a84a7559023": { + "host-1": { + "activeWorktrees": 1, + "totalWorktrees": 3 + } + }, + "9c34abfa17e7": { + "host-1": { + "error": { + "message": "inner refused" + }, + "ok": false + } + }, + "9e3e7d14abf9": { + "name": "stats.summary#1", + "args": [ + { + "name": "method", + "value": "stats.summary" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "a392ac528c2b": { + "name": "stats.summary#1", + "args": [ + { + "name": "method", + "value": "stats.summary" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "b474d2a02a6a": { + "host-1": { + "error": "refused" + } + }, + "bf78e405c5d4": { + "name": "stats.summary#1", + "args": [ + { + "name": "method", + "value": "stats.summary" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "c3fad9087af1": { + "name": "stats.summary#1", + "args": [ + { + "name": "method", + "value": "stats.summary" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "c5bfd5f18460": { + "host-1": { + "$rpc": "undefined" + } + }, + "dc03021bee85": { + "name": "stats.summary#1", + "args": [ + { + "name": "method", + "value": "stats.summary" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "e05986a4b6e2": { + "host-1": { + "error": "inner refused", + "ok": false + } + }, + "e180f1e7839f": { + "name": "stats.summary#1", + "args": [ + { + "name": "method", + "value": "stats.summary" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "e20353973dc1": { + "name": "stats.summary#1", + "args": [ + { + "name": "method", + "value": "stats.summary" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "e242a638aa23": { + "name": "stats", + "value": { + "host-1": { + "error": "inner refused", + "ok": false + } + }, + "sent": 1 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ec55f57d0b5d": { + "name": "stats", + "value": { + "host-1": { + "error": "refused" + } + }, + "sent": 1 + }, + "f9b87a5a7a70": { + "name": "stats.summary#1", + "args": [ + { + "name": "method", + "value": "stats.summary" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "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 + } + } + }, + "fa16031454a3": { + "name": "stats.summary#1", + "args": [ + { + "name": "method", + "value": "stats.summary" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "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-home.host-stats-stats.summary-1", + "checkpoints": [ + { + "id": "home-host-stats.prelude:stats-pending", + "observation": { + "sender": ["a392ac528c2b"], + "payloads": ["7bf81b1e94c5"], + "settlements": { + "load": "eb79a9b3682a" + }, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "home-host-stats.normal:settled", + "observation": { + "sender": ["0ebcc6f6a4cb"], + "payloads": ["7bf81b1e94c5"], + "settlements": { + "load": "eb79a9b3682a" + }, + "state": "9a84a7559023", + "effects": ["7836888bb6c0"] + } + }, + { + "id": "home-host-stats.result-absent:settled", + "observation": { + "sender": ["e180f1e7839f"], + "payloads": ["7bf81b1e94c5"], + "settlements": { + "load": "eb79a9b3682a" + }, + "state": "c5bfd5f18460", + "effects": ["334d5072a3ae"] + } + }, + { + "id": "home-host-stats.result-null:settled", + "observation": { + "sender": ["c3fad9087af1"], + "payloads": ["7bf81b1e94c5"], + "settlements": { + "load": "eb79a9b3682a" + }, + "state": "556edbbc8712", + "effects": ["71f63720e55d"] + } + }, + { + "id": "home-host-stats.inner-ok-missing:settled", + "observation": { + "sender": ["2a8c0c9ced05"], + "payloads": ["7bf81b1e94c5"], + "settlements": { + "load": "eb79a9b3682a" + }, + "state": "b474d2a02a6a", + "effects": ["ec55f57d0b5d"] + } + }, + { + "id": "home-host-stats.inner-false-string-error:settled", + "observation": { + "sender": ["003f84d10dd0"], + "payloads": ["7bf81b1e94c5"], + "settlements": { + "load": "eb79a9b3682a" + }, + "state": "e05986a4b6e2", + "effects": ["e242a638aa23"] + } + }, + { + "id": "home-host-stats.inner-false-object-error:settled", + "observation": { + "sender": ["fa16031454a3"], + "payloads": ["7bf81b1e94c5"], + "settlements": { + "load": "eb79a9b3682a" + }, + "state": "9c34abfa17e7", + "effects": ["774545f8062f"] + } + }, + { + "id": "home-host-stats.outer-refused:settled", + "observation": { + "sender": ["9e3e7d14abf9"], + "payloads": ["7bf81b1e94c5"], + "settlements": { + "load": "eb79a9b3682a" + }, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "home-host-stats.outer-refused-no-message:settled", + "observation": { + "sender": ["dc03021bee85"], + "payloads": ["7bf81b1e94c5"], + "settlements": { + "load": "eb79a9b3682a" + }, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "home-host-stats.method-not-found:settled", + "observation": { + "sender": ["f9b87a5a7a70"], + "payloads": ["7bf81b1e94c5"], + "settlements": { + "load": "eb79a9b3682a" + }, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "home-host-stats.transport-rejection:settled", + "observation": { + "sender": ["bf78e405c5d4"], + "payloads": ["7bf81b1e94c5"], + "settlements": { + "load": "eb79a9b3682a" + }, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "home-host-stats.transport-rejection-no-message:settled", + "observation": { + "sender": ["e20353973dc1"], + "payloads": ["7bf81b1e94c5"], + "settlements": { + "load": "eb79a9b3682a" + }, + "state": "44136fa355b3", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-host.view-settings-ui.get-1.json b/mobile/rpc-foundation/goldens/matrix-host.view-settings-ui.get-1.json new file mode 100644 index 00000000000..801c5c31602 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-host.view-settings-ui.get-1.json @@ -0,0 +1,786 @@ +{ + "operation": "host.view-settings", + "family": "host.view-settings", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "a9e0780298a1443664e7ae02056168aa34d67556c9c056d51a82c7b4a73ad35b", + "scenarioSha256": "a9a3191e2e8c36870ce2769a7bb972813f435267fdc6ed9e42632a57a227bbd6", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0039f2221403": { + "name": "ui.get#1", + "args": [ + { + "name": "method", + "value": "ui.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "114056cffd39": { + "name": "ui.get#1", + "args": [ + { + "name": "method", + "value": "ui.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "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 + } + } + }, + "1207e1b06040": { + "name": "workspaceStatuses", + "value": [], + "sent": 1 + }, + "1308c5012cf9": { + "name": "ui.get#1", + "args": [ + { + "name": "method", + "value": "ui.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "17aa61c35dcf": { + "name": "ui.get#1", + "args": [ + { + "name": "method", + "value": "ui.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "217aeff07fa0": { + "name": "groupMode", + "value": "none", + "sent": 1 + }, + "292b632037a0": { + "name": "ui.set#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"ui.set\",\"params\":{\"sortBy\":\"name\"}}" + }, + "3650379e5c37": { + "name": "ui.get#1", + "args": [ + { + "name": "method", + "value": "ui.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "5907841fc56d": { + "name": "ui.get#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"ui.get\"}" + }, + "5fbdd64c75bc": { + "name": "ui.get#1", + "args": [ + { + "name": "method", + "value": "ui.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "61275c3082ca": { + "name": "ui.get#1", + "args": [ + { + "name": "method", + "value": "ui.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "6816213c2ede": { + "name": "collapsedGroups", + "value": [], + "sent": 1 + }, + "757d36f7d7c1": { + "name": "ui.get#1", + "args": [ + { + "name": "method", + "value": "ui.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "78f2fbcd0185": { + "name": "ui.set#1", + "args": [ + { + "name": "method", + "value": "ui.set" + }, + { + "name": "params", + "value": { + "sortBy": "name" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "8ab3467032ef": { + "name": "ui.get#1", + "args": [ + { + "name": "method", + "value": "ui.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "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 + } + } + } + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "993945d30ef2": { + "name": "ui.get#1", + "args": [ + { + "name": "method", + "value": "ui.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "9a285e681215": { + "name": "ui.get#1", + "args": [ + { + "name": "method", + "value": "ui.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "9d2d4e824476": { + "collapsed": [], + "filters": { + "alwaysShowDefaultBranch": true, + "filterRepoIds": [], + "hideDefaultBranch": false, + "hideSleeping": false + }, + "groupMode": "none", + "sortMode": "name", + "statuses": [] + }, + "a424515cabc9": { + "name": "ui.get#1", + "args": [ + { + "name": "method", + "value": "ui.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ui": { + "groupBy": "repo", + "hideSleepingWorkspaces": true, + "sortBy": "name" + } + } + } + } + }, + "a8115697f295": { + "name": "sortMode", + "value": "name", + "sent": 1 + }, + "ba2035345a68": { + "collapsed": [], + "filters": { + "alwaysShowDefaultBranch": true, + "filterRepoIds": [], + "hideDefaultBranch": false, + "hideSleeping": true + }, + "groupMode": "repo", + "sortMode": "name", + "statuses": [] + }, + "bb2162bb7903": { + "name": "filters", + "value": { + "alwaysShowDefaultBranch": true, + "filterRepoIds": [], + "hideDefaultBranch": false, + "hideSleeping": false + }, + "sent": 1 + }, + "bbdab1a7d122": { + "collapsed": [], + "filters": { + "alwaysShowDefaultBranch": true, + "filterRepoIds": [], + "hideDefaultBranch": false, + "hideSleeping": false + }, + "groupMode": "none", + "sortMode": "recent", + "statuses": [] + }, + "d88f3b1774b1": { + "name": "filters", + "value": { + "alwaysShowDefaultBranch": true, + "filterRepoIds": [], + "hideDefaultBranch": false, + "hideSleeping": true + }, + "sent": 1 + }, + "e0a092c9ae88": { + "name": "groupMode", + "value": "repo", + "sent": 1 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "matrix-host.view-settings-ui.get-1", + "checkpoints": [ + { + "id": "host-view-settings-sync.prelude:ui-pending", + "observation": { + "sender": ["5fbdd64c75bc"], + "payloads": ["5907841fc56d"], + "settlements": { + "mount": "eb79a9b3682a", + "sync": "9270aeb7d9c6" + }, + "state": "bbdab1a7d122", + "effects": [] + } + }, + { + "id": "host-view-settings-sync.normal:settled", + "observation": { + "sender": ["a424515cabc9", "78f2fbcd0185"], + "payloads": ["5907841fc56d", "292b632037a0"], + "settlements": { + "mount": "eb79a9b3682a", + "sync": "eb79a9b3682a", + "sort": "eb79a9b3682a" + }, + "state": "ba2035345a68", + "effects": [ + "e0a092c9ae88", + "a8115697f295", + "1207e1b06040", + "6816213c2ede", + "d88f3b1774b1", + "e0a092c9ae88", + "a8115697f295", + "1207e1b06040", + "6816213c2ede", + "d88f3b1774b1" + ] + } + }, + { + "id": "host-view-settings-sync.result-absent:settled", + "observation": { + "sender": ["61275c3082ca", "78f2fbcd0185"], + "payloads": ["5907841fc56d", "292b632037a0"], + "settlements": { + "mount": "eb79a9b3682a", + "sync": "eb79a9b3682a", + "sort": "eb79a9b3682a" + }, + "state": "9d2d4e824476", + "effects": [ + "217aeff07fa0", + "a8115697f295", + "1207e1b06040", + "6816213c2ede", + "bb2162bb7903" + ] + } + }, + { + "id": "host-view-settings-sync.result-null:settled", + "observation": { + "sender": ["993945d30ef2", "78f2fbcd0185"], + "payloads": ["5907841fc56d", "292b632037a0"], + "settlements": { + "mount": "eb79a9b3682a", + "sync": "eb79a9b3682a", + "sort": "eb79a9b3682a" + }, + "state": "9d2d4e824476", + "effects": [ + "217aeff07fa0", + "a8115697f295", + "1207e1b06040", + "6816213c2ede", + "bb2162bb7903" + ] + } + }, + { + "id": "host-view-settings-sync.inner-ok-missing:settled", + "observation": { + "sender": ["9a285e681215", "78f2fbcd0185"], + "payloads": ["5907841fc56d", "292b632037a0"], + "settlements": { + "mount": "eb79a9b3682a", + "sync": "eb79a9b3682a", + "sort": "eb79a9b3682a" + }, + "state": "9d2d4e824476", + "effects": [ + "217aeff07fa0", + "a8115697f295", + "1207e1b06040", + "6816213c2ede", + "bb2162bb7903" + ] + } + }, + { + "id": "host-view-settings-sync.inner-false-string-error:settled", + "observation": { + "sender": ["17aa61c35dcf", "78f2fbcd0185"], + "payloads": ["5907841fc56d", "292b632037a0"], + "settlements": { + "mount": "eb79a9b3682a", + "sync": "eb79a9b3682a", + "sort": "eb79a9b3682a" + }, + "state": "9d2d4e824476", + "effects": [ + "217aeff07fa0", + "a8115697f295", + "1207e1b06040", + "6816213c2ede", + "bb2162bb7903" + ] + } + }, + { + "id": "host-view-settings-sync.inner-false-object-error:settled", + "observation": { + "sender": ["8ab3467032ef", "78f2fbcd0185"], + "payloads": ["5907841fc56d", "292b632037a0"], + "settlements": { + "mount": "eb79a9b3682a", + "sync": "eb79a9b3682a", + "sort": "eb79a9b3682a" + }, + "state": "9d2d4e824476", + "effects": [ + "217aeff07fa0", + "a8115697f295", + "1207e1b06040", + "6816213c2ede", + "bb2162bb7903" + ] + } + }, + { + "id": "host-view-settings-sync.outer-refused:settled", + "observation": { + "sender": ["1308c5012cf9", "78f2fbcd0185"], + "payloads": ["5907841fc56d", "292b632037a0"], + "settlements": { + "mount": "eb79a9b3682a", + "sync": "eb79a9b3682a", + "sort": "eb79a9b3682a" + }, + "state": "9d2d4e824476", + "effects": [ + "217aeff07fa0", + "a8115697f295", + "1207e1b06040", + "6816213c2ede", + "bb2162bb7903" + ] + } + }, + { + "id": "host-view-settings-sync.outer-refused-no-message:settled", + "observation": { + "sender": ["3650379e5c37", "78f2fbcd0185"], + "payloads": ["5907841fc56d", "292b632037a0"], + "settlements": { + "mount": "eb79a9b3682a", + "sync": "eb79a9b3682a", + "sort": "eb79a9b3682a" + }, + "state": "9d2d4e824476", + "effects": [ + "217aeff07fa0", + "a8115697f295", + "1207e1b06040", + "6816213c2ede", + "bb2162bb7903" + ] + } + }, + { + "id": "host-view-settings-sync.method-not-found:settled", + "observation": { + "sender": ["114056cffd39", "78f2fbcd0185"], + "payloads": ["5907841fc56d", "292b632037a0"], + "settlements": { + "mount": "eb79a9b3682a", + "sync": "eb79a9b3682a", + "sort": "eb79a9b3682a" + }, + "state": "9d2d4e824476", + "effects": [ + "217aeff07fa0", + "a8115697f295", + "1207e1b06040", + "6816213c2ede", + "bb2162bb7903" + ] + } + }, + { + "id": "host-view-settings-sync.transport-rejection:settled", + "observation": { + "sender": ["757d36f7d7c1", "78f2fbcd0185"], + "payloads": ["5907841fc56d", "292b632037a0"], + "settlements": { + "mount": "eb79a9b3682a", + "sync": "eb79a9b3682a", + "sort": "eb79a9b3682a" + }, + "state": "9d2d4e824476", + "effects": [ + "217aeff07fa0", + "a8115697f295", + "1207e1b06040", + "6816213c2ede", + "bb2162bb7903" + ] + } + }, + { + "id": "host-view-settings-sync.transport-rejection-no-message:settled", + "observation": { + "sender": ["0039f2221403", "78f2fbcd0185"], + "payloads": ["5907841fc56d", "292b632037a0"], + "settlements": { + "mount": "eb79a9b3682a", + "sync": "eb79a9b3682a", + "sort": "eb79a9b3682a" + }, + "state": "9d2d4e824476", + "effects": [ + "217aeff07fa0", + "a8115697f295", + "1207e1b06040", + "6816213c2ede", + "bb2162bb7903" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-host.view-settings-ui.set-1.json b/mobile/rpc-foundation/goldens/matrix-host.view-settings-ui.set-1.json new file mode 100644 index 00000000000..df2e9fff010 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-host.view-settings-ui.set-1.json @@ -0,0 +1,809 @@ +{ + "operation": "host.view-settings", + "family": "host.view-settings", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "a9e0780298a1443664e7ae02056168aa34d67556c9c056d51a82c7b4a73ad35b", + "scenarioSha256": "30cbeff90a845ab5dd576e302156e859338357b608e87e9fadeddf18ae93d9ca", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0658e20f47f5": { + "name": "ui.set#1", + "args": [ + { + "name": "method", + "value": "ui.set" + }, + { + "name": "params", + "value": { + "sortBy": "name" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "1207e1b06040": { + "name": "workspaceStatuses", + "value": [], + "sent": 1 + }, + "25d97d355299": { + "name": "ui.set#1", + "args": [ + { + "name": "method", + "value": "ui.set" + }, + { + "name": "params", + "value": { + "sortBy": "name" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "292b632037a0": { + "name": "ui.set#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"ui.set\",\"params\":{\"sortBy\":\"name\"}}" + }, + "344b9ddf6cfb": { + "name": "ui.set#1", + "args": [ + { + "name": "method", + "value": "ui.set" + }, + { + "name": "params", + "value": { + "sortBy": "name" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "44e91172f4a0": { + "name": "ui.set#1", + "args": [ + { + "name": "method", + "value": "ui.set" + }, + { + "name": "params", + "value": { + "sortBy": "name" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "53a6789707e6": { + "name": "ui.set#1", + "args": [ + { + "name": "method", + "value": "ui.set" + }, + { + "name": "params", + "value": { + "sortBy": "name" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "5907841fc56d": { + "name": "ui.get#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"ui.get\"}" + }, + "5fbdd64c75bc": { + "name": "ui.get#1", + "args": [ + { + "name": "method", + "value": "ui.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "6816213c2ede": { + "name": "collapsedGroups", + "value": [], + "sent": 1 + }, + "733b56879f90": { + "name": "ui.set#1", + "args": [ + { + "name": "method", + "value": "ui.set" + }, + { + "name": "params", + "value": { + "sortBy": "name" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "78f2fbcd0185": { + "name": "ui.set#1", + "args": [ + { + "name": "method", + "value": "ui.set" + }, + { + "name": "params", + "value": { + "sortBy": "name" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "a234a06a4465": { + "name": "ui.set#1", + "args": [ + { + "name": "method", + "value": "ui.set" + }, + { + "name": "params", + "value": { + "sortBy": "name" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "a424515cabc9": { + "name": "ui.get#1", + "args": [ + { + "name": "method", + "value": "ui.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ui": { + "groupBy": "repo", + "hideSleepingWorkspaces": true, + "sortBy": "name" + } + } + } + } + }, + "a8115697f295": { + "name": "sortMode", + "value": "name", + "sent": 1 + }, + "ba2035345a68": { + "collapsed": [], + "filters": { + "alwaysShowDefaultBranch": true, + "filterRepoIds": [], + "hideDefaultBranch": false, + "hideSleeping": true + }, + "groupMode": "repo", + "sortMode": "name", + "statuses": [] + }, + "bbdab1a7d122": { + "collapsed": [], + "filters": { + "alwaysShowDefaultBranch": true, + "filterRepoIds": [], + "hideDefaultBranch": false, + "hideSleeping": false + }, + "groupMode": "none", + "sortMode": "recent", + "statuses": [] + }, + "c6e108d0fcc5": { + "name": "ui.set#1", + "args": [ + { + "name": "method", + "value": "ui.set" + }, + { + "name": "params", + "value": { + "sortBy": "name" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "d88f3b1774b1": { + "name": "filters", + "value": { + "alwaysShowDefaultBranch": true, + "filterRepoIds": [], + "hideDefaultBranch": false, + "hideSleeping": true + }, + "sent": 1 + }, + "d991b0c4e961": { + "name": "ui.set#1", + "args": [ + { + "name": "method", + "value": "ui.set" + }, + { + "name": "params", + "value": { + "sortBy": "name" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "e0a092c9ae88": { + "name": "groupMode", + "value": "repo", + "sent": 1 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "fa3d32a591e8": { + "name": "ui.set#1", + "args": [ + { + "name": "method", + "value": "ui.set" + }, + { + "name": "params", + "value": { + "sortBy": "name" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + } + }, + "recording": { + "scenario": "matrix-host.view-settings-ui.set-1", + "checkpoints": [ + { + "id": "host-view-settings-sync.prelude:ui-pending", + "observation": { + "sender": ["5fbdd64c75bc"], + "payloads": ["5907841fc56d"], + "settlements": { + "mount": "eb79a9b3682a", + "sync": "9270aeb7d9c6" + }, + "state": "bbdab1a7d122", + "effects": [] + } + }, + { + "id": "host-view-settings-sync.normal:settled", + "observation": { + "sender": ["a424515cabc9", "78f2fbcd0185"], + "payloads": ["5907841fc56d", "292b632037a0"], + "settlements": { + "mount": "eb79a9b3682a", + "sync": "eb79a9b3682a", + "sort": "eb79a9b3682a" + }, + "state": "ba2035345a68", + "effects": [ + "e0a092c9ae88", + "a8115697f295", + "1207e1b06040", + "6816213c2ede", + "d88f3b1774b1", + "e0a092c9ae88", + "a8115697f295", + "1207e1b06040", + "6816213c2ede", + "d88f3b1774b1" + ] + } + }, + { + "id": "host-view-settings-sync.result-absent:settled", + "observation": { + "sender": ["a424515cabc9", "733b56879f90"], + "payloads": ["5907841fc56d", "292b632037a0"], + "settlements": { + "mount": "eb79a9b3682a", + "sync": "eb79a9b3682a", + "sort": "eb79a9b3682a" + }, + "state": "ba2035345a68", + "effects": [ + "e0a092c9ae88", + "a8115697f295", + "1207e1b06040", + "6816213c2ede", + "d88f3b1774b1", + "e0a092c9ae88", + "a8115697f295", + "1207e1b06040", + "6816213c2ede", + "d88f3b1774b1" + ] + } + }, + { + "id": "host-view-settings-sync.result-null:settled", + "observation": { + "sender": ["a424515cabc9", "d991b0c4e961"], + "payloads": ["5907841fc56d", "292b632037a0"], + "settlements": { + "mount": "eb79a9b3682a", + "sync": "eb79a9b3682a", + "sort": "eb79a9b3682a" + }, + "state": "ba2035345a68", + "effects": [ + "e0a092c9ae88", + "a8115697f295", + "1207e1b06040", + "6816213c2ede", + "d88f3b1774b1", + "e0a092c9ae88", + "a8115697f295", + "1207e1b06040", + "6816213c2ede", + "d88f3b1774b1" + ] + } + }, + { + "id": "host-view-settings-sync.inner-ok-missing:settled", + "observation": { + "sender": ["a424515cabc9", "a234a06a4465"], + "payloads": ["5907841fc56d", "292b632037a0"], + "settlements": { + "mount": "eb79a9b3682a", + "sync": "eb79a9b3682a", + "sort": "eb79a9b3682a" + }, + "state": "ba2035345a68", + "effects": [ + "e0a092c9ae88", + "a8115697f295", + "1207e1b06040", + "6816213c2ede", + "d88f3b1774b1", + "e0a092c9ae88", + "a8115697f295", + "1207e1b06040", + "6816213c2ede", + "d88f3b1774b1" + ] + } + }, + { + "id": "host-view-settings-sync.inner-false-string-error:settled", + "observation": { + "sender": ["a424515cabc9", "344b9ddf6cfb"], + "payloads": ["5907841fc56d", "292b632037a0"], + "settlements": { + "mount": "eb79a9b3682a", + "sync": "eb79a9b3682a", + "sort": "eb79a9b3682a" + }, + "state": "ba2035345a68", + "effects": [ + "e0a092c9ae88", + "a8115697f295", + "1207e1b06040", + "6816213c2ede", + "d88f3b1774b1", + "e0a092c9ae88", + "a8115697f295", + "1207e1b06040", + "6816213c2ede", + "d88f3b1774b1" + ] + } + }, + { + "id": "host-view-settings-sync.inner-false-object-error:settled", + "observation": { + "sender": ["a424515cabc9", "c6e108d0fcc5"], + "payloads": ["5907841fc56d", "292b632037a0"], + "settlements": { + "mount": "eb79a9b3682a", + "sync": "eb79a9b3682a", + "sort": "eb79a9b3682a" + }, + "state": "ba2035345a68", + "effects": [ + "e0a092c9ae88", + "a8115697f295", + "1207e1b06040", + "6816213c2ede", + "d88f3b1774b1", + "e0a092c9ae88", + "a8115697f295", + "1207e1b06040", + "6816213c2ede", + "d88f3b1774b1" + ] + } + }, + { + "id": "host-view-settings-sync.outer-refused:settled", + "observation": { + "sender": ["a424515cabc9", "fa3d32a591e8"], + "payloads": ["5907841fc56d", "292b632037a0"], + "settlements": { + "mount": "eb79a9b3682a", + "sync": "eb79a9b3682a", + "sort": "eb79a9b3682a" + }, + "state": "ba2035345a68", + "effects": [ + "e0a092c9ae88", + "a8115697f295", + "1207e1b06040", + "6816213c2ede", + "d88f3b1774b1", + "e0a092c9ae88", + "a8115697f295", + "1207e1b06040", + "6816213c2ede", + "d88f3b1774b1" + ] + } + }, + { + "id": "host-view-settings-sync.outer-refused-no-message:settled", + "observation": { + "sender": ["a424515cabc9", "0658e20f47f5"], + "payloads": ["5907841fc56d", "292b632037a0"], + "settlements": { + "mount": "eb79a9b3682a", + "sync": "eb79a9b3682a", + "sort": "eb79a9b3682a" + }, + "state": "ba2035345a68", + "effects": [ + "e0a092c9ae88", + "a8115697f295", + "1207e1b06040", + "6816213c2ede", + "d88f3b1774b1", + "e0a092c9ae88", + "a8115697f295", + "1207e1b06040", + "6816213c2ede", + "d88f3b1774b1" + ] + } + }, + { + "id": "host-view-settings-sync.method-not-found:settled", + "observation": { + "sender": ["a424515cabc9", "53a6789707e6"], + "payloads": ["5907841fc56d", "292b632037a0"], + "settlements": { + "mount": "eb79a9b3682a", + "sync": "eb79a9b3682a", + "sort": "eb79a9b3682a" + }, + "state": "ba2035345a68", + "effects": [ + "e0a092c9ae88", + "a8115697f295", + "1207e1b06040", + "6816213c2ede", + "d88f3b1774b1", + "e0a092c9ae88", + "a8115697f295", + "1207e1b06040", + "6816213c2ede", + "d88f3b1774b1" + ] + } + }, + { + "id": "host-view-settings-sync.transport-rejection:settled", + "observation": { + "sender": ["a424515cabc9", "44e91172f4a0"], + "payloads": ["5907841fc56d", "292b632037a0"], + "settlements": { + "mount": "eb79a9b3682a", + "sync": "eb79a9b3682a", + "sort": "eb79a9b3682a" + }, + "state": "ba2035345a68", + "effects": [ + "e0a092c9ae88", + "a8115697f295", + "1207e1b06040", + "6816213c2ede", + "d88f3b1774b1", + "e0a092c9ae88", + "a8115697f295", + "1207e1b06040", + "6816213c2ede", + "d88f3b1774b1" + ] + } + }, + { + "id": "host-view-settings-sync.transport-rejection-no-message:settled", + "observation": { + "sender": ["a424515cabc9", "25d97d355299"], + "payloads": ["5907841fc56d", "292b632037a0"], + "settlements": { + "mount": "eb79a9b3682a", + "sync": "eb79a9b3682a", + "sort": "eb79a9b3682a" + }, + "state": "ba2035345a68", + "effects": [ + "e0a092c9ae88", + "a8115697f295", + "1207e1b06040", + "6816213c2ede", + "d88f3b1774b1", + "e0a092c9ae88", + "a8115697f295", + "1207e1b06040", + "6816213c2ede", + "d88f3b1774b1" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-host.worktree-actions-worktree.activate-1.json b/mobile/rpc-foundation/goldens/matrix-host.worktree-actions-worktree.activate-1.json new file mode 100644 index 00000000000..3119d29f7be --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-host.worktree-actions-worktree.activate-1.json @@ -0,0 +1,1164 @@ +{ + "operation": "host.worktree-actions", + "family": "host.worktree-actions", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "92c29bd78ca0c0d5917e9386fc447bb9a1698b1d1ffaba0db7546eaac60da639", + "scenarioSha256": "7e842584620018d5ec5560711d63a472302e8da80cfe65dfcd2952aebb509af2", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "04938673cbf5": { + "name": "worktree.activate#1", + "args": [ + { + "name": "method", + "value": "worktree.activate" + }, + { + "name": "params", + "value": { + "navigation": "caller", + "notifyClients": false, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "088a989c038b": { + "name": "worktrees", + "value": [ + { + "branch": "feature/pin", + "displayName": "marlin", + "hasAttachedPty": false, + "isPinned": true, + "linkedPR": { + "$rpc": "null" + }, + "liveTerminalCount": 0, + "path": "/repos/marlin/wt-1", + "preview": "", + "repo": "marlin", + "repoId": "repo-1", + "unread": false, + "worktreeId": "wt-1" + } + ], + "sent": 0 + }, + "2b635c2a4fbb": { + "name": "worktree.rm#1", + "args": [ + { + "name": "method", + "value": "worktree.rm" + }, + { + "name": "params", + "value": { + "force": true, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "2d7fff77e4e1": { + "name": "worktree.activate#1", + "args": [ + { + "name": "method", + "value": "worktree.activate" + }, + { + "name": "params", + "value": { + "navigation": "caller", + "notifyClients": false, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "2d8ad3ab13bb": { + "name": "worktree.activate#1", + "args": [ + { + "name": "method", + "value": "worktree.activate" + }, + { + "name": "params", + "value": { + "navigation": "caller", + "notifyClients": false, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "2eb4a9090f6f": { + "name": "worktree.activate#1", + "args": [ + { + "name": "method", + "value": "worktree.activate" + }, + { + "name": "params", + "value": { + "navigation": "caller", + "notifyClients": false, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "3e27f9568029": { + "name": "lastKnownWorktrees", + "value": [ + { + "branch": "feature/pin", + "displayName": "marlin", + "hasAttachedPty": false, + "isPinned": true, + "linkedPR": { + "$rpc": "null" + }, + "liveTerminalCount": 0, + "path": "/repos/marlin/wt-1", + "preview": "", + "repo": "marlin", + "repoId": "repo-1", + "unread": false, + "worktreeId": "wt-1" + } + ], + "sent": 0 + }, + "403256b7ebef": { + "name": "worktree.activate#1", + "args": [ + { + "name": "method", + "value": "worktree.activate" + }, + { + "name": "params", + "value": { + "navigation": "caller", + "notifyClients": false, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "4caf7515e224": { + "name": "worktree.set#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.set\",\"params\":{\"worktree\":\"id:wt-1\",\"isPinned\":true}}" + }, + "56b6d4fb8c56": { + "name": "worktree.set#1", + "args": [ + { + "name": "method", + "value": "worktree.set" + }, + { + "name": "params", + "value": { + "isPinned": true, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "69d698d4f352": { + "name": "worktree.rm#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.rm\",\"params\":{\"worktree\":\"id:wt-1\",\"force\":true}}" + }, + "6e959a9dd70e": { + "confirmRemoveHost": false, + "lastKnownWorktrees": [], + "optimisticActiveWorktreeIdentity": "|wt-1", + "pinnedIds": ["wt-1"], + "routeActionState": {}, + "worktrees": [] + }, + "71246d169f18": { + "name": "worktrees", + "value": [], + "sent": 2 + }, + "8839215bd1a5": { + "name": "lastKnownWorktrees", + "value": [], + "sent": 2 + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "9a9b0d6699b2": { + "confirmRemoveHost": false, + "lastKnownWorktrees": [ + { + "branch": "feature/pin", + "displayName": "marlin", + "hasAttachedPty": false, + "isPinned": true, + "linkedPR": { + "$rpc": "null" + }, + "liveTerminalCount": 0, + "path": "/repos/marlin/wt-1", + "preview": "", + "repo": "marlin", + "repoId": "repo-1", + "unread": false, + "worktreeId": "wt-1" + } + ], + "optimisticActiveWorktreeIdentity": { + "$rpc": "null" + }, + "pinnedIds": ["wt-1"], + "routeActionState": {}, + "worktrees": [ + { + "branch": "feature/pin", + "displayName": "marlin", + "hasAttachedPty": false, + "isPinned": true, + "linkedPR": { + "$rpc": "null" + }, + "liveTerminalCount": 0, + "path": "/repos/marlin/wt-1", + "preview": "", + "repo": "marlin", + "repoId": "repo-1", + "unread": false, + "worktreeId": "wt-1" + } + ] + }, + "a0393e57105c": { + "name": "worktree.activate#1", + "args": [ + { + "name": "method", + "value": "worktree.activate" + }, + { + "name": "params", + "value": { + "navigation": "caller", + "notifyClients": false, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "a970c9a870bb": { + "name": "pinnedIds", + "value": ["wt-1"], + "sent": 0 + }, + "bb44ad78848e": { + "name": "optimisticActiveWorktreeIdentity", + "value": "|wt-1", + "sent": 1 + }, + "bea1b89d2581": { + "name": "worktree.activate#1", + "args": [ + { + "name": "method", + "value": "worktree.activate" + }, + { + "name": "params", + "value": { + "navigation": "caller", + "notifyClients": false, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "bf2b36bda2d2": { + "name": "worktree.set#1", + "args": [ + { + "name": "method", + "value": "worktree.set" + }, + { + "name": "params", + "value": { + "isPinned": true, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "c3eecb0c6e96": { + "name": "worktree.activate#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.activate\",\"params\":{\"worktree\":\"id:wt-1\",\"notifyClients\":false,\"navigation\":\"caller\"}}" + }, + "d4d67a091d31": { + "name": "worktree.activate#1", + "args": [ + { + "name": "method", + "value": "worktree.activate" + }, + { + "name": "params", + "value": { + "navigation": "caller", + "notifyClients": false, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "db04b3f07cf4": { + "name": "worktree.activate#1", + "args": [ + { + "name": "method", + "value": "worktree.activate" + }, + { + "name": "params", + "value": { + "navigation": "caller", + "notifyClients": false, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "e3e3c397a66a": { + "name": "worktree.rm#1", + "args": [ + { + "name": "method", + "value": "worktree.rm" + }, + { + "name": "params", + "value": { + "force": true, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ef3b6a5ee1f2": { + "name": "worktree.activate#1", + "args": [ + { + "name": "method", + "value": "worktree.activate" + }, + { + "name": "params", + "value": { + "navigation": "caller", + "notifyClients": false, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "f7f6b21128d9": { + "name": "worktree.activate#1", + "args": [ + { + "name": "method", + "value": "worktree.activate" + }, + { + "name": "params", + "value": { + "navigation": "caller", + "notifyClients": false, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + } + }, + "recording": { + "scenario": "matrix-host.worktree-actions-worktree.activate-1", + "checkpoints": [ + { + "id": "host-worktree-actions-pin-open-delete.prelude:pin-optimistic", + "observation": { + "sender": ["bf2b36bda2d2"], + "payloads": ["4caf7515e224"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a" + }, + "state": "9a9b0d6699b2", + "effects": ["088a989c038b", "3e27f9568029", "a970c9a870bb"] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.normal:delete-optimistic", + "observation": { + "sender": ["56b6d4fb8c56", "04938673cbf5", "e3e3c397a66a"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "9270aeb7d9c6" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.normal:settled", + "observation": { + "sender": ["56b6d4fb8c56", "04938673cbf5", "2b635c2a4fbb"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "eb79a9b3682a" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.result-absent:delete-optimistic", + "observation": { + "sender": ["56b6d4fb8c56", "2d8ad3ab13bb", "e3e3c397a66a"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "9270aeb7d9c6" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.result-absent:settled", + "observation": { + "sender": ["56b6d4fb8c56", "2d8ad3ab13bb", "2b635c2a4fbb"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "eb79a9b3682a" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.result-null:delete-optimistic", + "observation": { + "sender": ["56b6d4fb8c56", "ef3b6a5ee1f2", "e3e3c397a66a"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "9270aeb7d9c6" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.result-null:settled", + "observation": { + "sender": ["56b6d4fb8c56", "ef3b6a5ee1f2", "2b635c2a4fbb"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "eb79a9b3682a" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.inner-ok-missing:delete-optimistic", + "observation": { + "sender": ["56b6d4fb8c56", "2eb4a9090f6f", "e3e3c397a66a"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "9270aeb7d9c6" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.inner-ok-missing:settled", + "observation": { + "sender": ["56b6d4fb8c56", "2eb4a9090f6f", "2b635c2a4fbb"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "eb79a9b3682a" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.inner-false-string-error:delete-optimistic", + "observation": { + "sender": ["56b6d4fb8c56", "db04b3f07cf4", "e3e3c397a66a"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "9270aeb7d9c6" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.inner-false-string-error:settled", + "observation": { + "sender": ["56b6d4fb8c56", "db04b3f07cf4", "2b635c2a4fbb"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "eb79a9b3682a" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.inner-false-object-error:delete-optimistic", + "observation": { + "sender": ["56b6d4fb8c56", "403256b7ebef", "e3e3c397a66a"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "9270aeb7d9c6" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.inner-false-object-error:settled", + "observation": { + "sender": ["56b6d4fb8c56", "403256b7ebef", "2b635c2a4fbb"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "eb79a9b3682a" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.outer-refused:delete-optimistic", + "observation": { + "sender": ["56b6d4fb8c56", "d4d67a091d31", "e3e3c397a66a"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "9270aeb7d9c6" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.outer-refused:settled", + "observation": { + "sender": ["56b6d4fb8c56", "d4d67a091d31", "2b635c2a4fbb"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "eb79a9b3682a" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.outer-refused-no-message:delete-optimistic", + "observation": { + "sender": ["56b6d4fb8c56", "bea1b89d2581", "e3e3c397a66a"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "9270aeb7d9c6" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.outer-refused-no-message:settled", + "observation": { + "sender": ["56b6d4fb8c56", "bea1b89d2581", "2b635c2a4fbb"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "eb79a9b3682a" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.method-not-found:delete-optimistic", + "observation": { + "sender": ["56b6d4fb8c56", "f7f6b21128d9", "e3e3c397a66a"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "9270aeb7d9c6" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.method-not-found:settled", + "observation": { + "sender": ["56b6d4fb8c56", "f7f6b21128d9", "2b635c2a4fbb"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "eb79a9b3682a" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.transport-rejection:delete-optimistic", + "observation": { + "sender": ["56b6d4fb8c56", "2d7fff77e4e1", "e3e3c397a66a"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "9270aeb7d9c6" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.transport-rejection:settled", + "observation": { + "sender": ["56b6d4fb8c56", "2d7fff77e4e1", "2b635c2a4fbb"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "eb79a9b3682a" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.transport-rejection-no-message:delete-optimistic", + "observation": { + "sender": ["56b6d4fb8c56", "a0393e57105c", "e3e3c397a66a"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "9270aeb7d9c6" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.transport-rejection-no-message:settled", + "observation": { + "sender": ["56b6d4fb8c56", "a0393e57105c", "2b635c2a4fbb"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "eb79a9b3682a" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-host.worktree-actions-worktree.rm-1.json b/mobile/rpc-foundation/goldens/matrix-host.worktree-actions-worktree.rm-1.json new file mode 100644 index 00000000000..4413cee90dc --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-host.worktree-actions-worktree.rm-1.json @@ -0,0 +1,1086 @@ +{ + "operation": "host.worktree-actions", + "family": "host.worktree-actions", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "92c29bd78ca0c0d5917e9386fc447bb9a1698b1d1ffaba0db7546eaac60da639", + "scenarioSha256": "c47656a4ca21762e4b5a247ddf9a96efb746bec81e942ffa308a774bab1449e2", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "04938673cbf5": { + "name": "worktree.activate#1", + "args": [ + { + "name": "method", + "value": "worktree.activate" + }, + { + "name": "params", + "value": { + "navigation": "caller", + "notifyClients": false, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "064a538f6c1c": { + "confirmRemoveHost": false, + "lastKnownWorktrees": [ + { + "branch": "feature/pin", + "displayName": "marlin", + "hasAttachedPty": false, + "isPinned": false, + "linkedPR": { + "$rpc": "null" + }, + "liveTerminalCount": 0, + "path": "/repos/marlin/wt-1", + "preview": "", + "repo": "marlin", + "repoId": "repo-1", + "unread": false, + "worktreeId": "wt-1" + } + ], + "optimisticActiveWorktreeIdentity": "|wt-1", + "pinnedIds": ["wt-1"], + "routeActionState": {}, + "worktrees": [ + { + "branch": "feature/pin", + "displayName": "marlin", + "hasAttachedPty": false, + "isPinned": false, + "linkedPR": { + "$rpc": "null" + }, + "liveTerminalCount": 0, + "path": "/repos/marlin/wt-1", + "preview": "", + "repo": "marlin", + "repoId": "repo-1", + "unread": false, + "worktreeId": "wt-1" + } + ] + }, + "088a989c038b": { + "name": "worktrees", + "value": [ + { + "branch": "feature/pin", + "displayName": "marlin", + "hasAttachedPty": false, + "isPinned": true, + "linkedPR": { + "$rpc": "null" + }, + "liveTerminalCount": 0, + "path": "/repos/marlin/wt-1", + "preview": "", + "repo": "marlin", + "repoId": "repo-1", + "unread": false, + "worktreeId": "wt-1" + } + ], + "sent": 0 + }, + "11e971c034ae": { + "name": "worktree.rm#1", + "args": [ + { + "name": "method", + "value": "worktree.rm" + }, + { + "name": "params", + "value": { + "force": true, + "worktree": "id:wt-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 + } + } + } + }, + "2b635c2a4fbb": { + "name": "worktree.rm#1", + "args": [ + { + "name": "method", + "value": "worktree.rm" + }, + { + "name": "params", + "value": { + "force": true, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "2c0740d2cefb": { + "name": "worktree.rm#1", + "args": [ + { + "name": "method", + "value": "worktree.rm" + }, + { + "name": "params", + "value": { + "force": true, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-3", + "ok": false + } + } + }, + "3e27f9568029": { + "name": "lastKnownWorktrees", + "value": [ + { + "branch": "feature/pin", + "displayName": "marlin", + "hasAttachedPty": false, + "isPinned": true, + "linkedPR": { + "$rpc": "null" + }, + "liveTerminalCount": 0, + "path": "/repos/marlin/wt-1", + "preview": "", + "repo": "marlin", + "repoId": "repo-1", + "unread": false, + "worktreeId": "wt-1" + } + ], + "sent": 0 + }, + "4caf7515e224": { + "name": "worktree.set#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.set\",\"params\":{\"worktree\":\"id:wt-1\",\"isPinned\":true}}" + }, + "4f1b109adcc0": { + "name": "worktree.rm#1", + "args": [ + { + "name": "method", + "value": "worktree.rm" + }, + { + "name": "params", + "value": { + "force": true, + "worktree": "id:wt-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 + } + } + } + }, + "56b6d4fb8c56": { + "name": "worktree.set#1", + "args": [ + { + "name": "method", + "value": "worktree.set" + }, + { + "name": "params", + "value": { + "isPinned": true, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "60cb8c68db7d": { + "name": "worktree.rm#1", + "args": [ + { + "name": "method", + "value": "worktree.rm" + }, + { + "name": "params", + "value": { + "force": true, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Connection closed", + "isRpcDeliveryUnknown": true + } + } + }, + "69d698d4f352": { + "name": "worktree.rm#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.rm\",\"params\":{\"worktree\":\"id:wt-1\",\"force\":true}}" + }, + "6e959a9dd70e": { + "confirmRemoveHost": false, + "lastKnownWorktrees": [], + "optimisticActiveWorktreeIdentity": "|wt-1", + "pinnedIds": ["wt-1"], + "routeActionState": {}, + "worktrees": [] + }, + "71246d169f18": { + "name": "worktrees", + "value": [], + "sent": 2 + }, + "76533c02700f": { + "name": "worktrees", + "value": [ + { + "branch": "feature/pin", + "displayName": "marlin", + "hasAttachedPty": false, + "isPinned": false, + "linkedPR": { + "$rpc": "null" + }, + "liveTerminalCount": 0, + "path": "/repos/marlin/wt-1", + "preview": "", + "repo": "marlin", + "repoId": "repo-1", + "unread": false, + "worktreeId": "wt-1" + } + ], + "sent": 3 + }, + "7ce7ff16ad9e": { + "name": "worktree.rm#1", + "args": [ + { + "name": "method", + "value": "worktree.rm" + }, + { + "name": "params", + "value": { + "force": true, + "worktree": "id:wt-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 + } + } + }, + "86754b292acd": { + "name": "worktree.rm#1", + "args": [ + { + "name": "method", + "value": "worktree.rm" + }, + { + "name": "params", + "value": { + "force": true, + "worktree": "id:wt-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 + } + } + }, + "8839215bd1a5": { + "name": "lastKnownWorktrees", + "value": [], + "sent": 2 + }, + "909c8bc23636": { + "name": "worktree.rm#1", + "args": [ + { + "name": "method", + "value": "worktree.rm" + }, + { + "name": "params", + "value": { + "force": true, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "972099c06c75": { + "name": "worktree.rm#1", + "args": [ + { + "name": "method", + "value": "worktree.rm" + }, + { + "name": "params", + "value": { + "force": true, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true + } + } + }, + "9a9b0d6699b2": { + "confirmRemoveHost": false, + "lastKnownWorktrees": [ + { + "branch": "feature/pin", + "displayName": "marlin", + "hasAttachedPty": false, + "isPinned": true, + "linkedPR": { + "$rpc": "null" + }, + "liveTerminalCount": 0, + "path": "/repos/marlin/wt-1", + "preview": "", + "repo": "marlin", + "repoId": "repo-1", + "unread": false, + "worktreeId": "wt-1" + } + ], + "optimisticActiveWorktreeIdentity": { + "$rpc": "null" + }, + "pinnedIds": ["wt-1"], + "routeActionState": {}, + "worktrees": [ + { + "branch": "feature/pin", + "displayName": "marlin", + "hasAttachedPty": false, + "isPinned": true, + "linkedPR": { + "$rpc": "null" + }, + "liveTerminalCount": 0, + "path": "/repos/marlin/wt-1", + "preview": "", + "repo": "marlin", + "repoId": "repo-1", + "unread": false, + "worktreeId": "wt-1" + } + ] + }, + "a970c9a870bb": { + "name": "pinnedIds", + "value": ["wt-1"], + "sent": 0 + }, + "b9380463fe37": { + "name": "lastKnownWorktrees", + "value": [ + { + "branch": "feature/pin", + "displayName": "marlin", + "hasAttachedPty": false, + "isPinned": false, + "linkedPR": { + "$rpc": "null" + }, + "liveTerminalCount": 0, + "path": "/repos/marlin/wt-1", + "preview": "", + "repo": "marlin", + "repoId": "repo-1", + "unread": false, + "worktreeId": "wt-1" + } + ], + "sent": 3 + }, + "bb44ad78848e": { + "name": "optimisticActiveWorktreeIdentity", + "value": "|wt-1", + "sent": 1 + }, + "bf2b36bda2d2": { + "name": "worktree.set#1", + "args": [ + { + "name": "method", + "value": "worktree.set" + }, + { + "name": "params", + "value": { + "isPinned": true, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "c3eecb0c6e96": { + "name": "worktree.activate#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.activate\",\"params\":{\"worktree\":\"id:wt-1\",\"notifyClients\":false,\"navigation\":\"caller\"}}" + }, + "ce97d2eedacb": { + "name": "worktree.rm#1", + "args": [ + { + "name": "method", + "value": "worktree.rm" + }, + { + "name": "params", + "value": { + "force": true, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "cf69e8a7e125": { + "name": "worktree.rm#1", + "args": [ + { + "name": "method", + "value": "worktree.rm" + }, + { + "name": "params", + "value": { + "force": true, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "e3e3c397a66a": { + "name": "worktree.rm#1", + "args": [ + { + "name": "method", + "value": "worktree.rm" + }, + { + "name": "params", + "value": { + "force": true, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ff4c661d50a3": { + "name": "worktree.rm#1", + "args": [ + { + "name": "method", + "value": "worktree.rm" + }, + { + "name": "params", + "value": { + "force": true, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": "refused" + } + } + } + } + }, + "recording": { + "scenario": "matrix-host.worktree-actions-worktree.rm-1", + "checkpoints": [ + { + "id": "host-worktree-actions-pin-open-delete.prelude:pin-optimistic", + "observation": { + "sender": ["bf2b36bda2d2"], + "payloads": ["4caf7515e224"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a" + }, + "state": "9a9b0d6699b2", + "effects": ["088a989c038b", "3e27f9568029", "a970c9a870bb"] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.prelude:delete-optimistic", + "observation": { + "sender": ["56b6d4fb8c56", "04938673cbf5", "e3e3c397a66a"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "9270aeb7d9c6" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.prelude:cleanup", + "observation": { + "sender": ["56b6d4fb8c56", "04938673cbf5", "60cb8c68db7d"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "eb79a9b3682a" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5", + "76533c02700f", + "b9380463fe37" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.normal:settled", + "observation": { + "sender": ["56b6d4fb8c56", "04938673cbf5", "2b635c2a4fbb"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "eb79a9b3682a" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.result-absent:settled", + "observation": { + "sender": ["56b6d4fb8c56", "04938673cbf5", "972099c06c75"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "eb79a9b3682a" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.result-null:settled", + "observation": { + "sender": ["56b6d4fb8c56", "04938673cbf5", "909c8bc23636"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "eb79a9b3682a" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.inner-ok-missing:settled", + "observation": { + "sender": ["56b6d4fb8c56", "04938673cbf5", "ff4c661d50a3"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "eb79a9b3682a" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.inner-false-string-error:settled", + "observation": { + "sender": ["56b6d4fb8c56", "04938673cbf5", "4f1b109adcc0"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "eb79a9b3682a" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.inner-false-object-error:settled", + "observation": { + "sender": ["56b6d4fb8c56", "04938673cbf5", "11e971c034ae"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "eb79a9b3682a" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.outer-refused:settled", + "observation": { + "sender": ["56b6d4fb8c56", "04938673cbf5", "7ce7ff16ad9e"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "eb79a9b3682a" + }, + "state": "064a538f6c1c", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5", + "76533c02700f", + "b9380463fe37" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.outer-refused-no-message:settled", + "observation": { + "sender": ["56b6d4fb8c56", "04938673cbf5", "2c0740d2cefb"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "eb79a9b3682a" + }, + "state": "064a538f6c1c", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5", + "76533c02700f", + "b9380463fe37" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.method-not-found:settled", + "observation": { + "sender": ["56b6d4fb8c56", "04938673cbf5", "86754b292acd"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "eb79a9b3682a" + }, + "state": "064a538f6c1c", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5", + "76533c02700f", + "b9380463fe37" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.transport-rejection:settled", + "observation": { + "sender": ["56b6d4fb8c56", "04938673cbf5", "ce97d2eedacb"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "eb79a9b3682a" + }, + "state": "064a538f6c1c", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5", + "76533c02700f", + "b9380463fe37" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.transport-rejection-no-message:settled", + "observation": { + "sender": ["56b6d4fb8c56", "04938673cbf5", "cf69e8a7e125"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "eb79a9b3682a" + }, + "state": "064a538f6c1c", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5", + "76533c02700f", + "b9380463fe37" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-host.worktree-actions-worktree.set-1.json b/mobile/rpc-foundation/goldens/matrix-host.worktree-actions-worktree.set-1.json new file mode 100644 index 00000000000..ad3f968af65 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-host.worktree-actions-worktree.set-1.json @@ -0,0 +1,1154 @@ +{ + "operation": "host.worktree-actions", + "family": "host.worktree-actions", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "92c29bd78ca0c0d5917e9386fc447bb9a1698b1d1ffaba0db7546eaac60da639", + "scenarioSha256": "054f1b1380fc6cfd4b0f4a85d6f143822a12a0a732d550dd85eef64a6556b3ba", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "04938673cbf5": { + "name": "worktree.activate#1", + "args": [ + { + "name": "method", + "value": "worktree.activate" + }, + { + "name": "params", + "value": { + "navigation": "caller", + "notifyClients": false, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "088a989c038b": { + "name": "worktrees", + "value": [ + { + "branch": "feature/pin", + "displayName": "marlin", + "hasAttachedPty": false, + "isPinned": true, + "linkedPR": { + "$rpc": "null" + }, + "liveTerminalCount": 0, + "path": "/repos/marlin/wt-1", + "preview": "", + "repo": "marlin", + "repoId": "repo-1", + "unread": false, + "worktreeId": "wt-1" + } + ], + "sent": 0 + }, + "1266cec86f6a": { + "name": "worktree.set#1", + "args": [ + { + "name": "method", + "value": "worktree.set" + }, + { + "name": "params", + "value": { + "isPinned": true, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "275536711343": { + "name": "worktree.set#1", + "args": [ + { + "name": "method", + "value": "worktree.set" + }, + { + "name": "params", + "value": { + "isPinned": true, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "2b635c2a4fbb": { + "name": "worktree.rm#1", + "args": [ + { + "name": "method", + "value": "worktree.rm" + }, + { + "name": "params", + "value": { + "force": true, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "3e27f9568029": { + "name": "lastKnownWorktrees", + "value": [ + { + "branch": "feature/pin", + "displayName": "marlin", + "hasAttachedPty": false, + "isPinned": true, + "linkedPR": { + "$rpc": "null" + }, + "liveTerminalCount": 0, + "path": "/repos/marlin/wt-1", + "preview": "", + "repo": "marlin", + "repoId": "repo-1", + "unread": false, + "worktreeId": "wt-1" + } + ], + "sent": 0 + }, + "44ff929f3c43": { + "name": "worktree.set#1", + "args": [ + { + "name": "method", + "value": "worktree.set" + }, + { + "name": "params", + "value": { + "isPinned": true, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "4caf7515e224": { + "name": "worktree.set#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.set\",\"params\":{\"worktree\":\"id:wt-1\",\"isPinned\":true}}" + }, + "55d53d27027d": { + "name": "worktree.set#1", + "args": [ + { + "name": "method", + "value": "worktree.set" + }, + { + "name": "params", + "value": { + "isPinned": true, + "worktree": "id:wt-1" + } + }, + { + "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 + } + } + } + }, + "56b6d4fb8c56": { + "name": "worktree.set#1", + "args": [ + { + "name": "method", + "value": "worktree.set" + }, + { + "name": "params", + "value": { + "isPinned": true, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "6307d17334bd": { + "name": "worktree.set#1", + "args": [ + { + "name": "method", + "value": "worktree.set" + }, + { + "name": "params", + "value": { + "isPinned": true, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "651653c526f2": { + "name": "worktree.set#1", + "args": [ + { + "name": "method", + "value": "worktree.set" + }, + { + "name": "params", + "value": { + "isPinned": true, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "66469585a5b3": { + "name": "worktree.set#1", + "args": [ + { + "name": "method", + "value": "worktree.set" + }, + { + "name": "params", + "value": { + "isPinned": true, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "69d698d4f352": { + "name": "worktree.rm#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.rm\",\"params\":{\"worktree\":\"id:wt-1\",\"force\":true}}" + }, + "6b3c3497e633": { + "name": "worktree.set#1", + "args": [ + { + "name": "method", + "value": "worktree.set" + }, + { + "name": "params", + "value": { + "isPinned": true, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "6e959a9dd70e": { + "confirmRemoveHost": false, + "lastKnownWorktrees": [], + "optimisticActiveWorktreeIdentity": "|wt-1", + "pinnedIds": ["wt-1"], + "routeActionState": {}, + "worktrees": [] + }, + "71246d169f18": { + "name": "worktrees", + "value": [], + "sent": 2 + }, + "8839215bd1a5": { + "name": "lastKnownWorktrees", + "value": [], + "sent": 2 + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "9a9b0d6699b2": { + "confirmRemoveHost": false, + "lastKnownWorktrees": [ + { + "branch": "feature/pin", + "displayName": "marlin", + "hasAttachedPty": false, + "isPinned": true, + "linkedPR": { + "$rpc": "null" + }, + "liveTerminalCount": 0, + "path": "/repos/marlin/wt-1", + "preview": "", + "repo": "marlin", + "repoId": "repo-1", + "unread": false, + "worktreeId": "wt-1" + } + ], + "optimisticActiveWorktreeIdentity": { + "$rpc": "null" + }, + "pinnedIds": ["wt-1"], + "routeActionState": {}, + "worktrees": [ + { + "branch": "feature/pin", + "displayName": "marlin", + "hasAttachedPty": false, + "isPinned": true, + "linkedPR": { + "$rpc": "null" + }, + "liveTerminalCount": 0, + "path": "/repos/marlin/wt-1", + "preview": "", + "repo": "marlin", + "repoId": "repo-1", + "unread": false, + "worktreeId": "wt-1" + } + ] + }, + "a970c9a870bb": { + "name": "pinnedIds", + "value": ["wt-1"], + "sent": 0 + }, + "ba44a37bda16": { + "name": "worktree.set#1", + "args": [ + { + "name": "method", + "value": "worktree.set" + }, + { + "name": "params", + "value": { + "isPinned": true, + "worktree": "id:wt-1" + } + }, + { + "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 + } + } + }, + "bb44ad78848e": { + "name": "optimisticActiveWorktreeIdentity", + "value": "|wt-1", + "sent": 1 + }, + "bf2b36bda2d2": { + "name": "worktree.set#1", + "args": [ + { + "name": "method", + "value": "worktree.set" + }, + { + "name": "params", + "value": { + "isPinned": true, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "c3eecb0c6e96": { + "name": "worktree.activate#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.activate\",\"params\":{\"worktree\":\"id:wt-1\",\"notifyClients\":false,\"navigation\":\"caller\"}}" + }, + "e3e3c397a66a": { + "name": "worktree.rm#1", + "args": [ + { + "name": "method", + "value": "worktree.rm" + }, + { + "name": "params", + "value": { + "force": true, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f1b199e21211": { + "name": "worktree.set#1", + "args": [ + { + "name": "method", + "value": "worktree.set" + }, + { + "name": "params", + "value": { + "isPinned": true, + "worktree": "id:wt-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + } + }, + "recording": { + "scenario": "matrix-host.worktree-actions-worktree.set-1", + "checkpoints": [ + { + "id": "host-worktree-actions-pin-open-delete.prelude:pin-optimistic", + "observation": { + "sender": ["bf2b36bda2d2"], + "payloads": ["4caf7515e224"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a" + }, + "state": "9a9b0d6699b2", + "effects": ["088a989c038b", "3e27f9568029", "a970c9a870bb"] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.normal:delete-optimistic", + "observation": { + "sender": ["56b6d4fb8c56", "04938673cbf5", "e3e3c397a66a"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "9270aeb7d9c6" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.normal:settled", + "observation": { + "sender": ["56b6d4fb8c56", "04938673cbf5", "2b635c2a4fbb"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "eb79a9b3682a" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.result-absent:delete-optimistic", + "observation": { + "sender": ["6b3c3497e633", "04938673cbf5", "e3e3c397a66a"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "9270aeb7d9c6" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.result-absent:settled", + "observation": { + "sender": ["6b3c3497e633", "04938673cbf5", "2b635c2a4fbb"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "eb79a9b3682a" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.result-null:delete-optimistic", + "observation": { + "sender": ["66469585a5b3", "04938673cbf5", "e3e3c397a66a"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "9270aeb7d9c6" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.result-null:settled", + "observation": { + "sender": ["66469585a5b3", "04938673cbf5", "2b635c2a4fbb"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "eb79a9b3682a" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.inner-ok-missing:delete-optimistic", + "observation": { + "sender": ["275536711343", "04938673cbf5", "e3e3c397a66a"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "9270aeb7d9c6" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.inner-ok-missing:settled", + "observation": { + "sender": ["275536711343", "04938673cbf5", "2b635c2a4fbb"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "eb79a9b3682a" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.inner-false-string-error:delete-optimistic", + "observation": { + "sender": ["651653c526f2", "04938673cbf5", "e3e3c397a66a"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "9270aeb7d9c6" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.inner-false-string-error:settled", + "observation": { + "sender": ["651653c526f2", "04938673cbf5", "2b635c2a4fbb"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "eb79a9b3682a" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.inner-false-object-error:delete-optimistic", + "observation": { + "sender": ["55d53d27027d", "04938673cbf5", "e3e3c397a66a"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "9270aeb7d9c6" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.inner-false-object-error:settled", + "observation": { + "sender": ["55d53d27027d", "04938673cbf5", "2b635c2a4fbb"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "eb79a9b3682a" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.outer-refused:delete-optimistic", + "observation": { + "sender": ["44ff929f3c43", "04938673cbf5", "e3e3c397a66a"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "9270aeb7d9c6" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.outer-refused:settled", + "observation": { + "sender": ["44ff929f3c43", "04938673cbf5", "2b635c2a4fbb"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "eb79a9b3682a" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.outer-refused-no-message:delete-optimistic", + "observation": { + "sender": ["6307d17334bd", "04938673cbf5", "e3e3c397a66a"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "9270aeb7d9c6" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.outer-refused-no-message:settled", + "observation": { + "sender": ["6307d17334bd", "04938673cbf5", "2b635c2a4fbb"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "eb79a9b3682a" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.method-not-found:delete-optimistic", + "observation": { + "sender": ["ba44a37bda16", "04938673cbf5", "e3e3c397a66a"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "9270aeb7d9c6" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.method-not-found:settled", + "observation": { + "sender": ["ba44a37bda16", "04938673cbf5", "2b635c2a4fbb"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "eb79a9b3682a" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.transport-rejection:delete-optimistic", + "observation": { + "sender": ["1266cec86f6a", "04938673cbf5", "e3e3c397a66a"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "9270aeb7d9c6" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.transport-rejection:settled", + "observation": { + "sender": ["1266cec86f6a", "04938673cbf5", "2b635c2a4fbb"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "eb79a9b3682a" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.transport-rejection-no-message:delete-optimistic", + "observation": { + "sender": ["f1b199e21211", "04938673cbf5", "e3e3c397a66a"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "9270aeb7d9c6" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + }, + { + "id": "host-worktree-actions-pin-open-delete.transport-rejection-no-message:settled", + "observation": { + "sender": ["f1b199e21211", "04938673cbf5", "2b635c2a4fbb"], + "payloads": ["4caf7515e224", "c3eecb0c6e96", "69d698d4f352"], + "settlements": { + "mount": "eb79a9b3682a", + "toggle-pin": "eb79a9b3682a", + "open-session": "eb79a9b3682a", + "delete": "eb79a9b3682a" + }, + "state": "6e959a9dd70e", + "effects": [ + "088a989c038b", + "3e27f9568029", + "a970c9a870bb", + "bb44ad78848e", + "71246d169f18", + "8839215bd1a5" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-hostedreview.create-chain-git.push-1.json b/mobile/rpc-foundation/goldens/matrix-hostedreview.create-chain-git.push-1.json index 5d3fe5d8c90..398ba791814 100644 --- a/mobile/rpc-foundation/goldens/matrix-hostedreview.create-chain-git.push-1.json +++ b/mobile/rpc-foundation/goldens/matrix-hostedreview.create-chain-git.push-1.json @@ -3,9 +3,9 @@ "family": "hostedReview.create-chain", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "c582ce355b0704b38d7e84cbce352630096c91231bf09aecd1f6dbb409fed17f", "scenarioSha256": "fcf5cdc7388457156dd81fe28a470f42fbabac7435ec5572cb19e209f410ca84", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/matrix-hostedreview.create-chain-hostedreview.create-1.json b/mobile/rpc-foundation/goldens/matrix-hostedreview.create-chain-hostedreview.create-1.json index f388e41ecc2..38e97aee45e 100644 --- a/mobile/rpc-foundation/goldens/matrix-hostedreview.create-chain-hostedreview.create-1.json +++ b/mobile/rpc-foundation/goldens/matrix-hostedreview.create-chain-hostedreview.create-1.json @@ -3,9 +3,9 @@ "family": "hostedReview.create-chain", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "c582ce355b0704b38d7e84cbce352630096c91231bf09aecd1f6dbb409fed17f", "scenarioSha256": "26e666a57805f354602a5b3906a691b10c8d6db66c77acc96c67153279c515a7", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/matrix-hostedreview.create-chain-worktree.set-1.json b/mobile/rpc-foundation/goldens/matrix-hostedreview.create-chain-worktree.set-1.json index 663a04d18ba..1b189b527b6 100644 --- a/mobile/rpc-foundation/goldens/matrix-hostedreview.create-chain-worktree.set-1.json +++ b/mobile/rpc-foundation/goldens/matrix-hostedreview.create-chain-worktree.set-1.json @@ -3,9 +3,9 @@ "family": "hostedReview.create-chain", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "c582ce355b0704b38d7e84cbce352630096c91231bf09aecd1f6dbb409fed17f", "scenarioSha256": "08c25b6cb5bc12a7f67e858f229d15cf66b98b2ad4601b11f18c4c03f4a59669", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-git.bulkstage-1.json b/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-git.bulkstage-1.json index 036ff020b49..fd201148ae2 100644 --- a/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-git.bulkstage-1.json +++ b/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-git.bulkstage-1.json @@ -3,9 +3,9 @@ "family": "hostedReview.create-intent", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "c582ce355b0704b38d7e84cbce352630096c91231bf09aecd1f6dbb409fed17f", "scenarioSha256": "ff9d1bfd6337607f3d3e8162692b589ecea4a32ae01b5ebb3c602f8f0a55642c", "platform": "darwin", @@ -142,6 +142,16 @@ "name": "hostedReview.create#1", "json": "{\"id\":\"frame-11\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.create\",\"params\":{\"repo\":\"id:repo42\",\"worktree\":\"id:repo42::/p\",\"provider\":\"github\",\"base\":\"main\",\"head\":\"feature\",\"title\":\"Host title\",\"body\":\"Host body\",\"draft\":false}}" }, + "0b80f2766914": { + "name": "progress", + "value": "generating_commit_message", + "sent": 3 + }, + "0d7681dfb908": { + "name": "progress", + "value": "pushing", + "sent": 7 + }, "125fbea5f50a": { "name": "git.generateCommitMessage#1", "args": [ @@ -415,9 +425,10 @@ "name": "git.bulkStage#1", "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"git.bulkStage\",\"params\":{\"worktree\":\"id:repo42::/p\",\"filePaths\":[\"src/new.ts\"]}}" }, - "368b0b9ce80a": { + "3a3a688f828b": { "name": "progress", - "value": "staging" + "value": "staging", + "sent": 1 }, "3c6a5a164e8a": { "outcome": { @@ -509,10 +520,6 @@ } } }, - "5975e0bdd4a4": { - "name": "progress", - "value": "creating_review" - }, "5b46f52533a0": { "name": "hostedReview.create#1", "args": [ @@ -553,10 +560,6 @@ "name": "git.status#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" }, - "60421d882fd2": { - "name": "progress", - "value": "pushing" - }, "614d26fc14b1": { "name": "git.bulkStage#1", "args": [ @@ -656,10 +659,6 @@ } } }, - "6a5c9570c542": { - "name": "progress", - "value": "generating_commit_message" - }, "6df8e4961ee3": { "name": "git.generateCommitMessage#1", "args": [ @@ -697,14 +696,15 @@ "72b388fd3302": { "outcome": "unrun" }, + "7349acf3d5b8": { + "name": "progress", + "value": "committing", + "sent": 4 + }, "7679f4e521d1": { "name": "git.push#1", "json": "{\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"git.push\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" }, - "7778d4c43a58": { - "name": "progress", - "value": "committing" - }, "788869e46db6": { "name": "git.push#1", "args": [ @@ -1114,6 +1114,11 @@ "name": "git.generateCommitMessage#1", "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"git.generateCommitMessage\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" }, + "bbf5b6093f56": { + "name": "progress", + "value": "creating_review", + "sent": 10 + }, "c444aeacec59": { "name": "git.status#3", "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" @@ -1323,7 +1328,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -1335,7 +1340,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1359,7 +1364,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -1387,7 +1392,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -1417,7 +1422,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -1454,11 +1459,11 @@ }, "state": "72b388fd3302", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -1498,11 +1503,11 @@ }, "state": "43ccfe31d2a4", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -1515,7 +1520,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1539,7 +1544,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -1567,7 +1572,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -1597,7 +1602,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -1634,11 +1639,11 @@ }, "state": "72b388fd3302", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -1678,11 +1683,11 @@ }, "state": "43ccfe31d2a4", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -1695,7 +1700,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1719,7 +1724,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -1747,7 +1752,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -1777,7 +1782,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -1814,11 +1819,11 @@ }, "state": "72b388fd3302", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -1858,11 +1863,11 @@ }, "state": "43ccfe31d2a4", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -1875,7 +1880,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1899,7 +1904,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -1927,7 +1932,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -1957,7 +1962,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -1994,11 +1999,11 @@ }, "state": "72b388fd3302", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -2038,11 +2043,11 @@ }, "state": "43ccfe31d2a4", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -2055,7 +2060,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -2079,7 +2084,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2107,7 +2112,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2137,7 +2142,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -2174,11 +2179,11 @@ }, "state": "72b388fd3302", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -2218,11 +2223,11 @@ }, "state": "43ccfe31d2a4", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -2235,7 +2240,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -2259,7 +2264,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2287,7 +2292,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2317,7 +2322,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -2354,11 +2359,11 @@ }, "state": "72b388fd3302", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -2398,11 +2403,11 @@ }, "state": "43ccfe31d2a4", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -2415,7 +2420,7 @@ "run": "1b2778bf67a2" }, "state": "aa8b30457cff", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2427,7 +2432,7 @@ "run": "1b2778bf67a2" }, "state": "aa8b30457cff", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2439,7 +2444,7 @@ "run": "1b2778bf67a2" }, "state": "aa8b30457cff", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2451,7 +2456,7 @@ "run": "1b2778bf67a2" }, "state": "aa8b30457cff", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2463,7 +2468,7 @@ "run": "1b2778bf67a2" }, "state": "aa8b30457cff", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2475,7 +2480,7 @@ "run": "1b2778bf67a2" }, "state": "aa8b30457cff", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2487,7 +2492,7 @@ "run": "0a06528c313d" }, "state": "287d2ce39488", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2499,7 +2504,7 @@ "run": "0a06528c313d" }, "state": "287d2ce39488", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2511,7 +2516,7 @@ "run": "0a06528c313d" }, "state": "287d2ce39488", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2523,7 +2528,7 @@ "run": "0a06528c313d" }, "state": "287d2ce39488", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2535,7 +2540,7 @@ "run": "0a06528c313d" }, "state": "287d2ce39488", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2547,7 +2552,7 @@ "run": "0a06528c313d" }, "state": "287d2ce39488", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2559,7 +2564,7 @@ "run": "fa93ca01f266" }, "state": "e157741a28a1", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2571,7 +2576,7 @@ "run": "fa93ca01f266" }, "state": "e157741a28a1", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2583,7 +2588,7 @@ "run": "fa93ca01f266" }, "state": "e157741a28a1", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2595,7 +2600,7 @@ "run": "fa93ca01f266" }, "state": "e157741a28a1", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2607,7 +2612,7 @@ "run": "fa93ca01f266" }, "state": "e157741a28a1", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2619,7 +2624,7 @@ "run": "fa93ca01f266" }, "state": "e157741a28a1", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2631,7 +2636,7 @@ "run": "a197c20578aa" }, "state": "f4ca76ee9f22", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2643,7 +2648,7 @@ "run": "a197c20578aa" }, "state": "f4ca76ee9f22", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2655,7 +2660,7 @@ "run": "a197c20578aa" }, "state": "f4ca76ee9f22", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2667,7 +2672,7 @@ "run": "a197c20578aa" }, "state": "f4ca76ee9f22", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2679,7 +2684,7 @@ "run": "a197c20578aa" }, "state": "f4ca76ee9f22", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2691,7 +2696,7 @@ "run": "a197c20578aa" }, "state": "f4ca76ee9f22", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2703,7 +2708,7 @@ "run": "fb4429083480" }, "state": "3c6a5a164e8a", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2715,7 +2720,7 @@ "run": "fb4429083480" }, "state": "3c6a5a164e8a", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2727,7 +2732,7 @@ "run": "fb4429083480" }, "state": "3c6a5a164e8a", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2739,7 +2744,7 @@ "run": "fb4429083480" }, "state": "3c6a5a164e8a", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2751,7 +2756,7 @@ "run": "fb4429083480" }, "state": "3c6a5a164e8a", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2763,7 +2768,7 @@ "run": "fb4429083480" }, "state": "3c6a5a164e8a", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } } ] diff --git a/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-git.commit-1.json b/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-git.commit-1.json index d9512719419..7889afad5c5 100644 --- a/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-git.commit-1.json +++ b/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-git.commit-1.json @@ -3,9 +3,9 @@ "family": "hostedReview.create-intent", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "c582ce355b0704b38d7e84cbce352630096c91231bf09aecd1f6dbb409fed17f", "scenarioSha256": "efeb9b248aeb98fac71c043d50afe0036cf804d3c11edfccd4e050fe8f3d8f9b", "platform": "darwin", @@ -99,6 +99,16 @@ "name": "hostedReview.create#1", "json": "{\"id\":\"frame-11\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.create\",\"params\":{\"repo\":\"id:repo42\",\"worktree\":\"id:repo42::/p\",\"provider\":\"github\",\"base\":\"main\",\"head\":\"feature\",\"title\":\"Host title\",\"body\":\"Host body\",\"draft\":false}}" }, + "0b80f2766914": { + "name": "progress", + "value": "generating_commit_message", + "sent": 3 + }, + "0d7681dfb908": { + "name": "progress", + "value": "pushing", + "sent": 7 + }, "0e4e820a7323": { "name": "git.commit#1", "args": [ @@ -538,9 +548,10 @@ "name": "git.bulkStage#1", "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"git.bulkStage\",\"params\":{\"worktree\":\"id:repo42::/p\",\"filePaths\":[\"src/new.ts\"]}}" }, - "368b0b9ce80a": { + "3a3a688f828b": { "name": "progress", - "value": "staging" + "value": "staging", + "sent": 1 }, "43c38f02e8d3": { "name": "git.commit#1", @@ -693,10 +704,6 @@ } } }, - "5975e0bdd4a4": { - "name": "progress", - "value": "creating_review" - }, "5b46f52533a0": { "name": "hostedReview.create#1", "args": [ @@ -737,10 +744,6 @@ "name": "git.status#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" }, - "60421d882fd2": { - "name": "progress", - "value": "pushing" - }, "6769762c413a": { "name": "git.commit#1", "args": [ @@ -776,10 +779,6 @@ } } }, - "6a5c9570c542": { - "name": "progress", - "value": "generating_commit_message" - }, "6ba30d61e50b": { "outcome": { "commitMessage": "feat: recorded", @@ -1011,6 +1010,11 @@ "72b388fd3302": { "outcome": "unrun" }, + "7349acf3d5b8": { + "name": "progress", + "value": "committing", + "sent": 4 + }, "73defac1bd0b": { "outcome": { "commitMessage": "feat: recorded", @@ -1067,10 +1071,6 @@ "name": "git.push#1", "json": "{\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"git.push\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" }, - "7778d4c43a58": { - "name": "progress", - "value": "committing" - }, "788869e46db6": { "name": "git.push#1", "args": [ @@ -1710,6 +1710,11 @@ } } }, + "bbf5b6093f56": { + "name": "progress", + "value": "creating_review", + "sent": 10 + }, "c444aeacec59": { "name": "git.status#3", "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" @@ -1997,7 +2002,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2009,7 +2014,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -2033,7 +2038,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2061,7 +2066,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2091,7 +2096,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -2128,11 +2133,11 @@ }, "state": "72b388fd3302", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -2172,11 +2177,11 @@ }, "state": "43ccfe31d2a4", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -2201,7 +2206,7 @@ "run": "2e35579e2fc7" }, "state": "2c921c059023", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2225,7 +2230,7 @@ "run": "2e35579e2fc7" }, "state": "2c921c059023", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2249,7 +2254,7 @@ "run": "2e35579e2fc7" }, "state": "2c921c059023", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2273,7 +2278,7 @@ "run": "2e35579e2fc7" }, "state": "2c921c059023", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2297,7 +2302,7 @@ "run": "2e35579e2fc7" }, "state": "2c921c059023", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2321,7 +2326,7 @@ "run": "2e35579e2fc7" }, "state": "2c921c059023", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2345,7 +2350,7 @@ "run": "2e35579e2fc7" }, "state": "2c921c059023", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2369,7 +2374,7 @@ "run": "2e35579e2fc7" }, "state": "2c921c059023", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2393,7 +2398,7 @@ "run": "85064683fc9c" }, "state": "73defac1bd0b", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2417,7 +2422,7 @@ "run": "85064683fc9c" }, "state": "73defac1bd0b", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2441,7 +2446,7 @@ "run": "85064683fc9c" }, "state": "73defac1bd0b", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2465,7 +2470,7 @@ "run": "85064683fc9c" }, "state": "73defac1bd0b", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2489,7 +2494,7 @@ "run": "d49f246ff85c" }, "state": "83cdbcf01e38", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2513,7 +2518,7 @@ "run": "d49f246ff85c" }, "state": "83cdbcf01e38", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2537,7 +2542,7 @@ "run": "d49f246ff85c" }, "state": "83cdbcf01e38", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2561,7 +2566,7 @@ "run": "d49f246ff85c" }, "state": "83cdbcf01e38", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2585,7 +2590,7 @@ "run": "2e35579e2fc7" }, "state": "2c921c059023", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2609,7 +2614,7 @@ "run": "2e35579e2fc7" }, "state": "2c921c059023", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2633,7 +2638,7 @@ "run": "2e35579e2fc7" }, "state": "2c921c059023", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2657,7 +2662,7 @@ "run": "2e35579e2fc7" }, "state": "2c921c059023", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2681,7 +2686,7 @@ "run": "7c91e223d962" }, "state": "aceb861a4f8d", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2705,7 +2710,7 @@ "run": "7c91e223d962" }, "state": "aceb861a4f8d", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2729,7 +2734,7 @@ "run": "7c91e223d962" }, "state": "aceb861a4f8d", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2753,7 +2758,7 @@ "run": "7c91e223d962" }, "state": "aceb861a4f8d", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2777,7 +2782,7 @@ "run": "2e35579e2fc7" }, "state": "2c921c059023", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2801,7 +2806,7 @@ "run": "2e35579e2fc7" }, "state": "2c921c059023", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2825,7 +2830,7 @@ "run": "2e35579e2fc7" }, "state": "2c921c059023", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2849,7 +2854,7 @@ "run": "2e35579e2fc7" }, "state": "2c921c059023", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2873,7 +2878,7 @@ "run": "1dcf573f4df7" }, "state": "6e12eca3f727", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2897,7 +2902,7 @@ "run": "1dcf573f4df7" }, "state": "6e12eca3f727", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2921,7 +2926,7 @@ "run": "1dcf573f4df7" }, "state": "6e12eca3f727", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2945,7 +2950,7 @@ "run": "1dcf573f4df7" }, "state": "6e12eca3f727", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2969,7 +2974,7 @@ "run": "71d1010eb04f" }, "state": "f16335c11521", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2993,7 +2998,7 @@ "run": "71d1010eb04f" }, "state": "f16335c11521", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -3017,7 +3022,7 @@ "run": "71d1010eb04f" }, "state": "f16335c11521", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -3041,7 +3046,7 @@ "run": "71d1010eb04f" }, "state": "f16335c11521", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -3065,7 +3070,7 @@ "run": "1d83527e29e1" }, "state": "6ba30d61e50b", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -3089,7 +3094,7 @@ "run": "1d83527e29e1" }, "state": "6ba30d61e50b", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -3113,7 +3118,7 @@ "run": "1d83527e29e1" }, "state": "6ba30d61e50b", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -3137,7 +3142,7 @@ "run": "1d83527e29e1" }, "state": "6ba30d61e50b", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } } ] diff --git a/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-git.generatecommitmessage-1.json b/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-git.generatecommitmessage-1.json index 1947eb747af..bc90ce4b419 100644 --- a/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-git.generatecommitmessage-1.json +++ b/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-git.generatecommitmessage-1.json @@ -3,9 +3,9 @@ "family": "hostedReview.create-intent", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "c582ce355b0704b38d7e84cbce352630096c91231bf09aecd1f6dbb409fed17f", "scenarioSha256": "7b0d9ddcb8df83fc4e465aa6b0dcf05aa0d8f266cd4bb8651969cb8321bcf549", "platform": "darwin", @@ -99,6 +99,16 @@ "name": "hostedReview.create#1", "json": "{\"id\":\"frame-11\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.create\",\"params\":{\"repo\":\"id:repo42\",\"worktree\":\"id:repo42::/p\",\"provider\":\"github\",\"base\":\"main\",\"head\":\"feature\",\"title\":\"Host title\",\"body\":\"Host body\",\"draft\":false}}" }, + "0b80f2766914": { + "name": "progress", + "value": "generating_commit_message", + "sent": 3 + }, + "0d7681dfb908": { + "name": "progress", + "value": "pushing", + "sent": 7 + }, "125fbea5f50a": { "name": "git.generateCommitMessage#1", "args": [ @@ -403,9 +413,10 @@ } } }, - "368b0b9ce80a": { + "3a3a688f828b": { "name": "progress", - "value": "staging" + "value": "staging", + "sent": 1 }, "3c03a92720a9": { "name": "git.generateCommitMessage#1", @@ -555,10 +566,6 @@ } } }, - "5975e0bdd4a4": { - "name": "progress", - "value": "creating_review" - }, "5b46f52533a0": { "name": "hostedReview.create#1", "args": [ @@ -599,14 +606,6 @@ "name": "git.status#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" }, - "60421d882fd2": { - "name": "progress", - "value": "pushing" - }, - "6a5c9570c542": { - "name": "progress", - "value": "generating_commit_message" - }, "6df8e4961ee3": { "name": "git.generateCommitMessage#1", "args": [ @@ -644,14 +643,15 @@ "72b388fd3302": { "outcome": "unrun" }, + "7349acf3d5b8": { + "name": "progress", + "value": "committing", + "sent": 4 + }, "7679f4e521d1": { "name": "git.push#1", "json": "{\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"git.push\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" }, - "7778d4c43a58": { - "name": "progress", - "value": "committing" - }, "788869e46db6": { "name": "git.push#1", "args": [ @@ -1108,6 +1108,11 @@ "name": "git.generateCommitMessage#1", "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"git.generateCommitMessage\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" }, + "bbf5b6093f56": { + "name": "progress", + "value": "creating_review", + "sent": 10 + }, "be35b33cb39b": { "name": "git.generateCommitMessage#1", "args": [ @@ -1363,7 +1368,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -1375,7 +1380,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1399,7 +1404,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -1427,7 +1432,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -1457,7 +1462,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -1494,11 +1499,11 @@ }, "state": "72b388fd3302", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -1538,11 +1543,11 @@ }, "state": "43ccfe31d2a4", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -1555,7 +1560,7 @@ "run": "a93f3dc8c4a1" }, "state": "2a7b021ae7bf", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1567,7 +1572,7 @@ "run": "a93f3dc8c4a1" }, "state": "2a7b021ae7bf", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1579,7 +1584,7 @@ "run": "a93f3dc8c4a1" }, "state": "2a7b021ae7bf", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1591,7 +1596,7 @@ "run": "a93f3dc8c4a1" }, "state": "2a7b021ae7bf", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1603,7 +1608,7 @@ "run": "a93f3dc8c4a1" }, "state": "2a7b021ae7bf", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1615,7 +1620,7 @@ "run": "a93f3dc8c4a1" }, "state": "2a7b021ae7bf", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1627,7 +1632,7 @@ "run": "a93f3dc8c4a1" }, "state": "2a7b021ae7bf", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1639,7 +1644,7 @@ "run": "a93f3dc8c4a1" }, "state": "2a7b021ae7bf", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1651,7 +1656,7 @@ "run": "a93f3dc8c4a1" }, "state": "2a7b021ae7bf", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1663,7 +1668,7 @@ "run": "a93f3dc8c4a1" }, "state": "2a7b021ae7bf", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1675,7 +1680,7 @@ "run": "a93f3dc8c4a1" }, "state": "2a7b021ae7bf", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1687,7 +1692,7 @@ "run": "a93f3dc8c4a1" }, "state": "2a7b021ae7bf", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1699,7 +1704,7 @@ "run": "a93f3dc8c4a1" }, "state": "2a7b021ae7bf", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1711,7 +1716,7 @@ "run": "a93f3dc8c4a1" }, "state": "2a7b021ae7bf", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1723,7 +1728,7 @@ "run": "a93f3dc8c4a1" }, "state": "2a7b021ae7bf", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1735,7 +1740,7 @@ "run": "a93f3dc8c4a1" }, "state": "2a7b021ae7bf", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1747,7 +1752,7 @@ "run": "a93f3dc8c4a1" }, "state": "2a7b021ae7bf", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1759,7 +1764,7 @@ "run": "a93f3dc8c4a1" }, "state": "2a7b021ae7bf", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1771,7 +1776,7 @@ "run": "a93f3dc8c4a1" }, "state": "2a7b021ae7bf", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1783,7 +1788,7 @@ "run": "a93f3dc8c4a1" }, "state": "2a7b021ae7bf", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1795,7 +1800,7 @@ "run": "a93f3dc8c4a1" }, "state": "2a7b021ae7bf", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1807,7 +1812,7 @@ "run": "a93f3dc8c4a1" }, "state": "2a7b021ae7bf", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1819,7 +1824,7 @@ "run": "a93f3dc8c4a1" }, "state": "2a7b021ae7bf", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1831,7 +1836,7 @@ "run": "a93f3dc8c4a1" }, "state": "2a7b021ae7bf", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1843,7 +1848,7 @@ "run": "a93f3dc8c4a1" }, "state": "2a7b021ae7bf", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1855,7 +1860,7 @@ "run": "a93f3dc8c4a1" }, "state": "2a7b021ae7bf", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1867,7 +1872,7 @@ "run": "a93f3dc8c4a1" }, "state": "2a7b021ae7bf", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1879,7 +1884,7 @@ "run": "a93f3dc8c4a1" }, "state": "2a7b021ae7bf", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1891,7 +1896,7 @@ "run": "a93f3dc8c4a1" }, "state": "2a7b021ae7bf", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1903,7 +1908,7 @@ "run": "a93f3dc8c4a1" }, "state": "2a7b021ae7bf", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1915,7 +1920,7 @@ "run": "a93f3dc8c4a1" }, "state": "2a7b021ae7bf", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1927,7 +1932,7 @@ "run": "a93f3dc8c4a1" }, "state": "2a7b021ae7bf", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1939,7 +1944,7 @@ "run": "a93f3dc8c4a1" }, "state": "2a7b021ae7bf", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1951,7 +1956,7 @@ "run": "a93f3dc8c4a1" }, "state": "2a7b021ae7bf", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1963,7 +1968,7 @@ "run": "a93f3dc8c4a1" }, "state": "2a7b021ae7bf", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1975,7 +1980,7 @@ "run": "a93f3dc8c4a1" }, "state": "2a7b021ae7bf", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1987,7 +1992,7 @@ "run": "a93f3dc8c4a1" }, "state": "2a7b021ae7bf", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1999,7 +2004,7 @@ "run": "a93f3dc8c4a1" }, "state": "2a7b021ae7bf", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -2011,7 +2016,7 @@ "run": "a93f3dc8c4a1" }, "state": "2a7b021ae7bf", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -2023,7 +2028,7 @@ "run": "a93f3dc8c4a1" }, "state": "2a7b021ae7bf", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -2035,7 +2040,7 @@ "run": "a947768bc0ed" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -2047,7 +2052,7 @@ "run": "a947768bc0ed" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -2059,7 +2064,7 @@ "run": "a947768bc0ed" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -2071,7 +2076,7 @@ "run": "a947768bc0ed" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -2083,7 +2088,7 @@ "run": "a947768bc0ed" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -2095,7 +2100,7 @@ "run": "c7584e82c72f" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -2107,7 +2112,7 @@ "run": "c7584e82c72f" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -2119,7 +2124,7 @@ "run": "c7584e82c72f" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -2131,7 +2136,7 @@ "run": "c7584e82c72f" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -2143,7 +2148,7 @@ "run": "c7584e82c72f" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } } ] diff --git a/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-git.push-1.json b/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-git.push-1.json index 8212022310a..e2c46dff8aa 100644 --- a/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-git.push-1.json +++ b/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-git.push-1.json @@ -3,9 +3,9 @@ "family": "hostedReview.create-intent", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "c582ce355b0704b38d7e84cbce352630096c91231bf09aecd1f6dbb409fed17f", "scenarioSha256": "72c1f08739db1c0dfcd48adffaca582a3596116c1c377f95f7dab8b08b7e6cdc", "platform": "darwin", @@ -99,6 +99,11 @@ "name": "hostedReview.create#1", "json": "{\"id\":\"frame-11\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.create\",\"params\":{\"repo\":\"id:repo42\",\"worktree\":\"id:repo42::/p\",\"provider\":\"github\",\"base\":\"main\",\"head\":\"feature\",\"title\":\"Host title\",\"body\":\"Host body\",\"draft\":false}}" }, + "0b80f2766914": { + "name": "progress", + "value": "generating_commit_message", + "sent": 3 + }, "0bf318ff290e": { "name": "git.push#1", "args": [ @@ -129,6 +134,11 @@ } } }, + "0d7681dfb908": { + "name": "progress", + "value": "pushing", + "sent": 7 + }, "125fbea5f50a": { "name": "git.generateCommitMessage#1", "args": [ @@ -405,9 +415,10 @@ } } }, - "368b0b9ce80a": { + "3a3a688f828b": { "name": "progress", - "value": "staging" + "value": "staging", + "sent": 1 }, "3b3b6edb80e0": { "name": "git.push#1", @@ -584,10 +595,6 @@ } } }, - "5975e0bdd4a4": { - "name": "progress", - "value": "creating_review" - }, "5b46f52533a0": { "name": "hostedReview.create#1", "args": [ @@ -628,14 +635,6 @@ "name": "git.status#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" }, - "60421d882fd2": { - "name": "progress", - "value": "pushing" - }, - "6a5c9570c542": { - "name": "progress", - "value": "generating_commit_message" - }, "6bcd8388e50a": { "name": "git.push#1", "args": [ @@ -760,14 +759,15 @@ } } }, + "7349acf3d5b8": { + "name": "progress", + "value": "committing", + "sent": 4 + }, "7679f4e521d1": { "name": "git.push#1", "json": "{\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"git.push\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" }, - "7778d4c43a58": { - "name": "progress", - "value": "committing" - }, "788869e46db6": { "name": "git.push#1", "args": [ @@ -1278,6 +1278,11 @@ "name": "git.generateCommitMessage#1", "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"git.generateCommitMessage\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" }, + "bbf5b6093f56": { + "name": "progress", + "value": "creating_review", + "sent": 10 + }, "c444aeacec59": { "name": "git.status#3", "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" @@ -1523,7 +1528,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -1535,7 +1540,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1559,7 +1564,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -1587,7 +1592,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -1617,7 +1622,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -1654,11 +1659,11 @@ }, "state": "72b388fd3302", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -1698,11 +1703,11 @@ }, "state": "43ccfe31d2a4", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -1740,11 +1745,11 @@ }, "state": "72b388fd3302", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -1784,11 +1789,11 @@ }, "state": "43ccfe31d2a4", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -1826,11 +1831,11 @@ }, "state": "72b388fd3302", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -1870,11 +1875,11 @@ }, "state": "43ccfe31d2a4", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -1912,11 +1917,11 @@ }, "state": "72b388fd3302", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -1956,11 +1961,11 @@ }, "state": "43ccfe31d2a4", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -1998,11 +2003,11 @@ }, "state": "72b388fd3302", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -2042,11 +2047,11 @@ }, "state": "43ccfe31d2a4", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -2084,11 +2089,11 @@ }, "state": "72b388fd3302", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -2128,11 +2133,11 @@ }, "state": "43ccfe31d2a4", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -2163,7 +2168,7 @@ "run": "ebe3b70aca42" }, "state": "2753bd712186", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -2193,7 +2198,7 @@ "run": "ebe3b70aca42" }, "state": "2753bd712186", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -2223,7 +2228,7 @@ "run": "7b7ef5bfe32e" }, "state": "44ee1cfb7fb0", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -2253,7 +2258,7 @@ "run": "7b7ef5bfe32e" }, "state": "44ee1cfb7fb0", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -2283,7 +2288,7 @@ "run": "b74fa1c5741d" }, "state": "6c71b1b41cc9", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -2313,7 +2318,7 @@ "run": "b74fa1c5741d" }, "state": "6c71b1b41cc9", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -2343,7 +2348,7 @@ "run": "89b0fc55092d" }, "state": "7cc31dea5812", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -2373,7 +2378,7 @@ "run": "89b0fc55092d" }, "state": "7cc31dea5812", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -2403,7 +2408,7 @@ "run": "314223d33794" }, "state": "72d3658278c1", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -2433,7 +2438,7 @@ "run": "314223d33794" }, "state": "72d3658278c1", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } } ] diff --git a/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-git.status-1.json b/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-git.status-1.json index 13e2571c7e5..5f34fb2c471 100644 --- a/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-git.status-1.json +++ b/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-git.status-1.json @@ -3,9 +3,9 @@ "family": "hostedReview.create-intent", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "c582ce355b0704b38d7e84cbce352630096c91231bf09aecd1f6dbb409fed17f", "scenarioSha256": "1f002f900c1a3c92e8f7c72261579ee5015ec1529c003a1b32bcf3eaf98b672d", "platform": "darwin", @@ -103,6 +103,11 @@ "name": "hostedReview.create#1", "json": "{\"id\":\"frame-11\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.create\",\"params\":{\"repo\":\"id:repo42\",\"worktree\":\"id:repo42::/p\",\"provider\":\"github\",\"base\":\"main\",\"head\":\"feature\",\"title\":\"Host title\",\"body\":\"Host body\",\"draft\":false}}" }, + "0b80f2766914": { + "name": "progress", + "value": "generating_commit_message", + "sent": 3 + }, "0bd335404e92": { "name": "git.status#1", "args": [ @@ -134,6 +139,11 @@ } } }, + "0d7681dfb908": { + "name": "progress", + "value": "pushing", + "sent": 7 + }, "125fbea5f50a": { "name": "git.generateCommitMessage#1", "args": [ @@ -294,6 +304,11 @@ "startedAt": 0 } }, + "226425674175": { + "name": "progress", + "value": "generating_commit_message", + "sent": 1 + }, "27e9d0778f22": { "name": "git.commit#1", "args": [ @@ -431,9 +446,10 @@ "name": "git.generateCommitMessage#1", "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"git.generateCommitMessage\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" }, - "368b0b9ce80a": { + "3a3a688f828b": { "name": "progress", - "value": "staging" + "value": "staging", + "sent": 1 }, "41689f68ece0": { "name": "git.status#1", @@ -587,9 +603,10 @@ } } }, - "5975e0bdd4a4": { + "51df16ec572e": { "name": "progress", - "value": "creating_review" + "value": "committing", + "sent": 2 }, "5b46f52533a0": { "name": "hostedReview.create#1", @@ -631,14 +648,6 @@ "name": "git.status#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" }, - "60421d882fd2": { - "name": "progress", - "value": "pushing" - }, - "6a5c9570c542": { - "name": "progress", - "value": "generating_commit_message" - }, "6df8e4961ee3": { "name": "git.generateCommitMessage#1", "args": [ @@ -676,14 +685,15 @@ "72b388fd3302": { "outcome": "unrun" }, + "7349acf3d5b8": { + "name": "progress", + "value": "committing", + "sent": 4 + }, "7679f4e521d1": { "name": "git.push#1", "json": "{\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"git.push\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" }, - "7778d4c43a58": { - "name": "progress", - "value": "committing" - }, "788869e46db6": { "name": "git.push#1", "args": [ @@ -1056,6 +1066,11 @@ "name": "git.generateCommitMessage#1", "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"git.generateCommitMessage\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" }, + "bbf5b6093f56": { + "name": "progress", + "value": "creating_review", + "sent": 10 + }, "c444aeacec59": { "name": "git.status#3", "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" @@ -1384,7 +1399,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -1396,7 +1411,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1420,7 +1435,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -1448,7 +1463,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -1478,7 +1493,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -1515,11 +1530,11 @@ }, "state": "72b388fd3302", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -1559,11 +1574,11 @@ }, "state": "43ccfe31d2a4", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -1996,7 +2011,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["6a5c9570c542"] + "effects": ["226425674175"] } }, { @@ -2008,7 +2023,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["6a5c9570c542"] + "effects": ["226425674175"] } }, { @@ -2020,7 +2035,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["6a5c9570c542", "7778d4c43a58"] + "effects": ["226425674175", "51df16ec572e"] } }, { @@ -2032,7 +2047,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["6a5c9570c542", "7778d4c43a58"] + "effects": ["226425674175", "51df16ec572e"] } }, { @@ -2044,7 +2059,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["6a5c9570c542", "7778d4c43a58"] + "effects": ["226425674175", "51df16ec572e"] } }, { @@ -2056,7 +2071,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["6a5c9570c542", "7778d4c43a58"] + "effects": ["226425674175", "51df16ec572e"] } }, { @@ -2068,7 +2083,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["6a5c9570c542", "7778d4c43a58"] + "effects": ["226425674175", "51df16ec572e"] } }, { @@ -2080,7 +2095,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["6a5c9570c542"] + "effects": ["226425674175"] } }, { @@ -2092,7 +2107,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["6a5c9570c542"] + "effects": ["226425674175"] } }, { @@ -2104,7 +2119,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["6a5c9570c542", "7778d4c43a58"] + "effects": ["226425674175", "51df16ec572e"] } }, { @@ -2116,7 +2131,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["6a5c9570c542", "7778d4c43a58"] + "effects": ["226425674175", "51df16ec572e"] } }, { @@ -2128,7 +2143,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["6a5c9570c542", "7778d4c43a58"] + "effects": ["226425674175", "51df16ec572e"] } }, { @@ -2140,7 +2155,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["6a5c9570c542", "7778d4c43a58"] + "effects": ["226425674175", "51df16ec572e"] } }, { @@ -2152,7 +2167,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["6a5c9570c542", "7778d4c43a58"] + "effects": ["226425674175", "51df16ec572e"] } }, { @@ -2164,7 +2179,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["6a5c9570c542"] + "effects": ["226425674175"] } }, { @@ -2176,7 +2191,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["6a5c9570c542"] + "effects": ["226425674175"] } }, { @@ -2188,7 +2203,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["6a5c9570c542", "7778d4c43a58"] + "effects": ["226425674175", "51df16ec572e"] } }, { @@ -2200,7 +2215,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["6a5c9570c542", "7778d4c43a58"] + "effects": ["226425674175", "51df16ec572e"] } }, { @@ -2212,7 +2227,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["6a5c9570c542", "7778d4c43a58"] + "effects": ["226425674175", "51df16ec572e"] } }, { @@ -2224,7 +2239,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["6a5c9570c542", "7778d4c43a58"] + "effects": ["226425674175", "51df16ec572e"] } }, { @@ -2236,7 +2251,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["6a5c9570c542", "7778d4c43a58"] + "effects": ["226425674175", "51df16ec572e"] } }, { diff --git a/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-git.status-2.json b/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-git.status-2.json index 0c3a44a5b0b..6e5c083b1d0 100644 --- a/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-git.status-2.json +++ b/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-git.status-2.json @@ -3,9 +3,9 @@ "family": "hostedReview.create-intent", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "c582ce355b0704b38d7e84cbce352630096c91231bf09aecd1f6dbb409fed17f", "scenarioSha256": "3a6487a07457e0e5aa6fc3fccfa43687acfb06d94334e621081728de937e4e8d", "platform": "darwin", @@ -204,6 +204,16 @@ "name": "hostedReview.create#1", "json": "{\"id\":\"frame-11\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.create\",\"params\":{\"repo\":\"id:repo42\",\"worktree\":\"id:repo42::/p\",\"provider\":\"github\",\"base\":\"main\",\"head\":\"feature\",\"title\":\"Host title\",\"body\":\"Host body\",\"draft\":false}}" }, + "0b80f2766914": { + "name": "progress", + "value": "generating_commit_message", + "sent": 3 + }, + "0d7681dfb908": { + "name": "progress", + "value": "pushing", + "sent": 7 + }, "0ef828d1fdbe": { "name": "git.status#2", "args": [ @@ -645,9 +655,10 @@ "name": "git.bulkStage#1", "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"git.bulkStage\",\"params\":{\"worktree\":\"id:repo42::/p\",\"filePaths\":[\"src/new.ts\"]}}" }, - "368b0b9ce80a": { + "3a3a688f828b": { "name": "progress", - "value": "staging" + "value": "staging", + "sent": 1 }, "43ccfe31d2a4": { "outcome": { @@ -733,10 +744,6 @@ } } }, - "5975e0bdd4a4": { - "name": "progress", - "value": "creating_review" - }, "5b46f52533a0": { "name": "hostedReview.create#1", "args": [ @@ -777,10 +784,6 @@ "name": "git.status#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" }, - "60421d882fd2": { - "name": "progress", - "value": "pushing" - }, "6491de11ec00": { "status": "fulfilled", "startedAt": 0, @@ -794,10 +797,6 @@ } } }, - "6a5c9570c542": { - "name": "progress", - "value": "generating_commit_message" - }, "6df8e4961ee3": { "name": "git.generateCommitMessage#1", "args": [ @@ -943,6 +942,11 @@ "72b388fd3302": { "outcome": "unrun" }, + "7349acf3d5b8": { + "name": "progress", + "value": "committing", + "sent": 4 + }, "7679f4e521d1": { "name": "git.push#1", "json": "{\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"git.push\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" @@ -983,10 +987,6 @@ } } }, - "7778d4c43a58": { - "name": "progress", - "value": "committing" - }, "788869e46db6": { "name": "git.push#1", "args": [ @@ -1463,6 +1463,11 @@ "name": "git.generateCommitMessage#1", "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"git.generateCommitMessage\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" }, + "bbf5b6093f56": { + "name": "progress", + "value": "creating_review", + "sent": 10 + }, "bc686a34f1d7": { "outcome": { "committed": false, @@ -1734,7 +1739,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -1746,7 +1751,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1770,7 +1775,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -1798,7 +1803,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -1828,7 +1833,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -1865,11 +1870,11 @@ }, "state": "72b388fd3302", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -1909,11 +1914,11 @@ }, "state": "43ccfe31d2a4", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -1926,7 +1931,7 @@ "run": "6491de11ec00" }, "state": "bc686a34f1d7", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -1938,7 +1943,7 @@ "run": "6491de11ec00" }, "state": "bc686a34f1d7", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -1950,7 +1955,7 @@ "run": "6491de11ec00" }, "state": "bc686a34f1d7", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -1962,7 +1967,7 @@ "run": "6491de11ec00" }, "state": "bc686a34f1d7", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -1974,7 +1979,7 @@ "run": "6491de11ec00" }, "state": "bc686a34f1d7", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -1986,7 +1991,7 @@ "run": "6491de11ec00" }, "state": "bc686a34f1d7", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -1998,7 +2003,7 @@ "run": "6491de11ec00" }, "state": "bc686a34f1d7", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2010,7 +2015,7 @@ "run": "6491de11ec00" }, "state": "bc686a34f1d7", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2022,7 +2027,7 @@ "run": "6491de11ec00" }, "state": "bc686a34f1d7", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2034,7 +2039,7 @@ "run": "6491de11ec00" }, "state": "bc686a34f1d7", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2046,7 +2051,7 @@ "run": "6491de11ec00" }, "state": "bc686a34f1d7", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2058,7 +2063,7 @@ "run": "6491de11ec00" }, "state": "bc686a34f1d7", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2070,7 +2075,7 @@ "run": "6491de11ec00" }, "state": "bc686a34f1d7", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2082,7 +2087,7 @@ "run": "6491de11ec00" }, "state": "bc686a34f1d7", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2094,7 +2099,7 @@ "run": "6491de11ec00" }, "state": "bc686a34f1d7", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2106,7 +2111,7 @@ "run": "6491de11ec00" }, "state": "bc686a34f1d7", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2118,7 +2123,7 @@ "run": "6491de11ec00" }, "state": "bc686a34f1d7", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2130,7 +2135,7 @@ "run": "6491de11ec00" }, "state": "bc686a34f1d7", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2142,7 +2147,7 @@ "run": "6491de11ec00" }, "state": "bc686a34f1d7", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2154,7 +2159,7 @@ "run": "6491de11ec00" }, "state": "bc686a34f1d7", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2166,7 +2171,7 @@ "run": "6491de11ec00" }, "state": "bc686a34f1d7", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2178,7 +2183,7 @@ "run": "6491de11ec00" }, "state": "bc686a34f1d7", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2190,7 +2195,7 @@ "run": "6491de11ec00" }, "state": "bc686a34f1d7", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2202,7 +2207,7 @@ "run": "6491de11ec00" }, "state": "bc686a34f1d7", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2214,7 +2219,7 @@ "run": "6491de11ec00" }, "state": "bc686a34f1d7", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2226,7 +2231,7 @@ "run": "6491de11ec00" }, "state": "bc686a34f1d7", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2238,7 +2243,7 @@ "run": "6491de11ec00" }, "state": "bc686a34f1d7", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2250,7 +2255,7 @@ "run": "6491de11ec00" }, "state": "bc686a34f1d7", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2262,7 +2267,7 @@ "run": "6491de11ec00" }, "state": "bc686a34f1d7", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2274,7 +2279,7 @@ "run": "6491de11ec00" }, "state": "bc686a34f1d7", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2286,7 +2291,7 @@ "run": "26d585682271" }, "state": "c459dd805bb5", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2298,7 +2303,7 @@ "run": "26d585682271" }, "state": "c459dd805bb5", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2310,7 +2315,7 @@ "run": "26d585682271" }, "state": "c459dd805bb5", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2322,7 +2327,7 @@ "run": "26d585682271" }, "state": "c459dd805bb5", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2334,7 +2339,7 @@ "run": "26d585682271" }, "state": "c459dd805bb5", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2346,7 +2351,7 @@ "run": "26d585682271" }, "state": "c459dd805bb5", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2358,7 +2363,7 @@ "run": "267a30accd66" }, "state": "6e27cc3e956c", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2370,7 +2375,7 @@ "run": "267a30accd66" }, "state": "6e27cc3e956c", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2382,7 +2387,7 @@ "run": "267a30accd66" }, "state": "6e27cc3e956c", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2394,7 +2399,7 @@ "run": "267a30accd66" }, "state": "6e27cc3e956c", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2406,7 +2411,7 @@ "run": "267a30accd66" }, "state": "6e27cc3e956c", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2418,7 +2423,7 @@ "run": "267a30accd66" }, "state": "6e27cc3e956c", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2430,7 +2435,7 @@ "run": "b61524b47452" }, "state": "08adfb09d756", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2442,7 +2447,7 @@ "run": "b61524b47452" }, "state": "08adfb09d756", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2454,7 +2459,7 @@ "run": "b61524b47452" }, "state": "08adfb09d756", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2466,7 +2471,7 @@ "run": "b61524b47452" }, "state": "08adfb09d756", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2478,7 +2483,7 @@ "run": "b61524b47452" }, "state": "08adfb09d756", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2490,7 +2495,7 @@ "run": "b61524b47452" }, "state": "08adfb09d756", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2502,7 +2507,7 @@ "run": "a947768bc0ed" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2514,7 +2519,7 @@ "run": "a947768bc0ed" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2526,7 +2531,7 @@ "run": "a947768bc0ed" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2538,7 +2543,7 @@ "run": "a947768bc0ed" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2550,7 +2555,7 @@ "run": "a947768bc0ed" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2562,7 +2567,7 @@ "run": "a947768bc0ed" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2574,7 +2579,7 @@ "run": "c7584e82c72f" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2586,7 +2591,7 @@ "run": "c7584e82c72f" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2598,7 +2603,7 @@ "run": "c7584e82c72f" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2610,7 +2615,7 @@ "run": "c7584e82c72f" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2622,7 +2627,7 @@ "run": "c7584e82c72f" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -2634,7 +2639,7 @@ "run": "c7584e82c72f" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } } ] diff --git a/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-git.status-3.json b/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-git.status-3.json index 7503ae5ba1f..17498d983e1 100644 --- a/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-git.status-3.json +++ b/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-git.status-3.json @@ -3,9 +3,9 @@ "family": "hostedReview.create-intent", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "c582ce355b0704b38d7e84cbce352630096c91231bf09aecd1f6dbb409fed17f", "scenarioSha256": "7355c45a707fa8a31f0999c4805a5b1dace4c65b727e711231f784b2f92c05ff", "platform": "darwin", @@ -109,6 +109,16 @@ "name": "hostedReview.create#1", "json": "{\"id\":\"frame-11\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.create\",\"params\":{\"repo\":\"id:repo42\",\"worktree\":\"id:repo42::/p\",\"provider\":\"github\",\"base\":\"main\",\"head\":\"feature\",\"title\":\"Host title\",\"body\":\"Host body\",\"draft\":false}}" }, + "0b80f2766914": { + "name": "progress", + "value": "generating_commit_message", + "sent": 3 + }, + "0d7681dfb908": { + "name": "progress", + "value": "pushing", + "sent": 7 + }, "125fbea5f50a": { "name": "git.generateCommitMessage#1", "args": [ @@ -384,9 +394,10 @@ "name": "git.bulkStage#1", "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"git.bulkStage\",\"params\":{\"worktree\":\"id:repo42::/p\",\"filePaths\":[\"src/new.ts\"]}}" }, - "368b0b9ce80a": { + "3a3a688f828b": { "name": "progress", - "value": "staging" + "value": "staging", + "sent": 1 }, "410fa853262b": { "name": "git.status#3", @@ -647,10 +658,6 @@ } } }, - "5975e0bdd4a4": { - "name": "progress", - "value": "creating_review" - }, "5b46f52533a0": { "name": "hostedReview.create#1", "args": [ @@ -691,14 +698,6 @@ "name": "git.status#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" }, - "60421d882fd2": { - "name": "progress", - "value": "pushing" - }, - "6a5c9570c542": { - "name": "progress", - "value": "generating_commit_message" - }, "6cd42601ee16": { "name": "git.status#3", "args": [ @@ -767,14 +766,15 @@ "72b388fd3302": { "outcome": "unrun" }, + "7349acf3d5b8": { + "name": "progress", + "value": "committing", + "sent": 4 + }, "7679f4e521d1": { "name": "git.push#1", "json": "{\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"git.push\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" }, - "7778d4c43a58": { - "name": "progress", - "value": "committing" - }, "788869e46db6": { "name": "git.push#1", "args": [ @@ -1363,6 +1363,11 @@ "name": "git.generateCommitMessage#1", "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"git.generateCommitMessage\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" }, + "bbf5b6093f56": { + "name": "progress", + "value": "creating_review", + "sent": 10 + }, "c444aeacec59": { "name": "git.status#3", "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" @@ -1596,7 +1601,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -1608,7 +1613,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1632,7 +1637,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -1660,7 +1665,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -1690,7 +1695,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -1727,11 +1732,11 @@ }, "state": "72b388fd3302", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -1771,11 +1776,11 @@ }, "state": "43ccfe31d2a4", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -1802,7 +1807,7 @@ "run": "898de61efa3c" }, "state": "01bc4ad46170", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -1828,7 +1833,7 @@ "run": "898de61efa3c" }, "state": "01bc4ad46170", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -1854,7 +1859,7 @@ "run": "898de61efa3c" }, "state": "01bc4ad46170", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -1880,7 +1885,7 @@ "run": "898de61efa3c" }, "state": "01bc4ad46170", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -1906,7 +1911,7 @@ "run": "898de61efa3c" }, "state": "01bc4ad46170", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -1932,7 +1937,7 @@ "run": "898de61efa3c" }, "state": "01bc4ad46170", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -1958,7 +1963,7 @@ "run": "898de61efa3c" }, "state": "01bc4ad46170", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -1984,7 +1989,7 @@ "run": "898de61efa3c" }, "state": "01bc4ad46170", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2010,7 +2015,7 @@ "run": "898de61efa3c" }, "state": "01bc4ad46170", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2036,7 +2041,7 @@ "run": "898de61efa3c" }, "state": "01bc4ad46170", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2062,7 +2067,7 @@ "run": "898de61efa3c" }, "state": "01bc4ad46170", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2088,7 +2093,7 @@ "run": "898de61efa3c" }, "state": "01bc4ad46170", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2114,7 +2119,7 @@ "run": "898de61efa3c" }, "state": "01bc4ad46170", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2140,7 +2145,7 @@ "run": "898de61efa3c" }, "state": "01bc4ad46170", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2166,7 +2171,7 @@ "run": "898de61efa3c" }, "state": "01bc4ad46170", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2192,7 +2197,7 @@ "run": "898de61efa3c" }, "state": "01bc4ad46170", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2218,7 +2223,7 @@ "run": "898de61efa3c" }, "state": "01bc4ad46170", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2244,7 +2249,7 @@ "run": "898de61efa3c" }, "state": "01bc4ad46170", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2270,7 +2275,7 @@ "run": "898de61efa3c" }, "state": "01bc4ad46170", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2296,7 +2301,7 @@ "run": "898de61efa3c" }, "state": "01bc4ad46170", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2322,7 +2327,7 @@ "run": "1325f8e894d3" }, "state": "50eda8efe42e", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2348,7 +2353,7 @@ "run": "1325f8e894d3" }, "state": "50eda8efe42e", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2374,7 +2379,7 @@ "run": "1325f8e894d3" }, "state": "50eda8efe42e", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2400,7 +2405,7 @@ "run": "1325f8e894d3" }, "state": "50eda8efe42e", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2426,7 +2431,7 @@ "run": "afd6b6f3573f" }, "state": "f4cca647443e", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2452,7 +2457,7 @@ "run": "afd6b6f3573f" }, "state": "f4cca647443e", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2478,7 +2483,7 @@ "run": "afd6b6f3573f" }, "state": "f4cca647443e", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2504,7 +2509,7 @@ "run": "afd6b6f3573f" }, "state": "f4cca647443e", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2530,7 +2535,7 @@ "run": "45e49471a27c" }, "state": "9299e1dff33e", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2556,7 +2561,7 @@ "run": "45e49471a27c" }, "state": "9299e1dff33e", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2582,7 +2587,7 @@ "run": "45e49471a27c" }, "state": "9299e1dff33e", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2608,7 +2613,7 @@ "run": "45e49471a27c" }, "state": "9299e1dff33e", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2634,7 +2639,7 @@ "run": "a947768bc0ed" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2660,7 +2665,7 @@ "run": "a947768bc0ed" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2686,7 +2691,7 @@ "run": "a947768bc0ed" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2712,7 +2717,7 @@ "run": "a947768bc0ed" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2738,7 +2743,7 @@ "run": "c7584e82c72f" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2764,7 +2769,7 @@ "run": "c7584e82c72f" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2790,7 +2795,7 @@ "run": "c7584e82c72f" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2816,7 +2821,7 @@ "run": "c7584e82c72f" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } } ] diff --git a/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-git.status-4.json b/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-git.status-4.json index 6a18291ed1c..e42a6176e3d 100644 --- a/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-git.status-4.json +++ b/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-git.status-4.json @@ -3,9 +3,9 @@ "family": "hostedReview.create-intent", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "c582ce355b0704b38d7e84cbce352630096c91231bf09aecd1f6dbb409fed17f", "scenarioSha256": "45cda6757b76399d282d4b07992dab21bbb8236faadedba5e92eab8818e886bf", "platform": "darwin", @@ -109,6 +109,16 @@ "name": "hostedReview.create#1", "json": "{\"id\":\"frame-11\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.create\",\"params\":{\"repo\":\"id:repo42\",\"worktree\":\"id:repo42::/p\",\"provider\":\"github\",\"base\":\"main\",\"head\":\"feature\",\"title\":\"Host title\",\"body\":\"Host body\",\"draft\":false}}" }, + "0b80f2766914": { + "name": "progress", + "value": "generating_commit_message", + "sent": 3 + }, + "0d7681dfb908": { + "name": "progress", + "value": "pushing", + "sent": 7 + }, "125fbea5f50a": { "name": "git.generateCommitMessage#1", "args": [ @@ -419,9 +429,10 @@ } } }, - "368b0b9ce80a": { + "3a3a688f828b": { "name": "progress", - "value": "staging" + "value": "staging", + "sent": 1 }, "43ccfe31d2a4": { "outcome": { @@ -507,10 +518,6 @@ } } }, - "5975e0bdd4a4": { - "name": "progress", - "value": "creating_review" - }, "5b46f52533a0": { "name": "hostedReview.create#1", "args": [ @@ -585,10 +592,6 @@ } } }, - "60421d882fd2": { - "name": "progress", - "value": "pushing" - }, "62dc892f13c5": { "name": "git.status#4", "args": [ @@ -620,10 +623,6 @@ } } }, - "6a5c9570c542": { - "name": "progress", - "value": "generating_commit_message" - }, "6c71b1b41cc9": { "outcome": { "committed": true, @@ -688,6 +687,11 @@ "72b388fd3302": { "outcome": "unrun" }, + "7349acf3d5b8": { + "name": "progress", + "value": "committing", + "sent": 4 + }, "73bcd662ebbc": { "status": "fulfilled", "startedAt": 0, @@ -722,10 +726,6 @@ "name": "git.push#1", "json": "{\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"git.push\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" }, - "7778d4c43a58": { - "name": "progress", - "value": "committing" - }, "788869e46db6": { "name": "git.push#1", "args": [ @@ -1173,6 +1173,11 @@ "name": "git.generateCommitMessage#1", "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"git.generateCommitMessage\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" }, + "bbf5b6093f56": { + "name": "progress", + "value": "creating_review", + "sent": 10 + }, "c444aeacec59": { "name": "git.status#3", "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" @@ -1452,7 +1457,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -1464,7 +1469,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1488,7 +1493,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -1516,7 +1521,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -1546,7 +1551,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -1583,11 +1588,11 @@ }, "state": "72b388fd3302", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -1627,11 +1632,11 @@ }, "state": "43ccfe31d2a4", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -1664,7 +1669,7 @@ "run": "898de61efa3c" }, "state": "01bc4ad46170", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -1696,7 +1701,7 @@ "run": "898de61efa3c" }, "state": "01bc4ad46170", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -1728,7 +1733,7 @@ "run": "898de61efa3c" }, "state": "01bc4ad46170", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -1760,7 +1765,7 @@ "run": "898de61efa3c" }, "state": "01bc4ad46170", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -1792,7 +1797,7 @@ "run": "898de61efa3c" }, "state": "01bc4ad46170", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -1824,7 +1829,7 @@ "run": "898de61efa3c" }, "state": "01bc4ad46170", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -1856,7 +1861,7 @@ "run": "898de61efa3c" }, "state": "01bc4ad46170", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -1888,7 +1893,7 @@ "run": "898de61efa3c" }, "state": "01bc4ad46170", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -1920,7 +1925,7 @@ "run": "898de61efa3c" }, "state": "01bc4ad46170", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -1952,7 +1957,7 @@ "run": "898de61efa3c" }, "state": "01bc4ad46170", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -1984,7 +1989,7 @@ "run": "ebe3b70aca42" }, "state": "2753bd712186", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -2016,7 +2021,7 @@ "run": "ebe3b70aca42" }, "state": "2753bd712186", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -2048,7 +2053,7 @@ "run": "73bcd662ebbc" }, "state": "cdf1fca5783b", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -2080,7 +2085,7 @@ "run": "73bcd662ebbc" }, "state": "cdf1fca5783b", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -2112,7 +2117,7 @@ "run": "b74fa1c5741d" }, "state": "6c71b1b41cc9", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -2144,7 +2149,7 @@ "run": "b74fa1c5741d" }, "state": "6c71b1b41cc9", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -2176,7 +2181,7 @@ "run": "a947768bc0ed" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -2208,7 +2213,7 @@ "run": "a947768bc0ed" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -2240,7 +2245,7 @@ "run": "c7584e82c72f" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -2272,7 +2277,7 @@ "run": "c7584e82c72f" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } } ] diff --git a/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-hostedreview.create-1.json b/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-hostedreview.create-1.json index ec85a0974ac..1ad66ab3b0b 100644 --- a/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-hostedreview.create-1.json +++ b/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-hostedreview.create-1.json @@ -3,9 +3,9 @@ "family": "hostedReview.create-intent", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "c582ce355b0704b38d7e84cbce352630096c91231bf09aecd1f6dbb409fed17f", "scenarioSha256": "0ca08d5e70e1780a6ee5c919491dcddb062a22623f803e9960a329825f274cbe", "platform": "darwin", @@ -153,6 +153,16 @@ "name": "hostedReview.create#1", "json": "{\"id\":\"frame-11\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.create\",\"params\":{\"repo\":\"id:repo42\",\"worktree\":\"id:repo42::/p\",\"provider\":\"github\",\"base\":\"main\",\"head\":\"feature\",\"title\":\"Host title\",\"body\":\"Host body\",\"draft\":false}}" }, + "0b80f2766914": { + "name": "progress", + "value": "generating_commit_message", + "sent": 3 + }, + "0d7681dfb908": { + "name": "progress", + "value": "pushing", + "sent": 7 + }, "125fbea5f50a": { "name": "git.generateCommitMessage#1", "args": [ @@ -445,9 +455,10 @@ } } }, - "368b0b9ce80a": { + "3a3a688f828b": { "name": "progress", - "value": "staging" + "value": "staging", + "sent": 1 }, "43ccfe31d2a4": { "outcome": { @@ -606,10 +617,6 @@ } } }, - "5975e0bdd4a4": { - "name": "progress", - "value": "creating_review" - }, "5b46f52533a0": { "name": "hostedReview.create#1", "args": [ @@ -650,10 +657,6 @@ "name": "git.status#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" }, - "60421d882fd2": { - "name": "progress", - "value": "pushing" - }, "658bb4ca2398": { "status": "fulfilled", "startedAt": 0, @@ -684,10 +687,6 @@ } } }, - "6a5c9570c542": { - "name": "progress", - "value": "generating_commit_message" - }, "6c46647d78ab": { "name": "hostedReview.create#1", "args": [ @@ -820,14 +819,15 @@ "72b388fd3302": { "outcome": "unrun" }, + "7349acf3d5b8": { + "name": "progress", + "value": "committing", + "sent": 4 + }, "7679f4e521d1": { "name": "git.push#1", "json": "{\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"git.push\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" }, - "7778d4c43a58": { - "name": "progress", - "value": "committing" - }, "788869e46db6": { "name": "git.push#1", "args": [ @@ -1430,6 +1430,11 @@ "name": "git.generateCommitMessage#1", "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"git.generateCommitMessage\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" }, + "bbf5b6093f56": { + "name": "progress", + "value": "creating_review", + "sent": 10 + }, "c2d62db0725f": { "status": "fulfilled", "startedAt": 0, @@ -1882,7 +1887,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -1894,7 +1899,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1918,7 +1923,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -1946,7 +1951,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -1976,7 +1981,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -2013,11 +2018,11 @@ }, "state": "72b388fd3302", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -2057,11 +2062,11 @@ }, "state": "43ccfe31d2a4", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -2099,11 +2104,11 @@ }, "state": "6d9570b41a8b", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -2141,11 +2146,11 @@ }, "state": "000efa3053f3", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -2183,11 +2188,11 @@ }, "state": "e19dc901cb36", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -2225,11 +2230,11 @@ }, "state": "183dab44d2de", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -2267,11 +2272,11 @@ }, "state": "c955a0980eb4", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -2309,11 +2314,11 @@ }, "state": "6e6633f1d2cf", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -2351,11 +2356,11 @@ }, "state": "0215b92c4449", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -2393,11 +2398,11 @@ }, "state": "a3d6789c75bc", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -2435,11 +2440,11 @@ }, "state": "e6d858bcb05d", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -2477,11 +2482,11 @@ }, "state": "d6eed3ce26c0", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } } diff --git a/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-hostedreview.getcreationeligibility-1.json b/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-hostedreview.getcreationeligibility-1.json index a4f83a9559d..b5c8a4b03d8 100644 --- a/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-hostedreview.getcreationeligibility-1.json +++ b/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-hostedreview.getcreationeligibility-1.json @@ -3,9 +3,9 @@ "family": "hostedReview.create-intent", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "c582ce355b0704b38d7e84cbce352630096c91231bf09aecd1f6dbb409fed17f", "scenarioSha256": "658eb7bbf63b3a4b38eca0b1733e523962b6b6943644d65aab6f5c7e62534d6a", "platform": "darwin", @@ -99,6 +99,16 @@ "name": "hostedReview.create#1", "json": "{\"id\":\"frame-11\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.create\",\"params\":{\"repo\":\"id:repo42\",\"worktree\":\"id:repo42::/p\",\"provider\":\"github\",\"base\":\"main\",\"head\":\"feature\",\"title\":\"Host title\",\"body\":\"Host body\",\"draft\":false}}" }, + "0b80f2766914": { + "name": "progress", + "value": "generating_commit_message", + "sent": 3 + }, + "0d7681dfb908": { + "name": "progress", + "value": "pushing", + "sent": 7 + }, "125fbea5f50a": { "name": "git.generateCommitMessage#1", "args": [ @@ -412,9 +422,10 @@ "name": "git.bulkStage#1", "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"git.bulkStage\",\"params\":{\"worktree\":\"id:repo42::/p\",\"filePaths\":[\"src/new.ts\"]}}" }, - "368b0b9ce80a": { + "3a3a688f828b": { "name": "progress", - "value": "staging" + "value": "staging", + "sent": 1 }, "43ccfe31d2a4": { "outcome": { @@ -549,10 +560,6 @@ } } }, - "5975e0bdd4a4": { - "name": "progress", - "value": "creating_review" - }, "5b46f52533a0": { "name": "hostedReview.create#1", "args": [ @@ -639,10 +646,6 @@ } } }, - "60421d882fd2": { - "name": "progress", - "value": "pushing" - }, "6538ade0d25d": { "name": "hostedReview.getCreationEligibility#1", "args": [ @@ -737,10 +740,6 @@ } } }, - "6a5c9570c542": { - "name": "progress", - "value": "generating_commit_message" - }, "6df8e4961ee3": { "name": "git.generateCommitMessage#1", "args": [ @@ -778,14 +777,15 @@ "72b388fd3302": { "outcome": "unrun" }, + "7349acf3d5b8": { + "name": "progress", + "value": "committing", + "sent": 4 + }, "7679f4e521d1": { "name": "git.push#1", "json": "{\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"git.push\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" }, - "7778d4c43a58": { - "name": "progress", - "value": "committing" - }, "788869e46db6": { "name": "git.push#1", "args": [ @@ -1189,6 +1189,11 @@ "name": "git.generateCommitMessage#1", "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"git.generateCommitMessage\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" }, + "bbf5b6093f56": { + "name": "progress", + "value": "creating_review", + "sent": 10 + }, "c444aeacec59": { "name": "git.status#3", "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" @@ -1502,7 +1507,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -1514,7 +1519,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1538,7 +1543,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -1566,7 +1571,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -1596,7 +1601,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -1633,11 +1638,11 @@ }, "state": "72b388fd3302", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -1677,11 +1682,11 @@ }, "state": "43ccfe31d2a4", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -1710,7 +1715,7 @@ "run": "e6f94c399ee4" }, "state": "1bfbb544c337", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -1738,7 +1743,7 @@ "run": "e6f94c399ee4" }, "state": "1bfbb544c337", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -1766,7 +1771,7 @@ "run": "e6f94c399ee4" }, "state": "1bfbb544c337", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -1794,7 +1799,7 @@ "run": "e6f94c399ee4" }, "state": "1bfbb544c337", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -1822,7 +1827,7 @@ "run": "e6f94c399ee4" }, "state": "1bfbb544c337", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -1850,7 +1855,7 @@ "run": "e6f94c399ee4" }, "state": "1bfbb544c337", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -1878,7 +1883,7 @@ "run": "83e80c98d259" }, "state": "dd5d9b4070b7", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -1906,7 +1911,7 @@ "run": "83e80c98d259" }, "state": "dd5d9b4070b7", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -1934,7 +1939,7 @@ "run": "83e80c98d259" }, "state": "dd5d9b4070b7", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -1962,7 +1967,7 @@ "run": "83e80c98d259" }, "state": "dd5d9b4070b7", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -1990,7 +1995,7 @@ "run": "83e80c98d259" }, "state": "dd5d9b4070b7", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2018,7 +2023,7 @@ "run": "83e80c98d259" }, "state": "dd5d9b4070b7", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2046,7 +2051,7 @@ "run": "83e80c98d259" }, "state": "dd5d9b4070b7", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2074,7 +2079,7 @@ "run": "83e80c98d259" }, "state": "dd5d9b4070b7", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2102,7 +2107,7 @@ "run": "83e80c98d259" }, "state": "dd5d9b4070b7", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2130,7 +2135,7 @@ "run": "e6f94c399ee4" }, "state": "1bfbb544c337", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2158,7 +2163,7 @@ "run": "e6f94c399ee4" }, "state": "1bfbb544c337", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2186,7 +2191,7 @@ "run": "e6f94c399ee4" }, "state": "1bfbb544c337", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2214,7 +2219,7 @@ "run": "e6f94c399ee4" }, "state": "1bfbb544c337", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2242,7 +2247,7 @@ "run": "e6f94c399ee4" }, "state": "1bfbb544c337", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2270,7 +2275,7 @@ "run": "e6f94c399ee4" }, "state": "1bfbb544c337", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2298,7 +2303,7 @@ "run": "e6f94c399ee4" }, "state": "1bfbb544c337", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2326,7 +2331,7 @@ "run": "e6f94c399ee4" }, "state": "1bfbb544c337", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2354,7 +2359,7 @@ "run": "e6f94c399ee4" }, "state": "1bfbb544c337", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2382,7 +2387,7 @@ "run": "e6f94c399ee4" }, "state": "1bfbb544c337", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2410,7 +2415,7 @@ "run": "e6f94c399ee4" }, "state": "1bfbb544c337", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2438,7 +2443,7 @@ "run": "e6f94c399ee4" }, "state": "1bfbb544c337", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2466,7 +2471,7 @@ "run": "e6f94c399ee4" }, "state": "1bfbb544c337", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2494,7 +2499,7 @@ "run": "e6f94c399ee4" }, "state": "1bfbb544c337", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -2522,7 +2527,7 @@ "run": "e6f94c399ee4" }, "state": "1bfbb544c337", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } } ] diff --git a/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-hostedreview.getcreationeligibility-2.json b/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-hostedreview.getcreationeligibility-2.json index 7e350e18a2a..ee751db82e5 100644 --- a/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-hostedreview.getcreationeligibility-2.json +++ b/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-hostedreview.getcreationeligibility-2.json @@ -3,9 +3,9 @@ "family": "hostedReview.create-intent", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "c582ce355b0704b38d7e84cbce352630096c91231bf09aecd1f6dbb409fed17f", "scenarioSha256": "75ba135731290bf734a5eef0b65f9ad8b7cac453c4e2006faac88a5da9dbe3a3", "platform": "darwin", @@ -99,6 +99,16 @@ "name": "hostedReview.create#1", "json": "{\"id\":\"frame-11\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.create\",\"params\":{\"repo\":\"id:repo42\",\"worktree\":\"id:repo42::/p\",\"provider\":\"github\",\"base\":\"main\",\"head\":\"feature\",\"title\":\"Host title\",\"body\":\"Host body\",\"draft\":false}}" }, + "0b80f2766914": { + "name": "progress", + "value": "generating_commit_message", + "sent": 3 + }, + "0d7681dfb908": { + "name": "progress", + "value": "pushing", + "sent": 7 + }, "0ea11c3b0bda": { "name": "hostedReview.getCreationEligibility#2", "args": [ @@ -479,9 +489,10 @@ "name": "git.bulkStage#1", "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"git.bulkStage\",\"params\":{\"worktree\":\"id:repo42::/p\",\"filePaths\":[\"src/new.ts\"]}}" }, - "368b0b9ce80a": { + "3a3a688f828b": { "name": "progress", - "value": "staging" + "value": "staging", + "sent": 1 }, "3baf33626add": { "status": "fulfilled", @@ -646,10 +657,6 @@ } } }, - "5975e0bdd4a4": { - "name": "progress", - "value": "creating_review" - }, "5a0d2dca259b": { "outcome": { "committed": true, @@ -717,14 +724,6 @@ "name": "git.status#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" }, - "60421d882fd2": { - "name": "progress", - "value": "pushing" - }, - "6a5c9570c542": { - "name": "progress", - "value": "generating_commit_message" - }, "6bdfb4167cc6": { "outcome": { "committed": true, @@ -840,6 +839,11 @@ "72b388fd3302": { "outcome": "unrun" }, + "7349acf3d5b8": { + "name": "progress", + "value": "committing", + "sent": 4 + }, "73e6cf23f0b3": { "name": "hostedReview.getCreationEligibility#2", "args": [ @@ -890,10 +894,6 @@ "name": "git.push#1", "json": "{\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"git.push\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" }, - "7778d4c43a58": { - "name": "progress", - "value": "committing" - }, "788869e46db6": { "name": "git.push#1", "args": [ @@ -1219,6 +1219,11 @@ "name": "git.generateCommitMessage#1", "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"git.generateCommitMessage\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" }, + "bbf5b6093f56": { + "name": "progress", + "value": "creating_review", + "sent": 10 + }, "bf0e050653a2": { "status": "fulfilled", "startedAt": 0, @@ -1502,7 +1507,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -1514,7 +1519,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1538,7 +1543,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -1566,7 +1571,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -1596,7 +1601,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -1633,11 +1638,11 @@ }, "state": "72b388fd3302", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -1677,11 +1682,11 @@ }, "state": "43ccfe31d2a4", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -1716,7 +1721,7 @@ "run": "3baf33626add" }, "state": "6bdfb4167cc6", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -1750,7 +1755,7 @@ "run": "3baf33626add" }, "state": "6bdfb4167cc6", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -1784,7 +1789,7 @@ "run": "3baf33626add" }, "state": "6bdfb4167cc6", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -1818,7 +1823,7 @@ "run": "3baf33626add" }, "state": "6bdfb4167cc6", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -1852,7 +1857,7 @@ "run": "bf0e050653a2" }, "state": "5a0d2dca259b", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -1886,7 +1891,7 @@ "run": "bf0e050653a2" }, "state": "5a0d2dca259b", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -1920,7 +1925,7 @@ "run": "bf0e050653a2" }, "state": "5a0d2dca259b", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -1954,7 +1959,7 @@ "run": "bf0e050653a2" }, "state": "5a0d2dca259b", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -1988,7 +1993,7 @@ "run": "bf0e050653a2" }, "state": "5a0d2dca259b", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -2022,7 +2027,7 @@ "run": "bf0e050653a2" }, "state": "5a0d2dca259b", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -2056,7 +2061,7 @@ "run": "3baf33626add" }, "state": "6bdfb4167cc6", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -2090,7 +2095,7 @@ "run": "3baf33626add" }, "state": "6bdfb4167cc6", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -2124,7 +2129,7 @@ "run": "3baf33626add" }, "state": "6bdfb4167cc6", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -2158,7 +2163,7 @@ "run": "3baf33626add" }, "state": "6bdfb4167cc6", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -2192,7 +2197,7 @@ "run": "3baf33626add" }, "state": "6bdfb4167cc6", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -2226,7 +2231,7 @@ "run": "3baf33626add" }, "state": "6bdfb4167cc6", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -2260,7 +2265,7 @@ "run": "3baf33626add" }, "state": "6bdfb4167cc6", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -2294,7 +2299,7 @@ "run": "3baf33626add" }, "state": "6bdfb4167cc6", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -2328,7 +2333,7 @@ "run": "3baf33626add" }, "state": "6bdfb4167cc6", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -2362,7 +2367,7 @@ "run": "3baf33626add" }, "state": "6bdfb4167cc6", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } } ] diff --git a/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-worktree.set-1.json b/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-worktree.set-1.json index da2a5b2c4ab..ef473ca70d5 100644 --- a/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-worktree.set-1.json +++ b/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-worktree.set-1.json @@ -3,9 +3,9 @@ "family": "hostedReview.create-intent", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "c582ce355b0704b38d7e84cbce352630096c91231bf09aecd1f6dbb409fed17f", "scenarioSha256": "beb1161b98ffde8c5f1128e843766a1da3182d195f1f0a9012e12e5318ae01bc", "platform": "darwin", @@ -99,6 +99,16 @@ "name": "hostedReview.create#1", "json": "{\"id\":\"frame-11\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.create\",\"params\":{\"repo\":\"id:repo42\",\"worktree\":\"id:repo42::/p\",\"provider\":\"github\",\"base\":\"main\",\"head\":\"feature\",\"title\":\"Host title\",\"body\":\"Host body\",\"draft\":false}}" }, + "0b80f2766914": { + "name": "progress", + "value": "generating_commit_message", + "sent": 3 + }, + "0d7681dfb908": { + "name": "progress", + "value": "pushing", + "sent": 7 + }, "0fe249ca3852": { "name": "worktree.set#1", "args": [ @@ -474,9 +484,10 @@ "name": "git.bulkStage#1", "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"git.bulkStage\",\"params\":{\"worktree\":\"id:repo42::/p\",\"filePaths\":[\"src/new.ts\"]}}" }, - "368b0b9ce80a": { + "3a3a688f828b": { "name": "progress", - "value": "staging" + "value": "staging", + "sent": 1 }, "43ccfe31d2a4": { "outcome": { @@ -562,10 +573,6 @@ } } }, - "5975e0bdd4a4": { - "name": "progress", - "value": "creating_review" - }, "5b46f52533a0": { "name": "hostedReview.create#1", "args": [ @@ -606,14 +613,6 @@ "name": "git.status#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" }, - "60421d882fd2": { - "name": "progress", - "value": "pushing" - }, - "6a5c9570c542": { - "name": "progress", - "value": "generating_commit_message" - }, "6df8e4961ee3": { "name": "git.generateCommitMessage#1", "args": [ @@ -651,14 +650,15 @@ "72b388fd3302": { "outcome": "unrun" }, + "7349acf3d5b8": { + "name": "progress", + "value": "committing", + "sent": 4 + }, "7679f4e521d1": { "name": "git.push#1", "json": "{\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"git.push\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" }, - "7778d4c43a58": { - "name": "progress", - "value": "committing" - }, "788869e46db6": { "name": "git.push#1", "args": [ @@ -1098,6 +1098,11 @@ "name": "git.generateCommitMessage#1", "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"git.generateCommitMessage\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" }, + "bbf5b6093f56": { + "name": "progress", + "value": "creating_review", + "sent": 10 + }, "bfe1edd2ca60": { "name": "worktree.set#1", "args": [ @@ -1345,7 +1350,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -1357,7 +1362,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -1381,7 +1386,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -1409,7 +1414,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -1439,7 +1444,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -1476,11 +1481,11 @@ }, "state": "72b388fd3302", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -1520,11 +1525,11 @@ }, "state": "43ccfe31d2a4", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -1564,11 +1569,11 @@ }, "state": "43ccfe31d2a4", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -1608,11 +1613,11 @@ }, "state": "43ccfe31d2a4", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -1652,11 +1657,11 @@ }, "state": "43ccfe31d2a4", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -1696,11 +1701,11 @@ }, "state": "43ccfe31d2a4", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -1740,11 +1745,11 @@ }, "state": "43ccfe31d2a4", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -1784,11 +1789,11 @@ }, "state": "2c6dd148501e", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -1828,11 +1833,11 @@ }, "state": "2c6dd148501e", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -1872,11 +1877,11 @@ }, "state": "2c6dd148501e", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -1916,11 +1921,11 @@ }, "state": "2c6dd148501e", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -1960,11 +1965,11 @@ }, "state": "43ccfe31d2a4", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } } diff --git a/mobile/rpc-foundation/goldens/matrix-hostedreview.eligibility-hostedreview.getcreationeligibility-1.json b/mobile/rpc-foundation/goldens/matrix-hostedreview.eligibility-hostedreview.getcreationeligibility-1.json index 35613ec8d32..95fc0efd205 100644 --- a/mobile/rpc-foundation/goldens/matrix-hostedreview.eligibility-hostedreview.getcreationeligibility-1.json +++ b/mobile/rpc-foundation/goldens/matrix-hostedreview.eligibility-hostedreview.getcreationeligibility-1.json @@ -3,9 +3,9 @@ "family": "hostedReview.eligibility", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "c582ce355b0704b38d7e84cbce352630096c91231bf09aecd1f6dbb409fed17f", "scenarioSha256": "6c4de90e2617d204e82ca5e65eb17fc397acbcbb9dc0ec18594d2a7739e3528b", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/matrix-legacy-inventory-files.searchpaths-1.json b/mobile/rpc-foundation/goldens/matrix-legacy-inventory-files.searchpaths-1.json index cfaa250b313..52d4b4c2e12 100644 --- a/mobile/rpc-foundation/goldens/matrix-legacy-inventory-files.searchpaths-1.json +++ b/mobile/rpc-foundation/goldens/matrix-legacy-inventory-files.searchpaths-1.json @@ -3,9 +3,9 @@ "family": "legacy-inventory", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "262eaad263a45aa13ec5b27c12b59946b12c202474229fff7a5727dba6d702ca", "scenarioSha256": "4f6472fb7add960be9bcc8596a748264d7cb0755a782ebe9e85753ab1d1d5710", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/matrix-legacy-inventory-files.searchpaths-2.json b/mobile/rpc-foundation/goldens/matrix-legacy-inventory-files.searchpaths-2.json index d35e26c6955..661a0d3733e 100644 --- a/mobile/rpc-foundation/goldens/matrix-legacy-inventory-files.searchpaths-2.json +++ b/mobile/rpc-foundation/goldens/matrix-legacy-inventory-files.searchpaths-2.json @@ -3,9 +3,9 @@ "family": "legacy-inventory", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "262eaad263a45aa13ec5b27c12b59946b12c202474229fff7a5727dba6d702ca", "scenarioSha256": "048c3ec55ec67d09d9b02e17822f1154adca577e57ffe6d3059102d552d2f759", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/matrix-legacy-inventory-fresh-inventory.json b/mobile/rpc-foundation/goldens/matrix-legacy-inventory-fresh-inventory.json index 5bcd165c55b..5a98129ac8f 100644 --- a/mobile/rpc-foundation/goldens/matrix-legacy-inventory-fresh-inventory.json +++ b/mobile/rpc-foundation/goldens/matrix-legacy-inventory-fresh-inventory.json @@ -3,9 +3,9 @@ "family": "legacy-inventory", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "262eaad263a45aa13ec5b27c12b59946b12c202474229fff7a5727dba6d702ca", "scenarioSha256": "ad458a3407e3f1303343b46a1308b43535abef2c9ed2f68db59157db5b91daa1", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/matrix-legacy-inventory-old-inventory.json b/mobile/rpc-foundation/goldens/matrix-legacy-inventory-old-inventory.json index fdab5a1a644..8b523e8ce8b 100644 --- a/mobile/rpc-foundation/goldens/matrix-legacy-inventory-old-inventory.json +++ b/mobile/rpc-foundation/goldens/matrix-legacy-inventory-old-inventory.json @@ -3,9 +3,9 @@ "family": "legacy-inventory", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "262eaad263a45aa13ec5b27c12b59946b12c202474229fff7a5727dba6d702ca", "scenarioSha256": "52742d894d0ea53db89729101664a393b10794d9c2d2fe7b40b020643a13af81", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/matrix-linear-detail-barrier-linear.getissue-1.json b/mobile/rpc-foundation/goldens/matrix-linear-detail-barrier-linear.getissue-1.json index 01c46dfd792..1d4ff58fa80 100644 --- a/mobile/rpc-foundation/goldens/matrix-linear-detail-barrier-linear.getissue-1.json +++ b/mobile/rpc-foundation/goldens/matrix-linear-detail-barrier-linear.getissue-1.json @@ -3,9 +3,9 @@ "family": "linear-detail-barrier", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "d3b7f33d810e1fa420ac41a628cde9fe4a9e65fd57f89fbca0a40fc7d74951ab", "scenarioSha256": "8e00afc85e5b82d75bedecea0c748a3c8658cfc8545650e755c03f51fdc932d6", "platform": "darwin", @@ -13,9 +13,10 @@ "projectionVersion": 2, "goldenFormatVersion": 5, "values": { - "1696f2f90218": { + "0e0abca05602": { "name": "detailError", - "value": "comments transport error" + "value": "comments transport error", + "sent": 2 }, "1736ff39135a": { "name": "linear.getIssue#1", @@ -52,9 +53,10 @@ } } }, - "3b01c25bcd45": { + "39ca42c97176": { "name": "detailError", - "value": "" + "value": "", + "sent": 2 }, "3cb9a384ce0e": { "name": "linear.issueComments#1", @@ -96,9 +98,10 @@ "$rpc": "null" } }, - "468cc28b676c": { + "4a3ebfb61f95": { "name": "detailError", - "value": "transport failure" + "value": "transport failure", + "sent": 2 }, "4e7c4654b51d": { "name": "linear.issueComments#1", @@ -139,6 +142,11 @@ "$rpc": "null" } }, + "56d172ecd2fe": { + "name": "detailLoading", + "value": true, + "sent": 0 + }, "5ce7f3fa558f": { "name": "linear.getIssue#1", "args": [ @@ -248,16 +256,6 @@ "$rpc": "null" } }, - "7d21147e56c1": { - "name": "detailLoading", - "value": true - }, - "7d341b2cb946": { - "name": "detailPayload", - "value": { - "$rpc": "null" - } - }, "8ec7d930f214": { "name": "linear.getIssue#1", "args": [ @@ -293,9 +291,17 @@ } } }, - "91a1c8142e23": { - "name": "detailLoading", - "value": false + "9bd1de5d9753": { + "name": "detailPayload", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "9d6ce9f28401": { + "name": "detailError", + "value": "", + "sent": 0 }, "a1504f9a0912": { "name": "linear.getIssue#1", @@ -483,6 +489,11 @@ "$rpc": "undefined" } }, + "ee0c4638d266": { + "name": "detailLoading", + "value": false, + "sent": 2 + }, "fc4ce176400a": { "name": "linear.getIssue#1", "args": [ @@ -557,7 +568,7 @@ "mount": "eb79a9b3682a" }, "state": "780aaf1d97be", - "effects": ["7d341b2cb946", "3b01c25bcd45", "7d21147e56c1"] + "effects": ["9bd1de5d9753", "9d6ce9f28401", "56d172ecd2fe"] } }, { @@ -569,7 +580,7 @@ "mount": "eb79a9b3682a" }, "state": "780aaf1d97be", - "effects": ["7d341b2cb946", "3b01c25bcd45", "7d21147e56c1"] + "effects": ["9bd1de5d9753", "9d6ce9f28401", "56d172ecd2fe"] } }, { @@ -582,11 +593,11 @@ }, "state": "42903545f0f8", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "1696f2f90218", - "91a1c8142e23" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "0e0abca05602", + "ee0c4638d266" ] } }, @@ -599,7 +610,7 @@ "mount": "eb79a9b3682a" }, "state": "780aaf1d97be", - "effects": ["7d341b2cb946", "3b01c25bcd45", "7d21147e56c1"] + "effects": ["9bd1de5d9753", "9d6ce9f28401", "56d172ecd2fe"] } }, { @@ -612,11 +623,11 @@ }, "state": "42903545f0f8", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "1696f2f90218", - "91a1c8142e23" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "0e0abca05602", + "ee0c4638d266" ] } }, @@ -629,7 +640,7 @@ "mount": "eb79a9b3682a" }, "state": "780aaf1d97be", - "effects": ["7d341b2cb946", "3b01c25bcd45", "7d21147e56c1"] + "effects": ["9bd1de5d9753", "9d6ce9f28401", "56d172ecd2fe"] } }, { @@ -642,11 +653,11 @@ }, "state": "42903545f0f8", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "1696f2f90218", - "91a1c8142e23" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "0e0abca05602", + "ee0c4638d266" ] } }, @@ -659,7 +670,7 @@ "mount": "eb79a9b3682a" }, "state": "780aaf1d97be", - "effects": ["7d341b2cb946", "3b01c25bcd45", "7d21147e56c1"] + "effects": ["9bd1de5d9753", "9d6ce9f28401", "56d172ecd2fe"] } }, { @@ -672,11 +683,11 @@ }, "state": "42903545f0f8", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "1696f2f90218", - "91a1c8142e23" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "0e0abca05602", + "ee0c4638d266" ] } }, @@ -689,7 +700,7 @@ "mount": "eb79a9b3682a" }, "state": "780aaf1d97be", - "effects": ["7d341b2cb946", "3b01c25bcd45", "7d21147e56c1"] + "effects": ["9bd1de5d9753", "9d6ce9f28401", "56d172ecd2fe"] } }, { @@ -702,11 +713,11 @@ }, "state": "42903545f0f8", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "1696f2f90218", - "91a1c8142e23" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "0e0abca05602", + "ee0c4638d266" ] } }, @@ -719,7 +730,7 @@ "mount": "eb79a9b3682a" }, "state": "780aaf1d97be", - "effects": ["7d341b2cb946", "3b01c25bcd45", "7d21147e56c1"] + "effects": ["9bd1de5d9753", "9d6ce9f28401", "56d172ecd2fe"] } }, { @@ -732,11 +743,11 @@ }, "state": "42903545f0f8", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "1696f2f90218", - "91a1c8142e23" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "0e0abca05602", + "ee0c4638d266" ] } }, @@ -749,7 +760,7 @@ "mount": "eb79a9b3682a" }, "state": "780aaf1d97be", - "effects": ["7d341b2cb946", "3b01c25bcd45", "7d21147e56c1"] + "effects": ["9bd1de5d9753", "9d6ce9f28401", "56d172ecd2fe"] } }, { @@ -762,11 +773,11 @@ }, "state": "42903545f0f8", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "1696f2f90218", - "91a1c8142e23" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "0e0abca05602", + "ee0c4638d266" ] } }, @@ -779,7 +790,7 @@ "mount": "eb79a9b3682a" }, "state": "780aaf1d97be", - "effects": ["7d341b2cb946", "3b01c25bcd45", "7d21147e56c1"] + "effects": ["9bd1de5d9753", "9d6ce9f28401", "56d172ecd2fe"] } }, { @@ -792,11 +803,11 @@ }, "state": "42903545f0f8", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "1696f2f90218", - "91a1c8142e23" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "0e0abca05602", + "ee0c4638d266" ] } }, @@ -809,7 +820,7 @@ "mount": "eb79a9b3682a" }, "state": "780aaf1d97be", - "effects": ["7d341b2cb946", "3b01c25bcd45", "7d21147e56c1"] + "effects": ["9bd1de5d9753", "9d6ce9f28401", "56d172ecd2fe"] } }, { @@ -822,11 +833,11 @@ }, "state": "42903545f0f8", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "1696f2f90218", - "91a1c8142e23" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "0e0abca05602", + "ee0c4638d266" ] } }, @@ -840,11 +851,11 @@ }, "state": "4209c465bb82", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "468cc28b676c", - "91a1c8142e23" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "4a3ebfb61f95", + "ee0c4638d266" ] } }, @@ -858,11 +869,11 @@ }, "state": "4209c465bb82", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "468cc28b676c", - "91a1c8142e23" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "4a3ebfb61f95", + "ee0c4638d266" ] } }, @@ -876,11 +887,11 @@ }, "state": "51f19b7d1380", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "3b01c25bcd45", - "91a1c8142e23" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "39ca42c97176", + "ee0c4638d266" ] } }, @@ -894,11 +905,11 @@ }, "state": "51f19b7d1380", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "3b01c25bcd45", - "91a1c8142e23" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "39ca42c97176", + "ee0c4638d266" ] } } diff --git a/mobile/rpc-foundation/goldens/matrix-linear-detail-barrier-linear.issuecomments-1.json b/mobile/rpc-foundation/goldens/matrix-linear-detail-barrier-linear.issuecomments-1.json index 31ee0f4511b..7a2dca66acb 100644 --- a/mobile/rpc-foundation/goldens/matrix-linear-detail-barrier-linear.issuecomments-1.json +++ b/mobile/rpc-foundation/goldens/matrix-linear-detail-barrier-linear.issuecomments-1.json @@ -3,9 +3,9 @@ "family": "linear-detail-barrier", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "d3b7f33d810e1fa420ac41a628cde9fe4a9e65fd57f89fbca0a40fc7d74951ab", "scenarioSha256": "40289acce4a3542773f74681d255d67cfddadf6c42317928d6728f26a76f6cfb", "platform": "darwin", @@ -116,9 +116,10 @@ } } }, - "3b01c25bcd45": { + "39ca42c97176": { "name": "detailError", - "value": "" + "value": "", + "sent": 2 }, "3bb04fc55c1a": { "name": "linear.issueComments#1", @@ -220,9 +221,10 @@ "$rpc": "null" } }, - "468cc28b676c": { + "4a3ebfb61f95": { "name": "detailError", - "value": "transport failure" + "value": "transport failure", + "sent": 2 }, "51f19b7d1380": { "error": "", @@ -231,6 +233,16 @@ "$rpc": "null" } }, + "56d172ecd2fe": { + "name": "detailLoading", + "value": true, + "sent": 0 + }, + "77515f910d51": { + "name": "detailError", + "value": "issue refused", + "sent": 2 + }, "780aaf1d97be": { "error": "", "loading": true, @@ -238,19 +250,17 @@ "$rpc": "null" } }, - "7d21147e56c1": { - "name": "detailLoading", - "value": true - }, - "7d341b2cb946": { + "9bd1de5d9753": { "name": "detailPayload", "value": { "$rpc": "null" - } + }, + "sent": 0 }, - "91a1c8142e23": { - "name": "detailLoading", - "value": false + "9d6ce9f28401": { + "name": "detailError", + "value": "", + "sent": 0 }, "9f8c9f7294a0": { "name": "linear.issueComments#1", @@ -436,10 +446,6 @@ "$rpc": "null" } }, - "e1a8c572690f": { - "name": "detailError", - "value": "issue refused" - }, "e7f73629d075": { "name": "linear.issueComments#1", "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.issueComments\",\"params\":{\"issueId\":\"issue-1\",\"workspaceId\":\"linear-workspace\"}}" @@ -484,6 +490,11 @@ } } }, + "ee0c4638d266": { + "name": "detailLoading", + "value": false, + "sent": 2 + }, "f60c595d990e": { "name": "linear.issueComments#1", "args": [ @@ -557,7 +568,7 @@ "mount": "eb79a9b3682a" }, "state": "780aaf1d97be", - "effects": ["7d341b2cb946", "3b01c25bcd45", "7d21147e56c1"] + "effects": ["9bd1de5d9753", "9d6ce9f28401", "56d172ecd2fe"] } }, { @@ -569,7 +580,7 @@ "mount": "eb79a9b3682a" }, "state": "780aaf1d97be", - "effects": ["7d341b2cb946", "3b01c25bcd45", "7d21147e56c1"] + "effects": ["9bd1de5d9753", "9d6ce9f28401", "56d172ecd2fe"] } }, { @@ -582,11 +593,11 @@ }, "state": "dff907b2355c", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "e1a8c572690f", - "91a1c8142e23" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "77515f910d51", + "ee0c4638d266" ] } }, @@ -600,11 +611,11 @@ }, "state": "dff907b2355c", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "e1a8c572690f", - "91a1c8142e23" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "77515f910d51", + "ee0c4638d266" ] } }, @@ -618,11 +629,11 @@ }, "state": "dff907b2355c", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "e1a8c572690f", - "91a1c8142e23" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "77515f910d51", + "ee0c4638d266" ] } }, @@ -636,11 +647,11 @@ }, "state": "dff907b2355c", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "e1a8c572690f", - "91a1c8142e23" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "77515f910d51", + "ee0c4638d266" ] } }, @@ -654,11 +665,11 @@ }, "state": "dff907b2355c", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "e1a8c572690f", - "91a1c8142e23" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "77515f910d51", + "ee0c4638d266" ] } }, @@ -672,11 +683,11 @@ }, "state": "dff907b2355c", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "e1a8c572690f", - "91a1c8142e23" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "77515f910d51", + "ee0c4638d266" ] } }, @@ -690,11 +701,11 @@ }, "state": "dff907b2355c", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "e1a8c572690f", - "91a1c8142e23" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "77515f910d51", + "ee0c4638d266" ] } }, @@ -708,11 +719,11 @@ }, "state": "dff907b2355c", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "e1a8c572690f", - "91a1c8142e23" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "77515f910d51", + "ee0c4638d266" ] } }, @@ -726,11 +737,11 @@ }, "state": "dff907b2355c", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "e1a8c572690f", - "91a1c8142e23" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "77515f910d51", + "ee0c4638d266" ] } }, @@ -744,11 +755,11 @@ }, "state": "4209c465bb82", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "468cc28b676c", - "91a1c8142e23" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "4a3ebfb61f95", + "ee0c4638d266" ] } }, @@ -762,11 +773,11 @@ }, "state": "51f19b7d1380", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "3b01c25bcd45", - "91a1c8142e23" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "39ca42c97176", + "ee0c4638d266" ] } } diff --git a/mobile/rpc-foundation/goldens/matrix-nativechat.image-paste-terminal.send-1.json b/mobile/rpc-foundation/goldens/matrix-nativechat.image-paste-terminal.send-1.json new file mode 100644 index 00000000000..e0dafc1b227 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-nativechat.image-paste-terminal.send-1.json @@ -0,0 +1,698 @@ +{ + "operation": "nativeChat.image-paste", + "family": "nativeChat.image-paste", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "16779b663f4faec8cbccdb42efd7b568a2912845b161f8a4827754687eb4235c", + "scenarioSha256": "88da63e9f56e02dbe8404471e23251f9b13fd00b1ab10c19aa15b3a73128a53e", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0c34ad3edfd4": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "\u0015" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "242d9ae1137d": { + "name": "terminal.send#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u0015\",\"enter\":false,\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" + }, + "37db94f2b504": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "\u0015" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "47a22f9d0047": { + "failure": { + "$rpc": "null" + }, + "pasted": true + }, + "518651fd2840": { + "name": "terminal.send#2", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "\u001b[200~/tmp/a.png\u001b[201~ " + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + } + }, + "52ae659a3d36": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "\u0015" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + } + }, + "604f82044ca0": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "\u0015" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "7ed3d39f0607": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": false + }, + "84e5ca07cb7a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": true + }, + "a32415cc51eb": { + "failure": "", + "pasted": "unpasted" + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "b83e56a4ec7e": { + "name": "terminal.send#2", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u001b[200~/tmp/a.png\\u001b[201~ \",\"enter\":false,\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" + }, + "bb0a3578940a": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "\u0015" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "c299c7a89e41": { + "failure": { + "$rpc": "null" + }, + "pasted": false + }, + "c7584e82c72f": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + }, + "ca4bb356176b": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "\u0015" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "d4132868cdd1": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "\u0015" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "e23dda10e475": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "\u0015" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-1", + "ok": false + } + } + }, + "e74d7d62aa22": { + "failure": "transport failure", + "pasted": "unpasted" + }, + "eee5069757c1": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "\u0015" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "efe52c3cedea": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "\u0015" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "f0668186d466": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "\u0015" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + } + }, + "recording": { + "scenario": "matrix-nativechat.image-paste-terminal.send-1", + "checkpoints": [ + { + "id": "native-chat-image-paste-single.normal:pasted", + "observation": { + "sender": ["52ae659a3d36", "518651fd2840"], + "payloads": ["242d9ae1137d", "b83e56a4ec7e"], + "settlements": { + "one": "84e5ca07cb7a" + }, + "state": "47a22f9d0047", + "effects": [] + } + }, + { + "id": "native-chat-image-paste-single.result-absent:pasted", + "observation": { + "sender": ["0c34ad3edfd4"], + "payloads": ["242d9ae1137d"], + "settlements": { + "one": "7ed3d39f0607" + }, + "state": "c299c7a89e41", + "effects": [] + } + }, + { + "id": "native-chat-image-paste-single.result-null:pasted", + "observation": { + "sender": ["ca4bb356176b"], + "payloads": ["242d9ae1137d"], + "settlements": { + "one": "7ed3d39f0607" + }, + "state": "c299c7a89e41", + "effects": [] + } + }, + { + "id": "native-chat-image-paste-single.inner-ok-missing:pasted", + "observation": { + "sender": ["bb0a3578940a"], + "payloads": ["242d9ae1137d"], + "settlements": { + "one": "7ed3d39f0607" + }, + "state": "c299c7a89e41", + "effects": [] + } + }, + { + "id": "native-chat-image-paste-single.inner-false-string-error:pasted", + "observation": { + "sender": ["eee5069757c1"], + "payloads": ["242d9ae1137d"], + "settlements": { + "one": "7ed3d39f0607" + }, + "state": "c299c7a89e41", + "effects": [] + } + }, + { + "id": "native-chat-image-paste-single.inner-false-object-error:pasted", + "observation": { + "sender": ["efe52c3cedea"], + "payloads": ["242d9ae1137d"], + "settlements": { + "one": "7ed3d39f0607" + }, + "state": "c299c7a89e41", + "effects": [] + } + }, + { + "id": "native-chat-image-paste-single.outer-refused:pasted", + "observation": { + "sender": ["604f82044ca0"], + "payloads": ["242d9ae1137d"], + "settlements": { + "one": "7ed3d39f0607" + }, + "state": "c299c7a89e41", + "effects": [] + } + }, + { + "id": "native-chat-image-paste-single.outer-refused-no-message:pasted", + "observation": { + "sender": ["37db94f2b504"], + "payloads": ["242d9ae1137d"], + "settlements": { + "one": "7ed3d39f0607" + }, + "state": "c299c7a89e41", + "effects": [] + } + }, + { + "id": "native-chat-image-paste-single.method-not-found:pasted", + "observation": { + "sender": ["e23dda10e475"], + "payloads": ["242d9ae1137d"], + "settlements": { + "one": "7ed3d39f0607" + }, + "state": "c299c7a89e41", + "effects": [] + } + }, + { + "id": "native-chat-image-paste-single.transport-rejection:pasted", + "observation": { + "sender": ["f0668186d466"], + "payloads": ["242d9ae1137d"], + "settlements": { + "one": "a947768bc0ed" + }, + "state": "e74d7d62aa22", + "effects": [] + } + }, + { + "id": "native-chat-image-paste-single.transport-rejection-no-message:pasted", + "observation": { + "sender": ["d4132868cdd1"], + "payloads": ["242d9ae1137d"], + "settlements": { + "one": "c7584e82c72f" + }, + "state": "a32415cc51eb", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-nativechat.image-paste-terminal.send-2.json b/mobile/rpc-foundation/goldens/matrix-nativechat.image-paste-terminal.send-2.json new file mode 100644 index 00000000000..608fdb1d155 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-nativechat.image-paste-terminal.send-2.json @@ -0,0 +1,698 @@ +{ + "operation": "nativeChat.image-paste", + "family": "nativeChat.image-paste", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "16779b663f4faec8cbccdb42efd7b568a2912845b161f8a4827754687eb4235c", + "scenarioSha256": "89023bb3ad07d59dba75f227addac9d6a138e52b11e8ed6a64515f2bb1989367", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0e1de3f0fafc": { + "name": "terminal.send#2", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "\u001b[200~/tmp/a.png\u001b[201~ " + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "242d9ae1137d": { + "name": "terminal.send#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u0015\",\"enter\":false,\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" + }, + "33dc42a773cf": { + "name": "terminal.send#2", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "\u001b[200~/tmp/a.png\u001b[201~ " + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "3e9f7d21cc21": { + "name": "terminal.send#2", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "\u001b[200~/tmp/a.png\u001b[201~ " + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "43c685a0f4cb": { + "name": "terminal.send#2", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "\u001b[200~/tmp/a.png\u001b[201~ " + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "47a22f9d0047": { + "failure": { + "$rpc": "null" + }, + "pasted": true + }, + "518651fd2840": { + "name": "terminal.send#2", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "\u001b[200~/tmp/a.png\u001b[201~ " + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + } + }, + "52ae659a3d36": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "\u0015" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + } + }, + "5c8b9cec7cee": { + "name": "terminal.send#2", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "\u001b[200~/tmp/a.png\u001b[201~ " + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "65ccd8e86b19": { + "name": "terminal.send#2", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "\u001b[200~/tmp/a.png\u001b[201~ " + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "6c5110b83c72": { + "name": "terminal.send#2", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "\u001b[200~/tmp/a.png\u001b[201~ " + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "6e8c79b0fe06": { + "name": "terminal.send#2", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "\u001b[200~/tmp/a.png\u001b[201~ " + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "7ed3d39f0607": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": false + }, + "84e5ca07cb7a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": true + }, + "8d344f82224c": { + "name": "terminal.send#2", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "\u001b[200~/tmp/a.png\u001b[201~ " + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "a32415cc51eb": { + "failure": "", + "pasted": "unpasted" + }, + "a73b2d8ca709": { + "name": "terminal.send#2", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "\u001b[200~/tmp/a.png\u001b[201~ " + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "b83e56a4ec7e": { + "name": "terminal.send#2", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u001b[200~/tmp/a.png\\u001b[201~ \",\"enter\":false,\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" + }, + "c299c7a89e41": { + "failure": { + "$rpc": "null" + }, + "pasted": false + }, + "c7584e82c72f": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + }, + "e74d7d62aa22": { + "failure": "transport failure", + "pasted": "unpasted" + } + }, + "recording": { + "scenario": "matrix-nativechat.image-paste-terminal.send-2", + "checkpoints": [ + { + "id": "native-chat-image-paste-single.normal:pasted", + "observation": { + "sender": ["52ae659a3d36", "518651fd2840"], + "payloads": ["242d9ae1137d", "b83e56a4ec7e"], + "settlements": { + "one": "84e5ca07cb7a" + }, + "state": "47a22f9d0047", + "effects": [] + } + }, + { + "id": "native-chat-image-paste-single.result-absent:pasted", + "observation": { + "sender": ["52ae659a3d36", "3e9f7d21cc21"], + "payloads": ["242d9ae1137d", "b83e56a4ec7e"], + "settlements": { + "one": "7ed3d39f0607" + }, + "state": "c299c7a89e41", + "effects": [] + } + }, + { + "id": "native-chat-image-paste-single.result-null:pasted", + "observation": { + "sender": ["52ae659a3d36", "a73b2d8ca709"], + "payloads": ["242d9ae1137d", "b83e56a4ec7e"], + "settlements": { + "one": "7ed3d39f0607" + }, + "state": "c299c7a89e41", + "effects": [] + } + }, + { + "id": "native-chat-image-paste-single.inner-ok-missing:pasted", + "observation": { + "sender": ["52ae659a3d36", "8d344f82224c"], + "payloads": ["242d9ae1137d", "b83e56a4ec7e"], + "settlements": { + "one": "7ed3d39f0607" + }, + "state": "c299c7a89e41", + "effects": [] + } + }, + { + "id": "native-chat-image-paste-single.inner-false-string-error:pasted", + "observation": { + "sender": ["52ae659a3d36", "6e8c79b0fe06"], + "payloads": ["242d9ae1137d", "b83e56a4ec7e"], + "settlements": { + "one": "7ed3d39f0607" + }, + "state": "c299c7a89e41", + "effects": [] + } + }, + { + "id": "native-chat-image-paste-single.inner-false-object-error:pasted", + "observation": { + "sender": ["52ae659a3d36", "5c8b9cec7cee"], + "payloads": ["242d9ae1137d", "b83e56a4ec7e"], + "settlements": { + "one": "7ed3d39f0607" + }, + "state": "c299c7a89e41", + "effects": [] + } + }, + { + "id": "native-chat-image-paste-single.outer-refused:pasted", + "observation": { + "sender": ["52ae659a3d36", "6c5110b83c72"], + "payloads": ["242d9ae1137d", "b83e56a4ec7e"], + "settlements": { + "one": "7ed3d39f0607" + }, + "state": "c299c7a89e41", + "effects": [] + } + }, + { + "id": "native-chat-image-paste-single.outer-refused-no-message:pasted", + "observation": { + "sender": ["52ae659a3d36", "65ccd8e86b19"], + "payloads": ["242d9ae1137d", "b83e56a4ec7e"], + "settlements": { + "one": "7ed3d39f0607" + }, + "state": "c299c7a89e41", + "effects": [] + } + }, + { + "id": "native-chat-image-paste-single.method-not-found:pasted", + "observation": { + "sender": ["52ae659a3d36", "43c685a0f4cb"], + "payloads": ["242d9ae1137d", "b83e56a4ec7e"], + "settlements": { + "one": "7ed3d39f0607" + }, + "state": "c299c7a89e41", + "effects": [] + } + }, + { + "id": "native-chat-image-paste-single.transport-rejection:pasted", + "observation": { + "sender": ["52ae659a3d36", "33dc42a773cf"], + "payloads": ["242d9ae1137d", "b83e56a4ec7e"], + "settlements": { + "one": "a947768bc0ed" + }, + "state": "e74d7d62aa22", + "effects": [] + } + }, + { + "id": "native-chat-image-paste-single.transport-rejection-no-message:pasted", + "observation": { + "sender": ["52ae659a3d36", "0e1de3f0fafc"], + "payloads": ["242d9ae1137d", "b83e56a4ec7e"], + "settlements": { + "one": "c7584e82c72f" + }, + "state": "a32415cc51eb", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-nativechat.image-upload-clipboard.startimageupload-1.json b/mobile/rpc-foundation/goldens/matrix-nativechat.image-upload-clipboard.startimageupload-1.json new file mode 100644 index 00000000000..3fe508a57c4 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-nativechat.image-upload-clipboard.startimageupload-1.json @@ -0,0 +1,721 @@ +{ + "operation": "nativeChat.image-upload", + "family": "nativeChat.image-upload", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "16779b663f4faec8cbccdb42efd7b568a2912845b161f8a4827754687eb4235c", + "scenarioSha256": "0478b692709ef0fe3cd75bf0d47fc27fcbb50ebc779e231537ba36638a0125f8", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0ff6f55894de": { + "failure": "transport failure", + "uploaded": "unuploaded" + }, + "10eb844da0d9": { + "name": "clipboard.startImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "12f2bb1c7b16": { + "name": "clipboard.startImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "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 + } + } + }, + "2360f0a18466": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "TypeError", + "message": "Cannot destructure property 'uploadId' of 'startResponse.result' as it is null.", + "isRpcDeliveryUnknown": false + } + }, + "32a7c0ae7918": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "outer refused", + "isRpcDeliveryUnknown": false + } + }, + "443dd7aae7aa": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "TypeError", + "message": "Cannot destructure property 'uploadId' of 'startResponse.result' as it is undefined.", + "isRpcDeliveryUnknown": false + } + }, + "520b3fe0fb07": { + "name": "clipboard.startImageUpload#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.startImageUpload\",\"params\":{\"expectedBase64Length\":32,\"connectionId\":\"connection-1\"}}" + }, + "5884da2bfdb4": { + "name": "clipboard.startImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "5f71b4d3d25c": { + "name": "upload-start", + "value": {}, + "sent": 0 + }, + "64cf59fb95a9": { + "name": "clipboard.startImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "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 + } + } + } + }, + "6f4464fb363d": { + "name": "clipboard.startImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "7180e20192a8": { + "failure": "outer refused", + "uploaded": "unuploaded" + }, + "71c09680e90b": { + "name": "clipboard.startImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "7a67576b4db6": { + "name": "clipboard.saveImageAsTempFile#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.saveImageAsTempFile\",\"params\":{\"contentBase64\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\",\"connectionId\":\"connection-1\"}}" + }, + "7d50e9097d4b": { + "name": "clipboard.saveImageAsTempFile#1", + "args": [ + { + "name": "method", + "value": "clipboard.saveImageAsTempFile" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "7e48c58139e5": { + "name": "clipboard.startImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "uploadId": "upload-1" + } + } + } + }, + "8504c3b81dd7": { + "name": "clipboard.appendImageUploadChunk#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.appendImageUploadChunk\",\"params\":{\"offset\":0,\"contentBase64\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\"}}" + }, + "873e759fa035": { + "name": "clipboard.startImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "9dea35e9f187": { + "name": "clipboard.startImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "9fb187085300": { + "failure": "Cannot destructure property 'uploadId' of 'startResponse.result' as it is null.", + "uploaded": "unuploaded" + }, + "9feead71a57d": { + "failure": { + "$rpc": "null" + }, + "uploaded": "unuploaded" + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "aee3a490cf0d": { + "failure": "", + "uploaded": "unuploaded" + }, + "b69a955ea891": { + "name": "clipboard.appendImageUploadChunk#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.appendImageUploadChunk\",\"params\":{\"uploadId\":\"upload-1\",\"offset\":0,\"contentBase64\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\"}}" + }, + "b782aed57bef": { + "name": "clipboard.startImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "c7584e82c72f": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + }, + "d3e85c1d5bb4": { + "name": "clipboard.appendImageUploadChunk#1", + "args": [ + { + "name": "method", + "value": "clipboard.appendImageUploadChunk" + }, + { + "name": "params", + "value": { + "contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "offset": 0, + "uploadId": "upload-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "d8eb6923f5c3": { + "name": "clipboard.startImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "f04acab589d3": { + "failure": "Cannot destructure property 'uploadId' of 'startResponse.result' as it is undefined.", + "uploaded": "unuploaded" + }, + "f3b516f62081": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": false + } + }, + "f61098e90dc1": { + "name": "clipboard.appendImageUploadChunk#1", + "args": [ + { + "name": "method", + "value": "clipboard.appendImageUploadChunk" + }, + { + "name": "params", + "value": { + "contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "offset": 0, + "uploadId": { + "$rpc": "undefined" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + } + }, + "recording": { + "scenario": "matrix-nativechat.image-upload-clipboard.startimageupload-1", + "checkpoints": [ + { + "id": "native-chat-image-upload-start-refused.normal:refused", + "observation": { + "sender": ["7e48c58139e5", "d3e85c1d5bb4"], + "payloads": ["520b3fe0fb07", "b69a955ea891"], + "settlements": { + "normal": "9270aeb7d9c6" + }, + "state": "9feead71a57d", + "effects": ["5f71b4d3d25c"] + } + }, + { + "id": "native-chat-image-upload-start-refused.result-absent:refused", + "observation": { + "sender": ["873e759fa035"], + "payloads": ["520b3fe0fb07"], + "settlements": { + "normal": "443dd7aae7aa" + }, + "state": "f04acab589d3", + "effects": ["5f71b4d3d25c"] + } + }, + { + "id": "native-chat-image-upload-start-refused.result-null:refused", + "observation": { + "sender": ["10eb844da0d9"], + "payloads": ["520b3fe0fb07"], + "settlements": { + "normal": "2360f0a18466" + }, + "state": "9fb187085300", + "effects": ["5f71b4d3d25c"] + } + }, + { + "id": "native-chat-image-upload-start-refused.inner-ok-missing:refused", + "observation": { + "sender": ["d8eb6923f5c3", "f61098e90dc1"], + "payloads": ["520b3fe0fb07", "8504c3b81dd7"], + "settlements": { + "normal": "9270aeb7d9c6" + }, + "state": "9feead71a57d", + "effects": ["5f71b4d3d25c"] + } + }, + { + "id": "native-chat-image-upload-start-refused.inner-false-string-error:refused", + "observation": { + "sender": ["9dea35e9f187", "f61098e90dc1"], + "payloads": ["520b3fe0fb07", "8504c3b81dd7"], + "settlements": { + "normal": "9270aeb7d9c6" + }, + "state": "9feead71a57d", + "effects": ["5f71b4d3d25c"] + } + }, + { + "id": "native-chat-image-upload-start-refused.inner-false-object-error:refused", + "observation": { + "sender": ["64cf59fb95a9", "f61098e90dc1"], + "payloads": ["520b3fe0fb07", "8504c3b81dd7"], + "settlements": { + "normal": "9270aeb7d9c6" + }, + "state": "9feead71a57d", + "effects": ["5f71b4d3d25c"] + } + }, + { + "id": "native-chat-image-upload-start-refused.outer-refused:refused", + "observation": { + "sender": ["71c09680e90b"], + "payloads": ["520b3fe0fb07"], + "settlements": { + "normal": "32a7c0ae7918" + }, + "state": "7180e20192a8", + "effects": ["5f71b4d3d25c"] + } + }, + { + "id": "native-chat-image-upload-start-refused.outer-refused-no-message:refused", + "observation": { + "sender": ["6f4464fb363d"], + "payloads": ["520b3fe0fb07"], + "settlements": { + "normal": "f3b516f62081" + }, + "state": "aee3a490cf0d", + "effects": ["5f71b4d3d25c"] + } + }, + { + "id": "native-chat-image-upload-start-refused.method-not-found:refused", + "observation": { + "sender": ["12f2bb1c7b16", "7d50e9097d4b"], + "payloads": ["520b3fe0fb07", "7a67576b4db6"], + "settlements": { + "normal": "9270aeb7d9c6" + }, + "state": "9feead71a57d", + "effects": ["5f71b4d3d25c"] + } + }, + { + "id": "native-chat-image-upload-start-refused.transport-rejection:refused", + "observation": { + "sender": ["5884da2bfdb4"], + "payloads": ["520b3fe0fb07"], + "settlements": { + "normal": "a947768bc0ed" + }, + "state": "0ff6f55894de", + "effects": ["5f71b4d3d25c"] + } + }, + { + "id": "native-chat-image-upload-start-refused.transport-rejection-no-message:refused", + "observation": { + "sender": ["b782aed57bef"], + "payloads": ["520b3fe0fb07"], + "settlements": { + "normal": "c7584e82c72f" + }, + "state": "aee3a490cf0d", + "effects": ["5f71b4d3d25c"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-nativechat.session-option-pick-settings.mutatenativechatsessionoptions-1.json b/mobile/rpc-foundation/goldens/matrix-nativechat.session-option-pick-settings.mutatenativechatsessionoptions-1.json new file mode 100644 index 00000000000..1f57c52be6b --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-nativechat.session-option-pick-settings.mutatenativechatsessionoptions-1.json @@ -0,0 +1,620 @@ +{ + "operation": "nativeChat.session-option-pick", + "family": "nativeChat.session-option-pick", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "b98a3ca3818678b88cf629bc4635300a103637126a136f025a1600dc16f08008", + "scenarioSha256": "1305f50c6e838d89d0a9e65d9011d2a532a2f75f7b3aea73f9e33330214f5724", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "087f0393107f": { + "name": "settings.mutateNativeChatSessionOptions#1", + "args": [ + { + "name": "method", + "value": "settings.mutateNativeChatSessionOptions" + }, + { + "name": "params", + "value": { + "agent": "claude", + "picks": [ + { + "modelId": "opus", + "optionId": "model", + "value": "opus" + } + ], + "type": "apply-picks" + } + }, + { + "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 + } + } + }, + "0aa1124bf746": { + "settled": "settled" + }, + "13047e7a65a3": { + "name": "settings.mutateNativeChatSessionOptions#1", + "args": [ + { + "name": "method", + "value": "settings.mutateNativeChatSessionOptions" + }, + { + "name": "params", + "value": { + "agent": "claude", + "picks": [ + { + "modelId": "opus", + "optionId": "model", + "value": "opus" + } + ], + "type": "apply-picks" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "1963baf2c0ff": { + "name": "settings.mutateNativeChatSessionOptions#1", + "args": [ + { + "name": "method", + "value": "settings.mutateNativeChatSessionOptions" + }, + { + "name": "params", + "value": { + "agent": "claude", + "picks": [ + { + "modelId": "opus", + "optionId": "model", + "value": "opus" + } + ], + "type": "apply-picks" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "53eb0204a2b0": { + "name": "settings.mutateNativeChatSessionOptions#1", + "args": [ + { + "name": "method", + "value": "settings.mutateNativeChatSessionOptions" + }, + { + "name": "params", + "value": { + "agent": "claude", + "picks": [ + { + "modelId": "opus", + "optionId": "model", + "value": "opus" + } + ], + "type": "apply-picks" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "6b4c03125e83": { + "name": "settings.mutateNativeChatSessionOptions#1", + "args": [ + { + "name": "method", + "value": "settings.mutateNativeChatSessionOptions" + }, + { + "name": "params", + "value": { + "agent": "claude", + "picks": [ + { + "modelId": "opus", + "optionId": "model", + "value": "opus" + } + ], + "type": "apply-picks" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "6b6f06b19722": { + "name": "settings.mutateNativeChatSessionOptions#1", + "args": [ + { + "name": "method", + "value": "settings.mutateNativeChatSessionOptions" + }, + { + "name": "params", + "value": { + "agent": "claude", + "picks": [ + { + "modelId": "opus", + "optionId": "model", + "value": "opus" + } + ], + "type": "apply-picks" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "738c95d85c66": { + "name": "settings.mutateNativeChatSessionOptions#1", + "args": [ + { + "name": "method", + "value": "settings.mutateNativeChatSessionOptions" + }, + { + "name": "params", + "value": { + "agent": "claude", + "picks": [ + { + "modelId": "opus", + "optionId": "model", + "value": "opus" + } + ], + "type": "apply-picks" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "applied": true + } + } + } + }, + "7944fdd65c78": { + "name": "settings.mutateNativeChatSessionOptions#1", + "args": [ + { + "name": "method", + "value": "settings.mutateNativeChatSessionOptions" + }, + { + "name": "params", + "value": { + "agent": "claude", + "picks": [ + { + "modelId": "opus", + "optionId": "model", + "value": "opus" + } + ], + "type": "apply-picks" + } + }, + { + "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 + } + } + } + }, + "8c7187df17ee": { + "name": "settings.mutateNativeChatSessionOptions#1", + "args": [ + { + "name": "method", + "value": "settings.mutateNativeChatSessionOptions" + }, + { + "name": "params", + "value": { + "agent": "claude", + "picks": [ + { + "modelId": "opus", + "optionId": "model", + "value": "opus" + } + ], + "type": "apply-picks" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "9c0980cfe789": { + "name": "settings.mutateNativeChatSessionOptions#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"settings.mutateNativeChatSessionOptions\",\"params\":{\"type\":\"apply-picks\",\"agent\":\"claude\",\"picks\":[{\"modelId\":\"opus\",\"optionId\":\"model\",\"value\":\"opus\"}]}}" + }, + "a2a1cfb0ec3f": { + "name": "settings.mutateNativeChatSessionOptions#1", + "args": [ + { + "name": "method", + "value": "settings.mutateNativeChatSessionOptions" + }, + { + "name": "params", + "value": { + "agent": "claude", + "picks": [ + { + "modelId": "opus", + "optionId": "model", + "value": "opus" + } + ], + "type": "apply-picks" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "c7e368586865": { + "name": "settings.mutateNativeChatSessionOptions#1", + "args": [ + { + "name": "method", + "value": "settings.mutateNativeChatSessionOptions" + }, + { + "name": "params", + "value": { + "agent": "claude", + "picks": [ + { + "modelId": "opus", + "optionId": "model", + "value": "opus" + } + ], + "type": "apply-picks" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "matrix-nativechat.session-option-pick-settings.mutatenativechatsessionoptions-1", + "checkpoints": [ + { + "id": "native-chat-session-option-pick-written.normal:written", + "observation": { + "sender": ["738c95d85c66"], + "payloads": ["9c0980cfe789"], + "settlements": { + "pick": "eb79a9b3682a" + }, + "state": "0aa1124bf746", + "effects": [] + } + }, + { + "id": "native-chat-session-option-pick-written.result-absent:written", + "observation": { + "sender": ["a2a1cfb0ec3f"], + "payloads": ["9c0980cfe789"], + "settlements": { + "pick": "eb79a9b3682a" + }, + "state": "0aa1124bf746", + "effects": [] + } + }, + { + "id": "native-chat-session-option-pick-written.result-null:written", + "observation": { + "sender": ["8c7187df17ee"], + "payloads": ["9c0980cfe789"], + "settlements": { + "pick": "eb79a9b3682a" + }, + "state": "0aa1124bf746", + "effects": [] + } + }, + { + "id": "native-chat-session-option-pick-written.inner-ok-missing:written", + "observation": { + "sender": ["6b6f06b19722"], + "payloads": ["9c0980cfe789"], + "settlements": { + "pick": "eb79a9b3682a" + }, + "state": "0aa1124bf746", + "effects": [] + } + }, + { + "id": "native-chat-session-option-pick-written.inner-false-string-error:written", + "observation": { + "sender": ["53eb0204a2b0"], + "payloads": ["9c0980cfe789"], + "settlements": { + "pick": "eb79a9b3682a" + }, + "state": "0aa1124bf746", + "effects": [] + } + }, + { + "id": "native-chat-session-option-pick-written.inner-false-object-error:written", + "observation": { + "sender": ["7944fdd65c78"], + "payloads": ["9c0980cfe789"], + "settlements": { + "pick": "eb79a9b3682a" + }, + "state": "0aa1124bf746", + "effects": [] + } + }, + { + "id": "native-chat-session-option-pick-written.outer-refused:written", + "observation": { + "sender": ["6b4c03125e83"], + "payloads": ["9c0980cfe789"], + "settlements": { + "pick": "eb79a9b3682a" + }, + "state": "0aa1124bf746", + "effects": [] + } + }, + { + "id": "native-chat-session-option-pick-written.outer-refused-no-message:written", + "observation": { + "sender": ["1963baf2c0ff"], + "payloads": ["9c0980cfe789"], + "settlements": { + "pick": "eb79a9b3682a" + }, + "state": "0aa1124bf746", + "effects": [] + } + }, + { + "id": "native-chat-session-option-pick-written.method-not-found:written", + "observation": { + "sender": ["087f0393107f"], + "payloads": ["9c0980cfe789"], + "settlements": { + "pick": "eb79a9b3682a" + }, + "state": "0aa1124bf746", + "effects": [] + } + }, + { + "id": "native-chat-session-option-pick-written.transport-rejection:written", + "observation": { + "sender": ["13047e7a65a3"], + "payloads": ["9c0980cfe789"], + "settlements": { + "pick": "eb79a9b3682a" + }, + "state": "0aa1124bf746", + "effects": [] + } + }, + { + "id": "native-chat-session-option-pick-written.transport-rejection-no-message:written", + "observation": { + "sender": ["c7e368586865"], + "payloads": ["9c0980cfe789"], + "settlements": { + "pick": "eb79a9b3682a" + }, + "state": "0aa1124bf746", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-nativechat.terminal-write-orchestration.workerterminaluserinput-1.json b/mobile/rpc-foundation/goldens/matrix-nativechat.terminal-write-orchestration.workerterminaluserinput-1.json new file mode 100644 index 00000000000..ad078eb8a9d --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-nativechat.terminal-write-orchestration.workerterminaluserinput-1.json @@ -0,0 +1,598 @@ +{ + "operation": "nativeChat.terminal-write", + "family": "nativeChat.terminal-write", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "b98a3ca3818678b88cf629bc4635300a103637126a136f025a1600dc16f08008", + "scenarioSha256": "860d3a80815ec68dc3fe2891a69888b80ec60fa205940e31f14643fb1097ead5", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0203262b5432": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "191580ba859d": { + "name": "orchestration.workerTerminalUserInput#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"orchestration.workerTerminalUserInput\",\"params\":{\"terminal\":\"terminal-1\"}}" + }, + "34a453846d11": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "46771288e046": { + "body": "accepted" + }, + "4f58026b7877": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "6aad8cc2e655": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "6bb5bb25e4d4": { + "name": "terminal.send#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"hello\",\"enter\":true,\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" + }, + "7291a73df186": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": "accepted" + }, + "84777d7d765a": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "960f67ee14e2": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "reported": true + } + } + } + }, + "ad01b4d8b4de": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "bca437e23d8a": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "c7c300e28254": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": true, + "terminal": "terminal-1", + "text": "hello" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + } + }, + "cb9a9683ab1e": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "d642e739823d": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "dc19ad107e96": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + } + }, + "recording": { + "scenario": "matrix-nativechat.terminal-write-orchestration.workerterminaluserinput-1", + "checkpoints": [ + { + "id": "native-chat-write-accepted.normal:accepted", + "observation": { + "sender": ["c7c300e28254", "960f67ee14e2"], + "payloads": ["6bb5bb25e4d4", "191580ba859d"], + "settlements": { + "body": "7291a73df186" + }, + "state": "46771288e046", + "effects": [] + } + }, + { + "id": "native-chat-write-accepted.result-absent:accepted", + "observation": { + "sender": ["c7c300e28254", "bca437e23d8a"], + "payloads": ["6bb5bb25e4d4", "191580ba859d"], + "settlements": { + "body": "7291a73df186" + }, + "state": "46771288e046", + "effects": [] + } + }, + { + "id": "native-chat-write-accepted.result-null:accepted", + "observation": { + "sender": ["c7c300e28254", "d642e739823d"], + "payloads": ["6bb5bb25e4d4", "191580ba859d"], + "settlements": { + "body": "7291a73df186" + }, + "state": "46771288e046", + "effects": [] + } + }, + { + "id": "native-chat-write-accepted.inner-ok-missing:accepted", + "observation": { + "sender": ["c7c300e28254", "6aad8cc2e655"], + "payloads": ["6bb5bb25e4d4", "191580ba859d"], + "settlements": { + "body": "7291a73df186" + }, + "state": "46771288e046", + "effects": [] + } + }, + { + "id": "native-chat-write-accepted.inner-false-string-error:accepted", + "observation": { + "sender": ["c7c300e28254", "cb9a9683ab1e"], + "payloads": ["6bb5bb25e4d4", "191580ba859d"], + "settlements": { + "body": "7291a73df186" + }, + "state": "46771288e046", + "effects": [] + } + }, + { + "id": "native-chat-write-accepted.inner-false-object-error:accepted", + "observation": { + "sender": ["c7c300e28254", "34a453846d11"], + "payloads": ["6bb5bb25e4d4", "191580ba859d"], + "settlements": { + "body": "7291a73df186" + }, + "state": "46771288e046", + "effects": [] + } + }, + { + "id": "native-chat-write-accepted.outer-refused:accepted", + "observation": { + "sender": ["c7c300e28254", "84777d7d765a"], + "payloads": ["6bb5bb25e4d4", "191580ba859d"], + "settlements": { + "body": "7291a73df186" + }, + "state": "46771288e046", + "effects": [] + } + }, + { + "id": "native-chat-write-accepted.outer-refused-no-message:accepted", + "observation": { + "sender": ["c7c300e28254", "dc19ad107e96"], + "payloads": ["6bb5bb25e4d4", "191580ba859d"], + "settlements": { + "body": "7291a73df186" + }, + "state": "46771288e046", + "effects": [] + } + }, + { + "id": "native-chat-write-accepted.method-not-found:accepted", + "observation": { + "sender": ["c7c300e28254", "ad01b4d8b4de"], + "payloads": ["6bb5bb25e4d4", "191580ba859d"], + "settlements": { + "body": "7291a73df186" + }, + "state": "46771288e046", + "effects": [] + } + }, + { + "id": "native-chat-write-accepted.transport-rejection:accepted", + "observation": { + "sender": ["c7c300e28254", "0203262b5432"], + "payloads": ["6bb5bb25e4d4", "191580ba859d"], + "settlements": { + "body": "7291a73df186" + }, + "state": "46771288e046", + "effects": [] + } + }, + { + "id": "native-chat-write-accepted.transport-rejection-no-message:accepted", + "observation": { + "sender": ["c7c300e28254", "4f58026b7877"], + "payloads": ["6bb5bb25e4d4", "191580ba859d"], + "settlements": { + "body": "7291a73df186" + }, + "state": "46771288e046", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-nativechat.terminal-write-terminal.send-1.json b/mobile/rpc-foundation/goldens/matrix-nativechat.terminal-write-terminal.send-1.json new file mode 100644 index 00000000000..1d6d6562849 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-nativechat.terminal-write-terminal.send-1.json @@ -0,0 +1,666 @@ +{ + "operation": "nativeChat.terminal-write", + "family": "nativeChat.terminal-write", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "b98a3ca3818678b88cf629bc4635300a103637126a136f025a1600dc16f08008", + "scenarioSha256": "c4193d972250dbe72907dcd32b8300b22986edfa5eeb651268c3838835177c64", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "14a6ba9e9dc8": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": true, + "terminal": "terminal-1", + "text": "hello" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "191580ba859d": { + "name": "orchestration.workerTerminalUserInput#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"orchestration.workerTerminalUserInput\",\"params\":{\"terminal\":\"terminal-1\"}}" + }, + "19f53fb21e4e": { + "body": "rejected" + }, + "44d966fae591": { + "body": "unknown" + }, + "46771288e046": { + "body": "accepted" + }, + "4b95872cc64f": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": true, + "terminal": "terminal-1", + "text": "hello" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "4c1c30022324": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": true, + "terminal": "terminal-1", + "text": "hello" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "5506ce9fc47a": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": true, + "terminal": "terminal-1", + "text": "hello" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "66db9c7b8675": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": true, + "terminal": "terminal-1", + "text": "hello" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "6bb5bb25e4d4": { + "name": "terminal.send#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"hello\",\"enter\":true,\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" + }, + "6decb41791d9": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": true, + "terminal": "terminal-1", + "text": "hello" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "7291a73df186": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": "accepted" + }, + "905b5deb0588": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": true, + "terminal": "terminal-1", + "text": "hello" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "9117084b9a95": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": true, + "terminal": "terminal-1", + "text": "hello" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-1", + "ok": false + } + } + }, + "960f67ee14e2": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "reported": true + } + } + } + }, + "9bd3ea1ff2bb": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": "rejected" + }, + "b7728627ecad": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": true, + "terminal": "terminal-1", + "text": "hello" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "b95efad2c5d7": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": true, + "terminal": "terminal-1", + "text": "hello" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "c7c300e28254": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": true, + "terminal": "terminal-1", + "text": "hello" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + } + }, + "ed1d171deda5": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": "unknown" + } + }, + "recording": { + "scenario": "matrix-nativechat.terminal-write-terminal.send-1", + "checkpoints": [ + { + "id": "native-chat-write-accepted.normal:accepted", + "observation": { + "sender": ["c7c300e28254", "960f67ee14e2"], + "payloads": ["6bb5bb25e4d4", "191580ba859d"], + "settlements": { + "body": "7291a73df186" + }, + "state": "46771288e046", + "effects": [] + } + }, + { + "id": "native-chat-write-accepted.result-absent:accepted", + "observation": { + "sender": ["5506ce9fc47a"], + "payloads": ["6bb5bb25e4d4"], + "settlements": { + "body": "9bd3ea1ff2bb" + }, + "state": "19f53fb21e4e", + "effects": [] + } + }, + { + "id": "native-chat-write-accepted.result-null:accepted", + "observation": { + "sender": ["66db9c7b8675"], + "payloads": ["6bb5bb25e4d4"], + "settlements": { + "body": "9bd3ea1ff2bb" + }, + "state": "19f53fb21e4e", + "effects": [] + } + }, + { + "id": "native-chat-write-accepted.inner-ok-missing:accepted", + "observation": { + "sender": ["6decb41791d9"], + "payloads": ["6bb5bb25e4d4"], + "settlements": { + "body": "9bd3ea1ff2bb" + }, + "state": "19f53fb21e4e", + "effects": [] + } + }, + { + "id": "native-chat-write-accepted.inner-false-string-error:accepted", + "observation": { + "sender": ["14a6ba9e9dc8"], + "payloads": ["6bb5bb25e4d4"], + "settlements": { + "body": "9bd3ea1ff2bb" + }, + "state": "19f53fb21e4e", + "effects": [] + } + }, + { + "id": "native-chat-write-accepted.inner-false-object-error:accepted", + "observation": { + "sender": ["b95efad2c5d7"], + "payloads": ["6bb5bb25e4d4"], + "settlements": { + "body": "9bd3ea1ff2bb" + }, + "state": "19f53fb21e4e", + "effects": [] + } + }, + { + "id": "native-chat-write-accepted.outer-refused:accepted", + "observation": { + "sender": ["b7728627ecad"], + "payloads": ["6bb5bb25e4d4"], + "settlements": { + "body": "9bd3ea1ff2bb" + }, + "state": "19f53fb21e4e", + "effects": [] + } + }, + { + "id": "native-chat-write-accepted.outer-refused-no-message:accepted", + "observation": { + "sender": ["4b95872cc64f"], + "payloads": ["6bb5bb25e4d4"], + "settlements": { + "body": "9bd3ea1ff2bb" + }, + "state": "19f53fb21e4e", + "effects": [] + } + }, + { + "id": "native-chat-write-accepted.method-not-found:accepted", + "observation": { + "sender": ["9117084b9a95"], + "payloads": ["6bb5bb25e4d4"], + "settlements": { + "body": "9bd3ea1ff2bb" + }, + "state": "19f53fb21e4e", + "effects": [] + } + }, + { + "id": "native-chat-write-accepted.transport-rejection:accepted", + "observation": { + "sender": ["905b5deb0588"], + "payloads": ["6bb5bb25e4d4"], + "settlements": { + "body": "ed1d171deda5" + }, + "state": "44d966fae591", + "effects": [] + } + }, + { + "id": "native-chat-write-accepted.transport-rejection-no-message:accepted", + "observation": { + "sender": ["4c1c30022324"], + "payloads": ["6bb5bb25e4d4"], + "settlements": { + "body": "ed1d171deda5" + }, + "state": "44d966fae591", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-notifications.push-dismissal-notifications.getmissedsince-1.json b/mobile/rpc-foundation/goldens/matrix-notifications.push-dismissal-notifications.getmissedsince-1.json new file mode 100644 index 00000000000..211cf2ef8e6 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-notifications.push-dismissal-notifications.getmissedsince-1.json @@ -0,0 +1,698 @@ +{ + "operation": "notifications.push-dismissal", + "family": "notifications.push-dismissal", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "595a3eb2994d0596b9fcd0707b175b4e978625053dfbc5c541b0350c0cbfb524", + "scenarioSha256": "9ab21cda2ac956c70ddd23fe589778bbb46333314508cf92770d668ba59d5a90", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0375564c20d2": { + "name": "notifications.getMissedSince#1", + "args": [ + { + "name": "method", + "value": "notifications.getMissedSince" + }, + { + "name": "params", + "value": { + "deliveredPushes": [ + { + "notificationEpoch": "epoch-1", + "notificationId": "note-1", + "notificationSeq": 7 + } + ], + "lastSeenSeq": 9007199254740991 + } + }, + { + "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 + } + } + } + }, + "12a51134490b": { + "name": "notifications.getMissedSince#1", + "args": [ + { + "name": "method", + "value": "notifications.getMissedSince" + }, + { + "name": "params", + "value": { + "deliveredPushes": [ + { + "notificationEpoch": "epoch-1", + "notificationId": "note-1", + "notificationSeq": 7 + } + ], + "lastSeenSeq": 9007199254740991 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "35a8f1665a60": { + "name": "notifications.getMissedSince#1", + "args": [ + { + "name": "method", + "value": "notifications.getMissedSince" + }, + { + "name": "params", + "value": { + "deliveredPushes": [ + { + "notificationEpoch": "epoch-1", + "notificationId": "note-1", + "notificationSeq": 7 + } + ], + "lastSeenSeq": 9007199254740991 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "3edd0c4f94c5": { + "name": "notifications.getMissedSince#1", + "args": [ + { + "name": "method", + "value": "notifications.getMissedSince" + }, + { + "name": "params", + "value": { + "deliveredPushes": [ + { + "notificationEpoch": "epoch-1", + "notificationId": "note-1", + "notificationSeq": 7 + } + ], + "lastSeenSeq": 9007199254740991 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "538677482207": { + "name": "notifications.getMissedSince#1", + "args": [ + { + "name": "method", + "value": "notifications.getMissedSince" + }, + { + "name": "params", + "value": { + "deliveredPushes": [ + { + "notificationEpoch": "epoch-1", + "notificationId": "note-1", + "notificationSeq": 7 + } + ], + "lastSeenSeq": 9007199254740991 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "6769d136aaaa": { + "name": "notifications.getMissedSince#1", + "args": [ + { + "name": "method", + "value": "notifications.getMissedSince" + }, + { + "name": "params", + "value": { + "deliveredPushes": [ + { + "notificationEpoch": "epoch-1", + "notificationId": "note-1", + "notificationSeq": 7 + } + ], + "lastSeenSeq": 9007199254740991 + } + }, + { + "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 + } + } + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "9658e14eeea9": { + "name": "notifications.getMissedSince#1", + "args": [ + { + "name": "method", + "value": "notifications.getMissedSince" + }, + { + "name": "params", + "value": { + "deliveredPushes": [ + { + "notificationEpoch": "epoch-1", + "notificationId": "note-1", + "notificationSeq": 7 + } + ], + "lastSeenSeq": 9007199254740991 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "9aba86eb07e4": { + "name": "notifications.getMissedSince#1", + "args": [ + { + "name": "method", + "value": "notifications.getMissedSince" + }, + { + "name": "params", + "value": { + "deliveredPushes": [ + { + "notificationEpoch": "epoch-1", + "notificationId": "note-1", + "notificationSeq": 7 + } + ], + "lastSeenSeq": 9007199254740991 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "ac56c3fc846f": { + "name": "notifications.getMissedSince#1", + "args": [ + { + "name": "method", + "value": "notifications.getMissedSince" + }, + { + "name": "params", + "value": { + "deliveredPushes": [ + { + "notificationEpoch": "epoch-1", + "notificationId": "note-1", + "notificationSeq": 7 + } + ], + "lastSeenSeq": 9007199254740991 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "dismissedPushes": [ + { + "notificationEpoch": "epoch-1", + "notificationId": "note-1", + "notificationSeq": 7 + } + ] + } + } + } + }, + "afd5e55d2004": { + "name": "notifications.getMissedSince#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"notifications.getMissedSince\",\"params\":{\"lastSeenSeq\":9007199254740991,\"deliveredPushes\":[{\"notificationId\":\"note-1\",\"notificationEpoch\":\"epoch-1\",\"notificationSeq\":7}]}}" + }, + "b45fce07f72d": { + "name": "notifications.getMissedSince#1", + "args": [ + { + "name": "method", + "value": "notifications.getMissedSince" + }, + { + "name": "params", + "value": { + "deliveredPushes": [ + { + "notificationEpoch": "epoch-1", + "notificationId": "note-1", + "notificationSeq": 7 + } + ], + "lastSeenSeq": 9007199254740991 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "bcdd9c902f5e": { + "name": "device-store.setItem", + "value": { + "key": "orca:pushDismissalWatermarks:v1", + "value": "[{\"key\":\"[\\\"Yw3NKWbEM2aRElRI\\\",\\\"epoch-1\\\",\\\"note-1\\\"]\",\"seq\":7,\"expiresAt\":1767312000000}]" + }, + "sent": 1 + }, + "c7584e82c72f": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + }, + "c83340909a1e": { + "name": "notification-tray.dismiss", + "value": { + "identifier": "tray-1" + }, + "sent": 1 + }, + "cf9c28129225": { + "disposed": false + }, + "d40294206150": { + "name": "notifications.getMissedSince#1", + "args": [ + { + "name": "method", + "value": "notifications.getMissedSince" + }, + { + "name": "params", + "value": { + "deliveredPushes": [ + { + "notificationEpoch": "epoch-1", + "notificationId": "note-1", + "notificationSeq": 7 + } + ], + "lastSeenSeq": 9007199254740991 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ec2490deff5d": { + "name": "notifications.getMissedSince#1", + "args": [ + { + "name": "method", + "value": "notifications.getMissedSince" + }, + { + "name": "params", + "value": { + "deliveredPushes": [ + { + "notificationEpoch": "epoch-1", + "notificationId": "note-1", + "notificationSeq": 7 + } + ], + "lastSeenSeq": 9007199254740991 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + } + }, + "recording": { + "scenario": "matrix-notifications.push-dismissal-notifications.getmissedsince-1", + "checkpoints": [ + { + "id": "push-dismissal-tray-reconciled.prelude:requested", + "observation": { + "sender": ["9aba86eb07e4"], + "payloads": ["afd5e55d2004"], + "settlements": { + "catchup": "9270aeb7d9c6" + }, + "state": "cf9c28129225", + "effects": [] + } + }, + { + "id": "push-dismissal-tray-reconciled.normal:reconciled", + "observation": { + "sender": ["ac56c3fc846f"], + "payloads": ["afd5e55d2004"], + "settlements": { + "catchup": "eb79a9b3682a" + }, + "state": "cf9c28129225", + "effects": ["bcdd9c902f5e", "c83340909a1e"] + } + }, + { + "id": "push-dismissal-tray-reconciled.result-absent:reconciled", + "observation": { + "sender": ["538677482207"], + "payloads": ["afd5e55d2004"], + "settlements": { + "catchup": "eb79a9b3682a" + }, + "state": "cf9c28129225", + "effects": [] + } + }, + { + "id": "push-dismissal-tray-reconciled.result-null:reconciled", + "observation": { + "sender": ["b45fce07f72d"], + "payloads": ["afd5e55d2004"], + "settlements": { + "catchup": "eb79a9b3682a" + }, + "state": "cf9c28129225", + "effects": [] + } + }, + { + "id": "push-dismissal-tray-reconciled.inner-ok-missing:reconciled", + "observation": { + "sender": ["35a8f1665a60"], + "payloads": ["afd5e55d2004"], + "settlements": { + "catchup": "eb79a9b3682a" + }, + "state": "cf9c28129225", + "effects": [] + } + }, + { + "id": "push-dismissal-tray-reconciled.inner-false-string-error:reconciled", + "observation": { + "sender": ["9658e14eeea9"], + "payloads": ["afd5e55d2004"], + "settlements": { + "catchup": "eb79a9b3682a" + }, + "state": "cf9c28129225", + "effects": [] + } + }, + { + "id": "push-dismissal-tray-reconciled.inner-false-object-error:reconciled", + "observation": { + "sender": ["0375564c20d2"], + "payloads": ["afd5e55d2004"], + "settlements": { + "catchup": "eb79a9b3682a" + }, + "state": "cf9c28129225", + "effects": [] + } + }, + { + "id": "push-dismissal-tray-reconciled.outer-refused:reconciled", + "observation": { + "sender": ["12a51134490b"], + "payloads": ["afd5e55d2004"], + "settlements": { + "catchup": "eb79a9b3682a" + }, + "state": "cf9c28129225", + "effects": [] + } + }, + { + "id": "push-dismissal-tray-reconciled.outer-refused-no-message:reconciled", + "observation": { + "sender": ["3edd0c4f94c5"], + "payloads": ["afd5e55d2004"], + "settlements": { + "catchup": "eb79a9b3682a" + }, + "state": "cf9c28129225", + "effects": [] + } + }, + { + "id": "push-dismissal-tray-reconciled.method-not-found:reconciled", + "observation": { + "sender": ["6769d136aaaa"], + "payloads": ["afd5e55d2004"], + "settlements": { + "catchup": "eb79a9b3682a" + }, + "state": "cf9c28129225", + "effects": [] + } + }, + { + "id": "push-dismissal-tray-reconciled.transport-rejection:reconciled", + "observation": { + "sender": ["ec2490deff5d"], + "payloads": ["afd5e55d2004"], + "settlements": { + "catchup": "a947768bc0ed" + }, + "state": "cf9c28129225", + "effects": [] + } + }, + { + "id": "push-dismissal-tray-reconciled.transport-rejection-no-message:reconciled", + "observation": { + "sender": ["d40294206150"], + "payloads": ["afd5e55d2004"], + "settlements": { + "catchup": "c7584e82c72f" + }, + "state": "cf9c28129225", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-notifications.push-registration-notifications.registerpush-1.json b/mobile/rpc-foundation/goldens/matrix-notifications.push-registration-notifications.registerpush-1.json new file mode 100644 index 00000000000..ec26c88469a --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-notifications.push-registration-notifications.registerpush-1.json @@ -0,0 +1,657 @@ +{ + "operation": "notifications.push-registration", + "family": "notifications.push-registration", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "2e3d939dc162dbc5a38d8a7207111688204a825fd70348721917b3016e1c9470", + "scenarioSha256": "c77a518d35203370669fea20f7669d7695a2ec851f22b220a8be417c546efeab", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0bbe8daa9ab4": { + "name": "notifications.registerPush#1", + "args": [ + { + "name": "method", + "value": "notifications.registerPush" + }, + { + "name": "params", + "value": { + "filter": { + "onlyWhenDesktopAway": true, + "sound": true + }, + "platform": "ios", + "token": "apns-token-1" + } + }, + { + "name": "options", + "value": { + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "1572598fbe7d": { + "name": "notifications.registerPush#1", + "args": [ + { + "name": "method", + "value": "notifications.registerPush" + }, + { + "name": "params", + "value": { + "filter": { + "onlyWhenDesktopAway": true, + "sound": true + }, + "platform": "ios", + "token": "apns-token-1" + } + }, + { + "name": "options", + "value": { + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "19d1a2755f20": { + "name": "notifications.registerPush#1", + "args": [ + { + "name": "method", + "value": "notifications.registerPush" + }, + { + "name": "params", + "value": { + "filter": { + "onlyWhenDesktopAway": true, + "sound": true + }, + "platform": "ios", + "token": "apns-token-1" + } + }, + { + "name": "options", + "value": { + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "456f2c64521a": { + "name": "notifications.registerPush#1", + "args": [ + { + "name": "method", + "value": "notifications.registerPush" + }, + { + "name": "params", + "value": { + "filter": { + "onlyWhenDesktopAway": true, + "sound": true + }, + "platform": "ios", + "token": "apns-token-1" + } + }, + { + "name": "options", + "value": { + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "69f036fbc850": { + "name": "notifications.registerPush#1", + "args": [ + { + "name": "method", + "value": "notifications.registerPush" + }, + { + "name": "params", + "value": { + "filter": { + "onlyWhenDesktopAway": true, + "sound": true + }, + "platform": "ios", + "token": "apns-token-1" + } + }, + { + "name": "options", + "value": { + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "7ed3d39f0607": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": false + }, + "84e5ca07cb7a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": true + }, + "95f8386a206f": { + "name": "notifications.registerPush#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"notifications.registerPush\",\"params\":{\"platform\":\"ios\",\"token\":\"apns-token-1\",\"filter\":{\"onlyWhenDesktopAway\":true,\"sound\":true}}}" + }, + "9efcd0543760": { + "name": "notifications.registerPush#1", + "args": [ + { + "name": "method", + "value": "notifications.registerPush" + }, + { + "name": "params", + "value": { + "filter": { + "onlyWhenDesktopAway": true, + "sound": true + }, + "platform": "ios", + "token": "apns-token-1" + } + }, + { + "name": "options", + "value": { + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "a60f8fdb595d": { + "name": "notifications.registerPush#1", + "args": [ + { + "name": "method", + "value": "notifications.registerPush" + }, + { + "name": "params", + "value": { + "filter": { + "onlyWhenDesktopAway": true, + "sound": true + }, + "platform": "ios", + "token": "apns-token-1" + } + }, + { + "name": "options", + "value": { + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "acb7d3830175": { + "name": "notifications.unregisterPush#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"notifications.unregisterPush\",\"params\":null}" + }, + "b3199f217b27": { + "name": "notifications.registerPush#1", + "args": [ + { + "name": "method", + "value": "notifications.registerPush" + }, + { + "name": "params", + "value": { + "filter": { + "onlyWhenDesktopAway": true, + "sound": true + }, + "platform": "ios", + "token": "apns-token-1" + } + }, + { + "name": "options", + "value": { + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "b39a27f847f4": { + "name": "notifications.unregisterPush#1", + "args": [ + { + "name": "method", + "value": "notifications.unregisterPush" + }, + { + "name": "params", + "value": { + "$rpc": "null" + } + }, + { + "name": "options", + "value": { + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "unregistered": true + } + } + } + }, + "bf47435ebba0": { + "name": "notifications.registerPush#1", + "args": [ + { + "name": "method", + "value": "notifications.registerPush" + }, + { + "name": "params", + "value": { + "filter": { + "onlyWhenDesktopAway": true, + "sound": true + }, + "platform": "ios", + "token": "apns-token-1" + } + }, + { + "name": "options", + "value": { + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-1", + "ok": false + } + } + }, + "d30fd4b61f0c": { + "name": "notifications.registerPush#1", + "args": [ + { + "name": "method", + "value": "notifications.registerPush" + }, + { + "name": "params", + "value": { + "filter": { + "onlyWhenDesktopAway": true, + "sound": true + }, + "platform": "ios", + "token": "apns-token-1" + } + }, + { + "name": "options", + "value": { + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "registered": true, + "registrationId": "registration-1" + } + } + } + }, + "deec5cecd49f": { + "register": true, + "unregister": true + }, + "e13a6969f606": { + "name": "notifications.registerPush#1", + "args": [ + { + "name": "method", + "value": "notifications.registerPush" + }, + { + "name": "params", + "value": { + "filter": { + "onlyWhenDesktopAway": true, + "sound": true + }, + "platform": "ios", + "token": "apns-token-1" + } + }, + { + "name": "options", + "value": { + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "e60c81d67095": { + "register": false, + "unregister": true + } + }, + "recording": { + "scenario": "matrix-notifications.push-registration-notifications.registerpush-1", + "checkpoints": [ + { + "id": "notifications-push-registered.normal:settled", + "observation": { + "sender": ["d30fd4b61f0c", "b39a27f847f4"], + "payloads": ["95f8386a206f", "acb7d3830175"], + "settlements": { + "register": "84e5ca07cb7a", + "unregister": "84e5ca07cb7a" + }, + "state": "deec5cecd49f", + "effects": [] + } + }, + { + "id": "notifications-push-registered.result-absent:settled", + "observation": { + "sender": ["9efcd0543760", "b39a27f847f4"], + "payloads": ["95f8386a206f", "acb7d3830175"], + "settlements": { + "register": "7ed3d39f0607", + "unregister": "84e5ca07cb7a" + }, + "state": "e60c81d67095", + "effects": [] + } + }, + { + "id": "notifications-push-registered.result-null:settled", + "observation": { + "sender": ["0bbe8daa9ab4", "b39a27f847f4"], + "payloads": ["95f8386a206f", "acb7d3830175"], + "settlements": { + "register": "7ed3d39f0607", + "unregister": "84e5ca07cb7a" + }, + "state": "e60c81d67095", + "effects": [] + } + }, + { + "id": "notifications-push-registered.inner-ok-missing:settled", + "observation": { + "sender": ["a60f8fdb595d", "b39a27f847f4"], + "payloads": ["95f8386a206f", "acb7d3830175"], + "settlements": { + "register": "7ed3d39f0607", + "unregister": "84e5ca07cb7a" + }, + "state": "e60c81d67095", + "effects": [] + } + }, + { + "id": "notifications-push-registered.inner-false-string-error:settled", + "observation": { + "sender": ["e13a6969f606", "b39a27f847f4"], + "payloads": ["95f8386a206f", "acb7d3830175"], + "settlements": { + "register": "7ed3d39f0607", + "unregister": "84e5ca07cb7a" + }, + "state": "e60c81d67095", + "effects": [] + } + }, + { + "id": "notifications-push-registered.inner-false-object-error:settled", + "observation": { + "sender": ["19d1a2755f20", "b39a27f847f4"], + "payloads": ["95f8386a206f", "acb7d3830175"], + "settlements": { + "register": "7ed3d39f0607", + "unregister": "84e5ca07cb7a" + }, + "state": "e60c81d67095", + "effects": [] + } + }, + { + "id": "notifications-push-registered.outer-refused:settled", + "observation": { + "sender": ["1572598fbe7d", "b39a27f847f4"], + "payloads": ["95f8386a206f", "acb7d3830175"], + "settlements": { + "register": "7ed3d39f0607", + "unregister": "84e5ca07cb7a" + }, + "state": "e60c81d67095", + "effects": [] + } + }, + { + "id": "notifications-push-registered.outer-refused-no-message:settled", + "observation": { + "sender": ["b3199f217b27", "b39a27f847f4"], + "payloads": ["95f8386a206f", "acb7d3830175"], + "settlements": { + "register": "7ed3d39f0607", + "unregister": "84e5ca07cb7a" + }, + "state": "e60c81d67095", + "effects": [] + } + }, + { + "id": "notifications-push-registered.method-not-found:settled", + "observation": { + "sender": ["bf47435ebba0", "b39a27f847f4"], + "payloads": ["95f8386a206f", "acb7d3830175"], + "settlements": { + "register": "7ed3d39f0607", + "unregister": "84e5ca07cb7a" + }, + "state": "e60c81d67095", + "effects": [] + } + }, + { + "id": "notifications-push-registered.transport-rejection:settled", + "observation": { + "sender": ["456f2c64521a", "b39a27f847f4"], + "payloads": ["95f8386a206f", "acb7d3830175"], + "settlements": { + "register": "7ed3d39f0607", + "unregister": "84e5ca07cb7a" + }, + "state": "e60c81d67095", + "effects": [] + } + }, + { + "id": "notifications-push-registered.transport-rejection-no-message:settled", + "observation": { + "sender": ["69f036fbc850", "b39a27f847f4"], + "payloads": ["95f8386a206f", "acb7d3830175"], + "settlements": { + "register": "7ed3d39f0607", + "unregister": "84e5ca07cb7a" + }, + "state": "e60c81d67095", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-notifications.push-registration-notifications.unregisterpush-1.json b/mobile/rpc-foundation/goldens/matrix-notifications.push-registration-notifications.unregisterpush-1.json new file mode 100644 index 00000000000..c17e43bde7a --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-notifications.push-registration-notifications.unregisterpush-1.json @@ -0,0 +1,607 @@ +{ + "operation": "notifications.push-registration", + "family": "notifications.push-registration", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "2e3d939dc162dbc5a38d8a7207111688204a825fd70348721917b3016e1c9470", + "scenarioSha256": "bb772b4b000644f18b48dcf78b05863b30906bcf588824d94eff086014fa69e8", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "11a192e519cb": { + "name": "notifications.unregisterPush#1", + "args": [ + { + "name": "method", + "value": "notifications.unregisterPush" + }, + { + "name": "params", + "value": { + "$rpc": "null" + } + }, + { + "name": "options", + "value": { + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "22ed5c2ac2b7": { + "name": "notifications.unregisterPush#1", + "args": [ + { + "name": "method", + "value": "notifications.unregisterPush" + }, + { + "name": "params", + "value": { + "$rpc": "null" + } + }, + { + "name": "options", + "value": { + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "28f4a635b976": { + "name": "notifications.unregisterPush#1", + "args": [ + { + "name": "method", + "value": "notifications.unregisterPush" + }, + { + "name": "params", + "value": { + "$rpc": "null" + } + }, + { + "name": "options", + "value": { + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "48bb9fd519d2": { + "name": "notifications.unregisterPush#1", + "args": [ + { + "name": "method", + "value": "notifications.unregisterPush" + }, + { + "name": "params", + "value": { + "$rpc": "null" + } + }, + { + "name": "options", + "value": { + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "7ed3d39f0607": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": false + }, + "84e5ca07cb7a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": true + }, + "9234bb49a69c": { + "name": "notifications.unregisterPush#1", + "args": [ + { + "name": "method", + "value": "notifications.unregisterPush" + }, + { + "name": "params", + "value": { + "$rpc": "null" + } + }, + { + "name": "options", + "value": { + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "95f8386a206f": { + "name": "notifications.registerPush#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"notifications.registerPush\",\"params\":{\"platform\":\"ios\",\"token\":\"apns-token-1\",\"filter\":{\"onlyWhenDesktopAway\":true,\"sound\":true}}}" + }, + "a2a7434b9852": { + "name": "notifications.unregisterPush#1", + "args": [ + { + "name": "method", + "value": "notifications.unregisterPush" + }, + { + "name": "params", + "value": { + "$rpc": "null" + } + }, + { + "name": "options", + "value": { + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "acb7d3830175": { + "name": "notifications.unregisterPush#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"notifications.unregisterPush\",\"params\":null}" + }, + "b39a27f847f4": { + "name": "notifications.unregisterPush#1", + "args": [ + { + "name": "method", + "value": "notifications.unregisterPush" + }, + { + "name": "params", + "value": { + "$rpc": "null" + } + }, + { + "name": "options", + "value": { + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "unregistered": true + } + } + } + }, + "cf57ad4ffc6f": { + "name": "notifications.unregisterPush#1", + "args": [ + { + "name": "method", + "value": "notifications.unregisterPush" + }, + { + "name": "params", + "value": { + "$rpc": "null" + } + }, + { + "name": "options", + "value": { + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "d07a57ce1015": { + "name": "notifications.unregisterPush#1", + "args": [ + { + "name": "method", + "value": "notifications.unregisterPush" + }, + { + "name": "params", + "value": { + "$rpc": "null" + } + }, + { + "name": "options", + "value": { + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "d30fd4b61f0c": { + "name": "notifications.registerPush#1", + "args": [ + { + "name": "method", + "value": "notifications.registerPush" + }, + { + "name": "params", + "value": { + "filter": { + "onlyWhenDesktopAway": true, + "sound": true + }, + "platform": "ios", + "token": "apns-token-1" + } + }, + { + "name": "options", + "value": { + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "registered": true, + "registrationId": "registration-1" + } + } + } + }, + "d406965b8037": { + "name": "notifications.unregisterPush#1", + "args": [ + { + "name": "method", + "value": "notifications.unregisterPush" + }, + { + "name": "params", + "value": { + "$rpc": "null" + } + }, + { + "name": "options", + "value": { + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "deec5cecd49f": { + "register": true, + "unregister": true + }, + "f15abe409747": { + "register": true, + "unregister": false + }, + "fc898c7ec9a2": { + "name": "notifications.unregisterPush#1", + "args": [ + { + "name": "method", + "value": "notifications.unregisterPush" + }, + { + "name": "params", + "value": { + "$rpc": "null" + } + }, + { + "name": "options", + "value": { + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + } + }, + "recording": { + "scenario": "matrix-notifications.push-registration-notifications.unregisterpush-1", + "checkpoints": [ + { + "id": "notifications-push-registered.normal:settled", + "observation": { + "sender": ["d30fd4b61f0c", "b39a27f847f4"], + "payloads": ["95f8386a206f", "acb7d3830175"], + "settlements": { + "register": "84e5ca07cb7a", + "unregister": "84e5ca07cb7a" + }, + "state": "deec5cecd49f", + "effects": [] + } + }, + { + "id": "notifications-push-registered.result-absent:settled", + "observation": { + "sender": ["d30fd4b61f0c", "d406965b8037"], + "payloads": ["95f8386a206f", "acb7d3830175"], + "settlements": { + "register": "84e5ca07cb7a", + "unregister": "84e5ca07cb7a" + }, + "state": "deec5cecd49f", + "effects": [] + } + }, + { + "id": "notifications-push-registered.result-null:settled", + "observation": { + "sender": ["d30fd4b61f0c", "22ed5c2ac2b7"], + "payloads": ["95f8386a206f", "acb7d3830175"], + "settlements": { + "register": "84e5ca07cb7a", + "unregister": "84e5ca07cb7a" + }, + "state": "deec5cecd49f", + "effects": [] + } + }, + { + "id": "notifications-push-registered.inner-ok-missing:settled", + "observation": { + "sender": ["d30fd4b61f0c", "28f4a635b976"], + "payloads": ["95f8386a206f", "acb7d3830175"], + "settlements": { + "register": "84e5ca07cb7a", + "unregister": "84e5ca07cb7a" + }, + "state": "deec5cecd49f", + "effects": [] + } + }, + { + "id": "notifications-push-registered.inner-false-string-error:settled", + "observation": { + "sender": ["d30fd4b61f0c", "9234bb49a69c"], + "payloads": ["95f8386a206f", "acb7d3830175"], + "settlements": { + "register": "84e5ca07cb7a", + "unregister": "84e5ca07cb7a" + }, + "state": "deec5cecd49f", + "effects": [] + } + }, + { + "id": "notifications-push-registered.inner-false-object-error:settled", + "observation": { + "sender": ["d30fd4b61f0c", "a2a7434b9852"], + "payloads": ["95f8386a206f", "acb7d3830175"], + "settlements": { + "register": "84e5ca07cb7a", + "unregister": "84e5ca07cb7a" + }, + "state": "deec5cecd49f", + "effects": [] + } + }, + { + "id": "notifications-push-registered.outer-refused:settled", + "observation": { + "sender": ["d30fd4b61f0c", "48bb9fd519d2"], + "payloads": ["95f8386a206f", "acb7d3830175"], + "settlements": { + "register": "84e5ca07cb7a", + "unregister": "7ed3d39f0607" + }, + "state": "f15abe409747", + "effects": [] + } + }, + { + "id": "notifications-push-registered.outer-refused-no-message:settled", + "observation": { + "sender": ["d30fd4b61f0c", "fc898c7ec9a2"], + "payloads": ["95f8386a206f", "acb7d3830175"], + "settlements": { + "register": "84e5ca07cb7a", + "unregister": "7ed3d39f0607" + }, + "state": "f15abe409747", + "effects": [] + } + }, + { + "id": "notifications-push-registered.method-not-found:settled", + "observation": { + "sender": ["d30fd4b61f0c", "cf57ad4ffc6f"], + "payloads": ["95f8386a206f", "acb7d3830175"], + "settlements": { + "register": "84e5ca07cb7a", + "unregister": "7ed3d39f0607" + }, + "state": "f15abe409747", + "effects": [] + } + }, + { + "id": "notifications-push-registered.transport-rejection:settled", + "observation": { + "sender": ["d30fd4b61f0c", "d07a57ce1015"], + "payloads": ["95f8386a206f", "acb7d3830175"], + "settlements": { + "register": "84e5ca07cb7a", + "unregister": "7ed3d39f0607" + }, + "state": "f15abe409747", + "effects": [] + } + }, + { + "id": "notifications-push-registered.transport-rejection-no-message:settled", + "observation": { + "sender": ["d30fd4b61f0c", "11a192e519cb"], + "payloads": ["95f8386a206f", "acb7d3830175"], + "settlements": { + "register": "84e5ca07cb7a", + "unregister": "7ed3d39f0607" + }, + "state": "f15abe409747", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-pairing.pre-profile-direct-status.json b/mobile/rpc-foundation/goldens/matrix-pairing.pre-profile-direct-status.json new file mode 100644 index 00000000000..f23cc2f22f2 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-pairing.pre-profile-direct-status.json @@ -0,0 +1,818 @@ +{ + "operation": "pairing.pre-profile", + "family": "pairing.pre-profile", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "e33d584229530c716ecdc44d198b95fcfb4dfd9468fba7d5222ee3f122950197", + "scenarioSha256": "a28912c9abb97a227904723ff0de8162de31fce66c056da1813e0c18f6e01ccf", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0b595cd54ac3": { + "name": "journal-saved", + "value": "pair-fixture-1", + "sent": 0 + }, + "12869cc488be": { + "name": "host-saved", + "value": "relay-host-0001x", + "sent": 4 + }, + "16cd464bf664": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "1e5b32902af7": { + "name": "status.get#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "1f4d3b93dbcb": { + "name": "pairing.getEndpoints#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.getEndpoints\",\"params\":{\"installReqId\":\"install-l99UBPM71AZiC1ghz2glnA\"}}" + }, + "2698c9770ad3": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "26f802fad080": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "capabilities": [] + } + } + } + }, + "3c9308d9b7be": { + "name": "pairing.provisionRelay#1", + "args": [ + { + "name": "method", + "value": "pairing.provisionRelay" + }, + { + "name": "params", + "value": { + "newResumeTokenHash": "yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU", + "reqId": "install-l99UBPM71AZiC1ghz2glnA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "authorizationMode": "authenticated-direct", + "currentVersion": 4, + "reqId": "install-l99UBPM71AZiC1ghz2glnA", + "resumeExpiresAt": 1767830400000, + "v": 1 + } + } + } + }, + "40741be1b91f": { + "outcome": "failed: relay credential install result does not match pairing journal", + "savedHost": { + "$rpc": "null" + }, + "timedOut": false + }, + "4451bb95a76e": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "477b001b0374": { + "name": "candidate-closed", + "value": "direct", + "sent": 4 + }, + "47dedea61355": { + "name": "journal-cleared", + "value": "pair-fixture-1", + "sent": 4 + }, + "53412dd89894": { + "name": "pairing.provisionRelay#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.provisionRelay\",\"params\":{\"reqId\":\"install-l99UBPM71AZiC1ghz2glnA\",\"newResumeTokenHash\":\"yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU\"}}" + }, + "56266d1e7340": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-l99UBPM71AZiC1ghz2glnA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "installStatus": { + "reqId": "install-l99UBPM71AZiC1ghz2glnA", + "result": { + "authorizationMode": "authenticated-direct", + "currentVersion": 4, + "reqId": "install-l99UBPM71AZiC1ghz2glnA", + "resumeExpiresAt": 1767830400000, + "v": 1 + }, + "state": "committed", + "v": 1 + }, + "relay": { + "assignmentEpoch": 1, + "cellUrl": "https://cell.example", + "directorUrl": "https://director.example", + "e2eeFraming": 2, + "relayHostId": "relay-host-0001x", + "v": 1 + }, + "v": 1 + } + } + } + }, + "6b9f1bf73e55": { + "name": "bundle-written", + "value": { + "version": 4 + }, + "sent": 4 + }, + "6cb74a535419": { + "name": "status.get#2", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "capabilities": [] + } + } + } + }, + "7479478e7dbb": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "relay credential install result does not match pairing journal", + "isRpcDeliveryUnknown": false + } + }, + "7d3dd7f9381b": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "88200d49083c": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "89236e432861": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "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 + } + } + } + }, + "944bf432f199": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "9b50435fa2f8": { + "outcome": "host-1", + "savedHost": "relay-host-0001x", + "timedOut": false + }, + "9cdf3c107e7b": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "b2a8517fe750": { + "name": "candidate-closed", + "value": "direct", + "sent": 2 + }, + "b96f13a39e18": { + "name": "journal-updated", + "value": "pair-fixture-1", + "sent": 2 + }, + "c0c86e67c300": { + "name": "status.get#2", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "c71b2f8a6993": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "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 + } + } + }, + "ca7cb1785a59": { + "name": "candidate-closed", + "value": "relay", + "sent": 4 + }, + "d1b2eddf66f4": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "hostId": "host-1" + } + }, + "d433a326314e": { + "name": "candidate-closed", + "value": "relay", + "sent": 2 + }, + "de87f6266897": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + } + }, + "recording": { + "scenario": "matrix-pairing.pre-profile-direct-status", + "checkpoints": [ + { + "id": "pairing-pre-profile-direct-wins-and-provisions.normal:paired-over-direct", + "observation": { + "sender": ["26f802fad080", "6cb74a535419", "3c9308d9b7be", "56266d1e7340"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "53412dd89894", "1f4d3b93dbcb"], + "settlements": { + "pair": "d1b2eddf66f4" + }, + "state": "9b50435fa2f8", + "effects": [ + "0b595cd54ac3", + "d433a326314e", + "b96f13a39e18", + "6b9f1bf73e55", + "12869cc488be", + "47dedea61355", + "477b001b0374", + "ca7cb1785a59" + ] + } + }, + { + "id": "pairing-pre-profile-direct-wins-and-provisions.result-absent:paired-over-direct", + "observation": { + "sender": ["7d3dd7f9381b", "6cb74a535419", "3c9308d9b7be", "56266d1e7340"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "53412dd89894", "1f4d3b93dbcb"], + "settlements": { + "pair": "d1b2eddf66f4" + }, + "state": "9b50435fa2f8", + "effects": [ + "0b595cd54ac3", + "d433a326314e", + "b96f13a39e18", + "6b9f1bf73e55", + "12869cc488be", + "47dedea61355", + "477b001b0374", + "ca7cb1785a59" + ] + } + }, + { + "id": "pairing-pre-profile-direct-wins-and-provisions.result-null:paired-over-direct", + "observation": { + "sender": ["88200d49083c", "6cb74a535419", "3c9308d9b7be", "56266d1e7340"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "53412dd89894", "1f4d3b93dbcb"], + "settlements": { + "pair": "d1b2eddf66f4" + }, + "state": "9b50435fa2f8", + "effects": [ + "0b595cd54ac3", + "d433a326314e", + "b96f13a39e18", + "6b9f1bf73e55", + "12869cc488be", + "47dedea61355", + "477b001b0374", + "ca7cb1785a59" + ] + } + }, + { + "id": "pairing-pre-profile-direct-wins-and-provisions.inner-ok-missing:paired-over-direct", + "observation": { + "sender": ["4451bb95a76e", "6cb74a535419", "3c9308d9b7be", "56266d1e7340"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "53412dd89894", "1f4d3b93dbcb"], + "settlements": { + "pair": "d1b2eddf66f4" + }, + "state": "9b50435fa2f8", + "effects": [ + "0b595cd54ac3", + "d433a326314e", + "b96f13a39e18", + "6b9f1bf73e55", + "12869cc488be", + "47dedea61355", + "477b001b0374", + "ca7cb1785a59" + ] + } + }, + { + "id": "pairing-pre-profile-direct-wins-and-provisions.inner-false-string-error:paired-over-direct", + "observation": { + "sender": ["944bf432f199", "6cb74a535419", "3c9308d9b7be", "56266d1e7340"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "53412dd89894", "1f4d3b93dbcb"], + "settlements": { + "pair": "d1b2eddf66f4" + }, + "state": "9b50435fa2f8", + "effects": [ + "0b595cd54ac3", + "d433a326314e", + "b96f13a39e18", + "6b9f1bf73e55", + "12869cc488be", + "47dedea61355", + "477b001b0374", + "ca7cb1785a59" + ] + } + }, + { + "id": "pairing-pre-profile-direct-wins-and-provisions.inner-false-object-error:paired-over-direct", + "observation": { + "sender": ["89236e432861", "6cb74a535419", "3c9308d9b7be", "56266d1e7340"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "53412dd89894", "1f4d3b93dbcb"], + "settlements": { + "pair": "d1b2eddf66f4" + }, + "state": "9b50435fa2f8", + "effects": [ + "0b595cd54ac3", + "d433a326314e", + "b96f13a39e18", + "6b9f1bf73e55", + "12869cc488be", + "47dedea61355", + "477b001b0374", + "ca7cb1785a59" + ] + } + }, + { + "id": "pairing-pre-profile-direct-wins-and-provisions.outer-refused:paired-over-direct", + "observation": { + "sender": ["16cd464bf664", "6cb74a535419", "3c9308d9b7be", "56266d1e7340"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "53412dd89894", "1f4d3b93dbcb"], + "settlements": { + "pair": "7479478e7dbb" + }, + "state": "40741be1b91f", + "effects": [ + "0b595cd54ac3", + "b2a8517fe750", + "b96f13a39e18", + "477b001b0374", + "ca7cb1785a59" + ] + } + }, + { + "id": "pairing-pre-profile-direct-wins-and-provisions.outer-refused-no-message:paired-over-direct", + "observation": { + "sender": ["9cdf3c107e7b", "6cb74a535419", "3c9308d9b7be", "56266d1e7340"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "53412dd89894", "1f4d3b93dbcb"], + "settlements": { + "pair": "7479478e7dbb" + }, + "state": "40741be1b91f", + "effects": [ + "0b595cd54ac3", + "b2a8517fe750", + "b96f13a39e18", + "477b001b0374", + "ca7cb1785a59" + ] + } + }, + { + "id": "pairing-pre-profile-direct-wins-and-provisions.method-not-found:paired-over-direct", + "observation": { + "sender": ["c71b2f8a6993", "6cb74a535419", "3c9308d9b7be", "56266d1e7340"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "53412dd89894", "1f4d3b93dbcb"], + "settlements": { + "pair": "7479478e7dbb" + }, + "state": "40741be1b91f", + "effects": [ + "0b595cd54ac3", + "b2a8517fe750", + "b96f13a39e18", + "477b001b0374", + "ca7cb1785a59" + ] + } + }, + { + "id": "pairing-pre-profile-direct-wins-and-provisions.transport-rejection:paired-over-direct", + "observation": { + "sender": ["de87f6266897", "6cb74a535419", "3c9308d9b7be", "56266d1e7340"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "53412dd89894", "1f4d3b93dbcb"], + "settlements": { + "pair": "7479478e7dbb" + }, + "state": "40741be1b91f", + "effects": [ + "0b595cd54ac3", + "b2a8517fe750", + "b96f13a39e18", + "477b001b0374", + "ca7cb1785a59" + ] + } + }, + { + "id": "pairing-pre-profile-direct-wins-and-provisions.transport-rejection-no-message:paired-over-direct", + "observation": { + "sender": ["2698c9770ad3", "6cb74a535419", "3c9308d9b7be", "56266d1e7340"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "53412dd89894", "1f4d3b93dbcb"], + "settlements": { + "pair": "7479478e7dbb" + }, + "state": "40741be1b91f", + "effects": [ + "0b595cd54ac3", + "b2a8517fe750", + "b96f13a39e18", + "477b001b0374", + "ca7cb1785a59" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-pairing.pre-profile-pairing.getendpoints-1.json b/mobile/rpc-foundation/goldens/matrix-pairing.pre-profile-pairing.getendpoints-1.json new file mode 100644 index 00000000000..f2f64e11e69 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-pairing.pre-profile-pairing.getendpoints-1.json @@ -0,0 +1,934 @@ +{ + "operation": "pairing.pre-profile", + "family": "pairing.pre-profile", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "e33d584229530c716ecdc44d198b95fcfb4dfd9468fba7d5222ee3f122950197", + "scenarioSha256": "ccd2ef7c617d13bdf5987f5f89fed6917206205268633b9ef061b92c3580d672", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "06dee54a3689": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "ZodError", + "message": "[\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [],\n \"message\": \"Invalid input: expected object, received null\"\n }\n]", + "isRpcDeliveryUnknown": false + } + }, + "0b595cd54ac3": { + "name": "journal-saved", + "value": "pair-fixture-1", + "sent": 0 + }, + "12869cc488be": { + "name": "host-saved", + "value": "relay-host-0001x", + "sent": 4 + }, + "1e5b32902af7": { + "name": "status.get#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "1f4d3b93dbcb": { + "name": "pairing.getEndpoints#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.getEndpoints\",\"params\":{\"installReqId\":\"install-l99UBPM71AZiC1ghz2glnA\"}}" + }, + "1f5e864a522b": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-l99UBPM71AZiC1ghz2glnA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "26f802fad080": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "capabilities": [] + } + } + } + }, + "289142b34109": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-l99UBPM71AZiC1ghz2glnA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "3831443fbd6a": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-l99UBPM71AZiC1ghz2glnA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "3c9308d9b7be": { + "name": "pairing.provisionRelay#1", + "args": [ + { + "name": "method", + "value": "pairing.provisionRelay" + }, + { + "name": "params", + "value": { + "newResumeTokenHash": "yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU", + "reqId": "install-l99UBPM71AZiC1ghz2glnA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "authorizationMode": "authenticated-direct", + "currentVersion": 4, + "reqId": "install-l99UBPM71AZiC1ghz2glnA", + "resumeExpiresAt": 1767830400000, + "v": 1 + } + } + } + }, + "477b001b0374": { + "name": "candidate-closed", + "value": "direct", + "sent": 4 + }, + "47dedea61355": { + "name": "journal-cleared", + "value": "pair-fixture-1", + "sent": 4 + }, + "4e3b57d795cb": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "refused: outer refused", + "isRpcDeliveryUnknown": false + } + }, + "4e5a56d00e5e": { + "outcome": "failed: refused: outer refused", + "savedHost": { + "$rpc": "null" + }, + "timedOut": false + }, + "53412dd89894": { + "name": "pairing.provisionRelay#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.provisionRelay\",\"params\":{\"reqId\":\"install-l99UBPM71AZiC1ghz2glnA\",\"newResumeTokenHash\":\"yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU\"}}" + }, + "56266d1e7340": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-l99UBPM71AZiC1ghz2glnA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "installStatus": { + "reqId": "install-l99UBPM71AZiC1ghz2glnA", + "result": { + "authorizationMode": "authenticated-direct", + "currentVersion": 4, + "reqId": "install-l99UBPM71AZiC1ghz2glnA", + "resumeExpiresAt": 1767830400000, + "v": 1 + }, + "state": "committed", + "v": 1 + }, + "relay": { + "assignmentEpoch": 1, + "cellUrl": "https://cell.example", + "directorUrl": "https://director.example", + "e2eeFraming": 2, + "relayHostId": "relay-host-0001x", + "v": 1 + }, + "v": 1 + } + } + } + }, + "6b9f1bf73e55": { + "name": "bundle-written", + "value": { + "version": 4 + }, + "sent": 4 + }, + "6cb74a535419": { + "name": "status.get#2", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "capabilities": [] + } + } + } + }, + "706827e9c433": { + "outcome": "failed: [\n {\n \"code\": \"invalid_value\",\n \"values\": [\n 1\n ],\n \"path\": [\n \"v\"\n ],\n \"message\": \"Invalid input: expected 1\"\n },\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"relay\"\n ],\n \"message\": \"Invalid input: expected object, received undefined\"\n },\n {\n \"code\": \"unrecognized_keys\",\n \"keys\": [\n \"error\"\n ],\n \"path\": [],\n \"message\": \"Unrecognized key: \\\"error\\\"\"\n }\n]", + "savedHost": { + "$rpc": "null" + }, + "timedOut": false + }, + "70f05a6ea245": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-l99UBPM71AZiC1ghz2glnA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true + } + } + }, + "711f43497438": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-l99UBPM71AZiC1ghz2glnA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-4", + "ok": false + } + } + }, + "7adfb8f30333": { + "outcome": "failed: [\n {\n \"code\": \"invalid_value\",\n \"values\": [\n 1\n ],\n \"path\": [\n \"v\"\n ],\n \"message\": \"Invalid input: expected 1\"\n },\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"relay\"\n ],\n \"message\": \"Invalid input: expected object, received undefined\"\n },\n {\n \"code\": \"unrecognized_keys\",\n \"keys\": [\n \"ok\",\n \"error\"\n ],\n \"path\": [],\n \"message\": \"Unrecognized keys: \\\"ok\\\", \\\"error\\\"\"\n }\n]", + "savedHost": { + "$rpc": "null" + }, + "timedOut": false + }, + "7ecd29c16927": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-l99UBPM71AZiC1ghz2glnA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "8cfbee11e6cb": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "ZodError", + "message": "[\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [],\n \"message\": \"Invalid input: expected object, received undefined\"\n }\n]", + "isRpcDeliveryUnknown": false + } + }, + "9b50435fa2f8": { + "outcome": "host-1", + "savedHost": "relay-host-0001x", + "timedOut": false + }, + "9c12a8b6e493": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-l99UBPM71AZiC1ghz2glnA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "9dec5db5203d": { + "outcome": "failed: transport failure", + "savedHost": { + "$rpc": "null" + }, + "timedOut": false + }, + "a4a0ea018b22": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-l99UBPM71AZiC1ghz2glnA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-4", + "ok": false + } + } + }, + "a87762c5c803": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-l99UBPM71AZiC1ghz2glnA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-4", + "ok": false + } + } + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "afd530d7725d": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-l99UBPM71AZiC1ghz2glnA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "b96f13a39e18": { + "name": "journal-updated", + "value": "pair-fixture-1", + "sent": 2 + }, + "c0c86e67c300": { + "name": "status.get#2", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "c3972c583458": { + "outcome": "failed: method_not_found: Unknown method", + "savedHost": { + "$rpc": "null" + }, + "timedOut": false + }, + "c7584e82c72f": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + }, + "ca7cb1785a59": { + "name": "candidate-closed", + "value": "relay", + "sent": 4 + }, + "ccde11a35347": { + "outcome": "failed: [\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [],\n \"message\": \"Invalid input: expected object, received null\"\n }\n]", + "savedHost": { + "$rpc": "null" + }, + "timedOut": false + }, + "d1b2eddf66f4": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "hostId": "host-1" + } + }, + "d433a326314e": { + "name": "candidate-closed", + "value": "relay", + "sent": 2 + }, + "d56bfdbce702": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "refused: ", + "isRpcDeliveryUnknown": false + } + }, + "d6e7487f3275": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "ZodError", + "message": "[\n {\n \"code\": \"invalid_value\",\n \"values\": [\n 1\n ],\n \"path\": [\n \"v\"\n ],\n \"message\": \"Invalid input: expected 1\"\n },\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"relay\"\n ],\n \"message\": \"Invalid input: expected object, received undefined\"\n },\n {\n \"code\": \"unrecognized_keys\",\n \"keys\": [\n \"ok\",\n \"error\"\n ],\n \"path\": [],\n \"message\": \"Unrecognized keys: \\\"ok\\\", \\\"error\\\"\"\n }\n]", + "isRpcDeliveryUnknown": false + } + }, + "d7f4c8d8decc": { + "outcome": "failed: ", + "savedHost": { + "$rpc": "null" + }, + "timedOut": false + }, + "e625529b1cd8": { + "outcome": "failed: refused: ", + "savedHost": { + "$rpc": "null" + }, + "timedOut": false + }, + "f413abdb830a": { + "outcome": "failed: [\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [],\n \"message\": \"Invalid input: expected object, received undefined\"\n }\n]", + "savedHost": { + "$rpc": "null" + }, + "timedOut": false + }, + "f4f341e9c757": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "ZodError", + "message": "[\n {\n \"code\": \"invalid_value\",\n \"values\": [\n 1\n ],\n \"path\": [\n \"v\"\n ],\n \"message\": \"Invalid input: expected 1\"\n },\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"relay\"\n ],\n \"message\": \"Invalid input: expected object, received undefined\"\n },\n {\n \"code\": \"unrecognized_keys\",\n \"keys\": [\n \"error\"\n ],\n \"path\": [],\n \"message\": \"Unrecognized key: \\\"error\\\"\"\n }\n]", + "isRpcDeliveryUnknown": false + } + }, + "f624ac81d963": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "method_not_found: Unknown method", + "isRpcDeliveryUnknown": false + } + } + }, + "recording": { + "scenario": "matrix-pairing.pre-profile-pairing.getendpoints-1", + "checkpoints": [ + { + "id": "pairing-pre-profile-direct-wins-and-provisions.normal:paired-over-direct", + "observation": { + "sender": ["26f802fad080", "6cb74a535419", "3c9308d9b7be", "56266d1e7340"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "53412dd89894", "1f4d3b93dbcb"], + "settlements": { + "pair": "d1b2eddf66f4" + }, + "state": "9b50435fa2f8", + "effects": [ + "0b595cd54ac3", + "d433a326314e", + "b96f13a39e18", + "6b9f1bf73e55", + "12869cc488be", + "47dedea61355", + "477b001b0374", + "ca7cb1785a59" + ] + } + }, + { + "id": "pairing-pre-profile-direct-wins-and-provisions.result-absent:paired-over-direct", + "observation": { + "sender": ["26f802fad080", "6cb74a535419", "3c9308d9b7be", "70f05a6ea245"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "53412dd89894", "1f4d3b93dbcb"], + "settlements": { + "pair": "8cfbee11e6cb" + }, + "state": "f413abdb830a", + "effects": [ + "0b595cd54ac3", + "d433a326314e", + "b96f13a39e18", + "477b001b0374", + "ca7cb1785a59" + ] + } + }, + { + "id": "pairing-pre-profile-direct-wins-and-provisions.result-null:paired-over-direct", + "observation": { + "sender": ["26f802fad080", "6cb74a535419", "3c9308d9b7be", "289142b34109"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "53412dd89894", "1f4d3b93dbcb"], + "settlements": { + "pair": "06dee54a3689" + }, + "state": "ccde11a35347", + "effects": [ + "0b595cd54ac3", + "d433a326314e", + "b96f13a39e18", + "477b001b0374", + "ca7cb1785a59" + ] + } + }, + { + "id": "pairing-pre-profile-direct-wins-and-provisions.inner-ok-missing:paired-over-direct", + "observation": { + "sender": ["26f802fad080", "6cb74a535419", "3c9308d9b7be", "3831443fbd6a"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "53412dd89894", "1f4d3b93dbcb"], + "settlements": { + "pair": "f4f341e9c757" + }, + "state": "706827e9c433", + "effects": [ + "0b595cd54ac3", + "d433a326314e", + "b96f13a39e18", + "477b001b0374", + "ca7cb1785a59" + ] + } + }, + { + "id": "pairing-pre-profile-direct-wins-and-provisions.inner-false-string-error:paired-over-direct", + "observation": { + "sender": ["26f802fad080", "6cb74a535419", "3c9308d9b7be", "9c12a8b6e493"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "53412dd89894", "1f4d3b93dbcb"], + "settlements": { + "pair": "d6e7487f3275" + }, + "state": "7adfb8f30333", + "effects": [ + "0b595cd54ac3", + "d433a326314e", + "b96f13a39e18", + "477b001b0374", + "ca7cb1785a59" + ] + } + }, + { + "id": "pairing-pre-profile-direct-wins-and-provisions.inner-false-object-error:paired-over-direct", + "observation": { + "sender": ["26f802fad080", "6cb74a535419", "3c9308d9b7be", "afd530d7725d"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "53412dd89894", "1f4d3b93dbcb"], + "settlements": { + "pair": "d6e7487f3275" + }, + "state": "7adfb8f30333", + "effects": [ + "0b595cd54ac3", + "d433a326314e", + "b96f13a39e18", + "477b001b0374", + "ca7cb1785a59" + ] + } + }, + { + "id": "pairing-pre-profile-direct-wins-and-provisions.outer-refused:paired-over-direct", + "observation": { + "sender": ["26f802fad080", "6cb74a535419", "3c9308d9b7be", "a87762c5c803"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "53412dd89894", "1f4d3b93dbcb"], + "settlements": { + "pair": "4e3b57d795cb" + }, + "state": "4e5a56d00e5e", + "effects": [ + "0b595cd54ac3", + "d433a326314e", + "b96f13a39e18", + "477b001b0374", + "ca7cb1785a59" + ] + } + }, + { + "id": "pairing-pre-profile-direct-wins-and-provisions.outer-refused-no-message:paired-over-direct", + "observation": { + "sender": ["26f802fad080", "6cb74a535419", "3c9308d9b7be", "a4a0ea018b22"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "53412dd89894", "1f4d3b93dbcb"], + "settlements": { + "pair": "d56bfdbce702" + }, + "state": "e625529b1cd8", + "effects": [ + "0b595cd54ac3", + "d433a326314e", + "b96f13a39e18", + "477b001b0374", + "ca7cb1785a59" + ] + } + }, + { + "id": "pairing-pre-profile-direct-wins-and-provisions.method-not-found:paired-over-direct", + "observation": { + "sender": ["26f802fad080", "6cb74a535419", "3c9308d9b7be", "711f43497438"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "53412dd89894", "1f4d3b93dbcb"], + "settlements": { + "pair": "f624ac81d963" + }, + "state": "c3972c583458", + "effects": [ + "0b595cd54ac3", + "d433a326314e", + "b96f13a39e18", + "477b001b0374", + "ca7cb1785a59" + ] + } + }, + { + "id": "pairing-pre-profile-direct-wins-and-provisions.transport-rejection:paired-over-direct", + "observation": { + "sender": ["26f802fad080", "6cb74a535419", "3c9308d9b7be", "7ecd29c16927"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "53412dd89894", "1f4d3b93dbcb"], + "settlements": { + "pair": "a947768bc0ed" + }, + "state": "9dec5db5203d", + "effects": [ + "0b595cd54ac3", + "d433a326314e", + "b96f13a39e18", + "477b001b0374", + "ca7cb1785a59" + ] + } + }, + { + "id": "pairing-pre-profile-direct-wins-and-provisions.transport-rejection-no-message:paired-over-direct", + "observation": { + "sender": ["26f802fad080", "6cb74a535419", "3c9308d9b7be", "1f5e864a522b"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "53412dd89894", "1f4d3b93dbcb"], + "settlements": { + "pair": "c7584e82c72f" + }, + "state": "d7f4c8d8decc", + "effects": [ + "0b595cd54ac3", + "d433a326314e", + "b96f13a39e18", + "477b001b0374", + "ca7cb1785a59" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-pairing.pre-profile-pairing.provisionrelay-1.json b/mobile/rpc-foundation/goldens/matrix-pairing.pre-profile-pairing.provisionrelay-1.json new file mode 100644 index 00000000000..7ab31e95f5a --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-pairing.pre-profile-pairing.provisionrelay-1.json @@ -0,0 +1,954 @@ +{ + "operation": "pairing.pre-profile", + "family": "pairing.pre-profile", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "e33d584229530c716ecdc44d198b95fcfb4dfd9468fba7d5222ee3f122950197", + "scenarioSha256": "399fa8b85d9c2fc341ea2284a54aed278fd1a5b19a84cc9284c29d5a583bc519", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0539a34c02a8": { + "name": "pairing.provisionRelay#1", + "args": [ + { + "name": "method", + "value": "pairing.provisionRelay" + }, + { + "name": "params", + "value": { + "newResumeTokenHash": "yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU", + "reqId": "install-l99UBPM71AZiC1ghz2glnA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "06dee54a3689": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "ZodError", + "message": "[\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [],\n \"message\": \"Invalid input: expected object, received null\"\n }\n]", + "isRpcDeliveryUnknown": false + } + }, + "0b595cd54ac3": { + "name": "journal-saved", + "value": "pair-fixture-1", + "sent": 0 + }, + "12869cc488be": { + "name": "host-saved", + "value": "relay-host-0001x", + "sent": 4 + }, + "139fb7a92eac": { + "name": "pairing.provisionRelay#1", + "args": [ + { + "name": "method", + "value": "pairing.provisionRelay" + }, + { + "name": "params", + "value": { + "newResumeTokenHash": "yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU", + "reqId": "install-l99UBPM71AZiC1ghz2glnA" + } + }, + { + "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 + } + } + } + }, + "1e5b32902af7": { + "name": "status.get#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "1f4d3b93dbcb": { + "name": "pairing.getEndpoints#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.getEndpoints\",\"params\":{\"installReqId\":\"install-l99UBPM71AZiC1ghz2glnA\"}}" + }, + "26f802fad080": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "capabilities": [] + } + } + } + }, + "3c9308d9b7be": { + "name": "pairing.provisionRelay#1", + "args": [ + { + "name": "method", + "value": "pairing.provisionRelay" + }, + { + "name": "params", + "value": { + "newResumeTokenHash": "yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU", + "reqId": "install-l99UBPM71AZiC1ghz2glnA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "authorizationMode": "authenticated-direct", + "currentVersion": 4, + "reqId": "install-l99UBPM71AZiC1ghz2glnA", + "resumeExpiresAt": 1767830400000, + "v": 1 + } + } + } + }, + "44341dbd8021": { + "name": "pairing.provisionRelay#1", + "args": [ + { + "name": "method", + "value": "pairing.provisionRelay" + }, + { + "name": "params", + "value": { + "newResumeTokenHash": "yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU", + "reqId": "install-l99UBPM71AZiC1ghz2glnA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "4663b0f6e580": { + "name": "host-saved", + "value": "direct-only", + "sent": 3 + }, + "477b001b0374": { + "name": "candidate-closed", + "value": "direct", + "sent": 4 + }, + "47dedea61355": { + "name": "journal-cleared", + "value": "pair-fixture-1", + "sent": 4 + }, + "4a54bf2090c8": { + "outcome": "host-1", + "savedHost": "direct-only", + "timedOut": false + }, + "4cb6216cee5a": { + "name": "candidate-closed", + "value": "relay", + "sent": 3 + }, + "4e3b57d795cb": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "refused: outer refused", + "isRpcDeliveryUnknown": false + } + }, + "4e5a56d00e5e": { + "outcome": "failed: refused: outer refused", + "savedHost": { + "$rpc": "null" + }, + "timedOut": false + }, + "5099f8914209": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "ZodError", + "message": "[\n {\n \"code\": \"invalid_value\",\n \"values\": [\n 1\n ],\n \"path\": [\n \"v\"\n ],\n \"message\": \"Invalid input: expected 1\"\n },\n {\n \"expected\": \"string\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"reqId\"\n ],\n \"message\": \"Invalid input: expected string, received undefined\"\n },\n {\n \"code\": \"invalid_value\",\n \"values\": [\n \"relay-basis\",\n \"authenticated-direct\"\n ],\n \"path\": [\n \"authorizationMode\"\n ],\n \"message\": \"Invalid option: expected one of \\\"relay-basis\\\"|\\\"authenticated-direct\\\"\"\n },\n {\n \"expected\": \"number\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"currentVersion\"\n ],\n \"message\": \"Invalid input: expected number, received undefined\"\n },\n {\n \"expected\": \"number\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"resumeExpiresAt\"\n ],\n \"message\": \"Invalid input: expected number, received undefined\"\n },\n {\n \"code\": \"unrecognized_keys\",\n \"keys\": [\n \"ok\",\n \"error\"\n ],\n \"path\": [],\n \"message\": \"Unrecognized keys: \\\"ok\\\", \\\"error\\\"\"\n }\n]", + "isRpcDeliveryUnknown": false + } + }, + "53412dd89894": { + "name": "pairing.provisionRelay#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.provisionRelay\",\"params\":{\"reqId\":\"install-l99UBPM71AZiC1ghz2glnA\",\"newResumeTokenHash\":\"yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU\"}}" + }, + "56266d1e7340": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-l99UBPM71AZiC1ghz2glnA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "installStatus": { + "reqId": "install-l99UBPM71AZiC1ghz2glnA", + "result": { + "authorizationMode": "authenticated-direct", + "currentVersion": 4, + "reqId": "install-l99UBPM71AZiC1ghz2glnA", + "resumeExpiresAt": 1767830400000, + "v": 1 + }, + "state": "committed", + "v": 1 + }, + "relay": { + "assignmentEpoch": 1, + "cellUrl": "https://cell.example", + "directorUrl": "https://director.example", + "e2eeFraming": 2, + "relayHostId": "relay-host-0001x", + "v": 1 + }, + "v": 1 + } + } + } + }, + "6b9f1bf73e55": { + "name": "bundle-written", + "value": { + "version": 4 + }, + "sent": 4 + }, + "6cb74a535419": { + "name": "status.get#2", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "capabilities": [] + } + } + } + }, + "765407131fe4": { + "name": "pairing.provisionRelay#1", + "args": [ + { + "name": "method", + "value": "pairing.provisionRelay" + }, + { + "name": "params", + "value": { + "newResumeTokenHash": "yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU", + "reqId": "install-l99UBPM71AZiC1ghz2glnA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "77d3c0d012b7": { + "name": "pairing.provisionRelay#1", + "args": [ + { + "name": "method", + "value": "pairing.provisionRelay" + }, + { + "name": "params", + "value": { + "newResumeTokenHash": "yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU", + "reqId": "install-l99UBPM71AZiC1ghz2glnA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "7b9574d1b723": { + "name": "pairing.provisionRelay#1", + "args": [ + { + "name": "method", + "value": "pairing.provisionRelay" + }, + { + "name": "params", + "value": { + "newResumeTokenHash": "yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU", + "reqId": "install-l99UBPM71AZiC1ghz2glnA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "818e73b19334": { + "name": "pairing.provisionRelay#1", + "args": [ + { + "name": "method", + "value": "pairing.provisionRelay" + }, + { + "name": "params", + "value": { + "newResumeTokenHash": "yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU", + "reqId": "install-l99UBPM71AZiC1ghz2glnA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true + } + } + }, + "8cfbee11e6cb": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "ZodError", + "message": "[\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [],\n \"message\": \"Invalid input: expected object, received undefined\"\n }\n]", + "isRpcDeliveryUnknown": false + } + }, + "8eb785974a39": { + "name": "candidate-closed", + "value": "direct", + "sent": 3 + }, + "9b50435fa2f8": { + "outcome": "host-1", + "savedHost": "relay-host-0001x", + "timedOut": false + }, + "9dec5db5203d": { + "outcome": "failed: transport failure", + "savedHost": { + "$rpc": "null" + }, + "timedOut": false + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "afe249bdfa5f": { + "name": "pairing.provisionRelay#1", + "args": [ + { + "name": "method", + "value": "pairing.provisionRelay" + }, + { + "name": "params", + "value": { + "newResumeTokenHash": "yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU", + "reqId": "install-l99UBPM71AZiC1ghz2glnA" + } + }, + { + "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 + } + } + }, + "b96f13a39e18": { + "name": "journal-updated", + "value": "pair-fixture-1", + "sent": 2 + }, + "c0c86e67c300": { + "name": "status.get#2", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "c3bd958eef0c": { + "name": "pairing.provisionRelay#1", + "args": [ + { + "name": "method", + "value": "pairing.provisionRelay" + }, + { + "name": "params", + "value": { + "newResumeTokenHash": "yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU", + "reqId": "install-l99UBPM71AZiC1ghz2glnA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-3", + "ok": false + } + } + }, + "c7584e82c72f": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + }, + "ca7cb1785a59": { + "name": "candidate-closed", + "value": "relay", + "sent": 4 + }, + "ccde11a35347": { + "outcome": "failed: [\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [],\n \"message\": \"Invalid input: expected object, received null\"\n }\n]", + "savedHost": { + "$rpc": "null" + }, + "timedOut": false + }, + "d1b2eddf66f4": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "hostId": "host-1" + } + }, + "d433a326314e": { + "name": "candidate-closed", + "value": "relay", + "sent": 2 + }, + "d56bfdbce702": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "refused: ", + "isRpcDeliveryUnknown": false + } + }, + "d7f4c8d8decc": { + "outcome": "failed: ", + "savedHost": { + "$rpc": "null" + }, + "timedOut": false + }, + "d99ec237c33f": { + "outcome": "failed: [\n {\n \"code\": \"invalid_value\",\n \"values\": [\n 1\n ],\n \"path\": [\n \"v\"\n ],\n \"message\": \"Invalid input: expected 1\"\n },\n {\n \"expected\": \"string\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"reqId\"\n ],\n \"message\": \"Invalid input: expected string, received undefined\"\n },\n {\n \"code\": \"invalid_value\",\n \"values\": [\n \"relay-basis\",\n \"authenticated-direct\"\n ],\n \"path\": [\n \"authorizationMode\"\n ],\n \"message\": \"Invalid option: expected one of \\\"relay-basis\\\"|\\\"authenticated-direct\\\"\"\n },\n {\n \"expected\": \"number\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"currentVersion\"\n ],\n \"message\": \"Invalid input: expected number, received undefined\"\n },\n {\n \"expected\": \"number\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"resumeExpiresAt\"\n ],\n \"message\": \"Invalid input: expected number, received undefined\"\n },\n {\n \"code\": \"unrecognized_keys\",\n \"keys\": [\n \"ok\",\n \"error\"\n ],\n \"path\": [],\n \"message\": \"Unrecognized keys: \\\"ok\\\", \\\"error\\\"\"\n }\n]", + "savedHost": { + "$rpc": "null" + }, + "timedOut": false + }, + "e45af0b65cfb": { + "outcome": "failed: [\n {\n \"code\": \"invalid_value\",\n \"values\": [\n 1\n ],\n \"path\": [\n \"v\"\n ],\n \"message\": \"Invalid input: expected 1\"\n },\n {\n \"expected\": \"string\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"reqId\"\n ],\n \"message\": \"Invalid input: expected string, received undefined\"\n },\n {\n \"code\": \"invalid_value\",\n \"values\": [\n \"relay-basis\",\n \"authenticated-direct\"\n ],\n \"path\": [\n \"authorizationMode\"\n ],\n \"message\": \"Invalid option: expected one of \\\"relay-basis\\\"|\\\"authenticated-direct\\\"\"\n },\n {\n \"expected\": \"number\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"currentVersion\"\n ],\n \"message\": \"Invalid input: expected number, received undefined\"\n },\n {\n \"expected\": \"number\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"resumeExpiresAt\"\n ],\n \"message\": \"Invalid input: expected number, received undefined\"\n },\n {\n \"code\": \"unrecognized_keys\",\n \"keys\": [\n \"error\"\n ],\n \"path\": [],\n \"message\": \"Unrecognized key: \\\"error\\\"\"\n }\n]", + "savedHost": { + "$rpc": "null" + }, + "timedOut": false + }, + "e625529b1cd8": { + "outcome": "failed: refused: ", + "savedHost": { + "$rpc": "null" + }, + "timedOut": false + }, + "f19ff6c94d68": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "ZodError", + "message": "[\n {\n \"code\": \"invalid_value\",\n \"values\": [\n 1\n ],\n \"path\": [\n \"v\"\n ],\n \"message\": \"Invalid input: expected 1\"\n },\n {\n \"expected\": \"string\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"reqId\"\n ],\n \"message\": \"Invalid input: expected string, received undefined\"\n },\n {\n \"code\": \"invalid_value\",\n \"values\": [\n \"relay-basis\",\n \"authenticated-direct\"\n ],\n \"path\": [\n \"authorizationMode\"\n ],\n \"message\": \"Invalid option: expected one of \\\"relay-basis\\\"|\\\"authenticated-direct\\\"\"\n },\n {\n \"expected\": \"number\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"currentVersion\"\n ],\n \"message\": \"Invalid input: expected number, received undefined\"\n },\n {\n \"expected\": \"number\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"resumeExpiresAt\"\n ],\n \"message\": \"Invalid input: expected number, received undefined\"\n },\n {\n \"code\": \"unrecognized_keys\",\n \"keys\": [\n \"error\"\n ],\n \"path\": [],\n \"message\": \"Unrecognized key: \\\"error\\\"\"\n }\n]", + "isRpcDeliveryUnknown": false + } + }, + "f413abdb830a": { + "outcome": "failed: [\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [],\n \"message\": \"Invalid input: expected object, received undefined\"\n }\n]", + "savedHost": { + "$rpc": "null" + }, + "timedOut": false + }, + "f4232b7673ea": { + "name": "journal-cleared", + "value": "pair-fixture-1", + "sent": 3 + }, + "f4797c8e8b5e": { + "name": "pairing.provisionRelay#1", + "args": [ + { + "name": "method", + "value": "pairing.provisionRelay" + }, + { + "name": "params", + "value": { + "newResumeTokenHash": "yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU", + "reqId": "install-l99UBPM71AZiC1ghz2glnA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-3", + "ok": false + } + } + } + }, + "recording": { + "scenario": "matrix-pairing.pre-profile-pairing.provisionrelay-1", + "checkpoints": [ + { + "id": "pairing-pre-profile-direct-wins-and-provisions.normal:paired-over-direct", + "observation": { + "sender": ["26f802fad080", "6cb74a535419", "3c9308d9b7be", "56266d1e7340"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "53412dd89894", "1f4d3b93dbcb"], + "settlements": { + "pair": "d1b2eddf66f4" + }, + "state": "9b50435fa2f8", + "effects": [ + "0b595cd54ac3", + "d433a326314e", + "b96f13a39e18", + "6b9f1bf73e55", + "12869cc488be", + "47dedea61355", + "477b001b0374", + "ca7cb1785a59" + ] + } + }, + { + "id": "pairing-pre-profile-direct-wins-and-provisions.result-absent:paired-over-direct", + "observation": { + "sender": ["26f802fad080", "6cb74a535419", "818e73b19334"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "53412dd89894"], + "settlements": { + "pair": "8cfbee11e6cb" + }, + "state": "f413abdb830a", + "effects": [ + "0b595cd54ac3", + "d433a326314e", + "b96f13a39e18", + "8eb785974a39", + "4cb6216cee5a" + ] + } + }, + { + "id": "pairing-pre-profile-direct-wins-and-provisions.result-null:paired-over-direct", + "observation": { + "sender": ["26f802fad080", "6cb74a535419", "7b9574d1b723"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "53412dd89894"], + "settlements": { + "pair": "06dee54a3689" + }, + "state": "ccde11a35347", + "effects": [ + "0b595cd54ac3", + "d433a326314e", + "b96f13a39e18", + "8eb785974a39", + "4cb6216cee5a" + ] + } + }, + { + "id": "pairing-pre-profile-direct-wins-and-provisions.inner-ok-missing:paired-over-direct", + "observation": { + "sender": ["26f802fad080", "6cb74a535419", "44341dbd8021"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "53412dd89894"], + "settlements": { + "pair": "f19ff6c94d68" + }, + "state": "e45af0b65cfb", + "effects": [ + "0b595cd54ac3", + "d433a326314e", + "b96f13a39e18", + "8eb785974a39", + "4cb6216cee5a" + ] + } + }, + { + "id": "pairing-pre-profile-direct-wins-and-provisions.inner-false-string-error:paired-over-direct", + "observation": { + "sender": ["26f802fad080", "6cb74a535419", "765407131fe4"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "53412dd89894"], + "settlements": { + "pair": "5099f8914209" + }, + "state": "d99ec237c33f", + "effects": [ + "0b595cd54ac3", + "d433a326314e", + "b96f13a39e18", + "8eb785974a39", + "4cb6216cee5a" + ] + } + }, + { + "id": "pairing-pre-profile-direct-wins-and-provisions.inner-false-object-error:paired-over-direct", + "observation": { + "sender": ["26f802fad080", "6cb74a535419", "139fb7a92eac"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "53412dd89894"], + "settlements": { + "pair": "5099f8914209" + }, + "state": "d99ec237c33f", + "effects": [ + "0b595cd54ac3", + "d433a326314e", + "b96f13a39e18", + "8eb785974a39", + "4cb6216cee5a" + ] + } + }, + { + "id": "pairing-pre-profile-direct-wins-and-provisions.outer-refused:paired-over-direct", + "observation": { + "sender": ["26f802fad080", "6cb74a535419", "c3bd958eef0c"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "53412dd89894"], + "settlements": { + "pair": "4e3b57d795cb" + }, + "state": "4e5a56d00e5e", + "effects": [ + "0b595cd54ac3", + "d433a326314e", + "b96f13a39e18", + "8eb785974a39", + "4cb6216cee5a" + ] + } + }, + { + "id": "pairing-pre-profile-direct-wins-and-provisions.outer-refused-no-message:paired-over-direct", + "observation": { + "sender": ["26f802fad080", "6cb74a535419", "f4797c8e8b5e"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "53412dd89894"], + "settlements": { + "pair": "d56bfdbce702" + }, + "state": "e625529b1cd8", + "effects": [ + "0b595cd54ac3", + "d433a326314e", + "b96f13a39e18", + "8eb785974a39", + "4cb6216cee5a" + ] + } + }, + { + "id": "pairing-pre-profile-direct-wins-and-provisions.method-not-found:paired-over-direct", + "observation": { + "sender": ["26f802fad080", "6cb74a535419", "afe249bdfa5f"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "53412dd89894"], + "settlements": { + "pair": "d1b2eddf66f4" + }, + "state": "4a54bf2090c8", + "effects": [ + "0b595cd54ac3", + "d433a326314e", + "b96f13a39e18", + "4663b0f6e580", + "f4232b7673ea", + "8eb785974a39", + "4cb6216cee5a" + ] + } + }, + { + "id": "pairing-pre-profile-direct-wins-and-provisions.transport-rejection:paired-over-direct", + "observation": { + "sender": ["26f802fad080", "6cb74a535419", "77d3c0d012b7"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "53412dd89894"], + "settlements": { + "pair": "a947768bc0ed" + }, + "state": "9dec5db5203d", + "effects": [ + "0b595cd54ac3", + "d433a326314e", + "b96f13a39e18", + "8eb785974a39", + "4cb6216cee5a" + ] + } + }, + { + "id": "pairing-pre-profile-direct-wins-and-provisions.transport-rejection-no-message:paired-over-direct", + "observation": { + "sender": ["26f802fad080", "6cb74a535419", "0539a34c02a8"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "53412dd89894"], + "settlements": { + "pair": "c7584e82c72f" + }, + "state": "d7f4c8d8decc", + "effects": [ + "0b595cd54ac3", + "d433a326314e", + "b96f13a39e18", + "8eb785974a39", + "4cb6216cee5a" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-pairing.pre-profile-relay-status.json b/mobile/rpc-foundation/goldens/matrix-pairing.pre-profile-relay-status.json new file mode 100644 index 00000000000..59d7214f130 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-pairing.pre-profile-relay-status.json @@ -0,0 +1,811 @@ +{ + "operation": "pairing.pre-profile", + "family": "pairing.pre-profile", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "e33d584229530c716ecdc44d198b95fcfb4dfd9468fba7d5222ee3f122950197", + "scenarioSha256": "14931cc23cd0e6d850f596c880014c606834898acbeee4abff3dc83a94b0c6c0", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "088babc6e1f7": { + "name": "status.get#2", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "0b595cd54ac3": { + "name": "journal-saved", + "value": "pair-fixture-1", + "sent": 0 + }, + "12869cc488be": { + "name": "host-saved", + "value": "relay-host-0001x", + "sent": 4 + }, + "18654b1dc666": { + "name": "status.get#2", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "1e5b32902af7": { + "name": "status.get#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "1f4d3b93dbcb": { + "name": "pairing.getEndpoints#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.getEndpoints\",\"params\":{\"installReqId\":\"install-l99UBPM71AZiC1ghz2glnA\"}}" + }, + "26f802fad080": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "capabilities": [] + } + } + } + }, + "3c9308d9b7be": { + "name": "pairing.provisionRelay#1", + "args": [ + { + "name": "method", + "value": "pairing.provisionRelay" + }, + { + "name": "params", + "value": { + "newResumeTokenHash": "yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU", + "reqId": "install-l99UBPM71AZiC1ghz2glnA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "authorizationMode": "authenticated-direct", + "currentVersion": 4, + "reqId": "install-l99UBPM71AZiC1ghz2glnA", + "resumeExpiresAt": 1767830400000, + "v": 1 + } + } + } + }, + "3d89f7592b95": { + "name": "status.get#2", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "477b001b0374": { + "name": "candidate-closed", + "value": "direct", + "sent": 4 + }, + "47dedea61355": { + "name": "journal-cleared", + "value": "pair-fixture-1", + "sent": 4 + }, + "53412dd89894": { + "name": "pairing.provisionRelay#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.provisionRelay\",\"params\":{\"reqId\":\"install-l99UBPM71AZiC1ghz2glnA\",\"newResumeTokenHash\":\"yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU\"}}" + }, + "56266d1e7340": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-l99UBPM71AZiC1ghz2glnA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "installStatus": { + "reqId": "install-l99UBPM71AZiC1ghz2glnA", + "result": { + "authorizationMode": "authenticated-direct", + "currentVersion": 4, + "reqId": "install-l99UBPM71AZiC1ghz2glnA", + "resumeExpiresAt": 1767830400000, + "v": 1 + }, + "state": "committed", + "v": 1 + }, + "relay": { + "assignmentEpoch": 1, + "cellUrl": "https://cell.example", + "directorUrl": "https://director.example", + "e2eeFraming": 2, + "relayHostId": "relay-host-0001x", + "v": 1 + }, + "v": 1 + } + } + } + }, + "624a629f1833": { + "name": "status.get#2", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "64f57e43ef2a": { + "name": "status.get#2", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "6a19478ef955": { + "name": "status.get#2", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "6b9f1bf73e55": { + "name": "bundle-written", + "value": { + "version": 4 + }, + "sent": 4 + }, + "6cb74a535419": { + "name": "status.get#2", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "capabilities": [] + } + } + } + }, + "72578f116416": { + "name": "status.get#2", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "9b50435fa2f8": { + "outcome": "host-1", + "savedHost": "relay-host-0001x", + "timedOut": false + }, + "a7eb3507d2eb": { + "name": "status.get#2", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "a920731a050a": { + "name": "status.get#2", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "b96f13a39e18": { + "name": "journal-updated", + "value": "pair-fixture-1", + "sent": 2 + }, + "c0c86e67c300": { + "name": "status.get#2", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "ca7cb1785a59": { + "name": "candidate-closed", + "value": "relay", + "sent": 4 + }, + "cf2b86e124ae": { + "name": "status.get#2", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "d1b2eddf66f4": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "hostId": "host-1" + } + }, + "d433a326314e": { + "name": "candidate-closed", + "value": "relay", + "sent": 2 + } + }, + "recording": { + "scenario": "matrix-pairing.pre-profile-relay-status", + "checkpoints": [ + { + "id": "pairing-pre-profile-direct-wins-and-provisions.normal:paired-over-direct", + "observation": { + "sender": ["26f802fad080", "6cb74a535419", "3c9308d9b7be", "56266d1e7340"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "53412dd89894", "1f4d3b93dbcb"], + "settlements": { + "pair": "d1b2eddf66f4" + }, + "state": "9b50435fa2f8", + "effects": [ + "0b595cd54ac3", + "d433a326314e", + "b96f13a39e18", + "6b9f1bf73e55", + "12869cc488be", + "47dedea61355", + "477b001b0374", + "ca7cb1785a59" + ] + } + }, + { + "id": "pairing-pre-profile-direct-wins-and-provisions.result-absent:paired-over-direct", + "observation": { + "sender": ["26f802fad080", "72578f116416", "3c9308d9b7be", "56266d1e7340"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "53412dd89894", "1f4d3b93dbcb"], + "settlements": { + "pair": "d1b2eddf66f4" + }, + "state": "9b50435fa2f8", + "effects": [ + "0b595cd54ac3", + "d433a326314e", + "b96f13a39e18", + "6b9f1bf73e55", + "12869cc488be", + "47dedea61355", + "477b001b0374", + "ca7cb1785a59" + ] + } + }, + { + "id": "pairing-pre-profile-direct-wins-and-provisions.result-null:paired-over-direct", + "observation": { + "sender": ["26f802fad080", "18654b1dc666", "3c9308d9b7be", "56266d1e7340"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "53412dd89894", "1f4d3b93dbcb"], + "settlements": { + "pair": "d1b2eddf66f4" + }, + "state": "9b50435fa2f8", + "effects": [ + "0b595cd54ac3", + "d433a326314e", + "b96f13a39e18", + "6b9f1bf73e55", + "12869cc488be", + "47dedea61355", + "477b001b0374", + "ca7cb1785a59" + ] + } + }, + { + "id": "pairing-pre-profile-direct-wins-and-provisions.inner-ok-missing:paired-over-direct", + "observation": { + "sender": ["26f802fad080", "3d89f7592b95", "3c9308d9b7be", "56266d1e7340"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "53412dd89894", "1f4d3b93dbcb"], + "settlements": { + "pair": "d1b2eddf66f4" + }, + "state": "9b50435fa2f8", + "effects": [ + "0b595cd54ac3", + "d433a326314e", + "b96f13a39e18", + "6b9f1bf73e55", + "12869cc488be", + "47dedea61355", + "477b001b0374", + "ca7cb1785a59" + ] + } + }, + { + "id": "pairing-pre-profile-direct-wins-and-provisions.inner-false-string-error:paired-over-direct", + "observation": { + "sender": ["26f802fad080", "64f57e43ef2a", "3c9308d9b7be", "56266d1e7340"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "53412dd89894", "1f4d3b93dbcb"], + "settlements": { + "pair": "d1b2eddf66f4" + }, + "state": "9b50435fa2f8", + "effects": [ + "0b595cd54ac3", + "d433a326314e", + "b96f13a39e18", + "6b9f1bf73e55", + "12869cc488be", + "47dedea61355", + "477b001b0374", + "ca7cb1785a59" + ] + } + }, + { + "id": "pairing-pre-profile-direct-wins-and-provisions.inner-false-object-error:paired-over-direct", + "observation": { + "sender": ["26f802fad080", "6a19478ef955", "3c9308d9b7be", "56266d1e7340"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "53412dd89894", "1f4d3b93dbcb"], + "settlements": { + "pair": "d1b2eddf66f4" + }, + "state": "9b50435fa2f8", + "effects": [ + "0b595cd54ac3", + "d433a326314e", + "b96f13a39e18", + "6b9f1bf73e55", + "12869cc488be", + "47dedea61355", + "477b001b0374", + "ca7cb1785a59" + ] + } + }, + { + "id": "pairing-pre-profile-direct-wins-and-provisions.outer-refused:paired-over-direct", + "observation": { + "sender": ["26f802fad080", "a920731a050a", "3c9308d9b7be", "56266d1e7340"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "53412dd89894", "1f4d3b93dbcb"], + "settlements": { + "pair": "d1b2eddf66f4" + }, + "state": "9b50435fa2f8", + "effects": [ + "0b595cd54ac3", + "d433a326314e", + "b96f13a39e18", + "6b9f1bf73e55", + "12869cc488be", + "47dedea61355", + "477b001b0374", + "ca7cb1785a59" + ] + } + }, + { + "id": "pairing-pre-profile-direct-wins-and-provisions.outer-refused-no-message:paired-over-direct", + "observation": { + "sender": ["26f802fad080", "624a629f1833", "3c9308d9b7be", "56266d1e7340"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "53412dd89894", "1f4d3b93dbcb"], + "settlements": { + "pair": "d1b2eddf66f4" + }, + "state": "9b50435fa2f8", + "effects": [ + "0b595cd54ac3", + "d433a326314e", + "b96f13a39e18", + "6b9f1bf73e55", + "12869cc488be", + "47dedea61355", + "477b001b0374", + "ca7cb1785a59" + ] + } + }, + { + "id": "pairing-pre-profile-direct-wins-and-provisions.method-not-found:paired-over-direct", + "observation": { + "sender": ["26f802fad080", "a7eb3507d2eb", "3c9308d9b7be", "56266d1e7340"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "53412dd89894", "1f4d3b93dbcb"], + "settlements": { + "pair": "d1b2eddf66f4" + }, + "state": "9b50435fa2f8", + "effects": [ + "0b595cd54ac3", + "d433a326314e", + "b96f13a39e18", + "6b9f1bf73e55", + "12869cc488be", + "47dedea61355", + "477b001b0374", + "ca7cb1785a59" + ] + } + }, + { + "id": "pairing-pre-profile-direct-wins-and-provisions.transport-rejection:paired-over-direct", + "observation": { + "sender": ["26f802fad080", "088babc6e1f7", "3c9308d9b7be", "56266d1e7340"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "53412dd89894", "1f4d3b93dbcb"], + "settlements": { + "pair": "d1b2eddf66f4" + }, + "state": "9b50435fa2f8", + "effects": [ + "0b595cd54ac3", + "d433a326314e", + "b96f13a39e18", + "6b9f1bf73e55", + "12869cc488be", + "47dedea61355", + "477b001b0374", + "ca7cb1785a59" + ] + } + }, + { + "id": "pairing-pre-profile-direct-wins-and-provisions.transport-rejection-no-message:paired-over-direct", + "observation": { + "sender": ["26f802fad080", "cf2b86e124ae", "3c9308d9b7be", "56266d1e7340"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "53412dd89894", "1f4d3b93dbcb"], + "settlements": { + "pair": "d1b2eddf66f4" + }, + "state": "9b50435fa2f8", + "effects": [ + "0b595cd54ac3", + "d433a326314e", + "b96f13a39e18", + "6b9f1bf73e55", + "12869cc488be", + "47dedea61355", + "477b001b0374", + "ca7cb1785a59" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-project-explicit-false-github.project.updateissuebyslug-1.json b/mobile/rpc-foundation/goldens/matrix-project-explicit-false-github.project.updateissuebyslug-1.json index d5878ea9801..a1315db3612 100644 --- a/mobile/rpc-foundation/goldens/matrix-project-explicit-false-github.project.updateissuebyslug-1.json +++ b/mobile/rpc-foundation/goldens/matrix-project-explicit-false-github.project.updateissuebyslug-1.json @@ -3,9 +3,9 @@ "family": "project-explicit-false", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "d3b7f33d810e1fa420ac41a628cde9fe4a9e65fd57f89fbca0a40fc7d74951ab", "scenarioSha256": "926f0d8c37a33d465bf3a04f056600cfc9f1669b1eca7e968aa1a1f797a74c61", "platform": "darwin", @@ -13,9 +13,10 @@ "projectionVersion": 2, "goldenFormatVersion": 5, "values": { - "057a0b5a420b": { - "name": "projectRowDetailError", - "value": "" + "02839f22d2db": { + "name": "projectMutating", + "value": false, + "sent": 1 }, "064bc8399cbc": { "name": "github.project.updateIssueBySlug#1", @@ -57,9 +58,24 @@ } } }, - "0924615699bf": { - "name": "projectRowDetailError", - "value": "transport failure" + "0b09506355e4": { + "name": "projectRowItem", + "value": { + "content": { + "assignees": [], + "labels": [ + { + "color": "808080", + "name": "recorded" + } + ], + "number": 1, + "repository": "owner/repo" + }, + "id": "item-1", + "itemType": "ISSUE" + }, + "sent": 1 }, "0c4dced3e005": { "error": "", @@ -75,6 +91,23 @@ "itemType": "ISSUE" } }, + "0ef970845cc7": { + "name": "projectRowDetailError", + "value": "outer refused", + "sent": 1 + }, + "152580ec9e5a": { + "name": "projectRowDetailError", + "value": "Unknown method", + "sent": 1 + }, + "1c2a67aac7e4": { + "name": "projectRowDetail", + "value": { + "$rpc": "null" + }, + "sent": 1 + }, "1ddee45b4bc3": { "name": "github.project.updateIssueBySlug#1", "args": [ @@ -139,10 +172,6 @@ "itemType": "ISSUE" } }, - "27f506c59cc7": { - "name": "projectRowDetailError", - "value": "outer refused" - }, "29f9b15bed7a": { "error": "Cannot read properties of undefined (reading 'ok')", "mutating": false, @@ -171,14 +200,6 @@ "itemType": "ISSUE" } }, - "2cd14f7121a5": { - "name": "projectMutating", - "value": false - }, - "2e2da1bbd7ed": { - "name": "projectRowDetailError", - "value": "Cannot read properties of undefined (reading 'ok')" - }, "32cc1f3ceec8": { "error": "inner refused", "mutating": false, @@ -193,12 +214,6 @@ "itemType": "ISSUE" } }, - "347cc433c473": { - "name": "projectRowDetail", - "value": { - "$rpc": "null" - } - }, "37124163eb76": { "name": "github.project.updateIssueBySlug#1", "args": [ @@ -250,6 +265,16 @@ "itemType": "ISSUE" } }, + "4c09a53c8150": { + "name": "projectRowDetailError", + "value": "Cannot read properties of undefined (reading 'ok')", + "sent": 1 + }, + "4c53511aa5f7": { + "name": "projectRowDetailError", + "value": "Connection closed", + "sent": 1 + }, "52a7a7239fbb": { "name": "github.project.updateIssueBySlug#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.updateIssueBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\",\"number\":1,\"updates\":{\"addLabels\":[\"recorded\"]}}}" @@ -387,10 +412,6 @@ } } }, - "6b6431f01d00": { - "name": "projectRowDetailError", - "value": "Unknown method" - }, "6f0142de3930": { "name": "github.project.updateIssueBySlug#1", "args": [ @@ -430,10 +451,6 @@ } } }, - "6fe1c7d73e4d": { - "name": "projectRowDetailError", - "value": "inner refused" - }, "7a55b2ec205b": { "name": "github.project.updateIssueBySlug#1", "args": [ @@ -473,6 +490,11 @@ } } }, + "7b2465eedefe": { + "name": "projectMutating", + "value": true, + "sent": 0 + }, "7df10429e862": { "error": "", "mutating": false, @@ -492,6 +514,16 @@ "itemType": "ISSUE" } }, + "8237b3a567bf": { + "name": "projectRowDetailError", + "value": "transport failure", + "sent": 1 + }, + "85f150b2df81": { + "name": "projectRowDetailError", + "value": "", + "sent": 1 + }, "90cf28d0b84a": { "name": "github.project.updateIssueBySlug#1", "args": [ @@ -536,6 +568,11 @@ "status": "pending", "startedAt": 0 }, + "a7b76954b136": { + "name": "projectRowDetailError", + "value": "Cannot read properties of null (reading 'ok')", + "sent": 1 + }, "c1213bb55edc": { "name": "github.project.updateIssueBySlug#1", "args": [ @@ -573,9 +610,28 @@ } } }, - "c2a271fc5d97": { - "name": "projectMutating", - "value": true + "c2cfc66d5157": { + "name": "githubProjectTable", + "value": { + "rows": [ + { + "content": { + "assignees": [], + "labels": [ + { + "color": "808080", + "name": "recorded" + } + ], + "number": 1, + "repository": "owner/repo" + }, + "id": "item-1", + "itemType": "ISSUE" + } + ] + }, + "sent": 1 }, "c679565dc881": { "error": "Failed to update GitHub item", @@ -591,31 +647,10 @@ "itemType": "ISSUE" } }, - "cb9738a42f12": { - "name": "projectRowItem", - "value": { - "content": { - "assignees": [], - "labels": [ - { - "color": "808080", - "name": "recorded" - } - ], - "number": 1, - "repository": "owner/repo" - }, - "id": "item-1", - "itemType": "ISSUE" - } - }, - "cbdef49cc723": { + "da0f06b573ab": { "name": "projectRowDetailError", - "value": "Failed to update GitHub item" - }, - "d330309fabb3": { - "name": "projectRowDetailError", - "value": "Cannot read properties of null (reading 'ok')" + "value": "Failed to update GitHub item", + "sent": 1 }, "e5673036d45e": { "name": "github.project.updateIssueBySlug#1", @@ -656,6 +691,11 @@ "$rpc": "undefined" } }, + "eff724250cc7": { + "name": "projectRowDetailError", + "value": "inner refused", + "sent": 1 + }, "f12e58847110": { "name": "github.project.updateIssueBySlug#1", "args": [ @@ -734,32 +774,6 @@ } } } - }, - "f871d643501c": { - "name": "projectRowDetailError", - "value": "Connection closed" - }, - "fa333bb6724e": { - "name": "githubProjectTable", - "value": { - "rows": [ - { - "content": { - "assignees": [], - "labels": [ - { - "color": "808080", - "name": "recorded" - } - ], - "number": 1, - "repository": "owner/repo" - }, - "id": "item-1", - "itemType": "ISSUE" - } - ] - } } }, "recording": { @@ -775,7 +789,7 @@ "submit": "9270aeb7d9c6" }, "state": "0c4dced3e005", - "effects": ["c2a271fc5d97"] + "effects": ["7b2465eedefe"] } }, { @@ -788,7 +802,7 @@ "submit": "eb79a9b3682a" }, "state": "0c4dced3e005", - "effects": ["c2a271fc5d97", "f871d643501c", "2cd14f7121a5"] + "effects": ["7b2465eedefe", "4c53511aa5f7", "02839f22d2db"] } }, { @@ -802,11 +816,11 @@ }, "state": "7df10429e862", "effects": [ - "c2a271fc5d97", - "cb9738a42f12", - "fa333bb6724e", - "347cc433c473", - "2cd14f7121a5" + "7b2465eedefe", + "0b09506355e4", + "c2cfc66d5157", + "1c2a67aac7e4", + "02839f22d2db" ] } }, @@ -820,7 +834,7 @@ "submit": "eb79a9b3682a" }, "state": "29f9b15bed7a", - "effects": ["c2a271fc5d97", "2e2da1bbd7ed", "2cd14f7121a5"] + "effects": ["7b2465eedefe", "4c09a53c8150", "02839f22d2db"] } }, { @@ -833,7 +847,7 @@ "submit": "eb79a9b3682a" }, "state": "204a5c5728c2", - "effects": ["c2a271fc5d97", "d330309fabb3", "2cd14f7121a5"] + "effects": ["7b2465eedefe", "a7b76954b136", "02839f22d2db"] } }, { @@ -847,11 +861,11 @@ }, "state": "7df10429e862", "effects": [ - "c2a271fc5d97", - "cb9738a42f12", - "fa333bb6724e", - "347cc433c473", - "2cd14f7121a5" + "7b2465eedefe", + "0b09506355e4", + "c2cfc66d5157", + "1c2a67aac7e4", + "02839f22d2db" ] } }, @@ -865,7 +879,7 @@ "submit": "eb79a9b3682a" }, "state": "c679565dc881", - "effects": ["c2a271fc5d97", "cbdef49cc723", "2cd14f7121a5"] + "effects": ["7b2465eedefe", "da0f06b573ab", "02839f22d2db"] } }, { @@ -878,7 +892,7 @@ "submit": "eb79a9b3682a" }, "state": "32cc1f3ceec8", - "effects": ["c2a271fc5d97", "6fe1c7d73e4d", "2cd14f7121a5"] + "effects": ["7b2465eedefe", "eff724250cc7", "02839f22d2db"] } }, { @@ -891,7 +905,7 @@ "submit": "eb79a9b3682a" }, "state": "2b3c1b95331e", - "effects": ["c2a271fc5d97", "27f506c59cc7", "2cd14f7121a5"] + "effects": ["7b2465eedefe", "0ef970845cc7", "02839f22d2db"] } }, { @@ -904,7 +918,7 @@ "submit": "eb79a9b3682a" }, "state": "3f996c0d0403", - "effects": ["c2a271fc5d97", "057a0b5a420b", "2cd14f7121a5"] + "effects": ["7b2465eedefe", "85f150b2df81", "02839f22d2db"] } }, { @@ -917,7 +931,7 @@ "submit": "eb79a9b3682a" }, "state": "22021a77bba3", - "effects": ["c2a271fc5d97", "6b6431f01d00", "2cd14f7121a5"] + "effects": ["7b2465eedefe", "152580ec9e5a", "02839f22d2db"] } }, { @@ -930,7 +944,7 @@ "submit": "eb79a9b3682a" }, "state": "5ea692508d69", - "effects": ["c2a271fc5d97", "0924615699bf", "2cd14f7121a5"] + "effects": ["7b2465eedefe", "8237b3a567bf", "02839f22d2db"] } }, { @@ -943,7 +957,7 @@ "submit": "eb79a9b3682a" }, "state": "3f996c0d0403", - "effects": ["c2a271fc5d97", "057a0b5a420b", "2cd14f7121a5"] + "effects": ["7b2465eedefe", "85f150b2df81", "02839f22d2db"] } } ] diff --git a/mobile/rpc-foundation/goldens/matrix-relay.credential-rotation-pairing.getendpoints-1.json b/mobile/rpc-foundation/goldens/matrix-relay.credential-rotation-pairing.getendpoints-1.json new file mode 100644 index 00000000000..205f28ffc47 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-relay.credential-rotation-pairing.getendpoints-1.json @@ -0,0 +1,831 @@ +{ + "operation": "relay.credential-rotation", + "family": "relay.credential-rotation", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "651e75383caf1b30c329dec2d5d4f0da5358c410402d03cbb087f39600d7a4d2", + "scenarioSha256": "042d0f9ef57e2a18bf661b79f2f8f92a12125dbc0fc65dd8605f8cd6f7059d10", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "06dee54a3689": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "ZodError", + "message": "[\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [],\n \"message\": \"Invalid input: expected object, received null\"\n }\n]", + "isRpcDeliveryUnknown": false + } + }, + "0acd5ee5dc7c": { + "name": "pairing.getEndpoints#2", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.getEndpoints\",\"params\":{\"installReqId\":\"rotate-VftjjHf-4Lb1-Sdfryl-LA\"}}" + }, + "0f448fcd9d34": { + "name": "pairing.getEndpoints#2", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "installStatus": { + "reqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA", + "result": { + "authorizationMode": "authenticated-direct", + "currentVersion": 4, + "reqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA", + "resumeExpiresAt": 1767830400000, + "v": 1 + }, + "state": "committed", + "v": 1 + }, + "relay": { + "assignmentEpoch": 1, + "cellUrl": "https://cell.example", + "directorUrl": "https://director.example", + "e2eeFraming": 2, + "relayHostId": "relay-host-0001x", + "v": 1 + }, + "v": 1 + } + } + } + }, + "1174361fa42c": { + "outcome": "failed: [\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [],\n \"message\": \"Invalid input: expected object, received null\"\n }\n]", + "pending": true, + "version": 3 + }, + "1ba12f7dc6fe": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "1ca1f62052cd": { + "outcome": "failed: [\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [],\n \"message\": \"Invalid input: expected object, received undefined\"\n }\n]", + "pending": true, + "version": 3 + }, + "1f6b5b2ee817": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA" + } + }, + { + "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 + } + } + }, + "207da1016f62": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "289c8fa743e7": { + "outcome": "failed: refused: outer refused", + "pending": true, + "version": 3 + }, + "3d6748b5e5d2": { + "outcome": "failed: [\n {\n \"code\": \"invalid_value\",\n \"values\": [\n 1\n ],\n \"path\": [\n \"v\"\n ],\n \"message\": \"Invalid input: expected 1\"\n },\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"relay\"\n ],\n \"message\": \"Invalid input: expected object, received undefined\"\n },\n {\n \"code\": \"unrecognized_keys\",\n \"keys\": [\n \"error\"\n ],\n \"path\": [],\n \"message\": \"Unrecognized key: \\\"error\\\"\"\n }\n]", + "pending": true, + "version": 3 + }, + "4877d080e309": { + "name": "pairing.getEndpoints#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.getEndpoints\",\"params\":{\"installReqId\":\"rotate-VftjjHf-4Lb1-Sdfryl-LA\"}}" + }, + "4e3b57d795cb": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "refused: outer refused", + "isRpcDeliveryUnknown": false + } + }, + "675a60981a5e": { + "name": "pairing.provisionRelay#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.provisionRelay\",\"params\":{\"reqId\":\"rotate-VftjjHf-4Lb1-Sdfryl-LA\",\"newResumeTokenHash\":\"yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU\",\"expectedCurrentHash\":\"r_9byaBlTZTXS3aLLlWTKwss-nmx4vGRrjKskxWyP30\"}}" + }, + "6cfdd8ca783a": { + "outcome": "failed: method_not_found: Unknown method", + "pending": true, + "version": 3 + }, + "7d18aba92a1d": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "8125976183d4": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "8336e309abb8": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "installStatus": { + "reqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA", + "state": "not-found", + "v": 1 + }, + "relay": { + "assignmentEpoch": 1, + "cellUrl": "https://cell.example", + "directorUrl": "https://director.example", + "e2eeFraming": 2, + "relayHostId": "relay-host-0001x", + "v": 1 + }, + "v": 1 + } + } + } + }, + "85b38f117802": { + "name": "bundle-written", + "value": { + "grace": { + "$rpc": "null" + }, + "pending": true, + "version": 3 + }, + "sent": 0 + }, + "8a952a24a43b": { + "outcome": "failed: ", + "pending": true, + "version": 3 + }, + "8cfbee11e6cb": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "ZodError", + "message": "[\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [],\n \"message\": \"Invalid input: expected object, received undefined\"\n }\n]", + "isRpcDeliveryUnknown": false + } + }, + "9ade8126917f": { + "name": "pairing.provisionRelay#1", + "args": [ + { + "name": "method", + "value": "pairing.provisionRelay" + }, + { + "name": "params", + "value": { + "expectedCurrentHash": "r_9byaBlTZTXS3aLLlWTKwss-nmx4vGRrjKskxWyP30", + "newResumeTokenHash": "yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU", + "reqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "authorizationMode": "authenticated-direct", + "currentVersion": 4, + "reqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA", + "resumeExpiresAt": 1767830400000, + "v": 1 + } + } + } + }, + "9ca87aa167ba": { + "outcome": "failed: [\n {\n \"code\": \"invalid_value\",\n \"values\": [\n 1\n ],\n \"path\": [\n \"v\"\n ],\n \"message\": \"Invalid input: expected 1\"\n },\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"relay\"\n ],\n \"message\": \"Invalid input: expected object, received undefined\"\n },\n {\n \"code\": \"unrecognized_keys\",\n \"keys\": [\n \"ok\",\n \"error\"\n ],\n \"path\": [],\n \"message\": \"Unrecognized keys: \\\"ok\\\", \\\"error\\\"\"\n }\n]", + "pending": true, + "version": 3 + }, + "a33e069666af": { + "outcome": "failed: transport failure", + "pending": true, + "version": 3 + }, + "a70a2b66080c": { + "outcome": "failed: refused: ", + "pending": true, + "version": 3 + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "c343ba927b6d": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "c3df301b7508": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA" + } + }, + { + "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 + } + }, + "d56bfdbce702": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "refused: ", + "isRpcDeliveryUnknown": false + } + }, + "d5feeb4ff8d9": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "d6e7487f3275": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "ZodError", + "message": "[\n {\n \"code\": \"invalid_value\",\n \"values\": [\n 1\n ],\n \"path\": [\n \"v\"\n ],\n \"message\": \"Invalid input: expected 1\"\n },\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"relay\"\n ],\n \"message\": \"Invalid input: expected object, received undefined\"\n },\n {\n \"code\": \"unrecognized_keys\",\n \"keys\": [\n \"ok\",\n \"error\"\n ],\n \"path\": [],\n \"message\": \"Unrecognized keys: \\\"ok\\\", \\\"error\\\"\"\n }\n]", + "isRpcDeliveryUnknown": false + } + }, + "db9eecca46e6": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "eee85d194a6b": { + "name": "bundle-written", + "value": { + "grace": { + "$rpc": "null" + }, + "pending": false, + "version": 4 + }, + "sent": 3 + }, + "f2c843a9b548": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "bundle": { + "current": { + "expiresAt": 1767830400000, + "hash": "yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU", + "token": "PF6BtAxexo4Eo0Bsl9Y8-9xTrog3GhJRIbWVYUPA7i0", + "version": 4 + }, + "deviceToken": "device-token-1", + "grace": { + "$rpc": "undefined" + }, + "hostId": "host-1", + "pending": { + "$rpc": "undefined" + }, + "v": 1 + }, + "relay": { + "assignmentEpoch": 1, + "cellUrl": "https://cell.example", + "directorUrl": "https://director.example", + "e2eeFraming": 2, + "relayHostId": "relay-host-0001x", + "v": 1 + } + } + }, + "f4f341e9c757": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "ZodError", + "message": "[\n {\n \"code\": \"invalid_value\",\n \"values\": [\n 1\n ],\n \"path\": [\n \"v\"\n ],\n \"message\": \"Invalid input: expected 1\"\n },\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"relay\"\n ],\n \"message\": \"Invalid input: expected object, received undefined\"\n },\n {\n \"code\": \"unrecognized_keys\",\n \"keys\": [\n \"error\"\n ],\n \"path\": [],\n \"message\": \"Unrecognized key: \\\"error\\\"\"\n }\n]", + "isRpcDeliveryUnknown": false + } + }, + "f624ac81d963": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "method_not_found: Unknown method", + "isRpcDeliveryUnknown": false + } + }, + "fa0f50329835": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA" + } + }, + { + "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 + } + } + } + }, + "fdf764b375ae": { + "outcome": { + "relayHostId": "relay-host-0001x", + "version": 4 + }, + "pending": false, + "version": 4 + } + }, + "recording": { + "scenario": "matrix-relay.credential-rotation-pairing.getendpoints-1", + "checkpoints": [ + { + "id": "relay-rotation-installs-and-commits.normal:credential-rotated", + "observation": { + "sender": ["8336e309abb8", "9ade8126917f", "0f448fcd9d34"], + "payloads": ["4877d080e309", "675a60981a5e", "0acd5ee5dc7c"], + "settlements": { + "rotate": "f2c843a9b548" + }, + "state": "fdf764b375ae", + "effects": ["85b38f117802", "eee85d194a6b"] + } + }, + { + "id": "relay-rotation-installs-and-commits.result-absent:credential-rotated", + "observation": { + "sender": ["1ba12f7dc6fe"], + "payloads": ["4877d080e309"], + "settlements": { + "rotate": "8cfbee11e6cb" + }, + "state": "1ca1f62052cd", + "effects": ["85b38f117802"] + } + }, + { + "id": "relay-rotation-installs-and-commits.result-null:credential-rotated", + "observation": { + "sender": ["c3df301b7508"], + "payloads": ["4877d080e309"], + "settlements": { + "rotate": "06dee54a3689" + }, + "state": "1174361fa42c", + "effects": ["85b38f117802"] + } + }, + { + "id": "relay-rotation-installs-and-commits.inner-ok-missing:credential-rotated", + "observation": { + "sender": ["207da1016f62"], + "payloads": ["4877d080e309"], + "settlements": { + "rotate": "f4f341e9c757" + }, + "state": "3d6748b5e5d2", + "effects": ["85b38f117802"] + } + }, + { + "id": "relay-rotation-installs-and-commits.inner-false-string-error:credential-rotated", + "observation": { + "sender": ["8125976183d4"], + "payloads": ["4877d080e309"], + "settlements": { + "rotate": "d6e7487f3275" + }, + "state": "9ca87aa167ba", + "effects": ["85b38f117802"] + } + }, + { + "id": "relay-rotation-installs-and-commits.inner-false-object-error:credential-rotated", + "observation": { + "sender": ["fa0f50329835"], + "payloads": ["4877d080e309"], + "settlements": { + "rotate": "d6e7487f3275" + }, + "state": "9ca87aa167ba", + "effects": ["85b38f117802"] + } + }, + { + "id": "relay-rotation-installs-and-commits.outer-refused:credential-rotated", + "observation": { + "sender": ["d5feeb4ff8d9"], + "payloads": ["4877d080e309"], + "settlements": { + "rotate": "4e3b57d795cb" + }, + "state": "289c8fa743e7", + "effects": ["85b38f117802"] + } + }, + { + "id": "relay-rotation-installs-and-commits.outer-refused-no-message:credential-rotated", + "observation": { + "sender": ["c343ba927b6d"], + "payloads": ["4877d080e309"], + "settlements": { + "rotate": "d56bfdbce702" + }, + "state": "a70a2b66080c", + "effects": ["85b38f117802"] + } + }, + { + "id": "relay-rotation-installs-and-commits.method-not-found:credential-rotated", + "observation": { + "sender": ["1f6b5b2ee817"], + "payloads": ["4877d080e309"], + "settlements": { + "rotate": "f624ac81d963" + }, + "state": "6cfdd8ca783a", + "effects": ["85b38f117802"] + } + }, + { + "id": "relay-rotation-installs-and-commits.transport-rejection:credential-rotated", + "observation": { + "sender": ["db9eecca46e6"], + "payloads": ["4877d080e309"], + "settlements": { + "rotate": "a947768bc0ed" + }, + "state": "a33e069666af", + "effects": ["85b38f117802"] + } + }, + { + "id": "relay-rotation-installs-and-commits.transport-rejection-no-message:credential-rotated", + "observation": { + "sender": ["7d18aba92a1d"], + "payloads": ["4877d080e309"], + "settlements": { + "rotate": "c7584e82c72f" + }, + "state": "8a952a24a43b", + "effects": ["85b38f117802"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-relay.credential-rotation-pairing.getendpoints-2.json b/mobile/rpc-foundation/goldens/matrix-relay.credential-rotation-pairing.getendpoints-2.json new file mode 100644 index 00000000000..03ab6f0b36e --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-relay.credential-rotation-pairing.getendpoints-2.json @@ -0,0 +1,831 @@ +{ + "operation": "relay.credential-rotation", + "family": "relay.credential-rotation", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "651e75383caf1b30c329dec2d5d4f0da5358c410402d03cbb087f39600d7a4d2", + "scenarioSha256": "530aa1f2ddc6fce10d485c8a160ae3e695250b2e80e1e7fc3e8dacb9f5117347", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "06dee54a3689": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "ZodError", + "message": "[\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [],\n \"message\": \"Invalid input: expected object, received null\"\n }\n]", + "isRpcDeliveryUnknown": false + } + }, + "079a33443470": { + "name": "pairing.getEndpoints#2", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA" + } + }, + { + "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 + } + } + } + }, + "0994327510d4": { + "name": "pairing.getEndpoints#2", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "0acd5ee5dc7c": { + "name": "pairing.getEndpoints#2", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.getEndpoints\",\"params\":{\"installReqId\":\"rotate-VftjjHf-4Lb1-Sdfryl-LA\"}}" + }, + "0f448fcd9d34": { + "name": "pairing.getEndpoints#2", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "installStatus": { + "reqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA", + "result": { + "authorizationMode": "authenticated-direct", + "currentVersion": 4, + "reqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA", + "resumeExpiresAt": 1767830400000, + "v": 1 + }, + "state": "committed", + "v": 1 + }, + "relay": { + "assignmentEpoch": 1, + "cellUrl": "https://cell.example", + "directorUrl": "https://director.example", + "e2eeFraming": 2, + "relayHostId": "relay-host-0001x", + "v": 1 + }, + "v": 1 + } + } + } + }, + "1174361fa42c": { + "outcome": "failed: [\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [],\n \"message\": \"Invalid input: expected object, received null\"\n }\n]", + "pending": true, + "version": 3 + }, + "19afd695caf8": { + "name": "pairing.getEndpoints#2", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-3", + "ok": false + } + } + }, + "1ca1f62052cd": { + "outcome": "failed: [\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [],\n \"message\": \"Invalid input: expected object, received undefined\"\n }\n]", + "pending": true, + "version": 3 + }, + "289c8fa743e7": { + "outcome": "failed: refused: outer refused", + "pending": true, + "version": 3 + }, + "3d6748b5e5d2": { + "outcome": "failed: [\n {\n \"code\": \"invalid_value\",\n \"values\": [\n 1\n ],\n \"path\": [\n \"v\"\n ],\n \"message\": \"Invalid input: expected 1\"\n },\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"relay\"\n ],\n \"message\": \"Invalid input: expected object, received undefined\"\n },\n {\n \"code\": \"unrecognized_keys\",\n \"keys\": [\n \"error\"\n ],\n \"path\": [],\n \"message\": \"Unrecognized key: \\\"error\\\"\"\n }\n]", + "pending": true, + "version": 3 + }, + "4877d080e309": { + "name": "pairing.getEndpoints#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.getEndpoints\",\"params\":{\"installReqId\":\"rotate-VftjjHf-4Lb1-Sdfryl-LA\"}}" + }, + "4c1952cbb792": { + "name": "pairing.getEndpoints#2", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "4e3b57d795cb": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "refused: outer refused", + "isRpcDeliveryUnknown": false + } + }, + "675a60981a5e": { + "name": "pairing.provisionRelay#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.provisionRelay\",\"params\":{\"reqId\":\"rotate-VftjjHf-4Lb1-Sdfryl-LA\",\"newResumeTokenHash\":\"yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU\",\"expectedCurrentHash\":\"r_9byaBlTZTXS3aLLlWTKwss-nmx4vGRrjKskxWyP30\"}}" + }, + "6ab9ae10c756": { + "name": "pairing.getEndpoints#2", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-3", + "ok": false + } + } + }, + "6cfdd8ca783a": { + "outcome": "failed: method_not_found: Unknown method", + "pending": true, + "version": 3 + }, + "8336e309abb8": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "installStatus": { + "reqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA", + "state": "not-found", + "v": 1 + }, + "relay": { + "assignmentEpoch": 1, + "cellUrl": "https://cell.example", + "directorUrl": "https://director.example", + "e2eeFraming": 2, + "relayHostId": "relay-host-0001x", + "v": 1 + }, + "v": 1 + } + } + } + }, + "85b38f117802": { + "name": "bundle-written", + "value": { + "grace": { + "$rpc": "null" + }, + "pending": true, + "version": 3 + }, + "sent": 0 + }, + "8a952a24a43b": { + "outcome": "failed: ", + "pending": true, + "version": 3 + }, + "8cfbee11e6cb": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "ZodError", + "message": "[\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [],\n \"message\": \"Invalid input: expected object, received undefined\"\n }\n]", + "isRpcDeliveryUnknown": false + } + }, + "9ade8126917f": { + "name": "pairing.provisionRelay#1", + "args": [ + { + "name": "method", + "value": "pairing.provisionRelay" + }, + { + "name": "params", + "value": { + "expectedCurrentHash": "r_9byaBlTZTXS3aLLlWTKwss-nmx4vGRrjKskxWyP30", + "newResumeTokenHash": "yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU", + "reqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "authorizationMode": "authenticated-direct", + "currentVersion": 4, + "reqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA", + "resumeExpiresAt": 1767830400000, + "v": 1 + } + } + } + }, + "9ca87aa167ba": { + "outcome": "failed: [\n {\n \"code\": \"invalid_value\",\n \"values\": [\n 1\n ],\n \"path\": [\n \"v\"\n ],\n \"message\": \"Invalid input: expected 1\"\n },\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"relay\"\n ],\n \"message\": \"Invalid input: expected object, received undefined\"\n },\n {\n \"code\": \"unrecognized_keys\",\n \"keys\": [\n \"ok\",\n \"error\"\n ],\n \"path\": [],\n \"message\": \"Unrecognized keys: \\\"ok\\\", \\\"error\\\"\"\n }\n]", + "pending": true, + "version": 3 + }, + "a33e069666af": { + "outcome": "failed: transport failure", + "pending": true, + "version": 3 + }, + "a70a2b66080c": { + "outcome": "failed: refused: ", + "pending": true, + "version": 3 + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "bb37bb9fb653": { + "name": "pairing.getEndpoints#2", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA" + } + }, + { + "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 + } + } + }, + "c7584e82c72f": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + }, + "cacd06c33d83": { + "name": "pairing.getEndpoints#2", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "d56bfdbce702": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "refused: ", + "isRpcDeliveryUnknown": false + } + }, + "d6e7487f3275": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "ZodError", + "message": "[\n {\n \"code\": \"invalid_value\",\n \"values\": [\n 1\n ],\n \"path\": [\n \"v\"\n ],\n \"message\": \"Invalid input: expected 1\"\n },\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"relay\"\n ],\n \"message\": \"Invalid input: expected object, received undefined\"\n },\n {\n \"code\": \"unrecognized_keys\",\n \"keys\": [\n \"ok\",\n \"error\"\n ],\n \"path\": [],\n \"message\": \"Unrecognized keys: \\\"ok\\\", \\\"error\\\"\"\n }\n]", + "isRpcDeliveryUnknown": false + } + }, + "da555bb21d0b": { + "name": "pairing.getEndpoints#2", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true + } + } + }, + "e5d3d5384555": { + "name": "pairing.getEndpoints#2", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "ec57a4c29769": { + "name": "pairing.getEndpoints#2", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "eee85d194a6b": { + "name": "bundle-written", + "value": { + "grace": { + "$rpc": "null" + }, + "pending": false, + "version": 4 + }, + "sent": 3 + }, + "f2c843a9b548": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "bundle": { + "current": { + "expiresAt": 1767830400000, + "hash": "yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU", + "token": "PF6BtAxexo4Eo0Bsl9Y8-9xTrog3GhJRIbWVYUPA7i0", + "version": 4 + }, + "deviceToken": "device-token-1", + "grace": { + "$rpc": "undefined" + }, + "hostId": "host-1", + "pending": { + "$rpc": "undefined" + }, + "v": 1 + }, + "relay": { + "assignmentEpoch": 1, + "cellUrl": "https://cell.example", + "directorUrl": "https://director.example", + "e2eeFraming": 2, + "relayHostId": "relay-host-0001x", + "v": 1 + } + } + }, + "f4f341e9c757": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "ZodError", + "message": "[\n {\n \"code\": \"invalid_value\",\n \"values\": [\n 1\n ],\n \"path\": [\n \"v\"\n ],\n \"message\": \"Invalid input: expected 1\"\n },\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"relay\"\n ],\n \"message\": \"Invalid input: expected object, received undefined\"\n },\n {\n \"code\": \"unrecognized_keys\",\n \"keys\": [\n \"error\"\n ],\n \"path\": [],\n \"message\": \"Unrecognized key: \\\"error\\\"\"\n }\n]", + "isRpcDeliveryUnknown": false + } + }, + "f624ac81d963": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "method_not_found: Unknown method", + "isRpcDeliveryUnknown": false + } + }, + "fdf764b375ae": { + "outcome": { + "relayHostId": "relay-host-0001x", + "version": 4 + }, + "pending": false, + "version": 4 + } + }, + "recording": { + "scenario": "matrix-relay.credential-rotation-pairing.getendpoints-2", + "checkpoints": [ + { + "id": "relay-rotation-installs-and-commits.normal:credential-rotated", + "observation": { + "sender": ["8336e309abb8", "9ade8126917f", "0f448fcd9d34"], + "payloads": ["4877d080e309", "675a60981a5e", "0acd5ee5dc7c"], + "settlements": { + "rotate": "f2c843a9b548" + }, + "state": "fdf764b375ae", + "effects": ["85b38f117802", "eee85d194a6b"] + } + }, + { + "id": "relay-rotation-installs-and-commits.result-absent:credential-rotated", + "observation": { + "sender": ["8336e309abb8", "9ade8126917f", "da555bb21d0b"], + "payloads": ["4877d080e309", "675a60981a5e", "0acd5ee5dc7c"], + "settlements": { + "rotate": "8cfbee11e6cb" + }, + "state": "1ca1f62052cd", + "effects": ["85b38f117802"] + } + }, + { + "id": "relay-rotation-installs-and-commits.result-null:credential-rotated", + "observation": { + "sender": ["8336e309abb8", "9ade8126917f", "4c1952cbb792"], + "payloads": ["4877d080e309", "675a60981a5e", "0acd5ee5dc7c"], + "settlements": { + "rotate": "06dee54a3689" + }, + "state": "1174361fa42c", + "effects": ["85b38f117802"] + } + }, + { + "id": "relay-rotation-installs-and-commits.inner-ok-missing:credential-rotated", + "observation": { + "sender": ["8336e309abb8", "9ade8126917f", "ec57a4c29769"], + "payloads": ["4877d080e309", "675a60981a5e", "0acd5ee5dc7c"], + "settlements": { + "rotate": "f4f341e9c757" + }, + "state": "3d6748b5e5d2", + "effects": ["85b38f117802"] + } + }, + { + "id": "relay-rotation-installs-and-commits.inner-false-string-error:credential-rotated", + "observation": { + "sender": ["8336e309abb8", "9ade8126917f", "cacd06c33d83"], + "payloads": ["4877d080e309", "675a60981a5e", "0acd5ee5dc7c"], + "settlements": { + "rotate": "d6e7487f3275" + }, + "state": "9ca87aa167ba", + "effects": ["85b38f117802"] + } + }, + { + "id": "relay-rotation-installs-and-commits.inner-false-object-error:credential-rotated", + "observation": { + "sender": ["8336e309abb8", "9ade8126917f", "079a33443470"], + "payloads": ["4877d080e309", "675a60981a5e", "0acd5ee5dc7c"], + "settlements": { + "rotate": "d6e7487f3275" + }, + "state": "9ca87aa167ba", + "effects": ["85b38f117802"] + } + }, + { + "id": "relay-rotation-installs-and-commits.outer-refused:credential-rotated", + "observation": { + "sender": ["8336e309abb8", "9ade8126917f", "6ab9ae10c756"], + "payloads": ["4877d080e309", "675a60981a5e", "0acd5ee5dc7c"], + "settlements": { + "rotate": "4e3b57d795cb" + }, + "state": "289c8fa743e7", + "effects": ["85b38f117802"] + } + }, + { + "id": "relay-rotation-installs-and-commits.outer-refused-no-message:credential-rotated", + "observation": { + "sender": ["8336e309abb8", "9ade8126917f", "19afd695caf8"], + "payloads": ["4877d080e309", "675a60981a5e", "0acd5ee5dc7c"], + "settlements": { + "rotate": "d56bfdbce702" + }, + "state": "a70a2b66080c", + "effects": ["85b38f117802"] + } + }, + { + "id": "relay-rotation-installs-and-commits.method-not-found:credential-rotated", + "observation": { + "sender": ["8336e309abb8", "9ade8126917f", "bb37bb9fb653"], + "payloads": ["4877d080e309", "675a60981a5e", "0acd5ee5dc7c"], + "settlements": { + "rotate": "f624ac81d963" + }, + "state": "6cfdd8ca783a", + "effects": ["85b38f117802"] + } + }, + { + "id": "relay-rotation-installs-and-commits.transport-rejection:credential-rotated", + "observation": { + "sender": ["8336e309abb8", "9ade8126917f", "0994327510d4"], + "payloads": ["4877d080e309", "675a60981a5e", "0acd5ee5dc7c"], + "settlements": { + "rotate": "a947768bc0ed" + }, + "state": "a33e069666af", + "effects": ["85b38f117802"] + } + }, + { + "id": "relay-rotation-installs-and-commits.transport-rejection-no-message:credential-rotated", + "observation": { + "sender": ["8336e309abb8", "9ade8126917f", "e5d3d5384555"], + "payloads": ["4877d080e309", "675a60981a5e", "0acd5ee5dc7c"], + "settlements": { + "rotate": "c7584e82c72f" + }, + "state": "8a952a24a43b", + "effects": ["85b38f117802"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-relay.credential-rotation-pairing.provisionrelay-1.json b/mobile/rpc-foundation/goldens/matrix-relay.credential-rotation-pairing.provisionrelay-1.json new file mode 100644 index 00000000000..8617d686196 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-relay.credential-rotation-pairing.provisionrelay-1.json @@ -0,0 +1,851 @@ +{ + "operation": "relay.credential-rotation", + "family": "relay.credential-rotation", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "651e75383caf1b30c329dec2d5d4f0da5358c410402d03cbb087f39600d7a4d2", + "scenarioSha256": "18b1855f354c23cd5bb7af0db698f0a23d28208c3c6b7347f667bf6cd3ed612f", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "06dee54a3689": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "ZodError", + "message": "[\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [],\n \"message\": \"Invalid input: expected object, received null\"\n }\n]", + "isRpcDeliveryUnknown": false + } + }, + "0acd5ee5dc7c": { + "name": "pairing.getEndpoints#2", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.getEndpoints\",\"params\":{\"installReqId\":\"rotate-VftjjHf-4Lb1-Sdfryl-LA\"}}" + }, + "0f448fcd9d34": { + "name": "pairing.getEndpoints#2", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "installStatus": { + "reqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA", + "result": { + "authorizationMode": "authenticated-direct", + "currentVersion": 4, + "reqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA", + "resumeExpiresAt": 1767830400000, + "v": 1 + }, + "state": "committed", + "v": 1 + }, + "relay": { + "assignmentEpoch": 1, + "cellUrl": "https://cell.example", + "directorUrl": "https://director.example", + "e2eeFraming": 2, + "relayHostId": "relay-host-0001x", + "v": 1 + }, + "v": 1 + } + } + } + }, + "1174361fa42c": { + "outcome": "failed: [\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [],\n \"message\": \"Invalid input: expected object, received null\"\n }\n]", + "pending": true, + "version": 3 + }, + "1748121fa6cb": { + "outcome": "failed: [\n {\n \"code\": \"invalid_value\",\n \"values\": [\n 1\n ],\n \"path\": [\n \"v\"\n ],\n \"message\": \"Invalid input: expected 1\"\n },\n {\n \"expected\": \"string\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"reqId\"\n ],\n \"message\": \"Invalid input: expected string, received undefined\"\n },\n {\n \"code\": \"invalid_value\",\n \"values\": [\n \"relay-basis\",\n \"authenticated-direct\"\n ],\n \"path\": [\n \"authorizationMode\"\n ],\n \"message\": \"Invalid option: expected one of \\\"relay-basis\\\"|\\\"authenticated-direct\\\"\"\n },\n {\n \"expected\": \"number\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"currentVersion\"\n ],\n \"message\": \"Invalid input: expected number, received undefined\"\n },\n {\n \"expected\": \"number\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"resumeExpiresAt\"\n ],\n \"message\": \"Invalid input: expected number, received undefined\"\n },\n {\n \"code\": \"unrecognized_keys\",\n \"keys\": [\n \"ok\",\n \"error\"\n ],\n \"path\": [],\n \"message\": \"Unrecognized keys: \\\"ok\\\", \\\"error\\\"\"\n }\n]", + "pending": true, + "version": 3 + }, + "1ca1f62052cd": { + "outcome": "failed: [\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [],\n \"message\": \"Invalid input: expected object, received undefined\"\n }\n]", + "pending": true, + "version": 3 + }, + "289c8fa743e7": { + "outcome": "failed: refused: outer refused", + "pending": true, + "version": 3 + }, + "3f50a99cf01c": { + "name": "pairing.provisionRelay#1", + "args": [ + { + "name": "method", + "value": "pairing.provisionRelay" + }, + { + "name": "params", + "value": { + "expectedCurrentHash": "r_9byaBlTZTXS3aLLlWTKwss-nmx4vGRrjKskxWyP30", + "newResumeTokenHash": "yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU", + "reqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "4877d080e309": { + "name": "pairing.getEndpoints#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.getEndpoints\",\"params\":{\"installReqId\":\"rotate-VftjjHf-4Lb1-Sdfryl-LA\"}}" + }, + "4e3b57d795cb": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "refused: outer refused", + "isRpcDeliveryUnknown": false + } + }, + "5099f8914209": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "ZodError", + "message": "[\n {\n \"code\": \"invalid_value\",\n \"values\": [\n 1\n ],\n \"path\": [\n \"v\"\n ],\n \"message\": \"Invalid input: expected 1\"\n },\n {\n \"expected\": \"string\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"reqId\"\n ],\n \"message\": \"Invalid input: expected string, received undefined\"\n },\n {\n \"code\": \"invalid_value\",\n \"values\": [\n \"relay-basis\",\n \"authenticated-direct\"\n ],\n \"path\": [\n \"authorizationMode\"\n ],\n \"message\": \"Invalid option: expected one of \\\"relay-basis\\\"|\\\"authenticated-direct\\\"\"\n },\n {\n \"expected\": \"number\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"currentVersion\"\n ],\n \"message\": \"Invalid input: expected number, received undefined\"\n },\n {\n \"expected\": \"number\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"resumeExpiresAt\"\n ],\n \"message\": \"Invalid input: expected number, received undefined\"\n },\n {\n \"code\": \"unrecognized_keys\",\n \"keys\": [\n \"ok\",\n \"error\"\n ],\n \"path\": [],\n \"message\": \"Unrecognized keys: \\\"ok\\\", \\\"error\\\"\"\n }\n]", + "isRpcDeliveryUnknown": false + } + }, + "538f8ffc076c": { + "name": "pairing.provisionRelay#1", + "args": [ + { + "name": "method", + "value": "pairing.provisionRelay" + }, + { + "name": "params", + "value": { + "expectedCurrentHash": "r_9byaBlTZTXS3aLLlWTKwss-nmx4vGRrjKskxWyP30", + "newResumeTokenHash": "yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU", + "reqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "675a60981a5e": { + "name": "pairing.provisionRelay#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.provisionRelay\",\"params\":{\"reqId\":\"rotate-VftjjHf-4Lb1-Sdfryl-LA\",\"newResumeTokenHash\":\"yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU\",\"expectedCurrentHash\":\"r_9byaBlTZTXS3aLLlWTKwss-nmx4vGRrjKskxWyP30\"}}" + }, + "6cfdd8ca783a": { + "outcome": "failed: method_not_found: Unknown method", + "pending": true, + "version": 3 + }, + "70f7b5793181": { + "name": "pairing.provisionRelay#1", + "args": [ + { + "name": "method", + "value": "pairing.provisionRelay" + }, + { + "name": "params", + "value": { + "expectedCurrentHash": "r_9byaBlTZTXS3aLLlWTKwss-nmx4vGRrjKskxWyP30", + "newResumeTokenHash": "yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU", + "reqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "7166e9997c47": { + "name": "pairing.provisionRelay#1", + "args": [ + { + "name": "method", + "value": "pairing.provisionRelay" + }, + { + "name": "params", + "value": { + "expectedCurrentHash": "r_9byaBlTZTXS3aLLlWTKwss-nmx4vGRrjKskxWyP30", + "newResumeTokenHash": "yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU", + "reqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "8336e309abb8": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "installStatus": { + "reqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA", + "state": "not-found", + "v": 1 + }, + "relay": { + "assignmentEpoch": 1, + "cellUrl": "https://cell.example", + "directorUrl": "https://director.example", + "e2eeFraming": 2, + "relayHostId": "relay-host-0001x", + "v": 1 + }, + "v": 1 + } + } + } + }, + "854b508a4dce": { + "name": "pairing.provisionRelay#1", + "args": [ + { + "name": "method", + "value": "pairing.provisionRelay" + }, + { + "name": "params", + "value": { + "expectedCurrentHash": "r_9byaBlTZTXS3aLLlWTKwss-nmx4vGRrjKskxWyP30", + "newResumeTokenHash": "yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU", + "reqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "85b38f117802": { + "name": "bundle-written", + "value": { + "grace": { + "$rpc": "null" + }, + "pending": true, + "version": 3 + }, + "sent": 0 + }, + "8a952a24a43b": { + "outcome": "failed: ", + "pending": true, + "version": 3 + }, + "8cfbee11e6cb": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "ZodError", + "message": "[\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [],\n \"message\": \"Invalid input: expected object, received undefined\"\n }\n]", + "isRpcDeliveryUnknown": false + } + }, + "8e35765f186e": { + "name": "pairing.provisionRelay#1", + "args": [ + { + "name": "method", + "value": "pairing.provisionRelay" + }, + { + "name": "params", + "value": { + "expectedCurrentHash": "r_9byaBlTZTXS3aLLlWTKwss-nmx4vGRrjKskxWyP30", + "newResumeTokenHash": "yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU", + "reqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "9ade8126917f": { + "name": "pairing.provisionRelay#1", + "args": [ + { + "name": "method", + "value": "pairing.provisionRelay" + }, + { + "name": "params", + "value": { + "expectedCurrentHash": "r_9byaBlTZTXS3aLLlWTKwss-nmx4vGRrjKskxWyP30", + "newResumeTokenHash": "yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU", + "reqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "authorizationMode": "authenticated-direct", + "currentVersion": 4, + "reqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA", + "resumeExpiresAt": 1767830400000, + "v": 1 + } + } + } + }, + "a33e069666af": { + "outcome": "failed: transport failure", + "pending": true, + "version": 3 + }, + "a70a2b66080c": { + "outcome": "failed: refused: ", + "pending": true, + "version": 3 + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "bc4aa6dd08a2": { + "name": "pairing.provisionRelay#1", + "args": [ + { + "name": "method", + "value": "pairing.provisionRelay" + }, + { + "name": "params", + "value": { + "expectedCurrentHash": "r_9byaBlTZTXS3aLLlWTKwss-nmx4vGRrjKskxWyP30", + "newResumeTokenHash": "yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU", + "reqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "c7584e82c72f": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + }, + "d56bfdbce702": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "refused: ", + "isRpcDeliveryUnknown": false + } + }, + "d76c653d35ca": { + "name": "pairing.provisionRelay#1", + "args": [ + { + "name": "method", + "value": "pairing.provisionRelay" + }, + { + "name": "params", + "value": { + "expectedCurrentHash": "r_9byaBlTZTXS3aLLlWTKwss-nmx4vGRrjKskxWyP30", + "newResumeTokenHash": "yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU", + "reqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "db2a43cbdbc3": { + "name": "pairing.provisionRelay#1", + "args": [ + { + "name": "method", + "value": "pairing.provisionRelay" + }, + { + "name": "params", + "value": { + "expectedCurrentHash": "r_9byaBlTZTXS3aLLlWTKwss-nmx4vGRrjKskxWyP30", + "newResumeTokenHash": "yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU", + "reqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "eee85d194a6b": { + "name": "bundle-written", + "value": { + "grace": { + "$rpc": "null" + }, + "pending": false, + "version": 4 + }, + "sent": 3 + }, + "f19ff6c94d68": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "ZodError", + "message": "[\n {\n \"code\": \"invalid_value\",\n \"values\": [\n 1\n ],\n \"path\": [\n \"v\"\n ],\n \"message\": \"Invalid input: expected 1\"\n },\n {\n \"expected\": \"string\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"reqId\"\n ],\n \"message\": \"Invalid input: expected string, received undefined\"\n },\n {\n \"code\": \"invalid_value\",\n \"values\": [\n \"relay-basis\",\n \"authenticated-direct\"\n ],\n \"path\": [\n \"authorizationMode\"\n ],\n \"message\": \"Invalid option: expected one of \\\"relay-basis\\\"|\\\"authenticated-direct\\\"\"\n },\n {\n \"expected\": \"number\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"currentVersion\"\n ],\n \"message\": \"Invalid input: expected number, received undefined\"\n },\n {\n \"expected\": \"number\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"resumeExpiresAt\"\n ],\n \"message\": \"Invalid input: expected number, received undefined\"\n },\n {\n \"code\": \"unrecognized_keys\",\n \"keys\": [\n \"error\"\n ],\n \"path\": [],\n \"message\": \"Unrecognized key: \\\"error\\\"\"\n }\n]", + "isRpcDeliveryUnknown": false + } + }, + "f252d71165b4": { + "name": "pairing.provisionRelay#1", + "args": [ + { + "name": "method", + "value": "pairing.provisionRelay" + }, + { + "name": "params", + "value": { + "expectedCurrentHash": "r_9byaBlTZTXS3aLLlWTKwss-nmx4vGRrjKskxWyP30", + "newResumeTokenHash": "yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU", + "reqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "f2c843a9b548": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "bundle": { + "current": { + "expiresAt": 1767830400000, + "hash": "yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU", + "token": "PF6BtAxexo4Eo0Bsl9Y8-9xTrog3GhJRIbWVYUPA7i0", + "version": 4 + }, + "deviceToken": "device-token-1", + "grace": { + "$rpc": "undefined" + }, + "hostId": "host-1", + "pending": { + "$rpc": "undefined" + }, + "v": 1 + }, + "relay": { + "assignmentEpoch": 1, + "cellUrl": "https://cell.example", + "directorUrl": "https://director.example", + "e2eeFraming": 2, + "relayHostId": "relay-host-0001x", + "v": 1 + } + } + }, + "f46324b14756": { + "outcome": "failed: [\n {\n \"code\": \"invalid_value\",\n \"values\": [\n 1\n ],\n \"path\": [\n \"v\"\n ],\n \"message\": \"Invalid input: expected 1\"\n },\n {\n \"expected\": \"string\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"reqId\"\n ],\n \"message\": \"Invalid input: expected string, received undefined\"\n },\n {\n \"code\": \"invalid_value\",\n \"values\": [\n \"relay-basis\",\n \"authenticated-direct\"\n ],\n \"path\": [\n \"authorizationMode\"\n ],\n \"message\": \"Invalid option: expected one of \\\"relay-basis\\\"|\\\"authenticated-direct\\\"\"\n },\n {\n \"expected\": \"number\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"currentVersion\"\n ],\n \"message\": \"Invalid input: expected number, received undefined\"\n },\n {\n \"expected\": \"number\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"resumeExpiresAt\"\n ],\n \"message\": \"Invalid input: expected number, received undefined\"\n },\n {\n \"code\": \"unrecognized_keys\",\n \"keys\": [\n \"error\"\n ],\n \"path\": [],\n \"message\": \"Unrecognized key: \\\"error\\\"\"\n }\n]", + "pending": true, + "version": 3 + }, + "f624ac81d963": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "method_not_found: Unknown method", + "isRpcDeliveryUnknown": false + } + }, + "fdf764b375ae": { + "outcome": { + "relayHostId": "relay-host-0001x", + "version": 4 + }, + "pending": false, + "version": 4 + } + }, + "recording": { + "scenario": "matrix-relay.credential-rotation-pairing.provisionrelay-1", + "checkpoints": [ + { + "id": "relay-rotation-installs-and-commits.normal:credential-rotated", + "observation": { + "sender": ["8336e309abb8", "9ade8126917f", "0f448fcd9d34"], + "payloads": ["4877d080e309", "675a60981a5e", "0acd5ee5dc7c"], + "settlements": { + "rotate": "f2c843a9b548" + }, + "state": "fdf764b375ae", + "effects": ["85b38f117802", "eee85d194a6b"] + } + }, + { + "id": "relay-rotation-installs-and-commits.result-absent:credential-rotated", + "observation": { + "sender": ["8336e309abb8", "d76c653d35ca"], + "payloads": ["4877d080e309", "675a60981a5e"], + "settlements": { + "rotate": "8cfbee11e6cb" + }, + "state": "1ca1f62052cd", + "effects": ["85b38f117802"] + } + }, + { + "id": "relay-rotation-installs-and-commits.result-null:credential-rotated", + "observation": { + "sender": ["8336e309abb8", "db2a43cbdbc3"], + "payloads": ["4877d080e309", "675a60981a5e"], + "settlements": { + "rotate": "06dee54a3689" + }, + "state": "1174361fa42c", + "effects": ["85b38f117802"] + } + }, + { + "id": "relay-rotation-installs-and-commits.inner-ok-missing:credential-rotated", + "observation": { + "sender": ["8336e309abb8", "70f7b5793181"], + "payloads": ["4877d080e309", "675a60981a5e"], + "settlements": { + "rotate": "f19ff6c94d68" + }, + "state": "f46324b14756", + "effects": ["85b38f117802"] + } + }, + { + "id": "relay-rotation-installs-and-commits.inner-false-string-error:credential-rotated", + "observation": { + "sender": ["8336e309abb8", "854b508a4dce"], + "payloads": ["4877d080e309", "675a60981a5e"], + "settlements": { + "rotate": "5099f8914209" + }, + "state": "1748121fa6cb", + "effects": ["85b38f117802"] + } + }, + { + "id": "relay-rotation-installs-and-commits.inner-false-object-error:credential-rotated", + "observation": { + "sender": ["8336e309abb8", "8e35765f186e"], + "payloads": ["4877d080e309", "675a60981a5e"], + "settlements": { + "rotate": "5099f8914209" + }, + "state": "1748121fa6cb", + "effects": ["85b38f117802"] + } + }, + { + "id": "relay-rotation-installs-and-commits.outer-refused:credential-rotated", + "observation": { + "sender": ["8336e309abb8", "bc4aa6dd08a2"], + "payloads": ["4877d080e309", "675a60981a5e"], + "settlements": { + "rotate": "4e3b57d795cb" + }, + "state": "289c8fa743e7", + "effects": ["85b38f117802"] + } + }, + { + "id": "relay-rotation-installs-and-commits.outer-refused-no-message:credential-rotated", + "observation": { + "sender": ["8336e309abb8", "f252d71165b4"], + "payloads": ["4877d080e309", "675a60981a5e"], + "settlements": { + "rotate": "d56bfdbce702" + }, + "state": "a70a2b66080c", + "effects": ["85b38f117802"] + } + }, + { + "id": "relay-rotation-installs-and-commits.method-not-found:credential-rotated", + "observation": { + "sender": ["8336e309abb8", "7166e9997c47"], + "payloads": ["4877d080e309", "675a60981a5e"], + "settlements": { + "rotate": "f624ac81d963" + }, + "state": "6cfdd8ca783a", + "effects": ["85b38f117802"] + } + }, + { + "id": "relay-rotation-installs-and-commits.transport-rejection:credential-rotated", + "observation": { + "sender": ["8336e309abb8", "538f8ffc076c"], + "payloads": ["4877d080e309", "675a60981a5e"], + "settlements": { + "rotate": "a947768bc0ed" + }, + "state": "a33e069666af", + "effects": ["85b38f117802"] + } + }, + { + "id": "relay-rotation-installs-and-commits.transport-rejection-no-message:credential-rotated", + "observation": { + "sender": ["8336e309abb8", "3f50a99cf01c"], + "payloads": ["4877d080e309", "675a60981a5e"], + "settlements": { + "rotate": "c7584e82c72f" + }, + "state": "8a952a24a43b", + "effects": ["85b38f117802"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-relay.direct-upgrade-pairing.getendpoints-1.json b/mobile/rpc-foundation/goldens/matrix-relay.direct-upgrade-pairing.getendpoints-1.json new file mode 100644 index 00000000000..6daa1eb8239 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-relay.direct-upgrade-pairing.getendpoints-1.json @@ -0,0 +1,834 @@ +{ + "operation": "relay.direct-upgrade", + "family": "relay.direct-upgrade", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "651e75383caf1b30c329dec2d5d4f0da5358c410402d03cbb087f39600d7a4d2", + "scenarioSha256": "03355bc2696d02fed125d9f0e24c6c26c8df2f3709c1c5f4412aaf9317cd41d4", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "06dee54a3689": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "ZodError", + "message": "[\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [],\n \"message\": \"Invalid input: expected object, received null\"\n }\n]", + "isRpcDeliveryUnknown": false + } + }, + "0e69ea8bf15f": { + "journal": "present", + "outcome": "failed: " + }, + "157eaa06961f": { + "name": "pairing.getEndpoints#2", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "installStatus": { + "reqId": "install-fixture-1", + "result": { + "authorizationMode": "authenticated-direct", + "currentVersion": 4, + "reqId": "install-fixture-1", + "resumeExpiresAt": 1767830400000, + "v": 1 + }, + "state": "committed", + "v": 1 + }, + "relay": { + "assignmentEpoch": 1, + "cellUrl": "https://cell.example", + "directorUrl": "https://director.example", + "e2eeFraming": 2, + "relayHostId": "relay-host-0001x", + "v": 1 + }, + "v": 1 + } + } + } + }, + "1d7fdb67d4da": { + "name": "pairing.provisionRelay#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.provisionRelay\",\"params\":{\"reqId\":\"install-fixture-1\",\"newResumeTokenHash\":\"7ehR_WuQWkxwOFJdkHfI5jEg4DeVYWImtDuip60LHK4\"}}" + }, + "2b3f0d69e5c0": { + "journal": "present", + "outcome": "failed: [\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [],\n \"message\": \"Invalid input: expected object, received null\"\n }\n]" + }, + "4683b84a57a2": { + "name": "host-saved", + "value": "host-1", + "sent": 3 + }, + "4e3b57d795cb": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "refused: outer refused", + "isRpcDeliveryUnknown": false + } + }, + "541fbb4c1bb0": { + "journal": "present", + "outcome": "failed: refused: outer refused" + }, + "54733e945aef": { + "journal": "present", + "outcome": "failed: [\n {\n \"code\": \"invalid_value\",\n \"values\": [\n 1\n ],\n \"path\": [\n \"v\"\n ],\n \"message\": \"Invalid input: expected 1\"\n },\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"relay\"\n ],\n \"message\": \"Invalid input: expected object, received undefined\"\n },\n {\n \"code\": \"unrecognized_keys\",\n \"keys\": [\n \"error\"\n ],\n \"path\": [],\n \"message\": \"Unrecognized key: \\\"error\\\"\"\n }\n]" + }, + "55af89989a85": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-1" + } + }, + { + "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 + } + } + }, + "590b3311b0c4": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "bundle": { + "current": { + "expiresAt": 1767830400000, + "hash": "7ehR_WuQWkxwOFJdkHfI5jEg4DeVYWImtDuip60LHK4", + "token": "pending00000000000000000000000000000000001x", + "version": 4 + }, + "deviceToken": "device-token-1", + "hostId": "host-1", + "v": 1 + }, + "host": { + "deviceToken": "device-token-1", + "endpoint": "ws://192.168.1.10:8765", + "endpoints": [ + { + "id": "direct-primary", + "kind": "lan", + "url": "ws://192.168.1.10:8765" + }, + { + "id": "relay-primary", + "kind": "relay", + "url": "wss://cell.example/v1/connect/relay-host-0001x" + } + ], + "id": "host-1", + "lastConnected": 1767225600000, + "name": "Fixture host", + "publicKeyB64": "AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8=", + "relay": { + "assignmentEpoch": 1, + "cellUrl": "https://cell.example", + "directorUrl": "https://director.example", + "e2eeFraming": 2, + "relayHostId": "relay-host-0001x", + "v": 1 + }, + "relayHostId": "relay-host-0001x" + } + } + }, + "6c43da669636": { + "journal": { + "$rpc": "null" + }, + "outcome": "declined" + }, + "7583d8b57ef8": { + "name": "pairing.getEndpoints#2", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.getEndpoints\",\"params\":{\"installReqId\":\"install-fixture-1\"}}" + }, + "7d023da12fdb": { + "name": "journal-cleared", + "value": "upgrade", + "sent": 3 + }, + "81230fab3114": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "84a67e5b95a5": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "8cfbee11e6cb": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "ZodError", + "message": "[\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [],\n \"message\": \"Invalid input: expected object, received undefined\"\n }\n]", + "isRpcDeliveryUnknown": false + } + }, + "8ea887e0fc46": { + "name": "journal-cleared", + "value": "upgrade", + "sent": 1 + }, + "8eb22646fb28": { + "journal": "present", + "outcome": "failed: refused: " + }, + "952828fa571a": { + "journal": "present", + "outcome": "failed: [\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [],\n \"message\": \"Invalid input: expected object, received undefined\"\n }\n]" + }, + "9631a7132ab0": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-1" + } + }, + { + "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 + } + } + } + }, + "980bbba0b617": { + "journal": { + "$rpc": "null" + }, + "outcome": "relay-host-0001x" + }, + "a3865c87e54b": { + "name": "pairing.provisionRelay#1", + "args": [ + { + "name": "method", + "value": "pairing.provisionRelay" + }, + { + "name": "params", + "value": { + "newResumeTokenHash": "7ehR_WuQWkxwOFJdkHfI5jEg4DeVYWImtDuip60LHK4", + "reqId": "install-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "authorizationMode": "authenticated-direct", + "currentVersion": 4, + "reqId": "install-fixture-1", + "resumeExpiresAt": 1767830400000, + "v": 1 + } + } + } + }, + "a3dc16ec07e4": { + "journal": "present", + "outcome": "failed: [\n {\n \"code\": \"invalid_value\",\n \"values\": [\n 1\n ],\n \"path\": [\n \"v\"\n ],\n \"message\": \"Invalid input: expected 1\"\n },\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"relay\"\n ],\n \"message\": \"Invalid input: expected object, received undefined\"\n },\n {\n \"code\": \"unrecognized_keys\",\n \"keys\": [\n \"ok\",\n \"error\"\n ],\n \"path\": [],\n \"message\": \"Unrecognized keys: \\\"ok\\\", \\\"error\\\"\"\n }\n]" + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "abe9b3fdea58": { + "journal": "present", + "outcome": "failed: transport failure" + }, + "b991b2c7609f": { + "name": "bundle-written", + "value": { + "version": 4 + }, + "sent": 3 + }, + "ba95b28e3a94": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "installStatus": { + "reqId": "install-fixture-1", + "state": "not-found", + "v": 1 + }, + "relay": { + "assignmentEpoch": 1, + "cellUrl": "https://cell.example", + "directorUrl": "https://director.example", + "e2eeFraming": 2, + "relayHostId": "relay-host-0001x", + "v": 1 + }, + "v": 1 + } + } + } + }, + "beafd16aeb22": { + "name": "pairing.getEndpoints#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.getEndpoints\",\"params\":{\"installReqId\":\"install-fixture-1\"}}" + }, + "c0a543a83bd5": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-1" + } + }, + { + "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 + } + }, + "d56bfdbce702": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "refused: ", + "isRpcDeliveryUnknown": false + } + }, + "d5eb910acc55": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "d6e7487f3275": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "ZodError", + "message": "[\n {\n \"code\": \"invalid_value\",\n \"values\": [\n 1\n ],\n \"path\": [\n \"v\"\n ],\n \"message\": \"Invalid input: expected 1\"\n },\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"relay\"\n ],\n \"message\": \"Invalid input: expected object, received undefined\"\n },\n {\n \"code\": \"unrecognized_keys\",\n \"keys\": [\n \"ok\",\n \"error\"\n ],\n \"path\": [],\n \"message\": \"Unrecognized keys: \\\"ok\\\", \\\"error\\\"\"\n }\n]", + "isRpcDeliveryUnknown": false + } + }, + "e4db75cccc06": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "e8ffbfb9ecd4": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "eadc22371637": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "ee20a1dc39e7": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "null" + } + }, + "f4f341e9c757": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "ZodError", + "message": "[\n {\n \"code\": \"invalid_value\",\n \"values\": [\n 1\n ],\n \"path\": [\n \"v\"\n ],\n \"message\": \"Invalid input: expected 1\"\n },\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"relay\"\n ],\n \"message\": \"Invalid input: expected object, received undefined\"\n },\n {\n \"code\": \"unrecognized_keys\",\n \"keys\": [\n \"error\"\n ],\n \"path\": [],\n \"message\": \"Unrecognized key: \\\"error\\\"\"\n }\n]", + "isRpcDeliveryUnknown": false + } + }, + "f85f71f6d927": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + } + }, + "recording": { + "scenario": "matrix-relay.direct-upgrade-pairing.getendpoints-1", + "checkpoints": [ + { + "id": "relay-direct-upgrade-commits.normal:direct-upgrade-committed", + "observation": { + "sender": ["ba95b28e3a94", "a3865c87e54b", "157eaa06961f"], + "payloads": ["beafd16aeb22", "1d7fdb67d4da", "7583d8b57ef8"], + "settlements": { + "upgrade": "590b3311b0c4" + }, + "state": "980bbba0b617", + "effects": ["b991b2c7609f", "4683b84a57a2", "7d023da12fdb"] + } + }, + { + "id": "relay-direct-upgrade-commits.result-absent:direct-upgrade-committed", + "observation": { + "sender": ["f85f71f6d927"], + "payloads": ["beafd16aeb22"], + "settlements": { + "upgrade": "8cfbee11e6cb" + }, + "state": "952828fa571a", + "effects": [] + } + }, + { + "id": "relay-direct-upgrade-commits.result-null:direct-upgrade-committed", + "observation": { + "sender": ["c0a543a83bd5"], + "payloads": ["beafd16aeb22"], + "settlements": { + "upgrade": "06dee54a3689" + }, + "state": "2b3f0d69e5c0", + "effects": [] + } + }, + { + "id": "relay-direct-upgrade-commits.inner-ok-missing:direct-upgrade-committed", + "observation": { + "sender": ["eadc22371637"], + "payloads": ["beafd16aeb22"], + "settlements": { + "upgrade": "f4f341e9c757" + }, + "state": "54733e945aef", + "effects": [] + } + }, + { + "id": "relay-direct-upgrade-commits.inner-false-string-error:direct-upgrade-committed", + "observation": { + "sender": ["84a67e5b95a5"], + "payloads": ["beafd16aeb22"], + "settlements": { + "upgrade": "d6e7487f3275" + }, + "state": "a3dc16ec07e4", + "effects": [] + } + }, + { + "id": "relay-direct-upgrade-commits.inner-false-object-error:direct-upgrade-committed", + "observation": { + "sender": ["9631a7132ab0"], + "payloads": ["beafd16aeb22"], + "settlements": { + "upgrade": "d6e7487f3275" + }, + "state": "a3dc16ec07e4", + "effects": [] + } + }, + { + "id": "relay-direct-upgrade-commits.outer-refused:direct-upgrade-committed", + "observation": { + "sender": ["e4db75cccc06"], + "payloads": ["beafd16aeb22"], + "settlements": { + "upgrade": "4e3b57d795cb" + }, + "state": "541fbb4c1bb0", + "effects": [] + } + }, + { + "id": "relay-direct-upgrade-commits.outer-refused-no-message:direct-upgrade-committed", + "observation": { + "sender": ["81230fab3114"], + "payloads": ["beafd16aeb22"], + "settlements": { + "upgrade": "d56bfdbce702" + }, + "state": "8eb22646fb28", + "effects": [] + } + }, + { + "id": "relay-direct-upgrade-commits.method-not-found:direct-upgrade-committed", + "observation": { + "sender": ["55af89989a85"], + "payloads": ["beafd16aeb22"], + "settlements": { + "upgrade": "ee20a1dc39e7" + }, + "state": "6c43da669636", + "effects": ["8ea887e0fc46"] + } + }, + { + "id": "relay-direct-upgrade-commits.transport-rejection:direct-upgrade-committed", + "observation": { + "sender": ["e8ffbfb9ecd4"], + "payloads": ["beafd16aeb22"], + "settlements": { + "upgrade": "a947768bc0ed" + }, + "state": "abe9b3fdea58", + "effects": [] + } + }, + { + "id": "relay-direct-upgrade-commits.transport-rejection-no-message:direct-upgrade-committed", + "observation": { + "sender": ["d5eb910acc55"], + "payloads": ["beafd16aeb22"], + "settlements": { + "upgrade": "c7584e82c72f" + }, + "state": "0e69ea8bf15f", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-relay.direct-upgrade-pairing.getendpoints-2.json b/mobile/rpc-foundation/goldens/matrix-relay.direct-upgrade-pairing.getendpoints-2.json new file mode 100644 index 00000000000..4405903c42c --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-relay.direct-upgrade-pairing.getendpoints-2.json @@ -0,0 +1,829 @@ +{ + "operation": "relay.direct-upgrade", + "family": "relay.direct-upgrade", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "651e75383caf1b30c329dec2d5d4f0da5358c410402d03cbb087f39600d7a4d2", + "scenarioSha256": "d0c4dd34645308f30c0999ea74c16b53f20e9183832fdf016c3dc21434744b05", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "06dee54a3689": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "ZodError", + "message": "[\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [],\n \"message\": \"Invalid input: expected object, received null\"\n }\n]", + "isRpcDeliveryUnknown": false + } + }, + "0e69ea8bf15f": { + "journal": "present", + "outcome": "failed: " + }, + "157eaa06961f": { + "name": "pairing.getEndpoints#2", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "installStatus": { + "reqId": "install-fixture-1", + "result": { + "authorizationMode": "authenticated-direct", + "currentVersion": 4, + "reqId": "install-fixture-1", + "resumeExpiresAt": 1767830400000, + "v": 1 + }, + "state": "committed", + "v": 1 + }, + "relay": { + "assignmentEpoch": 1, + "cellUrl": "https://cell.example", + "directorUrl": "https://director.example", + "e2eeFraming": 2, + "relayHostId": "relay-host-0001x", + "v": 1 + }, + "v": 1 + } + } + } + }, + "1b79d2790caa": { + "name": "pairing.getEndpoints#2", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "1d7fdb67d4da": { + "name": "pairing.provisionRelay#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.provisionRelay\",\"params\":{\"reqId\":\"install-fixture-1\",\"newResumeTokenHash\":\"7ehR_WuQWkxwOFJdkHfI5jEg4DeVYWImtDuip60LHK4\"}}" + }, + "2b3f0d69e5c0": { + "journal": "present", + "outcome": "failed: [\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [],\n \"message\": \"Invalid input: expected object, received null\"\n }\n]" + }, + "3329c401720a": { + "name": "pairing.getEndpoints#2", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-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 + } + } + }, + "3dc76aecf5e0": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "relay endpoint reconciliation became unavailable", + "isRpcDeliveryUnknown": false + } + }, + "4683b84a57a2": { + "name": "host-saved", + "value": "host-1", + "sent": 3 + }, + "47728c6fb437": { + "name": "pairing.getEndpoints#2", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-3", + "ok": false + } + } + }, + "4deca0026eb4": { + "name": "pairing.getEndpoints#2", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "4e3b57d795cb": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "refused: outer refused", + "isRpcDeliveryUnknown": false + } + }, + "541fbb4c1bb0": { + "journal": "present", + "outcome": "failed: refused: outer refused" + }, + "54733e945aef": { + "journal": "present", + "outcome": "failed: [\n {\n \"code\": \"invalid_value\",\n \"values\": [\n 1\n ],\n \"path\": [\n \"v\"\n ],\n \"message\": \"Invalid input: expected 1\"\n },\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"relay\"\n ],\n \"message\": \"Invalid input: expected object, received undefined\"\n },\n {\n \"code\": \"unrecognized_keys\",\n \"keys\": [\n \"error\"\n ],\n \"path\": [],\n \"message\": \"Unrecognized key: \\\"error\\\"\"\n }\n]" + }, + "590b3311b0c4": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "bundle": { + "current": { + "expiresAt": 1767830400000, + "hash": "7ehR_WuQWkxwOFJdkHfI5jEg4DeVYWImtDuip60LHK4", + "token": "pending00000000000000000000000000000000001x", + "version": 4 + }, + "deviceToken": "device-token-1", + "hostId": "host-1", + "v": 1 + }, + "host": { + "deviceToken": "device-token-1", + "endpoint": "ws://192.168.1.10:8765", + "endpoints": [ + { + "id": "direct-primary", + "kind": "lan", + "url": "ws://192.168.1.10:8765" + }, + { + "id": "relay-primary", + "kind": "relay", + "url": "wss://cell.example/v1/connect/relay-host-0001x" + } + ], + "id": "host-1", + "lastConnected": 1767225600000, + "name": "Fixture host", + "publicKeyB64": "AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8=", + "relay": { + "assignmentEpoch": 1, + "cellUrl": "https://cell.example", + "directorUrl": "https://director.example", + "e2eeFraming": 2, + "relayHostId": "relay-host-0001x", + "v": 1 + }, + "relayHostId": "relay-host-0001x" + } + } + }, + "6d07890f0d82": { + "name": "pairing.getEndpoints#2", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-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 + } + } + } + }, + "7583d8b57ef8": { + "name": "pairing.getEndpoints#2", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.getEndpoints\",\"params\":{\"installReqId\":\"install-fixture-1\"}}" + }, + "7d023da12fdb": { + "name": "journal-cleared", + "value": "upgrade", + "sent": 3 + }, + "83501517f8f9": { + "name": "pairing.getEndpoints#2", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-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 + } + } + } + }, + "890c5d024d91": { + "name": "pairing.getEndpoints#2", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "8cfbee11e6cb": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "ZodError", + "message": "[\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [],\n \"message\": \"Invalid input: expected object, received undefined\"\n }\n]", + "isRpcDeliveryUnknown": false + } + }, + "8eb22646fb28": { + "journal": "present", + "outcome": "failed: refused: " + }, + "952828fa571a": { + "journal": "present", + "outcome": "failed: [\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [],\n \"message\": \"Invalid input: expected object, received undefined\"\n }\n]" + }, + "980bbba0b617": { + "journal": { + "$rpc": "null" + }, + "outcome": "relay-host-0001x" + }, + "a3865c87e54b": { + "name": "pairing.provisionRelay#1", + "args": [ + { + "name": "method", + "value": "pairing.provisionRelay" + }, + { + "name": "params", + "value": { + "newResumeTokenHash": "7ehR_WuQWkxwOFJdkHfI5jEg4DeVYWImtDuip60LHK4", + "reqId": "install-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "authorizationMode": "authenticated-direct", + "currentVersion": 4, + "reqId": "install-fixture-1", + "resumeExpiresAt": 1767830400000, + "v": 1 + } + } + } + }, + "a3dc16ec07e4": { + "journal": "present", + "outcome": "failed: [\n {\n \"code\": \"invalid_value\",\n \"values\": [\n 1\n ],\n \"path\": [\n \"v\"\n ],\n \"message\": \"Invalid input: expected 1\"\n },\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"relay\"\n ],\n \"message\": \"Invalid input: expected object, received undefined\"\n },\n {\n \"code\": \"unrecognized_keys\",\n \"keys\": [\n \"ok\",\n \"error\"\n ],\n \"path\": [],\n \"message\": \"Unrecognized keys: \\\"ok\\\", \\\"error\\\"\"\n }\n]" + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "abe9b3fdea58": { + "journal": "present", + "outcome": "failed: transport failure" + }, + "ae02e37a943d": { + "journal": "present", + "outcome": "failed: relay endpoint reconciliation became unavailable" + }, + "b991b2c7609f": { + "name": "bundle-written", + "value": { + "version": 4 + }, + "sent": 3 + }, + "ba95b28e3a94": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "installStatus": { + "reqId": "install-fixture-1", + "state": "not-found", + "v": 1 + }, + "relay": { + "assignmentEpoch": 1, + "cellUrl": "https://cell.example", + "directorUrl": "https://director.example", + "e2eeFraming": 2, + "relayHostId": "relay-host-0001x", + "v": 1 + }, + "v": 1 + } + } + } + }, + "beafd16aeb22": { + "name": "pairing.getEndpoints#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.getEndpoints\",\"params\":{\"installReqId\":\"install-fixture-1\"}}" + }, + "c6a5d3f3fffe": { + "name": "pairing.getEndpoints#2", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "c7584e82c72f": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + }, + "d56bfdbce702": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "refused: ", + "isRpcDeliveryUnknown": false + } + }, + "d6e7487f3275": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "ZodError", + "message": "[\n {\n \"code\": \"invalid_value\",\n \"values\": [\n 1\n ],\n \"path\": [\n \"v\"\n ],\n \"message\": \"Invalid input: expected 1\"\n },\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"relay\"\n ],\n \"message\": \"Invalid input: expected object, received undefined\"\n },\n {\n \"code\": \"unrecognized_keys\",\n \"keys\": [\n \"ok\",\n \"error\"\n ],\n \"path\": [],\n \"message\": \"Unrecognized keys: \\\"ok\\\", \\\"error\\\"\"\n }\n]", + "isRpcDeliveryUnknown": false + } + }, + "de20033f1dbf": { + "name": "pairing.getEndpoints#2", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true + } + } + }, + "f4f341e9c757": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "ZodError", + "message": "[\n {\n \"code\": \"invalid_value\",\n \"values\": [\n 1\n ],\n \"path\": [\n \"v\"\n ],\n \"message\": \"Invalid input: expected 1\"\n },\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"relay\"\n ],\n \"message\": \"Invalid input: expected object, received undefined\"\n },\n {\n \"code\": \"unrecognized_keys\",\n \"keys\": [\n \"error\"\n ],\n \"path\": [],\n \"message\": \"Unrecognized key: \\\"error\\\"\"\n }\n]", + "isRpcDeliveryUnknown": false + } + }, + "f9a6d9a9d192": { + "name": "pairing.getEndpoints#2", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-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 + } + } + } + }, + "recording": { + "scenario": "matrix-relay.direct-upgrade-pairing.getendpoints-2", + "checkpoints": [ + { + "id": "relay-direct-upgrade-commits.normal:direct-upgrade-committed", + "observation": { + "sender": ["ba95b28e3a94", "a3865c87e54b", "157eaa06961f"], + "payloads": ["beafd16aeb22", "1d7fdb67d4da", "7583d8b57ef8"], + "settlements": { + "upgrade": "590b3311b0c4" + }, + "state": "980bbba0b617", + "effects": ["b991b2c7609f", "4683b84a57a2", "7d023da12fdb"] + } + }, + { + "id": "relay-direct-upgrade-commits.result-absent:direct-upgrade-committed", + "observation": { + "sender": ["ba95b28e3a94", "a3865c87e54b", "de20033f1dbf"], + "payloads": ["beafd16aeb22", "1d7fdb67d4da", "7583d8b57ef8"], + "settlements": { + "upgrade": "8cfbee11e6cb" + }, + "state": "952828fa571a", + "effects": [] + } + }, + { + "id": "relay-direct-upgrade-commits.result-null:direct-upgrade-committed", + "observation": { + "sender": ["ba95b28e3a94", "a3865c87e54b", "1b79d2790caa"], + "payloads": ["beafd16aeb22", "1d7fdb67d4da", "7583d8b57ef8"], + "settlements": { + "upgrade": "06dee54a3689" + }, + "state": "2b3f0d69e5c0", + "effects": [] + } + }, + { + "id": "relay-direct-upgrade-commits.inner-ok-missing:direct-upgrade-committed", + "observation": { + "sender": ["ba95b28e3a94", "a3865c87e54b", "890c5d024d91"], + "payloads": ["beafd16aeb22", "1d7fdb67d4da", "7583d8b57ef8"], + "settlements": { + "upgrade": "f4f341e9c757" + }, + "state": "54733e945aef", + "effects": [] + } + }, + { + "id": "relay-direct-upgrade-commits.inner-false-string-error:direct-upgrade-committed", + "observation": { + "sender": ["ba95b28e3a94", "a3865c87e54b", "6d07890f0d82"], + "payloads": ["beafd16aeb22", "1d7fdb67d4da", "7583d8b57ef8"], + "settlements": { + "upgrade": "d6e7487f3275" + }, + "state": "a3dc16ec07e4", + "effects": [] + } + }, + { + "id": "relay-direct-upgrade-commits.inner-false-object-error:direct-upgrade-committed", + "observation": { + "sender": ["ba95b28e3a94", "a3865c87e54b", "83501517f8f9"], + "payloads": ["beafd16aeb22", "1d7fdb67d4da", "7583d8b57ef8"], + "settlements": { + "upgrade": "d6e7487f3275" + }, + "state": "a3dc16ec07e4", + "effects": [] + } + }, + { + "id": "relay-direct-upgrade-commits.outer-refused:direct-upgrade-committed", + "observation": { + "sender": ["ba95b28e3a94", "a3865c87e54b", "f9a6d9a9d192"], + "payloads": ["beafd16aeb22", "1d7fdb67d4da", "7583d8b57ef8"], + "settlements": { + "upgrade": "4e3b57d795cb" + }, + "state": "541fbb4c1bb0", + "effects": [] + } + }, + { + "id": "relay-direct-upgrade-commits.outer-refused-no-message:direct-upgrade-committed", + "observation": { + "sender": ["ba95b28e3a94", "a3865c87e54b", "47728c6fb437"], + "payloads": ["beafd16aeb22", "1d7fdb67d4da", "7583d8b57ef8"], + "settlements": { + "upgrade": "d56bfdbce702" + }, + "state": "8eb22646fb28", + "effects": [] + } + }, + { + "id": "relay-direct-upgrade-commits.method-not-found:direct-upgrade-committed", + "observation": { + "sender": ["ba95b28e3a94", "a3865c87e54b", "3329c401720a"], + "payloads": ["beafd16aeb22", "1d7fdb67d4da", "7583d8b57ef8"], + "settlements": { + "upgrade": "3dc76aecf5e0" + }, + "state": "ae02e37a943d", + "effects": [] + } + }, + { + "id": "relay-direct-upgrade-commits.transport-rejection:direct-upgrade-committed", + "observation": { + "sender": ["ba95b28e3a94", "a3865c87e54b", "4deca0026eb4"], + "payloads": ["beafd16aeb22", "1d7fdb67d4da", "7583d8b57ef8"], + "settlements": { + "upgrade": "a947768bc0ed" + }, + "state": "abe9b3fdea58", + "effects": [] + } + }, + { + "id": "relay-direct-upgrade-commits.transport-rejection-no-message:direct-upgrade-committed", + "observation": { + "sender": ["ba95b28e3a94", "a3865c87e54b", "c6a5d3f3fffe"], + "payloads": ["beafd16aeb22", "1d7fdb67d4da", "7583d8b57ef8"], + "settlements": { + "upgrade": "c7584e82c72f" + }, + "state": "0e69ea8bf15f", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-relay.direct-upgrade-pairing.provisionrelay-1.json b/mobile/rpc-foundation/goldens/matrix-relay.direct-upgrade-pairing.provisionrelay-1.json new file mode 100644 index 00000000000..0e9c626ba85 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-relay.direct-upgrade-pairing.provisionrelay-1.json @@ -0,0 +1,844 @@ +{ + "operation": "relay.direct-upgrade", + "family": "relay.direct-upgrade", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "651e75383caf1b30c329dec2d5d4f0da5358c410402d03cbb087f39600d7a4d2", + "scenarioSha256": "0fe163f405373adbb1913dddd79d6d596bf88d69fc27c824ba5a2cd4c1406446", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "011ca02158db": { + "name": "pairing.provisionRelay#1", + "args": [ + { + "name": "method", + "value": "pairing.provisionRelay" + }, + { + "name": "params", + "value": { + "newResumeTokenHash": "7ehR_WuQWkxwOFJdkHfI5jEg4DeVYWImtDuip60LHK4", + "reqId": "install-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "06dee54a3689": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "ZodError", + "message": "[\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [],\n \"message\": \"Invalid input: expected object, received null\"\n }\n]", + "isRpcDeliveryUnknown": false + } + }, + "075b596094a0": { + "journal": "present", + "outcome": "failed: [\n {\n \"code\": \"invalid_value\",\n \"values\": [\n 1\n ],\n \"path\": [\n \"v\"\n ],\n \"message\": \"Invalid input: expected 1\"\n },\n {\n \"expected\": \"string\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"reqId\"\n ],\n \"message\": \"Invalid input: expected string, received undefined\"\n },\n {\n \"code\": \"invalid_value\",\n \"values\": [\n \"relay-basis\",\n \"authenticated-direct\"\n ],\n \"path\": [\n \"authorizationMode\"\n ],\n \"message\": \"Invalid option: expected one of \\\"relay-basis\\\"|\\\"authenticated-direct\\\"\"\n },\n {\n \"expected\": \"number\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"currentVersion\"\n ],\n \"message\": \"Invalid input: expected number, received undefined\"\n },\n {\n \"expected\": \"number\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"resumeExpiresAt\"\n ],\n \"message\": \"Invalid input: expected number, received undefined\"\n },\n {\n \"code\": \"unrecognized_keys\",\n \"keys\": [\n \"error\"\n ],\n \"path\": [],\n \"message\": \"Unrecognized key: \\\"error\\\"\"\n }\n]" + }, + "0799e98bb19f": { + "name": "pairing.provisionRelay#1", + "args": [ + { + "name": "method", + "value": "pairing.provisionRelay" + }, + { + "name": "params", + "value": { + "newResumeTokenHash": "7ehR_WuQWkxwOFJdkHfI5jEg4DeVYWImtDuip60LHK4", + "reqId": "install-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "0e69ea8bf15f": { + "journal": "present", + "outcome": "failed: " + }, + "157eaa06961f": { + "name": "pairing.getEndpoints#2", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "installStatus": { + "reqId": "install-fixture-1", + "result": { + "authorizationMode": "authenticated-direct", + "currentVersion": 4, + "reqId": "install-fixture-1", + "resumeExpiresAt": 1767830400000, + "v": 1 + }, + "state": "committed", + "v": 1 + }, + "relay": { + "assignmentEpoch": 1, + "cellUrl": "https://cell.example", + "directorUrl": "https://director.example", + "e2eeFraming": 2, + "relayHostId": "relay-host-0001x", + "v": 1 + }, + "v": 1 + } + } + } + }, + "1d7fdb67d4da": { + "name": "pairing.provisionRelay#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.provisionRelay\",\"params\":{\"reqId\":\"install-fixture-1\",\"newResumeTokenHash\":\"7ehR_WuQWkxwOFJdkHfI5jEg4DeVYWImtDuip60LHK4\"}}" + }, + "2a6e0fd0f08e": { + "name": "pairing.provisionRelay#1", + "args": [ + { + "name": "method", + "value": "pairing.provisionRelay" + }, + { + "name": "params", + "value": { + "newResumeTokenHash": "7ehR_WuQWkxwOFJdkHfI5jEg4DeVYWImtDuip60LHK4", + "reqId": "install-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "2b3f0d69e5c0": { + "journal": "present", + "outcome": "failed: [\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [],\n \"message\": \"Invalid input: expected object, received null\"\n }\n]" + }, + "3a68c3c9ea85": { + "name": "pairing.provisionRelay#1", + "args": [ + { + "name": "method", + "value": "pairing.provisionRelay" + }, + { + "name": "params", + "value": { + "newResumeTokenHash": "7ehR_WuQWkxwOFJdkHfI5jEg4DeVYWImtDuip60LHK4", + "reqId": "install-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "3ada736eb1f5": { + "journal": "present", + "outcome": "failed: [\n {\n \"code\": \"invalid_value\",\n \"values\": [\n 1\n ],\n \"path\": [\n \"v\"\n ],\n \"message\": \"Invalid input: expected 1\"\n },\n {\n \"expected\": \"string\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"reqId\"\n ],\n \"message\": \"Invalid input: expected string, received undefined\"\n },\n {\n \"code\": \"invalid_value\",\n \"values\": [\n \"relay-basis\",\n \"authenticated-direct\"\n ],\n \"path\": [\n \"authorizationMode\"\n ],\n \"message\": \"Invalid option: expected one of \\\"relay-basis\\\"|\\\"authenticated-direct\\\"\"\n },\n {\n \"expected\": \"number\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"currentVersion\"\n ],\n \"message\": \"Invalid input: expected number, received undefined\"\n },\n {\n \"expected\": \"number\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"resumeExpiresAt\"\n ],\n \"message\": \"Invalid input: expected number, received undefined\"\n },\n {\n \"code\": \"unrecognized_keys\",\n \"keys\": [\n \"ok\",\n \"error\"\n ],\n \"path\": [],\n \"message\": \"Unrecognized keys: \\\"ok\\\", \\\"error\\\"\"\n }\n]" + }, + "4683b84a57a2": { + "name": "host-saved", + "value": "host-1", + "sent": 3 + }, + "4e3b57d795cb": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "refused: outer refused", + "isRpcDeliveryUnknown": false + } + }, + "5099f8914209": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "ZodError", + "message": "[\n {\n \"code\": \"invalid_value\",\n \"values\": [\n 1\n ],\n \"path\": [\n \"v\"\n ],\n \"message\": \"Invalid input: expected 1\"\n },\n {\n \"expected\": \"string\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"reqId\"\n ],\n \"message\": \"Invalid input: expected string, received undefined\"\n },\n {\n \"code\": \"invalid_value\",\n \"values\": [\n \"relay-basis\",\n \"authenticated-direct\"\n ],\n \"path\": [\n \"authorizationMode\"\n ],\n \"message\": \"Invalid option: expected one of \\\"relay-basis\\\"|\\\"authenticated-direct\\\"\"\n },\n {\n \"expected\": \"number\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"currentVersion\"\n ],\n \"message\": \"Invalid input: expected number, received undefined\"\n },\n {\n \"expected\": \"number\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"resumeExpiresAt\"\n ],\n \"message\": \"Invalid input: expected number, received undefined\"\n },\n {\n \"code\": \"unrecognized_keys\",\n \"keys\": [\n \"ok\",\n \"error\"\n ],\n \"path\": [],\n \"message\": \"Unrecognized keys: \\\"ok\\\", \\\"error\\\"\"\n }\n]", + "isRpcDeliveryUnknown": false + } + }, + "541fbb4c1bb0": { + "journal": "present", + "outcome": "failed: refused: outer refused" + }, + "590b3311b0c4": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "bundle": { + "current": { + "expiresAt": 1767830400000, + "hash": "7ehR_WuQWkxwOFJdkHfI5jEg4DeVYWImtDuip60LHK4", + "token": "pending00000000000000000000000000000000001x", + "version": 4 + }, + "deviceToken": "device-token-1", + "hostId": "host-1", + "v": 1 + }, + "host": { + "deviceToken": "device-token-1", + "endpoint": "ws://192.168.1.10:8765", + "endpoints": [ + { + "id": "direct-primary", + "kind": "lan", + "url": "ws://192.168.1.10:8765" + }, + { + "id": "relay-primary", + "kind": "relay", + "url": "wss://cell.example/v1/connect/relay-host-0001x" + } + ], + "id": "host-1", + "lastConnected": 1767225600000, + "name": "Fixture host", + "publicKeyB64": "AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8=", + "relay": { + "assignmentEpoch": 1, + "cellUrl": "https://cell.example", + "directorUrl": "https://director.example", + "e2eeFraming": 2, + "relayHostId": "relay-host-0001x", + "v": 1 + }, + "relayHostId": "relay-host-0001x" + } + } + }, + "6c43da669636": { + "journal": { + "$rpc": "null" + }, + "outcome": "declined" + }, + "7583d8b57ef8": { + "name": "pairing.getEndpoints#2", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.getEndpoints\",\"params\":{\"installReqId\":\"install-fixture-1\"}}" + }, + "7d023da12fdb": { + "name": "journal-cleared", + "value": "upgrade", + "sent": 3 + }, + "85d4f26647a1": { + "name": "pairing.provisionRelay#1", + "args": [ + { + "name": "method", + "value": "pairing.provisionRelay" + }, + { + "name": "params", + "value": { + "newResumeTokenHash": "7ehR_WuQWkxwOFJdkHfI5jEg4DeVYWImtDuip60LHK4", + "reqId": "install-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "8cfbee11e6cb": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "ZodError", + "message": "[\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [],\n \"message\": \"Invalid input: expected object, received undefined\"\n }\n]", + "isRpcDeliveryUnknown": false + } + }, + "8dda0f58317b": { + "name": "pairing.provisionRelay#1", + "args": [ + { + "name": "method", + "value": "pairing.provisionRelay" + }, + { + "name": "params", + "value": { + "newResumeTokenHash": "7ehR_WuQWkxwOFJdkHfI5jEg4DeVYWImtDuip60LHK4", + "reqId": "install-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "8eb22646fb28": { + "journal": "present", + "outcome": "failed: refused: " + }, + "9017cc29cb80": { + "name": "pairing.provisionRelay#1", + "args": [ + { + "name": "method", + "value": "pairing.provisionRelay" + }, + { + "name": "params", + "value": { + "newResumeTokenHash": "7ehR_WuQWkxwOFJdkHfI5jEg4DeVYWImtDuip60LHK4", + "reqId": "install-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "92bfc56d85f4": { + "name": "journal-cleared", + "value": "upgrade", + "sent": 2 + }, + "952828fa571a": { + "journal": "present", + "outcome": "failed: [\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [],\n \"message\": \"Invalid input: expected object, received undefined\"\n }\n]" + }, + "980bbba0b617": { + "journal": { + "$rpc": "null" + }, + "outcome": "relay-host-0001x" + }, + "9ff97c1fab7b": { + "name": "pairing.provisionRelay#1", + "args": [ + { + "name": "method", + "value": "pairing.provisionRelay" + }, + { + "name": "params", + "value": { + "newResumeTokenHash": "7ehR_WuQWkxwOFJdkHfI5jEg4DeVYWImtDuip60LHK4", + "reqId": "install-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "a3865c87e54b": { + "name": "pairing.provisionRelay#1", + "args": [ + { + "name": "method", + "value": "pairing.provisionRelay" + }, + { + "name": "params", + "value": { + "newResumeTokenHash": "7ehR_WuQWkxwOFJdkHfI5jEg4DeVYWImtDuip60LHK4", + "reqId": "install-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "authorizationMode": "authenticated-direct", + "currentVersion": 4, + "reqId": "install-fixture-1", + "resumeExpiresAt": 1767830400000, + "v": 1 + } + } + } + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "abe9b3fdea58": { + "journal": "present", + "outcome": "failed: transport failure" + }, + "b991b2c7609f": { + "name": "bundle-written", + "value": { + "version": 4 + }, + "sent": 3 + }, + "ba95b28e3a94": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "installStatus": { + "reqId": "install-fixture-1", + "state": "not-found", + "v": 1 + }, + "relay": { + "assignmentEpoch": 1, + "cellUrl": "https://cell.example", + "directorUrl": "https://director.example", + "e2eeFraming": 2, + "relayHostId": "relay-host-0001x", + "v": 1 + }, + "v": 1 + } + } + } + }, + "bcb3b3b6333a": { + "name": "pairing.provisionRelay#1", + "args": [ + { + "name": "method", + "value": "pairing.provisionRelay" + }, + { + "name": "params", + "value": { + "newResumeTokenHash": "7ehR_WuQWkxwOFJdkHfI5jEg4DeVYWImtDuip60LHK4", + "reqId": "install-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "beafd16aeb22": { + "name": "pairing.getEndpoints#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.getEndpoints\",\"params\":{\"installReqId\":\"install-fixture-1\"}}" + }, + "c7584e82c72f": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + }, + "ce15ce71fe2b": { + "name": "pairing.provisionRelay#1", + "args": [ + { + "name": "method", + "value": "pairing.provisionRelay" + }, + { + "name": "params", + "value": { + "newResumeTokenHash": "7ehR_WuQWkxwOFJdkHfI5jEg4DeVYWImtDuip60LHK4", + "reqId": "install-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "d56bfdbce702": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "refused: ", + "isRpcDeliveryUnknown": false + } + }, + "ee20a1dc39e7": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "null" + } + }, + "f19ff6c94d68": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "ZodError", + "message": "[\n {\n \"code\": \"invalid_value\",\n \"values\": [\n 1\n ],\n \"path\": [\n \"v\"\n ],\n \"message\": \"Invalid input: expected 1\"\n },\n {\n \"expected\": \"string\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"reqId\"\n ],\n \"message\": \"Invalid input: expected string, received undefined\"\n },\n {\n \"code\": \"invalid_value\",\n \"values\": [\n \"relay-basis\",\n \"authenticated-direct\"\n ],\n \"path\": [\n \"authorizationMode\"\n ],\n \"message\": \"Invalid option: expected one of \\\"relay-basis\\\"|\\\"authenticated-direct\\\"\"\n },\n {\n \"expected\": \"number\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"currentVersion\"\n ],\n \"message\": \"Invalid input: expected number, received undefined\"\n },\n {\n \"expected\": \"number\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"resumeExpiresAt\"\n ],\n \"message\": \"Invalid input: expected number, received undefined\"\n },\n {\n \"code\": \"unrecognized_keys\",\n \"keys\": [\n \"error\"\n ],\n \"path\": [],\n \"message\": \"Unrecognized key: \\\"error\\\"\"\n }\n]", + "isRpcDeliveryUnknown": false + } + } + }, + "recording": { + "scenario": "matrix-relay.direct-upgrade-pairing.provisionrelay-1", + "checkpoints": [ + { + "id": "relay-direct-upgrade-commits.normal:direct-upgrade-committed", + "observation": { + "sender": ["ba95b28e3a94", "a3865c87e54b", "157eaa06961f"], + "payloads": ["beafd16aeb22", "1d7fdb67d4da", "7583d8b57ef8"], + "settlements": { + "upgrade": "590b3311b0c4" + }, + "state": "980bbba0b617", + "effects": ["b991b2c7609f", "4683b84a57a2", "7d023da12fdb"] + } + }, + { + "id": "relay-direct-upgrade-commits.result-absent:direct-upgrade-committed", + "observation": { + "sender": ["ba95b28e3a94", "bcb3b3b6333a"], + "payloads": ["beafd16aeb22", "1d7fdb67d4da"], + "settlements": { + "upgrade": "8cfbee11e6cb" + }, + "state": "952828fa571a", + "effects": [] + } + }, + { + "id": "relay-direct-upgrade-commits.result-null:direct-upgrade-committed", + "observation": { + "sender": ["ba95b28e3a94", "ce15ce71fe2b"], + "payloads": ["beafd16aeb22", "1d7fdb67d4da"], + "settlements": { + "upgrade": "06dee54a3689" + }, + "state": "2b3f0d69e5c0", + "effects": [] + } + }, + { + "id": "relay-direct-upgrade-commits.inner-ok-missing:direct-upgrade-committed", + "observation": { + "sender": ["ba95b28e3a94", "0799e98bb19f"], + "payloads": ["beafd16aeb22", "1d7fdb67d4da"], + "settlements": { + "upgrade": "f19ff6c94d68" + }, + "state": "075b596094a0", + "effects": [] + } + }, + { + "id": "relay-direct-upgrade-commits.inner-false-string-error:direct-upgrade-committed", + "observation": { + "sender": ["ba95b28e3a94", "85d4f26647a1"], + "payloads": ["beafd16aeb22", "1d7fdb67d4da"], + "settlements": { + "upgrade": "5099f8914209" + }, + "state": "3ada736eb1f5", + "effects": [] + } + }, + { + "id": "relay-direct-upgrade-commits.inner-false-object-error:direct-upgrade-committed", + "observation": { + "sender": ["ba95b28e3a94", "9ff97c1fab7b"], + "payloads": ["beafd16aeb22", "1d7fdb67d4da"], + "settlements": { + "upgrade": "5099f8914209" + }, + "state": "3ada736eb1f5", + "effects": [] + } + }, + { + "id": "relay-direct-upgrade-commits.outer-refused:direct-upgrade-committed", + "observation": { + "sender": ["ba95b28e3a94", "3a68c3c9ea85"], + "payloads": ["beafd16aeb22", "1d7fdb67d4da"], + "settlements": { + "upgrade": "4e3b57d795cb" + }, + "state": "541fbb4c1bb0", + "effects": [] + } + }, + { + "id": "relay-direct-upgrade-commits.outer-refused-no-message:direct-upgrade-committed", + "observation": { + "sender": ["ba95b28e3a94", "8dda0f58317b"], + "payloads": ["beafd16aeb22", "1d7fdb67d4da"], + "settlements": { + "upgrade": "d56bfdbce702" + }, + "state": "8eb22646fb28", + "effects": [] + } + }, + { + "id": "relay-direct-upgrade-commits.method-not-found:direct-upgrade-committed", + "observation": { + "sender": ["ba95b28e3a94", "2a6e0fd0f08e"], + "payloads": ["beafd16aeb22", "1d7fdb67d4da"], + "settlements": { + "upgrade": "ee20a1dc39e7" + }, + "state": "6c43da669636", + "effects": ["92bfc56d85f4"] + } + }, + { + "id": "relay-direct-upgrade-commits.transport-rejection:direct-upgrade-committed", + "observation": { + "sender": ["ba95b28e3a94", "9017cc29cb80"], + "payloads": ["beafd16aeb22", "1d7fdb67d4da"], + "settlements": { + "upgrade": "a947768bc0ed" + }, + "state": "abe9b3fdea58", + "effects": [] + } + }, + { + "id": "relay-direct-upgrade-commits.transport-rejection-no-message:direct-upgrade-committed", + "observation": { + "sender": ["ba95b28e3a94", "011ca02158db"], + "payloads": ["beafd16aeb22", "1d7fdb67d4da"], + "settlements": { + "upgrade": "c7584e82c72f" + }, + "state": "0e69ea8bf15f", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-relay.pairing-recovery-pairing.getendpoints-1.json b/mobile/rpc-foundation/goldens/matrix-relay.pairing-recovery-pairing.getendpoints-1.json new file mode 100644 index 00000000000..fde00e8e7f6 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-relay.pairing-recovery-pairing.getendpoints-1.json @@ -0,0 +1,798 @@ +{ + "operation": "relay.pairing-recovery", + "family": "relay.pairing-recovery", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "e33d584229530c716ecdc44d198b95fcfb4dfd9468fba7d5222ee3f122950197", + "scenarioSha256": "5aaa104a652d4f10cd48ab742112cf59fca22f52bbf85ee3716505a9642fbe37", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0080ab426cd1": { + "name": "host-saved", + "value": "host-1", + "sent": 1 + }, + "10e679344b45": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-1", + "resumeConfirmReqId": "confirm-fixture-1" + } + }, + { + "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 + } + } + }, + "2eeacc921b96": { + "name": "pairing.getEndpoints#2", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Connection closed", + "isRpcDeliveryUnknown": true + } + } + }, + "35b3ec66b615": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-1", + "resumeConfirmReqId": "confirm-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "4b671f98d808": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-1", + "resumeConfirmReqId": "confirm-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "4db4ba57f248": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-1", + "resumeConfirmReqId": "confirm-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "54c5309cac70": { + "outcome": "unrecovered", + "winner": { + "$rpc": "null" + } + }, + "6873c5ee509e": { + "name": "journal-cleared", + "value": "recovery", + "sent": 1 + }, + "7a3e4e5413b5": { + "outcome": "recovered", + "winner": { + "$rpc": "null" + } + }, + "83b560135719": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-1", + "resumeConfirmReqId": "confirm-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "a772bd8e8c4e": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-1", + "resumeConfirmReqId": "confirm-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "aede376f279f": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-1", + "resumeConfirmReqId": "confirm-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "b6e709c11a41": { + "name": "pairing.getEndpoints#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.getEndpoints\",\"params\":{\"installReqId\":\"install-fixture-1\",\"resumeConfirmReqId\":\"confirm-fixture-1\"}}" + }, + "baf49bcdca70": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-1", + "resumeConfirmReqId": "confirm-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "be67e12f6925": { + "name": "candidate-closed", + "value": "relay", + "sent": 1 + }, + "c02af6dd81bf": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-1", + "resumeConfirmReqId": "confirm-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "c4e8e63a5f9f": { + "name": "pairing.getEndpoints#2", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "c5d6533ca9ce": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-1", + "resumeConfirmReqId": "confirm-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "installStatus": { + "reqId": "install-fixture-1", + "result": { + "authorizationMode": "relay-basis", + "currentVersion": 4, + "reqId": "install-fixture-1", + "resumeExpiresAt": 1767830400000, + "v": 1 + }, + "state": "committed", + "v": 1 + }, + "relay": { + "assignmentEpoch": 1, + "cellUrl": "https://cell.example", + "directorUrl": "https://director.example", + "e2eeFraming": 2, + "relayHostId": "relay-host-0001x", + "v": 1 + }, + "v": 1 + } + } + } + }, + "c8a7c6e1a485": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": "deferred" + }, + "cf1bfb36f84e": { + "name": "journal-updated", + "value": "relay-basis", + "sent": 1 + }, + "d433a326314e": { + "name": "candidate-closed", + "value": "relay", + "sent": 2 + }, + "e0d0c16b34cc": { + "name": "bundle-written", + "value": { + "version": 4 + }, + "sent": 1 + }, + "f0723ea3ab16": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": "recovered" + }, + "f98de3f4f0c2": { + "name": "pairing.getEndpoints#2", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.getEndpoints\",\"params\":{\"installReqId\":\"install-fixture-1\"}}" + }, + "fcb233bb6e13": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-1", + "resumeConfirmReqId": "confirm-fixture-1" + } + }, + { + "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-relay.pairing-recovery-pairing.getendpoints-1", + "checkpoints": [ + { + "id": "relay-pairing-recovery-resume-committed.normal:recovered-on-resume", + "observation": { + "sender": ["c5d6533ca9ce"], + "payloads": ["b6e709c11a41"], + "settlements": { + "recover": "f0723ea3ab16" + }, + "state": "7a3e4e5413b5", + "effects": [ + "cf1bfb36f84e", + "e0d0c16b34cc", + "0080ab426cd1", + "6873c5ee509e", + "be67e12f6925" + ] + } + }, + { + "id": "relay-pairing-recovery-resume-committed.result-absent:recovered-on-resume", + "observation": { + "sender": ["35b3ec66b615", "c4e8e63a5f9f"], + "payloads": ["b6e709c11a41", "f98de3f4f0c2"], + "settlements": { + "recover": "9270aeb7d9c6" + }, + "state": "54c5309cac70", + "effects": ["be67e12f6925"] + } + }, + { + "id": "relay-pairing-recovery-resume-committed.result-absent:cleanup", + "observation": { + "sender": ["35b3ec66b615", "2eeacc921b96"], + "payloads": ["b6e709c11a41", "f98de3f4f0c2"], + "settlements": { + "recover": "c8a7c6e1a485" + }, + "state": "54c5309cac70", + "effects": ["be67e12f6925", "d433a326314e"] + } + }, + { + "id": "relay-pairing-recovery-resume-committed.result-null:recovered-on-resume", + "observation": { + "sender": ["4b671f98d808", "c4e8e63a5f9f"], + "payloads": ["b6e709c11a41", "f98de3f4f0c2"], + "settlements": { + "recover": "9270aeb7d9c6" + }, + "state": "54c5309cac70", + "effects": ["be67e12f6925"] + } + }, + { + "id": "relay-pairing-recovery-resume-committed.result-null:cleanup", + "observation": { + "sender": ["4b671f98d808", "2eeacc921b96"], + "payloads": ["b6e709c11a41", "f98de3f4f0c2"], + "settlements": { + "recover": "c8a7c6e1a485" + }, + "state": "54c5309cac70", + "effects": ["be67e12f6925", "d433a326314e"] + } + }, + { + "id": "relay-pairing-recovery-resume-committed.inner-ok-missing:recovered-on-resume", + "observation": { + "sender": ["c02af6dd81bf", "c4e8e63a5f9f"], + "payloads": ["b6e709c11a41", "f98de3f4f0c2"], + "settlements": { + "recover": "9270aeb7d9c6" + }, + "state": "54c5309cac70", + "effects": ["be67e12f6925"] + } + }, + { + "id": "relay-pairing-recovery-resume-committed.inner-ok-missing:cleanup", + "observation": { + "sender": ["c02af6dd81bf", "2eeacc921b96"], + "payloads": ["b6e709c11a41", "f98de3f4f0c2"], + "settlements": { + "recover": "c8a7c6e1a485" + }, + "state": "54c5309cac70", + "effects": ["be67e12f6925", "d433a326314e"] + } + }, + { + "id": "relay-pairing-recovery-resume-committed.inner-false-string-error:recovered-on-resume", + "observation": { + "sender": ["4db4ba57f248", "c4e8e63a5f9f"], + "payloads": ["b6e709c11a41", "f98de3f4f0c2"], + "settlements": { + "recover": "9270aeb7d9c6" + }, + "state": "54c5309cac70", + "effects": ["be67e12f6925"] + } + }, + { + "id": "relay-pairing-recovery-resume-committed.inner-false-string-error:cleanup", + "observation": { + "sender": ["4db4ba57f248", "2eeacc921b96"], + "payloads": ["b6e709c11a41", "f98de3f4f0c2"], + "settlements": { + "recover": "c8a7c6e1a485" + }, + "state": "54c5309cac70", + "effects": ["be67e12f6925", "d433a326314e"] + } + }, + { + "id": "relay-pairing-recovery-resume-committed.inner-false-object-error:recovered-on-resume", + "observation": { + "sender": ["fcb233bb6e13", "c4e8e63a5f9f"], + "payloads": ["b6e709c11a41", "f98de3f4f0c2"], + "settlements": { + "recover": "9270aeb7d9c6" + }, + "state": "54c5309cac70", + "effects": ["be67e12f6925"] + } + }, + { + "id": "relay-pairing-recovery-resume-committed.inner-false-object-error:cleanup", + "observation": { + "sender": ["fcb233bb6e13", "2eeacc921b96"], + "payloads": ["b6e709c11a41", "f98de3f4f0c2"], + "settlements": { + "recover": "c8a7c6e1a485" + }, + "state": "54c5309cac70", + "effects": ["be67e12f6925", "d433a326314e"] + } + }, + { + "id": "relay-pairing-recovery-resume-committed.outer-refused:recovered-on-resume", + "observation": { + "sender": ["a772bd8e8c4e", "c4e8e63a5f9f"], + "payloads": ["b6e709c11a41", "f98de3f4f0c2"], + "settlements": { + "recover": "9270aeb7d9c6" + }, + "state": "54c5309cac70", + "effects": ["be67e12f6925"] + } + }, + { + "id": "relay-pairing-recovery-resume-committed.outer-refused:cleanup", + "observation": { + "sender": ["a772bd8e8c4e", "2eeacc921b96"], + "payloads": ["b6e709c11a41", "f98de3f4f0c2"], + "settlements": { + "recover": "c8a7c6e1a485" + }, + "state": "54c5309cac70", + "effects": ["be67e12f6925", "d433a326314e"] + } + }, + { + "id": "relay-pairing-recovery-resume-committed.outer-refused-no-message:recovered-on-resume", + "observation": { + "sender": ["baf49bcdca70", "c4e8e63a5f9f"], + "payloads": ["b6e709c11a41", "f98de3f4f0c2"], + "settlements": { + "recover": "9270aeb7d9c6" + }, + "state": "54c5309cac70", + "effects": ["be67e12f6925"] + } + }, + { + "id": "relay-pairing-recovery-resume-committed.outer-refused-no-message:cleanup", + "observation": { + "sender": ["baf49bcdca70", "2eeacc921b96"], + "payloads": ["b6e709c11a41", "f98de3f4f0c2"], + "settlements": { + "recover": "c8a7c6e1a485" + }, + "state": "54c5309cac70", + "effects": ["be67e12f6925", "d433a326314e"] + } + }, + { + "id": "relay-pairing-recovery-resume-committed.method-not-found:recovered-on-resume", + "observation": { + "sender": ["10e679344b45", "c4e8e63a5f9f"], + "payloads": ["b6e709c11a41", "f98de3f4f0c2"], + "settlements": { + "recover": "9270aeb7d9c6" + }, + "state": "54c5309cac70", + "effects": ["be67e12f6925"] + } + }, + { + "id": "relay-pairing-recovery-resume-committed.method-not-found:cleanup", + "observation": { + "sender": ["10e679344b45", "2eeacc921b96"], + "payloads": ["b6e709c11a41", "f98de3f4f0c2"], + "settlements": { + "recover": "c8a7c6e1a485" + }, + "state": "54c5309cac70", + "effects": ["be67e12f6925", "d433a326314e"] + } + }, + { + "id": "relay-pairing-recovery-resume-committed.transport-rejection:recovered-on-resume", + "observation": { + "sender": ["aede376f279f", "c4e8e63a5f9f"], + "payloads": ["b6e709c11a41", "f98de3f4f0c2"], + "settlements": { + "recover": "9270aeb7d9c6" + }, + "state": "54c5309cac70", + "effects": ["be67e12f6925"] + } + }, + { + "id": "relay-pairing-recovery-resume-committed.transport-rejection:cleanup", + "observation": { + "sender": ["aede376f279f", "2eeacc921b96"], + "payloads": ["b6e709c11a41", "f98de3f4f0c2"], + "settlements": { + "recover": "c8a7c6e1a485" + }, + "state": "54c5309cac70", + "effects": ["be67e12f6925", "d433a326314e"] + } + }, + { + "id": "relay-pairing-recovery-resume-committed.transport-rejection-no-message:recovered-on-resume", + "observation": { + "sender": ["83b560135719", "c4e8e63a5f9f"], + "payloads": ["b6e709c11a41", "f98de3f4f0c2"], + "settlements": { + "recover": "9270aeb7d9c6" + }, + "state": "54c5309cac70", + "effects": ["be67e12f6925"] + } + }, + { + "id": "relay-pairing-recovery-resume-committed.transport-rejection-no-message:cleanup", + "observation": { + "sender": ["83b560135719", "2eeacc921b96"], + "payloads": ["b6e709c11a41", "f98de3f4f0c2"], + "settlements": { + "recover": "c8a7c6e1a485" + }, + "state": "54c5309cac70", + "effects": ["be67e12f6925", "d433a326314e"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-session.content-create-files.createfile-1.json b/mobile/rpc-foundation/goldens/matrix-session.content-create-files.createfile-1.json new file mode 100644 index 00000000000..d153caf18b6 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-session.content-create-files.createfile-1.json @@ -0,0 +1,745 @@ +{ + "operation": "session.content-create", + "family": "session.content-create", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "562c2f4ab669e774dd7045ecd9518e483845433fef6034688090f3b056df2815", + "scenarioSha256": "06bf92360e6985770c08a9e53be0f55b6e8ff120d4e6411dacc22e88d08cef32", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "006bbcab150a": { + "name": "toast", + "value": { + "message": "" + }, + "sent": 3 + }, + "085ee12ac483": { + "name": "fetch-session-tabs", + "value": {}, + "sent": 4 + }, + "134529524560": { + "name": "files.createFile#1", + "args": [ + { + "name": "method", + "value": "files.createFile" + }, + { + "name": "params", + "value": { + "expectedExecutionHostId": "local", + "relativePath": "untitled.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "134e6545bfe5": { + "createError": "transport failure", + "creatingBrowser": false, + "creatingMarkdown": false, + "pendingBrowserFocusPageId": { + "$rpc": "null" + } + }, + "1e5b32902af7": { + "name": "status.get#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "37cca55d53d5": { + "name": "files.open#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"files.open\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"untitled.md\"}}" + }, + "4267c22fd1f9": { + "name": "files.createFile#1", + "args": [ + { + "name": "method", + "value": "files.createFile" + }, + { + "name": "params", + "value": { + "expectedExecutionHostId": "local", + "relativePath": "untitled.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "created": true + } + } + } + }, + "57c499bb588a": { + "name": "files.createFile#1", + "args": [ + { + "name": "method", + "value": "files.createFile" + }, + { + "name": "params", + "value": { + "expectedExecutionHostId": "local", + "relativePath": "untitled.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "6371ca02b18e": { + "createError": "outer refused", + "creatingBrowser": false, + "creatingMarkdown": false, + "pendingBrowserFocusPageId": { + "$rpc": "null" + } + }, + "6d1fe7f1befc": { + "name": "toast", + "value": { + "message": "outer refused" + }, + "sent": 3 + }, + "6dbcdf95b6b6": { + "name": "files.createFile#1", + "args": [ + { + "name": "method", + "value": "files.createFile" + }, + { + "name": "params", + "value": { + "expectedExecutionHostId": "local", + "relativePath": "untitled.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true + } + } + }, + "71b67af3c605": { + "name": "files.createFile#1", + "args": [ + { + "name": "method", + "value": "files.createFile" + }, + { + "name": "params", + "value": { + "expectedExecutionHostId": "local", + "relativePath": "untitled.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-3", + "ok": false + } + } + }, + "77c6fe7dd40b": { + "name": "files.createFile#1", + "args": [ + { + "name": "method", + "value": "files.createFile" + }, + { + "name": "params", + "value": { + "expectedExecutionHostId": "local", + "relativePath": "untitled.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "858443742ca1": { + "createError": "Failed to create markdown note", + "creatingBrowser": false, + "creatingMarkdown": false, + "pendingBrowserFocusPageId": { + "$rpc": "null" + } + }, + "879466dc0533": { + "name": "toast", + "value": { + "message": "Unknown method" + }, + "sent": 3 + }, + "8bdc2aec524d": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "worktree": { + "hostId": "local" + } + } + } + } + }, + "9199aee60486": { + "name": "worktree.show#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:workspace-1\"}}" + }, + "9692063e7d70": { + "name": "toast", + "value": { + "message": "Failed to create markdown note" + }, + "sent": 3 + }, + "97472d30cdaa": { + "name": "files.createFile#1", + "args": [ + { + "name": "method", + "value": "files.createFile" + }, + { + "name": "params", + "value": { + "expectedExecutionHostId": "local", + "relativePath": "untitled.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "a56852d6836b": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "capabilities": ["files.mutation-ownership.v1"] + } + } + } + }, + "a5f927c1b077": { + "name": "toast", + "value": { + "message": "transport failure" + }, + "sent": 3 + }, + "b48dafba8627": { + "name": "files.createFile#1", + "args": [ + { + "name": "method", + "value": "files.createFile" + }, + { + "name": "params", + "value": { + "expectedExecutionHostId": "local", + "relativePath": "untitled.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-3", + "ok": false + } + } + }, + "b8e28a0d1137": { + "name": "files.createFile#1", + "args": [ + { + "name": "method", + "value": "files.createFile" + }, + { + "name": "params", + "value": { + "expectedExecutionHostId": "local", + "relativePath": "untitled.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "d38c135a5752": { + "name": "files.open#1", + "args": [ + { + "name": "method", + "value": "files.open" + }, + { + "name": "params", + "value": { + "relativePath": "untitled.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "opened": true + } + } + } + }, + "d3f9329bc046": { + "name": "files.createFile#1", + "args": [ + { + "name": "method", + "value": "files.createFile" + }, + { + "name": "params", + "value": { + "expectedExecutionHostId": "local", + "relativePath": "untitled.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-3", + "ok": false + } + } + }, + "d574cdcd4bef": { + "createError": "", + "creatingBrowser": false, + "creatingMarkdown": false, + "pendingBrowserFocusPageId": { + "$rpc": "null" + } + }, + "de7d988ecdc7": { + "name": "files.createFile#1", + "args": [ + { + "name": "method", + "value": "files.createFile" + }, + { + "name": "params", + "value": { + "expectedExecutionHostId": "local", + "relativePath": "untitled.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "e344f453f8a0": { + "name": "files.createFile#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"files.createFile\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"untitled.md\",\"expectedExecutionHostId\":\"local\"}}" + }, + "e6b6cf30c6ee": { + "createError": "Unknown method", + "creatingBrowser": false, + "creatingMarkdown": false, + "pendingBrowserFocusPageId": { + "$rpc": "null" + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "matrix-session.content-create-files.createfile-1", + "checkpoints": [ + { + "id": "session-create-markdown-note.normal:created", + "observation": { + "sender": ["a56852d6836b", "8bdc2aec524d", "4267c22fd1f9", "d38c135a5752"], + "payloads": ["1e5b32902af7", "9199aee60486", "e344f453f8a0", "37cca55d53d5"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "d574cdcd4bef", + "effects": ["085ee12ac483"] + } + }, + { + "id": "session-create-markdown-note.result-absent:created", + "observation": { + "sender": ["a56852d6836b", "8bdc2aec524d", "6dbcdf95b6b6", "d38c135a5752"], + "payloads": ["1e5b32902af7", "9199aee60486", "e344f453f8a0", "37cca55d53d5"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "d574cdcd4bef", + "effects": ["085ee12ac483"] + } + }, + { + "id": "session-create-markdown-note.result-null:created", + "observation": { + "sender": ["a56852d6836b", "8bdc2aec524d", "77c6fe7dd40b", "d38c135a5752"], + "payloads": ["1e5b32902af7", "9199aee60486", "e344f453f8a0", "37cca55d53d5"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "d574cdcd4bef", + "effects": ["085ee12ac483"] + } + }, + { + "id": "session-create-markdown-note.inner-ok-missing:created", + "observation": { + "sender": ["a56852d6836b", "8bdc2aec524d", "97472d30cdaa", "d38c135a5752"], + "payloads": ["1e5b32902af7", "9199aee60486", "e344f453f8a0", "37cca55d53d5"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "d574cdcd4bef", + "effects": ["085ee12ac483"] + } + }, + { + "id": "session-create-markdown-note.inner-false-string-error:created", + "observation": { + "sender": ["a56852d6836b", "8bdc2aec524d", "b8e28a0d1137", "d38c135a5752"], + "payloads": ["1e5b32902af7", "9199aee60486", "e344f453f8a0", "37cca55d53d5"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "d574cdcd4bef", + "effects": ["085ee12ac483"] + } + }, + { + "id": "session-create-markdown-note.inner-false-object-error:created", + "observation": { + "sender": ["a56852d6836b", "8bdc2aec524d", "134529524560", "d38c135a5752"], + "payloads": ["1e5b32902af7", "9199aee60486", "e344f453f8a0", "37cca55d53d5"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "d574cdcd4bef", + "effects": ["085ee12ac483"] + } + }, + { + "id": "session-create-markdown-note.outer-refused:created", + "observation": { + "sender": ["a56852d6836b", "8bdc2aec524d", "71b67af3c605"], + "payloads": ["1e5b32902af7", "9199aee60486", "e344f453f8a0"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "6371ca02b18e", + "effects": ["6d1fe7f1befc"] + } + }, + { + "id": "session-create-markdown-note.outer-refused-no-message:created", + "observation": { + "sender": ["a56852d6836b", "8bdc2aec524d", "d3f9329bc046"], + "payloads": ["1e5b32902af7", "9199aee60486", "e344f453f8a0"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "858443742ca1", + "effects": ["9692063e7d70"] + } + }, + { + "id": "session-create-markdown-note.method-not-found:created", + "observation": { + "sender": ["a56852d6836b", "8bdc2aec524d", "b48dafba8627"], + "payloads": ["1e5b32902af7", "9199aee60486", "e344f453f8a0"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "e6b6cf30c6ee", + "effects": ["879466dc0533"] + } + }, + { + "id": "session-create-markdown-note.transport-rejection:created", + "observation": { + "sender": ["a56852d6836b", "8bdc2aec524d", "57c499bb588a"], + "payloads": ["1e5b32902af7", "9199aee60486", "e344f453f8a0"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "134e6545bfe5", + "effects": ["a5f927c1b077"] + } + }, + { + "id": "session-create-markdown-note.transport-rejection-no-message:created", + "observation": { + "sender": ["a56852d6836b", "8bdc2aec524d", "de7d988ecdc7"], + "payloads": ["1e5b32902af7", "9199aee60486", "e344f453f8a0"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "d574cdcd4bef", + "effects": ["006bbcab150a"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-session.content-create-files.open-1.json b/mobile/rpc-foundation/goldens/matrix-session.content-create-files.open-1.json new file mode 100644 index 00000000000..55db656b887 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-session.content-create-files.open-1.json @@ -0,0 +1,720 @@ +{ + "operation": "session.content-create", + "family": "session.content-create", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "562c2f4ab669e774dd7045ecd9518e483845433fef6034688090f3b056df2815", + "scenarioSha256": "17f87233352ff8e452f061f4558d58b44643efe49313162d4aad140343a1ead9", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "085ee12ac483": { + "name": "fetch-session-tabs", + "value": {}, + "sent": 4 + }, + "0c347b60646f": { + "name": "files.open#1", + "args": [ + { + "name": "method", + "value": "files.open" + }, + { + "name": "params", + "value": { + "relativePath": "untitled.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "134e6545bfe5": { + "createError": "transport failure", + "creatingBrowser": false, + "creatingMarkdown": false, + "pendingBrowserFocusPageId": { + "$rpc": "null" + } + }, + "1992078b76bc": { + "name": "files.open#1", + "args": [ + { + "name": "method", + "value": "files.open" + }, + { + "name": "params", + "value": { + "relativePath": "untitled.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "1e5b32902af7": { + "name": "status.get#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "22f35b5356ec": { + "name": "files.open#1", + "args": [ + { + "name": "method", + "value": "files.open" + }, + { + "name": "params", + "value": { + "relativePath": "untitled.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-4", + "ok": false + } + } + }, + "307d0ae6d2d4": { + "name": "files.open#1", + "args": [ + { + "name": "method", + "value": "files.open" + }, + { + "name": "params", + "value": { + "relativePath": "untitled.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "37cca55d53d5": { + "name": "files.open#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"files.open\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"untitled.md\"}}" + }, + "388514fefdfe": { + "name": "files.open#1", + "args": [ + { + "name": "method", + "value": "files.open" + }, + { + "name": "params", + "value": { + "relativePath": "untitled.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true + } + } + }, + "3fd5c61b35b3": { + "name": "toast", + "value": { + "message": "transport failure" + }, + "sent": 4 + }, + "4267c22fd1f9": { + "name": "files.createFile#1", + "args": [ + { + "name": "method", + "value": "files.createFile" + }, + { + "name": "params", + "value": { + "expectedExecutionHostId": "local", + "relativePath": "untitled.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "created": true + } + } + } + }, + "58c8c82aa603": { + "name": "files.open#1", + "args": [ + { + "name": "method", + "value": "files.open" + }, + { + "name": "params", + "value": { + "relativePath": "untitled.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-4", + "ok": false + } + } + }, + "6371ca02b18e": { + "createError": "outer refused", + "creatingBrowser": false, + "creatingMarkdown": false, + "pendingBrowserFocusPageId": { + "$rpc": "null" + } + }, + "6d38c61f400a": { + "name": "files.open#1", + "args": [ + { + "name": "method", + "value": "files.open" + }, + { + "name": "params", + "value": { + "relativePath": "untitled.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "76cf096ee3b3": { + "name": "files.open#1", + "args": [ + { + "name": "method", + "value": "files.open" + }, + { + "name": "params", + "value": { + "relativePath": "untitled.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "8bdc2aec524d": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "worktree": { + "hostId": "local" + } + } + } + } + }, + "9199aee60486": { + "name": "worktree.show#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:workspace-1\"}}" + }, + "95dfbae14c1c": { + "name": "toast", + "value": { + "message": "Unknown method" + }, + "sent": 4 + }, + "9b692e87f70b": { + "name": "toast", + "value": { + "message": "outer refused" + }, + "sent": 4 + }, + "a565992e03ed": { + "name": "toast", + "value": { + "message": "" + }, + "sent": 4 + }, + "a56852d6836b": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "capabilities": ["files.mutation-ownership.v1"] + } + } + } + }, + "d38c135a5752": { + "name": "files.open#1", + "args": [ + { + "name": "method", + "value": "files.open" + }, + { + "name": "params", + "value": { + "relativePath": "untitled.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "opened": true + } + } + } + }, + "d574cdcd4bef": { + "createError": "", + "creatingBrowser": false, + "creatingMarkdown": false, + "pendingBrowserFocusPageId": { + "$rpc": "null" + } + }, + "e344f453f8a0": { + "name": "files.createFile#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"files.createFile\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"untitled.md\",\"expectedExecutionHostId\":\"local\"}}" + }, + "e6b6cf30c6ee": { + "createError": "Unknown method", + "creatingBrowser": false, + "creatingMarkdown": false, + "pendingBrowserFocusPageId": { + "$rpc": "null" + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ee24e2e55136": { + "name": "files.open#1", + "args": [ + { + "name": "method", + "value": "files.open" + }, + { + "name": "params", + "value": { + "relativePath": "untitled.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "fd7e611b3d86": { + "name": "files.open#1", + "args": [ + { + "name": "method", + "value": "files.open" + }, + { + "name": "params", + "value": { + "relativePath": "untitled.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-4", + "ok": false + } + } + } + }, + "recording": { + "scenario": "matrix-session.content-create-files.open-1", + "checkpoints": [ + { + "id": "session-create-markdown-note.normal:created", + "observation": { + "sender": ["a56852d6836b", "8bdc2aec524d", "4267c22fd1f9", "d38c135a5752"], + "payloads": ["1e5b32902af7", "9199aee60486", "e344f453f8a0", "37cca55d53d5"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "d574cdcd4bef", + "effects": ["085ee12ac483"] + } + }, + { + "id": "session-create-markdown-note.result-absent:created", + "observation": { + "sender": ["a56852d6836b", "8bdc2aec524d", "4267c22fd1f9", "388514fefdfe"], + "payloads": ["1e5b32902af7", "9199aee60486", "e344f453f8a0", "37cca55d53d5"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "d574cdcd4bef", + "effects": ["085ee12ac483"] + } + }, + { + "id": "session-create-markdown-note.result-null:created", + "observation": { + "sender": ["a56852d6836b", "8bdc2aec524d", "4267c22fd1f9", "ee24e2e55136"], + "payloads": ["1e5b32902af7", "9199aee60486", "e344f453f8a0", "37cca55d53d5"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "d574cdcd4bef", + "effects": ["085ee12ac483"] + } + }, + { + "id": "session-create-markdown-note.inner-ok-missing:created", + "observation": { + "sender": ["a56852d6836b", "8bdc2aec524d", "4267c22fd1f9", "0c347b60646f"], + "payloads": ["1e5b32902af7", "9199aee60486", "e344f453f8a0", "37cca55d53d5"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "d574cdcd4bef", + "effects": ["085ee12ac483"] + } + }, + { + "id": "session-create-markdown-note.inner-false-string-error:created", + "observation": { + "sender": ["a56852d6836b", "8bdc2aec524d", "4267c22fd1f9", "6d38c61f400a"], + "payloads": ["1e5b32902af7", "9199aee60486", "e344f453f8a0", "37cca55d53d5"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "d574cdcd4bef", + "effects": ["085ee12ac483"] + } + }, + { + "id": "session-create-markdown-note.inner-false-object-error:created", + "observation": { + "sender": ["a56852d6836b", "8bdc2aec524d", "4267c22fd1f9", "307d0ae6d2d4"], + "payloads": ["1e5b32902af7", "9199aee60486", "e344f453f8a0", "37cca55d53d5"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "d574cdcd4bef", + "effects": ["085ee12ac483"] + } + }, + { + "id": "session-create-markdown-note.outer-refused:created", + "observation": { + "sender": ["a56852d6836b", "8bdc2aec524d", "4267c22fd1f9", "58c8c82aa603"], + "payloads": ["1e5b32902af7", "9199aee60486", "e344f453f8a0", "37cca55d53d5"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "6371ca02b18e", + "effects": ["9b692e87f70b"] + } + }, + { + "id": "session-create-markdown-note.outer-refused-no-message:created", + "observation": { + "sender": ["a56852d6836b", "8bdc2aec524d", "4267c22fd1f9", "22f35b5356ec"], + "payloads": ["1e5b32902af7", "9199aee60486", "e344f453f8a0", "37cca55d53d5"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "d574cdcd4bef", + "effects": ["a565992e03ed"] + } + }, + { + "id": "session-create-markdown-note.method-not-found:created", + "observation": { + "sender": ["a56852d6836b", "8bdc2aec524d", "4267c22fd1f9", "fd7e611b3d86"], + "payloads": ["1e5b32902af7", "9199aee60486", "e344f453f8a0", "37cca55d53d5"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "e6b6cf30c6ee", + "effects": ["95dfbae14c1c"] + } + }, + { + "id": "session-create-markdown-note.transport-rejection:created", + "observation": { + "sender": ["a56852d6836b", "8bdc2aec524d", "4267c22fd1f9", "76cf096ee3b3"], + "payloads": ["1e5b32902af7", "9199aee60486", "e344f453f8a0", "37cca55d53d5"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "134e6545bfe5", + "effects": ["3fd5c61b35b3"] + } + }, + { + "id": "session-create-markdown-note.transport-rejection-no-message:created", + "observation": { + "sender": ["a56852d6836b", "8bdc2aec524d", "4267c22fd1f9", "1992078b76bc"], + "payloads": ["1e5b32902af7", "9199aee60486", "e344f453f8a0", "37cca55d53d5"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "d574cdcd4bef", + "effects": ["a565992e03ed"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-session.content-create-status.get-1.json b/mobile/rpc-foundation/goldens/matrix-session.content-create-status.get-1.json new file mode 100644 index 00000000000..564285af2e5 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-session.content-create-status.get-1.json @@ -0,0 +1,755 @@ +{ + "operation": "session.content-create", + "family": "session.content-create", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "562c2f4ab669e774dd7045ecd9518e483845433fef6034688090f3b056df2815", + "scenarioSha256": "5100bd674509d1d83b1e2594eee036af21ea14b12226185b44070555d1d43060", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "085ee12ac483": { + "name": "fetch-session-tabs", + "value": {}, + "sent": 4 + }, + "0b7588536afb": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "0d163aa89099": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "134e6545bfe5": { + "createError": "transport failure", + "creatingBrowser": false, + "creatingMarkdown": false, + "pendingBrowserFocusPageId": { + "$rpc": "null" + } + }, + "1e5b32902af7": { + "name": "status.get#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "1fe9fbe7d375": { + "createError": "Cannot read properties of undefined (reading 'capabilities')", + "creatingBrowser": false, + "creatingMarkdown": false, + "pendingBrowserFocusPageId": { + "$rpc": "null" + } + }, + "37cca55d53d5": { + "name": "files.open#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"files.open\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"untitled.md\"}}" + }, + "39cfe991f857": { + "name": "toast", + "value": { + "message": "Cannot read properties of null (reading 'capabilities')" + }, + "sent": 1 + }, + "4267c22fd1f9": { + "name": "files.createFile#1", + "args": [ + { + "name": "method", + "value": "files.createFile" + }, + { + "name": "params", + "value": { + "expectedExecutionHostId": "local", + "relativePath": "untitled.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "created": true + } + } + } + }, + "48e2bdc38094": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "4b0fb2833d76": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "5216935e6a30": { + "name": "toast", + "value": { + "message": "Cannot read properties of undefined (reading 'capabilities')" + }, + "sent": 1 + }, + "573973431b35": { + "name": "toast", + "value": { + "message": "outer refused" + }, + "sent": 1 + }, + "6371ca02b18e": { + "createError": "outer refused", + "creatingBrowser": false, + "creatingMarkdown": false, + "pendingBrowserFocusPageId": { + "$rpc": "null" + } + }, + "67e91d4ad9ea": { + "name": "toast", + "value": { + "message": "" + }, + "sent": 1 + }, + "74a9cdb3c227": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "753f8f2aac3b": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-1", + "ok": false + } + } + }, + "7799ca596f0c": { + "createError": "Remote file changes require a newer Orca server. Update the HUB and try again.", + "creatingBrowser": false, + "creatingMarkdown": false, + "pendingBrowserFocusPageId": { + "$rpc": "null" + } + }, + "8bdc2aec524d": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "worktree": { + "hostId": "local" + } + } + } + } + }, + "90817e8c47cb": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "9199aee60486": { + "name": "worktree.show#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:workspace-1\"}}" + }, + "a56852d6836b": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "capabilities": ["files.mutation-ownership.v1"] + } + } + } + }, + "a7bdf95d4886": { + "name": "toast", + "value": { + "message": "Remote file changes require a newer Orca server. Update the HUB and try again." + }, + "sent": 1 + }, + "a8d9f204690e": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "c09254b8373a": { + "name": "toast", + "value": { + "message": "Unknown method" + }, + "sent": 1 + }, + "d38c135a5752": { + "name": "files.open#1", + "args": [ + { + "name": "method", + "value": "files.open" + }, + { + "name": "params", + "value": { + "relativePath": "untitled.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "opened": true + } + } + } + }, + "d574cdcd4bef": { + "createError": "", + "creatingBrowser": false, + "creatingMarkdown": false, + "pendingBrowserFocusPageId": { + "$rpc": "null" + } + }, + "e1f916d49745": { + "createError": "Cannot read properties of null (reading 'capabilities')", + "creatingBrowser": false, + "creatingMarkdown": false, + "pendingBrowserFocusPageId": { + "$rpc": "null" + } + }, + "e344f453f8a0": { + "name": "files.createFile#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"files.createFile\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"untitled.md\",\"expectedExecutionHostId\":\"local\"}}" + }, + "e6b6cf30c6ee": { + "createError": "Unknown method", + "creatingBrowser": false, + "creatingMarkdown": false, + "pendingBrowserFocusPageId": { + "$rpc": "null" + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ef64e4eaa635": { + "name": "toast", + "value": { + "message": "transport failure" + }, + "sent": 1 + }, + "f2a2b92aa73c": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "f68f9c806fb2": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + } + }, + "recording": { + "scenario": "matrix-session.content-create-status.get-1", + "checkpoints": [ + { + "id": "session-create-markdown-note.normal:created", + "observation": { + "sender": ["a56852d6836b", "8bdc2aec524d", "4267c22fd1f9", "d38c135a5752"], + "payloads": ["1e5b32902af7", "9199aee60486", "e344f453f8a0", "37cca55d53d5"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "d574cdcd4bef", + "effects": ["085ee12ac483"] + } + }, + { + "id": "session-create-markdown-note.result-absent:created", + "observation": { + "sender": ["90817e8c47cb"], + "payloads": ["1e5b32902af7"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "1fe9fbe7d375", + "effects": ["5216935e6a30"] + } + }, + { + "id": "session-create-markdown-note.result-null:created", + "observation": { + "sender": ["0d163aa89099"], + "payloads": ["1e5b32902af7"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "e1f916d49745", + "effects": ["39cfe991f857"] + } + }, + { + "id": "session-create-markdown-note.inner-ok-missing:created", + "observation": { + "sender": ["48e2bdc38094"], + "payloads": ["1e5b32902af7"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "7799ca596f0c", + "effects": ["a7bdf95d4886"] + } + }, + { + "id": "session-create-markdown-note.inner-false-string-error:created", + "observation": { + "sender": ["f2a2b92aa73c"], + "payloads": ["1e5b32902af7"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "7799ca596f0c", + "effects": ["a7bdf95d4886"] + } + }, + { + "id": "session-create-markdown-note.inner-false-object-error:created", + "observation": { + "sender": ["f68f9c806fb2"], + "payloads": ["1e5b32902af7"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "7799ca596f0c", + "effects": ["a7bdf95d4886"] + } + }, + { + "id": "session-create-markdown-note.outer-refused:created", + "observation": { + "sender": ["0b7588536afb"], + "payloads": ["1e5b32902af7"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "6371ca02b18e", + "effects": ["573973431b35"] + } + }, + { + "id": "session-create-markdown-note.outer-refused-no-message:created", + "observation": { + "sender": ["a8d9f204690e"], + "payloads": ["1e5b32902af7"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "d574cdcd4bef", + "effects": ["67e91d4ad9ea"] + } + }, + { + "id": "session-create-markdown-note.method-not-found:created", + "observation": { + "sender": ["753f8f2aac3b"], + "payloads": ["1e5b32902af7"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "e6b6cf30c6ee", + "effects": ["c09254b8373a"] + } + }, + { + "id": "session-create-markdown-note.transport-rejection:created", + "observation": { + "sender": ["4b0fb2833d76"], + "payloads": ["1e5b32902af7"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "134e6545bfe5", + "effects": ["ef64e4eaa635"] + } + }, + { + "id": "session-create-markdown-note.transport-rejection-no-message:created", + "observation": { + "sender": ["74a9cdb3c227"], + "payloads": ["1e5b32902af7"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "d574cdcd4bef", + "effects": ["67e91d4ad9ea"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-session.content-create-worktree.show-1.json b/mobile/rpc-foundation/goldens/matrix-session.content-create-worktree.show-1.json new file mode 100644 index 00000000000..50f1d132ae9 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-session.content-create-worktree.show-1.json @@ -0,0 +1,755 @@ +{ + "operation": "session.content-create", + "family": "session.content-create", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "562c2f4ab669e774dd7045ecd9518e483845433fef6034688090f3b056df2815", + "scenarioSha256": "b9ca49e401df8710924f200f92a071bac2e120ed43df7be2cfb8a325ab1cd9cb", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "04daff40433c": { + "name": "toast", + "value": { + "message": "Cannot read properties of undefined (reading 'worktree')" + }, + "sent": 2 + }, + "06cbb9a1b167": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "085ee12ac483": { + "name": "fetch-session-tabs", + "value": {}, + "sent": 4 + }, + "0b4d42954d52": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "0f19e340663d": { + "createError": "Couldn't verify the SSH connection. Reconnect the host and try again.", + "creatingBrowser": false, + "creatingMarkdown": false, + "pendingBrowserFocusPageId": { + "$rpc": "null" + } + }, + "134e6545bfe5": { + "createError": "transport failure", + "creatingBrowser": false, + "creatingMarkdown": false, + "pendingBrowserFocusPageId": { + "$rpc": "null" + } + }, + "18c7d85a52ed": { + "name": "toast", + "value": { + "message": "outer refused" + }, + "sent": 2 + }, + "1e5b32902af7": { + "name": "status.get#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "2fa02ab5402f": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "37cca55d53d5": { + "name": "files.open#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"files.open\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"untitled.md\"}}" + }, + "39a0b3c0e319": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "4267c22fd1f9": { + "name": "files.createFile#1", + "args": [ + { + "name": "method", + "value": "files.createFile" + }, + { + "name": "params", + "value": { + "expectedExecutionHostId": "local", + "relativePath": "untitled.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "created": true + } + } + } + }, + "478f94a2bcc8": { + "name": "toast", + "value": { + "message": "" + }, + "sent": 2 + }, + "533d020d6123": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "5ba3f7c5f6d9": { + "name": "toast", + "value": { + "message": "transport failure" + }, + "sent": 2 + }, + "6371ca02b18e": { + "createError": "outer refused", + "creatingBrowser": false, + "creatingMarkdown": false, + "pendingBrowserFocusPageId": { + "$rpc": "null" + } + }, + "7822fc8c989d": { + "createError": "Cannot read properties of undefined (reading 'worktree')", + "creatingBrowser": false, + "creatingMarkdown": false, + "pendingBrowserFocusPageId": { + "$rpc": "null" + } + }, + "8845bcbdc51b": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "8bdc2aec524d": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "worktree": { + "hostId": "local" + } + } + } + } + }, + "9199aee60486": { + "name": "worktree.show#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:workspace-1\"}}" + }, + "a139e9a165cd": { + "name": "toast", + "value": { + "message": "Cannot read properties of null (reading 'worktree')" + }, + "sent": 2 + }, + "a232b2091bac": { + "name": "toast", + "value": { + "message": "Couldn't verify the SSH connection. Reconnect the host and try again." + }, + "sent": 2 + }, + "a56852d6836b": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "capabilities": ["files.mutation-ownership.v1"] + } + } + } + }, + "abce4dddd0aa": { + "name": "toast", + "value": { + "message": "Unknown method" + }, + "sent": 2 + }, + "c6aa5c0a7bd1": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "cff8b7a5e7ce": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "d38c135a5752": { + "name": "files.open#1", + "args": [ + { + "name": "method", + "value": "files.open" + }, + { + "name": "params", + "value": { + "relativePath": "untitled.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "opened": true + } + } + } + }, + "d574cdcd4bef": { + "createError": "", + "creatingBrowser": false, + "creatingMarkdown": false, + "pendingBrowserFocusPageId": { + "$rpc": "null" + } + }, + "d7217a17cb5c": { + "createError": "Cannot read properties of null (reading 'worktree')", + "creatingBrowser": false, + "creatingMarkdown": false, + "pendingBrowserFocusPageId": { + "$rpc": "null" + } + }, + "e344f453f8a0": { + "name": "files.createFile#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"files.createFile\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"untitled.md\",\"expectedExecutionHostId\":\"local\"}}" + }, + "e6b6cf30c6ee": { + "createError": "Unknown method", + "creatingBrowser": false, + "creatingMarkdown": false, + "pendingBrowserFocusPageId": { + "$rpc": "null" + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "fc05e7103b6c": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "fd50303f30ce": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + } + }, + "recording": { + "scenario": "matrix-session.content-create-worktree.show-1", + "checkpoints": [ + { + "id": "session-create-markdown-note.normal:created", + "observation": { + "sender": ["a56852d6836b", "8bdc2aec524d", "4267c22fd1f9", "d38c135a5752"], + "payloads": ["1e5b32902af7", "9199aee60486", "e344f453f8a0", "37cca55d53d5"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "d574cdcd4bef", + "effects": ["085ee12ac483"] + } + }, + { + "id": "session-create-markdown-note.result-absent:created", + "observation": { + "sender": ["a56852d6836b", "533d020d6123"], + "payloads": ["1e5b32902af7", "9199aee60486"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "7822fc8c989d", + "effects": ["04daff40433c"] + } + }, + { + "id": "session-create-markdown-note.result-null:created", + "observation": { + "sender": ["a56852d6836b", "39a0b3c0e319"], + "payloads": ["1e5b32902af7", "9199aee60486"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "d7217a17cb5c", + "effects": ["a139e9a165cd"] + } + }, + { + "id": "session-create-markdown-note.inner-ok-missing:created", + "observation": { + "sender": ["a56852d6836b", "06cbb9a1b167"], + "payloads": ["1e5b32902af7", "9199aee60486"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "0f19e340663d", + "effects": ["a232b2091bac"] + } + }, + { + "id": "session-create-markdown-note.inner-false-string-error:created", + "observation": { + "sender": ["a56852d6836b", "8845bcbdc51b"], + "payloads": ["1e5b32902af7", "9199aee60486"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "0f19e340663d", + "effects": ["a232b2091bac"] + } + }, + { + "id": "session-create-markdown-note.inner-false-object-error:created", + "observation": { + "sender": ["a56852d6836b", "2fa02ab5402f"], + "payloads": ["1e5b32902af7", "9199aee60486"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "0f19e340663d", + "effects": ["a232b2091bac"] + } + }, + { + "id": "session-create-markdown-note.outer-refused:created", + "observation": { + "sender": ["a56852d6836b", "cff8b7a5e7ce"], + "payloads": ["1e5b32902af7", "9199aee60486"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "6371ca02b18e", + "effects": ["18c7d85a52ed"] + } + }, + { + "id": "session-create-markdown-note.outer-refused-no-message:created", + "observation": { + "sender": ["a56852d6836b", "0b4d42954d52"], + "payloads": ["1e5b32902af7", "9199aee60486"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "d574cdcd4bef", + "effects": ["478f94a2bcc8"] + } + }, + { + "id": "session-create-markdown-note.method-not-found:created", + "observation": { + "sender": ["a56852d6836b", "c6aa5c0a7bd1"], + "payloads": ["1e5b32902af7", "9199aee60486"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "e6b6cf30c6ee", + "effects": ["abce4dddd0aa"] + } + }, + { + "id": "session-create-markdown-note.transport-rejection:created", + "observation": { + "sender": ["a56852d6836b", "fd50303f30ce"], + "payloads": ["1e5b32902af7", "9199aee60486"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "134e6545bfe5", + "effects": ["5ba3f7c5f6d9"] + } + }, + { + "id": "session-create-markdown-note.transport-rejection-no-message:created", + "observation": { + "sender": ["a56852d6836b", "fc05e7103b6c"], + "payloads": ["1e5b32902af7", "9199aee60486"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "d574cdcd4bef", + "effects": ["478f94a2bcc8"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-session.diff-notes-worktree.show-1.json b/mobile/rpc-foundation/goldens/matrix-session.diff-notes-worktree.show-1.json new file mode 100644 index 00000000000..db68b5c931a --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-session.diff-notes-worktree.show-1.json @@ -0,0 +1,622 @@ +{ + "operation": "session.diff-notes", + "family": "session.diff-notes", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "42334358b5e5966001639653b553f15033f6e201d785107871fe056536f0a5e2", + "scenarioSha256": "e54684bad13aa8b8b4794e06351c709053b1c4c6d87776ecdbb1dd1b4406a694", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "03647b94e7bf": { + "name": "worktree.show#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:workspace-1\"}}" + }, + "061e626847d1": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "2aee81f6fe31": { + "name": "unhandled-rejection", + "value": { + "category": "TypeError", + "isRpcDeliveryUnknown": false, + "message": "Cannot read properties of undefined (reading 'worktree')" + }, + "sent": 1 + }, + "39356bf6300e": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "3c47b5f5f31b": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "432aeb4f1709": { + "busy": false, + "diffComments": [], + "pendingDelivery": { + "$rpc": "null" + } + }, + "4b75b3dd3b11": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "787e19388f6a": { + "name": "unhandled-rejection", + "value": { + "category": "Error", + "isRpcDeliveryUnknown": true, + "message": "" + }, + "sent": 1 + }, + "789b682a36a9": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "877275dff6d5": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "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 + } + } + }, + "aca7af380492": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "worktree": { + "diffComments": [ + { + "body": "needs a test", + "createdAt": 0, + "filePath": "src/app.ts", + "id": "note-1", + "lineNumber": 4, + "worktreeId": "workspace-1" + } + ] + } + } + } + } + }, + "b80f8c3fa354": { + "name": "unhandled-rejection", + "value": { + "category": "Error", + "isRpcDeliveryUnknown": true, + "message": "transport failure" + }, + "sent": 1 + }, + "bcfad643c288": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "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 + } + } + } + }, + "ccfb4b1d3cd2": { + "name": "unhandled-rejection", + "value": { + "category": "TypeError", + "isRpcDeliveryUnknown": false, + "message": "Cannot read properties of null (reading 'worktree')" + }, + "sent": 1 + }, + "d122d6f393f0": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "e28b1ad79121": { + "busy": false, + "diffComments": [ + { + "body": "needs a test", + "createdAt": 0, + "diffIdentity": { + "$rpc": "undefined" + }, + "filePath": "src/app.ts", + "id": "note-1", + "lineNumber": 4, + "oldPath": { + "$rpc": "undefined" + }, + "scope": { + "$rpc": "undefined" + }, + "selectedText": { + "$rpc": "undefined" + }, + "sentAt": { + "$rpc": "undefined" + }, + "side": "modified", + "source": "diff", + "startLine": { + "$rpc": "undefined" + }, + "updatedAt": { + "$rpc": "undefined" + }, + "worktreeId": "workspace-1" + } + ], + "pendingDelivery": { + "$rpc": "null" + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ebacf8186f13": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "ee0229ca88e4": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + } + }, + "recording": { + "scenario": "matrix-session.diff-notes-worktree.show-1", + "checkpoints": [ + { + "id": "session-diff-notes-loaded.normal:loaded", + "observation": { + "sender": ["aca7af380492"], + "payloads": ["03647b94e7bf"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "e28b1ad79121", + "effects": [] + } + }, + { + "id": "session-diff-notes-loaded.result-absent:loaded", + "observation": { + "sender": ["4b75b3dd3b11"], + "payloads": ["03647b94e7bf"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "432aeb4f1709", + "effects": ["2aee81f6fe31"] + } + }, + { + "id": "session-diff-notes-loaded.result-null:loaded", + "observation": { + "sender": ["061e626847d1"], + "payloads": ["03647b94e7bf"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "432aeb4f1709", + "effects": ["ccfb4b1d3cd2"] + } + }, + { + "id": "session-diff-notes-loaded.inner-ok-missing:loaded", + "observation": { + "sender": ["789b682a36a9"], + "payloads": ["03647b94e7bf"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "432aeb4f1709", + "effects": [] + } + }, + { + "id": "session-diff-notes-loaded.inner-false-string-error:loaded", + "observation": { + "sender": ["ee0229ca88e4"], + "payloads": ["03647b94e7bf"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "432aeb4f1709", + "effects": [] + } + }, + { + "id": "session-diff-notes-loaded.inner-false-object-error:loaded", + "observation": { + "sender": ["bcfad643c288"], + "payloads": ["03647b94e7bf"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "432aeb4f1709", + "effects": [] + } + }, + { + "id": "session-diff-notes-loaded.outer-refused:loaded", + "observation": { + "sender": ["39356bf6300e"], + "payloads": ["03647b94e7bf"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "432aeb4f1709", + "effects": [] + } + }, + { + "id": "session-diff-notes-loaded.outer-refused-no-message:loaded", + "observation": { + "sender": ["d122d6f393f0"], + "payloads": ["03647b94e7bf"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "432aeb4f1709", + "effects": [] + } + }, + { + "id": "session-diff-notes-loaded.method-not-found:loaded", + "observation": { + "sender": ["877275dff6d5"], + "payloads": ["03647b94e7bf"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "432aeb4f1709", + "effects": [] + } + }, + { + "id": "session-diff-notes-loaded.transport-rejection:loaded", + "observation": { + "sender": ["ebacf8186f13"], + "payloads": ["03647b94e7bf"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "432aeb4f1709", + "effects": ["b80f8c3fa354"] + } + }, + { + "id": "session-diff-notes-loaded.transport-rejection-no-message:loaded", + "observation": { + "sender": ["3c47b5f5f31b"], + "payloads": ["03647b94e7bf"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "432aeb4f1709", + "effects": ["787e19388f6a"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-session.diff-review-actions-worktree.set-1.json b/mobile/rpc-foundation/goldens/matrix-session.diff-review-actions-worktree.set-1.json new file mode 100644 index 00000000000..4ea5e596611 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-session.diff-review-actions-worktree.set-1.json @@ -0,0 +1,1148 @@ +{ + "operation": "session.diff-review-actions", + "family": "session.diff-review-actions", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "fd443c85a6d2b0c1355e29f6f366e35d330a2033c7ddb90ab6713584ddda2f6f", + "scenarioSha256": "c583058382c949e977b7a1287895ed9ccb8cb408b684aef186b629976ff1da4d", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "02c4a9358dee": { + "actionError": { + "$rpc": "null" + }, + "busyAction": { + "$rpc": "null" + }, + "screenState": { + "branchCompare": { + "$rpc": "null" + }, + "comments": [ + { + "body": "needs a test", + "createdAt": 0, + "filePath": "src/app.ts", + "id": "note-1", + "lineNumber": 4, + "side": "modified", + "worktreeId": "workspace-1" + } + ], + "kind": "ready", + "reviewState": { + "completedAt": 1767225600000, + "files": { + "unstaged:src/app.ts": { + "filePath": "src/app.ts", + "key": "unstaged:src/app.ts", + "lastOpenedAt": { + "$rpc": "undefined" + }, + "lastSeenDiffIdentity": "identity-1", + "oldPath": { + "$rpc": "undefined" + }, + "reviewDiffIdentity": "identity-1", + "reviewedAt": 1767225600000, + "scope": "unstaged" + } + }, + "updatedAt": 1767225600000, + "version": 1 + }, + "status": { + "entries": [] + } + }, + "sendSheet": { + "$rpc": "null" + } + }, + "1a3792526461": { + "name": "worktree.set#1", + "args": [ + { + "name": "method", + "value": "worktree.set" + }, + { + "name": "params", + "value": { + "diffComments": [ + { + "body": "needs a test", + "createdAt": 0, + "filePath": "src/app.ts", + "id": "note-1", + "lineNumber": 4, + "side": "modified", + "worktreeId": "workspace-1" + } + ], + "mobileDiffReview": { + "completedAt": 1767225600000, + "files": { + "unstaged:src/app.ts": { + "filePath": "src/app.ts", + "key": "unstaged:src/app.ts", + "lastOpenedAt": { + "$rpc": "undefined" + }, + "lastSeenDiffIdentity": "identity-1", + "oldPath": { + "$rpc": "undefined" + }, + "reviewDiffIdentity": "identity-1", + "reviewedAt": 1767225600000, + "scope": "unstaged" + } + }, + "updatedAt": 1767225600000, + "version": 1 + }, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "1c6a13b5a4b5": { + "actionError": "", + "busyAction": { + "$rpc": "null" + }, + "screenState": { + "branchCompare": { + "$rpc": "null" + }, + "comments": [ + { + "body": "needs a test", + "createdAt": 0, + "filePath": "src/app.ts", + "id": "note-1", + "lineNumber": 4, + "side": "modified", + "worktreeId": "workspace-1" + } + ], + "kind": "ready", + "reviewState": { + "files": {}, + "version": 1 + }, + "status": { + "entries": [] + } + }, + "sendSheet": { + "$rpc": "null" + } + }, + "1cb44c350a93": { + "name": "worktree.set#1", + "args": [ + { + "name": "method", + "value": "worktree.set" + }, + { + "name": "params", + "value": { + "diffComments": [ + { + "body": "needs a test", + "createdAt": 0, + "filePath": "src/app.ts", + "id": "note-1", + "lineNumber": 4, + "side": "modified", + "worktreeId": "workspace-1" + } + ], + "mobileDiffReview": { + "completedAt": 1767225600000, + "files": { + "unstaged:src/app.ts": { + "filePath": "src/app.ts", + "key": "unstaged:src/app.ts", + "lastOpenedAt": { + "$rpc": "undefined" + }, + "lastSeenDiffIdentity": "identity-1", + "oldPath": { + "$rpc": "undefined" + }, + "reviewDiffIdentity": "identity-1", + "reviewedAt": 1767225600000, + "scope": "unstaged" + } + }, + "updatedAt": 1767225600000, + "version": 1 + }, + "worktree": "id:workspace-1" + } + }, + { + "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 + } + } + }, + "21c2e336c1b2": { + "name": "worktree.set#1", + "args": [ + { + "name": "method", + "value": "worktree.set" + }, + { + "name": "params", + "value": { + "diffComments": [ + { + "body": "needs a test", + "createdAt": 0, + "filePath": "src/app.ts", + "id": "note-1", + "lineNumber": 4, + "side": "modified", + "worktreeId": "workspace-1" + } + ], + "mobileDiffReview": { + "completedAt": 1767225600000, + "files": { + "unstaged:src/app.ts": { + "filePath": "src/app.ts", + "key": "unstaged:src/app.ts", + "lastOpenedAt": { + "$rpc": "undefined" + }, + "lastSeenDiffIdentity": "identity-1", + "oldPath": { + "$rpc": "undefined" + }, + "reviewDiffIdentity": "identity-1", + "reviewedAt": 1767225600000, + "scope": "unstaged" + } + }, + "updatedAt": 1767225600000, + "version": 1 + }, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "32a7c0ae7918": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "outer refused", + "isRpcDeliveryUnknown": false + } + }, + "523a4ad730f7": { + "name": "worktree.set#1", + "args": [ + { + "name": "method", + "value": "worktree.set" + }, + { + "name": "params", + "value": { + "diffComments": [ + { + "body": "needs a test", + "createdAt": 0, + "filePath": "src/app.ts", + "id": "note-1", + "lineNumber": 4, + "side": "modified", + "worktreeId": "workspace-1" + } + ], + "mobileDiffReview": { + "completedAt": 1767225600000, + "files": { + "unstaged:src/app.ts": { + "filePath": "src/app.ts", + "key": "unstaged:src/app.ts", + "lastOpenedAt": { + "$rpc": "undefined" + }, + "lastSeenDiffIdentity": "identity-1", + "oldPath": { + "$rpc": "undefined" + }, + "reviewDiffIdentity": "identity-1", + "reviewedAt": 1767225600000, + "scope": "unstaged" + } + }, + "updatedAt": 1767225600000, + "version": 1 + }, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "63639602640e": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Failed to save review state", + "isRpcDeliveryUnknown": false + } + }, + "73f7bfbf2ed4": { + "actionError": "Unknown method", + "busyAction": { + "$rpc": "null" + }, + "screenState": { + "branchCompare": { + "$rpc": "null" + }, + "comments": [ + { + "body": "needs a test", + "createdAt": 0, + "filePath": "src/app.ts", + "id": "note-1", + "lineNumber": 4, + "side": "modified", + "worktreeId": "workspace-1" + } + ], + "kind": "ready", + "reviewState": { + "files": {}, + "version": 1 + }, + "status": { + "entries": [] + } + }, + "sendSheet": { + "$rpc": "null" + } + }, + "78219a737d4d": { + "name": "worktree.set#1", + "args": [ + { + "name": "method", + "value": "worktree.set" + }, + { + "name": "params", + "value": { + "diffComments": [ + { + "body": "needs a test", + "createdAt": 0, + "filePath": "src/app.ts", + "id": "note-1", + "lineNumber": 4, + "side": "modified", + "worktreeId": "workspace-1" + } + ], + "mobileDiffReview": { + "completedAt": 1767225600000, + "files": { + "unstaged:src/app.ts": { + "filePath": "src/app.ts", + "key": "unstaged:src/app.ts", + "lastOpenedAt": { + "$rpc": "undefined" + }, + "lastSeenDiffIdentity": "identity-1", + "oldPath": { + "$rpc": "undefined" + }, + "reviewDiffIdentity": "identity-1", + "reviewedAt": 1767225600000, + "scope": "unstaged" + } + }, + "updatedAt": 1767225600000, + "version": 1 + }, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "updated": true + } + } + } + }, + "93ea0539ca0a": { + "name": "worktree.set#1", + "args": [ + { + "name": "method", + "value": "worktree.set" + }, + { + "name": "params", + "value": { + "diffComments": [ + { + "body": "needs a test", + "createdAt": 0, + "filePath": "src/app.ts", + "id": "note-1", + "lineNumber": 4, + "side": "modified", + "worktreeId": "workspace-1" + } + ], + "mobileDiffReview": { + "completedAt": 1767225600000, + "files": { + "unstaged:src/app.ts": { + "filePath": "src/app.ts", + "key": "unstaged:src/app.ts", + "lastOpenedAt": { + "$rpc": "undefined" + }, + "lastSeenDiffIdentity": "identity-1", + "oldPath": { + "$rpc": "undefined" + }, + "reviewDiffIdentity": "identity-1", + "reviewedAt": 1767225600000, + "scope": "unstaged" + } + }, + "updatedAt": 1767225600000, + "version": 1 + }, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "9a5a5e546290": { + "name": "worktree.set#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.set\",\"params\":{\"worktree\":\"id:workspace-1\",\"diffComments\":[{\"side\":\"modified\",\"id\":\"note-1\",\"worktreeId\":\"workspace-1\",\"filePath\":\"src/app.ts\",\"lineNumber\":4,\"body\":\"needs a test\",\"createdAt\":0}],\"mobileDiffReview\":{\"version\":1,\"files\":{\"unstaged:src/app.ts\":{\"key\":\"unstaged:src/app.ts\",\"filePath\":\"src/app.ts\",\"scope\":\"unstaged\",\"lastSeenDiffIdentity\":\"identity-1\",\"reviewedAt\":1767225600000,\"reviewDiffIdentity\":\"identity-1\"}},\"updatedAt\":1767225600000,\"completedAt\":1767225600000}}}" + }, + "9e0132f8d584": { + "actionError": "outer refused", + "busyAction": { + "$rpc": "null" + }, + "screenState": { + "branchCompare": { + "$rpc": "null" + }, + "comments": [ + { + "body": "needs a test", + "createdAt": 0, + "filePath": "src/app.ts", + "id": "note-1", + "lineNumber": 4, + "side": "modified", + "worktreeId": "workspace-1" + } + ], + "kind": "ready", + "reviewState": { + "files": {}, + "version": 1 + }, + "status": { + "entries": [] + } + }, + "sendSheet": { + "$rpc": "null" + } + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "b948e8307e81": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Unknown method", + "isRpcDeliveryUnknown": false + } + }, + "c3779b733809": { + "name": "worktree.set#1", + "args": [ + { + "name": "method", + "value": "worktree.set" + }, + { + "name": "params", + "value": { + "diffComments": [ + { + "body": "needs a test", + "createdAt": 0, + "filePath": "src/app.ts", + "id": "note-1", + "lineNumber": 4, + "side": "modified", + "worktreeId": "workspace-1" + } + ], + "mobileDiffReview": { + "completedAt": 1767225600000, + "files": { + "unstaged:src/app.ts": { + "filePath": "src/app.ts", + "key": "unstaged:src/app.ts", + "lastOpenedAt": { + "$rpc": "undefined" + }, + "lastSeenDiffIdentity": "identity-1", + "oldPath": { + "$rpc": "undefined" + }, + "reviewDiffIdentity": "identity-1", + "reviewedAt": 1767225600000, + "scope": "unstaged" + } + }, + "updatedAt": 1767225600000, + "version": 1 + }, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "c7584e82c72f": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + }, + "d98361dedc14": { + "actionError": "Failed to save review state", + "busyAction": { + "$rpc": "null" + }, + "screenState": { + "branchCompare": { + "$rpc": "null" + }, + "comments": [ + { + "body": "needs a test", + "createdAt": 0, + "filePath": "src/app.ts", + "id": "note-1", + "lineNumber": 4, + "side": "modified", + "worktreeId": "workspace-1" + } + ], + "kind": "ready", + "reviewState": { + "files": {}, + "version": 1 + }, + "status": { + "entries": [] + } + }, + "sendSheet": { + "$rpc": "null" + } + }, + "e229d12c47d9": { + "name": "worktree.set#1", + "args": [ + { + "name": "method", + "value": "worktree.set" + }, + { + "name": "params", + "value": { + "diffComments": [ + { + "body": "needs a test", + "createdAt": 0, + "filePath": "src/app.ts", + "id": "note-1", + "lineNumber": 4, + "side": "modified", + "worktreeId": "workspace-1" + } + ], + "mobileDiffReview": { + "completedAt": 1767225600000, + "files": { + "unstaged:src/app.ts": { + "filePath": "src/app.ts", + "key": "unstaged:src/app.ts", + "lastOpenedAt": { + "$rpc": "undefined" + }, + "lastSeenDiffIdentity": "identity-1", + "oldPath": { + "$rpc": "undefined" + }, + "reviewDiffIdentity": "identity-1", + "reviewedAt": 1767225600000, + "scope": "unstaged" + } + }, + "updatedAt": 1767225600000, + "version": 1 + }, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f5093e949364": { + "name": "worktree.set#1", + "args": [ + { + "name": "method", + "value": "worktree.set" + }, + { + "name": "params", + "value": { + "diffComments": [ + { + "body": "needs a test", + "createdAt": 0, + "filePath": "src/app.ts", + "id": "note-1", + "lineNumber": 4, + "side": "modified", + "worktreeId": "workspace-1" + } + ], + "mobileDiffReview": { + "completedAt": 1767225600000, + "files": { + "unstaged:src/app.ts": { + "filePath": "src/app.ts", + "key": "unstaged:src/app.ts", + "lastOpenedAt": { + "$rpc": "undefined" + }, + "lastSeenDiffIdentity": "identity-1", + "oldPath": { + "$rpc": "undefined" + }, + "reviewDiffIdentity": "identity-1", + "reviewedAt": 1767225600000, + "scope": "unstaged" + } + }, + "updatedAt": 1767225600000, + "version": 1 + }, + "worktree": "id:workspace-1" + } + }, + { + "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 + } + } + } + }, + "fa4af2435d85": { + "actionError": "transport failure", + "busyAction": { + "$rpc": "null" + }, + "screenState": { + "branchCompare": { + "$rpc": "null" + }, + "comments": [ + { + "body": "needs a test", + "createdAt": 0, + "filePath": "src/app.ts", + "id": "note-1", + "lineNumber": 4, + "side": "modified", + "worktreeId": "workspace-1" + } + ], + "kind": "ready", + "reviewState": { + "files": {}, + "version": 1 + }, + "status": { + "entries": [] + } + }, + "sendSheet": { + "$rpc": "null" + } + }, + "fcb8d424e616": { + "name": "worktree.set#1", + "args": [ + { + "name": "method", + "value": "worktree.set" + }, + { + "name": "params", + "value": { + "diffComments": [ + { + "body": "needs a test", + "createdAt": 0, + "filePath": "src/app.ts", + "id": "note-1", + "lineNumber": 4, + "side": "modified", + "worktreeId": "workspace-1" + } + ], + "mobileDiffReview": { + "completedAt": 1767225600000, + "files": { + "unstaged:src/app.ts": { + "filePath": "src/app.ts", + "key": "unstaged:src/app.ts", + "lastOpenedAt": { + "$rpc": "undefined" + }, + "lastSeenDiffIdentity": "identity-1", + "oldPath": { + "$rpc": "undefined" + }, + "reviewDiffIdentity": "identity-1", + "reviewedAt": 1767225600000, + "scope": "unstaged" + } + }, + "updatedAt": 1767225600000, + "version": 1 + }, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "fd440bc24ecc": { + "name": "worktree.set#1", + "args": [ + { + "name": "method", + "value": "worktree.set" + }, + { + "name": "params", + "value": { + "diffComments": [ + { + "body": "needs a test", + "createdAt": 0, + "filePath": "src/app.ts", + "id": "note-1", + "lineNumber": 4, + "side": "modified", + "worktreeId": "workspace-1" + } + ], + "mobileDiffReview": { + "completedAt": 1767225600000, + "files": { + "unstaged:src/app.ts": { + "filePath": "src/app.ts", + "key": "unstaged:src/app.ts", + "lastOpenedAt": { + "$rpc": "undefined" + }, + "lastSeenDiffIdentity": "identity-1", + "oldPath": { + "$rpc": "undefined" + }, + "reviewDiffIdentity": "identity-1", + "reviewedAt": 1767225600000, + "scope": "unstaged" + } + }, + "updatedAt": 1767225600000, + "version": 1 + }, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + } + }, + "recording": { + "scenario": "matrix-session.diff-review-actions-worktree.set-1", + "checkpoints": [ + { + "id": "review-mark-reviewed-persists.normal:persisted", + "observation": { + "sender": ["78219a737d4d"], + "payloads": ["9a5a5e546290"], + "settlements": { + "mark-reviewed": "eb79a9b3682a" + }, + "state": "02c4a9358dee", + "effects": [] + } + }, + { + "id": "review-mark-reviewed-persists.result-absent:persisted", + "observation": { + "sender": ["1a3792526461"], + "payloads": ["9a5a5e546290"], + "settlements": { + "mark-reviewed": "eb79a9b3682a" + }, + "state": "02c4a9358dee", + "effects": [] + } + }, + { + "id": "review-mark-reviewed-persists.result-null:persisted", + "observation": { + "sender": ["e229d12c47d9"], + "payloads": ["9a5a5e546290"], + "settlements": { + "mark-reviewed": "eb79a9b3682a" + }, + "state": "02c4a9358dee", + "effects": [] + } + }, + { + "id": "review-mark-reviewed-persists.inner-ok-missing:persisted", + "observation": { + "sender": ["fd440bc24ecc"], + "payloads": ["9a5a5e546290"], + "settlements": { + "mark-reviewed": "eb79a9b3682a" + }, + "state": "02c4a9358dee", + "effects": [] + } + }, + { + "id": "review-mark-reviewed-persists.inner-false-string-error:persisted", + "observation": { + "sender": ["93ea0539ca0a"], + "payloads": ["9a5a5e546290"], + "settlements": { + "mark-reviewed": "eb79a9b3682a" + }, + "state": "02c4a9358dee", + "effects": [] + } + }, + { + "id": "review-mark-reviewed-persists.inner-false-object-error:persisted", + "observation": { + "sender": ["f5093e949364"], + "payloads": ["9a5a5e546290"], + "settlements": { + "mark-reviewed": "eb79a9b3682a" + }, + "state": "02c4a9358dee", + "effects": [] + } + }, + { + "id": "review-mark-reviewed-persists.outer-refused:persisted", + "observation": { + "sender": ["c3779b733809"], + "payloads": ["9a5a5e546290"], + "settlements": { + "mark-reviewed": "32a7c0ae7918" + }, + "state": "9e0132f8d584", + "effects": [] + } + }, + { + "id": "review-mark-reviewed-persists.outer-refused-no-message:persisted", + "observation": { + "sender": ["fcb8d424e616"], + "payloads": ["9a5a5e546290"], + "settlements": { + "mark-reviewed": "63639602640e" + }, + "state": "d98361dedc14", + "effects": [] + } + }, + { + "id": "review-mark-reviewed-persists.method-not-found:persisted", + "observation": { + "sender": ["1cb44c350a93"], + "payloads": ["9a5a5e546290"], + "settlements": { + "mark-reviewed": "b948e8307e81" + }, + "state": "73f7bfbf2ed4", + "effects": [] + } + }, + { + "id": "review-mark-reviewed-persists.transport-rejection:persisted", + "observation": { + "sender": ["523a4ad730f7"], + "payloads": ["9a5a5e546290"], + "settlements": { + "mark-reviewed": "a947768bc0ed" + }, + "state": "fa4af2435d85", + "effects": [] + } + }, + { + "id": "review-mark-reviewed-persists.transport-rejection-no-message:persisted", + "observation": { + "sender": ["21c2e336c1b2"], + "payloads": ["9a5a5e546290"], + "settlements": { + "mark-reviewed": "c7584e82c72f" + }, + "state": "1c6a13b5a4b5", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-session.diff-review-base-ref-show.json b/mobile/rpc-foundation/goldens/matrix-session.diff-review-base-ref-show.json new file mode 100644 index 00000000000..698d0a44a2e --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-session.diff-review-base-ref-show.json @@ -0,0 +1,1149 @@ +{ + "operation": "session.diff-review-load", + "family": "session.diff-review", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "a8016eb61915cf80a3bdeb622ee67d35be8b4b9862a75e4ef2e8f4ff8e93e7f2", + "scenarioSha256": "17e2b30594a2b37e82ff1976377722c2f1c3ae7f01857e50e010a2dd2e89da3a", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0ac283ea970f": { + "name": "worktree.show#1", + "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": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "1131db124495": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "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 + } + } + }, + "2364fea3981d": { + "name": "worktree.show#1", + "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": { + "error": "inner refused", + "ok": false + } + } + } + }, + "2432ad799433": { + "name": "repo.list#1", + "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" + } + ] + } + } + } + }, + "28454093b34a": { + "name": "worktree.show#1", + "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": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "3179b4e89c80": { + "name": "repo.list#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" + }, + "317a243394fa": { + "name": "git.status#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" + }, + "31bd76fdf517": { + "name": "worktree.show#2", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" + }, + "3bea6b4369e3": { + "name": "worktree.show#1", + "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": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "3ec8052ccdb3": { + "name": "worktree.show#1", + "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", + "linkedPR": 12 + } + } + } + } + }, + "3fa5df34c660": { + "name": "worktree.show#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" + }, + "3feccf790548": { + "name": "git.status#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 + } + } + } + } + }, + "4cb3f61eba79": { + "name": "worktree.show#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-4", + "ok": true, + "result": { + "worktree": { + "diffComments": [], + "mobileDiffReview": { + "files": [] + } + } + } + } + } + }, + "5ec805b0c81e": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "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 + } + } + }, + "67ef11487a39": { + "name": "worktree.show#1", + "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": { + "$rpc": "null" + } + } + } + }, + "75ceb6a12cfd": { + "name": "git.branchCompare#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"git.branchCompare\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"baseRef\":\"origin/main\"}}" + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "a5bd800249ca": { + "name": "worktree.show#1", + "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": { + "error": "refused" + } + } + } + }, + "b8b93d3f8005": { + "name": "git.status#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 + } + }, + "da3aebbee6f2": { + "name": "git.branchCompare#1", + "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-5", + "ok": true, + "result": { + "entries": [ + { + "added": 1, + "path": "src/old.ts", + "removed": 0, + "status": "modified" + } + ], + "summary": { + "baseOid": "base-oid", + "baseRef": "origin/main", + "changedFiles": 1, + "compareRef": "feature", + "headOid": "head-oid", + "mergeBase": "merge-base", + "status": "ready" + } + } + } + } + }, + "e13943e37fc3": { + "branchCompare": "unloaded", + "diff": "unloaded", + "snapshot": { + "branchCompare": { + "entries": [ + { + "added": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/old.ts", + "removed": 0, + "status": "modified" + } + ], + "summary": { + "baseOid": "base-oid", + "baseRef": "origin/main", + "changedFiles": 1, + "commitsAhead": { + "$rpc": "undefined" + }, + "compareRef": "feature", + "errorMessage": { + "$rpc": "undefined" + }, + "headOid": "head-oid", + "mergeBase": "merge-base", + "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", + "conflictOperation": "unknown", + "entries": [ + { + "added": 3, + "area": "unstaged", + "conflictKind": { + "$rpc": "undefined" + }, + "conflictStatus": { + "$rpc": "undefined" + }, + "conflictStatusSource": { + "$rpc": "undefined" + }, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/app.ts", + "removed": 1, + "status": "modified" + } + ], + "head": "head-sha-1", + "upstreamStatus": { + "ahead": 1, + "behind": 0, + "behindCommitsArePatchEquivalent": { + "$rpc": "undefined" + }, + "hasConfiguredPushTarget": { + "$rpc": "undefined" + }, + "hasUpstream": true, + "upstreamName": { + "$rpc": "undefined" + } + } + } + } + }, + "e39817462870": { + "branchCompare": "unloaded", + "diff": "unloaded", + "snapshot": "unloaded" + }, + "e7543a6ecdbd": { + "name": "worktree.show#1", + "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": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "f880a1519497": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "branchCompare": { + "entries": [ + { + "added": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/old.ts", + "removed": 0, + "status": "modified" + } + ], + "summary": { + "baseOid": "base-oid", + "baseRef": "origin/main", + "changedFiles": 1, + "commitsAhead": { + "$rpc": "undefined" + }, + "compareRef": "feature", + "errorMessage": { + "$rpc": "undefined" + }, + "headOid": "head-oid", + "mergeBase": "merge-base", + "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", + "conflictOperation": "unknown", + "entries": [ + { + "added": 3, + "area": "unstaged", + "conflictKind": { + "$rpc": "undefined" + }, + "conflictStatus": { + "$rpc": "undefined" + }, + "conflictStatusSource": { + "$rpc": "undefined" + }, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/app.ts", + "removed": 1, + "status": "modified" + } + ], + "head": "head-sha-1", + "upstreamStatus": { + "ahead": 1, + "behind": 0, + "behindCommitsArePatchEquivalent": { + "$rpc": "undefined" + }, + "hasConfiguredPushTarget": { + "$rpc": "undefined" + }, + "hasUpstream": true, + "upstreamName": { + "$rpc": "undefined" + } + } + } + } + }, + "f8ddb70a8e3b": { + "name": "worktree.show#1", + "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 + } + } + } + }, + "recording": { + "scenario": "matrix-session.diff-review-base-ref-show", + "checkpoints": [ + { + "id": "diff-review-snapshot.prelude:pending", + "observation": { + "sender": ["b8b93d3f8005"], + "payloads": ["317a243394fa"], + "settlements": { + "snapshot": "9270aeb7d9c6" + }, + "state": "e39817462870", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.normal:snapshot", + "observation": { + "sender": [ + "3feccf790548", + "3ec8052ccdb3", + "2432ad799433", + "4cb3f61eba79", + "da3aebbee6f2" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "f880a1519497" + }, + "state": "e13943e37fc3", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.result-absent:snapshot", + "observation": { + "sender": [ + "3feccf790548", + "f8ddb70a8e3b", + "2432ad799433", + "4cb3f61eba79", + "da3aebbee6f2" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "f880a1519497" + }, + "state": "e13943e37fc3", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.result-null:snapshot", + "observation": { + "sender": [ + "3feccf790548", + "67ef11487a39", + "2432ad799433", + "4cb3f61eba79", + "da3aebbee6f2" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "f880a1519497" + }, + "state": "e13943e37fc3", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.inner-ok-missing:snapshot", + "observation": { + "sender": [ + "3feccf790548", + "a5bd800249ca", + "2432ad799433", + "4cb3f61eba79", + "da3aebbee6f2" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "f880a1519497" + }, + "state": "e13943e37fc3", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.inner-false-string-error:snapshot", + "observation": { + "sender": [ + "3feccf790548", + "2364fea3981d", + "2432ad799433", + "4cb3f61eba79", + "da3aebbee6f2" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "f880a1519497" + }, + "state": "e13943e37fc3", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.inner-false-object-error:snapshot", + "observation": { + "sender": [ + "3feccf790548", + "0ac283ea970f", + "2432ad799433", + "4cb3f61eba79", + "da3aebbee6f2" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "f880a1519497" + }, + "state": "e13943e37fc3", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.outer-refused:snapshot", + "observation": { + "sender": [ + "3feccf790548", + "28454093b34a", + "2432ad799433", + "4cb3f61eba79", + "da3aebbee6f2" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "f880a1519497" + }, + "state": "e13943e37fc3", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.outer-refused-no-message:snapshot", + "observation": { + "sender": [ + "3feccf790548", + "3bea6b4369e3", + "2432ad799433", + "4cb3f61eba79", + "da3aebbee6f2" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "f880a1519497" + }, + "state": "e13943e37fc3", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.method-not-found:snapshot", + "observation": { + "sender": [ + "3feccf790548", + "e7543a6ecdbd", + "2432ad799433", + "4cb3f61eba79", + "da3aebbee6f2" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "f880a1519497" + }, + "state": "e13943e37fc3", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.transport-rejection:snapshot", + "observation": { + "sender": [ + "3feccf790548", + "5ec805b0c81e", + "2432ad799433", + "4cb3f61eba79", + "da3aebbee6f2" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "f880a1519497" + }, + "state": "e13943e37fc3", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.transport-rejection-no-message:snapshot", + "observation": { + "sender": [ + "3feccf790548", + "1131db124495", + "2432ad799433", + "4cb3f61eba79", + "da3aebbee6f2" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "f880a1519497" + }, + "state": "e13943e37fc3", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-session.diff-review-git.branchcompare-1.json b/mobile/rpc-foundation/goldens/matrix-session.diff-review-git.branchcompare-1.json new file mode 100644 index 00000000000..bd4e7205630 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-session.diff-review-git.branchcompare-1.json @@ -0,0 +1,2141 @@ +{ + "operation": "session.diff-review-load", + "family": "session.diff-review", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "a8016eb61915cf80a3bdeb622ee67d35be8b4b9862a75e4ef2e8f4ff8e93e7f2", + "scenarioSha256": "b99f51a5527e42a32ea9203ad75b16f9dd3cdcdc2a3ed235f6467ac1c7e3a4f3", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "16a366990dce": { + "branchCompare": "unloaded", + "diff": "unloaded", + "snapshot": { + "branchCompare": { + "$rpc": "null" + }, + "branchError": "transport failure", + "comments": [], + "kind": "ready", + "reviewState": { + "completedAt": { + "$rpc": "undefined" + }, + "files": { + "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", + "conflictOperation": "unknown", + "entries": [ + { + "added": 3, + "area": "unstaged", + "conflictKind": { + "$rpc": "undefined" + }, + "conflictStatus": { + "$rpc": "undefined" + }, + "conflictStatusSource": { + "$rpc": "undefined" + }, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/app.ts", + "removed": 1, + "status": "modified" + } + ], + "head": "head-sha-1", + "upstreamStatus": { + "ahead": 1, + "behind": 0, + "behindCommitsArePatchEquivalent": { + "$rpc": "undefined" + }, + "hasConfiguredPushTarget": { + "$rpc": "undefined" + }, + "hasUpstream": true, + "upstreamName": { + "$rpc": "undefined" + } + } + } + } + }, + "1ce85e8e03e6": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "branchCompare": { + "$rpc": "null" + }, + "branchError": "transport failure", + "comments": [], + "kind": "ready", + "reviewState": { + "completedAt": { + "$rpc": "undefined" + }, + "files": { + "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", + "conflictOperation": "unknown", + "entries": [ + { + "added": 3, + "area": "unstaged", + "conflictKind": { + "$rpc": "undefined" + }, + "conflictStatus": { + "$rpc": "undefined" + }, + "conflictStatusSource": { + "$rpc": "undefined" + }, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/app.ts", + "removed": 1, + "status": "modified" + } + ], + "head": "head-sha-1", + "upstreamStatus": { + "ahead": 1, + "behind": 0, + "behindCommitsArePatchEquivalent": { + "$rpc": "undefined" + }, + "hasConfiguredPushTarget": { + "$rpc": "undefined" + }, + "hasUpstream": true, + "upstreamName": { + "$rpc": "undefined" + } + } + } + } + }, + "1e0dda6d45fe": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "branchCompare": { + "$rpc": "null" + }, + "branchError": "Committed changes unavailable", + "comments": [], + "kind": "ready", + "reviewState": { + "completedAt": { + "$rpc": "undefined" + }, + "files": { + "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", + "conflictOperation": "unknown", + "entries": [ + { + "added": 3, + "area": "unstaged", + "conflictKind": { + "$rpc": "undefined" + }, + "conflictStatus": { + "$rpc": "undefined" + }, + "conflictStatusSource": { + "$rpc": "undefined" + }, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/app.ts", + "removed": 1, + "status": "modified" + } + ], + "head": "head-sha-1", + "upstreamStatus": { + "ahead": 1, + "behind": 0, + "behindCommitsArePatchEquivalent": { + "$rpc": "undefined" + }, + "hasConfiguredPushTarget": { + "$rpc": "undefined" + }, + "hasUpstream": true, + "upstreamName": { + "$rpc": "undefined" + } + } + } + } + }, + "213d5ce74a73": { + "name": "git.branchCompare#1", + "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": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-5", + "ok": false + } + } + }, + "2432ad799433": { + "name": "repo.list#1", + "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" + } + ] + } + } + } + }, + "246e8431bafd": { + "name": "git.branchCompare#1", + "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": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-5", + "ok": false + } + } + }, + "2b62480a742c": { + "branchCompare": "unloaded", + "diff": "unloaded", + "snapshot": { + "branchCompare": { + "$rpc": "null" + }, + "branchError": "outer refused", + "comments": [], + "kind": "ready", + "reviewState": { + "completedAt": { + "$rpc": "undefined" + }, + "files": { + "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", + "conflictOperation": "unknown", + "entries": [ + { + "added": 3, + "area": "unstaged", + "conflictKind": { + "$rpc": "undefined" + }, + "conflictStatus": { + "$rpc": "undefined" + }, + "conflictStatusSource": { + "$rpc": "undefined" + }, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/app.ts", + "removed": 1, + "status": "modified" + } + ], + "head": "head-sha-1", + "upstreamStatus": { + "ahead": 1, + "behind": 0, + "behindCommitsArePatchEquivalent": { + "$rpc": "undefined" + }, + "hasConfiguredPushTarget": { + "$rpc": "undefined" + }, + "hasUpstream": true, + "upstreamName": { + "$rpc": "undefined" + } + } + } + } + }, + "30a0765fff24": { + "name": "git.branchCompare#1", + "args": [ + { + "name": "method", + "value": "git.branchCompare" + }, + { + "name": "params", + "value": { + "baseRef": "origin/main", + "worktree": "id:repo-9::/w" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "3179b4e89c80": { + "name": "repo.list#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" + }, + "317a243394fa": { + "name": "git.status#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" + }, + "31bd76fdf517": { + "name": "worktree.show#2", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" + }, + "3ec8052ccdb3": { + "name": "worktree.show#1", + "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", + "linkedPR": 12 + } + } + } + } + }, + "3fa5df34c660": { + "name": "worktree.show#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" + }, + "3feccf790548": { + "name": "git.status#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 + } + } + } + } + }, + "4cb3f61eba79": { + "name": "worktree.show#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-4", + "ok": true, + "result": { + "worktree": { + "diffComments": [], + "mobileDiffReview": { + "files": [] + } + } + } + } + } + }, + "60873496c035": { + "branchCompare": "unloaded", + "diff": "unloaded", + "snapshot": { + "branchCompare": { + "$rpc": "null" + }, + "branchError": "Committed changes unavailable", + "comments": [], + "kind": "ready", + "reviewState": { + "completedAt": { + "$rpc": "undefined" + }, + "files": { + "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", + "conflictOperation": "unknown", + "entries": [ + { + "added": 3, + "area": "unstaged", + "conflictKind": { + "$rpc": "undefined" + }, + "conflictStatus": { + "$rpc": "undefined" + }, + "conflictStatusSource": { + "$rpc": "undefined" + }, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/app.ts", + "removed": 1, + "status": "modified" + } + ], + "head": "head-sha-1", + "upstreamStatus": { + "ahead": 1, + "behind": 0, + "behindCommitsArePatchEquivalent": { + "$rpc": "undefined" + }, + "hasConfiguredPushTarget": { + "$rpc": "undefined" + }, + "hasUpstream": true, + "upstreamName": { + "$rpc": "undefined" + } + } + } + } + }, + "64d19308284f": { + "name": "git.branchCompare#1", + "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-5", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "75ceb6a12cfd": { + "name": "git.branchCompare#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"git.branchCompare\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"baseRef\":\"origin/main\"}}" + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "951fb0ccb15a": { + "branchCompare": "unloaded", + "diff": "unloaded", + "snapshot": { + "branchCompare": { + "$rpc": "null" + }, + "branchError": { + "$rpc": "undefined" + }, + "comments": [], + "kind": "ready", + "reviewState": { + "completedAt": { + "$rpc": "undefined" + }, + "files": { + "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", + "conflictOperation": "unknown", + "entries": [ + { + "added": 3, + "area": "unstaged", + "conflictKind": { + "$rpc": "undefined" + }, + "conflictStatus": { + "$rpc": "undefined" + }, + "conflictStatusSource": { + "$rpc": "undefined" + }, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/app.ts", + "removed": 1, + "status": "modified" + } + ], + "head": "head-sha-1", + "upstreamStatus": { + "ahead": 1, + "behind": 0, + "behindCommitsArePatchEquivalent": { + "$rpc": "undefined" + }, + "hasConfiguredPushTarget": { + "$rpc": "undefined" + }, + "hasUpstream": true, + "upstreamName": { + "$rpc": "undefined" + } + } + } + } + }, + "99f54eca3041": { + "branchCompare": "unloaded", + "diff": "unloaded", + "snapshot": { + "branchCompare": { + "$rpc": "null" + }, + "branchError": "Committed changes response was invalid", + "comments": [], + "kind": "ready", + "reviewState": { + "completedAt": { + "$rpc": "undefined" + }, + "files": { + "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", + "conflictOperation": "unknown", + "entries": [ + { + "added": 3, + "area": "unstaged", + "conflictKind": { + "$rpc": "undefined" + }, + "conflictStatus": { + "$rpc": "undefined" + }, + "conflictStatusSource": { + "$rpc": "undefined" + }, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/app.ts", + "removed": 1, + "status": "modified" + } + ], + "head": "head-sha-1", + "upstreamStatus": { + "ahead": 1, + "behind": 0, + "behindCommitsArePatchEquivalent": { + "$rpc": "undefined" + }, + "hasConfiguredPushTarget": { + "$rpc": "undefined" + }, + "hasUpstream": true, + "upstreamName": { + "$rpc": "undefined" + } + } + } + } + }, + "a2897d26f26b": { + "name": "git.branchCompare#1", + "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-5", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "a4e1212e045a": { + "name": "git.branchCompare#1", + "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-5", + "ok": true + } + } + }, + "aff5f338caa4": { + "name": "git.branchCompare#1", + "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-5", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "b639d96487b8": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "branchCompare": { + "$rpc": "null" + }, + "branchError": "Committed changes response was invalid", + "comments": [], + "kind": "ready", + "reviewState": { + "completedAt": { + "$rpc": "undefined" + }, + "files": { + "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", + "conflictOperation": "unknown", + "entries": [ + { + "added": 3, + "area": "unstaged", + "conflictKind": { + "$rpc": "undefined" + }, + "conflictStatus": { + "$rpc": "undefined" + }, + "conflictStatusSource": { + "$rpc": "undefined" + }, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/app.ts", + "removed": 1, + "status": "modified" + } + ], + "head": "head-sha-1", + "upstreamStatus": { + "ahead": 1, + "behind": 0, + "behindCommitsArePatchEquivalent": { + "$rpc": "undefined" + }, + "hasConfiguredPushTarget": { + "$rpc": "undefined" + }, + "hasUpstream": true, + "upstreamName": { + "$rpc": "undefined" + } + } + } + } + }, + "b8b93d3f8005": { + "name": "git.status#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 + } + }, + "be771e5c5ce3": { + "name": "git.branchCompare#1", + "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": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-5", + "ok": false + } + } + }, + "c0361c08f0ae": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "branchCompare": { + "$rpc": "null" + }, + "branchError": { + "$rpc": "undefined" + }, + "comments": [], + "kind": "ready", + "reviewState": { + "completedAt": { + "$rpc": "undefined" + }, + "files": { + "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", + "conflictOperation": "unknown", + "entries": [ + { + "added": 3, + "area": "unstaged", + "conflictKind": { + "$rpc": "undefined" + }, + "conflictStatus": { + "$rpc": "undefined" + }, + "conflictStatusSource": { + "$rpc": "undefined" + }, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/app.ts", + "removed": 1, + "status": "modified" + } + ], + "head": "head-sha-1", + "upstreamStatus": { + "ahead": 1, + "behind": 0, + "behindCommitsArePatchEquivalent": { + "$rpc": "undefined" + }, + "hasConfiguredPushTarget": { + "$rpc": "undefined" + }, + "hasUpstream": true, + "upstreamName": { + "$rpc": "undefined" + } + } + } + } + }, + "c1c0d3047408": { + "name": "git.branchCompare#1", + "args": [ + { + "name": "method", + "value": "git.branchCompare" + }, + { + "name": "params", + "value": { + "baseRef": "origin/main", + "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 + } + } + }, + "d0aa3b182864": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "branchCompare": { + "$rpc": "null" + }, + "branchError": "", + "comments": [], + "kind": "ready", + "reviewState": { + "completedAt": { + "$rpc": "undefined" + }, + "files": { + "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", + "conflictOperation": "unknown", + "entries": [ + { + "added": 3, + "area": "unstaged", + "conflictKind": { + "$rpc": "undefined" + }, + "conflictStatus": { + "$rpc": "undefined" + }, + "conflictStatusSource": { + "$rpc": "undefined" + }, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/app.ts", + "removed": 1, + "status": "modified" + } + ], + "head": "head-sha-1", + "upstreamStatus": { + "ahead": 1, + "behind": 0, + "behindCommitsArePatchEquivalent": { + "$rpc": "undefined" + }, + "hasConfiguredPushTarget": { + "$rpc": "undefined" + }, + "hasUpstream": true, + "upstreamName": { + "$rpc": "undefined" + } + } + } + } + }, + "da3aebbee6f2": { + "name": "git.branchCompare#1", + "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-5", + "ok": true, + "result": { + "entries": [ + { + "added": 1, + "path": "src/old.ts", + "removed": 0, + "status": "modified" + } + ], + "summary": { + "baseOid": "base-oid", + "baseRef": "origin/main", + "changedFiles": 1, + "compareRef": "feature", + "headOid": "head-oid", + "mergeBase": "merge-base", + "status": "ready" + } + } + } + } + }, + "e13943e37fc3": { + "branchCompare": "unloaded", + "diff": "unloaded", + "snapshot": { + "branchCompare": { + "entries": [ + { + "added": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/old.ts", + "removed": 0, + "status": "modified" + } + ], + "summary": { + "baseOid": "base-oid", + "baseRef": "origin/main", + "changedFiles": 1, + "commitsAhead": { + "$rpc": "undefined" + }, + "compareRef": "feature", + "errorMessage": { + "$rpc": "undefined" + }, + "headOid": "head-oid", + "mergeBase": "merge-base", + "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", + "conflictOperation": "unknown", + "entries": [ + { + "added": 3, + "area": "unstaged", + "conflictKind": { + "$rpc": "undefined" + }, + "conflictStatus": { + "$rpc": "undefined" + }, + "conflictStatusSource": { + "$rpc": "undefined" + }, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/app.ts", + "removed": 1, + "status": "modified" + } + ], + "head": "head-sha-1", + "upstreamStatus": { + "ahead": 1, + "behind": 0, + "behindCommitsArePatchEquivalent": { + "$rpc": "undefined" + }, + "hasConfiguredPushTarget": { + "$rpc": "undefined" + }, + "hasUpstream": true, + "upstreamName": { + "$rpc": "undefined" + } + } + } + } + }, + "e39817462870": { + "branchCompare": "unloaded", + "diff": "unloaded", + "snapshot": "unloaded" + }, + "e96a326d9253": { + "name": "git.branchCompare#1", + "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-5", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "f880a1519497": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "branchCompare": { + "entries": [ + { + "added": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/old.ts", + "removed": 0, + "status": "modified" + } + ], + "summary": { + "baseOid": "base-oid", + "baseRef": "origin/main", + "changedFiles": 1, + "commitsAhead": { + "$rpc": "undefined" + }, + "compareRef": "feature", + "errorMessage": { + "$rpc": "undefined" + }, + "headOid": "head-oid", + "mergeBase": "merge-base", + "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", + "conflictOperation": "unknown", + "entries": [ + { + "added": 3, + "area": "unstaged", + "conflictKind": { + "$rpc": "undefined" + }, + "conflictStatus": { + "$rpc": "undefined" + }, + "conflictStatusSource": { + "$rpc": "undefined" + }, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/app.ts", + "removed": 1, + "status": "modified" + } + ], + "head": "head-sha-1", + "upstreamStatus": { + "ahead": 1, + "behind": 0, + "behindCommitsArePatchEquivalent": { + "$rpc": "undefined" + }, + "hasConfiguredPushTarget": { + "$rpc": "undefined" + }, + "hasUpstream": true, + "upstreamName": { + "$rpc": "undefined" + } + } + } + } + }, + "fee89d394a80": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "branchCompare": { + "$rpc": "null" + }, + "branchError": "outer refused", + "comments": [], + "kind": "ready", + "reviewState": { + "completedAt": { + "$rpc": "undefined" + }, + "files": { + "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", + "conflictOperation": "unknown", + "entries": [ + { + "added": 3, + "area": "unstaged", + "conflictKind": { + "$rpc": "undefined" + }, + "conflictStatus": { + "$rpc": "undefined" + }, + "conflictStatusSource": { + "$rpc": "undefined" + }, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/app.ts", + "removed": 1, + "status": "modified" + } + ], + "head": "head-sha-1", + "upstreamStatus": { + "ahead": 1, + "behind": 0, + "behindCommitsArePatchEquivalent": { + "$rpc": "undefined" + }, + "hasConfiguredPushTarget": { + "$rpc": "undefined" + }, + "hasUpstream": true, + "upstreamName": { + "$rpc": "undefined" + } + } + } + } + }, + "ff1b5ce15d7f": { + "branchCompare": "unloaded", + "diff": "unloaded", + "snapshot": { + "branchCompare": { + "$rpc": "null" + }, + "branchError": "", + "comments": [], + "kind": "ready", + "reviewState": { + "completedAt": { + "$rpc": "undefined" + }, + "files": { + "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", + "conflictOperation": "unknown", + "entries": [ + { + "added": 3, + "area": "unstaged", + "conflictKind": { + "$rpc": "undefined" + }, + "conflictStatus": { + "$rpc": "undefined" + }, + "conflictStatusSource": { + "$rpc": "undefined" + }, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/app.ts", + "removed": 1, + "status": "modified" + } + ], + "head": "head-sha-1", + "upstreamStatus": { + "ahead": 1, + "behind": 0, + "behindCommitsArePatchEquivalent": { + "$rpc": "undefined" + }, + "hasConfiguredPushTarget": { + "$rpc": "undefined" + }, + "hasUpstream": true, + "upstreamName": { + "$rpc": "undefined" + } + } + } + } + } + }, + "recording": { + "scenario": "matrix-session.diff-review-git.branchcompare-1", + "checkpoints": [ + { + "id": "diff-review-snapshot.prelude:pending", + "observation": { + "sender": ["b8b93d3f8005"], + "payloads": ["317a243394fa"], + "settlements": { + "snapshot": "9270aeb7d9c6" + }, + "state": "e39817462870", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.normal:snapshot", + "observation": { + "sender": [ + "3feccf790548", + "3ec8052ccdb3", + "2432ad799433", + "4cb3f61eba79", + "da3aebbee6f2" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "f880a1519497" + }, + "state": "e13943e37fc3", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.result-absent:snapshot", + "observation": { + "sender": [ + "3feccf790548", + "3ec8052ccdb3", + "2432ad799433", + "4cb3f61eba79", + "a4e1212e045a" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "b639d96487b8" + }, + "state": "99f54eca3041", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.result-null:snapshot", + "observation": { + "sender": [ + "3feccf790548", + "3ec8052ccdb3", + "2432ad799433", + "4cb3f61eba79", + "64d19308284f" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "b639d96487b8" + }, + "state": "99f54eca3041", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.inner-ok-missing:snapshot", + "observation": { + "sender": [ + "3feccf790548", + "3ec8052ccdb3", + "2432ad799433", + "4cb3f61eba79", + "aff5f338caa4" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "b639d96487b8" + }, + "state": "99f54eca3041", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.inner-false-string-error:snapshot", + "observation": { + "sender": [ + "3feccf790548", + "3ec8052ccdb3", + "2432ad799433", + "4cb3f61eba79", + "e96a326d9253" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "b639d96487b8" + }, + "state": "99f54eca3041", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.inner-false-object-error:snapshot", + "observation": { + "sender": [ + "3feccf790548", + "3ec8052ccdb3", + "2432ad799433", + "4cb3f61eba79", + "a2897d26f26b" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "b639d96487b8" + }, + "state": "99f54eca3041", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.outer-refused:snapshot", + "observation": { + "sender": [ + "3feccf790548", + "3ec8052ccdb3", + "2432ad799433", + "4cb3f61eba79", + "213d5ce74a73" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "fee89d394a80" + }, + "state": "2b62480a742c", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.outer-refused-no-message:snapshot", + "observation": { + "sender": [ + "3feccf790548", + "3ec8052ccdb3", + "2432ad799433", + "4cb3f61eba79", + "246e8431bafd" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "1e0dda6d45fe" + }, + "state": "60873496c035", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.method-not-found:snapshot", + "observation": { + "sender": [ + "3feccf790548", + "3ec8052ccdb3", + "2432ad799433", + "4cb3f61eba79", + "be771e5c5ce3" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "c0361c08f0ae" + }, + "state": "951fb0ccb15a", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.transport-rejection:snapshot", + "observation": { + "sender": [ + "3feccf790548", + "3ec8052ccdb3", + "2432ad799433", + "4cb3f61eba79", + "c1c0d3047408" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "1ce85e8e03e6" + }, + "state": "16a366990dce", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.transport-rejection-no-message:snapshot", + "observation": { + "sender": [ + "3feccf790548", + "3ec8052ccdb3", + "2432ad799433", + "4cb3f61eba79", + "30a0765fff24" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "d0aa3b182864" + }, + "state": "ff1b5ce15d7f", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-session.diff-review-git.status-1.json b/mobile/rpc-foundation/goldens/matrix-session.diff-review-git.status-1.json new file mode 100644 index 00000000000..557a36823b8 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-session.diff-review-git.status-1.json @@ -0,0 +1,1096 @@ +{ + "operation": "session.diff-review-load", + "family": "session.diff-review", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "a8016eb61915cf80a3bdeb622ee67d35be8b4b9862a75e4ef2e8f4ff8e93e7f2", + "scenarioSha256": "b4627f9ac9bc090a2b48fd35f32d5dc3d66fefe0fb65abab75597ef2c73510ec", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "14804a5e414f": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "kind": "unavailable", + "message": "Update Orca desktop to review changes on mobile." + } + }, + "2432ad799433": { + "name": "repo.list#1", + "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" + } + ] + } + } + } + }, + "3179b4e89c80": { + "name": "repo.list#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" + }, + "317a243394fa": { + "name": "git.status#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" + }, + "31bd76fdf517": { + "name": "worktree.show#2", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" + }, + "32a7c0ae7918": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "outer refused", + "isRpcDeliveryUnknown": false + } + }, + "3ec8052ccdb3": { + "name": "worktree.show#1", + "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", + "linkedPR": 12 + } + } + } + } + }, + "3fa5df34c660": { + "name": "worktree.show#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" + }, + "3feccf790548": { + "name": "git.status#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 + } + } + } + } + }, + "4327397d6202": { + "name": "git.status#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 + } + } + }, + "4cb3f61eba79": { + "name": "worktree.show#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-4", + "ok": true, + "result": { + "worktree": { + "diffComments": [], + "mobileDiffReview": { + "files": [] + } + } + } + } + } + }, + "55c07df45014": { + "branchCompare": "unloaded", + "diff": "unloaded", + "snapshot": { + "kind": "unavailable", + "message": "Update Orca desktop to review changes on mobile." + } + }, + "75ceb6a12cfd": { + "name": "git.branchCompare#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"git.branchCompare\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"baseRef\":\"origin/main\"}}" + }, + "773f406d8ab5": { + "name": "git.status#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 + } + } + }, + "83a3b2ff8260": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Unable to load changes", + "isRpcDeliveryUnknown": false + } + }, + "880bffe257f0": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Source control response was invalid", + "isRpcDeliveryUnknown": false + } + }, + "925bc1732e6e": { + "name": "git.status#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 + } + } + } + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "93b9682c496c": { + "name": "git.status#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 + } + } + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "b2cc0d6f05e0": { + "name": "git.status#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" + } + } + } + }, + "b8b93d3f8005": { + "name": "git.status#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 + } + }, + "c7584e82c72f": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + }, + "c7c47b24d772": { + "name": "git.status#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 + } + } + }, + "d52732ec0da4": { + "name": "git.status#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" + } + } + } + }, + "da3aebbee6f2": { + "name": "git.branchCompare#1", + "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-5", + "ok": true, + "result": { + "entries": [ + { + "added": 1, + "path": "src/old.ts", + "removed": 0, + "status": "modified" + } + ], + "summary": { + "baseOid": "base-oid", + "baseRef": "origin/main", + "changedFiles": 1, + "compareRef": "feature", + "headOid": "head-oid", + "mergeBase": "merge-base", + "status": "ready" + } + } + } + } + }, + "dedfcab351e6": { + "name": "git.status#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 + } + } + }, + "e13943e37fc3": { + "branchCompare": "unloaded", + "diff": "unloaded", + "snapshot": { + "branchCompare": { + "entries": [ + { + "added": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/old.ts", + "removed": 0, + "status": "modified" + } + ], + "summary": { + "baseOid": "base-oid", + "baseRef": "origin/main", + "changedFiles": 1, + "commitsAhead": { + "$rpc": "undefined" + }, + "compareRef": "feature", + "errorMessage": { + "$rpc": "undefined" + }, + "headOid": "head-oid", + "mergeBase": "merge-base", + "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", + "conflictOperation": "unknown", + "entries": [ + { + "added": 3, + "area": "unstaged", + "conflictKind": { + "$rpc": "undefined" + }, + "conflictStatus": { + "$rpc": "undefined" + }, + "conflictStatusSource": { + "$rpc": "undefined" + }, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/app.ts", + "removed": 1, + "status": "modified" + } + ], + "head": "head-sha-1", + "upstreamStatus": { + "ahead": 1, + "behind": 0, + "behindCommitsArePatchEquivalent": { + "$rpc": "undefined" + }, + "hasConfiguredPushTarget": { + "$rpc": "undefined" + }, + "hasUpstream": true, + "upstreamName": { + "$rpc": "undefined" + } + } + } + } + }, + "e39817462870": { + "branchCompare": "unloaded", + "diff": "unloaded", + "snapshot": "unloaded" + }, + "f04da7e8c374": { + "name": "git.status#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 + } + } + }, + "f55a580e621c": { + "name": "git.status#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 + } + } + } + }, + "f880a1519497": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "branchCompare": { + "entries": [ + { + "added": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/old.ts", + "removed": 0, + "status": "modified" + } + ], + "summary": { + "baseOid": "base-oid", + "baseRef": "origin/main", + "changedFiles": 1, + "commitsAhead": { + "$rpc": "undefined" + }, + "compareRef": "feature", + "errorMessage": { + "$rpc": "undefined" + }, + "headOid": "head-oid", + "mergeBase": "merge-base", + "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", + "conflictOperation": "unknown", + "entries": [ + { + "added": 3, + "area": "unstaged", + "conflictKind": { + "$rpc": "undefined" + }, + "conflictStatus": { + "$rpc": "undefined" + }, + "conflictStatusSource": { + "$rpc": "undefined" + }, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/app.ts", + "removed": 1, + "status": "modified" + } + ], + "head": "head-sha-1", + "upstreamStatus": { + "ahead": 1, + "behind": 0, + "behindCommitsArePatchEquivalent": { + "$rpc": "undefined" + }, + "hasConfiguredPushTarget": { + "$rpc": "undefined" + }, + "hasUpstream": true, + "upstreamName": { + "$rpc": "undefined" + } + } + } + } + } + }, + "recording": { + "scenario": "matrix-session.diff-review-git.status-1", + "checkpoints": [ + { + "id": "diff-review-snapshot.prelude:pending", + "observation": { + "sender": ["b8b93d3f8005"], + "payloads": ["317a243394fa"], + "settlements": { + "snapshot": "9270aeb7d9c6" + }, + "state": "e39817462870", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.normal:snapshot", + "observation": { + "sender": [ + "3feccf790548", + "3ec8052ccdb3", + "2432ad799433", + "4cb3f61eba79", + "da3aebbee6f2" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "f880a1519497" + }, + "state": "e13943e37fc3", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.result-absent:snapshot", + "observation": { + "sender": ["dedfcab351e6"], + "payloads": ["317a243394fa"], + "settlements": { + "snapshot": "880bffe257f0" + }, + "state": "e39817462870", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.result-null:snapshot", + "observation": { + "sender": ["d52732ec0da4"], + "payloads": ["317a243394fa"], + "settlements": { + "snapshot": "880bffe257f0" + }, + "state": "e39817462870", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.inner-ok-missing:snapshot", + "observation": { + "sender": ["b2cc0d6f05e0"], + "payloads": ["317a243394fa"], + "settlements": { + "snapshot": "880bffe257f0" + }, + "state": "e39817462870", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.inner-false-string-error:snapshot", + "observation": { + "sender": ["925bc1732e6e"], + "payloads": ["317a243394fa"], + "settlements": { + "snapshot": "880bffe257f0" + }, + "state": "e39817462870", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.inner-false-object-error:snapshot", + "observation": { + "sender": ["f55a580e621c"], + "payloads": ["317a243394fa"], + "settlements": { + "snapshot": "880bffe257f0" + }, + "state": "e39817462870", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.outer-refused:snapshot", + "observation": { + "sender": ["c7c47b24d772"], + "payloads": ["317a243394fa"], + "settlements": { + "snapshot": "32a7c0ae7918" + }, + "state": "e39817462870", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.outer-refused-no-message:snapshot", + "observation": { + "sender": ["773f406d8ab5"], + "payloads": ["317a243394fa"], + "settlements": { + "snapshot": "83a3b2ff8260" + }, + "state": "e39817462870", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.method-not-found:snapshot", + "observation": { + "sender": ["93b9682c496c"], + "payloads": ["317a243394fa"], + "settlements": { + "snapshot": "14804a5e414f" + }, + "state": "55c07df45014", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.transport-rejection:snapshot", + "observation": { + "sender": ["4327397d6202"], + "payloads": ["317a243394fa"], + "settlements": { + "snapshot": "a947768bc0ed" + }, + "state": "e39817462870", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.transport-rejection-no-message:snapshot", + "observation": { + "sender": ["f04da7e8c374"], + "payloads": ["317a243394fa"], + "settlements": { + "snapshot": "c7584e82c72f" + }, + "state": "e39817462870", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-session.diff-review-repo.list-1.json b/mobile/rpc-foundation/goldens/matrix-session.diff-review-repo.list-1.json new file mode 100644 index 00000000000..0802ec771a1 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-session.diff-review-repo.list-1.json @@ -0,0 +1,1149 @@ +{ + "operation": "session.diff-review-load", + "family": "session.diff-review", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "a8016eb61915cf80a3bdeb622ee67d35be8b4b9862a75e4ef2e8f4ff8e93e7f2", + "scenarioSha256": "c9f720134506b6db71b742c219abe736fca1f90070403d7c96df9396fd048b6f", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "205b2a8716a9": { + "name": "repo.list#1", + "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": { + "error": "refused" + } + } + } + }, + "2432ad799433": { + "name": "repo.list#1", + "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" + } + ] + } + } + } + }, + "3179b4e89c80": { + "name": "repo.list#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" + }, + "317a243394fa": { + "name": "git.status#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" + }, + "31bd76fdf517": { + "name": "worktree.show#2", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" + }, + "335768b54f09": { + "name": "repo.list#1", + "args": [ + { + "name": "method", + "value": "repo.list" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "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 + } + } + }, + "3ec8052ccdb3": { + "name": "worktree.show#1", + "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", + "linkedPR": 12 + } + } + } + } + }, + "3fa5df34c660": { + "name": "worktree.show#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" + }, + "3feccf790548": { + "name": "git.status#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 + } + } + } + } + }, + "4cb3f61eba79": { + "name": "worktree.show#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-4", + "ok": true, + "result": { + "worktree": { + "diffComments": [], + "mobileDiffReview": { + "files": [] + } + } + } + } + } + }, + "521ebac025f3": { + "name": "repo.list#1", + "args": [ + { + "name": "method", + "value": "repo.list" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-3", + "ok": false + } + } + }, + "6e5c6593dad8": { + "name": "repo.list#1", + "args": [ + { + "name": "method", + "value": "repo.list" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "75ceb6a12cfd": { + "name": "git.branchCompare#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"git.branchCompare\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"baseRef\":\"origin/main\"}}" + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "b8b93d3f8005": { + "name": "git.status#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 + } + }, + "bcd88b035c68": { + "name": "repo.list#1", + "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": { + "error": "inner refused", + "ok": false + } + } + } + }, + "cc1facdf008c": { + "name": "repo.list#1", + "args": [ + { + "name": "method", + "value": "repo.list" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "d76c1ced0b3a": { + "name": "repo.list#1", + "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 + } + } + }, + "da3aebbee6f2": { + "name": "git.branchCompare#1", + "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-5", + "ok": true, + "result": { + "entries": [ + { + "added": 1, + "path": "src/old.ts", + "removed": 0, + "status": "modified" + } + ], + "summary": { + "baseOid": "base-oid", + "baseRef": "origin/main", + "changedFiles": 1, + "compareRef": "feature", + "headOid": "head-oid", + "mergeBase": "merge-base", + "status": "ready" + } + } + } + } + }, + "e13943e37fc3": { + "branchCompare": "unloaded", + "diff": "unloaded", + "snapshot": { + "branchCompare": { + "entries": [ + { + "added": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/old.ts", + "removed": 0, + "status": "modified" + } + ], + "summary": { + "baseOid": "base-oid", + "baseRef": "origin/main", + "changedFiles": 1, + "commitsAhead": { + "$rpc": "undefined" + }, + "compareRef": "feature", + "errorMessage": { + "$rpc": "undefined" + }, + "headOid": "head-oid", + "mergeBase": "merge-base", + "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", + "conflictOperation": "unknown", + "entries": [ + { + "added": 3, + "area": "unstaged", + "conflictKind": { + "$rpc": "undefined" + }, + "conflictStatus": { + "$rpc": "undefined" + }, + "conflictStatusSource": { + "$rpc": "undefined" + }, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/app.ts", + "removed": 1, + "status": "modified" + } + ], + "head": "head-sha-1", + "upstreamStatus": { + "ahead": 1, + "behind": 0, + "behindCommitsArePatchEquivalent": { + "$rpc": "undefined" + }, + "hasConfiguredPushTarget": { + "$rpc": "undefined" + }, + "hasUpstream": true, + "upstreamName": { + "$rpc": "undefined" + } + } + } + } + }, + "e39817462870": { + "branchCompare": "unloaded", + "diff": "unloaded", + "snapshot": "unloaded" + }, + "e8bad95ea299": { + "name": "repo.list#1", + "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": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "f1a2cd24ab44": { + "name": "repo.list#1", + "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": { + "$rpc": "null" + } + } + } + }, + "f880a1519497": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "branchCompare": { + "entries": [ + { + "added": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/old.ts", + "removed": 0, + "status": "modified" + } + ], + "summary": { + "baseOid": "base-oid", + "baseRef": "origin/main", + "changedFiles": 1, + "commitsAhead": { + "$rpc": "undefined" + }, + "compareRef": "feature", + "errorMessage": { + "$rpc": "undefined" + }, + "headOid": "head-oid", + "mergeBase": "merge-base", + "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", + "conflictOperation": "unknown", + "entries": [ + { + "added": 3, + "area": "unstaged", + "conflictKind": { + "$rpc": "undefined" + }, + "conflictStatus": { + "$rpc": "undefined" + }, + "conflictStatusSource": { + "$rpc": "undefined" + }, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/app.ts", + "removed": 1, + "status": "modified" + } + ], + "head": "head-sha-1", + "upstreamStatus": { + "ahead": 1, + "behind": 0, + "behindCommitsArePatchEquivalent": { + "$rpc": "undefined" + }, + "hasConfiguredPushTarget": { + "$rpc": "undefined" + }, + "hasUpstream": true, + "upstreamName": { + "$rpc": "undefined" + } + } + } + } + }, + "ff397549b306": { + "name": "repo.list#1", + "args": [ + { + "name": "method", + "value": "repo.list" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-3", + "ok": false + } + } + } + }, + "recording": { + "scenario": "matrix-session.diff-review-repo.list-1", + "checkpoints": [ + { + "id": "diff-review-snapshot.prelude:pending", + "observation": { + "sender": ["b8b93d3f8005"], + "payloads": ["317a243394fa"], + "settlements": { + "snapshot": "9270aeb7d9c6" + }, + "state": "e39817462870", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.normal:snapshot", + "observation": { + "sender": [ + "3feccf790548", + "3ec8052ccdb3", + "2432ad799433", + "4cb3f61eba79", + "da3aebbee6f2" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "f880a1519497" + }, + "state": "e13943e37fc3", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.result-absent:snapshot", + "observation": { + "sender": [ + "3feccf790548", + "3ec8052ccdb3", + "d76c1ced0b3a", + "4cb3f61eba79", + "da3aebbee6f2" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "f880a1519497" + }, + "state": "e13943e37fc3", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.result-null:snapshot", + "observation": { + "sender": [ + "3feccf790548", + "3ec8052ccdb3", + "f1a2cd24ab44", + "4cb3f61eba79", + "da3aebbee6f2" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "f880a1519497" + }, + "state": "e13943e37fc3", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.inner-ok-missing:snapshot", + "observation": { + "sender": [ + "3feccf790548", + "3ec8052ccdb3", + "205b2a8716a9", + "4cb3f61eba79", + "da3aebbee6f2" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "f880a1519497" + }, + "state": "e13943e37fc3", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.inner-false-string-error:snapshot", + "observation": { + "sender": [ + "3feccf790548", + "3ec8052ccdb3", + "bcd88b035c68", + "4cb3f61eba79", + "da3aebbee6f2" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "f880a1519497" + }, + "state": "e13943e37fc3", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.inner-false-object-error:snapshot", + "observation": { + "sender": [ + "3feccf790548", + "3ec8052ccdb3", + "e8bad95ea299", + "4cb3f61eba79", + "da3aebbee6f2" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "f880a1519497" + }, + "state": "e13943e37fc3", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.outer-refused:snapshot", + "observation": { + "sender": [ + "3feccf790548", + "3ec8052ccdb3", + "ff397549b306", + "4cb3f61eba79", + "da3aebbee6f2" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "f880a1519497" + }, + "state": "e13943e37fc3", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.outer-refused-no-message:snapshot", + "observation": { + "sender": [ + "3feccf790548", + "3ec8052ccdb3", + "521ebac025f3", + "4cb3f61eba79", + "da3aebbee6f2" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "f880a1519497" + }, + "state": "e13943e37fc3", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.method-not-found:snapshot", + "observation": { + "sender": [ + "3feccf790548", + "3ec8052ccdb3", + "335768b54f09", + "4cb3f61eba79", + "da3aebbee6f2" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "f880a1519497" + }, + "state": "e13943e37fc3", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.transport-rejection:snapshot", + "observation": { + "sender": [ + "3feccf790548", + "3ec8052ccdb3", + "6e5c6593dad8", + "4cb3f61eba79", + "da3aebbee6f2" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "f880a1519497" + }, + "state": "e13943e37fc3", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.transport-rejection-no-message:snapshot", + "observation": { + "sender": [ + "3feccf790548", + "3ec8052ccdb3", + "cc1facdf008c", + "4cb3f61eba79", + "da3aebbee6f2" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "f880a1519497" + }, + "state": "e13943e37fc3", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-session.diff-review-review-show.json b/mobile/rpc-foundation/goldens/matrix-session.diff-review-review-show.json new file mode 100644 index 00000000000..2ef37281202 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-session.diff-review-review-show.json @@ -0,0 +1,1199 @@ +{ + "operation": "session.diff-review-load", + "family": "session.diff-review", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "a8016eb61915cf80a3bdeb622ee67d35be8b4b9862a75e4ef2e8f4ff8e93e7f2", + "scenarioSha256": "f17bb817f9a172e776f1814920d58abc7db122da9c49cfe3bbeaf217f82d70d7", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0c0e2524ba53": { + "name": "worktree.show#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-4", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "1c6269969672": { + "name": "worktree.show#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-4", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "2432ad799433": { + "name": "repo.list#1", + "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" + } + ] + } + } + } + }, + "3179b4e89c80": { + "name": "repo.list#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" + }, + "317a243394fa": { + "name": "git.status#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" + }, + "31bd76fdf517": { + "name": "worktree.show#2", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" + }, + "32a7c0ae7918": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "outer refused", + "isRpcDeliveryUnknown": false + } + }, + "3d4c094a4363": { + "name": "worktree.show#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": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-4", + "ok": false + } + } + }, + "3ec8052ccdb3": { + "name": "worktree.show#1", + "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", + "linkedPR": 12 + } + } + } + } + }, + "3fa5df34c660": { + "name": "worktree.show#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" + }, + "3feccf790548": { + "name": "git.status#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 + } + } + } + } + }, + "4a2786144952": { + "name": "worktree.show#2", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "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 + } + } + }, + "4cb3f61eba79": { + "name": "worktree.show#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-4", + "ok": true, + "result": { + "worktree": { + "diffComments": [], + "mobileDiffReview": { + "files": [] + } + } + } + } + } + }, + "75ceb6a12cfd": { + "name": "git.branchCompare#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"git.branchCompare\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"baseRef\":\"origin/main\"}}" + }, + "8946064957c4": { + "name": "worktree.show#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": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-4", + "ok": false + } + } + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "aa0c1a10566b": { + "name": "worktree.show#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-4", + "ok": true + } + } + }, + "b8b93d3f8005": { + "name": "git.status#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 + } + }, + "b948e8307e81": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Unknown method", + "isRpcDeliveryUnknown": false + } + }, + "c3c2c2e9a797": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Unable to load review notes", + "isRpcDeliveryUnknown": false + } + }, + "c7584e82c72f": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + }, + "cbd239c24933": { + "name": "worktree.show#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-4", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "cc05fa29a46a": { + "name": "worktree.show#2", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "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 + } + } + }, + "da3aebbee6f2": { + "name": "git.branchCompare#1", + "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-5", + "ok": true, + "result": { + "entries": [ + { + "added": 1, + "path": "src/old.ts", + "removed": 0, + "status": "modified" + } + ], + "summary": { + "baseOid": "base-oid", + "baseRef": "origin/main", + "changedFiles": 1, + "compareRef": "feature", + "headOid": "head-oid", + "mergeBase": "merge-base", + "status": "ready" + } + } + } + } + }, + "e13943e37fc3": { + "branchCompare": "unloaded", + "diff": "unloaded", + "snapshot": { + "branchCompare": { + "entries": [ + { + "added": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/old.ts", + "removed": 0, + "status": "modified" + } + ], + "summary": { + "baseOid": "base-oid", + "baseRef": "origin/main", + "changedFiles": 1, + "commitsAhead": { + "$rpc": "undefined" + }, + "compareRef": "feature", + "errorMessage": { + "$rpc": "undefined" + }, + "headOid": "head-oid", + "mergeBase": "merge-base", + "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", + "conflictOperation": "unknown", + "entries": [ + { + "added": 3, + "area": "unstaged", + "conflictKind": { + "$rpc": "undefined" + }, + "conflictStatus": { + "$rpc": "undefined" + }, + "conflictStatusSource": { + "$rpc": "undefined" + }, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/app.ts", + "removed": 1, + "status": "modified" + } + ], + "head": "head-sha-1", + "upstreamStatus": { + "ahead": 1, + "behind": 0, + "behindCommitsArePatchEquivalent": { + "$rpc": "undefined" + }, + "hasConfiguredPushTarget": { + "$rpc": "undefined" + }, + "hasUpstream": true, + "upstreamName": { + "$rpc": "undefined" + } + } + } + } + }, + "e39817462870": { + "branchCompare": "unloaded", + "diff": "unloaded", + "snapshot": "unloaded" + }, + "e5d8280af800": { + "name": "worktree.show#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": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-4", + "ok": false + } + } + }, + "f880a1519497": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "branchCompare": { + "entries": [ + { + "added": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/old.ts", + "removed": 0, + "status": "modified" + } + ], + "summary": { + "baseOid": "base-oid", + "baseRef": "origin/main", + "changedFiles": 1, + "commitsAhead": { + "$rpc": "undefined" + }, + "compareRef": "feature", + "errorMessage": { + "$rpc": "undefined" + }, + "headOid": "head-oid", + "mergeBase": "merge-base", + "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", + "conflictOperation": "unknown", + "entries": [ + { + "added": 3, + "area": "unstaged", + "conflictKind": { + "$rpc": "undefined" + }, + "conflictStatus": { + "$rpc": "undefined" + }, + "conflictStatusSource": { + "$rpc": "undefined" + }, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/app.ts", + "removed": 1, + "status": "modified" + } + ], + "head": "head-sha-1", + "upstreamStatus": { + "ahead": 1, + "behind": 0, + "behindCommitsArePatchEquivalent": { + "$rpc": "undefined" + }, + "hasConfiguredPushTarget": { + "$rpc": "undefined" + }, + "hasUpstream": true, + "upstreamName": { + "$rpc": "undefined" + } + } + } + } + }, + "f897c7ef6807": { + "name": "worktree.show#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-4", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + } + }, + "recording": { + "scenario": "matrix-session.diff-review-review-show", + "checkpoints": [ + { + "id": "diff-review-snapshot.prelude:pending", + "observation": { + "sender": ["b8b93d3f8005"], + "payloads": ["317a243394fa"], + "settlements": { + "snapshot": "9270aeb7d9c6" + }, + "state": "e39817462870", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.normal:snapshot", + "observation": { + "sender": [ + "3feccf790548", + "3ec8052ccdb3", + "2432ad799433", + "4cb3f61eba79", + "da3aebbee6f2" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "f880a1519497" + }, + "state": "e13943e37fc3", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.result-absent:snapshot", + "observation": { + "sender": [ + "3feccf790548", + "3ec8052ccdb3", + "2432ad799433", + "aa0c1a10566b", + "da3aebbee6f2" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "f880a1519497" + }, + "state": "e13943e37fc3", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.result-null:snapshot", + "observation": { + "sender": [ + "3feccf790548", + "3ec8052ccdb3", + "2432ad799433", + "f897c7ef6807", + "da3aebbee6f2" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "f880a1519497" + }, + "state": "e13943e37fc3", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.inner-ok-missing:snapshot", + "observation": { + "sender": [ + "3feccf790548", + "3ec8052ccdb3", + "2432ad799433", + "0c0e2524ba53", + "da3aebbee6f2" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "f880a1519497" + }, + "state": "e13943e37fc3", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.inner-false-string-error:snapshot", + "observation": { + "sender": [ + "3feccf790548", + "3ec8052ccdb3", + "2432ad799433", + "cbd239c24933", + "da3aebbee6f2" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "f880a1519497" + }, + "state": "e13943e37fc3", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.inner-false-object-error:snapshot", + "observation": { + "sender": [ + "3feccf790548", + "3ec8052ccdb3", + "2432ad799433", + "1c6269969672", + "da3aebbee6f2" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "f880a1519497" + }, + "state": "e13943e37fc3", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.outer-refused:snapshot", + "observation": { + "sender": [ + "3feccf790548", + "3ec8052ccdb3", + "2432ad799433", + "8946064957c4", + "da3aebbee6f2" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "32a7c0ae7918" + }, + "state": "e39817462870", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.outer-refused-no-message:snapshot", + "observation": { + "sender": [ + "3feccf790548", + "3ec8052ccdb3", + "2432ad799433", + "e5d8280af800", + "da3aebbee6f2" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "c3c2c2e9a797" + }, + "state": "e39817462870", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.method-not-found:snapshot", + "observation": { + "sender": [ + "3feccf790548", + "3ec8052ccdb3", + "2432ad799433", + "3d4c094a4363", + "da3aebbee6f2" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "b948e8307e81" + }, + "state": "e39817462870", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.transport-rejection:snapshot", + "observation": { + "sender": [ + "3feccf790548", + "3ec8052ccdb3", + "2432ad799433", + "4a2786144952", + "da3aebbee6f2" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "a947768bc0ed" + }, + "state": "e39817462870", + "effects": [] + } + }, + { + "id": "diff-review-snapshot.transport-rejection-no-message:snapshot", + "observation": { + "sender": [ + "3feccf790548", + "3ec8052ccdb3", + "2432ad799433", + "cc05fa29a46a", + "da3aebbee6f2" + ], + "payloads": [ + "317a243394fa", + "3fa5df34c660", + "3179b4e89c80", + "31bd76fdf517", + "75ceb6a12cfd" + ], + "settlements": { + "snapshot": "c7584e82c72f" + }, + "state": "e39817462870", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-session.markdown-save-markdown.savetab-1.json b/mobile/rpc-foundation/goldens/matrix-session.markdown-save-markdown.savetab-1.json new file mode 100644 index 00000000000..2fc04460012 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-session.markdown-save-markdown.savetab-1.json @@ -0,0 +1,685 @@ +{ + "operation": "session.markdown-save", + "family": "session.markdown-save", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "42334358b5e5966001639653b553f15033f6e201d785107871fe056536f0a5e2", + "scenarioSha256": "389c6118f3137b78e88af6b901554b0331c652063a00d8ba3119e0883ce82f25", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "13f8c99bcf0e": { + "markdown": { + "tab-md": { + "baseVersion": "v1", + "content": "# a", + "editable": true, + "isDirty": true, + "localContent": "# b", + "saveError": "outer refused", + "saving": false, + "status": "ready" + } + } + }, + "20d209219e76": { + "markdown": { + "tab-md": { + "baseVersion": { + "$rpc": "undefined" + }, + "content": { + "$rpc": "undefined" + }, + "editable": true, + "isDirty": false, + "localContent": { + "$rpc": "undefined" + }, + "status": "ready" + } + } + }, + "2853dae4d5f0": { + "markdown": { + "tab-md": { + "baseVersion": "v1", + "content": "# a", + "editable": true, + "isDirty": true, + "localContent": "# b", + "saveError": "Cannot read properties of undefined (reading 'content')", + "saving": false, + "status": "ready" + } + } + }, + "2a1476024127": { + "name": "markdown.saveTab#1", + "args": [ + { + "name": "method", + "value": "markdown.saveTab" + }, + { + "name": "params", + "value": { + "baseVersion": "v1", + "content": "# b", + "tabId": "tab-md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "36de5fd645a3": { + "markdown": { + "tab-md": { + "baseVersion": "v2", + "content": "# b", + "editable": true, + "isDirty": false, + "localContent": "# b", + "status": "ready" + } + } + }, + "3cab53956ec5": { + "name": "markdown.saveTab#1", + "args": [ + { + "name": "method", + "value": "markdown.saveTab" + }, + { + "name": "params", + "value": { + "baseVersion": "v1", + "content": "# b", + "tabId": "tab-md", + "worktree": "id:workspace-1" + } + }, + { + "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 + } + } + } + }, + "6808229bc6b9": { + "markdown": { + "tab-md": { + "baseVersion": "v1", + "content": "# a", + "editable": true, + "isDirty": true, + "localContent": "# b", + "saveError": "Cannot read properties of null (reading 'content')", + "saving": false, + "status": "ready" + } + } + }, + "7afacfd8853f": { + "name": "markdown.saveTab#1", + "args": [ + { + "name": "method", + "value": "markdown.saveTab" + }, + { + "name": "params", + "value": { + "baseVersion": "v1", + "content": "# b", + "tabId": "tab-md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "976e04874a1e": { + "name": "toast", + "value": { + "message": "Saved" + }, + "sent": 1 + }, + "a06e17cbe383": { + "name": "markdown.saveTab#1", + "args": [ + { + "name": "method", + "value": "markdown.saveTab" + }, + { + "name": "params", + "value": { + "baseVersion": "v1", + "content": "# b", + "tabId": "tab-md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "content": "# b", + "isDirty": false, + "version": "v2" + } + } + } + }, + "ae15e570e49e": { + "markdown": { + "tab-md": { + "baseVersion": "v1", + "content": "# a", + "editable": true, + "isDirty": true, + "localContent": "# b", + "saveError": "Save failed", + "saving": false, + "status": "ready" + } + } + }, + "b7782c6305b8": { + "name": "markdown.saveTab#1", + "args": [ + { + "name": "method", + "value": "markdown.saveTab" + }, + { + "name": "params", + "value": { + "baseVersion": "v1", + "content": "# b", + "tabId": "tab-md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "bd0650cd45fe": { + "name": "markdown.saveTab#1", + "args": [ + { + "name": "method", + "value": "markdown.saveTab" + }, + { + "name": "params", + "value": { + "baseVersion": "v1", + "content": "# b", + "tabId": "tab-md", + "worktree": "id:workspace-1" + } + }, + { + "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 + } + } + }, + "be35c536a20e": { + "name": "markdown.saveTab#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"markdown.saveTab\",\"params\":{\"worktree\":\"id:workspace-1\",\"tabId\":\"tab-md\",\"baseVersion\":\"v1\",\"content\":\"# b\"}}" + }, + "c1e52e8ff7d9": { + "markdown": { + "tab-md": { + "baseVersion": "v1", + "content": "# a", + "editable": true, + "isDirty": true, + "localContent": "# b", + "saveError": "Unknown method", + "saving": false, + "status": "ready" + } + } + }, + "cb2fb2a37dbd": { + "name": "markdown.saveTab#1", + "args": [ + { + "name": "method", + "value": "markdown.saveTab" + }, + { + "name": "params", + "value": { + "baseVersion": "v1", + "content": "# b", + "tabId": "tab-md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "cb4014f2aac3": { + "markdown": { + "tab-md": { + "baseVersion": "v1", + "content": "# a", + "editable": true, + "isDirty": true, + "localContent": "# b", + "saveError": "transport failure", + "saving": false, + "status": "ready" + } + } + }, + "d4147861284a": { + "name": "markdown.saveTab#1", + "args": [ + { + "name": "method", + "value": "markdown.saveTab" + }, + { + "name": "params", + "value": { + "baseVersion": "v1", + "content": "# b", + "tabId": "tab-md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "db1a22f5197e": { + "name": "markdown.saveTab#1", + "args": [ + { + "name": "method", + "value": "markdown.saveTab" + }, + { + "name": "params", + "value": { + "baseVersion": "v1", + "content": "# b", + "tabId": "tab-md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "dec169f24f21": { + "name": "markdown.saveTab#1", + "args": [ + { + "name": "method", + "value": "markdown.saveTab" + }, + { + "name": "params", + "value": { + "baseVersion": "v1", + "content": "# b", + "tabId": "tab-md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "e167231dab00": { + "name": "markdown.saveTab#1", + "args": [ + { + "name": "method", + "value": "markdown.saveTab" + }, + { + "name": "params", + "value": { + "baseVersion": "v1", + "content": "# b", + "tabId": "tab-md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "matrix-session.markdown-save-markdown.savetab-1", + "checkpoints": [ + { + "id": "session-markdown-saved.normal:saved", + "observation": { + "sender": ["a06e17cbe383"], + "payloads": ["be35c536a20e"], + "settlements": { + "save": "eb79a9b3682a" + }, + "state": "36de5fd645a3", + "effects": ["976e04874a1e"] + } + }, + { + "id": "session-markdown-saved.result-absent:saved", + "observation": { + "sender": ["e167231dab00"], + "payloads": ["be35c536a20e"], + "settlements": { + "save": "eb79a9b3682a" + }, + "state": "2853dae4d5f0", + "effects": [] + } + }, + { + "id": "session-markdown-saved.result-null:saved", + "observation": { + "sender": ["b7782c6305b8"], + "payloads": ["be35c536a20e"], + "settlements": { + "save": "eb79a9b3682a" + }, + "state": "6808229bc6b9", + "effects": [] + } + }, + { + "id": "session-markdown-saved.inner-ok-missing:saved", + "observation": { + "sender": ["dec169f24f21"], + "payloads": ["be35c536a20e"], + "settlements": { + "save": "eb79a9b3682a" + }, + "state": "20d209219e76", + "effects": ["976e04874a1e"] + } + }, + { + "id": "session-markdown-saved.inner-false-string-error:saved", + "observation": { + "sender": ["2a1476024127"], + "payloads": ["be35c536a20e"], + "settlements": { + "save": "eb79a9b3682a" + }, + "state": "20d209219e76", + "effects": ["976e04874a1e"] + } + }, + { + "id": "session-markdown-saved.inner-false-object-error:saved", + "observation": { + "sender": ["3cab53956ec5"], + "payloads": ["be35c536a20e"], + "settlements": { + "save": "eb79a9b3682a" + }, + "state": "20d209219e76", + "effects": ["976e04874a1e"] + } + }, + { + "id": "session-markdown-saved.outer-refused:saved", + "observation": { + "sender": ["db1a22f5197e"], + "payloads": ["be35c536a20e"], + "settlements": { + "save": "eb79a9b3682a" + }, + "state": "13f8c99bcf0e", + "effects": [] + } + }, + { + "id": "session-markdown-saved.outer-refused-no-message:saved", + "observation": { + "sender": ["d4147861284a"], + "payloads": ["be35c536a20e"], + "settlements": { + "save": "eb79a9b3682a" + }, + "state": "ae15e570e49e", + "effects": [] + } + }, + { + "id": "session-markdown-saved.method-not-found:saved", + "observation": { + "sender": ["bd0650cd45fe"], + "payloads": ["be35c536a20e"], + "settlements": { + "save": "eb79a9b3682a" + }, + "state": "c1e52e8ff7d9", + "effects": [] + } + }, + { + "id": "session-markdown-saved.transport-rejection:saved", + "observation": { + "sender": ["cb2fb2a37dbd"], + "payloads": ["be35c536a20e"], + "settlements": { + "save": "eb79a9b3682a" + }, + "state": "cb4014f2aac3", + "effects": [] + } + }, + { + "id": "session-markdown-saved.transport-rejection-no-message:saved", + "observation": { + "sender": ["7afacfd8853f"], + "payloads": ["be35c536a20e"], + "settlements": { + "save": "eb79a9b3682a" + }, + "state": "ae15e570e49e", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-session.native-chat-readability-repo.list-1.json b/mobile/rpc-foundation/goldens/matrix-session.native-chat-readability-repo.list-1.json new file mode 100644 index 00000000000..d3e3ccf19ac --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-session.native-chat-readability-repo.list-1.json @@ -0,0 +1,544 @@ +{ + "operation": "session.native-chat-readability", + "family": "session.native-chat-readability", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "a3daf9a05d05424959baf77feb45cb0c076d77d8c49e877941ed612cc1e5ce95", + "scenarioSha256": "d6a0472f274d55aab584b58b67018d042ee1ba6799f42072a8a5986f45554bfc", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "06b63e0d9986": { + "name": "repo.list#1", + "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-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "06fc8e7b85d5": { + "name": "repo.list#1", + "args": [ + { + "name": "method", + "value": "repo.list" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "0b8777edb86c": { + "readable": false, + "worktreeId": "repo-1::/w" + }, + "0f1ed2b7a695": { + "name": "repo.list#1", + "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-1", + "ok": true, + "result": { + "repos": [ + { + "connectionId": { + "$rpc": "null" + }, + "id": "repo-1" + } + ] + } + } + } + }, + "2ebe4d776f9b": { + "name": "repo.list#1", + "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-1", + "ok": true + } + } + }, + "38e790fd9e9c": { + "name": "repo.list#1", + "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-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "6bdbf70bafa2": { + "name": "repo.list#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" + }, + "6e5c6593dad8": { + "name": "repo.list#1", + "args": [ + { + "name": "method", + "value": "repo.list" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "9d3fa0db2665": { + "name": "repo.list#1", + "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-1", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "b9f0f1e94cd9": { + "name": "repo.list#1", + "args": [ + { + "name": "method", + "value": "repo.list" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "cc1facdf008c": { + "name": "repo.list#1", + "args": [ + { + "name": "method", + "value": "repo.list" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "dcf89ce6b4ca": { + "readable": true, + "worktreeId": "repo-1::/w" + }, + "e341bd05e614": { + "name": "repo.list#1", + "args": [ + { + "name": "method", + "value": "repo.list" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "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 + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f96e83d33565": { + "name": "repo.list#1", + "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-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + } + }, + "recording": { + "scenario": "matrix-session.native-chat-readability-repo.list-1", + "checkpoints": [ + { + "id": "native-chat-readability-local-repo.normal:readable", + "observation": { + "sender": ["0f1ed2b7a695"], + "payloads": ["6bdbf70bafa2"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "dcf89ce6b4ca", + "effects": [] + } + }, + { + "id": "native-chat-readability-local-repo.result-absent:readable", + "observation": { + "sender": ["2ebe4d776f9b"], + "payloads": ["6bdbf70bafa2"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "0b8777edb86c", + "effects": [] + } + }, + { + "id": "native-chat-readability-local-repo.result-null:readable", + "observation": { + "sender": ["38e790fd9e9c"], + "payloads": ["6bdbf70bafa2"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "0b8777edb86c", + "effects": [] + } + }, + { + "id": "native-chat-readability-local-repo.inner-ok-missing:readable", + "observation": { + "sender": ["06b63e0d9986"], + "payloads": ["6bdbf70bafa2"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "0b8777edb86c", + "effects": [] + } + }, + { + "id": "native-chat-readability-local-repo.inner-false-string-error:readable", + "observation": { + "sender": ["f96e83d33565"], + "payloads": ["6bdbf70bafa2"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "0b8777edb86c", + "effects": [] + } + }, + { + "id": "native-chat-readability-local-repo.inner-false-object-error:readable", + "observation": { + "sender": ["9d3fa0db2665"], + "payloads": ["6bdbf70bafa2"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "0b8777edb86c", + "effects": [] + } + }, + { + "id": "native-chat-readability-local-repo.outer-refused:readable", + "observation": { + "sender": ["b9f0f1e94cd9"], + "payloads": ["6bdbf70bafa2"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "0b8777edb86c", + "effects": [] + } + }, + { + "id": "native-chat-readability-local-repo.outer-refused-no-message:readable", + "observation": { + "sender": ["06fc8e7b85d5"], + "payloads": ["6bdbf70bafa2"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "0b8777edb86c", + "effects": [] + } + }, + { + "id": "native-chat-readability-local-repo.method-not-found:readable", + "observation": { + "sender": ["e341bd05e614"], + "payloads": ["6bdbf70bafa2"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "0b8777edb86c", + "effects": [] + } + }, + { + "id": "native-chat-readability-local-repo.transport-rejection:readable", + "observation": { + "sender": ["6e5c6593dad8"], + "payloads": ["6bdbf70bafa2"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "0b8777edb86c", + "effects": [] + } + }, + { + "id": "native-chat-readability-local-repo.transport-rejection-no-message:readable", + "observation": { + "sender": ["cc1facdf008c"], + "payloads": ["6bdbf70bafa2"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "0b8777edb86c", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-session.native-chat-stop-orchestration.workerterminaluserinput-1.json b/mobile/rpc-foundation/goldens/matrix-session.native-chat-stop-orchestration.workerterminaluserinput-1.json new file mode 100644 index 00000000000..bcec1ca3fa4 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-session.native-chat-stop-orchestration.workerterminaluserinput-1.json @@ -0,0 +1,781 @@ +{ + "operation": "session.native-chat-stop", + "family": "session.native-chat-stop", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "a3daf9a05d05424959baf77feb45cb0c076d77d8c49e877941ed612cc1e5ce95", + "scenarioSha256": "a60de7b496f8149593a6e89cd2d29e20fdf75d26536592fec6b0100b43322d3b", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0203262b5432": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "191580ba859d": { + "name": "orchestration.workerTerminalUserInput#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"orchestration.workerTerminalUserInput\",\"params\":{\"terminal\":\"terminal-1\"}}" + }, + "1a91fe5e4856": { + "name": "terminal.send#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u001b\",\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" + }, + "1d3e6369460d": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "text": "\u001b" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + } + }, + "34a453846d11": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "4f58026b7877": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "538133eba781": { + "name": "terminal.send#2", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u001b\",\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" + }, + "60fbbfd9bd11": { + "name": "cancel-pending", + "value": {}, + "sent": 0 + }, + "6aad8cc2e655": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "84777d7d765a": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "86ab67d60a77": { + "name": "terminal.send#2", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "text": "\u001b" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 14920 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 80, + "settledAt": 120, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + } + }, + "960f67ee14e2": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "reported": true + } + } + } + }, + "ad01b4d8b4de": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "bca437e23d8a": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "cb9a9683ab1e": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "d642e739823d": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "dc19ad107e96": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "debf84af8d66": { + "errors": [] + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "matrix-session.native-chat-stop-orchestration.workerterminaluserinput-1", + "checkpoints": [ + { + "id": "native-chat-stop-accepted.normal:first-accepted", + "observation": { + "sender": ["1d3e6369460d", "960f67ee14e2"], + "payloads": ["1a91fe5e4856", "191580ba859d"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.normal:settled", + "observation": { + "sender": ["1d3e6369460d", "960f67ee14e2", "86ab67d60a77"], + "payloads": ["1a91fe5e4856", "191580ba859d", "538133eba781"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.result-absent:first-accepted", + "observation": { + "sender": ["1d3e6369460d", "bca437e23d8a"], + "payloads": ["1a91fe5e4856", "191580ba859d"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.result-absent:settled", + "observation": { + "sender": ["1d3e6369460d", "bca437e23d8a", "86ab67d60a77"], + "payloads": ["1a91fe5e4856", "191580ba859d", "538133eba781"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.result-null:first-accepted", + "observation": { + "sender": ["1d3e6369460d", "d642e739823d"], + "payloads": ["1a91fe5e4856", "191580ba859d"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.result-null:settled", + "observation": { + "sender": ["1d3e6369460d", "d642e739823d", "86ab67d60a77"], + "payloads": ["1a91fe5e4856", "191580ba859d", "538133eba781"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.inner-ok-missing:first-accepted", + "observation": { + "sender": ["1d3e6369460d", "6aad8cc2e655"], + "payloads": ["1a91fe5e4856", "191580ba859d"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.inner-ok-missing:settled", + "observation": { + "sender": ["1d3e6369460d", "6aad8cc2e655", "86ab67d60a77"], + "payloads": ["1a91fe5e4856", "191580ba859d", "538133eba781"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.inner-false-string-error:first-accepted", + "observation": { + "sender": ["1d3e6369460d", "cb9a9683ab1e"], + "payloads": ["1a91fe5e4856", "191580ba859d"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.inner-false-string-error:settled", + "observation": { + "sender": ["1d3e6369460d", "cb9a9683ab1e", "86ab67d60a77"], + "payloads": ["1a91fe5e4856", "191580ba859d", "538133eba781"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.inner-false-object-error:first-accepted", + "observation": { + "sender": ["1d3e6369460d", "34a453846d11"], + "payloads": ["1a91fe5e4856", "191580ba859d"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.inner-false-object-error:settled", + "observation": { + "sender": ["1d3e6369460d", "34a453846d11", "86ab67d60a77"], + "payloads": ["1a91fe5e4856", "191580ba859d", "538133eba781"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.outer-refused:first-accepted", + "observation": { + "sender": ["1d3e6369460d", "84777d7d765a"], + "payloads": ["1a91fe5e4856", "191580ba859d"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.outer-refused:settled", + "observation": { + "sender": ["1d3e6369460d", "84777d7d765a", "86ab67d60a77"], + "payloads": ["1a91fe5e4856", "191580ba859d", "538133eba781"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.outer-refused-no-message:first-accepted", + "observation": { + "sender": ["1d3e6369460d", "dc19ad107e96"], + "payloads": ["1a91fe5e4856", "191580ba859d"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.outer-refused-no-message:settled", + "observation": { + "sender": ["1d3e6369460d", "dc19ad107e96", "86ab67d60a77"], + "payloads": ["1a91fe5e4856", "191580ba859d", "538133eba781"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.method-not-found:first-accepted", + "observation": { + "sender": ["1d3e6369460d", "ad01b4d8b4de"], + "payloads": ["1a91fe5e4856", "191580ba859d"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.method-not-found:settled", + "observation": { + "sender": ["1d3e6369460d", "ad01b4d8b4de", "86ab67d60a77"], + "payloads": ["1a91fe5e4856", "191580ba859d", "538133eba781"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.transport-rejection:first-accepted", + "observation": { + "sender": ["1d3e6369460d", "0203262b5432"], + "payloads": ["1a91fe5e4856", "191580ba859d"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.transport-rejection:settled", + "observation": { + "sender": ["1d3e6369460d", "0203262b5432", "86ab67d60a77"], + "payloads": ["1a91fe5e4856", "191580ba859d", "538133eba781"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.transport-rejection-no-message:first-accepted", + "observation": { + "sender": ["1d3e6369460d", "4f58026b7877"], + "payloads": ["1a91fe5e4856", "191580ba859d"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.transport-rejection-no-message:settled", + "observation": { + "sender": ["1d3e6369460d", "4f58026b7877", "86ab67d60a77"], + "payloads": ["1a91fe5e4856", "191580ba859d", "538133eba781"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-session.native-chat-stop-terminal.send-1.json b/mobile/rpc-foundation/goldens/matrix-session.native-chat-stop-terminal.send-1.json new file mode 100644 index 00000000000..72ae6357f80 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-session.native-chat-stop-terminal.send-1.json @@ -0,0 +1,897 @@ +{ + "operation": "session.native-chat-stop", + "family": "session.native-chat-stop", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "a3daf9a05d05424959baf77feb45cb0c076d77d8c49e877941ed612cc1e5ce95", + "scenarioSha256": "96499f352af2ff884bfa94996659609fdbd228e1d071ad462400b978ab8e239b", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "161bbe9b0076": { + "name": "terminal.send#2", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u001b\",\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" + }, + "191580ba859d": { + "name": "orchestration.workerTerminalUserInput#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"orchestration.workerTerminalUserInput\",\"params\":{\"terminal\":\"terminal-1\"}}" + }, + "1a91fe5e4856": { + "name": "terminal.send#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u001b\",\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" + }, + "1d3e6369460d": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "text": "\u001b" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + } + }, + "3c04f6d0878f": { + "name": "terminal.send#2", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "text": "\u001b" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 14920 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 80, + "settledAt": 120, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + } + }, + "3e35736d8479": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "text": "\u001b" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-1", + "ok": false + } + } + }, + "492866c0c9e1": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "text": "\u001b" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "538133eba781": { + "name": "terminal.send#2", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u001b\",\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" + }, + "6042c9b66ea6": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "text": "\u001b" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "60fbbfd9bd11": { + "name": "cancel-pending", + "value": {}, + "sent": 0 + }, + "63ceb8bb55e0": { + "name": "orchestration.workerTerminalUserInput#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"orchestration.workerTerminalUserInput\",\"params\":{\"terminal\":\"terminal-1\"}}" + }, + "6d0a95c36d38": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "text": "\u001b" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "862750fdf5df": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 120 + } + }, + "86ab67d60a77": { + "name": "terminal.send#2", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "text": "\u001b" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 14920 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 80, + "settledAt": 120, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + } + }, + "960f67ee14e2": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "reported": true + } + } + } + }, + "99589ad65e33": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "text": "\u001b" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "afbfdc05c156": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "text": "\u001b" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "c285187dc5a0": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "text": "\u001b" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "ceb10c5df8a0": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "text": "\u001b" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "cf7a58e6ca1e": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "text": "\u001b" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "debf84af8d66": { + "errors": [] + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "feec2910cb8d": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "text": "\u001b" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + } + }, + "recording": { + "scenario": "matrix-session.native-chat-stop-terminal.send-1", + "checkpoints": [ + { + "id": "native-chat-stop-accepted.normal:first-accepted", + "observation": { + "sender": ["1d3e6369460d", "960f67ee14e2"], + "payloads": ["1a91fe5e4856", "191580ba859d"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.normal:settled", + "observation": { + "sender": ["1d3e6369460d", "960f67ee14e2", "86ab67d60a77"], + "payloads": ["1a91fe5e4856", "191580ba859d", "538133eba781"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.result-absent:first-accepted", + "observation": { + "sender": ["492866c0c9e1"], + "payloads": ["1a91fe5e4856"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.result-absent:settled", + "observation": { + "sender": ["492866c0c9e1", "3c04f6d0878f", "862750fdf5df"], + "payloads": ["1a91fe5e4856", "161bbe9b0076", "63ceb8bb55e0"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.result-null:first-accepted", + "observation": { + "sender": ["99589ad65e33"], + "payloads": ["1a91fe5e4856"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.result-null:settled", + "observation": { + "sender": ["99589ad65e33", "3c04f6d0878f", "862750fdf5df"], + "payloads": ["1a91fe5e4856", "161bbe9b0076", "63ceb8bb55e0"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.inner-ok-missing:first-accepted", + "observation": { + "sender": ["6042c9b66ea6"], + "payloads": ["1a91fe5e4856"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.inner-ok-missing:settled", + "observation": { + "sender": ["6042c9b66ea6", "3c04f6d0878f", "862750fdf5df"], + "payloads": ["1a91fe5e4856", "161bbe9b0076", "63ceb8bb55e0"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.inner-false-string-error:first-accepted", + "observation": { + "sender": ["ceb10c5df8a0"], + "payloads": ["1a91fe5e4856"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.inner-false-string-error:settled", + "observation": { + "sender": ["ceb10c5df8a0", "3c04f6d0878f", "862750fdf5df"], + "payloads": ["1a91fe5e4856", "161bbe9b0076", "63ceb8bb55e0"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.inner-false-object-error:first-accepted", + "observation": { + "sender": ["feec2910cb8d"], + "payloads": ["1a91fe5e4856"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.inner-false-object-error:settled", + "observation": { + "sender": ["feec2910cb8d", "3c04f6d0878f", "862750fdf5df"], + "payloads": ["1a91fe5e4856", "161bbe9b0076", "63ceb8bb55e0"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.outer-refused:first-accepted", + "observation": { + "sender": ["afbfdc05c156"], + "payloads": ["1a91fe5e4856"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.outer-refused:settled", + "observation": { + "sender": ["afbfdc05c156", "3c04f6d0878f", "862750fdf5df"], + "payloads": ["1a91fe5e4856", "161bbe9b0076", "63ceb8bb55e0"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.outer-refused-no-message:first-accepted", + "observation": { + "sender": ["c285187dc5a0"], + "payloads": ["1a91fe5e4856"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.outer-refused-no-message:settled", + "observation": { + "sender": ["c285187dc5a0", "3c04f6d0878f", "862750fdf5df"], + "payloads": ["1a91fe5e4856", "161bbe9b0076", "63ceb8bb55e0"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.method-not-found:first-accepted", + "observation": { + "sender": ["3e35736d8479"], + "payloads": ["1a91fe5e4856"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.method-not-found:settled", + "observation": { + "sender": ["3e35736d8479", "3c04f6d0878f", "862750fdf5df"], + "payloads": ["1a91fe5e4856", "161bbe9b0076", "63ceb8bb55e0"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.transport-rejection:first-accepted", + "observation": { + "sender": ["6d0a95c36d38"], + "payloads": ["1a91fe5e4856"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.transport-rejection:settled", + "observation": { + "sender": ["6d0a95c36d38", "3c04f6d0878f", "862750fdf5df"], + "payloads": ["1a91fe5e4856", "161bbe9b0076", "63ceb8bb55e0"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.transport-rejection-no-message:first-accepted", + "observation": { + "sender": ["cf7a58e6ca1e"], + "payloads": ["1a91fe5e4856"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.transport-rejection-no-message:settled", + "observation": { + "sender": ["cf7a58e6ca1e", "3c04f6d0878f", "862750fdf5df"], + "payloads": ["1a91fe5e4856", "161bbe9b0076", "63ceb8bb55e0"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-session.native-chat-stop-terminal.send-2.json b/mobile/rpc-foundation/goldens/matrix-session.native-chat-stop-terminal.send-2.json new file mode 100644 index 00000000000..c5627d1d6a2 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-session.native-chat-stop-terminal.send-2.json @@ -0,0 +1,701 @@ +{ + "operation": "session.native-chat-stop", + "family": "session.native-chat-stop", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "a3daf9a05d05424959baf77feb45cb0c076d77d8c49e877941ed612cc1e5ce95", + "scenarioSha256": "c28251d769ca9788952ed4fb29d8665c870fb85f2c5a4f32f8af33baf44498af", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "191580ba859d": { + "name": "orchestration.workerTerminalUserInput#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"orchestration.workerTerminalUserInput\",\"params\":{\"terminal\":\"terminal-1\"}}" + }, + "1a91fe5e4856": { + "name": "terminal.send#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u001b\",\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" + }, + "1d3e6369460d": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "text": "\u001b" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + } + }, + "25c18cb06628": { + "name": "terminal.send#2", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "text": "\u001b" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 14920 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 80, + "settledAt": 120, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "304c613c8e0a": { + "name": "terminal.send#2", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "text": "\u001b" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 14920 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 80, + "settledAt": 120, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "4799bb18ef3a": { + "name": "terminal.send#2", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "text": "\u001b" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 14920 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 80, + "settledAt": 120, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "538133eba781": { + "name": "terminal.send#2", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u001b\",\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" + }, + "60fbbfd9bd11": { + "name": "cancel-pending", + "value": {}, + "sent": 0 + }, + "704e2e7084db": { + "name": "terminal.send#2", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "text": "\u001b" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 14920 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 80, + "settledAt": 120, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "830b50854dbe": { + "name": "terminal.send#2", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "text": "\u001b" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 14920 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 80, + "settledAt": 120, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-3", + "ok": false + } + } + }, + "86ab67d60a77": { + "name": "terminal.send#2", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "text": "\u001b" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 14920 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 80, + "settledAt": 120, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + } + }, + "90321ca143d3": { + "name": "terminal.send#2", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "text": "\u001b" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 14920 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 80, + "settledAt": 120, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-3", + "ok": false + } + } + }, + "960f67ee14e2": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "reported": true + } + } + } + }, + "a192a9818f72": { + "name": "terminal.send#2", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "text": "\u001b" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 14920 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 80, + "settledAt": 120, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "c55d03869941": { + "name": "terminal.send#2", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "text": "\u001b" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 14920 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 80, + "settledAt": 120, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "c7c4d50d3486": { + "name": "terminal.send#2", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "text": "\u001b" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 14920 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 80, + "settledAt": 120, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-3", + "ok": false + } + } + }, + "debf84af8d66": { + "errors": [] + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f23509c16ec5": { + "name": "terminal.send#2", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "text": "\u001b" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 14920 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 80, + "settledAt": 120, + "value": { + "id": "frame-3", + "ok": true + } + } + } + }, + "recording": { + "scenario": "matrix-session.native-chat-stop-terminal.send-2", + "checkpoints": [ + { + "id": "native-chat-stop-accepted.prelude:first-accepted", + "observation": { + "sender": ["1d3e6369460d", "960f67ee14e2"], + "payloads": ["1a91fe5e4856", "191580ba859d"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.normal:settled", + "observation": { + "sender": ["1d3e6369460d", "960f67ee14e2", "86ab67d60a77"], + "payloads": ["1a91fe5e4856", "191580ba859d", "538133eba781"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.result-absent:settled", + "observation": { + "sender": ["1d3e6369460d", "960f67ee14e2", "f23509c16ec5"], + "payloads": ["1a91fe5e4856", "191580ba859d", "538133eba781"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.result-null:settled", + "observation": { + "sender": ["1d3e6369460d", "960f67ee14e2", "a192a9818f72"], + "payloads": ["1a91fe5e4856", "191580ba859d", "538133eba781"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.inner-ok-missing:settled", + "observation": { + "sender": ["1d3e6369460d", "960f67ee14e2", "304c613c8e0a"], + "payloads": ["1a91fe5e4856", "191580ba859d", "538133eba781"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.inner-false-string-error:settled", + "observation": { + "sender": ["1d3e6369460d", "960f67ee14e2", "25c18cb06628"], + "payloads": ["1a91fe5e4856", "191580ba859d", "538133eba781"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.inner-false-object-error:settled", + "observation": { + "sender": ["1d3e6369460d", "960f67ee14e2", "4799bb18ef3a"], + "payloads": ["1a91fe5e4856", "191580ba859d", "538133eba781"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.outer-refused:settled", + "observation": { + "sender": ["1d3e6369460d", "960f67ee14e2", "90321ca143d3"], + "payloads": ["1a91fe5e4856", "191580ba859d", "538133eba781"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.outer-refused-no-message:settled", + "observation": { + "sender": ["1d3e6369460d", "960f67ee14e2", "c7c4d50d3486"], + "payloads": ["1a91fe5e4856", "191580ba859d", "538133eba781"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.method-not-found:settled", + "observation": { + "sender": ["1d3e6369460d", "960f67ee14e2", "830b50854dbe"], + "payloads": ["1a91fe5e4856", "191580ba859d", "538133eba781"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.transport-rejection:settled", + "observation": { + "sender": ["1d3e6369460d", "960f67ee14e2", "704e2e7084db"], + "payloads": ["1a91fe5e4856", "191580ba859d", "538133eba781"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "native-chat-stop-accepted.transport-rejection-no-message:settled", + "observation": { + "sender": ["1d3e6369460d", "960f67ee14e2", "c55d03869941"], + "payloads": ["1a91fe5e4856", "191580ba859d", "538133eba781"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-session.pr-branch-context-git.branchcompare-1.json b/mobile/rpc-foundation/goldens/matrix-session.pr-branch-context-git.branchcompare-1.json new file mode 100644 index 00000000000..5b4d1a43c3b --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-session.pr-branch-context-git.branchcompare-1.json @@ -0,0 +1,873 @@ +{ + "operation": "session.pr-branch-context", + "family": "session.pr-branch-context", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "f560ff1582487c118756c527faa1fb1f65e37ce22ca9573491fd4b2dbcedf38d", + "scenarioSha256": "af78542ad2c449b629f8705b940ec92fd16f879a9bcc81ff6ae3a192f804fa2c", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "067a7cb169d0": { + "name": "git.branchCompare#1", + "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 + } + } + }, + "0c1103f58536": { + "name": "git.branchCompare#1", + "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": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-4", + "ok": false + } + } + }, + "160243f9f693": { + "name": "git.branchCompare#1", + "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": { + "error": "refused" + } + } + } + }, + "2432ad799433": { + "name": "repo.list#1", + "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" + } + ] + } + } + } + }, + "26accd69bc48": { + "name": "repo.list#1", + "args": [ + { + "name": "method", + "value": "repo.list" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "30a0765fff24": { + "name": "git.branchCompare#1", + "args": [ + { + "name": "method", + "value": "git.branchCompare" + }, + { + "name": "params", + "value": { + "baseRef": "origin/main", + "worktree": "id:repo-9::/w" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "3179b4e89c80": { + "name": "repo.list#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" + }, + "317a243394fa": { + "name": "git.status#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" + }, + "3ec8052ccdb3": { + "name": "worktree.show#1", + "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", + "linkedPR": 12 + } + } + } + } + }, + "3fa5df34c660": { + "name": "worktree.show#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" + }, + "3feccf790548": { + "name": "git.status#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 + } + } + } + } + }, + "624e3d46d668": { + "name": "git.branchCompare#1", + "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": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-4", + "ok": false + } + } + }, + "64ad9a7ea2cd": { + "name": "git.branchCompare#1", + "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": "base-oid", + "baseRef": "origin/main", + "changedFiles": 1, + "compareRef": "feature", + "headOid": "head-oid", + "mergeBase": "merge-base", + "status": "ready" + } + } + } + } + }, + "6da1f95af186": { + "identity": "unread", + "repoContext": "unread" + }, + "86f2913af9d4": { + "name": "git.branchCompare#1", + "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": { + "error": "inner refused", + "ok": false + } + } + } + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "a525bc7c9a5a": { + "name": "git.branchCompare#1", + "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": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "a97f49e6c1a1": { + "name": "git.branchCompare#1", + "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": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-4", + "ok": false + } + } + }, + "b8b93d3f8005": { + "name": "git.status#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 + } + }, + "c1c0d3047408": { + "name": "git.branchCompare#1", + "args": [ + { + "name": "method", + "value": "git.branchCompare" + }, + { + "name": "params", + "value": { + "baseRef": "origin/main", + "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 + } + } + }, + "c70359272e10": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:repo-9::/w" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "d8ab15a50216": { + "name": "git.branchCompare#1", + "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": { + "$rpc": "null" + } + } + } + }, + "da6855b5e2bf": { + "name": "git.branchCompare#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"git.branchCompare\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"baseRef\":\"origin/main\"}}" + }, + "f0e28a4b20aa": { + "identity": { + "branch": "feature", + "headSha": "head-sha-1", + "status": { + "branch": "feature", + "conflictOperation": "unknown", + "entries": [ + { + "added": 3, + "area": "unstaged", + "conflictKind": { + "$rpc": "undefined" + }, + "conflictStatus": { + "$rpc": "undefined" + }, + "conflictStatusSource": { + "$rpc": "undefined" + }, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/app.ts", + "removed": 1, + "status": "modified" + } + ], + "head": "head-sha-1", + "upstreamStatus": { + "ahead": 1, + "behind": 0, + "behindCommitsArePatchEquivalent": { + "$rpc": "undefined" + }, + "hasConfiguredPushTarget": { + "$rpc": "undefined" + }, + "hasUpstream": true, + "upstreamName": { + "$rpc": "undefined" + } + } + } + }, + "repoContext": "unread" + }, + "ffc37850babd": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "branch": "feature", + "headSha": "head-sha-1", + "status": { + "branch": "feature", + "conflictOperation": "unknown", + "entries": [ + { + "added": 3, + "area": "unstaged", + "conflictKind": { + "$rpc": "undefined" + }, + "conflictStatus": { + "$rpc": "undefined" + }, + "conflictStatusSource": { + "$rpc": "undefined" + }, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/app.ts", + "removed": 1, + "status": "modified" + } + ], + "head": "head-sha-1", + "upstreamStatus": { + "ahead": 1, + "behind": 0, + "behindCommitsArePatchEquivalent": { + "$rpc": "undefined" + }, + "hasConfiguredPushTarget": { + "$rpc": "undefined" + }, + "hasUpstream": true, + "upstreamName": { + "$rpc": "undefined" + } + } + } + } + } + }, + "recording": { + "scenario": "matrix-session.pr-branch-context-git.branchcompare-1", + "checkpoints": [ + { + "id": "pr-branch-identity.prelude:pending", + "observation": { + "sender": ["b8b93d3f8005", "c70359272e10", "26accd69bc48"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80"], + "settlements": { + "identity": "9270aeb7d9c6" + }, + "state": "6da1f95af186", + "effects": [] + } + }, + { + "id": "pr-branch-identity.normal:identity", + "observation": { + "sender": ["3feccf790548", "3ec8052ccdb3", "2432ad799433", "64ad9a7ea2cd"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "da6855b5e2bf"], + "settlements": { + "identity": "ffc37850babd" + }, + "state": "f0e28a4b20aa", + "effects": [] + } + }, + { + "id": "pr-branch-identity.result-absent:identity", + "observation": { + "sender": ["3feccf790548", "3ec8052ccdb3", "2432ad799433", "067a7cb169d0"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "da6855b5e2bf"], + "settlements": { + "identity": "ffc37850babd" + }, + "state": "f0e28a4b20aa", + "effects": [] + } + }, + { + "id": "pr-branch-identity.result-null:identity", + "observation": { + "sender": ["3feccf790548", "3ec8052ccdb3", "2432ad799433", "d8ab15a50216"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "da6855b5e2bf"], + "settlements": { + "identity": "ffc37850babd" + }, + "state": "f0e28a4b20aa", + "effects": [] + } + }, + { + "id": "pr-branch-identity.inner-ok-missing:identity", + "observation": { + "sender": ["3feccf790548", "3ec8052ccdb3", "2432ad799433", "160243f9f693"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "da6855b5e2bf"], + "settlements": { + "identity": "ffc37850babd" + }, + "state": "f0e28a4b20aa", + "effects": [] + } + }, + { + "id": "pr-branch-identity.inner-false-string-error:identity", + "observation": { + "sender": ["3feccf790548", "3ec8052ccdb3", "2432ad799433", "86f2913af9d4"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "da6855b5e2bf"], + "settlements": { + "identity": "ffc37850babd" + }, + "state": "f0e28a4b20aa", + "effects": [] + } + }, + { + "id": "pr-branch-identity.inner-false-object-error:identity", + "observation": { + "sender": ["3feccf790548", "3ec8052ccdb3", "2432ad799433", "a525bc7c9a5a"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "da6855b5e2bf"], + "settlements": { + "identity": "ffc37850babd" + }, + "state": "f0e28a4b20aa", + "effects": [] + } + }, + { + "id": "pr-branch-identity.outer-refused:identity", + "observation": { + "sender": ["3feccf790548", "3ec8052ccdb3", "2432ad799433", "624e3d46d668"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "da6855b5e2bf"], + "settlements": { + "identity": "ffc37850babd" + }, + "state": "f0e28a4b20aa", + "effects": [] + } + }, + { + "id": "pr-branch-identity.outer-refused-no-message:identity", + "observation": { + "sender": ["3feccf790548", "3ec8052ccdb3", "2432ad799433", "0c1103f58536"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "da6855b5e2bf"], + "settlements": { + "identity": "ffc37850babd" + }, + "state": "f0e28a4b20aa", + "effects": [] + } + }, + { + "id": "pr-branch-identity.method-not-found:identity", + "observation": { + "sender": ["3feccf790548", "3ec8052ccdb3", "2432ad799433", "a97f49e6c1a1"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "da6855b5e2bf"], + "settlements": { + "identity": "ffc37850babd" + }, + "state": "f0e28a4b20aa", + "effects": [] + } + }, + { + "id": "pr-branch-identity.transport-rejection:identity", + "observation": { + "sender": ["3feccf790548", "3ec8052ccdb3", "2432ad799433", "c1c0d3047408"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "da6855b5e2bf"], + "settlements": { + "identity": "ffc37850babd" + }, + "state": "f0e28a4b20aa", + "effects": [] + } + }, + { + "id": "pr-branch-identity.transport-rejection-no-message:identity", + "observation": { + "sender": ["3feccf790548", "3ec8052ccdb3", "2432ad799433", "30a0765fff24"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "da6855b5e2bf"], + "settlements": { + "identity": "ffc37850babd" + }, + "state": "f0e28a4b20aa", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-session.pr-branch-context-git.status-1.json b/mobile/rpc-foundation/goldens/matrix-session.pr-branch-context-git.status-1.json new file mode 100644 index 00000000000..526a45ba468 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-session.pr-branch-context-git.status-1.json @@ -0,0 +1,909 @@ +{ + "operation": "session.pr-branch-context", + "family": "session.pr-branch-context", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "f560ff1582487c118756c527faa1fb1f65e37ce22ca9573491fd4b2dbcedf38d", + "scenarioSha256": "1e7cad00f4dfcda65a3830b0b2468020816b940611af1b68600de33cd8c1d7c2", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "2432ad799433": { + "name": "repo.list#1", + "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" + } + ] + } + } + } + }, + "26accd69bc48": { + "name": "repo.list#1", + "args": [ + { + "name": "method", + "value": "repo.list" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "3179b4e89c80": { + "name": "repo.list#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" + }, + "317a243394fa": { + "name": "git.status#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" + }, + "3ec8052ccdb3": { + "name": "worktree.show#1", + "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", + "linkedPR": 12 + } + } + } + } + }, + "3fa5df34c660": { + "name": "worktree.show#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" + }, + "3feccf790548": { + "name": "git.status#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 + } + } + } + } + }, + "4327397d6202": { + "name": "git.status#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 + } + } + }, + "64ad9a7ea2cd": { + "name": "git.branchCompare#1", + "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": "base-oid", + "baseRef": "origin/main", + "changedFiles": 1, + "compareRef": "feature", + "headOid": "head-oid", + "mergeBase": "merge-base", + "status": "ready" + } + } + } + } + }, + "6da1f95af186": { + "identity": "unread", + "repoContext": "unread" + }, + "773f406d8ab5": { + "name": "git.status#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 + } + } + }, + "925bc1732e6e": { + "name": "git.status#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 + } + } + } + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "93b9682c496c": { + "name": "git.status#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 + } + } + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "b2cc0d6f05e0": { + "name": "git.status#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" + } + } + } + }, + "b8b93d3f8005": { + "name": "git.status#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 + } + }, + "c70359272e10": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:repo-9::/w" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "c7584e82c72f": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + }, + "c7c47b24d772": { + "name": "git.status#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 + } + } + }, + "d344a3126471": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "branch": { + "$rpc": "null" + }, + "headSha": "head-oid", + "status": { + "$rpc": "null" + } + } + }, + "d52732ec0da4": { + "name": "git.status#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" + } + } + } + }, + "da6855b5e2bf": { + "name": "git.branchCompare#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"git.branchCompare\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"baseRef\":\"origin/main\"}}" + }, + "dedfcab351e6": { + "name": "git.status#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 + } + } + }, + "f043e677bc3b": { + "identity": { + "branch": { + "$rpc": "null" + }, + "headSha": "head-oid", + "status": { + "$rpc": "null" + } + }, + "repoContext": "unread" + }, + "f04da7e8c374": { + "name": "git.status#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 + } + } + }, + "f0e28a4b20aa": { + "identity": { + "branch": "feature", + "headSha": "head-sha-1", + "status": { + "branch": "feature", + "conflictOperation": "unknown", + "entries": [ + { + "added": 3, + "area": "unstaged", + "conflictKind": { + "$rpc": "undefined" + }, + "conflictStatus": { + "$rpc": "undefined" + }, + "conflictStatusSource": { + "$rpc": "undefined" + }, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/app.ts", + "removed": 1, + "status": "modified" + } + ], + "head": "head-sha-1", + "upstreamStatus": { + "ahead": 1, + "behind": 0, + "behindCommitsArePatchEquivalent": { + "$rpc": "undefined" + }, + "hasConfiguredPushTarget": { + "$rpc": "undefined" + }, + "hasUpstream": true, + "upstreamName": { + "$rpc": "undefined" + } + } + } + }, + "repoContext": "unread" + }, + "f55a580e621c": { + "name": "git.status#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 + } + } + } + }, + "ffc37850babd": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "branch": "feature", + "headSha": "head-sha-1", + "status": { + "branch": "feature", + "conflictOperation": "unknown", + "entries": [ + { + "added": 3, + "area": "unstaged", + "conflictKind": { + "$rpc": "undefined" + }, + "conflictStatus": { + "$rpc": "undefined" + }, + "conflictStatusSource": { + "$rpc": "undefined" + }, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/app.ts", + "removed": 1, + "status": "modified" + } + ], + "head": "head-sha-1", + "upstreamStatus": { + "ahead": 1, + "behind": 0, + "behindCommitsArePatchEquivalent": { + "$rpc": "undefined" + }, + "hasConfiguredPushTarget": { + "$rpc": "undefined" + }, + "hasUpstream": true, + "upstreamName": { + "$rpc": "undefined" + } + } + } + } + } + }, + "recording": { + "scenario": "matrix-session.pr-branch-context-git.status-1", + "checkpoints": [ + { + "id": "pr-branch-identity.prelude:pending", + "observation": { + "sender": ["b8b93d3f8005", "c70359272e10", "26accd69bc48"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80"], + "settlements": { + "identity": "9270aeb7d9c6" + }, + "state": "6da1f95af186", + "effects": [] + } + }, + { + "id": "pr-branch-identity.normal:identity", + "observation": { + "sender": ["3feccf790548", "3ec8052ccdb3", "2432ad799433", "64ad9a7ea2cd"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "da6855b5e2bf"], + "settlements": { + "identity": "ffc37850babd" + }, + "state": "f0e28a4b20aa", + "effects": [] + } + }, + { + "id": "pr-branch-identity.result-absent:identity", + "observation": { + "sender": ["dedfcab351e6", "3ec8052ccdb3", "2432ad799433", "64ad9a7ea2cd"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "da6855b5e2bf"], + "settlements": { + "identity": "d344a3126471" + }, + "state": "f043e677bc3b", + "effects": [] + } + }, + { + "id": "pr-branch-identity.result-null:identity", + "observation": { + "sender": ["d52732ec0da4", "3ec8052ccdb3", "2432ad799433", "64ad9a7ea2cd"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "da6855b5e2bf"], + "settlements": { + "identity": "d344a3126471" + }, + "state": "f043e677bc3b", + "effects": [] + } + }, + { + "id": "pr-branch-identity.inner-ok-missing:identity", + "observation": { + "sender": ["b2cc0d6f05e0", "3ec8052ccdb3", "2432ad799433", "64ad9a7ea2cd"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "da6855b5e2bf"], + "settlements": { + "identity": "d344a3126471" + }, + "state": "f043e677bc3b", + "effects": [] + } + }, + { + "id": "pr-branch-identity.inner-false-string-error:identity", + "observation": { + "sender": ["925bc1732e6e", "3ec8052ccdb3", "2432ad799433", "64ad9a7ea2cd"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "da6855b5e2bf"], + "settlements": { + "identity": "d344a3126471" + }, + "state": "f043e677bc3b", + "effects": [] + } + }, + { + "id": "pr-branch-identity.inner-false-object-error:identity", + "observation": { + "sender": ["f55a580e621c", "3ec8052ccdb3", "2432ad799433", "64ad9a7ea2cd"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "da6855b5e2bf"], + "settlements": { + "identity": "d344a3126471" + }, + "state": "f043e677bc3b", + "effects": [] + } + }, + { + "id": "pr-branch-identity.outer-refused:identity", + "observation": { + "sender": ["c7c47b24d772", "3ec8052ccdb3", "2432ad799433", "64ad9a7ea2cd"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "da6855b5e2bf"], + "settlements": { + "identity": "d344a3126471" + }, + "state": "f043e677bc3b", + "effects": [] + } + }, + { + "id": "pr-branch-identity.outer-refused-no-message:identity", + "observation": { + "sender": ["773f406d8ab5", "3ec8052ccdb3", "2432ad799433", "64ad9a7ea2cd"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "da6855b5e2bf"], + "settlements": { + "identity": "d344a3126471" + }, + "state": "f043e677bc3b", + "effects": [] + } + }, + { + "id": "pr-branch-identity.method-not-found:identity", + "observation": { + "sender": ["93b9682c496c", "3ec8052ccdb3", "2432ad799433", "64ad9a7ea2cd"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "da6855b5e2bf"], + "settlements": { + "identity": "d344a3126471" + }, + "state": "f043e677bc3b", + "effects": [] + } + }, + { + "id": "pr-branch-identity.transport-rejection:identity", + "observation": { + "sender": ["4327397d6202", "3ec8052ccdb3", "2432ad799433", "64ad9a7ea2cd"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "da6855b5e2bf"], + "settlements": { + "identity": "a947768bc0ed" + }, + "state": "6da1f95af186", + "effects": [] + } + }, + { + "id": "pr-branch-identity.transport-rejection-no-message:identity", + "observation": { + "sender": ["f04da7e8c374", "3ec8052ccdb3", "2432ad799433", "64ad9a7ea2cd"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "da6855b5e2bf"], + "settlements": { + "identity": "c7584e82c72f" + }, + "state": "6da1f95af186", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-session.pr-branch-context-repo.list-1.json b/mobile/rpc-foundation/goldens/matrix-session.pr-branch-context-repo.list-1.json new file mode 100644 index 00000000000..6f8fec1d185 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-session.pr-branch-context-repo.list-1.json @@ -0,0 +1,863 @@ +{ + "operation": "session.pr-branch-context", + "family": "session.pr-branch-context", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "f560ff1582487c118756c527faa1fb1f65e37ce22ca9573491fd4b2dbcedf38d", + "scenarioSha256": "d456ec18056eb9663e99d4991784bd802422256d81ddd7509720814da06915f4", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "205b2a8716a9": { + "name": "repo.list#1", + "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": { + "error": "refused" + } + } + } + }, + "2432ad799433": { + "name": "repo.list#1", + "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" + } + ] + } + } + } + }, + "26accd69bc48": { + "name": "repo.list#1", + "args": [ + { + "name": "method", + "value": "repo.list" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "3179b4e89c80": { + "name": "repo.list#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" + }, + "317a243394fa": { + "name": "git.status#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" + }, + "335768b54f09": { + "name": "repo.list#1", + "args": [ + { + "name": "method", + "value": "repo.list" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "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 + } + } + }, + "3ec8052ccdb3": { + "name": "worktree.show#1", + "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", + "linkedPR": 12 + } + } + } + } + }, + "3fa5df34c660": { + "name": "worktree.show#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" + }, + "3feccf790548": { + "name": "git.status#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 + } + } + } + } + }, + "521ebac025f3": { + "name": "repo.list#1", + "args": [ + { + "name": "method", + "value": "repo.list" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-3", + "ok": false + } + } + }, + "64ad9a7ea2cd": { + "name": "git.branchCompare#1", + "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": "base-oid", + "baseRef": "origin/main", + "changedFiles": 1, + "compareRef": "feature", + "headOid": "head-oid", + "mergeBase": "merge-base", + "status": "ready" + } + } + } + } + }, + "6da1f95af186": { + "identity": "unread", + "repoContext": "unread" + }, + "6e5c6593dad8": { + "name": "repo.list#1", + "args": [ + { + "name": "method", + "value": "repo.list" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "b8b93d3f8005": { + "name": "git.status#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 + } + }, + "bcd88b035c68": { + "name": "repo.list#1", + "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": { + "error": "inner refused", + "ok": false + } + } + } + }, + "c70359272e10": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:repo-9::/w" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "cc1facdf008c": { + "name": "repo.list#1", + "args": [ + { + "name": "method", + "value": "repo.list" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "d76c1ced0b3a": { + "name": "repo.list#1", + "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 + } + } + }, + "da6855b5e2bf": { + "name": "git.branchCompare#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"git.branchCompare\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"baseRef\":\"origin/main\"}}" + }, + "e8bad95ea299": { + "name": "repo.list#1", + "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": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "f0e28a4b20aa": { + "identity": { + "branch": "feature", + "headSha": "head-sha-1", + "status": { + "branch": "feature", + "conflictOperation": "unknown", + "entries": [ + { + "added": 3, + "area": "unstaged", + "conflictKind": { + "$rpc": "undefined" + }, + "conflictStatus": { + "$rpc": "undefined" + }, + "conflictStatusSource": { + "$rpc": "undefined" + }, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/app.ts", + "removed": 1, + "status": "modified" + } + ], + "head": "head-sha-1", + "upstreamStatus": { + "ahead": 1, + "behind": 0, + "behindCommitsArePatchEquivalent": { + "$rpc": "undefined" + }, + "hasConfiguredPushTarget": { + "$rpc": "undefined" + }, + "hasUpstream": true, + "upstreamName": { + "$rpc": "undefined" + } + } + } + }, + "repoContext": "unread" + }, + "f1a2cd24ab44": { + "name": "repo.list#1", + "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": { + "$rpc": "null" + } + } + } + }, + "ff397549b306": { + "name": "repo.list#1", + "args": [ + { + "name": "method", + "value": "repo.list" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-3", + "ok": false + } + } + }, + "ffc37850babd": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "branch": "feature", + "headSha": "head-sha-1", + "status": { + "branch": "feature", + "conflictOperation": "unknown", + "entries": [ + { + "added": 3, + "area": "unstaged", + "conflictKind": { + "$rpc": "undefined" + }, + "conflictStatus": { + "$rpc": "undefined" + }, + "conflictStatusSource": { + "$rpc": "undefined" + }, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/app.ts", + "removed": 1, + "status": "modified" + } + ], + "head": "head-sha-1", + "upstreamStatus": { + "ahead": 1, + "behind": 0, + "behindCommitsArePatchEquivalent": { + "$rpc": "undefined" + }, + "hasConfiguredPushTarget": { + "$rpc": "undefined" + }, + "hasUpstream": true, + "upstreamName": { + "$rpc": "undefined" + } + } + } + } + } + }, + "recording": { + "scenario": "matrix-session.pr-branch-context-repo.list-1", + "checkpoints": [ + { + "id": "pr-branch-identity.prelude:pending", + "observation": { + "sender": ["b8b93d3f8005", "c70359272e10", "26accd69bc48"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80"], + "settlements": { + "identity": "9270aeb7d9c6" + }, + "state": "6da1f95af186", + "effects": [] + } + }, + { + "id": "pr-branch-identity.normal:identity", + "observation": { + "sender": ["3feccf790548", "3ec8052ccdb3", "2432ad799433", "64ad9a7ea2cd"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "da6855b5e2bf"], + "settlements": { + "identity": "ffc37850babd" + }, + "state": "f0e28a4b20aa", + "effects": [] + } + }, + { + "id": "pr-branch-identity.result-absent:identity", + "observation": { + "sender": ["3feccf790548", "3ec8052ccdb3", "d76c1ced0b3a", "64ad9a7ea2cd"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "da6855b5e2bf"], + "settlements": { + "identity": "ffc37850babd" + }, + "state": "f0e28a4b20aa", + "effects": [] + } + }, + { + "id": "pr-branch-identity.result-null:identity", + "observation": { + "sender": ["3feccf790548", "3ec8052ccdb3", "f1a2cd24ab44", "64ad9a7ea2cd"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "da6855b5e2bf"], + "settlements": { + "identity": "ffc37850babd" + }, + "state": "f0e28a4b20aa", + "effects": [] + } + }, + { + "id": "pr-branch-identity.inner-ok-missing:identity", + "observation": { + "sender": ["3feccf790548", "3ec8052ccdb3", "205b2a8716a9", "64ad9a7ea2cd"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "da6855b5e2bf"], + "settlements": { + "identity": "ffc37850babd" + }, + "state": "f0e28a4b20aa", + "effects": [] + } + }, + { + "id": "pr-branch-identity.inner-false-string-error:identity", + "observation": { + "sender": ["3feccf790548", "3ec8052ccdb3", "bcd88b035c68", "64ad9a7ea2cd"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "da6855b5e2bf"], + "settlements": { + "identity": "ffc37850babd" + }, + "state": "f0e28a4b20aa", + "effects": [] + } + }, + { + "id": "pr-branch-identity.inner-false-object-error:identity", + "observation": { + "sender": ["3feccf790548", "3ec8052ccdb3", "e8bad95ea299", "64ad9a7ea2cd"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "da6855b5e2bf"], + "settlements": { + "identity": "ffc37850babd" + }, + "state": "f0e28a4b20aa", + "effects": [] + } + }, + { + "id": "pr-branch-identity.outer-refused:identity", + "observation": { + "sender": ["3feccf790548", "3ec8052ccdb3", "ff397549b306", "64ad9a7ea2cd"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "da6855b5e2bf"], + "settlements": { + "identity": "ffc37850babd" + }, + "state": "f0e28a4b20aa", + "effects": [] + } + }, + { + "id": "pr-branch-identity.outer-refused-no-message:identity", + "observation": { + "sender": ["3feccf790548", "3ec8052ccdb3", "521ebac025f3", "64ad9a7ea2cd"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "da6855b5e2bf"], + "settlements": { + "identity": "ffc37850babd" + }, + "state": "f0e28a4b20aa", + "effects": [] + } + }, + { + "id": "pr-branch-identity.method-not-found:identity", + "observation": { + "sender": ["3feccf790548", "3ec8052ccdb3", "335768b54f09", "64ad9a7ea2cd"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "da6855b5e2bf"], + "settlements": { + "identity": "ffc37850babd" + }, + "state": "f0e28a4b20aa", + "effects": [] + } + }, + { + "id": "pr-branch-identity.transport-rejection:identity", + "observation": { + "sender": ["3feccf790548", "3ec8052ccdb3", "6e5c6593dad8", "64ad9a7ea2cd"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "da6855b5e2bf"], + "settlements": { + "identity": "ffc37850babd" + }, + "state": "f0e28a4b20aa", + "effects": [] + } + }, + { + "id": "pr-branch-identity.transport-rejection-no-message:identity", + "observation": { + "sender": ["3feccf790548", "3ec8052ccdb3", "cc1facdf008c", "64ad9a7ea2cd"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "da6855b5e2bf"], + "settlements": { + "identity": "ffc37850babd" + }, + "state": "f0e28a4b20aa", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-session.pr-branch-context-worktree.show-1.json b/mobile/rpc-foundation/goldens/matrix-session.pr-branch-context-worktree.show-1.json new file mode 100644 index 00000000000..b78a2f27694 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-session.pr-branch-context-worktree.show-1.json @@ -0,0 +1,863 @@ +{ + "operation": "session.pr-branch-context", + "family": "session.pr-branch-context", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "f560ff1582487c118756c527faa1fb1f65e37ce22ca9573491fd4b2dbcedf38d", + "scenarioSha256": "039f26cc90d2239028d6ad1d9ecae9cc976d48f386f2d29fbfa425afc702657d", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0ac283ea970f": { + "name": "worktree.show#1", + "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": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "1131db124495": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "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 + } + } + }, + "2364fea3981d": { + "name": "worktree.show#1", + "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": { + "error": "inner refused", + "ok": false + } + } + } + }, + "2432ad799433": { + "name": "repo.list#1", + "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" + } + ] + } + } + } + }, + "26accd69bc48": { + "name": "repo.list#1", + "args": [ + { + "name": "method", + "value": "repo.list" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "28454093b34a": { + "name": "worktree.show#1", + "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": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "3179b4e89c80": { + "name": "repo.list#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" + }, + "317a243394fa": { + "name": "git.status#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" + }, + "3bea6b4369e3": { + "name": "worktree.show#1", + "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": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "3ec8052ccdb3": { + "name": "worktree.show#1", + "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", + "linkedPR": 12 + } + } + } + } + }, + "3fa5df34c660": { + "name": "worktree.show#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" + }, + "3feccf790548": { + "name": "git.status#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 + } + } + } + } + }, + "5ec805b0c81e": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "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 + } + } + }, + "64ad9a7ea2cd": { + "name": "git.branchCompare#1", + "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": "base-oid", + "baseRef": "origin/main", + "changedFiles": 1, + "compareRef": "feature", + "headOid": "head-oid", + "mergeBase": "merge-base", + "status": "ready" + } + } + } + } + }, + "67ef11487a39": { + "name": "worktree.show#1", + "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": { + "$rpc": "null" + } + } + } + }, + "6da1f95af186": { + "identity": "unread", + "repoContext": "unread" + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "a5bd800249ca": { + "name": "worktree.show#1", + "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": { + "error": "refused" + } + } + } + }, + "b8b93d3f8005": { + "name": "git.status#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 + } + }, + "c70359272e10": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:repo-9::/w" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "da6855b5e2bf": { + "name": "git.branchCompare#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"git.branchCompare\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"baseRef\":\"origin/main\"}}" + }, + "e7543a6ecdbd": { + "name": "worktree.show#1", + "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": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "f0e28a4b20aa": { + "identity": { + "branch": "feature", + "headSha": "head-sha-1", + "status": { + "branch": "feature", + "conflictOperation": "unknown", + "entries": [ + { + "added": 3, + "area": "unstaged", + "conflictKind": { + "$rpc": "undefined" + }, + "conflictStatus": { + "$rpc": "undefined" + }, + "conflictStatusSource": { + "$rpc": "undefined" + }, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/app.ts", + "removed": 1, + "status": "modified" + } + ], + "head": "head-sha-1", + "upstreamStatus": { + "ahead": 1, + "behind": 0, + "behindCommitsArePatchEquivalent": { + "$rpc": "undefined" + }, + "hasConfiguredPushTarget": { + "$rpc": "undefined" + }, + "hasUpstream": true, + "upstreamName": { + "$rpc": "undefined" + } + } + } + }, + "repoContext": "unread" + }, + "f8ddb70a8e3b": { + "name": "worktree.show#1", + "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 + } + } + }, + "ffc37850babd": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "branch": "feature", + "headSha": "head-sha-1", + "status": { + "branch": "feature", + "conflictOperation": "unknown", + "entries": [ + { + "added": 3, + "area": "unstaged", + "conflictKind": { + "$rpc": "undefined" + }, + "conflictStatus": { + "$rpc": "undefined" + }, + "conflictStatusSource": { + "$rpc": "undefined" + }, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/app.ts", + "removed": 1, + "status": "modified" + } + ], + "head": "head-sha-1", + "upstreamStatus": { + "ahead": 1, + "behind": 0, + "behindCommitsArePatchEquivalent": { + "$rpc": "undefined" + }, + "hasConfiguredPushTarget": { + "$rpc": "undefined" + }, + "hasUpstream": true, + "upstreamName": { + "$rpc": "undefined" + } + } + } + } + } + }, + "recording": { + "scenario": "matrix-session.pr-branch-context-worktree.show-1", + "checkpoints": [ + { + "id": "pr-branch-identity.prelude:pending", + "observation": { + "sender": ["b8b93d3f8005", "c70359272e10", "26accd69bc48"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80"], + "settlements": { + "identity": "9270aeb7d9c6" + }, + "state": "6da1f95af186", + "effects": [] + } + }, + { + "id": "pr-branch-identity.normal:identity", + "observation": { + "sender": ["3feccf790548", "3ec8052ccdb3", "2432ad799433", "64ad9a7ea2cd"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "da6855b5e2bf"], + "settlements": { + "identity": "ffc37850babd" + }, + "state": "f0e28a4b20aa", + "effects": [] + } + }, + { + "id": "pr-branch-identity.result-absent:identity", + "observation": { + "sender": ["3feccf790548", "f8ddb70a8e3b", "2432ad799433", "64ad9a7ea2cd"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "da6855b5e2bf"], + "settlements": { + "identity": "ffc37850babd" + }, + "state": "f0e28a4b20aa", + "effects": [] + } + }, + { + "id": "pr-branch-identity.result-null:identity", + "observation": { + "sender": ["3feccf790548", "67ef11487a39", "2432ad799433", "64ad9a7ea2cd"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "da6855b5e2bf"], + "settlements": { + "identity": "ffc37850babd" + }, + "state": "f0e28a4b20aa", + "effects": [] + } + }, + { + "id": "pr-branch-identity.inner-ok-missing:identity", + "observation": { + "sender": ["3feccf790548", "a5bd800249ca", "2432ad799433", "64ad9a7ea2cd"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "da6855b5e2bf"], + "settlements": { + "identity": "ffc37850babd" + }, + "state": "f0e28a4b20aa", + "effects": [] + } + }, + { + "id": "pr-branch-identity.inner-false-string-error:identity", + "observation": { + "sender": ["3feccf790548", "2364fea3981d", "2432ad799433", "64ad9a7ea2cd"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "da6855b5e2bf"], + "settlements": { + "identity": "ffc37850babd" + }, + "state": "f0e28a4b20aa", + "effects": [] + } + }, + { + "id": "pr-branch-identity.inner-false-object-error:identity", + "observation": { + "sender": ["3feccf790548", "0ac283ea970f", "2432ad799433", "64ad9a7ea2cd"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "da6855b5e2bf"], + "settlements": { + "identity": "ffc37850babd" + }, + "state": "f0e28a4b20aa", + "effects": [] + } + }, + { + "id": "pr-branch-identity.outer-refused:identity", + "observation": { + "sender": ["3feccf790548", "28454093b34a", "2432ad799433", "64ad9a7ea2cd"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "da6855b5e2bf"], + "settlements": { + "identity": "ffc37850babd" + }, + "state": "f0e28a4b20aa", + "effects": [] + } + }, + { + "id": "pr-branch-identity.outer-refused-no-message:identity", + "observation": { + "sender": ["3feccf790548", "3bea6b4369e3", "2432ad799433", "64ad9a7ea2cd"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "da6855b5e2bf"], + "settlements": { + "identity": "ffc37850babd" + }, + "state": "f0e28a4b20aa", + "effects": [] + } + }, + { + "id": "pr-branch-identity.method-not-found:identity", + "observation": { + "sender": ["3feccf790548", "e7543a6ecdbd", "2432ad799433", "64ad9a7ea2cd"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "da6855b5e2bf"], + "settlements": { + "identity": "ffc37850babd" + }, + "state": "f0e28a4b20aa", + "effects": [] + } + }, + { + "id": "pr-branch-identity.transport-rejection:identity", + "observation": { + "sender": ["3feccf790548", "5ec805b0c81e", "2432ad799433", "64ad9a7ea2cd"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "da6855b5e2bf"], + "settlements": { + "identity": "ffc37850babd" + }, + "state": "f0e28a4b20aa", + "effects": [] + } + }, + { + "id": "pr-branch-identity.transport-rejection-no-message:identity", + "observation": { + "sender": ["3feccf790548", "1131db124495", "2432ad799433", "64ad9a7ea2cd"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "da6855b5e2bf"], + "settlements": { + "identity": "ffc37850babd" + }, + "state": "f0e28a4b20aa", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-session.pr-triage-session.tabs.createterminal-1.json b/mobile/rpc-foundation/goldens/matrix-session.pr-triage-session.tabs.createterminal-1.json new file mode 100644 index 00000000000..fee7c280f8e --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-session.pr-triage-session.tabs.createterminal-1.json @@ -0,0 +1,718 @@ +{ + "operation": "session.pr-triage-launch", + "family": "session.pr-triage", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "f560ff1582487c118756c527faa1fb1f65e37ce22ca9573491fd4b2dbcedf38d", + "scenarioSha256": "0d06d27000a8f6ad66480a16c7b84e8464f4b6e1d775326aeae005926e134cb4", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0c54b1949d2e": { + "name": "session.tabs.createTerminal#1", + "args": [ + { + "name": "method", + "value": "session.tabs.createTerminal" + }, + { + "name": "params", + "value": { + "activate": false, + "navigation": "caller", + "select": true, + "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 + } + } + }, + "13d5b62d9335": { + "name": "session.tabs.createTerminal#1", + "args": [ + { + "name": "method", + "value": "session.tabs.createTerminal" + }, + { + "name": "params", + "value": { + "activate": false, + "navigation": "caller", + "select": true, + "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" + } + } + } + }, + "30ec57518c05": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Failed to create terminal", + "isRpcDeliveryUnknown": false + } + }, + "32a7c0ae7918": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "outer refused", + "isRpcDeliveryUnknown": false + } + }, + "43aa948e3918": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "enter": true, + "terminal": "term-1", + "text": "Fix the failing checks" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + } + }, + "4aada9ff077b": { + "name": "session.tabs.createTerminal#1", + "args": [ + { + "name": "method", + "value": "session.tabs.createTerminal" + }, + { + "name": "params", + "value": { + "activate": false, + "navigation": "caller", + "select": true, + "worktree": "id:repo-9::/w" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "681fc4d59b92": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Created terminal response was invalid", + "isRpcDeliveryUnknown": false + } + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "9bf5a66636e8": { + "name": "session.tabs.createTerminal#1", + "args": [ + { + "name": "method", + "value": "session.tabs.createTerminal" + }, + { + "name": "params", + "value": { + "activate": false, + "navigation": "caller", + "select": true, + "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" + } + } + } + }, + "a4273b38df83": { + "launched": "unlaunched" + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "b5eced0566fb": { + "name": "session.tabs.createTerminal#1", + "args": [ + { + "name": "method", + "value": "session.tabs.createTerminal" + }, + { + "name": "params", + "value": { + "activate": false, + "navigation": "caller", + "select": true, + "worktree": "id:repo-9::/w" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "b948e8307e81": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Unknown method", + "isRpcDeliveryUnknown": false + } + }, + "c7584e82c72f": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + }, + "d0f04fba35ce": { + "name": "session.tabs.createTerminal#1", + "args": [ + { + "name": "method", + "value": "session.tabs.createTerminal" + }, + { + "name": "params", + "value": { + "activate": false, + "navigation": "caller", + "select": true, + "worktree": "id:repo-9::/w" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "tab": { + "id": "tab-1", + "terminal": "term-1", + "title": "Agent", + "type": "terminal" + } + } + } + } + }, + "d3b1c8acd1dd": { + "name": "session.tabs.createTerminal#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"session.tabs.createTerminal\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"activate\":false,\"select\":true,\"navigation\":\"caller\"}}" + }, + "e15e98b4502f": { + "name": "session.tabs.createTerminal#1", + "args": [ + { + "name": "method", + "value": "session.tabs.createTerminal" + }, + { + "name": "params", + "value": { + "activate": false, + "navigation": "caller", + "select": true, + "worktree": "id:repo-9::/w" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "edecb88c17e4": { + "name": "session.tabs.createTerminal#1", + "args": [ + { + "name": "method", + "value": "session.tabs.createTerminal" + }, + { + "name": "params", + "value": { + "activate": false, + "navigation": "caller", + "select": true, + "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 + } + } + }, + "ef42ebed8204": { + "name": "session.tabs.createTerminal#1", + "args": [ + { + "name": "method", + "value": "session.tabs.createTerminal" + }, + { + "name": "params", + "value": { + "activate": false, + "navigation": "caller", + "select": true, + "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 + } + } + }, + "f3199cb6db52": { + "name": "terminal.send#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"term-1\",\"text\":\"Fix the failing checks\",\"enter\":true}}" + }, + "f3edde9dd385": { + "name": "session.tabs.createTerminal#1", + "args": [ + { + "name": "method", + "value": "session.tabs.createTerminal" + }, + { + "name": "params", + "value": { + "activate": false, + "navigation": "caller", + "select": true, + "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 + } + } + } + }, + "f8822a0cc5c3": { + "name": "session.tabs.createTerminal#1", + "args": [ + { + "name": "method", + "value": "session.tabs.createTerminal" + }, + { + "name": "params", + "value": { + "activate": false, + "navigation": "caller", + "select": true, + "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 + } + } + }, + "fc9c768a4e5b": { + "name": "session.tabs.createTerminal#1", + "args": [ + { + "name": "method", + "value": "session.tabs.createTerminal" + }, + { + "name": "params", + "value": { + "activate": false, + "navigation": "caller", + "select": true, + "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 + } + } + } + }, + "fe1fe746e77a": { + "launched": "sent" + } + }, + "recording": { + "scenario": "matrix-session.pr-triage-session.tabs.createterminal-1", + "checkpoints": [ + { + "id": "pr-triage-launch.prelude:pending", + "observation": { + "sender": ["b5eced0566fb"], + "payloads": ["d3b1c8acd1dd"], + "settlements": { + "launch": "9270aeb7d9c6" + }, + "state": "a4273b38df83", + "effects": [] + } + }, + { + "id": "pr-triage-launch.normal:launched", + "observation": { + "sender": ["d0f04fba35ce", "43aa948e3918"], + "payloads": ["d3b1c8acd1dd", "f3199cb6db52"], + "settlements": { + "launch": "eb79a9b3682a" + }, + "state": "fe1fe746e77a", + "effects": [] + } + }, + { + "id": "pr-triage-launch.result-absent:launched", + "observation": { + "sender": ["e15e98b4502f"], + "payloads": ["d3b1c8acd1dd"], + "settlements": { + "launch": "681fc4d59b92" + }, + "state": "a4273b38df83", + "effects": [] + } + }, + { + "id": "pr-triage-launch.result-null:launched", + "observation": { + "sender": ["13d5b62d9335"], + "payloads": ["d3b1c8acd1dd"], + "settlements": { + "launch": "681fc4d59b92" + }, + "state": "a4273b38df83", + "effects": [] + } + }, + { + "id": "pr-triage-launch.inner-ok-missing:launched", + "observation": { + "sender": ["9bf5a66636e8"], + "payloads": ["d3b1c8acd1dd"], + "settlements": { + "launch": "681fc4d59b92" + }, + "state": "a4273b38df83", + "effects": [] + } + }, + { + "id": "pr-triage-launch.inner-false-string-error:launched", + "observation": { + "sender": ["f3edde9dd385"], + "payloads": ["d3b1c8acd1dd"], + "settlements": { + "launch": "681fc4d59b92" + }, + "state": "a4273b38df83", + "effects": [] + } + }, + { + "id": "pr-triage-launch.inner-false-object-error:launched", + "observation": { + "sender": ["fc9c768a4e5b"], + "payloads": ["d3b1c8acd1dd"], + "settlements": { + "launch": "681fc4d59b92" + }, + "state": "a4273b38df83", + "effects": [] + } + }, + { + "id": "pr-triage-launch.outer-refused:launched", + "observation": { + "sender": ["0c54b1949d2e"], + "payloads": ["d3b1c8acd1dd"], + "settlements": { + "launch": "32a7c0ae7918" + }, + "state": "a4273b38df83", + "effects": [] + } + }, + { + "id": "pr-triage-launch.outer-refused-no-message:launched", + "observation": { + "sender": ["ef42ebed8204"], + "payloads": ["d3b1c8acd1dd"], + "settlements": { + "launch": "30ec57518c05" + }, + "state": "a4273b38df83", + "effects": [] + } + }, + { + "id": "pr-triage-launch.method-not-found:launched", + "observation": { + "sender": ["edecb88c17e4"], + "payloads": ["d3b1c8acd1dd"], + "settlements": { + "launch": "b948e8307e81" + }, + "state": "a4273b38df83", + "effects": [] + } + }, + { + "id": "pr-triage-launch.transport-rejection:launched", + "observation": { + "sender": ["f8822a0cc5c3"], + "payloads": ["d3b1c8acd1dd"], + "settlements": { + "launch": "a947768bc0ed" + }, + "state": "a4273b38df83", + "effects": [] + } + }, + { + "id": "pr-triage-launch.transport-rejection-no-message:launched", + "observation": { + "sender": ["4aada9ff077b"], + "payloads": ["d3b1c8acd1dd"], + "settlements": { + "launch": "c7584e82c72f" + }, + "state": "a4273b38df83", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-session.pr-triage-terminal.send-1.json b/mobile/rpc-foundation/goldens/matrix-session.pr-triage-terminal.send-1.json new file mode 100644 index 00000000000..6ba3af4e568 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-session.pr-triage-terminal.send-1.json @@ -0,0 +1,698 @@ +{ + "operation": "session.pr-triage-launch", + "family": "session.pr-triage", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "f560ff1582487c118756c527faa1fb1f65e37ce22ca9573491fd4b2dbcedf38d", + "scenarioSha256": "a288e105a0af6dbbd9657b84f7c4860826184fb7f50dabc6e31b114a70d7ca44", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "10b06f97e842": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "enter": true, + "terminal": "term-1", + "text": "Fix the failing checks" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "15926e346f69": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "enter": true, + "terminal": "term-1", + "text": "Fix the failing checks" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "301d6e3945b3": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "enter": true, + "terminal": "term-1", + "text": "Fix the failing checks" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "316ab6a726e5": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "enter": true, + "terminal": "term-1", + "text": "Fix the failing checks" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "320e153a96c9": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "enter": true, + "terminal": "term-1", + "text": "Fix the failing checks" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "32a7c0ae7918": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "outer refused", + "isRpcDeliveryUnknown": false + } + }, + "3c187805b423": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "enter": true, + "terminal": "term-1", + "text": "Fix the failing checks" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "43aa948e3918": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "enter": true, + "terminal": "term-1", + "text": "Fix the failing checks" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + } + }, + "506450411791": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "enter": true, + "terminal": "term-1", + "text": "Fix the failing checks" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "a21f478354cc": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Failed to send prompt", + "isRpcDeliveryUnknown": false + } + }, + "a4273b38df83": { + "launched": "unlaunched" + }, + "a7379ff0aa00": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "enter": true, + "terminal": "term-1", + "text": "Fix the failing checks" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "b5eced0566fb": { + "name": "session.tabs.createTerminal#1", + "args": [ + { + "name": "method", + "value": "session.tabs.createTerminal" + }, + { + "name": "params", + "value": { + "activate": false, + "navigation": "caller", + "select": true, + "worktree": "id:repo-9::/w" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "b948e8307e81": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Unknown method", + "isRpcDeliveryUnknown": false + } + }, + "c7584e82c72f": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + }, + "d0f04fba35ce": { + "name": "session.tabs.createTerminal#1", + "args": [ + { + "name": "method", + "value": "session.tabs.createTerminal" + }, + { + "name": "params", + "value": { + "activate": false, + "navigation": "caller", + "select": true, + "worktree": "id:repo-9::/w" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "tab": { + "id": "tab-1", + "terminal": "term-1", + "title": "Agent", + "type": "terminal" + } + } + } + } + }, + "d3b1c8acd1dd": { + "name": "session.tabs.createTerminal#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"session.tabs.createTerminal\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"activate\":false,\"select\":true,\"navigation\":\"caller\"}}" + }, + "da9bcdd1476c": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "enter": true, + "terminal": "term-1", + "text": "Fix the failing checks" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f3199cb6db52": { + "name": "terminal.send#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"term-1\",\"text\":\"Fix the failing checks\",\"enter\":true}}" + }, + "fa878dff5c9f": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "enter": true, + "terminal": "term-1", + "text": "Fix the failing checks" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "fe1fe746e77a": { + "launched": "sent" + } + }, + "recording": { + "scenario": "matrix-session.pr-triage-terminal.send-1", + "checkpoints": [ + { + "id": "pr-triage-launch.prelude:pending", + "observation": { + "sender": ["b5eced0566fb"], + "payloads": ["d3b1c8acd1dd"], + "settlements": { + "launch": "9270aeb7d9c6" + }, + "state": "a4273b38df83", + "effects": [] + } + }, + { + "id": "pr-triage-launch.normal:launched", + "observation": { + "sender": ["d0f04fba35ce", "43aa948e3918"], + "payloads": ["d3b1c8acd1dd", "f3199cb6db52"], + "settlements": { + "launch": "eb79a9b3682a" + }, + "state": "fe1fe746e77a", + "effects": [] + } + }, + { + "id": "pr-triage-launch.result-absent:launched", + "observation": { + "sender": ["d0f04fba35ce", "320e153a96c9"], + "payloads": ["d3b1c8acd1dd", "f3199cb6db52"], + "settlements": { + "launch": "eb79a9b3682a" + }, + "state": "fe1fe746e77a", + "effects": [] + } + }, + { + "id": "pr-triage-launch.result-null:launched", + "observation": { + "sender": ["d0f04fba35ce", "fa878dff5c9f"], + "payloads": ["d3b1c8acd1dd", "f3199cb6db52"], + "settlements": { + "launch": "eb79a9b3682a" + }, + "state": "fe1fe746e77a", + "effects": [] + } + }, + { + "id": "pr-triage-launch.inner-ok-missing:launched", + "observation": { + "sender": ["d0f04fba35ce", "506450411791"], + "payloads": ["d3b1c8acd1dd", "f3199cb6db52"], + "settlements": { + "launch": "eb79a9b3682a" + }, + "state": "fe1fe746e77a", + "effects": [] + } + }, + { + "id": "pr-triage-launch.inner-false-string-error:launched", + "observation": { + "sender": ["d0f04fba35ce", "316ab6a726e5"], + "payloads": ["d3b1c8acd1dd", "f3199cb6db52"], + "settlements": { + "launch": "eb79a9b3682a" + }, + "state": "fe1fe746e77a", + "effects": [] + } + }, + { + "id": "pr-triage-launch.inner-false-object-error:launched", + "observation": { + "sender": ["d0f04fba35ce", "da9bcdd1476c"], + "payloads": ["d3b1c8acd1dd", "f3199cb6db52"], + "settlements": { + "launch": "eb79a9b3682a" + }, + "state": "fe1fe746e77a", + "effects": [] + } + }, + { + "id": "pr-triage-launch.outer-refused:launched", + "observation": { + "sender": ["d0f04fba35ce", "15926e346f69"], + "payloads": ["d3b1c8acd1dd", "f3199cb6db52"], + "settlements": { + "launch": "32a7c0ae7918" + }, + "state": "a4273b38df83", + "effects": [] + } + }, + { + "id": "pr-triage-launch.outer-refused-no-message:launched", + "observation": { + "sender": ["d0f04fba35ce", "10b06f97e842"], + "payloads": ["d3b1c8acd1dd", "f3199cb6db52"], + "settlements": { + "launch": "a21f478354cc" + }, + "state": "a4273b38df83", + "effects": [] + } + }, + { + "id": "pr-triage-launch.method-not-found:launched", + "observation": { + "sender": ["d0f04fba35ce", "3c187805b423"], + "payloads": ["d3b1c8acd1dd", "f3199cb6db52"], + "settlements": { + "launch": "b948e8307e81" + }, + "state": "a4273b38df83", + "effects": [] + } + }, + { + "id": "pr-triage-launch.transport-rejection:launched", + "observation": { + "sender": ["d0f04fba35ce", "a7379ff0aa00"], + "payloads": ["d3b1c8acd1dd", "f3199cb6db52"], + "settlements": { + "launch": "a947768bc0ed" + }, + "state": "a4273b38df83", + "effects": [] + } + }, + { + "id": "pr-triage-launch.transport-rejection-no-message:launched", + "observation": { + "sender": ["d0f04fba35ce", "301d6e3945b3"], + "payloads": ["d3b1c8acd1dd", "f3199cb6db52"], + "settlements": { + "launch": "c7584e82c72f" + }, + "state": "a4273b38df83", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-session.tab-activation-session.tabs.activate-1.json b/mobile/rpc-foundation/goldens/matrix-session.tab-activation-session.tabs.activate-1.json new file mode 100644 index 00000000000..c39ff7d933c --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-session.tab-activation-session.tabs.activate-1.json @@ -0,0 +1,953 @@ +{ + "operation": "session.tab-activation", + "family": "session.tab-activation", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "4a1e81ab3229c8fd10b3ad435568efec11a944e0f02a183f94e4b1f44a7e5de0", + "scenarioSha256": "d25fc19d4e3e9b12f2a60a076ea10741e13fc45dcd9a76bd3a9d88432c3e6fbe", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "02648396b3a2": { + "name": "session.tabs.activate#1", + "args": [ + { + "name": "method", + "value": "session.tabs.activate" + }, + { + "name": "params", + "value": { + "intent": "user", + "navigation": "caller", + "notifyClients": false, + "tabId": "tab-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "0442e34fbb3f": { + "name": "terminal.focus#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.focus\",\"params\":{\"terminal\":\"terminal-1\",\"navigation\":\"host\"}}" + }, + "12726a31e046": { + "name": "session.tabs.activate#1", + "args": [ + { + "name": "method", + "value": "session.tabs.activate" + }, + { + "name": "params", + "value": { + "intent": "user", + "navigation": "caller", + "notifyClients": false, + "tabId": "tab-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "204d99558abd": { + "activate": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + }, + "failure": { + "$rpc": "null" + }, + "focus": { + "id": "frame-1", + "ok": true, + "result": { + "focused": true + } + } + }, + "23857f5f3255": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + }, + "2a882f2e8b6b": { + "name": "session.tabs.activate#1", + "args": [ + { + "name": "method", + "value": "session.tabs.activate" + }, + { + "name": "params", + "value": { + "intent": "user", + "navigation": "caller", + "notifyClients": false, + "tabId": "tab-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "3b8731983e55": { + "name": "session.tabs.activate#1", + "args": [ + { + "name": "method", + "value": "session.tabs.activate" + }, + { + "name": "params", + "value": { + "intent": "user", + "navigation": "caller", + "notifyClients": false, + "tabId": "tab-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "43044100d546": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + }, + "45c1af849de7": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + }, + "4e4394afbcef": { + "activate": { + "id": "frame-2", + "ok": true, + "result": { + "activated": true + } + }, + "failure": { + "$rpc": "null" + }, + "focus": { + "id": "frame-1", + "ok": true, + "result": { + "focused": true + } + } + }, + "5134763ef050": { + "activate": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + }, + "failure": { + "$rpc": "null" + }, + "focus": { + "id": "frame-1", + "ok": true, + "result": { + "focused": true + } + } + }, + "5a867a59d359": { + "failure": "", + "focus": { + "id": "frame-1", + "ok": true, + "result": { + "focused": true + } + } + }, + "5f3ba1cd76e0": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + }, + "6edda552e76b": { + "activate": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + }, + "failure": { + "$rpc": "null" + }, + "focus": { + "id": "frame-1", + "ok": true, + "result": { + "focused": true + } + } + }, + "7118e8aeaaae": { + "name": "terminal.focus#1", + "args": [ + { + "name": "method", + "value": "terminal.focus" + }, + { + "name": "params", + "value": { + "navigation": "host", + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "focused": true + } + } + } + }, + "799e842efb06": { + "name": "session.tabs.activate#1", + "args": [ + { + "name": "method", + "value": "session.tabs.activate" + }, + { + "name": "params", + "value": { + "intent": "user", + "navigation": "caller", + "notifyClients": false, + "tabId": "tab-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "79d93399ca0a": { + "failure": "transport failure", + "focus": { + "id": "frame-1", + "ok": true, + "result": { + "focused": true + } + } + }, + "7d4b7965217b": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + }, + "84d74a6de2ca": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "activated": true + } + } + }, + "86832c8db827": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + }, + "8a96ab8caedf": { + "name": "session.tabs.activate#1", + "args": [ + { + "name": "method", + "value": "session.tabs.activate" + }, + { + "name": "params", + "value": { + "intent": "user", + "navigation": "caller", + "notifyClients": false, + "tabId": "tab-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "aa61e32f6fc2": { + "name": "session.tabs.activate#1", + "args": [ + { + "name": "method", + "value": "session.tabs.activate" + }, + { + "name": "params", + "value": { + "intent": "user", + "navigation": "caller", + "notifyClients": false, + "tabId": "tab-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "b7d3873d1f62": { + "activate": { + "id": "frame-2", + "ok": true + }, + "failure": { + "$rpc": "null" + }, + "focus": { + "id": "frame-1", + "ok": true, + "result": { + "focused": true + } + } + }, + "bb654f2bdea7": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + }, + "c7584e82c72f": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + }, + "c9c16f3b6d6f": { + "name": "session.tabs.activate#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"session.tabs.activate\",\"params\":{\"worktree\":\"id:workspace-1\",\"tabId\":\"tab-1\",\"notifyClients\":false,\"navigation\":\"caller\",\"intent\":\"user\"}}" + }, + "c9ffa22c6b1c": { + "name": "session.tabs.activate#1", + "args": [ + { + "name": "method", + "value": "session.tabs.activate" + }, + { + "name": "params", + "value": { + "intent": "user", + "navigation": "caller", + "notifyClients": false, + "tabId": "tab-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "ccf7770577df": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + }, + "d53e4b22b23e": { + "name": "session.tabs.activate#1", + "args": [ + { + "name": "method", + "value": "session.tabs.activate" + }, + { + "name": "params", + "value": { + "intent": "user", + "navigation": "caller", + "notifyClients": false, + "tabId": "tab-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "e300d58f5c29": { + "activate": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + }, + "failure": { + "$rpc": "null" + }, + "focus": { + "id": "frame-1", + "ok": true, + "result": { + "focused": true + } + } + }, + "e495a9a84cf0": { + "name": "session.tabs.activate#1", + "args": [ + { + "name": "method", + "value": "session.tabs.activate" + }, + { + "name": "params", + "value": { + "intent": "user", + "navigation": "caller", + "notifyClients": false, + "tabId": "tab-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "activated": true + } + } + } + }, + "e972c0a27347": { + "name": "session.tabs.activate#1", + "args": [ + { + "name": "method", + "value": "session.tabs.activate" + }, + { + "name": "params", + "value": { + "intent": "user", + "navigation": "caller", + "notifyClients": false, + "tabId": "tab-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "ea28b62907bf": { + "activate": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + }, + "failure": { + "$rpc": "null" + }, + "focus": { + "id": "frame-1", + "ok": true, + "result": { + "focused": true + } + } + }, + "ecc5d1639f16": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "focused": true + } + } + }, + "eec55f34d6d8": { + "activate": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + }, + "failure": { + "$rpc": "null" + }, + "focus": { + "id": "frame-1", + "ok": true, + "result": { + "focused": true + } + } + }, + "f626e8d2889c": { + "activate": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + }, + "failure": { + "$rpc": "null" + }, + "focus": { + "id": "frame-1", + "ok": true, + "result": { + "focused": true + } + } + } + }, + "recording": { + "scenario": "matrix-session.tab-activation-session.tabs.activate-1", + "checkpoints": [ + { + "id": "session-tab-activation-focus-and-activate.normal:activated", + "observation": { + "sender": ["7118e8aeaaae", "e495a9a84cf0"], + "payloads": ["0442e34fbb3f", "c9c16f3b6d6f"], + "settlements": { + "focus": "ecc5d1639f16", + "activate": "84d74a6de2ca" + }, + "state": "4e4394afbcef", + "effects": [] + } + }, + { + "id": "session-tab-activation-focus-and-activate.result-absent:activated", + "observation": { + "sender": ["7118e8aeaaae", "c9ffa22c6b1c"], + "payloads": ["0442e34fbb3f", "c9c16f3b6d6f"], + "settlements": { + "focus": "ecc5d1639f16", + "activate": "86832c8db827" + }, + "state": "b7d3873d1f62", + "effects": [] + } + }, + { + "id": "session-tab-activation-focus-and-activate.result-null:activated", + "observation": { + "sender": ["7118e8aeaaae", "02648396b3a2"], + "payloads": ["0442e34fbb3f", "c9c16f3b6d6f"], + "settlements": { + "focus": "ecc5d1639f16", + "activate": "bb654f2bdea7" + }, + "state": "204d99558abd", + "effects": [] + } + }, + { + "id": "session-tab-activation-focus-and-activate.inner-ok-missing:activated", + "observation": { + "sender": ["7118e8aeaaae", "12726a31e046"], + "payloads": ["0442e34fbb3f", "c9c16f3b6d6f"], + "settlements": { + "focus": "ecc5d1639f16", + "activate": "7d4b7965217b" + }, + "state": "f626e8d2889c", + "effects": [] + } + }, + { + "id": "session-tab-activation-focus-and-activate.inner-false-string-error:activated", + "observation": { + "sender": ["7118e8aeaaae", "2a882f2e8b6b"], + "payloads": ["0442e34fbb3f", "c9c16f3b6d6f"], + "settlements": { + "focus": "ecc5d1639f16", + "activate": "5f3ba1cd76e0" + }, + "state": "ea28b62907bf", + "effects": [] + } + }, + { + "id": "session-tab-activation-focus-and-activate.inner-false-object-error:activated", + "observation": { + "sender": ["7118e8aeaaae", "aa61e32f6fc2"], + "payloads": ["0442e34fbb3f", "c9c16f3b6d6f"], + "settlements": { + "focus": "ecc5d1639f16", + "activate": "23857f5f3255" + }, + "state": "eec55f34d6d8", + "effects": [] + } + }, + { + "id": "session-tab-activation-focus-and-activate.outer-refused:activated", + "observation": { + "sender": ["7118e8aeaaae", "3b8731983e55"], + "payloads": ["0442e34fbb3f", "c9c16f3b6d6f"], + "settlements": { + "focus": "ecc5d1639f16", + "activate": "ccf7770577df" + }, + "state": "5134763ef050", + "effects": [] + } + }, + { + "id": "session-tab-activation-focus-and-activate.outer-refused-no-message:activated", + "observation": { + "sender": ["7118e8aeaaae", "799e842efb06"], + "payloads": ["0442e34fbb3f", "c9c16f3b6d6f"], + "settlements": { + "focus": "ecc5d1639f16", + "activate": "43044100d546" + }, + "state": "e300d58f5c29", + "effects": [] + } + }, + { + "id": "session-tab-activation-focus-and-activate.method-not-found:activated", + "observation": { + "sender": ["7118e8aeaaae", "d53e4b22b23e"], + "payloads": ["0442e34fbb3f", "c9c16f3b6d6f"], + "settlements": { + "focus": "ecc5d1639f16", + "activate": "45c1af849de7" + }, + "state": "6edda552e76b", + "effects": [] + } + }, + { + "id": "session-tab-activation-focus-and-activate.transport-rejection:activated", + "observation": { + "sender": ["7118e8aeaaae", "8a96ab8caedf"], + "payloads": ["0442e34fbb3f", "c9c16f3b6d6f"], + "settlements": { + "focus": "ecc5d1639f16", + "activate": "a947768bc0ed" + }, + "state": "79d93399ca0a", + "effects": [] + } + }, + { + "id": "session-tab-activation-focus-and-activate.transport-rejection-no-message:activated", + "observation": { + "sender": ["7118e8aeaaae", "e972c0a27347"], + "payloads": ["0442e34fbb3f", "c9c16f3b6d6f"], + "settlements": { + "focus": "ecc5d1639f16", + "activate": "c7584e82c72f" + }, + "state": "5a867a59d359", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-session.tab-activation-terminal.focus-1.json b/mobile/rpc-foundation/goldens/matrix-session.tab-activation-terminal.focus-1.json new file mode 100644 index 00000000000..4076b11734b --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-session.tab-activation-terminal.focus-1.json @@ -0,0 +1,923 @@ +{ + "operation": "session.tab-activation", + "family": "session.tab-activation", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "4a1e81ab3229c8fd10b3ad435568efec11a944e0f02a183f94e4b1f44a7e5de0", + "scenarioSha256": "5b050af6f02aa90f66340838cb5cc53c8fc0d5693d313b653c23881150384874", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0442e34fbb3f": { + "name": "terminal.focus#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.focus\",\"params\":{\"terminal\":\"terminal-1\",\"navigation\":\"host\"}}" + }, + "0590b758ddc1": { + "activate": { + "id": "frame-2", + "ok": true, + "result": { + "activated": true + } + }, + "failure": { + "$rpc": "null" + }, + "focus": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + }, + "159084d9517c": { + "name": "terminal.focus#1", + "args": [ + { + "name": "method", + "value": "terminal.focus" + }, + { + "name": "params", + "value": { + "navigation": "host", + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "1fe60797f615": { + "activate": { + "id": "frame-2", + "ok": true, + "result": { + "activated": true + } + }, + "failure": "" + }, + "2502744f8808": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + }, + "25e79f9d5740": { + "name": "terminal.focus#1", + "args": [ + { + "name": "method", + "value": "terminal.focus" + }, + { + "name": "params", + "value": { + "navigation": "host", + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "266e5da2cd10": { + "activate": { + "id": "frame-2", + "ok": true, + "result": { + "activated": true + } + }, + "failure": { + "$rpc": "null" + }, + "focus": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + }, + "36ee2d642745": { + "name": "terminal.focus#1", + "args": [ + { + "name": "method", + "value": "terminal.focus" + }, + { + "name": "params", + "value": { + "navigation": "host", + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "484fd4423b44": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-1", + "ok": false + } + }, + "4e4394afbcef": { + "activate": { + "id": "frame-2", + "ok": true, + "result": { + "activated": true + } + }, + "failure": { + "$rpc": "null" + }, + "focus": { + "id": "frame-1", + "ok": true, + "result": { + "focused": true + } + } + }, + "57ccbda9fde1": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + }, + "5f1a9d73474f": { + "activate": { + "id": "frame-2", + "ok": true, + "result": { + "activated": true + } + }, + "failure": { + "$rpc": "null" + }, + "focus": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-1", + "ok": false + } + }, + "62fdb01f5b5c": { + "activate": { + "id": "frame-2", + "ok": true, + "result": { + "activated": true + } + }, + "failure": { + "$rpc": "null" + }, + "focus": { + "id": "frame-1", + "ok": true + } + }, + "7118e8aeaaae": { + "name": "terminal.focus#1", + "args": [ + { + "name": "method", + "value": "terminal.focus" + }, + { + "name": "params", + "value": { + "navigation": "host", + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "focused": true + } + } + } + }, + "84d74a6de2ca": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "activated": true + } + } + }, + "893f5a2f4823": { + "name": "terminal.focus#1", + "args": [ + { + "name": "method", + "value": "terminal.focus" + }, + { + "name": "params", + "value": { + "navigation": "host", + "terminal": "terminal-1" + } + }, + { + "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 + } + } + }, + "97219c38288c": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + }, + "9e6f70ca7163": { + "activate": { + "id": "frame-2", + "ok": true, + "result": { + "activated": true + } + }, + "failure": { + "$rpc": "null" + }, + "focus": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + }, + "a0e45ce9a66b": { + "name": "terminal.focus#1", + "args": [ + { + "name": "method", + "value": "terminal.focus" + }, + { + "name": "params", + "value": { + "navigation": "host", + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "a8af1cd1c301": { + "name": "terminal.focus#1", + "args": [ + { + "name": "method", + "value": "terminal.focus" + }, + { + "name": "params", + "value": { + "navigation": "host", + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "b2c03b71f10a": { + "activate": { + "id": "frame-2", + "ok": true, + "result": { + "activated": true + } + }, + "failure": "transport failure" + }, + "b5031b4cc6e6": { + "name": "terminal.focus#1", + "args": [ + { + "name": "method", + "value": "terminal.focus" + }, + { + "name": "params", + "value": { + "navigation": "host", + "terminal": "terminal-1" + } + }, + { + "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 + } + } + } + }, + "b8115959f9d6": { + "activate": { + "id": "frame-2", + "ok": true, + "result": { + "activated": true + } + }, + "failure": { + "$rpc": "null" + }, + "focus": { + "id": "frame-1", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + }, + "ba98adc95c80": { + "name": "terminal.focus#1", + "args": [ + { + "name": "method", + "value": "terminal.focus" + }, + { + "name": "params", + "value": { + "navigation": "host", + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "bbb05c902ae9": { + "activate": { + "id": "frame-2", + "ok": true, + "result": { + "activated": true + } + }, + "failure": { + "$rpc": "null" + }, + "focus": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + }, + "bbc6fbe00a97": { + "name": "terminal.focus#1", + "args": [ + { + "name": "method", + "value": "terminal.focus" + }, + { + "name": "params", + "value": { + "navigation": "host", + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "c43f43ee2e4c": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + }, + "c7584e82c72f": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + }, + "c76b51daf336": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + }, + "c9c16f3b6d6f": { + "name": "session.tabs.activate#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"session.tabs.activate\",\"params\":{\"worktree\":\"id:workspace-1\",\"tabId\":\"tab-1\",\"notifyClients\":false,\"navigation\":\"caller\",\"intent\":\"user\"}}" + }, + "d563a507f706": { + "name": "terminal.focus#1", + "args": [ + { + "name": "method", + "value": "terminal.focus" + }, + { + "name": "params", + "value": { + "navigation": "host", + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "e495a9a84cf0": { + "name": "session.tabs.activate#1", + "args": [ + { + "name": "method", + "value": "session.tabs.activate" + }, + { + "name": "params", + "value": { + "intent": "user", + "navigation": "caller", + "notifyClients": false, + "tabId": "tab-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "activated": true + } + } + } + }, + "ecc5d1639f16": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "focused": true + } + } + }, + "efc5111f9e33": { + "activate": { + "id": "frame-2", + "ok": true, + "result": { + "activated": true + } + }, + "failure": { + "$rpc": "null" + }, + "focus": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + }, + "fdc16c91d99d": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + }, + "fe7233635ac5": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "recording": { + "scenario": "matrix-session.tab-activation-terminal.focus-1", + "checkpoints": [ + { + "id": "session-tab-activation-focus-and-activate.normal:activated", + "observation": { + "sender": ["7118e8aeaaae", "e495a9a84cf0"], + "payloads": ["0442e34fbb3f", "c9c16f3b6d6f"], + "settlements": { + "focus": "ecc5d1639f16", + "activate": "84d74a6de2ca" + }, + "state": "4e4394afbcef", + "effects": [] + } + }, + { + "id": "session-tab-activation-focus-and-activate.result-absent:activated", + "observation": { + "sender": ["25e79f9d5740", "e495a9a84cf0"], + "payloads": ["0442e34fbb3f", "c9c16f3b6d6f"], + "settlements": { + "focus": "fdc16c91d99d", + "activate": "84d74a6de2ca" + }, + "state": "62fdb01f5b5c", + "effects": [] + } + }, + { + "id": "session-tab-activation-focus-and-activate.result-null:activated", + "observation": { + "sender": ["a8af1cd1c301", "e495a9a84cf0"], + "payloads": ["0442e34fbb3f", "c9c16f3b6d6f"], + "settlements": { + "focus": "c76b51daf336", + "activate": "84d74a6de2ca" + }, + "state": "9e6f70ca7163", + "effects": [] + } + }, + { + "id": "session-tab-activation-focus-and-activate.inner-ok-missing:activated", + "observation": { + "sender": ["a0e45ce9a66b", "e495a9a84cf0"], + "payloads": ["0442e34fbb3f", "c9c16f3b6d6f"], + "settlements": { + "focus": "2502744f8808", + "activate": "84d74a6de2ca" + }, + "state": "efc5111f9e33", + "effects": [] + } + }, + { + "id": "session-tab-activation-focus-and-activate.inner-false-string-error:activated", + "observation": { + "sender": ["d563a507f706", "e495a9a84cf0"], + "payloads": ["0442e34fbb3f", "c9c16f3b6d6f"], + "settlements": { + "focus": "57ccbda9fde1", + "activate": "84d74a6de2ca" + }, + "state": "0590b758ddc1", + "effects": [] + } + }, + { + "id": "session-tab-activation-focus-and-activate.inner-false-object-error:activated", + "observation": { + "sender": ["b5031b4cc6e6", "e495a9a84cf0"], + "payloads": ["0442e34fbb3f", "c9c16f3b6d6f"], + "settlements": { + "focus": "97219c38288c", + "activate": "84d74a6de2ca" + }, + "state": "b8115959f9d6", + "effects": [] + } + }, + { + "id": "session-tab-activation-focus-and-activate.outer-refused:activated", + "observation": { + "sender": ["bbc6fbe00a97", "e495a9a84cf0"], + "payloads": ["0442e34fbb3f", "c9c16f3b6d6f"], + "settlements": { + "focus": "c43f43ee2e4c", + "activate": "84d74a6de2ca" + }, + "state": "bbb05c902ae9", + "effects": [] + } + }, + { + "id": "session-tab-activation-focus-and-activate.outer-refused-no-message:activated", + "observation": { + "sender": ["ba98adc95c80", "e495a9a84cf0"], + "payloads": ["0442e34fbb3f", "c9c16f3b6d6f"], + "settlements": { + "focus": "fe7233635ac5", + "activate": "84d74a6de2ca" + }, + "state": "266e5da2cd10", + "effects": [] + } + }, + { + "id": "session-tab-activation-focus-and-activate.method-not-found:activated", + "observation": { + "sender": ["893f5a2f4823", "e495a9a84cf0"], + "payloads": ["0442e34fbb3f", "c9c16f3b6d6f"], + "settlements": { + "focus": "484fd4423b44", + "activate": "84d74a6de2ca" + }, + "state": "5f1a9d73474f", + "effects": [] + } + }, + { + "id": "session-tab-activation-focus-and-activate.transport-rejection:activated", + "observation": { + "sender": ["159084d9517c", "e495a9a84cf0"], + "payloads": ["0442e34fbb3f", "c9c16f3b6d6f"], + "settlements": { + "focus": "a947768bc0ed", + "activate": "84d74a6de2ca" + }, + "state": "b2c03b71f10a", + "effects": [] + } + }, + { + "id": "session-tab-activation-focus-and-activate.transport-rejection-no-message:activated", + "observation": { + "sender": ["36ee2d642745", "e495a9a84cf0"], + "payloads": ["0442e34fbb3f", "c9c16f3b6d6f"], + "settlements": { + "focus": "c7584e82c72f", + "activate": "84d74a6de2ca" + }, + "state": "1fe60797f615", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-session.tab-close-terminal.close-1.json b/mobile/rpc-foundation/goldens/matrix-session.tab-close-terminal.close-1.json new file mode 100644 index 00000000000..4dfdfee9414 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-session.tab-close-terminal.close-1.json @@ -0,0 +1,577 @@ +{ + "operation": "session.tab-close", + "family": "session.tab-close", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "562c2f4ab669e774dd7045ecd9518e483845433fef6034688090f3b056df2815", + "scenarioSha256": "89141e3e400feea78460ede72d5269bdc885f6d3de75388542b4b7d6dff2840d", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "1ae2d1fe0b13": { + "name": "terminal.close#1", + "args": [ + { + "name": "method", + "value": "terminal.close" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "2c418d165266": { + "name": "terminal.close#1", + "args": [ + { + "name": "method", + "value": "terminal.close" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "2d697fe0c9bf": { + "name": "terminal.close#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.close\",\"params\":{\"terminal\":\"terminal-1\"}}" + }, + "3c8f3199915d": { + "name": "terminal.close#1", + "args": [ + { + "name": "method", + "value": "terminal.close" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "3e15def58214": { + "activeHandle": "terminal-1", + "sessionTabs": [ + { + "id": "tab-1", + "isActive": true, + "terminal": "terminal-1", + "title": "Terminal", + "type": "terminal" + } + ], + "terminals": [ + { + "handle": "terminal-1", + "isActive": true, + "title": "Terminal" + } + ] + }, + "65deed7773ff": { + "name": "terminal.close#1", + "args": [ + { + "name": "method", + "value": "terminal.close" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "6c7772079255": { + "name": "terminal.close#1", + "args": [ + { + "name": "method", + "value": "terminal.close" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "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 + } + } + } + }, + "7e31b0a0202e": { + "name": "terminal.close#1", + "args": [ + { + "name": "method", + "value": "terminal.close" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "closed": true + } + } + } + }, + "952c4e3cc256": { + "name": "terminal.close#1", + "args": [ + { + "name": "method", + "value": "terminal.close" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "a1c0c7168922": { + "name": "unsubscribe-terminal", + "value": { + "handle": "terminal-1" + }, + "sent": 1 + }, + "c965e2e20176": { + "name": "clear-live-input", + "value": { + "handle": "terminal-1" + }, + "sent": 1 + }, + "d141f04cb173": { + "name": "terminal.close#1", + "args": [ + { + "name": "method", + "value": "terminal.close" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "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 + } + } + }, + "d863d1a239d3": { + "name": "terminal.close#1", + "args": [ + { + "name": "method", + "value": "terminal.close" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "de039f500462": { + "activeHandle": { + "$rpc": "null" + }, + "sessionTabs": [ + { + "id": "tab-1", + "isActive": true, + "terminal": "terminal-1", + "title": "Terminal", + "type": "terminal" + } + ], + "terminals": [] + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f2dc4d1788f4": { + "name": "terminal.close#1", + "args": [ + { + "name": "method", + "value": "terminal.close" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "ff73917214a8": { + "name": "terminal.close#1", + "args": [ + { + "name": "method", + "value": "terminal.close" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + } + }, + "recording": { + "scenario": "matrix-session.tab-close-terminal.close-1", + "checkpoints": [ + { + "id": "session-tab-close-terminal.normal:closed", + "observation": { + "sender": ["7e31b0a0202e"], + "payloads": ["2d697fe0c9bf"], + "settlements": { + "close-terminal": "eb79a9b3682a" + }, + "state": "de039f500462", + "effects": ["a1c0c7168922", "c965e2e20176"] + } + }, + { + "id": "session-tab-close-terminal.result-absent:closed", + "observation": { + "sender": ["ff73917214a8"], + "payloads": ["2d697fe0c9bf"], + "settlements": { + "close-terminal": "eb79a9b3682a" + }, + "state": "de039f500462", + "effects": ["a1c0c7168922", "c965e2e20176"] + } + }, + { + "id": "session-tab-close-terminal.result-null:closed", + "observation": { + "sender": ["1ae2d1fe0b13"], + "payloads": ["2d697fe0c9bf"], + "settlements": { + "close-terminal": "eb79a9b3682a" + }, + "state": "de039f500462", + "effects": ["a1c0c7168922", "c965e2e20176"] + } + }, + { + "id": "session-tab-close-terminal.inner-ok-missing:closed", + "observation": { + "sender": ["65deed7773ff"], + "payloads": ["2d697fe0c9bf"], + "settlements": { + "close-terminal": "eb79a9b3682a" + }, + "state": "de039f500462", + "effects": ["a1c0c7168922", "c965e2e20176"] + } + }, + { + "id": "session-tab-close-terminal.inner-false-string-error:closed", + "observation": { + "sender": ["f2dc4d1788f4"], + "payloads": ["2d697fe0c9bf"], + "settlements": { + "close-terminal": "eb79a9b3682a" + }, + "state": "de039f500462", + "effects": ["a1c0c7168922", "c965e2e20176"] + } + }, + { + "id": "session-tab-close-terminal.inner-false-object-error:closed", + "observation": { + "sender": ["6c7772079255"], + "payloads": ["2d697fe0c9bf"], + "settlements": { + "close-terminal": "eb79a9b3682a" + }, + "state": "de039f500462", + "effects": ["a1c0c7168922", "c965e2e20176"] + } + }, + { + "id": "session-tab-close-terminal.outer-refused:closed", + "observation": { + "sender": ["952c4e3cc256"], + "payloads": ["2d697fe0c9bf"], + "settlements": { + "close-terminal": "eb79a9b3682a" + }, + "state": "3e15def58214", + "effects": [] + } + }, + { + "id": "session-tab-close-terminal.outer-refused-no-message:closed", + "observation": { + "sender": ["d863d1a239d3"], + "payloads": ["2d697fe0c9bf"], + "settlements": { + "close-terminal": "eb79a9b3682a" + }, + "state": "3e15def58214", + "effects": [] + } + }, + { + "id": "session-tab-close-terminal.method-not-found:closed", + "observation": { + "sender": ["d141f04cb173"], + "payloads": ["2d697fe0c9bf"], + "settlements": { + "close-terminal": "eb79a9b3682a" + }, + "state": "3e15def58214", + "effects": [] + } + }, + { + "id": "session-tab-close-terminal.transport-rejection:closed", + "observation": { + "sender": ["3c8f3199915d"], + "payloads": ["2d697fe0c9bf"], + "settlements": { + "close-terminal": "eb79a9b3682a" + }, + "state": "3e15def58214", + "effects": [] + } + }, + { + "id": "session-tab-close-terminal.transport-rejection-no-message:closed", + "observation": { + "sender": ["2c418d165266"], + "payloads": ["2d697fe0c9bf"], + "settlements": { + "close-terminal": "eb79a9b3682a" + }, + "state": "3e15def58214", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-session.tab-documents-markdown.readtab-1.json b/mobile/rpc-foundation/goldens/matrix-session.tab-documents-markdown.readtab-1.json new file mode 100644 index 00000000000..1eb88e8f8d0 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-session.tab-documents-markdown.readtab-1.json @@ -0,0 +1,594 @@ +{ + "operation": "session.tab-documents", + "family": "session.tab-documents", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "a3daf9a05d05424959baf77feb45cb0c076d77d8c49e877941ed612cc1e5ce95", + "scenarioSha256": "c97d925b63253e87ada0777e95a24ccf4e4e1682eda048800b44e335767df648", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "04c0c8bada07": { + "name": "markdown.readTab#1", + "args": [ + { + "name": "method", + "value": "markdown.readTab" + }, + { + "name": "params", + "value": { + "tabId": "tab-md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "0f062a4c61ef": { + "name": "markdown.readTab#1", + "args": [ + { + "name": "method", + "value": "markdown.readTab" + }, + { + "name": "params", + "value": { + "tabId": "tab-md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "15b3e337fb90": { + "name": "markdown.readTab#1", + "args": [ + { + "name": "method", + "value": "markdown.readTab" + }, + { + "name": "params", + "value": { + "tabId": "tab-md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "38b08634cae3": { + "name": "markdown.readTab#1", + "args": [ + { + "name": "method", + "value": "markdown.readTab" + }, + { + "name": "params", + "value": { + "tabId": "tab-md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "content": "# a", + "editable": true, + "isDirty": false, + "version": "v1" + } + } + } + }, + "4145feef3760": { + "name": "markdown.readTab#1", + "args": [ + { + "name": "method", + "value": "markdown.readTab" + }, + { + "name": "params", + "value": { + "tabId": "tab-md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "475bab247189": { + "name": "markdown.readTab#1", + "args": [ + { + "name": "method", + "value": "markdown.readTab" + }, + { + "name": "params", + "value": { + "tabId": "tab-md", + "worktree": "id:workspace-1" + } + }, + { + "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 + } + } + }, + "4a63a1a50d4c": { + "name": "markdown.readTab#1", + "args": [ + { + "name": "method", + "value": "markdown.readTab" + }, + { + "name": "params", + "value": { + "tabId": "tab-md", + "worktree": "id:workspace-1" + } + }, + { + "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 + } + } + } + }, + "4d2966bef600": { + "name": "markdown.readTab#1", + "args": [ + { + "name": "method", + "value": "markdown.readTab" + }, + { + "name": "params", + "value": { + "tabId": "tab-md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "877720375363": { + "file": {}, + "markdown": { + "tab-md": { + "message": "Couldn't load markdown", + "status": "error" + } + } + }, + "999d7e43d33c": { + "file": {}, + "markdown": { + "tab-md": { + "baseVersion": { + "$rpc": "undefined" + }, + "content": { + "$rpc": "undefined" + }, + "editable": false, + "isDirty": false, + "localContent": { + "$rpc": "undefined" + }, + "readOnlyReason": { + "$rpc": "undefined" + }, + "stale": { + "$rpc": "undefined" + }, + "status": "ready" + } + } + }, + "b084676e5f8f": { + "name": "markdown.readTab#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"markdown.readTab\",\"params\":{\"worktree\":\"id:workspace-1\",\"tabId\":\"tab-md\"}}" + }, + "cdeef4a961fe": { + "name": "markdown.readTab#1", + "args": [ + { + "name": "method", + "value": "markdown.readTab" + }, + { + "name": "params", + "value": { + "tabId": "tab-md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "d07653bfda9f": { + "name": "markdown.readTab#1", + "args": [ + { + "name": "method", + "value": "markdown.readTab" + }, + { + "name": "params", + "value": { + "tabId": "tab-md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "d4cf305b17f8": { + "file": {}, + "markdown": { + "tab-md": { + "baseVersion": "v1", + "content": "# a", + "editable": true, + "isDirty": false, + "localContent": "# a", + "readOnlyReason": { + "$rpc": "undefined" + }, + "stale": false, + "status": "ready" + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f3f0693c7791": { + "name": "markdown.readTab#1", + "args": [ + { + "name": "method", + "value": "markdown.readTab" + }, + { + "name": "params", + "value": { + "tabId": "tab-md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + } + }, + "recording": { + "scenario": "matrix-session.tab-documents-markdown.readtab-1", + "checkpoints": [ + { + "id": "session-markdown-tab-read.normal:read", + "observation": { + "sender": ["38b08634cae3"], + "payloads": ["b084676e5f8f"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "d4cf305b17f8", + "effects": [] + } + }, + { + "id": "session-markdown-tab-read.result-absent:read", + "observation": { + "sender": ["f3f0693c7791"], + "payloads": ["b084676e5f8f"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "877720375363", + "effects": [] + } + }, + { + "id": "session-markdown-tab-read.result-null:read", + "observation": { + "sender": ["0f062a4c61ef"], + "payloads": ["b084676e5f8f"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "877720375363", + "effects": [] + } + }, + { + "id": "session-markdown-tab-read.inner-ok-missing:read", + "observation": { + "sender": ["4d2966bef600"], + "payloads": ["b084676e5f8f"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "999d7e43d33c", + "effects": [] + } + }, + { + "id": "session-markdown-tab-read.inner-false-string-error:read", + "observation": { + "sender": ["cdeef4a961fe"], + "payloads": ["b084676e5f8f"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "999d7e43d33c", + "effects": [] + } + }, + { + "id": "session-markdown-tab-read.inner-false-object-error:read", + "observation": { + "sender": ["4a63a1a50d4c"], + "payloads": ["b084676e5f8f"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "999d7e43d33c", + "effects": [] + } + }, + { + "id": "session-markdown-tab-read.outer-refused:read", + "observation": { + "sender": ["15b3e337fb90"], + "payloads": ["b084676e5f8f"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "877720375363", + "effects": [] + } + }, + { + "id": "session-markdown-tab-read.outer-refused-no-message:read", + "observation": { + "sender": ["d07653bfda9f"], + "payloads": ["b084676e5f8f"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "877720375363", + "effects": [] + } + }, + { + "id": "session-markdown-tab-read.method-not-found:read", + "observation": { + "sender": ["475bab247189"], + "payloads": ["b084676e5f8f"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "877720375363", + "effects": [] + } + }, + { + "id": "session-markdown-tab-read.transport-rejection:read", + "observation": { + "sender": ["04c0c8bada07"], + "payloads": ["b084676e5f8f"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "877720375363", + "effects": [] + } + }, + { + "id": "session-markdown-tab-read.transport-rejection-no-message:read", + "observation": { + "sender": ["4145feef3760"], + "payloads": ["b084676e5f8f"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "877720375363", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-session.tab-reveal-session.tabs.activate-1.json b/mobile/rpc-foundation/goldens/matrix-session.tab-reveal-session.tabs.activate-1.json index 0e807700b9b..eed1b81dc28 100644 --- a/mobile/rpc-foundation/goldens/matrix-session.tab-reveal-session.tabs.activate-1.json +++ b/mobile/rpc-foundation/goldens/matrix-session.tab-reveal-session.tabs.activate-1.json @@ -3,9 +3,9 @@ "family": "session.tab-reveal", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "5e47c7960b9352753f0751d4ccf5e3ff7fb7b74a63cc4e4df3c3ffdcc6c1e66b", "scenarioSha256": "73366226aeaec1581aeeb47219fc703917143cfd7f6a2eb01d7bd703a7c7612d", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/matrix-session.tab-reveal-session.tabs.list-1.json b/mobile/rpc-foundation/goldens/matrix-session.tab-reveal-session.tabs.list-1.json index cd298741f2c..17bf80bfdb6 100644 --- a/mobile/rpc-foundation/goldens/matrix-session.tab-reveal-session.tabs.list-1.json +++ b/mobile/rpc-foundation/goldens/matrix-session.tab-reveal-session.tabs.list-1.json @@ -3,9 +3,9 @@ "family": "session.tab-reveal", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "5e47c7960b9352753f0751d4ccf5e3ff7fb7b74a63cc4e4df3c3ffdcc6c1e66b", "scenarioSha256": "c38f2bc5c9faca0774dfe202137877bada9deba165c5e9c955cbe67eae0cbdd9", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/matrix-session.tabs-stream-health-session.tabs.list-1.json b/mobile/rpc-foundation/goldens/matrix-session.tabs-stream-health-session.tabs.list-1.json new file mode 100644 index 00000000000..20af0cdebd7 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-session.tabs-stream-health-session.tabs.list-1.json @@ -0,0 +1,671 @@ +{ + "operation": "session.tabs-stream-health", + "family": "session.tabs-stream-health", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "4a1e81ab3229c8fd10b3ad435568efec11a944e0f02a183f94e4b1f44a7e5de0", + "scenarioSha256": "fab12524a09049d976da752cbe1b837a0aee04ce6e1eef75cbf517c862cb0d4a", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "13a8f05b6027": { + "name": "fetch-errored", + "value": "transport failure", + "sent": 1 + }, + "17e92af0f44e": { + "name": "session.tabs.list#1", + "args": [ + { + "name": "method", + "value": "session.tabs.list" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "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 + } + } + } + }, + "2eae38db7631": { + "name": "fetch-errored", + "value": "", + "sent": 1 + }, + "30425281a407": { + "name": "session.tabs.list#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"session.tabs.list\",\"params\":{\"worktree\":\"id:workspace-1\"}}" + }, + "32f791db34da": { + "name": "session.tabs.list#1", + "args": [ + { + "name": "method", + "value": "session.tabs.list" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "42599e959a49": { + "name": "session.tabs.list#1", + "args": [ + { + "name": "method", + "value": "session.tabs.list" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "442e980f817f": { + "name": "fetch-failed", + "value": { + "code": "refused", + "message": "outer refused" + }, + "sent": 1 + }, + "49a2260ea0e7": { + "accepted": "unapplied", + "applicationRevision": 0 + }, + "4fb2d760b54b": { + "name": "fetch-succeeded", + "value": { + "$rpc": "undefined" + }, + "sent": 1 + }, + "5a7cc7a45078": { + "name": "fetch-started", + "value": {}, + "sent": 0 + }, + "5a9d6a1160e9": { + "name": "session.tabs.list#1", + "args": [ + { + "name": "method", + "value": "session.tabs.list" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "67009efe57d4": { + "name": "session.tabs.list#1", + "args": [ + { + "name": "method", + "value": "session.tabs.list" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "84e5ca07cb7a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": true + }, + "95ecf909b622": { + "name": "fetch-failed", + "value": { + "code": "refused", + "message": "" + }, + "sent": 1 + }, + "96129665cfbc": { + "name": "fetch-succeeded", + "value": { + "error": "inner refused", + "ok": false + }, + "sent": 1 + }, + "9653864fb896": { + "name": "fetch-succeeded", + "value": { + "tabs": [ + { + "id": "tab-1" + } + ] + }, + "sent": 1 + }, + "a9ecd3aba46a": { + "name": "fetch-succeeded", + "value": { + "error": "refused" + }, + "sent": 1 + }, + "b6ed47ca5ea3": { + "accepted": { + "source": "list", + "tabs": [] + }, + "applicationRevision": 0 + }, + "b77d683ee6ee": { + "name": "fetch-failed", + "value": { + "code": "method_not_found", + "message": "Unknown method" + }, + "sent": 1 + }, + "c5969ebad6b7": { + "name": "fetch-succeeded", + "value": { + "error": { + "message": "inner refused" + }, + "ok": false + }, + "sent": 1 + }, + "d46815b7ac09": { + "name": "session.tabs.list#1", + "args": [ + { + "name": "method", + "value": "session.tabs.list" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "tabs": [ + { + "id": "tab-1" + } + ] + } + } + } + }, + "d65a3b8025b0": { + "name": "fetch-errored", + "value": "Cannot read properties of null (reading 'tabs')", + "sent": 1 + }, + "dea35a8e61e3": { + "name": "fetch-succeeded", + "value": { + "$rpc": "null" + }, + "sent": 1 + }, + "df60619a0815": { + "name": "fetch-errored", + "value": "Cannot read properties of undefined (reading 'tabs')", + "sent": 1 + }, + "e29309cc10af": { + "accepted": { + "source": "list", + "tabs": [ + { + "id": "tab-1" + } + ] + }, + "applicationRevision": 0 + }, + "e4b0c74e48f9": { + "name": "session.tabs.list#1", + "args": [ + { + "name": "method", + "value": "session.tabs.list" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "e582528e16b2": { + "name": "session.tabs.list#1", + "args": [ + { + "name": "method", + "value": "session.tabs.list" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "eb7e045cfdd3": { + "name": "session.tabs.list#1", + "args": [ + { + "name": "method", + "value": "session.tabs.list" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "f65bb5453d98": { + "name": "session.tabs.list#1", + "args": [ + { + "name": "method", + "value": "session.tabs.list" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "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 + } + } + }, + "fafc7ede7ef6": { + "name": "session.tabs.list#1", + "args": [ + { + "name": "method", + "value": "session.tabs.list" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + } + }, + "recording": { + "scenario": "matrix-session.tabs-stream-health-session.tabs.list-1", + "checkpoints": [ + { + "id": "session-tabs-health-reconciled.normal:reconciled", + "observation": { + "sender": ["d46815b7ac09"], + "payloads": ["30425281a407"], + "settlements": { + "activate": "84e5ca07cb7a", + "reconcile": "eb79a9b3682a" + }, + "state": "e29309cc10af", + "effects": ["5a7cc7a45078", "9653864fb896"] + } + }, + { + "id": "session-tabs-health-reconciled.result-absent:reconciled", + "observation": { + "sender": ["e4b0c74e48f9"], + "payloads": ["30425281a407"], + "settlements": { + "activate": "84e5ca07cb7a", + "reconcile": "eb79a9b3682a" + }, + "state": "49a2260ea0e7", + "effects": ["5a7cc7a45078", "4fb2d760b54b", "df60619a0815"] + } + }, + { + "id": "session-tabs-health-reconciled.result-null:reconciled", + "observation": { + "sender": ["32f791db34da"], + "payloads": ["30425281a407"], + "settlements": { + "activate": "84e5ca07cb7a", + "reconcile": "eb79a9b3682a" + }, + "state": "49a2260ea0e7", + "effects": ["5a7cc7a45078", "dea35a8e61e3", "d65a3b8025b0"] + } + }, + { + "id": "session-tabs-health-reconciled.inner-ok-missing:reconciled", + "observation": { + "sender": ["42599e959a49"], + "payloads": ["30425281a407"], + "settlements": { + "activate": "84e5ca07cb7a", + "reconcile": "eb79a9b3682a" + }, + "state": "b6ed47ca5ea3", + "effects": ["5a7cc7a45078", "a9ecd3aba46a"] + } + }, + { + "id": "session-tabs-health-reconciled.inner-false-string-error:reconciled", + "observation": { + "sender": ["e582528e16b2"], + "payloads": ["30425281a407"], + "settlements": { + "activate": "84e5ca07cb7a", + "reconcile": "eb79a9b3682a" + }, + "state": "b6ed47ca5ea3", + "effects": ["5a7cc7a45078", "96129665cfbc"] + } + }, + { + "id": "session-tabs-health-reconciled.inner-false-object-error:reconciled", + "observation": { + "sender": ["17e92af0f44e"], + "payloads": ["30425281a407"], + "settlements": { + "activate": "84e5ca07cb7a", + "reconcile": "eb79a9b3682a" + }, + "state": "b6ed47ca5ea3", + "effects": ["5a7cc7a45078", "c5969ebad6b7"] + } + }, + { + "id": "session-tabs-health-reconciled.outer-refused:reconciled", + "observation": { + "sender": ["5a9d6a1160e9"], + "payloads": ["30425281a407"], + "settlements": { + "activate": "84e5ca07cb7a", + "reconcile": "eb79a9b3682a" + }, + "state": "49a2260ea0e7", + "effects": ["5a7cc7a45078", "442e980f817f"] + } + }, + { + "id": "session-tabs-health-reconciled.outer-refused-no-message:reconciled", + "observation": { + "sender": ["67009efe57d4"], + "payloads": ["30425281a407"], + "settlements": { + "activate": "84e5ca07cb7a", + "reconcile": "eb79a9b3682a" + }, + "state": "49a2260ea0e7", + "effects": ["5a7cc7a45078", "95ecf909b622"] + } + }, + { + "id": "session-tabs-health-reconciled.method-not-found:reconciled", + "observation": { + "sender": ["f65bb5453d98"], + "payloads": ["30425281a407"], + "settlements": { + "activate": "84e5ca07cb7a", + "reconcile": "eb79a9b3682a" + }, + "state": "49a2260ea0e7", + "effects": ["5a7cc7a45078", "b77d683ee6ee"] + } + }, + { + "id": "session-tabs-health-reconciled.transport-rejection:reconciled", + "observation": { + "sender": ["fafc7ede7ef6"], + "payloads": ["30425281a407"], + "settlements": { + "activate": "84e5ca07cb7a", + "reconcile": "eb79a9b3682a" + }, + "state": "49a2260ea0e7", + "effects": ["5a7cc7a45078", "13a8f05b6027"] + } + }, + { + "id": "session-tabs-health-reconciled.transport-rejection-no-message:reconciled", + "observation": { + "sender": ["eb7e045cfdd3"], + "payloads": ["30425281a407"], + "settlements": { + "activate": "84e5ca07cb7a", + "reconcile": "eb79a9b3682a" + }, + "state": "49a2260ea0e7", + "effects": ["5a7cc7a45078", "2eae38db7631"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-session.terminal-inventory-terminal.list-1.json b/mobile/rpc-foundation/goldens/matrix-session.terminal-inventory-terminal.list-1.json new file mode 100644 index 00000000000..8f964b6ad01 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-session.terminal-inventory-terminal.list-1.json @@ -0,0 +1,601 @@ +{ + "operation": "session.terminal-inventory", + "family": "session.terminal-inventory", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "a3daf9a05d05424959baf77feb45cb0c076d77d8c49e877941ed612cc1e5ce95", + "scenarioSha256": "12f1006d704e362552317a3afcb4db4366146da3a863a1c55b524c6fc1b9757a", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "04a21fb366ae": { + "name": "terminal.list#1", + "args": [ + { + "name": "method", + "value": "terminal.list" + }, + { + "name": "params", + "value": { + "includeVisualLayouts": false, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "3cd6cd315c56": { + "name": "terminal.list#1", + "args": [ + { + "name": "method", + "value": "terminal.list" + }, + { + "name": "params", + "value": { + "includeVisualLayouts": false, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "4e9902faac20": { + "name": "terminal.list#1", + "args": [ + { + "name": "method", + "value": "terminal.list" + }, + { + "name": "params", + "value": { + "includeVisualLayouts": false, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "5cd2b97372d8": { + "name": "prune-live-input", + "value": ["terminal-1", "terminal-2"], + "sent": 1 + }, + "5eea50c700fd": { + "name": "terminal.list#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.list\",\"params\":{\"worktree\":\"id:workspace-1\",\"includeVisualLayouts\":false}}" + }, + "6a8e7504d43b": { + "name": "terminal.list#1", + "args": [ + { + "name": "method", + "value": "terminal.list" + }, + { + "name": "params", + "value": { + "includeVisualLayouts": false, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "6aa9d70c1c82": { + "known": [], + "terminals": [] + }, + "70acf7d1b267": { + "name": "terminal.list#1", + "args": [ + { + "name": "method", + "value": "terminal.list" + }, + { + "name": "params", + "value": { + "includeVisualLayouts": false, + "worktree": "id:workspace-1" + } + }, + { + "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 + } + } + }, + "727166f3bc25": { + "known": [ + { + "handle": "terminal-1", + "terminalTheme": { + "$rpc": "undefined" + }, + "title": "one" + }, + { + "handle": "terminal-2", + "terminalTheme": { + "$rpc": "undefined" + }, + "title": "two" + } + ], + "terminals": [ + { + "handle": "terminal-1", + "terminalTheme": { + "$rpc": "undefined" + }, + "title": "one" + }, + { + "handle": "terminal-2", + "terminalTheme": { + "$rpc": "undefined" + }, + "title": "two" + } + ] + }, + "7ed3d39f0607": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": false + }, + "84e5ca07cb7a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": true + }, + "9d8ce13428ab": { + "name": "terminal.list#1", + "args": [ + { + "name": "method", + "value": "terminal.list" + }, + { + "name": "params", + "value": { + "includeVisualLayouts": false, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "bc87546461f3": { + "name": "terminal.list#1", + "args": [ + { + "name": "method", + "value": "terminal.list" + }, + { + "name": "params", + "value": { + "includeVisualLayouts": false, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "bdf04e5ac57b": { + "name": "terminal.list#1", + "args": [ + { + "name": "method", + "value": "terminal.list" + }, + { + "name": "params", + "value": { + "includeVisualLayouts": false, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "c2ee5279a532": { + "name": "terminal.list#1", + "args": [ + { + "name": "method", + "value": "terminal.list" + }, + { + "name": "params", + "value": { + "includeVisualLayouts": false, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "terminals": [ + { + "handle": "terminal-1", + "title": "one" + }, + { + "handle": "terminal-2", + "title": "two" + } + ] + } + } + } + }, + "ce7002e0ac64": { + "name": "default-live-input", + "value": ["terminal-1", "terminal-2"], + "sent": 1 + }, + "d717363e37dc": { + "name": "terminal.list#1", + "args": [ + { + "name": "method", + "value": "terminal.list" + }, + { + "name": "params", + "value": { + "includeVisualLayouts": false, + "worktree": "id:workspace-1" + } + }, + { + "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 + } + } + } + }, + "e187b80ff917": { + "name": "terminal.list#1", + "args": [ + { + "name": "method", + "value": "terminal.list" + }, + { + "name": "params", + "value": { + "includeVisualLayouts": false, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + } + }, + "recording": { + "scenario": "matrix-session.terminal-inventory-terminal.list-1", + "checkpoints": [ + { + "id": "session-terminal-list-merged.normal:listed", + "observation": { + "sender": ["c2ee5279a532"], + "payloads": ["5eea50c700fd"], + "settlements": { + "fetch": "84e5ca07cb7a" + }, + "state": "727166f3bc25", + "effects": ["5cd2b97372d8", "ce7002e0ac64"] + } + }, + { + "id": "session-terminal-list-merged.result-absent:listed", + "observation": { + "sender": ["6a8e7504d43b"], + "payloads": ["5eea50c700fd"], + "settlements": { + "fetch": "7ed3d39f0607" + }, + "state": "6aa9d70c1c82", + "effects": [] + } + }, + { + "id": "session-terminal-list-merged.result-null:listed", + "observation": { + "sender": ["9d8ce13428ab"], + "payloads": ["5eea50c700fd"], + "settlements": { + "fetch": "7ed3d39f0607" + }, + "state": "6aa9d70c1c82", + "effects": [] + } + }, + { + "id": "session-terminal-list-merged.inner-ok-missing:listed", + "observation": { + "sender": ["bdf04e5ac57b"], + "payloads": ["5eea50c700fd"], + "settlements": { + "fetch": "7ed3d39f0607" + }, + "state": "6aa9d70c1c82", + "effects": [] + } + }, + { + "id": "session-terminal-list-merged.inner-false-string-error:listed", + "observation": { + "sender": ["04a21fb366ae"], + "payloads": ["5eea50c700fd"], + "settlements": { + "fetch": "7ed3d39f0607" + }, + "state": "6aa9d70c1c82", + "effects": [] + } + }, + { + "id": "session-terminal-list-merged.inner-false-object-error:listed", + "observation": { + "sender": ["d717363e37dc"], + "payloads": ["5eea50c700fd"], + "settlements": { + "fetch": "7ed3d39f0607" + }, + "state": "6aa9d70c1c82", + "effects": [] + } + }, + { + "id": "session-terminal-list-merged.outer-refused:listed", + "observation": { + "sender": ["4e9902faac20"], + "payloads": ["5eea50c700fd"], + "settlements": { + "fetch": "7ed3d39f0607" + }, + "state": "6aa9d70c1c82", + "effects": [] + } + }, + { + "id": "session-terminal-list-merged.outer-refused-no-message:listed", + "observation": { + "sender": ["bc87546461f3"], + "payloads": ["5eea50c700fd"], + "settlements": { + "fetch": "7ed3d39f0607" + }, + "state": "6aa9d70c1c82", + "effects": [] + } + }, + { + "id": "session-terminal-list-merged.method-not-found:listed", + "observation": { + "sender": ["70acf7d1b267"], + "payloads": ["5eea50c700fd"], + "settlements": { + "fetch": "7ed3d39f0607" + }, + "state": "6aa9d70c1c82", + "effects": [] + } + }, + { + "id": "session-terminal-list-merged.transport-rejection:listed", + "observation": { + "sender": ["e187b80ff917"], + "payloads": ["5eea50c700fd"], + "settlements": { + "fetch": "7ed3d39f0607" + }, + "state": "6aa9d70c1c82", + "effects": [] + } + }, + { + "id": "session-terminal-list-merged.transport-rejection-no-message:listed", + "observation": { + "sender": ["3cd6cd315c56"], + "payloads": ["5eea50c700fd"], + "settlements": { + "fetch": "7ed3d39f0607" + }, + "state": "6aa9d70c1c82", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-settings-agent-read-preflight.detectremoteagents-1.json b/mobile/rpc-foundation/goldens/matrix-settings-agent-read-preflight.detectremoteagents-1.json index e100f255245..60bf8aff3e9 100644 --- a/mobile/rpc-foundation/goldens/matrix-settings-agent-read-preflight.detectremoteagents-1.json +++ b/mobile/rpc-foundation/goldens/matrix-settings-agent-read-preflight.detectremoteagents-1.json @@ -3,9 +3,9 @@ "family": "settings-agent-read", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "448cdbd12f4f6a14bb33947bfbbb1837aebeb28979db70c62f2ba2fbb4d89c8f", "scenarioSha256": "a0effc9a0be519ccd18c1b1abfc8b497cd3858b89ea8d345ac0f8bd6d195cf21", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/matrix-settings-agent-read-repo.list-1.json b/mobile/rpc-foundation/goldens/matrix-settings-agent-read-repo.list-1.json index f0d53f404ce..5f36424bdb6 100644 --- a/mobile/rpc-foundation/goldens/matrix-settings-agent-read-repo.list-1.json +++ b/mobile/rpc-foundation/goldens/matrix-settings-agent-read-repo.list-1.json @@ -3,9 +3,9 @@ "family": "settings-agent-read", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "448cdbd12f4f6a14bb33947bfbbb1837aebeb28979db70c62f2ba2fbb4d89c8f", "scenarioSha256": "c21b2e0e97fab86664f634cc99d77dd587df4af4d02e6286c8380e09844096b2", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/matrix-settings-agent-read-settings.get-1.json b/mobile/rpc-foundation/goldens/matrix-settings-agent-read-settings.get-1.json index 8ac2bce1cc0..48b598b9b35 100644 --- a/mobile/rpc-foundation/goldens/matrix-settings-agent-read-settings.get-1.json +++ b/mobile/rpc-foundation/goldens/matrix-settings-agent-read-settings.get-1.json @@ -3,9 +3,9 @@ "family": "settings-agent-read", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "448cdbd12f4f6a14bb33947bfbbb1837aebeb28979db70c62f2ba2fbb4d89c8f", "scenarioSha256": "46c4e32a921612c736c8cf45ff72ed513431c917ed3dd03f289c0ba4c28d6adb", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/matrix-settings-best-effort-settings.update-1.json b/mobile/rpc-foundation/goldens/matrix-settings-best-effort-settings.update-1.json index bd5bdab3e2e..52efe27a621 100644 --- a/mobile/rpc-foundation/goldens/matrix-settings-best-effort-settings.update-1.json +++ b/mobile/rpc-foundation/goldens/matrix-settings-best-effort-settings.update-1.json @@ -3,9 +3,9 @@ "family": "settings-best-effort", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "d3b7f33d810e1fa420ac41a628cde9fe4a9e65fd57f89fbca0a40fc7d74951ab", "scenarioSha256": "cf671da175d50a4c2e1336f4e8338c24c4752db111e1eafd226bee6ff3582b1d", "platform": "darwin", @@ -276,6 +276,11 @@ } } }, + "8bdf90b8099a": { + "name": "defaultGitHubPreset", + "value": "assigned", + "sent": 0 + }, "9b81c7f38dcf": { "name": "settings.update#1", "args": [ @@ -343,10 +348,6 @@ } } }, - "b2897d5daa49": { - "name": "defaultGitHubPreset", - "value": "assigned" - }, "d26aa345f588": { "name": "settings.update#1", "args": [ @@ -434,7 +435,7 @@ "write": "eb79a9b3682a" }, "state": "5db909d58c6f", - "effects": ["b2897d5daa49"] + "effects": ["8bdf90b8099a"] } }, { @@ -447,7 +448,7 @@ "write": "eb79a9b3682a" }, "state": "5db909d58c6f", - "effects": ["b2897d5daa49"] + "effects": ["8bdf90b8099a"] } }, { @@ -460,7 +461,7 @@ "write": "eb79a9b3682a" }, "state": "5db909d58c6f", - "effects": ["b2897d5daa49"] + "effects": ["8bdf90b8099a"] } }, { @@ -473,7 +474,7 @@ "write": "eb79a9b3682a" }, "state": "5db909d58c6f", - "effects": ["b2897d5daa49"] + "effects": ["8bdf90b8099a"] } }, { @@ -486,7 +487,7 @@ "write": "eb79a9b3682a" }, "state": "5db909d58c6f", - "effects": ["b2897d5daa49"] + "effects": ["8bdf90b8099a"] } }, { @@ -499,7 +500,7 @@ "write": "eb79a9b3682a" }, "state": "5db909d58c6f", - "effects": ["b2897d5daa49"] + "effects": ["8bdf90b8099a"] } }, { @@ -512,7 +513,7 @@ "write": "eb79a9b3682a" }, "state": "5db909d58c6f", - "effects": ["b2897d5daa49"] + "effects": ["8bdf90b8099a"] } }, { @@ -525,7 +526,7 @@ "write": "eb79a9b3682a" }, "state": "5db909d58c6f", - "effects": ["b2897d5daa49"] + "effects": ["8bdf90b8099a"] } }, { @@ -538,7 +539,7 @@ "write": "eb79a9b3682a" }, "state": "5db909d58c6f", - "effects": ["b2897d5daa49"] + "effects": ["8bdf90b8099a"] } }, { @@ -551,7 +552,7 @@ "write": "eb79a9b3682a" }, "state": "5db909d58c6f", - "effects": ["b2897d5daa49"] + "effects": ["8bdf90b8099a"] } }, { @@ -564,7 +565,7 @@ "write": "eb79a9b3682a" }, "state": "5db909d58c6f", - "effects": ["b2897d5daa49"] + "effects": ["8bdf90b8099a"] } }, { @@ -577,7 +578,7 @@ "write": "eb79a9b3682a" }, "state": "5db909d58c6f", - "effects": ["b2897d5daa49"] + "effects": ["8bdf90b8099a"] } } ] diff --git a/mobile/rpc-foundation/goldens/matrix-settings.bot-overrides-settings.get-1.json b/mobile/rpc-foundation/goldens/matrix-settings.bot-overrides-settings.get-1.json index a8cebde9ba2..07e56873f82 100644 --- a/mobile/rpc-foundation/goldens/matrix-settings.bot-overrides-settings.get-1.json +++ b/mobile/rpc-foundation/goldens/matrix-settings.bot-overrides-settings.get-1.json @@ -3,9 +3,9 @@ "family": "settings.bot-overrides", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "01408cebcc193f8e30119381c8acf494fa5e29850fe010809deb330c2f9bcb36", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/matrix-settings.home-providers-linear.status-1.json b/mobile/rpc-foundation/goldens/matrix-settings.home-providers-linear.status-1.json index 837f1e41e21..33276a63fe5 100644 --- a/mobile/rpc-foundation/goldens/matrix-settings.home-providers-linear.status-1.json +++ b/mobile/rpc-foundation/goldens/matrix-settings.home-providers-linear.status-1.json @@ -3,9 +3,9 @@ "family": "settings.home-providers", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "19b445b39da98d28bcbcdab6f70e47ce208ca68f165e7b62c5fe9762eee67c8d", "platform": "darwin", @@ -47,12 +47,6 @@ } } }, - "24054d93a95f": { - "name": "providers", - "value": { - "host-1": ["github"] - } - }, "27e92f99be15": { "name": "linear.status#1", "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" @@ -356,6 +350,13 @@ "name": "settings.get#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" }, + "8f1426c2f53b": { + "name": "providers", + "value": { + "host-1": ["github"] + }, + "sent": 3 + }, "8f4c679a09be": { "name": "linear.status#1", "args": [ @@ -580,7 +581,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } }, { @@ -592,7 +593,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } }, { @@ -604,7 +605,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } }, { @@ -616,7 +617,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } }, { @@ -628,7 +629,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } }, { @@ -640,7 +641,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } }, { @@ -652,7 +653,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } }, { @@ -664,7 +665,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } }, { @@ -676,7 +677,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } }, { @@ -688,7 +689,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } }, { @@ -700,7 +701,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } } ] diff --git a/mobile/rpc-foundation/goldens/matrix-settings.home-providers-preflight.check-1.json b/mobile/rpc-foundation/goldens/matrix-settings.home-providers-preflight.check-1.json index 37743f6dc2f..2bcdf501dde 100644 --- a/mobile/rpc-foundation/goldens/matrix-settings.home-providers-preflight.check-1.json +++ b/mobile/rpc-foundation/goldens/matrix-settings.home-providers-preflight.check-1.json @@ -3,9 +3,9 @@ "family": "settings.home-providers", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "4953dd0de509ce620b9840d7f460e472dc74f54d53636694d12cba2e3bb51da8", "platform": "darwin", @@ -46,12 +46,6 @@ } } }, - "24054d93a95f": { - "name": "providers", - "value": { - "host-1": ["github"] - } - }, "27e92f99be15": { "name": "linear.status#1", "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" @@ -291,6 +285,13 @@ "name": "settings.get#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" }, + "8f1426c2f53b": { + "name": "providers", + "value": { + "host-1": ["github"] + }, + "sent": 3 + }, "a3c30fa6fdda": { "name": "linear.status#1", "args": [ @@ -580,7 +581,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } }, { @@ -592,7 +593,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } }, { @@ -604,7 +605,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } }, { @@ -616,7 +617,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } }, { @@ -628,7 +629,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } }, { @@ -640,7 +641,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } }, { @@ -652,7 +653,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } }, { @@ -664,7 +665,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } }, { @@ -676,7 +677,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } }, { @@ -688,7 +689,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } }, { @@ -700,7 +701,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } } ] diff --git a/mobile/rpc-foundation/goldens/matrix-settings.home-providers-settings.get-1.json b/mobile/rpc-foundation/goldens/matrix-settings.home-providers-settings.get-1.json index 3b72882ed96..729a24f03f9 100644 --- a/mobile/rpc-foundation/goldens/matrix-settings.home-providers-settings.get-1.json +++ b/mobile/rpc-foundation/goldens/matrix-settings.home-providers-settings.get-1.json @@ -3,9 +3,9 @@ "family": "settings.home-providers", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "70f601caeaee957bd3b172fc0fc12e85d6e2d6bed7683c86869559c6c9f25834", "platform": "darwin", @@ -47,12 +47,6 @@ } } }, - "24054d93a95f": { - "name": "providers", - "value": { - "host-1": ["github"] - } - }, "272a1c90c400": { "name": "settings.get#1", "args": [ @@ -423,6 +417,13 @@ "name": "settings.get#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" }, + "8f1426c2f53b": { + "name": "providers", + "value": { + "host-1": ["github"] + }, + "sent": 3 + }, "a3c30fa6fdda": { "name": "linear.status#1", "args": [ @@ -580,7 +581,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } }, { @@ -592,7 +593,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } }, { @@ -604,7 +605,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } }, { @@ -616,7 +617,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } }, { @@ -628,7 +629,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } }, { @@ -640,7 +641,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } }, { @@ -652,7 +653,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } }, { @@ -664,7 +665,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } }, { @@ -676,7 +677,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } }, { @@ -688,7 +689,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } }, { @@ -700,7 +701,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } } ] diff --git a/mobile/rpc-foundation/goldens/matrix-settings.quick-commands-settings.getterminalquickcommands-1.json b/mobile/rpc-foundation/goldens/matrix-settings.quick-commands-settings.getterminalquickcommands-1.json new file mode 100644 index 00000000000..dfdcae6df03 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-settings.quick-commands-settings.getterminalquickcommands-1.json @@ -0,0 +1,640 @@ +{ + "operation": "settings.quick-commands", + "family": "settings.quick-commands", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "42334358b5e5966001639653b553f15033f6e201d785107871fe056536f0a5e2", + "scenarioSha256": "c6d5040d0fd1e6b852625561aa67d11f555f5adb12303b6f8d0176183026a6b1", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "04f6dbaf09c1": { + "name": "settings.getTerminalQuickCommands#1", + "args": [ + { + "name": "method", + "value": "settings.getTerminalQuickCommands" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "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 + } + } + } + }, + "1ce4c013ba3d": { + "name": "settings.getTerminalQuickCommands#1", + "args": [ + { + "name": "method", + "value": "settings.getTerminalQuickCommands" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "21ccc919b368": { + "name": "settings.getTerminalQuickCommands#1", + "args": [ + { + "name": "method", + "value": "settings.getTerminalQuickCommands" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "21ee979928e9": { + "name": "settings.getTerminalQuickCommands#1", + "args": [ + { + "name": "method", + "value": "settings.getTerminalQuickCommands" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "3436bd0afc4e": { + "commands": [], + "error": "outer refused", + "loading": false, + "persisted": [false], + "ready": false + }, + "39ce53b18223": { + "commands": [], + "error": "Failed to load quick commands", + "loading": false, + "persisted": [false], + "ready": false + }, + "51361d7747a6": { + "name": "settings.getTerminalQuickCommands#1", + "args": [ + { + "name": "method", + "value": "settings.getTerminalQuickCommands" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "55a0abce3ee8": { + "name": "settings.getTerminalQuickCommands#1", + "args": [ + { + "name": "method", + "value": "settings.getTerminalQuickCommands" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "57653dce9e88": { + "commands": [], + "error": "", + "loading": false, + "persisted": [false], + "ready": false + }, + "6802e9327771": { + "commands": [], + "error": "Unknown method", + "loading": false, + "persisted": [false], + "ready": false + }, + "7ed3d39f0607": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": false + }, + "8215dc36bdfb": { + "name": "settings.getTerminalQuickCommands#1", + "args": [ + { + "name": "method", + "value": "settings.getTerminalQuickCommands" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "ae75d9a09c8f": { + "name": "settings.getTerminalQuickCommands#1", + "args": [ + { + "name": "method", + "value": "settings.getTerminalQuickCommands" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "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 + } + } + }, + "b0069ba7e0a2": { + "name": "settings.updateTerminalQuickCommands#1", + "args": [ + { + "name": "method", + "value": "settings.updateTerminalQuickCommands" + }, + { + "name": "params", + "value": { + "mutation": { + "command": { + "appendEnter": true, + "command": "pnpm build", + "id": "qc-1", + "label": "build" + }, + "type": "upsert" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "terminalQuickCommands": [ + { + "appendEnter": true, + "command": "pnpm build", + "id": "qc-1", + "label": "build" + } + ] + } + } + } + }, + "d4b326e9a5d1": { + "commands": [], + "error": "transport failure", + "loading": false, + "persisted": [false], + "ready": false + }, + "d766ce9ee125": { + "name": "settings.getTerminalQuickCommands#1", + "args": [ + { + "name": "method", + "value": "settings.getTerminalQuickCommands" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "terminalQuickCommands": [] + } + } + } + }, + "e1663c7c38e3": { + "name": "settings.getTerminalQuickCommands#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"settings.getTerminalQuickCommands\"}" + }, + "e3cf3d452fcf": { + "name": "settings.updateTerminalQuickCommands#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"settings.updateTerminalQuickCommands\",\"params\":{\"mutation\":{\"type\":\"upsert\",\"command\":{\"id\":\"qc-1\",\"label\":\"build\",\"command\":\"pnpm build\",\"appendEnter\":true}}}}" + }, + "e7d45eb699d8": { + "name": "settings.getTerminalQuickCommands#1", + "args": [ + { + "name": "method", + "value": "settings.getTerminalQuickCommands" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "e9c308be6dea": { + "commands": [], + "error": "Failed to save quick command", + "loading": false, + "persisted": [false], + "ready": true + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f555436e2b82": { + "name": "settings.getTerminalQuickCommands#1", + "args": [ + { + "name": "method", + "value": "settings.getTerminalQuickCommands" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + } + }, + "recording": { + "scenario": "matrix-settings.quick-commands-settings.getterminalquickcommands-1", + "checkpoints": [ + { + "id": "quick-commands-loaded-and-saved.normal:saved", + "observation": { + "sender": ["d766ce9ee125", "b0069ba7e0a2"], + "payloads": ["e1663c7c38e3", "e3cf3d452fcf"], + "settlements": { + "mount": "eb79a9b3682a", + "persist": "7ed3d39f0607" + }, + "state": "e9c308be6dea", + "effects": [] + } + }, + { + "id": "quick-commands-loaded-and-saved.result-absent:saved", + "observation": { + "sender": ["21ccc919b368"], + "payloads": ["e1663c7c38e3"], + "settlements": { + "mount": "eb79a9b3682a", + "persist": "7ed3d39f0607" + }, + "state": "39ce53b18223", + "effects": [] + } + }, + { + "id": "quick-commands-loaded-and-saved.result-null:saved", + "observation": { + "sender": ["21ee979928e9"], + "payloads": ["e1663c7c38e3"], + "settlements": { + "mount": "eb79a9b3682a", + "persist": "7ed3d39f0607" + }, + "state": "39ce53b18223", + "effects": [] + } + }, + { + "id": "quick-commands-loaded-and-saved.inner-ok-missing:saved", + "observation": { + "sender": ["8215dc36bdfb"], + "payloads": ["e1663c7c38e3"], + "settlements": { + "mount": "eb79a9b3682a", + "persist": "7ed3d39f0607" + }, + "state": "39ce53b18223", + "effects": [] + } + }, + { + "id": "quick-commands-loaded-and-saved.inner-false-string-error:saved", + "observation": { + "sender": ["f555436e2b82"], + "payloads": ["e1663c7c38e3"], + "settlements": { + "mount": "eb79a9b3682a", + "persist": "7ed3d39f0607" + }, + "state": "39ce53b18223", + "effects": [] + } + }, + { + "id": "quick-commands-loaded-and-saved.inner-false-object-error:saved", + "observation": { + "sender": ["04f6dbaf09c1"], + "payloads": ["e1663c7c38e3"], + "settlements": { + "mount": "eb79a9b3682a", + "persist": "7ed3d39f0607" + }, + "state": "39ce53b18223", + "effects": [] + } + }, + { + "id": "quick-commands-loaded-and-saved.outer-refused:saved", + "observation": { + "sender": ["1ce4c013ba3d"], + "payloads": ["e1663c7c38e3"], + "settlements": { + "mount": "eb79a9b3682a", + "persist": "7ed3d39f0607" + }, + "state": "3436bd0afc4e", + "effects": [] + } + }, + { + "id": "quick-commands-loaded-and-saved.outer-refused-no-message:saved", + "observation": { + "sender": ["51361d7747a6"], + "payloads": ["e1663c7c38e3"], + "settlements": { + "mount": "eb79a9b3682a", + "persist": "7ed3d39f0607" + }, + "state": "39ce53b18223", + "effects": [] + } + }, + { + "id": "quick-commands-loaded-and-saved.method-not-found:saved", + "observation": { + "sender": ["ae75d9a09c8f"], + "payloads": ["e1663c7c38e3"], + "settlements": { + "mount": "eb79a9b3682a", + "persist": "7ed3d39f0607" + }, + "state": "6802e9327771", + "effects": [] + } + }, + { + "id": "quick-commands-loaded-and-saved.transport-rejection:saved", + "observation": { + "sender": ["e7d45eb699d8"], + "payloads": ["e1663c7c38e3"], + "settlements": { + "mount": "eb79a9b3682a", + "persist": "7ed3d39f0607" + }, + "state": "d4b326e9a5d1", + "effects": [] + } + }, + { + "id": "quick-commands-loaded-and-saved.transport-rejection-no-message:saved", + "observation": { + "sender": ["55a0abce3ee8"], + "payloads": ["e1663c7c38e3"], + "settlements": { + "mount": "eb79a9b3682a", + "persist": "7ed3d39f0607" + }, + "state": "57653dce9e88", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-settings.quick-commands-settings.updateterminalquickcommands-1.json b/mobile/rpc-foundation/goldens/matrix-settings.quick-commands-settings.updateterminalquickcommands-1.json new file mode 100644 index 00000000000..e153d047de0 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-settings.quick-commands-settings.updateterminalquickcommands-1.json @@ -0,0 +1,713 @@ +{ + "operation": "settings.quick-commands", + "family": "settings.quick-commands", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "42334358b5e5966001639653b553f15033f6e201d785107871fe056536f0a5e2", + "scenarioSha256": "b9edb5c27852d4e1e968f85668f1ea7afde3ed1c6e5c6582d6607f9fa5643356", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "35b74155a70e": { + "name": "settings.updateTerminalQuickCommands#1", + "args": [ + { + "name": "method", + "value": "settings.updateTerminalQuickCommands" + }, + { + "name": "params", + "value": { + "mutation": { + "command": { + "appendEnter": true, + "command": "pnpm build", + "id": "qc-1", + "label": "build" + }, + "type": "upsert" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "4d6187982484": { + "commands": [], + "error": "transport failure", + "loading": false, + "persisted": [false], + "ready": true + }, + "7ed3d39f0607": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": false + }, + "90d68a1db07c": { + "commands": [], + "error": "Unknown method", + "loading": false, + "persisted": [false], + "ready": true + }, + "aa6cb2d59de0": { + "name": "settings.updateTerminalQuickCommands#1", + "args": [ + { + "name": "method", + "value": "settings.updateTerminalQuickCommands" + }, + { + "name": "params", + "value": { + "mutation": { + "command": { + "appendEnter": true, + "command": "pnpm build", + "id": "qc-1", + "label": "build" + }, + "type": "upsert" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "b0069ba7e0a2": { + "name": "settings.updateTerminalQuickCommands#1", + "args": [ + { + "name": "method", + "value": "settings.updateTerminalQuickCommands" + }, + { + "name": "params", + "value": { + "mutation": { + "command": { + "appendEnter": true, + "command": "pnpm build", + "id": "qc-1", + "label": "build" + }, + "type": "upsert" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "terminalQuickCommands": [ + { + "appendEnter": true, + "command": "pnpm build", + "id": "qc-1", + "label": "build" + } + ] + } + } + } + }, + "b5abe986e17a": { + "name": "settings.updateTerminalQuickCommands#1", + "args": [ + { + "name": "method", + "value": "settings.updateTerminalQuickCommands" + }, + { + "name": "params", + "value": { + "mutation": { + "command": { + "appendEnter": true, + "command": "pnpm build", + "id": "qc-1", + "label": "build" + }, + "type": "upsert" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "b8ac830eaf5f": { + "name": "settings.updateTerminalQuickCommands#1", + "args": [ + { + "name": "method", + "value": "settings.updateTerminalQuickCommands" + }, + { + "name": "params", + "value": { + "mutation": { + "command": { + "appendEnter": true, + "command": "pnpm build", + "id": "qc-1", + "label": "build" + }, + "type": "upsert" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "bea1533ac9d4": { + "commands": [], + "error": "outer refused", + "loading": false, + "persisted": [false], + "ready": true + }, + "c321b3e8e439": { + "name": "settings.updateTerminalQuickCommands#1", + "args": [ + { + "name": "method", + "value": "settings.updateTerminalQuickCommands" + }, + { + "name": "params", + "value": { + "mutation": { + "command": { + "appendEnter": true, + "command": "pnpm build", + "id": "qc-1", + "label": "build" + }, + "type": "upsert" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "cd5b13bf9061": { + "name": "settings.updateTerminalQuickCommands#1", + "args": [ + { + "name": "method", + "value": "settings.updateTerminalQuickCommands" + }, + { + "name": "params", + "value": { + "mutation": { + "command": { + "appendEnter": true, + "command": "pnpm build", + "id": "qc-1", + "label": "build" + }, + "type": "upsert" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "d02852b743c2": { + "name": "settings.updateTerminalQuickCommands#1", + "args": [ + { + "name": "method", + "value": "settings.updateTerminalQuickCommands" + }, + { + "name": "params", + "value": { + "mutation": { + "command": { + "appendEnter": true, + "command": "pnpm build", + "id": "qc-1", + "label": "build" + }, + "type": "upsert" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "d766ce9ee125": { + "name": "settings.getTerminalQuickCommands#1", + "args": [ + { + "name": "method", + "value": "settings.getTerminalQuickCommands" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "terminalQuickCommands": [] + } + } + } + }, + "da090221e587": { + "name": "settings.updateTerminalQuickCommands#1", + "args": [ + { + "name": "method", + "value": "settings.updateTerminalQuickCommands" + }, + { + "name": "params", + "value": { + "mutation": { + "command": { + "appendEnter": true, + "command": "pnpm build", + "id": "qc-1", + "label": "build" + }, + "type": "upsert" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "e1603b0c081f": { + "name": "settings.updateTerminalQuickCommands#1", + "args": [ + { + "name": "method", + "value": "settings.updateTerminalQuickCommands" + }, + { + "name": "params", + "value": { + "mutation": { + "command": { + "appendEnter": true, + "command": "pnpm build", + "id": "qc-1", + "label": "build" + }, + "type": "upsert" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "e1663c7c38e3": { + "name": "settings.getTerminalQuickCommands#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"settings.getTerminalQuickCommands\"}" + }, + "e1a6101399e1": { + "name": "settings.updateTerminalQuickCommands#1", + "args": [ + { + "name": "method", + "value": "settings.updateTerminalQuickCommands" + }, + { + "name": "params", + "value": { + "mutation": { + "command": { + "appendEnter": true, + "command": "pnpm build", + "id": "qc-1", + "label": "build" + }, + "type": "upsert" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "e3cf3d452fcf": { + "name": "settings.updateTerminalQuickCommands#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"settings.updateTerminalQuickCommands\",\"params\":{\"mutation\":{\"type\":\"upsert\",\"command\":{\"id\":\"qc-1\",\"label\":\"build\",\"command\":\"pnpm build\",\"appendEnter\":true}}}}" + }, + "e481e68c74c9": { + "commands": [], + "error": "", + "loading": false, + "persisted": [false], + "ready": true + }, + "e9c308be6dea": { + "commands": [], + "error": "Failed to save quick command", + "loading": false, + "persisted": [false], + "ready": true + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "matrix-settings.quick-commands-settings.updateterminalquickcommands-1", + "checkpoints": [ + { + "id": "quick-commands-loaded-and-saved.normal:saved", + "observation": { + "sender": ["d766ce9ee125", "b0069ba7e0a2"], + "payloads": ["e1663c7c38e3", "e3cf3d452fcf"], + "settlements": { + "mount": "eb79a9b3682a", + "persist": "7ed3d39f0607" + }, + "state": "e9c308be6dea", + "effects": [] + } + }, + { + "id": "quick-commands-loaded-and-saved.result-absent:saved", + "observation": { + "sender": ["d766ce9ee125", "aa6cb2d59de0"], + "payloads": ["e1663c7c38e3", "e3cf3d452fcf"], + "settlements": { + "mount": "eb79a9b3682a", + "persist": "7ed3d39f0607" + }, + "state": "e9c308be6dea", + "effects": [] + } + }, + { + "id": "quick-commands-loaded-and-saved.result-null:saved", + "observation": { + "sender": ["d766ce9ee125", "b8ac830eaf5f"], + "payloads": ["e1663c7c38e3", "e3cf3d452fcf"], + "settlements": { + "mount": "eb79a9b3682a", + "persist": "7ed3d39f0607" + }, + "state": "e9c308be6dea", + "effects": [] + } + }, + { + "id": "quick-commands-loaded-and-saved.inner-ok-missing:saved", + "observation": { + "sender": ["d766ce9ee125", "da090221e587"], + "payloads": ["e1663c7c38e3", "e3cf3d452fcf"], + "settlements": { + "mount": "eb79a9b3682a", + "persist": "7ed3d39f0607" + }, + "state": "e9c308be6dea", + "effects": [] + } + }, + { + "id": "quick-commands-loaded-and-saved.inner-false-string-error:saved", + "observation": { + "sender": ["d766ce9ee125", "e1603b0c081f"], + "payloads": ["e1663c7c38e3", "e3cf3d452fcf"], + "settlements": { + "mount": "eb79a9b3682a", + "persist": "7ed3d39f0607" + }, + "state": "e9c308be6dea", + "effects": [] + } + }, + { + "id": "quick-commands-loaded-and-saved.inner-false-object-error:saved", + "observation": { + "sender": ["d766ce9ee125", "cd5b13bf9061"], + "payloads": ["e1663c7c38e3", "e3cf3d452fcf"], + "settlements": { + "mount": "eb79a9b3682a", + "persist": "7ed3d39f0607" + }, + "state": "e9c308be6dea", + "effects": [] + } + }, + { + "id": "quick-commands-loaded-and-saved.outer-refused:saved", + "observation": { + "sender": ["d766ce9ee125", "e1a6101399e1"], + "payloads": ["e1663c7c38e3", "e3cf3d452fcf"], + "settlements": { + "mount": "eb79a9b3682a", + "persist": "7ed3d39f0607" + }, + "state": "bea1533ac9d4", + "effects": [] + } + }, + { + "id": "quick-commands-loaded-and-saved.outer-refused-no-message:saved", + "observation": { + "sender": ["d766ce9ee125", "d02852b743c2"], + "payloads": ["e1663c7c38e3", "e3cf3d452fcf"], + "settlements": { + "mount": "eb79a9b3682a", + "persist": "7ed3d39f0607" + }, + "state": "e9c308be6dea", + "effects": [] + } + }, + { + "id": "quick-commands-loaded-and-saved.method-not-found:saved", + "observation": { + "sender": ["d766ce9ee125", "c321b3e8e439"], + "payloads": ["e1663c7c38e3", "e3cf3d452fcf"], + "settlements": { + "mount": "eb79a9b3682a", + "persist": "7ed3d39f0607" + }, + "state": "90d68a1db07c", + "effects": [] + } + }, + { + "id": "quick-commands-loaded-and-saved.transport-rejection:saved", + "observation": { + "sender": ["d766ce9ee125", "35b74155a70e"], + "payloads": ["e1663c7c38e3", "e3cf3d452fcf"], + "settlements": { + "mount": "eb79a9b3682a", + "persist": "7ed3d39f0607" + }, + "state": "4d6187982484", + "effects": [] + } + }, + { + "id": "quick-commands-loaded-and-saved.transport-rejection-no-message:saved", + "observation": { + "sender": ["d766ce9ee125", "b5abe986e17a"], + "payloads": ["e1663c7c38e3", "e3cf3d452fcf"], + "settlements": { + "mount": "eb79a9b3682a", + "persist": "7ed3d39f0607" + }, + "state": "e481e68c74c9", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-settings.repo-metadata-host.platform-1.json b/mobile/rpc-foundation/goldens/matrix-settings.repo-metadata-host.platform-1.json index 43e18b8eada..b717ca19054 100644 --- a/mobile/rpc-foundation/goldens/matrix-settings.repo-metadata-host.platform-1.json +++ b/mobile/rpc-foundation/goldens/matrix-settings.repo-metadata-host.platform-1.json @@ -3,9 +3,9 @@ "family": "settings.repo-metadata", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "687b109bd2bcc0c85b7c858d553e68e2fc4cb5b281d9f8b32836dbacc4bdc8f2", "platform": "darwin", @@ -13,6 +13,14 @@ "projectionVersion": 2, "goldenFormatVersion": 5, "values": { + "01c17b40bd86": { + "name": "repoColorsByName", + "value": [ + ["Local", "#6366f1"], + ["Remote", "#f97316"] + ], + "sent": 1 + }, "02449e890487": { "name": "host.platform#1", "args": [ @@ -38,6 +46,13 @@ "startedAt": 0 } }, + "04741fa0bd91": { + "name": "hostPlatform", + "value": { + "$rpc": "null" + }, + "sent": 4 + }, "071880b671a1": { "hostLabelById": [["ssh:ssh-1", "SSH"]], "hostPlatform": "linux", @@ -170,10 +185,6 @@ "name": "ssh.listTargetSummaries#1", "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.listTargetSummaries\"}" }, - "388d7275af5f": { - "name": "hostPlatform", - "value": "linux" - }, "4335d4b6568f": { "name": "settings.get#1", "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" @@ -293,13 +304,6 @@ "name": "repo.list#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" }, - "7d956f17cf24": { - "name": "repoColorsByName", - "value": [ - ["Local", "#6366f1"], - ["Remote", "#f97316"] - ] - }, "7ddd37ed8da5": { "name": "host.platform#1", "args": [ @@ -472,10 +476,28 @@ } } }, + "85cc15d64d8b": { + "name": "repoHostIdByRepoId", + "value": [ + ["repo-1", "local"], + ["repo-2", "ssh:ssh-1"] + ], + "sent": 1 + }, "9270aeb7d9c6": { "status": "pending", "startedAt": 0 }, + "93f4efbf2bd5": { + "name": "hostPlatform", + "value": "linux", + "sent": 4 + }, + "94a0e83966bb": { + "name": "hostLabelById", + "value": [["ssh:ssh-1", "SSH"]], + "sent": 4 + }, "9acf4d7a0ba1": { "name": "host.platform#1", "args": [ @@ -507,9 +529,10 @@ } } }, - "a4830eb5b420": { - "name": "hostLabelById", - "value": [["ssh:ssh-1", "SSH"]] + "9b746c7d3d3a": { + "name": "repoIconsByName", + "value": [], + "sent": 1 }, "a6443e8b2129": { "name": "host.platform#1", @@ -544,13 +567,6 @@ } } }, - "a95587e993a9": { - "name": "repoIdsByName", - "value": [ - ["Local", "repo-1"], - ["Remote", "repo-2"] - ] - }, "b40605df86b7": { "name": "repo.list#1", "args": [ @@ -631,27 +647,10 @@ } } }, - "d228b095cad2": { - "name": "repoIconsByName", - "value": [] - }, - "d6a308f7b0ff": { - "name": "repoHostIdByRepoId", - "value": [ - ["repo-1", "local"], - ["repo-2", "ssh:ssh-1"] - ] - }, "df7cbc246ac0": { "name": "host.platform#1", "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"host.platform\"}" }, - "e24ce14b72e9": { - "name": "hostPlatform", - "value": { - "$rpc": "null" - } - }, "eb79a9b3682a": { "status": "fulfilled", "startedAt": 0, @@ -660,6 +659,14 @@ "$rpc": "undefined" } }, + "f070375a490f": { + "name": "repoIdsByName", + "value": [ + ["Local", "repo-1"], + ["Remote", "repo-2"] + ], + "sent": 1 + }, "f7539bb05693": { "name": "ssh.listTargetSummaries#1", "args": [ @@ -712,7 +719,7 @@ "load": "9270aeb7d9c6" }, "state": "6134b73f18d0", - "effects": ["7d956f17cf24", "d228b095cad2", "a95587e993a9", "d6a308f7b0ff"] + "effects": ["01c17b40bd86", "9b746c7d3d3a", "f070375a490f", "85cc15d64d8b"] } }, { @@ -726,12 +733,12 @@ }, "state": "6134b73f18d0", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "a4830eb5b420", - "e24ce14b72e9" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "94a0e83966bb", + "04741fa0bd91" ] } }, @@ -746,12 +753,12 @@ }, "state": "071880b671a1", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "a4830eb5b420", - "388d7275af5f" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "94a0e83966bb", + "93f4efbf2bd5" ] } }, @@ -766,12 +773,12 @@ }, "state": "1de50f3b4aac", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "a4830eb5b420", - "e24ce14b72e9" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "94a0e83966bb", + "04741fa0bd91" ] } }, @@ -786,12 +793,12 @@ }, "state": "1de50f3b4aac", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "a4830eb5b420", - "e24ce14b72e9" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "94a0e83966bb", + "04741fa0bd91" ] } }, @@ -806,12 +813,12 @@ }, "state": "1de50f3b4aac", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "a4830eb5b420", - "e24ce14b72e9" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "94a0e83966bb", + "04741fa0bd91" ] } }, @@ -826,12 +833,12 @@ }, "state": "1de50f3b4aac", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "a4830eb5b420", - "e24ce14b72e9" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "94a0e83966bb", + "04741fa0bd91" ] } }, @@ -846,12 +853,12 @@ }, "state": "1de50f3b4aac", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "a4830eb5b420", - "e24ce14b72e9" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "94a0e83966bb", + "04741fa0bd91" ] } }, @@ -866,12 +873,12 @@ }, "state": "1de50f3b4aac", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "a4830eb5b420", - "e24ce14b72e9" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "94a0e83966bb", + "04741fa0bd91" ] } }, @@ -886,12 +893,12 @@ }, "state": "1de50f3b4aac", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "a4830eb5b420", - "e24ce14b72e9" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "94a0e83966bb", + "04741fa0bd91" ] } }, @@ -906,12 +913,12 @@ }, "state": "1de50f3b4aac", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "a4830eb5b420", - "e24ce14b72e9" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "94a0e83966bb", + "04741fa0bd91" ] } }, @@ -926,12 +933,12 @@ }, "state": "1de50f3b4aac", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "a4830eb5b420", - "e24ce14b72e9" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "94a0e83966bb", + "04741fa0bd91" ] } }, @@ -946,12 +953,12 @@ }, "state": "1de50f3b4aac", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "a4830eb5b420", - "e24ce14b72e9" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "94a0e83966bb", + "04741fa0bd91" ] } } diff --git a/mobile/rpc-foundation/goldens/matrix-settings.repo-metadata-repo.list-1.json b/mobile/rpc-foundation/goldens/matrix-settings.repo-metadata-repo.list-1.json index 3239d2ffba2..dfc1517cf1c 100644 --- a/mobile/rpc-foundation/goldens/matrix-settings.repo-metadata-repo.list-1.json +++ b/mobile/rpc-foundation/goldens/matrix-settings.repo-metadata-repo.list-1.json @@ -3,9 +3,9 @@ "family": "settings.repo-metadata", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "3199c745e22973b432b0a36c34bb0bdda994334a4a0cd7ad2daf8b172625ce8d", "platform": "darwin", @@ -13,6 +13,14 @@ "projectionVersion": 2, "goldenFormatVersion": 5, "values": { + "01c17b40bd86": { + "name": "repoColorsByName", + "value": [ + ["Local", "#6366f1"], + ["Remote", "#f97316"] + ], + "sent": 1 + }, "02449e890487": { "name": "host.platform#1", "args": [ @@ -181,10 +189,6 @@ } } }, - "388d7275af5f": { - "name": "hostPlatform", - "value": "linux" - }, "38e790fd9e9c": { "name": "repo.list#1", "args": [ @@ -273,13 +277,6 @@ } } }, - "7d956f17cf24": { - "name": "repoColorsByName", - "value": [ - ["Local", "#6366f1"], - ["Remote", "#f97316"] - ] - }, "7f85f28c922e": { "name": "host.platform#1", "args": [ @@ -352,10 +349,33 @@ } } }, + "85cc15d64d8b": { + "name": "repoHostIdByRepoId", + "value": [ + ["repo-1", "local"], + ["repo-2", "ssh:ssh-1"] + ], + "sent": 1 + }, "9270aeb7d9c6": { "status": "pending", "startedAt": 0 }, + "93f4efbf2bd5": { + "name": "hostPlatform", + "value": "linux", + "sent": 4 + }, + "94a0e83966bb": { + "name": "hostLabelById", + "value": [["ssh:ssh-1", "SSH"]], + "sent": 4 + }, + "9b746c7d3d3a": { + "name": "repoIconsByName", + "value": [], + "sent": 1 + }, "9d3fa0db2665": { "name": "repo.list#1", "args": [ @@ -392,17 +412,6 @@ } } }, - "a4830eb5b420": { - "name": "hostLabelById", - "value": [["ssh:ssh-1", "SSH"]] - }, - "a95587e993a9": { - "name": "repoIdsByName", - "value": [ - ["Local", "repo-1"], - ["Remote", "repo-2"] - ] - }, "b40605df86b7": { "name": "repo.list#1", "args": [ @@ -514,17 +523,6 @@ } } }, - "d228b095cad2": { - "name": "repoIconsByName", - "value": [] - }, - "d6a308f7b0ff": { - "name": "repoHostIdByRepoId", - "value": [ - ["repo-1", "local"], - ["repo-2", "ssh:ssh-1"] - ] - }, "df7cbc246ac0": { "name": "host.platform#1", "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"host.platform\"}" @@ -571,6 +569,14 @@ "$rpc": "undefined" } }, + "f070375a490f": { + "name": "repoIdsByName", + "value": [ + ["Local", "repo-1"], + ["Remote", "repo-2"] + ], + "sent": 1 + }, "f7539bb05693": { "name": "ssh.listTargetSummaries#1", "args": [ @@ -657,7 +663,7 @@ "load": "9270aeb7d9c6" }, "state": "6134b73f18d0", - "effects": ["7d956f17cf24", "d228b095cad2", "a95587e993a9", "d6a308f7b0ff"] + "effects": ["01c17b40bd86", "9b746c7d3d3a", "f070375a490f", "85cc15d64d8b"] } }, { @@ -671,12 +677,12 @@ }, "state": "071880b671a1", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "a4830eb5b420", - "388d7275af5f" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "94a0e83966bb", + "93f4efbf2bd5" ] } }, diff --git a/mobile/rpc-foundation/goldens/matrix-settings.repo-metadata-settings.get-1.json b/mobile/rpc-foundation/goldens/matrix-settings.repo-metadata-settings.get-1.json index bc395524564..f00d98cff93 100644 --- a/mobile/rpc-foundation/goldens/matrix-settings.repo-metadata-settings.get-1.json +++ b/mobile/rpc-foundation/goldens/matrix-settings.repo-metadata-settings.get-1.json @@ -3,9 +3,9 @@ "family": "settings.repo-metadata", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "5e9c3ff57cf432b24a17ee046636b61b94116a687cfa506cd79dee464542b76b", "platform": "darwin", @@ -13,6 +13,14 @@ "projectionVersion": 2, "goldenFormatVersion": 5, "values": { + "01c17b40bd86": { + "name": "repoColorsByName", + "value": [ + ["Local", "#6366f1"], + ["Remote", "#f97316"] + ], + "sent": 1 + }, "02449e890487": { "name": "host.platform#1", "args": [ @@ -38,6 +46,13 @@ "startedAt": 0 } }, + "04741fa0bd91": { + "name": "hostPlatform", + "value": { + "$rpc": "null" + }, + "sent": 4 + }, "071880b671a1": { "hostLabelById": [["ssh:ssh-1", "SSH"]], "hostPlatform": "linux", @@ -215,10 +230,6 @@ } } }, - "388d7275af5f": { - "name": "hostPlatform", - "value": "linux" - }, "4043cd1b2634": { "name": "settings.get#1", "args": [ @@ -276,13 +287,6 @@ "name": "repo.list#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" }, - "7d956f17cf24": { - "name": "repoColorsByName", - "value": [ - ["Local", "#6366f1"], - ["Remote", "#f97316"] - ] - }, "7f85f28c922e": { "name": "host.platform#1", "args": [ @@ -355,6 +359,14 @@ } } }, + "85cc15d64d8b": { + "name": "repoHostIdByRepoId", + "value": [ + ["repo-1", "local"], + ["repo-2", "ssh:ssh-1"] + ], + "sent": 1 + }, "8b77098df0c3": { "name": "settings.get#1", "args": [ @@ -390,6 +402,16 @@ "status": "pending", "startedAt": 0 }, + "93f4efbf2bd5": { + "name": "hostPlatform", + "value": "linux", + "sent": 4 + }, + "94a0e83966bb": { + "name": "hostLabelById", + "value": [["ssh:ssh-1", "SSH"]], + "sent": 4 + }, "9582447b1277": { "name": "settings.get#1", "args": [ @@ -488,16 +510,10 @@ } } }, - "a4830eb5b420": { - "name": "hostLabelById", - "value": [["ssh:ssh-1", "SSH"]] - }, - "a95587e993a9": { - "name": "repoIdsByName", - "value": [ - ["Local", "repo-1"], - ["Remote", "repo-2"] - ] + "9b746c7d3d3a": { + "name": "repoIconsByName", + "value": [], + "sent": 1 }, "b40605df86b7": { "name": "repo.list#1", @@ -545,10 +561,6 @@ } } }, - "d228b095cad2": { - "name": "repoIconsByName", - "value": [] - }, "d3eea0a00315": { "name": "settings.get#1", "args": [ @@ -583,23 +595,10 @@ } } }, - "d6a308f7b0ff": { - "name": "repoHostIdByRepoId", - "value": [ - ["repo-1", "local"], - ["repo-2", "ssh:ssh-1"] - ] - }, "df7cbc246ac0": { "name": "host.platform#1", "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"host.platform\"}" }, - "e24ce14b72e9": { - "name": "hostPlatform", - "value": { - "$rpc": "null" - } - }, "eb79a9b3682a": { "status": "fulfilled", "startedAt": 0, @@ -608,6 +607,14 @@ "$rpc": "undefined" } }, + "f070375a490f": { + "name": "repoIdsByName", + "value": [ + ["Local", "repo-1"], + ["Remote", "repo-2"] + ], + "sent": 1 + }, "f7539bb05693": { "name": "ssh.listTargetSummaries#1", "args": [ @@ -724,7 +731,7 @@ "load": "9270aeb7d9c6" }, "state": "6134b73f18d0", - "effects": ["7d956f17cf24", "d228b095cad2", "a95587e993a9", "d6a308f7b0ff"] + "effects": ["01c17b40bd86", "9b746c7d3d3a", "f070375a490f", "85cc15d64d8b"] } }, { @@ -738,12 +745,12 @@ }, "state": "6134b73f18d0", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "a4830eb5b420", - "e24ce14b72e9" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "94a0e83966bb", + "04741fa0bd91" ] } }, @@ -758,12 +765,12 @@ }, "state": "071880b671a1", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "a4830eb5b420", - "388d7275af5f" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "94a0e83966bb", + "93f4efbf2bd5" ] } }, @@ -778,12 +785,12 @@ }, "state": "071880b671a1", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "a4830eb5b420", - "388d7275af5f" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "94a0e83966bb", + "93f4efbf2bd5" ] } }, @@ -798,12 +805,12 @@ }, "state": "071880b671a1", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "a4830eb5b420", - "388d7275af5f" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "94a0e83966bb", + "93f4efbf2bd5" ] } }, @@ -818,12 +825,12 @@ }, "state": "071880b671a1", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "a4830eb5b420", - "388d7275af5f" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "94a0e83966bb", + "93f4efbf2bd5" ] } }, @@ -838,12 +845,12 @@ }, "state": "071880b671a1", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "a4830eb5b420", - "388d7275af5f" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "94a0e83966bb", + "93f4efbf2bd5" ] } }, @@ -858,12 +865,12 @@ }, "state": "071880b671a1", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "a4830eb5b420", - "388d7275af5f" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "94a0e83966bb", + "93f4efbf2bd5" ] } }, @@ -878,12 +885,12 @@ }, "state": "071880b671a1", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "a4830eb5b420", - "388d7275af5f" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "94a0e83966bb", + "93f4efbf2bd5" ] } }, @@ -898,12 +905,12 @@ }, "state": "071880b671a1", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "a4830eb5b420", - "388d7275af5f" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "94a0e83966bb", + "93f4efbf2bd5" ] } }, @@ -918,12 +925,12 @@ }, "state": "071880b671a1", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "a4830eb5b420", - "388d7275af5f" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "94a0e83966bb", + "93f4efbf2bd5" ] } }, @@ -938,12 +945,12 @@ }, "state": "071880b671a1", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "a4830eb5b420", - "388d7275af5f" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "94a0e83966bb", + "93f4efbf2bd5" ] } }, @@ -958,12 +965,12 @@ }, "state": "071880b671a1", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "a4830eb5b420", - "388d7275af5f" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "94a0e83966bb", + "93f4efbf2bd5" ] } } diff --git a/mobile/rpc-foundation/goldens/matrix-settings.repo-metadata-ssh.listtargetsummaries-1.json b/mobile/rpc-foundation/goldens/matrix-settings.repo-metadata-ssh.listtargetsummaries-1.json index 16895484050..2a44ab1b7f2 100644 --- a/mobile/rpc-foundation/goldens/matrix-settings.repo-metadata-ssh.listtargetsummaries-1.json +++ b/mobile/rpc-foundation/goldens/matrix-settings.repo-metadata-ssh.listtargetsummaries-1.json @@ -3,9 +3,9 @@ "family": "settings.repo-metadata", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "a88061d3d1f03074b0ed2b663b523f1602362bc317ba614106f1f646d037d6e3", "platform": "darwin", @@ -13,6 +13,14 @@ "projectionVersion": 2, "goldenFormatVersion": 5, "values": { + "01c17b40bd86": { + "name": "repoColorsByName", + "value": [ + ["Local", "#6366f1"], + ["Remote", "#f97316"] + ], + "sent": 1 + }, "02449e890487": { "name": "host.platform#1", "args": [ @@ -153,10 +161,6 @@ "name": "ssh.listTargetSummaries#1", "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.listTargetSummaries\"}" }, - "388d7275af5f": { - "name": "hostPlatform", - "value": "linux" - }, "4335d4b6568f": { "name": "settings.get#1", "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" @@ -214,10 +218,6 @@ "name": "repo.list#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" }, - "700210d17d9e": { - "name": "hostLabelById", - "value": [] - }, "70f9ee89a1da": { "name": "ssh.listTargetSummaries#1", "args": [ @@ -248,13 +248,6 @@ } } }, - "7d956f17cf24": { - "name": "repoColorsByName", - "value": [ - ["Local", "#6366f1"], - ["Remote", "#f97316"] - ] - }, "7f85f28c922e": { "name": "host.platform#1", "args": [ @@ -327,6 +320,14 @@ } } }, + "85cc15d64d8b": { + "name": "repoHostIdByRepoId", + "value": [ + ["repo-1", "local"], + ["repo-2", "ssh:ssh-1"] + ], + "sent": 1 + }, "900068047f8a": { "name": "ssh.listTargetSummaries#1", "args": [ @@ -362,6 +363,21 @@ "status": "pending", "startedAt": 0 }, + "93f4efbf2bd5": { + "name": "hostPlatform", + "value": "linux", + "sent": 4 + }, + "94a0e83966bb": { + "name": "hostLabelById", + "value": [["ssh:ssh-1", "SSH"]], + "sent": 4 + }, + "9b746c7d3d3a": { + "name": "repoIconsByName", + "value": [], + "sent": 1 + }, "9fdaf48cf9b6": { "name": "ssh.listTargetSummaries#1", "args": [ @@ -395,17 +411,6 @@ } } }, - "a4830eb5b420": { - "name": "hostLabelById", - "value": [["ssh:ssh-1", "SSH"]] - }, - "a95587e993a9": { - "name": "repoIdsByName", - "value": [ - ["Local", "repo-1"], - ["Remote", "repo-2"] - ] - }, "b40605df86b7": { "name": "repo.list#1", "args": [ @@ -483,10 +488,6 @@ } } }, - "d228b095cad2": { - "name": "repoIconsByName", - "value": [] - }, "d589c372905b": { "name": "ssh.listTargetSummaries#1", "args": [ @@ -521,13 +522,6 @@ } } }, - "d6a308f7b0ff": { - "name": "repoHostIdByRepoId", - "value": [ - ["repo-1", "local"], - ["repo-2", "ssh:ssh-1"] - ] - }, "dcd949b896ed": { "name": "ssh.listTargetSummaries#1", "args": [ @@ -566,6 +560,11 @@ "name": "host.platform#1", "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"host.platform\"}" }, + "eabc0f0fcd85": { + "name": "hostLabelById", + "value": [], + "sent": 4 + }, "eb68427ac627": { "hostLabelById": [], "hostPlatform": "linux", @@ -591,6 +590,14 @@ "$rpc": "undefined" } }, + "f070375a490f": { + "name": "repoIdsByName", + "value": [ + ["Local", "repo-1"], + ["Remote", "repo-2"] + ], + "sent": 1 + }, "f7539bb05693": { "name": "ssh.listTargetSummaries#1", "args": [ @@ -677,7 +684,7 @@ "load": "9270aeb7d9c6" }, "state": "6134b73f18d0", - "effects": ["7d956f17cf24", "d228b095cad2", "a95587e993a9", "d6a308f7b0ff"] + "effects": ["01c17b40bd86", "9b746c7d3d3a", "f070375a490f", "85cc15d64d8b"] } }, { @@ -691,12 +698,12 @@ }, "state": "071880b671a1", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "a4830eb5b420", - "388d7275af5f" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "94a0e83966bb", + "93f4efbf2bd5" ] } }, @@ -710,7 +717,7 @@ "load": "9270aeb7d9c6" }, "state": "6134b73f18d0", - "effects": ["7d956f17cf24", "d228b095cad2", "a95587e993a9", "d6a308f7b0ff"] + "effects": ["01c17b40bd86", "9b746c7d3d3a", "f070375a490f", "85cc15d64d8b"] } }, { @@ -724,12 +731,12 @@ }, "state": "eb68427ac627", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "700210d17d9e", - "388d7275af5f" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "eabc0f0fcd85", + "93f4efbf2bd5" ] } }, @@ -743,7 +750,7 @@ "load": "9270aeb7d9c6" }, "state": "6134b73f18d0", - "effects": ["7d956f17cf24", "d228b095cad2", "a95587e993a9", "d6a308f7b0ff"] + "effects": ["01c17b40bd86", "9b746c7d3d3a", "f070375a490f", "85cc15d64d8b"] } }, { @@ -757,12 +764,12 @@ }, "state": "eb68427ac627", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "700210d17d9e", - "388d7275af5f" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "eabc0f0fcd85", + "93f4efbf2bd5" ] } }, @@ -776,7 +783,7 @@ "load": "9270aeb7d9c6" }, "state": "6134b73f18d0", - "effects": ["7d956f17cf24", "d228b095cad2", "a95587e993a9", "d6a308f7b0ff"] + "effects": ["01c17b40bd86", "9b746c7d3d3a", "f070375a490f", "85cc15d64d8b"] } }, { @@ -790,12 +797,12 @@ }, "state": "eb68427ac627", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "700210d17d9e", - "388d7275af5f" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "eabc0f0fcd85", + "93f4efbf2bd5" ] } }, @@ -809,7 +816,7 @@ "load": "9270aeb7d9c6" }, "state": "6134b73f18d0", - "effects": ["7d956f17cf24", "d228b095cad2", "a95587e993a9", "d6a308f7b0ff"] + "effects": ["01c17b40bd86", "9b746c7d3d3a", "f070375a490f", "85cc15d64d8b"] } }, { @@ -823,12 +830,12 @@ }, "state": "eb68427ac627", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "700210d17d9e", - "388d7275af5f" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "eabc0f0fcd85", + "93f4efbf2bd5" ] } }, @@ -842,7 +849,7 @@ "load": "9270aeb7d9c6" }, "state": "6134b73f18d0", - "effects": ["7d956f17cf24", "d228b095cad2", "a95587e993a9", "d6a308f7b0ff"] + "effects": ["01c17b40bd86", "9b746c7d3d3a", "f070375a490f", "85cc15d64d8b"] } }, { @@ -856,12 +863,12 @@ }, "state": "eb68427ac627", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "700210d17d9e", - "388d7275af5f" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "eabc0f0fcd85", + "93f4efbf2bd5" ] } }, @@ -875,7 +882,7 @@ "load": "9270aeb7d9c6" }, "state": "6134b73f18d0", - "effects": ["7d956f17cf24", "d228b095cad2", "a95587e993a9", "d6a308f7b0ff"] + "effects": ["01c17b40bd86", "9b746c7d3d3a", "f070375a490f", "85cc15d64d8b"] } }, { @@ -889,12 +896,12 @@ }, "state": "eb68427ac627", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "700210d17d9e", - "388d7275af5f" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "eabc0f0fcd85", + "93f4efbf2bd5" ] } }, @@ -908,7 +915,7 @@ "load": "9270aeb7d9c6" }, "state": "6134b73f18d0", - "effects": ["7d956f17cf24", "d228b095cad2", "a95587e993a9", "d6a308f7b0ff"] + "effects": ["01c17b40bd86", "9b746c7d3d3a", "f070375a490f", "85cc15d64d8b"] } }, { @@ -922,12 +929,12 @@ }, "state": "eb68427ac627", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "700210d17d9e", - "388d7275af5f" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "eabc0f0fcd85", + "93f4efbf2bd5" ] } }, @@ -941,7 +948,7 @@ "load": "9270aeb7d9c6" }, "state": "6134b73f18d0", - "effects": ["7d956f17cf24", "d228b095cad2", "a95587e993a9", "d6a308f7b0ff"] + "effects": ["01c17b40bd86", "9b746c7d3d3a", "f070375a490f", "85cc15d64d8b"] } }, { @@ -955,12 +962,12 @@ }, "state": "eb68427ac627", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "700210d17d9e", - "388d7275af5f" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "eabc0f0fcd85", + "93f4efbf2bd5" ] } }, @@ -974,7 +981,7 @@ "load": "9270aeb7d9c6" }, "state": "6134b73f18d0", - "effects": ["7d956f17cf24", "d228b095cad2", "a95587e993a9", "d6a308f7b0ff"] + "effects": ["01c17b40bd86", "9b746c7d3d3a", "f070375a490f", "85cc15d64d8b"] } }, { @@ -988,12 +995,12 @@ }, "state": "eb68427ac627", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "700210d17d9e", - "388d7275af5f" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "eabc0f0fcd85", + "93f4efbf2bd5" ] } }, @@ -1007,7 +1014,7 @@ "load": "9270aeb7d9c6" }, "state": "6134b73f18d0", - "effects": ["7d956f17cf24", "d228b095cad2", "a95587e993a9", "d6a308f7b0ff"] + "effects": ["01c17b40bd86", "9b746c7d3d3a", "f070375a490f", "85cc15d64d8b"] } }, { @@ -1021,12 +1028,12 @@ }, "state": "eb68427ac627", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "700210d17d9e", - "388d7275af5f" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "eabc0f0fcd85", + "93f4efbf2bd5" ] } } diff --git a/mobile/rpc-foundation/goldens/matrix-settings.resume-metadata-folderworkspace.list-1.json b/mobile/rpc-foundation/goldens/matrix-settings.resume-metadata-folderworkspace.list-1.json index 7723f38ff63..c742bd94be8 100644 --- a/mobile/rpc-foundation/goldens/matrix-settings.resume-metadata-folderworkspace.list-1.json +++ b/mobile/rpc-foundation/goldens/matrix-settings.resume-metadata-folderworkspace.list-1.json @@ -3,9 +3,9 @@ "family": "settings.resume-metadata", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "50ba7c7963cb494e4b3d484eb334977d21cc69018da57d75a7b6fd0c92860bd2", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/matrix-settings.resume-metadata-projectgroup.list-1.json b/mobile/rpc-foundation/goldens/matrix-settings.resume-metadata-projectgroup.list-1.json index 819a294f60d..440a7d3bdd8 100644 --- a/mobile/rpc-foundation/goldens/matrix-settings.resume-metadata-projectgroup.list-1.json +++ b/mobile/rpc-foundation/goldens/matrix-settings.resume-metadata-projectgroup.list-1.json @@ -3,9 +3,9 @@ "family": "settings.resume-metadata", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "8dfd4550b39f0cfcb9aaa72fab0631b11f9e776ed389b206b326359d7f4c2d6e", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/matrix-settings.resume-metadata-repo.list-1.json b/mobile/rpc-foundation/goldens/matrix-settings.resume-metadata-repo.list-1.json index 78b46cb6476..2a6cf2742b0 100644 --- a/mobile/rpc-foundation/goldens/matrix-settings.resume-metadata-repo.list-1.json +++ b/mobile/rpc-foundation/goldens/matrix-settings.resume-metadata-repo.list-1.json @@ -3,9 +3,9 @@ "family": "settings.resume-metadata", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "85dc526201f66409dd6a411c5e14615b82389791ec210efb9889078f5d580373", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/matrix-settings.resume-metadata-settings.get-1.json b/mobile/rpc-foundation/goldens/matrix-settings.resume-metadata-settings.get-1.json index f8d9736641f..220bf410f4a 100644 --- a/mobile/rpc-foundation/goldens/matrix-settings.resume-metadata-settings.get-1.json +++ b/mobile/rpc-foundation/goldens/matrix-settings.resume-metadata-settings.get-1.json @@ -3,9 +3,9 @@ "family": "settings.resume-metadata", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "080e10ae774ef097082267da0c8b6d0ebacae582d57b04a189c123258d0e5131", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/matrix-settings.resume-metadata-worktree.ps-1.json b/mobile/rpc-foundation/goldens/matrix-settings.resume-metadata-worktree.ps-1.json index ecd963ba3a6..8e71dad5235 100644 --- a/mobile/rpc-foundation/goldens/matrix-settings.resume-metadata-worktree.ps-1.json +++ b/mobile/rpc-foundation/goldens/matrix-settings.resume-metadata-worktree.ps-1.json @@ -3,9 +3,9 @@ "family": "settings.resume-metadata", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "5988fa5ce0bf6b8585f7ec66918123ee086d5cdf1185a4eeff2e88904985064c", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/matrix-settings.task-hydration-linear.status-1.json b/mobile/rpc-foundation/goldens/matrix-settings.task-hydration-linear.status-1.json index c7b1701896d..3039e53f0fd 100644 --- a/mobile/rpc-foundation/goldens/matrix-settings.task-hydration-linear.status-1.json +++ b/mobile/rpc-foundation/goldens/matrix-settings.task-hydration-linear.status-1.json @@ -3,9 +3,9 @@ "family": "settings.task-hydration", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "f5033a7a3567cc9e016bf09ac8bcd8ff381c3054c041dbccc773f7011918bf1d", "platform": "darwin", @@ -13,9 +13,12 @@ "projectionVersion": 2, "goldenFormatVersion": 5, "values": { - "002ad269dd44": { - "name": "showLinearConnect", - "value": false + "00eea9f3200b": { + "name": "pendingGitHubProjectViewSelection", + "value": { + "$rpc": "null" + }, + "sent": 0 }, "0188d88101b8": { "name": "linear.status#1", @@ -51,17 +54,17 @@ } } }, - "02d5832df83d": { - "name": "query", - "value": "is:issue is:open" + "01e1056d97a4": { + "name": "visibleProviders", + "value": ["github", "linear"], + "sent": 5 }, - "03f32b62aa80": { - "name": "showGitHubProjectViewPicker", - "value": false - }, - "068f4fd0ad0c": { - "name": "showRepoPicker", - "value": false + "073647d24ac4": { + "name": "actionItem", + "value": { + "$rpc": "null" + }, + "sent": 0 }, "090c88478661": { "name": "settings.get#1", @@ -88,15 +91,10 @@ "startedAt": 0 } }, - "12388aa75326": { - "name": "projectRowItem", - "value": { - "$rpc": "null" - } - }, - "1410db92f7e5": { - "name": "linearTeams", - "value": [] + "12b5d58423cb": { + "name": "githubProjectHiddenFieldIdsByView", + "value": {}, + "sent": 5 }, "158449a16852": { "name": "linear.status#1", @@ -129,13 +127,20 @@ } } }, - "16f398d67267": { - "name": "linearConnected", - "value": false + "16348b11fcba": { + "name": "defaultGitHubPreset", + "value": "issues", + "sent": 5 }, - "1b3fd2de141f": { - "name": "showLinearOrderPicker", - "value": false + "1dffb3fe8cd8": { + "name": "showLinearDisplayPicker", + "value": false, + "sent": 0 + }, + "1e1de8badcac": { + "name": "showLinearConnect", + "value": false, + "sent": 0 }, "1e5b32902af7": { "name": "status.get#1", @@ -174,9 +179,10 @@ } } }, - "1f96a2f943c0": { + "1fd209dc12de": { "name": "showGitLabViewPicker", - "value": false + "value": false, + "sent": 0 }, "234fabe27913": { "name": "preflight.check#1", @@ -203,51 +209,71 @@ "startedAt": 0 } }, - "321a59c40cce": { - "name": "showProviderPicker", - "value": false - }, - "326e3f8f7e0b": { - "name": "runtimeTaskSettings", + "28fa1cba5d1a": { + "name": "githubProjectSettings", "value": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } + "activeProject": { + "$rpc": "null" + }, + "lastViewByProject": {}, + "pinned": [], + "recent": [] + }, + "sent": 5 }, - "347cc433c473": { - "name": "projectRowDetail", - "value": { - "$rpc": "null" - } - }, - "367b8fc27ba4": { - "name": "showLinearViewPicker", - "value": false - }, - "38721e31cbb4": { - "name": "showGitHubProjectSortPicker", - "value": false - }, - "3e610f908f29": { - "name": "showCreateTask", - "value": false - }, - "3e9fac4d6c32": { + "2c04c960ee94": { "name": "showLinearTeamPicker", - "value": false + "value": false, + "sent": 0 }, - "42d2e0167dad": { - "name": "pendingGitHubProjectViewSelection", + "2e442e4df37c": { + "name": "showGitHubProjectFieldsPicker", + "value": false, + "sent": 0 + }, + "308ffd78bb89": { + "name": "linearFilter", + "value": "all", + "sent": 5 + }, + "334b82d94582": { + "name": "linearStatusPickerItem", "value": { "$rpc": "null" - } + }, + "sent": 0 }, - "45d50e768fcc": { - "name": "githubPreset", - "value": "issues" + "345762fe1fa4": { + "name": "showLinearOrderPicker", + "value": false, + "sent": 0 + }, + "3adce6077ae5": { + "name": "showCreateTargetPicker", + "value": false, + "sent": 0 + }, + "40eabccc0362": { + "name": "showProviderPicker", + "value": false, + "sent": 0 + }, + "416e38ac3c1e": { + "name": "githubMode", + "value": "items", + "sent": 5 + }, + "4174675282eb": { + "name": "error", + "value": "transport failure", + "sent": 5 + }, + "41be2620a06b": { + "name": "reset-workspace", + "value": { + "$rpc": "null" + }, + "sent": 0 }, "4620b5cc7ae9": { "name": "linear.status#1", @@ -280,39 +306,27 @@ } } }, - "4a435aea04b4": { - "name": "showLinearFilterPicker", - "value": false + "4976dfca54f0": { + "name": "taskStateHydrated", + "value": false, + "sent": 5 }, - "4cc1535f7ccf": { - "name": "githubProjectHiddenFieldIdsByView", - "value": {} - }, - "4efedb5c24f1": { - "name": "selectedLinearWorkspaceId", + "546c38d1781a": { + "name": "mergeMethodProjectRow", "value": { "$rpc": "null" - } + }, + "sent": 0 }, - "5093ceeca936": { - "name": "showGitHubPagePicker", - "value": false + "58140f732f03": { + "name": "showLinearWorkspacePicker", + "value": false, + "sent": 0 }, - "52bdddbac50f": { - "name": "trustedOrcaHooks", - "value": {} - }, - "54ea1a00a461": { - "name": "showGitHubProjectFieldsPicker", - "value": false - }, - "5731a23b16cd": { - "name": "selectedLinearTeamIds", - "value": [] - }, - "57da83afd125": { - "name": "taskStateHydrated", - "value": true + "586d2ff60587": { + "name": "githubKind", + "value": "issues", + "sent": 5 }, "58c52d8b7c76": { "hydrated": true, @@ -324,12 +338,13 @@ "visibleTaskProviders": ["github", "linear"] } }, - "5b1145eb3832": { + "5e05b4814013": { "name": "tasksSupportState", "value": { "client": "logical-client", "kind": "supported" - } + }, + "sent": 1 }, "5fbdd64c75bc": { "name": "ui.get#1", @@ -356,6 +371,19 @@ "startedAt": 0 } }, + "63b9d87881e1": { + "name": "tasksSupportState", + "value": { + "client": "logical-client", + "kind": "unknown" + }, + "sent": 0 + }, + "6ba526833af0": { + "name": "error", + "value": "", + "sent": 5 + }, "6f30f8b6f3d7": { "name": "status.get#1", "args": [ @@ -389,15 +417,24 @@ } } }, - "740d91a30846": { - "name": "pendingHostedStateChange", + "758b8c1db523": { + "name": "projectRepoNotInOrca", "value": { "$rpc": "null" - } + }, + "sent": 0 }, - "74a4162f39f8": { - "name": "githubKind", - "value": "issues" + "76ef2e9da242": { + "name": "selectedLinearWorkspaceId", + "value": { + "$rpc": "null" + }, + "sent": 5 + }, + "78a159d9a918": { + "name": "showGitHubProjectViewPicker", + "value": false, + "sent": 0 }, "79d765c34258": { "name": "linear.status#1", @@ -433,33 +470,44 @@ } } }, - "7d341b2cb946": { - "name": "detailPayload", + "85beb8cfde14": { + "name": "mergeMethodTaskItem", "value": { "$rpc": "null" - } + }, + "sent": 0 }, - "7f2e001f13e7": { - "name": "projectRepoNotInOrca", - "value": { - "$rpc": "null" - } - }, - "82cd71d524c8": { - "name": "error", - "value": "" - }, - "8372342e5a51": { - "name": "linearFilter", - "value": "all" - }, - "888c93f6f346": { + "86a763922cd7": { "name": "appliedQuery", - "value": "is:issue is:open" + "value": "is:issue is:open", + "sent": 5 }, - "8f287f21cfc4": { - "name": "defaultGitHubPreset", - "value": "issues" + "8832da75be8d": { + "name": "showGitHubPagePicker", + "value": false, + "sent": 0 + }, + "886ccf2737c7": { + "name": "showSortPicker", + "value": false, + "sent": 0 + }, + "8a2b4e3d0eed": { + "name": "trustedOrcaHooks", + "value": {}, + "sent": 5 + }, + "8a3cb00faee0": { + "name": "linearConnected", + "value": false, + "sent": 5 + }, + "8e5298b22c5f": { + "name": "projectRowDetail", + "value": { + "$rpc": "null" + }, + "sent": 0 }, "9203cee5313f": { "name": "linear.status#1", @@ -494,29 +542,56 @@ } } }, - "945ea389c1ef": { - "name": "error", - "value": "transport failure" - }, - "977e1de1ac2f": { - "name": "mergeMethodTaskItem", + "921e10a277e7": { + "name": "pendingHostedMerge", "value": { "$rpc": "null" - } + }, + "sent": 0 }, - "991081048cc2": { - "name": "reset-workspace", - "value": { - "$rpc": "null" - } + "947cf7373dd6": { + "name": "linearTeams", + "value": [], + "sent": 5 }, - "9a0f810232ef": { - "name": "provider", - "value": "github" - }, - "a211e64f0900": { + "9b1d9febbcf6": { "name": "showLinearGroupPicker", - "value": false + "value": false, + "sent": 0 + }, + "9bd1de5d9753": { + "name": "detailPayload", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "9cc2d35c57dc": { + "name": "showGitLabFilterPicker", + "value": false, + "sent": 0 + }, + "9e19e2a66126": { + "name": "showRepoPicker", + "value": false, + "sent": 0 + }, + "9f93d78e416e": { + "name": "taskStateHydrated", + "value": true, + "sent": 5 + }, + "a060c9ebc224": { + "name": "pendingProjectGitHubMerge", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "a2cc59889dc0": { + "name": "showGitHubKindPicker", + "value": false, + "sent": 0 }, "a4760ef5a9f4": { "name": "linear.status#1", @@ -543,9 +618,15 @@ "startedAt": 0 } }, - "a67d16a13986": { - "name": "githubMode", - "value": "items" + "a63e620951f0": { + "name": "selectedLinearTeamIds", + "value": [], + "sent": 5 + }, + "a91aca142b2e": { + "name": "showCreateTask", + "value": false, + "sent": 0 }, "a9b0412f8019": { "name": "linear.status#1", @@ -581,6 +662,17 @@ } } }, + "aa095faa9afd": { + "name": "runtimeTaskSettings", + "value": { + "defaultTuiAgent": "codex", + "disabledTuiAgents": ["claude"], + "hostSettingOverrides": {}, + "prBotAuthorOverrides": ["bot-user"], + "visibleTaskProviders": ["github", "linear"] + }, + "sent": 5 + }, "aa624b10c314": { "name": "linear.status#1", "args": [ @@ -618,56 +710,22 @@ "name": "linear.status#1", "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" }, - "ac9996319e05": { - "name": "actionItem", + "b341e832c60d": { + "name": "projectRowItem", "value": { "$rpc": "null" - } + }, + "sent": 0 }, - "afdf1ac21a92": { - "name": "showCreateTargetPicker", - "value": false - }, - "b66eccd2062e": { - "name": "linearWorkspaces", - "value": [] - }, - "b7c9b524edd4": { - "name": "pendingHostedMerge", - "value": { - "$rpc": "null" - } - }, - "b80be68cd059": { - "name": "showGitHubKindPicker", - "value": false - }, - "b82f9e80bd6a": { - "name": "showGitHubPresetPicker", - "value": false - }, - "b8ca6ac0e3ec": { - "name": "showLinearWorkspacePicker", - "value": false - }, - "bbbd4bc0a4ef": { + "b9481aea1fae": { "name": "taskStateHydrated", - "value": false + "value": false, + "sent": 0 }, - "bc6d9aaa835c": { - "name": "showLinearDisplayPicker", - "value": false - }, - "bfd6af371d88": { - "name": "githubProjectSettings", - "value": { - "activeProject": { - "$rpc": "null" - }, - "lastViewByProject": {}, - "pinned": [], - "recent": [] - } + "c0016b5b1033": { + "name": "showGitHubProjectPicker", + "value": false, + "sent": 0 }, "c0659c6ea513": { "name": "linear.status#1", @@ -705,15 +763,19 @@ } } }, + "c27ba127946c": { + "name": "linearWorkspaces", + "value": [], + "sent": 5 + }, "c6178e6a0f4e": { "hydrated": false, "settings": {} }, - "c78894b47bfd": { - "name": "mergeMethodProjectRow", - "value": { - "$rpc": "null" - } + "c7fb67dfaaa0": { + "name": "showLinearViewPicker", + "value": false, + "sent": 0 }, "c9e80e33c0bf": { "name": "linear.status#1", @@ -745,12 +807,10 @@ } } }, - "ce5f2125a8c4": { - "name": "tasksSupportState", - "value": { - "client": "logical-client", - "kind": "unknown" - } + "cbb40988c5a5": { + "name": "query", + "value": "is:issue is:open", + "sent": 5 }, "d04b03f317eb": { "name": "linear.status#1", @@ -786,9 +846,20 @@ } } }, - "d47b67d8f357": { - "name": "showGitHubIssueSourcePicker", - "value": false + "d225c567feae": { + "name": "githubPreset", + "value": "issues", + "sent": 5 + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "d4d3179bb79e": { + "name": "showGitHubPresetPicker", + "value": false, + "sent": 0 }, "d705fce957e8": { "name": "settings.get#1", @@ -829,14 +900,6 @@ } } }, - "e23c248f269a": { - "name": "showSortPicker", - "value": false - }, - "e542d7c9af9f": { - "name": "showGitHubProjectPicker", - "value": false - }, "e5662efa8968": { "name": "preflight.check#1", "args": [ @@ -876,14 +939,22 @@ "name": "ui.get#1", "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"ui.get\"}" }, + "e69b48c9e675": { + "name": "pendingHostedStateChange", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "e8bff64c02da": { + "name": "showGitHubProjectSortPicker", + "value": false, + "sent": 0 + }, "eac54552d8bc": { "name": "settings.get#1", "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" }, - "eafaa34ddedb": { - "name": "visibleProviders", - "value": ["github", "linear"] - }, "eb79a9b3682a": { "status": "fulfilled", "startedAt": 0, @@ -929,21 +1000,20 @@ "name": "preflight.check#1", "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.check\"}" }, - "f19db62f49cd": { - "name": "showGitLabFilterPicker", - "value": false + "f40b9d8aa1eb": { + "name": "showLinearFilterPicker", + "value": false, + "sent": 0 }, - "f7c5ddb715d7": { - "name": "pendingProjectGitHubMerge", - "value": { - "$rpc": "null" - } + "f95005ae133d": { + "name": "provider", + "value": "github", + "sent": 5 }, - "fb70d4271ae2": { - "name": "linearStatusPickerItem", - "value": { - "$rpc": "null" - } + "feb5f42359fb": { + "name": "showGitHubIssueSourcePicker", + "value": false, + "sent": 0 } }, "recording": { @@ -971,46 +1041,46 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c" ] } }, @@ -1036,65 +1106,65 @@ }, "state": "58c52d8b7c76", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "326e3f8f7e0b", - "52bdddbac50f", - "4cc1535f7ccf", - "16f398d67267", - "b66eccd2062e", - "1410db92f7e5", - "5731a23b16cd", - "4efedb5c24f1", - "eafaa34ddedb", - "9a0f810232ef", - "a67d16a13986", - "8f287f21cfc4", - "45d50e768fcc", - "74a4162f39f8", - "8372342e5a51", - "bfd6af371d88", - "02d5832df83d", - "888c93f6f346", - "57da83afd125" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "aa095faa9afd", + "8a2b4e3d0eed", + "12b5d58423cb", + "8a3cb00faee0", + "c27ba127946c", + "947cf7373dd6", + "a63e620951f0", + "76ef2e9da242", + "01e1056d97a4", + "f95005ae133d", + "416e38ac3c1e", + "16348b11fcba", + "d225c567feae", + "586d2ff60587", + "308ffd78bb89", + "28fa1cba5d1a", + "cbb40988c5a5", + "86a763922cd7", + "9f93d78e416e" ] } }, @@ -1120,65 +1190,65 @@ }, "state": "58c52d8b7c76", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "326e3f8f7e0b", - "52bdddbac50f", - "4cc1535f7ccf", - "16f398d67267", - "b66eccd2062e", - "1410db92f7e5", - "5731a23b16cd", - "4efedb5c24f1", - "eafaa34ddedb", - "9a0f810232ef", - "a67d16a13986", - "8f287f21cfc4", - "45d50e768fcc", - "74a4162f39f8", - "8372342e5a51", - "bfd6af371d88", - "02d5832df83d", - "888c93f6f346", - "57da83afd125" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "aa095faa9afd", + "8a2b4e3d0eed", + "12b5d58423cb", + "8a3cb00faee0", + "c27ba127946c", + "947cf7373dd6", + "a63e620951f0", + "76ef2e9da242", + "01e1056d97a4", + "f95005ae133d", + "416e38ac3c1e", + "16348b11fcba", + "d225c567feae", + "586d2ff60587", + "308ffd78bb89", + "28fa1cba5d1a", + "cbb40988c5a5", + "86a763922cd7", + "9f93d78e416e" ] } }, @@ -1204,65 +1274,65 @@ }, "state": "58c52d8b7c76", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "326e3f8f7e0b", - "52bdddbac50f", - "4cc1535f7ccf", - "16f398d67267", - "b66eccd2062e", - "1410db92f7e5", - "5731a23b16cd", - "4efedb5c24f1", - "eafaa34ddedb", - "9a0f810232ef", - "a67d16a13986", - "8f287f21cfc4", - "45d50e768fcc", - "74a4162f39f8", - "8372342e5a51", - "bfd6af371d88", - "02d5832df83d", - "888c93f6f346", - "57da83afd125" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "aa095faa9afd", + "8a2b4e3d0eed", + "12b5d58423cb", + "8a3cb00faee0", + "c27ba127946c", + "947cf7373dd6", + "a63e620951f0", + "76ef2e9da242", + "01e1056d97a4", + "f95005ae133d", + "416e38ac3c1e", + "16348b11fcba", + "d225c567feae", + "586d2ff60587", + "308ffd78bb89", + "28fa1cba5d1a", + "cbb40988c5a5", + "86a763922cd7", + "9f93d78e416e" ] } }, @@ -1288,65 +1358,65 @@ }, "state": "58c52d8b7c76", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "326e3f8f7e0b", - "52bdddbac50f", - "4cc1535f7ccf", - "16f398d67267", - "b66eccd2062e", - "1410db92f7e5", - "5731a23b16cd", - "4efedb5c24f1", - "eafaa34ddedb", - "9a0f810232ef", - "a67d16a13986", - "8f287f21cfc4", - "45d50e768fcc", - "74a4162f39f8", - "8372342e5a51", - "bfd6af371d88", - "02d5832df83d", - "888c93f6f346", - "57da83afd125" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "aa095faa9afd", + "8a2b4e3d0eed", + "12b5d58423cb", + "8a3cb00faee0", + "c27ba127946c", + "947cf7373dd6", + "a63e620951f0", + "76ef2e9da242", + "01e1056d97a4", + "f95005ae133d", + "416e38ac3c1e", + "16348b11fcba", + "d225c567feae", + "586d2ff60587", + "308ffd78bb89", + "28fa1cba5d1a", + "cbb40988c5a5", + "86a763922cd7", + "9f93d78e416e" ] } }, @@ -1372,65 +1442,65 @@ }, "state": "58c52d8b7c76", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "326e3f8f7e0b", - "52bdddbac50f", - "4cc1535f7ccf", - "16f398d67267", - "b66eccd2062e", - "1410db92f7e5", - "5731a23b16cd", - "4efedb5c24f1", - "eafaa34ddedb", - "9a0f810232ef", - "a67d16a13986", - "8f287f21cfc4", - "45d50e768fcc", - "74a4162f39f8", - "8372342e5a51", - "bfd6af371d88", - "02d5832df83d", - "888c93f6f346", - "57da83afd125" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "aa095faa9afd", + "8a2b4e3d0eed", + "12b5d58423cb", + "8a3cb00faee0", + "c27ba127946c", + "947cf7373dd6", + "a63e620951f0", + "76ef2e9da242", + "01e1056d97a4", + "f95005ae133d", + "416e38ac3c1e", + "16348b11fcba", + "d225c567feae", + "586d2ff60587", + "308ffd78bb89", + "28fa1cba5d1a", + "cbb40988c5a5", + "86a763922cd7", + "9f93d78e416e" ] } }, @@ -1456,65 +1526,65 @@ }, "state": "58c52d8b7c76", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "326e3f8f7e0b", - "52bdddbac50f", - "4cc1535f7ccf", - "16f398d67267", - "b66eccd2062e", - "1410db92f7e5", - "5731a23b16cd", - "4efedb5c24f1", - "eafaa34ddedb", - "9a0f810232ef", - "a67d16a13986", - "8f287f21cfc4", - "45d50e768fcc", - "74a4162f39f8", - "8372342e5a51", - "bfd6af371d88", - "02d5832df83d", - "888c93f6f346", - "57da83afd125" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "aa095faa9afd", + "8a2b4e3d0eed", + "12b5d58423cb", + "8a3cb00faee0", + "c27ba127946c", + "947cf7373dd6", + "a63e620951f0", + "76ef2e9da242", + "01e1056d97a4", + "f95005ae133d", + "416e38ac3c1e", + "16348b11fcba", + "d225c567feae", + "586d2ff60587", + "308ffd78bb89", + "28fa1cba5d1a", + "cbb40988c5a5", + "86a763922cd7", + "9f93d78e416e" ] } }, @@ -1540,65 +1610,65 @@ }, "state": "58c52d8b7c76", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "326e3f8f7e0b", - "52bdddbac50f", - "4cc1535f7ccf", - "16f398d67267", - "b66eccd2062e", - "1410db92f7e5", - "5731a23b16cd", - "4efedb5c24f1", - "eafaa34ddedb", - "9a0f810232ef", - "a67d16a13986", - "8f287f21cfc4", - "45d50e768fcc", - "74a4162f39f8", - "8372342e5a51", - "bfd6af371d88", - "02d5832df83d", - "888c93f6f346", - "57da83afd125" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "aa095faa9afd", + "8a2b4e3d0eed", + "12b5d58423cb", + "8a3cb00faee0", + "c27ba127946c", + "947cf7373dd6", + "a63e620951f0", + "76ef2e9da242", + "01e1056d97a4", + "f95005ae133d", + "416e38ac3c1e", + "16348b11fcba", + "d225c567feae", + "586d2ff60587", + "308ffd78bb89", + "28fa1cba5d1a", + "cbb40988c5a5", + "86a763922cd7", + "9f93d78e416e" ] } }, @@ -1624,65 +1694,65 @@ }, "state": "58c52d8b7c76", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "326e3f8f7e0b", - "52bdddbac50f", - "4cc1535f7ccf", - "16f398d67267", - "b66eccd2062e", - "1410db92f7e5", - "5731a23b16cd", - "4efedb5c24f1", - "eafaa34ddedb", - "9a0f810232ef", - "a67d16a13986", - "8f287f21cfc4", - "45d50e768fcc", - "74a4162f39f8", - "8372342e5a51", - "bfd6af371d88", - "02d5832df83d", - "888c93f6f346", - "57da83afd125" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "aa095faa9afd", + "8a2b4e3d0eed", + "12b5d58423cb", + "8a3cb00faee0", + "c27ba127946c", + "947cf7373dd6", + "a63e620951f0", + "76ef2e9da242", + "01e1056d97a4", + "f95005ae133d", + "416e38ac3c1e", + "16348b11fcba", + "d225c567feae", + "586d2ff60587", + "308ffd78bb89", + "28fa1cba5d1a", + "cbb40988c5a5", + "86a763922cd7", + "9f93d78e416e" ] } }, @@ -1708,65 +1778,65 @@ }, "state": "58c52d8b7c76", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "326e3f8f7e0b", - "52bdddbac50f", - "4cc1535f7ccf", - "16f398d67267", - "b66eccd2062e", - "1410db92f7e5", - "5731a23b16cd", - "4efedb5c24f1", - "eafaa34ddedb", - "9a0f810232ef", - "a67d16a13986", - "8f287f21cfc4", - "45d50e768fcc", - "74a4162f39f8", - "8372342e5a51", - "bfd6af371d88", - "02d5832df83d", - "888c93f6f346", - "57da83afd125" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "aa095faa9afd", + "8a2b4e3d0eed", + "12b5d58423cb", + "8a3cb00faee0", + "c27ba127946c", + "947cf7373dd6", + "a63e620951f0", + "76ef2e9da242", + "01e1056d97a4", + "f95005ae133d", + "416e38ac3c1e", + "16348b11fcba", + "d225c567feae", + "586d2ff60587", + "308ffd78bb89", + "28fa1cba5d1a", + "cbb40988c5a5", + "86a763922cd7", + "9f93d78e416e" ] } }, @@ -1792,48 +1862,48 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "945ea389c1ef", - "bbbd4bc0a4ef" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "4174675282eb", + "4976dfca54f0" ] } }, @@ -1859,48 +1929,48 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "82cd71d524c8", - "bbbd4bc0a4ef" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "6ba526833af0", + "4976dfca54f0" ] } } diff --git a/mobile/rpc-foundation/goldens/matrix-settings.task-hydration-preflight.check-1.json b/mobile/rpc-foundation/goldens/matrix-settings.task-hydration-preflight.check-1.json index b197694bd09..1e957ad7ea6 100644 --- a/mobile/rpc-foundation/goldens/matrix-settings.task-hydration-preflight.check-1.json +++ b/mobile/rpc-foundation/goldens/matrix-settings.task-hydration-preflight.check-1.json @@ -3,9 +3,9 @@ "family": "settings.task-hydration", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "0931b3d35868e5452cb550962f2408b6ce7cd6c89e90a9cf2897425edbb4b42d", "platform": "darwin", @@ -13,21 +13,24 @@ "projectionVersion": 2, "goldenFormatVersion": 5, "values": { - "002ad269dd44": { - "name": "showLinearConnect", - "value": false + "00eea9f3200b": { + "name": "pendingGitHubProjectViewSelection", + "value": { + "$rpc": "null" + }, + "sent": 0 }, - "02d5832df83d": { - "name": "query", - "value": "is:issue is:open" + "01e1056d97a4": { + "name": "visibleProviders", + "value": ["github", "linear"], + "sent": 5 }, - "03f32b62aa80": { - "name": "showGitHubProjectViewPicker", - "value": false - }, - "068f4fd0ad0c": { - "name": "showRepoPicker", - "value": false + "073647d24ac4": { + "name": "actionItem", + "value": { + "$rpc": "null" + }, + "sent": 0 }, "090c88478661": { "name": "settings.get#1", @@ -54,23 +57,25 @@ "startedAt": 0 } }, - "12388aa75326": { - "name": "projectRowItem", - "value": { - "$rpc": "null" - } + "12b5d58423cb": { + "name": "githubProjectHiddenFieldIdsByView", + "value": {}, + "sent": 5 }, - "1410db92f7e5": { - "name": "linearTeams", - "value": [] + "16348b11fcba": { + "name": "defaultGitHubPreset", + "value": "issues", + "sent": 5 }, - "16f398d67267": { - "name": "linearConnected", - "value": false + "1dffb3fe8cd8": { + "name": "showLinearDisplayPicker", + "value": false, + "sent": 0 }, - "1b3fd2de141f": { - "name": "showLinearOrderPicker", - "value": false + "1e1de8badcac": { + "name": "showLinearConnect", + "value": false, + "sent": 0 }, "1e5b32902af7": { "name": "status.get#1", @@ -109,9 +114,10 @@ } } }, - "1f96a2f943c0": { + "1fd209dc12de": { "name": "showGitLabViewPicker", - "value": false + "value": false, + "sent": 0 }, "234fabe27913": { "name": "preflight.check#1", @@ -138,19 +144,39 @@ "startedAt": 0 } }, - "321a59c40cce": { - "name": "showProviderPicker", - "value": false - }, - "326e3f8f7e0b": { - "name": "runtimeTaskSettings", + "28fa1cba5d1a": { + "name": "githubProjectSettings", "value": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } + "activeProject": { + "$rpc": "null" + }, + "lastViewByProject": {}, + "pinned": [], + "recent": [] + }, + "sent": 5 + }, + "2c04c960ee94": { + "name": "showLinearTeamPicker", + "value": false, + "sent": 0 + }, + "2e442e4df37c": { + "name": "showGitHubProjectFieldsPicker", + "value": false, + "sent": 0 + }, + "308ffd78bb89": { + "name": "linearFilter", + "value": "all", + "sent": 5 + }, + "334b82d94582": { + "name": "linearStatusPickerItem", + "value": { + "$rpc": "null" + }, + "sent": 0 }, "3432b49304a5": { "name": "preflight.check#1", @@ -186,45 +212,42 @@ } } }, - "347cc433c473": { - "name": "projectRowDetail", + "345762fe1fa4": { + "name": "showLinearOrderPicker", + "value": false, + "sent": 0 + }, + "3adce6077ae5": { + "name": "showCreateTargetPicker", + "value": false, + "sent": 0 + }, + "40eabccc0362": { + "name": "showProviderPicker", + "value": false, + "sent": 0 + }, + "416e38ac3c1e": { + "name": "githubMode", + "value": "items", + "sent": 5 + }, + "4174675282eb": { + "name": "error", + "value": "transport failure", + "sent": 5 + }, + "41be2620a06b": { + "name": "reset-workspace", "value": { "$rpc": "null" - } + }, + "sent": 0 }, - "367b8fc27ba4": { - "name": "showLinearViewPicker", - "value": false - }, - "38721e31cbb4": { - "name": "showGitHubProjectSortPicker", - "value": false - }, - "3e610f908f29": { - "name": "showCreateTask", - "value": false - }, - "3e9fac4d6c32": { - "name": "showLinearTeamPicker", - "value": false - }, - "42d2e0167dad": { - "name": "pendingGitHubProjectViewSelection", - "value": { - "$rpc": "null" - } - }, - "45d50e768fcc": { - "name": "githubPreset", - "value": "issues" - }, - "4a435aea04b4": { - "name": "showLinearFilterPicker", - "value": false - }, - "4cc1535f7ccf": { - "name": "githubProjectHiddenFieldIdsByView", - "value": {} + "4976dfca54f0": { + "name": "taskStateHydrated", + "value": false, + "sent": 5 }, "4cc1b000bcfc": { "name": "preflight.check#1", @@ -260,20 +283,6 @@ } } }, - "4efedb5c24f1": { - "name": "selectedLinearWorkspaceId", - "value": { - "$rpc": "null" - } - }, - "5093ceeca936": { - "name": "showGitHubPagePicker", - "value": false - }, - "52bdddbac50f": { - "name": "trustedOrcaHooks", - "value": {} - }, "535a11fdd274": { "name": "preflight.check#1", "args": [ @@ -341,17 +350,22 @@ } } }, - "54ea1a00a461": { - "name": "showGitHubProjectFieldsPicker", - "value": false + "546c38d1781a": { + "name": "mergeMethodProjectRow", + "value": { + "$rpc": "null" + }, + "sent": 0 }, - "5731a23b16cd": { - "name": "selectedLinearTeamIds", - "value": [] + "58140f732f03": { + "name": "showLinearWorkspacePicker", + "value": false, + "sent": 0 }, - "57da83afd125": { - "name": "taskStateHydrated", - "value": true + "586d2ff60587": { + "name": "githubKind", + "value": "issues", + "sent": 5 }, "58c52d8b7c76": { "hydrated": true, @@ -363,13 +377,6 @@ "visibleTaskProviders": ["github", "linear"] } }, - "5b1145eb3832": { - "name": "tasksSupportState", - "value": { - "client": "logical-client", - "kind": "supported" - } - }, "5daecca27f06": { "name": "preflight.check#1", "args": [ @@ -406,6 +413,14 @@ } } }, + "5e05b4814013": { + "name": "tasksSupportState", + "value": { + "client": "logical-client", + "kind": "supported" + }, + "sent": 1 + }, "5fbdd64c75bc": { "name": "ui.get#1", "args": [ @@ -431,6 +446,19 @@ "startedAt": 0 } }, + "63b9d87881e1": { + "name": "tasksSupportState", + "value": { + "client": "logical-client", + "kind": "unknown" + }, + "sent": 0 + }, + "6ba526833af0": { + "name": "error", + "value": "", + "sent": 5 + }, "6f30f8b6f3d7": { "name": "status.get#1", "args": [ @@ -464,16 +492,6 @@ } } }, - "740d91a30846": { - "name": "pendingHostedStateChange", - "value": { - "$rpc": "null" - } - }, - "74a4162f39f8": { - "name": "githubKind", - "value": "issues" - }, "753d67797760": { "name": "preflight.check#1", "args": [ @@ -507,53 +525,102 @@ } } }, - "7d341b2cb946": { - "name": "detailPayload", - "value": { - "$rpc": "null" - } - }, - "7f2e001f13e7": { + "758b8c1db523": { "name": "projectRepoNotInOrca", "value": { "$rpc": "null" - } + }, + "sent": 0 }, - "82cd71d524c8": { - "name": "error", - "value": "" + "76ef2e9da242": { + "name": "selectedLinearWorkspaceId", + "value": { + "$rpc": "null" + }, + "sent": 5 }, - "8372342e5a51": { - "name": "linearFilter", - "value": "all" + "78a159d9a918": { + "name": "showGitHubProjectViewPicker", + "value": false, + "sent": 0 }, - "888c93f6f346": { - "name": "appliedQuery", - "value": "is:issue is:open" - }, - "8f287f21cfc4": { - "name": "defaultGitHubPreset", - "value": "issues" - }, - "945ea389c1ef": { - "name": "error", - "value": "transport failure" - }, - "977e1de1ac2f": { + "85beb8cfde14": { "name": "mergeMethodTaskItem", "value": { "$rpc": "null" - } + }, + "sent": 0 }, - "991081048cc2": { - "name": "reset-workspace", + "86a763922cd7": { + "name": "appliedQuery", + "value": "is:issue is:open", + "sent": 5 + }, + "8832da75be8d": { + "name": "showGitHubPagePicker", + "value": false, + "sent": 0 + }, + "886ccf2737c7": { + "name": "showSortPicker", + "value": false, + "sent": 0 + }, + "8a2b4e3d0eed": { + "name": "trustedOrcaHooks", + "value": {}, + "sent": 5 + }, + "8a3cb00faee0": { + "name": "linearConnected", + "value": false, + "sent": 5 + }, + "8e5298b22c5f": { + "name": "projectRowDetail", "value": { "$rpc": "null" - } + }, + "sent": 0 }, - "9a0f810232ef": { - "name": "provider", - "value": "github" + "921e10a277e7": { + "name": "pendingHostedMerge", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "947cf7373dd6": { + "name": "linearTeams", + "value": [], + "sent": 5 + }, + "9b1d9febbcf6": { + "name": "showLinearGroupPicker", + "value": false, + "sent": 0 + }, + "9bd1de5d9753": { + "name": "detailPayload", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "9cc2d35c57dc": { + "name": "showGitLabFilterPicker", + "value": false, + "sent": 0 + }, + "9e19e2a66126": { + "name": "showRepoPicker", + "value": false, + "sent": 0 + }, + "9f93d78e416e": { + "name": "taskStateHydrated", + "value": true, + "sent": 5 }, "a042b29c0044": { "name": "preflight.check#1", @@ -586,9 +653,17 @@ } } }, - "a211e64f0900": { - "name": "showLinearGroupPicker", - "value": false + "a060c9ebc224": { + "name": "pendingProjectGitHubMerge", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "a2cc59889dc0": { + "name": "showGitHubKindPicker", + "value": false, + "sent": 0 }, "a4760ef5a9f4": { "name": "linear.status#1", @@ -615,9 +690,26 @@ "startedAt": 0 } }, - "a67d16a13986": { - "name": "githubMode", - "value": "items" + "a63e620951f0": { + "name": "selectedLinearTeamIds", + "value": [], + "sent": 5 + }, + "a91aca142b2e": { + "name": "showCreateTask", + "value": false, + "sent": 0 + }, + "aa095faa9afd": { + "name": "runtimeTaskSettings", + "value": { + "defaultTuiAgent": "codex", + "disabledTuiAgents": ["claude"], + "hostSettingOverrides": {}, + "prBotAuthorOverrides": ["bot-user"], + "visibleTaskProviders": ["github", "linear"] + }, + "sent": 5 }, "aa624b10c314": { "name": "linear.status#1", @@ -656,56 +748,27 @@ "name": "linear.status#1", "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" }, - "ac9996319e05": { - "name": "actionItem", + "b341e832c60d": { + "name": "projectRowItem", "value": { "$rpc": "null" - } + }, + "sent": 0 }, - "afdf1ac21a92": { - "name": "showCreateTargetPicker", - "value": false - }, - "b66eccd2062e": { - "name": "linearWorkspaces", - "value": [] - }, - "b7c9b524edd4": { - "name": "pendingHostedMerge", - "value": { - "$rpc": "null" - } - }, - "b80be68cd059": { - "name": "showGitHubKindPicker", - "value": false - }, - "b82f9e80bd6a": { - "name": "showGitHubPresetPicker", - "value": false - }, - "b8ca6ac0e3ec": { - "name": "showLinearWorkspacePicker", - "value": false - }, - "bbbd4bc0a4ef": { + "b9481aea1fae": { "name": "taskStateHydrated", - "value": false + "value": false, + "sent": 0 }, - "bc6d9aaa835c": { - "name": "showLinearDisplayPicker", - "value": false + "c0016b5b1033": { + "name": "showGitHubProjectPicker", + "value": false, + "sent": 0 }, - "bfd6af371d88": { - "name": "githubProjectSettings", - "value": { - "activeProject": { - "$rpc": "null" - }, - "lastViewByProject": {}, - "pinned": [], - "recent": [] - } + "c27ba127946c": { + "name": "linearWorkspaces", + "value": [], + "sent": 5 }, "c6178e6a0f4e": { "hydrated": false, @@ -745,11 +808,10 @@ } } }, - "c78894b47bfd": { - "name": "mergeMethodProjectRow", - "value": { - "$rpc": "null" - } + "c7fb67dfaaa0": { + "name": "showLinearViewPicker", + "value": false, + "sent": 0 }, "ca8f5459b39f": { "name": "preflight.check#1", @@ -812,16 +874,25 @@ } } }, - "ce5f2125a8c4": { - "name": "tasksSupportState", - "value": { - "client": "logical-client", - "kind": "unknown" - } + "cbb40988c5a5": { + "name": "query", + "value": "is:issue is:open", + "sent": 5 }, - "d47b67d8f357": { - "name": "showGitHubIssueSourcePicker", - "value": false + "d225c567feae": { + "name": "githubPreset", + "value": "issues", + "sent": 5 + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "d4d3179bb79e": { + "name": "showGitHubPresetPicker", + "value": false, + "sent": 0 }, "d705fce957e8": { "name": "settings.get#1", @@ -862,14 +933,6 @@ } } }, - "e23c248f269a": { - "name": "showSortPicker", - "value": false - }, - "e542d7c9af9f": { - "name": "showGitHubProjectPicker", - "value": false - }, "e5662efa8968": { "name": "preflight.check#1", "args": [ @@ -909,14 +972,22 @@ "name": "ui.get#1", "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"ui.get\"}" }, + "e69b48c9e675": { + "name": "pendingHostedStateChange", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "e8bff64c02da": { + "name": "showGitHubProjectSortPicker", + "value": false, + "sent": 0 + }, "eac54552d8bc": { "name": "settings.get#1", "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" }, - "eafaa34ddedb": { - "name": "visibleProviders", - "value": ["github", "linear"] - }, "eb79a9b3682a": { "status": "fulfilled", "startedAt": 0, @@ -929,21 +1000,20 @@ "name": "preflight.check#1", "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.check\"}" }, - "f19db62f49cd": { - "name": "showGitLabFilterPicker", - "value": false + "f40b9d8aa1eb": { + "name": "showLinearFilterPicker", + "value": false, + "sent": 0 }, - "f7c5ddb715d7": { - "name": "pendingProjectGitHubMerge", - "value": { - "$rpc": "null" - } + "f95005ae133d": { + "name": "provider", + "value": "github", + "sent": 5 }, - "fb70d4271ae2": { - "name": "linearStatusPickerItem", - "value": { - "$rpc": "null" - } + "feb5f42359fb": { + "name": "showGitHubIssueSourcePicker", + "value": false, + "sent": 0 } }, "recording": { @@ -971,46 +1041,46 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c" ] } }, @@ -1036,65 +1106,65 @@ }, "state": "58c52d8b7c76", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "326e3f8f7e0b", - "52bdddbac50f", - "4cc1535f7ccf", - "16f398d67267", - "b66eccd2062e", - "1410db92f7e5", - "5731a23b16cd", - "4efedb5c24f1", - "eafaa34ddedb", - "9a0f810232ef", - "a67d16a13986", - "8f287f21cfc4", - "45d50e768fcc", - "74a4162f39f8", - "8372342e5a51", - "bfd6af371d88", - "02d5832df83d", - "888c93f6f346", - "57da83afd125" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "aa095faa9afd", + "8a2b4e3d0eed", + "12b5d58423cb", + "8a3cb00faee0", + "c27ba127946c", + "947cf7373dd6", + "a63e620951f0", + "76ef2e9da242", + "01e1056d97a4", + "f95005ae133d", + "416e38ac3c1e", + "16348b11fcba", + "d225c567feae", + "586d2ff60587", + "308ffd78bb89", + "28fa1cba5d1a", + "cbb40988c5a5", + "86a763922cd7", + "9f93d78e416e" ] } }, @@ -1120,65 +1190,65 @@ }, "state": "58c52d8b7c76", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "326e3f8f7e0b", - "52bdddbac50f", - "4cc1535f7ccf", - "16f398d67267", - "b66eccd2062e", - "1410db92f7e5", - "5731a23b16cd", - "4efedb5c24f1", - "eafaa34ddedb", - "9a0f810232ef", - "a67d16a13986", - "8f287f21cfc4", - "45d50e768fcc", - "74a4162f39f8", - "8372342e5a51", - "bfd6af371d88", - "02d5832df83d", - "888c93f6f346", - "57da83afd125" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "aa095faa9afd", + "8a2b4e3d0eed", + "12b5d58423cb", + "8a3cb00faee0", + "c27ba127946c", + "947cf7373dd6", + "a63e620951f0", + "76ef2e9da242", + "01e1056d97a4", + "f95005ae133d", + "416e38ac3c1e", + "16348b11fcba", + "d225c567feae", + "586d2ff60587", + "308ffd78bb89", + "28fa1cba5d1a", + "cbb40988c5a5", + "86a763922cd7", + "9f93d78e416e" ] } }, @@ -1204,65 +1274,65 @@ }, "state": "58c52d8b7c76", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "326e3f8f7e0b", - "52bdddbac50f", - "4cc1535f7ccf", - "16f398d67267", - "b66eccd2062e", - "1410db92f7e5", - "5731a23b16cd", - "4efedb5c24f1", - "eafaa34ddedb", - "9a0f810232ef", - "a67d16a13986", - "8f287f21cfc4", - "45d50e768fcc", - "74a4162f39f8", - "8372342e5a51", - "bfd6af371d88", - "02d5832df83d", - "888c93f6f346", - "57da83afd125" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "aa095faa9afd", + "8a2b4e3d0eed", + "12b5d58423cb", + "8a3cb00faee0", + "c27ba127946c", + "947cf7373dd6", + "a63e620951f0", + "76ef2e9da242", + "01e1056d97a4", + "f95005ae133d", + "416e38ac3c1e", + "16348b11fcba", + "d225c567feae", + "586d2ff60587", + "308ffd78bb89", + "28fa1cba5d1a", + "cbb40988c5a5", + "86a763922cd7", + "9f93d78e416e" ] } }, @@ -1288,65 +1358,65 @@ }, "state": "58c52d8b7c76", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "326e3f8f7e0b", - "52bdddbac50f", - "4cc1535f7ccf", - "16f398d67267", - "b66eccd2062e", - "1410db92f7e5", - "5731a23b16cd", - "4efedb5c24f1", - "eafaa34ddedb", - "9a0f810232ef", - "a67d16a13986", - "8f287f21cfc4", - "45d50e768fcc", - "74a4162f39f8", - "8372342e5a51", - "bfd6af371d88", - "02d5832df83d", - "888c93f6f346", - "57da83afd125" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "aa095faa9afd", + "8a2b4e3d0eed", + "12b5d58423cb", + "8a3cb00faee0", + "c27ba127946c", + "947cf7373dd6", + "a63e620951f0", + "76ef2e9da242", + "01e1056d97a4", + "f95005ae133d", + "416e38ac3c1e", + "16348b11fcba", + "d225c567feae", + "586d2ff60587", + "308ffd78bb89", + "28fa1cba5d1a", + "cbb40988c5a5", + "86a763922cd7", + "9f93d78e416e" ] } }, @@ -1372,65 +1442,65 @@ }, "state": "58c52d8b7c76", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "326e3f8f7e0b", - "52bdddbac50f", - "4cc1535f7ccf", - "16f398d67267", - "b66eccd2062e", - "1410db92f7e5", - "5731a23b16cd", - "4efedb5c24f1", - "eafaa34ddedb", - "9a0f810232ef", - "a67d16a13986", - "8f287f21cfc4", - "45d50e768fcc", - "74a4162f39f8", - "8372342e5a51", - "bfd6af371d88", - "02d5832df83d", - "888c93f6f346", - "57da83afd125" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "aa095faa9afd", + "8a2b4e3d0eed", + "12b5d58423cb", + "8a3cb00faee0", + "c27ba127946c", + "947cf7373dd6", + "a63e620951f0", + "76ef2e9da242", + "01e1056d97a4", + "f95005ae133d", + "416e38ac3c1e", + "16348b11fcba", + "d225c567feae", + "586d2ff60587", + "308ffd78bb89", + "28fa1cba5d1a", + "cbb40988c5a5", + "86a763922cd7", + "9f93d78e416e" ] } }, @@ -1456,65 +1526,65 @@ }, "state": "58c52d8b7c76", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "326e3f8f7e0b", - "52bdddbac50f", - "4cc1535f7ccf", - "16f398d67267", - "b66eccd2062e", - "1410db92f7e5", - "5731a23b16cd", - "4efedb5c24f1", - "eafaa34ddedb", - "9a0f810232ef", - "a67d16a13986", - "8f287f21cfc4", - "45d50e768fcc", - "74a4162f39f8", - "8372342e5a51", - "bfd6af371d88", - "02d5832df83d", - "888c93f6f346", - "57da83afd125" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "aa095faa9afd", + "8a2b4e3d0eed", + "12b5d58423cb", + "8a3cb00faee0", + "c27ba127946c", + "947cf7373dd6", + "a63e620951f0", + "76ef2e9da242", + "01e1056d97a4", + "f95005ae133d", + "416e38ac3c1e", + "16348b11fcba", + "d225c567feae", + "586d2ff60587", + "308ffd78bb89", + "28fa1cba5d1a", + "cbb40988c5a5", + "86a763922cd7", + "9f93d78e416e" ] } }, @@ -1540,65 +1610,65 @@ }, "state": "58c52d8b7c76", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "326e3f8f7e0b", - "52bdddbac50f", - "4cc1535f7ccf", - "16f398d67267", - "b66eccd2062e", - "1410db92f7e5", - "5731a23b16cd", - "4efedb5c24f1", - "eafaa34ddedb", - "9a0f810232ef", - "a67d16a13986", - "8f287f21cfc4", - "45d50e768fcc", - "74a4162f39f8", - "8372342e5a51", - "bfd6af371d88", - "02d5832df83d", - "888c93f6f346", - "57da83afd125" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "aa095faa9afd", + "8a2b4e3d0eed", + "12b5d58423cb", + "8a3cb00faee0", + "c27ba127946c", + "947cf7373dd6", + "a63e620951f0", + "76ef2e9da242", + "01e1056d97a4", + "f95005ae133d", + "416e38ac3c1e", + "16348b11fcba", + "d225c567feae", + "586d2ff60587", + "308ffd78bb89", + "28fa1cba5d1a", + "cbb40988c5a5", + "86a763922cd7", + "9f93d78e416e" ] } }, @@ -1624,65 +1694,65 @@ }, "state": "58c52d8b7c76", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "326e3f8f7e0b", - "52bdddbac50f", - "4cc1535f7ccf", - "16f398d67267", - "b66eccd2062e", - "1410db92f7e5", - "5731a23b16cd", - "4efedb5c24f1", - "eafaa34ddedb", - "9a0f810232ef", - "a67d16a13986", - "8f287f21cfc4", - "45d50e768fcc", - "74a4162f39f8", - "8372342e5a51", - "bfd6af371d88", - "02d5832df83d", - "888c93f6f346", - "57da83afd125" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "aa095faa9afd", + "8a2b4e3d0eed", + "12b5d58423cb", + "8a3cb00faee0", + "c27ba127946c", + "947cf7373dd6", + "a63e620951f0", + "76ef2e9da242", + "01e1056d97a4", + "f95005ae133d", + "416e38ac3c1e", + "16348b11fcba", + "d225c567feae", + "586d2ff60587", + "308ffd78bb89", + "28fa1cba5d1a", + "cbb40988c5a5", + "86a763922cd7", + "9f93d78e416e" ] } }, @@ -1708,65 +1778,65 @@ }, "state": "58c52d8b7c76", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "326e3f8f7e0b", - "52bdddbac50f", - "4cc1535f7ccf", - "16f398d67267", - "b66eccd2062e", - "1410db92f7e5", - "5731a23b16cd", - "4efedb5c24f1", - "eafaa34ddedb", - "9a0f810232ef", - "a67d16a13986", - "8f287f21cfc4", - "45d50e768fcc", - "74a4162f39f8", - "8372342e5a51", - "bfd6af371d88", - "02d5832df83d", - "888c93f6f346", - "57da83afd125" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "aa095faa9afd", + "8a2b4e3d0eed", + "12b5d58423cb", + "8a3cb00faee0", + "c27ba127946c", + "947cf7373dd6", + "a63e620951f0", + "76ef2e9da242", + "01e1056d97a4", + "f95005ae133d", + "416e38ac3c1e", + "16348b11fcba", + "d225c567feae", + "586d2ff60587", + "308ffd78bb89", + "28fa1cba5d1a", + "cbb40988c5a5", + "86a763922cd7", + "9f93d78e416e" ] } }, @@ -1792,48 +1862,48 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "945ea389c1ef", - "bbbd4bc0a4ef" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "4174675282eb", + "4976dfca54f0" ] } }, @@ -1859,48 +1929,48 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "82cd71d524c8", - "bbbd4bc0a4ef" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "6ba526833af0", + "4976dfca54f0" ] } } diff --git a/mobile/rpc-foundation/goldens/matrix-settings.task-hydration-settings.get-1.json b/mobile/rpc-foundation/goldens/matrix-settings.task-hydration-settings.get-1.json index df24acfbdf6..26b6bf8cc67 100644 --- a/mobile/rpc-foundation/goldens/matrix-settings.task-hydration-settings.get-1.json +++ b/mobile/rpc-foundation/goldens/matrix-settings.task-hydration-settings.get-1.json @@ -3,9 +3,9 @@ "family": "settings.task-hydration", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "d0f8d9bfe0e1469af3b0dab8b5c9799d91cc2234e72f0e031d6872059654077d", "platform": "darwin", @@ -13,21 +13,24 @@ "projectionVersion": 2, "goldenFormatVersion": 5, "values": { - "002ad269dd44": { - "name": "showLinearConnect", - "value": false + "00eea9f3200b": { + "name": "pendingGitHubProjectViewSelection", + "value": { + "$rpc": "null" + }, + "sent": 0 }, - "02d5832df83d": { - "name": "query", - "value": "is:issue is:open" + "01e1056d97a4": { + "name": "visibleProviders", + "value": ["github", "linear"], + "sent": 5 }, - "03f32b62aa80": { - "name": "showGitHubProjectViewPicker", - "value": false - }, - "068f4fd0ad0c": { - "name": "showRepoPicker", - "value": false + "073647d24ac4": { + "name": "actionItem", + "value": { + "$rpc": "null" + }, + "sent": 0 }, "090c88478661": { "name": "settings.get#1", @@ -54,23 +57,25 @@ "startedAt": 0 } }, - "12388aa75326": { - "name": "projectRowItem", - "value": { - "$rpc": "null" - } + "12b5d58423cb": { + "name": "githubProjectHiddenFieldIdsByView", + "value": {}, + "sent": 5 }, - "1410db92f7e5": { - "name": "linearTeams", - "value": [] + "16348b11fcba": { + "name": "defaultGitHubPreset", + "value": "issues", + "sent": 5 }, - "16f398d67267": { - "name": "linearConnected", - "value": false + "1dffb3fe8cd8": { + "name": "showLinearDisplayPicker", + "value": false, + "sent": 0 }, - "1b3fd2de141f": { - "name": "showLinearOrderPicker", - "value": false + "1e1de8badcac": { + "name": "showLinearConnect", + "value": false, + "sent": 0 }, "1e5b32902af7": { "name": "status.get#1", @@ -143,9 +148,10 @@ } } }, - "1f96a2f943c0": { + "1fd209dc12de": { "name": "showGitLabViewPicker", - "value": false + "value": false, + "sent": 0 }, "234fabe27913": { "name": "preflight.check#1", @@ -172,6 +178,18 @@ "startedAt": 0 } }, + "28fa1cba5d1a": { + "name": "githubProjectSettings", + "value": { + "activeProject": { + "$rpc": "null" + }, + "lastViewByProject": {}, + "pinned": [], + "recent": [] + }, + "sent": 5 + }, "2ae8bb906793": { "name": "settings.get#1", "args": [ @@ -237,25 +255,37 @@ } } }, - "321a59c40cce": { - "name": "showProviderPicker", - "value": false + "2c04c960ee94": { + "name": "showLinearTeamPicker", + "value": false, + "sent": 0 }, - "326e3f8f7e0b": { + "2e442e4df37c": { + "name": "showGitHubProjectFieldsPicker", + "value": false, + "sent": 0 + }, + "2fc20c1f9a22": { "name": "runtimeTaskSettings", - "value": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } + "value": {}, + "sent": 5 }, - "347cc433c473": { - "name": "projectRowDetail", + "308ffd78bb89": { + "name": "linearFilter", + "value": "all", + "sent": 5 + }, + "334b82d94582": { + "name": "linearStatusPickerItem", "value": { "$rpc": "null" - } + }, + "sent": 0 + }, + "345762fe1fa4": { + "name": "showLinearOrderPicker", + "value": false, + "sent": 0 }, "35584987e88e": { "name": "settings.get#1", @@ -290,65 +320,54 @@ } } }, - "367b8fc27ba4": { - "name": "showLinearViewPicker", - "value": false + "3adce6077ae5": { + "name": "showCreateTargetPicker", + "value": false, + "sent": 0 }, - "38721e31cbb4": { - "name": "showGitHubProjectSortPicker", - "value": false + "40eabccc0362": { + "name": "showProviderPicker", + "value": false, + "sent": 0 }, - "3e610f908f29": { - "name": "showCreateTask", - "value": false + "416e38ac3c1e": { + "name": "githubMode", + "value": "items", + "sent": 5 }, - "3e9fac4d6c32": { - "name": "showLinearTeamPicker", - "value": false + "4174675282eb": { + "name": "error", + "value": "transport failure", + "sent": 5 }, - "42d2e0167dad": { - "name": "pendingGitHubProjectViewSelection", + "41be2620a06b": { + "name": "reset-workspace", "value": { "$rpc": "null" - } + }, + "sent": 0 }, - "45d50e768fcc": { - "name": "githubPreset", - "value": "issues" - }, - "4a435aea04b4": { - "name": "showLinearFilterPicker", - "value": false - }, - "4cc1535f7ccf": { - "name": "githubProjectHiddenFieldIdsByView", - "value": {} - }, - "4efedb5c24f1": { - "name": "selectedLinearWorkspaceId", - "value": { - "$rpc": "null" - } - }, - "5093ceeca936": { - "name": "showGitHubPagePicker", - "value": false - }, - "52bdddbac50f": { - "name": "trustedOrcaHooks", - "value": {} - }, - "54ea1a00a461": { - "name": "showGitHubProjectFieldsPicker", - "value": false - }, - "5731a23b16cd": { - "name": "selectedLinearTeamIds", - "value": [] - }, - "57da83afd125": { + "4976dfca54f0": { "name": "taskStateHydrated", - "value": true + "value": false, + "sent": 5 + }, + "546c38d1781a": { + "name": "mergeMethodProjectRow", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "58140f732f03": { + "name": "showLinearWorkspacePicker", + "value": false, + "sent": 0 + }, + "586d2ff60587": { + "name": "githubKind", + "value": "issues", + "sent": 5 }, "58c52d8b7c76": { "hydrated": true, @@ -360,12 +379,13 @@ "visibleTaskProviders": ["github", "linear"] } }, - "5b1145eb3832": { + "5e05b4814013": { "name": "tasksSupportState", "value": { "client": "logical-client", "kind": "supported" - } + }, + "sent": 1 }, "5fbdd64c75bc": { "name": "ui.get#1", @@ -392,6 +412,19 @@ "startedAt": 0 } }, + "63b9d87881e1": { + "name": "tasksSupportState", + "value": { + "client": "logical-client", + "kind": "unknown" + }, + "sent": 0 + }, + "6ba526833af0": { + "name": "error", + "value": "", + "sent": 5 + }, "6d584492e802": { "name": "settings.get#1", "args": [ @@ -493,43 +526,66 @@ } } }, - "740d91a30846": { - "name": "pendingHostedStateChange", - "value": { - "$rpc": "null" - } - }, - "74a4162f39f8": { - "name": "githubKind", - "value": "issues" - }, - "7d341b2cb946": { - "name": "detailPayload", - "value": { - "$rpc": "null" - } - }, - "7f2e001f13e7": { + "758b8c1db523": { "name": "projectRepoNotInOrca", "value": { "$rpc": "null" - } + }, + "sent": 0 }, - "82cd71d524c8": { + "76ef2e9da242": { + "name": "selectedLinearWorkspaceId", + "value": { + "$rpc": "null" + }, + "sent": 5 + }, + "78a159d9a918": { + "name": "showGitHubProjectViewPicker", + "value": false, + "sent": 0 + }, + "7ad8359f6226": { "name": "error", - "value": "" + "value": "Cannot read properties of undefined (reading 'settings')", + "sent": 5 }, - "8372342e5a51": { - "name": "linearFilter", - "value": "all" + "81ea51ff9d26": { + "name": "error", + "value": "Cannot read properties of null (reading 'settings')", + "sent": 5 }, - "888c93f6f346": { + "85beb8cfde14": { + "name": "mergeMethodTaskItem", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "86a763922cd7": { "name": "appliedQuery", - "value": "is:issue is:open" + "value": "is:issue is:open", + "sent": 5 }, - "8ac078069a5d": { - "name": "error", - "value": "Cannot read properties of null (reading 'settings')" + "8832da75be8d": { + "name": "showGitHubPagePicker", + "value": false, + "sent": 0 + }, + "886ccf2737c7": { + "name": "showSortPicker", + "value": false, + "sent": 0 + }, + "8a2b4e3d0eed": { + "name": "trustedOrcaHooks", + "value": {}, + "sent": 5 + }, + "8a3cb00faee0": { + "name": "linearConnected", + "value": false, + "sent": 5 }, "8b77098df0c3": { "name": "settings.get#1", @@ -598,9 +654,19 @@ } } }, - "8f287f21cfc4": { - "name": "defaultGitHubPreset", - "value": "issues" + "8e5298b22c5f": { + "name": "projectRowDetail", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "921e10a277e7": { + "name": "pendingHostedMerge", + "value": { + "$rpc": "null" + }, + "sent": 0 }, "924e33dd1165": { "name": "settings.get#1", @@ -635,33 +701,53 @@ } } }, - "945ea389c1ef": { - "name": "error", - "value": "transport failure" + "947cf7373dd6": { + "name": "linearTeams", + "value": [], + "sent": 5 }, "963a91c532c8": { "hydrated": true, "settings": {} }, - "977e1de1ac2f": { - "name": "mergeMethodTaskItem", - "value": { - "$rpc": "null" - } - }, - "991081048cc2": { - "name": "reset-workspace", - "value": { - "$rpc": "null" - } - }, - "9a0f810232ef": { - "name": "provider", - "value": "github" - }, - "a211e64f0900": { + "9b1d9febbcf6": { "name": "showLinearGroupPicker", - "value": false + "value": false, + "sent": 0 + }, + "9bd1de5d9753": { + "name": "detailPayload", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "9cc2d35c57dc": { + "name": "showGitLabFilterPicker", + "value": false, + "sent": 0 + }, + "9e19e2a66126": { + "name": "showRepoPicker", + "value": false, + "sent": 0 + }, + "9f93d78e416e": { + "name": "taskStateHydrated", + "value": true, + "sent": 5 + }, + "a060c9ebc224": { + "name": "pendingProjectGitHubMerge", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "a2cc59889dc0": { + "name": "showGitHubKindPicker", + "value": false, + "sent": 0 }, "a4760ef5a9f4": { "name": "linear.status#1", @@ -688,9 +774,26 @@ "startedAt": 0 } }, - "a67d16a13986": { - "name": "githubMode", - "value": "items" + "a63e620951f0": { + "name": "selectedLinearTeamIds", + "value": [], + "sent": 5 + }, + "a91aca142b2e": { + "name": "showCreateTask", + "value": false, + "sent": 0 + }, + "aa095faa9afd": { + "name": "runtimeTaskSettings", + "value": { + "defaultTuiAgent": "codex", + "disabledTuiAgents": ["claude"], + "hostSettingOverrides": {}, + "prBotAuthorOverrides": ["bot-user"], + "visibleTaskProviders": ["github", "linear"] + }, + "sent": 5 }, "aa624b10c314": { "name": "linear.status#1", @@ -729,77 +832,56 @@ "name": "linear.status#1", "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" }, - "ac9996319e05": { - "name": "actionItem", + "b341e832c60d": { + "name": "projectRowItem", "value": { "$rpc": "null" - } + }, + "sent": 0 }, - "afdf1ac21a92": { - "name": "showCreateTargetPicker", - "value": false - }, - "b66eccd2062e": { - "name": "linearWorkspaces", - "value": [] - }, - "b7c9b524edd4": { - "name": "pendingHostedMerge", - "value": { - "$rpc": "null" - } - }, - "b80be68cd059": { - "name": "showGitHubKindPicker", - "value": false - }, - "b82f9e80bd6a": { - "name": "showGitHubPresetPicker", - "value": false - }, - "b8ca6ac0e3ec": { - "name": "showLinearWorkspacePicker", - "value": false - }, - "bbbd4bc0a4ef": { + "b9481aea1fae": { "name": "taskStateHydrated", - "value": false + "value": false, + "sent": 0 }, - "bc6d9aaa835c": { - "name": "showLinearDisplayPicker", - "value": false + "c0016b5b1033": { + "name": "showGitHubProjectPicker", + "value": false, + "sent": 0 }, - "bfd6af371d88": { - "name": "githubProjectSettings", - "value": { - "activeProject": { - "$rpc": "null" - }, - "lastViewByProject": {}, - "pinned": [], - "recent": [] - } + "c27ba127946c": { + "name": "linearWorkspaces", + "value": [], + "sent": 5 }, "c6178e6a0f4e": { "hydrated": false, "settings": {} }, - "c78894b47bfd": { - "name": "mergeMethodProjectRow", - "value": { - "$rpc": "null" - } + "c7fb67dfaaa0": { + "name": "showLinearViewPicker", + "value": false, + "sent": 0 }, - "ce5f2125a8c4": { - "name": "tasksSupportState", - "value": { - "client": "logical-client", - "kind": "unknown" - } + "cbb40988c5a5": { + "name": "query", + "value": "is:issue is:open", + "sent": 5 }, - "d47b67d8f357": { - "name": "showGitHubIssueSourcePicker", - "value": false + "d225c567feae": { + "name": "githubPreset", + "value": "issues", + "sent": 5 + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "d4d3179bb79e": { + "name": "showGitHubPresetPicker", + "value": false, + "sent": 0 }, "d705fce957e8": { "name": "settings.get#1", @@ -840,18 +922,6 @@ } } }, - "dae7907f03cc": { - "name": "runtimeTaskSettings", - "value": {} - }, - "e23c248f269a": { - "name": "showSortPicker", - "value": false - }, - "e542d7c9af9f": { - "name": "showGitHubProjectPicker", - "value": false - }, "e5662efa8968": { "name": "preflight.check#1", "args": [ @@ -891,14 +961,22 @@ "name": "ui.get#1", "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"ui.get\"}" }, + "e69b48c9e675": { + "name": "pendingHostedStateChange", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "e8bff64c02da": { + "name": "showGitHubProjectSortPicker", + "value": false, + "sent": 0 + }, "eac54552d8bc": { "name": "settings.get#1", "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" }, - "eafaa34ddedb": { - "name": "visibleProviders", - "value": ["github", "linear"] - }, "eb79a9b3682a": { "status": "fulfilled", "startedAt": 0, @@ -941,25 +1019,20 @@ "name": "preflight.check#1", "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.check\"}" }, - "eef5e6921665": { - "name": "error", - "value": "Cannot read properties of undefined (reading 'settings')" + "f40b9d8aa1eb": { + "name": "showLinearFilterPicker", + "value": false, + "sent": 0 }, - "f19db62f49cd": { - "name": "showGitLabFilterPicker", - "value": false + "f95005ae133d": { + "name": "provider", + "value": "github", + "sent": 5 }, - "f7c5ddb715d7": { - "name": "pendingProjectGitHubMerge", - "value": { - "$rpc": "null" - } - }, - "fb70d4271ae2": { - "name": "linearStatusPickerItem", - "value": { - "$rpc": "null" - } + "feb5f42359fb": { + "name": "showGitHubIssueSourcePicker", + "value": false, + "sent": 0 } }, "recording": { @@ -987,46 +1060,46 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c" ] } }, @@ -1052,65 +1125,65 @@ }, "state": "58c52d8b7c76", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "326e3f8f7e0b", - "52bdddbac50f", - "4cc1535f7ccf", - "16f398d67267", - "b66eccd2062e", - "1410db92f7e5", - "5731a23b16cd", - "4efedb5c24f1", - "eafaa34ddedb", - "9a0f810232ef", - "a67d16a13986", - "8f287f21cfc4", - "45d50e768fcc", - "74a4162f39f8", - "8372342e5a51", - "bfd6af371d88", - "02d5832df83d", - "888c93f6f346", - "57da83afd125" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "aa095faa9afd", + "8a2b4e3d0eed", + "12b5d58423cb", + "8a3cb00faee0", + "c27ba127946c", + "947cf7373dd6", + "a63e620951f0", + "76ef2e9da242", + "01e1056d97a4", + "f95005ae133d", + "416e38ac3c1e", + "16348b11fcba", + "d225c567feae", + "586d2ff60587", + "308ffd78bb89", + "28fa1cba5d1a", + "cbb40988c5a5", + "86a763922cd7", + "9f93d78e416e" ] } }, @@ -1136,48 +1209,48 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "eef5e6921665", - "bbbd4bc0a4ef" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "7ad8359f6226", + "4976dfca54f0" ] } }, @@ -1203,48 +1276,48 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "8ac078069a5d", - "bbbd4bc0a4ef" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "81ea51ff9d26", + "4976dfca54f0" ] } }, @@ -1270,65 +1343,65 @@ }, "state": "963a91c532c8", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "dae7907f03cc", - "52bdddbac50f", - "4cc1535f7ccf", - "16f398d67267", - "b66eccd2062e", - "1410db92f7e5", - "5731a23b16cd", - "4efedb5c24f1", - "eafaa34ddedb", - "9a0f810232ef", - "a67d16a13986", - "8f287f21cfc4", - "45d50e768fcc", - "74a4162f39f8", - "8372342e5a51", - "bfd6af371d88", - "02d5832df83d", - "888c93f6f346", - "57da83afd125" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "2fc20c1f9a22", + "8a2b4e3d0eed", + "12b5d58423cb", + "8a3cb00faee0", + "c27ba127946c", + "947cf7373dd6", + "a63e620951f0", + "76ef2e9da242", + "01e1056d97a4", + "f95005ae133d", + "416e38ac3c1e", + "16348b11fcba", + "d225c567feae", + "586d2ff60587", + "308ffd78bb89", + "28fa1cba5d1a", + "cbb40988c5a5", + "86a763922cd7", + "9f93d78e416e" ] } }, @@ -1354,65 +1427,65 @@ }, "state": "963a91c532c8", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "dae7907f03cc", - "52bdddbac50f", - "4cc1535f7ccf", - "16f398d67267", - "b66eccd2062e", - "1410db92f7e5", - "5731a23b16cd", - "4efedb5c24f1", - "eafaa34ddedb", - "9a0f810232ef", - "a67d16a13986", - "8f287f21cfc4", - "45d50e768fcc", - "74a4162f39f8", - "8372342e5a51", - "bfd6af371d88", - "02d5832df83d", - "888c93f6f346", - "57da83afd125" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "2fc20c1f9a22", + "8a2b4e3d0eed", + "12b5d58423cb", + "8a3cb00faee0", + "c27ba127946c", + "947cf7373dd6", + "a63e620951f0", + "76ef2e9da242", + "01e1056d97a4", + "f95005ae133d", + "416e38ac3c1e", + "16348b11fcba", + "d225c567feae", + "586d2ff60587", + "308ffd78bb89", + "28fa1cba5d1a", + "cbb40988c5a5", + "86a763922cd7", + "9f93d78e416e" ] } }, @@ -1438,65 +1511,65 @@ }, "state": "963a91c532c8", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "dae7907f03cc", - "52bdddbac50f", - "4cc1535f7ccf", - "16f398d67267", - "b66eccd2062e", - "1410db92f7e5", - "5731a23b16cd", - "4efedb5c24f1", - "eafaa34ddedb", - "9a0f810232ef", - "a67d16a13986", - "8f287f21cfc4", - "45d50e768fcc", - "74a4162f39f8", - "8372342e5a51", - "bfd6af371d88", - "02d5832df83d", - "888c93f6f346", - "57da83afd125" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "2fc20c1f9a22", + "8a2b4e3d0eed", + "12b5d58423cb", + "8a3cb00faee0", + "c27ba127946c", + "947cf7373dd6", + "a63e620951f0", + "76ef2e9da242", + "01e1056d97a4", + "f95005ae133d", + "416e38ac3c1e", + "16348b11fcba", + "d225c567feae", + "586d2ff60587", + "308ffd78bb89", + "28fa1cba5d1a", + "cbb40988c5a5", + "86a763922cd7", + "9f93d78e416e" ] } }, @@ -1522,65 +1595,65 @@ }, "state": "963a91c532c8", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "dae7907f03cc", - "52bdddbac50f", - "4cc1535f7ccf", - "16f398d67267", - "b66eccd2062e", - "1410db92f7e5", - "5731a23b16cd", - "4efedb5c24f1", - "eafaa34ddedb", - "9a0f810232ef", - "a67d16a13986", - "8f287f21cfc4", - "45d50e768fcc", - "74a4162f39f8", - "8372342e5a51", - "bfd6af371d88", - "02d5832df83d", - "888c93f6f346", - "57da83afd125" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "2fc20c1f9a22", + "8a2b4e3d0eed", + "12b5d58423cb", + "8a3cb00faee0", + "c27ba127946c", + "947cf7373dd6", + "a63e620951f0", + "76ef2e9da242", + "01e1056d97a4", + "f95005ae133d", + "416e38ac3c1e", + "16348b11fcba", + "d225c567feae", + "586d2ff60587", + "308ffd78bb89", + "28fa1cba5d1a", + "cbb40988c5a5", + "86a763922cd7", + "9f93d78e416e" ] } }, @@ -1606,65 +1679,65 @@ }, "state": "963a91c532c8", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "dae7907f03cc", - "52bdddbac50f", - "4cc1535f7ccf", - "16f398d67267", - "b66eccd2062e", - "1410db92f7e5", - "5731a23b16cd", - "4efedb5c24f1", - "eafaa34ddedb", - "9a0f810232ef", - "a67d16a13986", - "8f287f21cfc4", - "45d50e768fcc", - "74a4162f39f8", - "8372342e5a51", - "bfd6af371d88", - "02d5832df83d", - "888c93f6f346", - "57da83afd125" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "2fc20c1f9a22", + "8a2b4e3d0eed", + "12b5d58423cb", + "8a3cb00faee0", + "c27ba127946c", + "947cf7373dd6", + "a63e620951f0", + "76ef2e9da242", + "01e1056d97a4", + "f95005ae133d", + "416e38ac3c1e", + "16348b11fcba", + "d225c567feae", + "586d2ff60587", + "308ffd78bb89", + "28fa1cba5d1a", + "cbb40988c5a5", + "86a763922cd7", + "9f93d78e416e" ] } }, @@ -1690,65 +1763,65 @@ }, "state": "963a91c532c8", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "dae7907f03cc", - "52bdddbac50f", - "4cc1535f7ccf", - "16f398d67267", - "b66eccd2062e", - "1410db92f7e5", - "5731a23b16cd", - "4efedb5c24f1", - "eafaa34ddedb", - "9a0f810232ef", - "a67d16a13986", - "8f287f21cfc4", - "45d50e768fcc", - "74a4162f39f8", - "8372342e5a51", - "bfd6af371d88", - "02d5832df83d", - "888c93f6f346", - "57da83afd125" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "2fc20c1f9a22", + "8a2b4e3d0eed", + "12b5d58423cb", + "8a3cb00faee0", + "c27ba127946c", + "947cf7373dd6", + "a63e620951f0", + "76ef2e9da242", + "01e1056d97a4", + "f95005ae133d", + "416e38ac3c1e", + "16348b11fcba", + "d225c567feae", + "586d2ff60587", + "308ffd78bb89", + "28fa1cba5d1a", + "cbb40988c5a5", + "86a763922cd7", + "9f93d78e416e" ] } }, @@ -1774,48 +1847,48 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "945ea389c1ef", - "bbbd4bc0a4ef" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "4174675282eb", + "4976dfca54f0" ] } }, @@ -1841,48 +1914,48 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "82cd71d524c8", - "bbbd4bc0a4ef" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "6ba526833af0", + "4976dfca54f0" ] } } diff --git a/mobile/rpc-foundation/goldens/matrix-settings.task-hydration-status.get-1.json b/mobile/rpc-foundation/goldens/matrix-settings.task-hydration-status.get-1.json index a09d4cedb0c..78229b529a3 100644 --- a/mobile/rpc-foundation/goldens/matrix-settings.task-hydration-status.get-1.json +++ b/mobile/rpc-foundation/goldens/matrix-settings.task-hydration-status.get-1.json @@ -3,9 +3,9 @@ "family": "settings.task-hydration", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "3f448feff463b59c3927dae020ecd8d4931bb4a6036df6d6af080de2ec5fcf2b", "platform": "darwin", @@ -13,21 +13,34 @@ "projectionVersion": 2, "goldenFormatVersion": 5, "values": { - "002ad269dd44": { - "name": "showLinearConnect", - "value": false + "00eea9f3200b": { + "name": "pendingGitHubProjectViewSelection", + "value": { + "$rpc": "null" + }, + "sent": 0 }, - "02d5832df83d": { - "name": "query", - "value": "is:issue is:open" + "01e1056d97a4": { + "name": "visibleProviders", + "value": ["github", "linear"], + "sent": 5 }, - "03f32b62aa80": { - "name": "showGitHubProjectViewPicker", - "value": false + "0615c6d05b2d": { + "name": "error", + "value": "Cannot read properties of undefined (reading 'capabilities')", + "sent": 1 }, - "068f4fd0ad0c": { - "name": "showRepoPicker", - "value": false + "06f545abab55": { + "name": "showGitHubIssueSourcePicker", + "value": false, + "sent": 1 + }, + "073647d24ac4": { + "name": "actionItem", + "value": { + "$rpc": "null" + }, + "sent": 0 }, "090c88478661": { "name": "settings.get#1", @@ -54,21 +67,37 @@ "startedAt": 0 } }, - "11b132a242c1": { - "name": "githubProjectTable", + "10e7a35ba71e": { + "name": "showLinearDisplayPicker", + "value": false, + "sent": 1 + }, + "11128d5b58e9": { + "name": "showGitHubPresetPicker", + "value": false, + "sent": 1 + }, + "12b5d58423cb": { + "name": "githubProjectHiddenFieldIdsByView", + "value": {}, + "sent": 5 + }, + "12e77f23ea9f": { + "name": "error", + "value": "Update Orca desktop to use Tasks on mobile.", + "sent": 1 + }, + "16348b11fcba": { + "name": "defaultGitHubPreset", + "value": "issues", + "sent": 5 + }, + "16c42f14f090": { + "name": "pendingHostedStateChange", "value": { "$rpc": "null" - } - }, - "12388aa75326": { - "name": "projectRowItem", - "value": { - "$rpc": "null" - } - }, - "1410db92f7e5": { - "name": "linearTeams", - "value": [] + }, + "sent": 1 }, "16cd464bf664": { "name": "status.get#1", @@ -104,17 +133,27 @@ } } }, - "16f398d67267": { - "name": "linearConnected", - "value": false - }, - "186f44bc465a": { + "198ac889ae28": { "name": "error", - "value": "Unknown method" + "value": "transport failure", + "sent": 1 }, - "1b3fd2de141f": { - "name": "showLinearOrderPicker", - "value": false + "1c2a67aac7e4": { + "name": "projectRowDetail", + "value": { + "$rpc": "null" + }, + "sent": 1 + }, + "1dffb3fe8cd8": { + "name": "showLinearDisplayPicker", + "value": false, + "sent": 0 + }, + "1e1de8badcac": { + "name": "showLinearConnect", + "value": false, + "sent": 0 }, "1e5b32902af7": { "name": "status.get#1", @@ -153,9 +192,17 @@ } } }, - "1f96a2f943c0": { + "1fd209dc12de": { "name": "showGitLabViewPicker", - "value": false + "value": false, + "sent": 0 + }, + "20a77be9acef": { + "name": "projectRowItem", + "value": { + "$rpc": "null" + }, + "sent": 1 }, "234fabe27913": { "name": "preflight.check#1", @@ -213,58 +260,105 @@ } } }, - "2c295738907d": { - "name": "tasksSupportState", + "28fa1cba5d1a": { + "name": "githubProjectSettings", "value": { - "client": "logical-client", - "kind": "unsupported" - } + "activeProject": { + "$rpc": "null" + }, + "lastViewByProject": {}, + "pinned": [], + "recent": [] + }, + "sent": 5 }, - "321a59c40cce": { - "name": "showProviderPicker", - "value": false - }, - "326e3f8f7e0b": { - "name": "runtimeTaskSettings", - "value": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } - }, - "347cc433c473": { - "name": "projectRowDetail", - "value": { - "$rpc": "null" - } - }, - "367b8fc27ba4": { - "name": "showLinearViewPicker", - "value": false - }, - "38721e31cbb4": { - "name": "showGitHubProjectSortPicker", - "value": false - }, - "3e610f908f29": { - "name": "showCreateTask", - "value": false - }, - "3e9fac4d6c32": { + "2c04c960ee94": { "name": "showLinearTeamPicker", - "value": false + "value": false, + "sent": 0 }, - "42d2e0167dad": { - "name": "pendingGitHubProjectViewSelection", + "2e442e4df37c": { + "name": "showGitHubProjectFieldsPicker", + "value": false, + "sent": 0 + }, + "308ffd78bb89": { + "name": "linearFilter", + "value": "all", + "sent": 5 + }, + "334b82d94582": { + "name": "linearStatusPickerItem", "value": { "$rpc": "null" - } + }, + "sent": 0 }, - "442bdfe26748": { - "name": "error", - "value": "Update Orca desktop to use Tasks on mobile." + "345762fe1fa4": { + "name": "showLinearOrderPicker", + "value": false, + "sent": 0 + }, + "357b179933f9": { + "name": "showLinearFilterPicker", + "value": false, + "sent": 1 + }, + "3805b36f637f": { + "name": "showSortPicker", + "value": false, + "sent": 1 + }, + "3adce6077ae5": { + "name": "showCreateTargetPicker", + "value": false, + "sent": 0 + }, + "3b43c0d657fb": { + "name": "showGitLabViewPicker", + "value": false, + "sent": 1 + }, + "3c5ba1b0a5d7": { + "name": "reset-workspace", + "value": { + "$rpc": "null" + }, + "sent": 1 + }, + "3fe6070e65e7": { + "name": "showLinearViewPicker", + "value": false, + "sent": 1 + }, + "407d3b639517": { + "name": "projectRepoNotInOrca", + "value": { + "$rpc": "null" + }, + "sent": 1 + }, + "40eabccc0362": { + "name": "showProviderPicker", + "value": false, + "sent": 0 + }, + "411208403e0a": { + "name": "taskStateHydrated", + "value": false, + "sent": 1 + }, + "416e38ac3c1e": { + "name": "githubMode", + "value": "items", + "sent": 5 + }, + "41be2620a06b": { + "name": "reset-workspace", + "value": { + "$rpc": "null" + }, + "sent": 0 }, "4451bb95a76e": { "name": "status.get#1", @@ -299,43 +393,39 @@ } } }, - "45d50e768fcc": { - "name": "githubPreset", - "value": "issues" + "49f844d1a89f": { + "name": "showGitHubProjectViewPicker", + "value": false, + "sent": 1 }, - "4a435aea04b4": { - "name": "showLinearFilterPicker", - "value": false - }, - "4cc1535f7ccf": { - "name": "githubProjectHiddenFieldIdsByView", - "value": {} - }, - "4efedb5c24f1": { - "name": "selectedLinearWorkspaceId", + "52e9c7685310": { + "name": "pendingHostedMerge", "value": { "$rpc": "null" - } + }, + "sent": 1 }, - "5093ceeca936": { - "name": "showGitHubPagePicker", - "value": false + "546c38d1781a": { + "name": "mergeMethodProjectRow", + "value": { + "$rpc": "null" + }, + "sent": 0 }, - "52bdddbac50f": { - "name": "trustedOrcaHooks", - "value": {} + "58140f732f03": { + "name": "showLinearWorkspacePicker", + "value": false, + "sent": 0 }, - "54ea1a00a461": { - "name": "showGitHubProjectFieldsPicker", - "value": false + "583933e9a7b6": { + "name": "showLinearTeamPicker", + "value": false, + "sent": 1 }, - "5731a23b16cd": { - "name": "selectedLinearTeamIds", - "value": [] - }, - "57da83afd125": { - "name": "taskStateHydrated", - "value": true + "586d2ff60587": { + "name": "githubKind", + "value": "issues", + "sent": 5 }, "58c52d8b7c76": { "hydrated": true, @@ -347,12 +437,18 @@ "visibleTaskProviders": ["github", "linear"] } }, - "5b1145eb3832": { + "5be691f20ef4": { + "name": "showRepoPicker", + "value": false, + "sent": 1 + }, + "5e05b4814013": { "name": "tasksSupportState", "value": { "client": "logical-client", "kind": "supported" - } + }, + "sent": 1 }, "5fbdd64c75bc": { "name": "ui.get#1", @@ -379,6 +475,14 @@ "startedAt": 0 } }, + "63b9d87881e1": { + "name": "tasksSupportState", + "value": { + "client": "logical-client", + "kind": "unknown" + }, + "sent": 0 + }, "6f30f8b6f3d7": { "name": "status.get#1", "args": [ @@ -412,21 +516,29 @@ } } }, - "740d91a30846": { - "name": "pendingHostedStateChange", + "758b8c1db523": { + "name": "projectRepoNotInOrca", "value": { "$rpc": "null" - } + }, + "sent": 0 }, - "74a4162f39f8": { - "name": "githubKind", - "value": "issues" - }, - "7d341b2cb946": { - "name": "detailPayload", + "76ef2e9da242": { + "name": "selectedLinearWorkspaceId", "value": { "$rpc": "null" - } + }, + "sent": 5 + }, + "781721955405": { + "name": "showCreateTask", + "value": false, + "sent": 1 + }, + "78a159d9a918": { + "name": "showGitHubProjectViewPicker", + "value": false, + "sent": 0 }, "7d3dd7f9381b": { "name": "status.get#1", @@ -458,23 +570,32 @@ } } }, - "7f2e001f13e7": { - "name": "projectRepoNotInOrca", + "84465663f388": { + "name": "actionItem", "value": { "$rpc": "null" - } + }, + "sent": 1 }, - "82cd71d524c8": { - "name": "error", - "value": "" + "85beb8cfde14": { + "name": "mergeMethodTaskItem", + "value": { + "$rpc": "null" + }, + "sent": 0 }, - "8372342e5a51": { - "name": "linearFilter", - "value": "all" + "86a763922cd7": { + "name": "appliedQuery", + "value": "is:issue is:open", + "sent": 5 }, - "85338c16b05b": { - "name": "error", - "value": "Cannot read properties of null (reading 'capabilities')" + "86bbfb818134": { + "name": "tasksSupportState", + "value": { + "client": "logical-client", + "kind": "unsupported" + }, + "sent": 1 }, "88200d49083c": { "name": "status.get#1", @@ -509,9 +630,15 @@ } } }, - "888c93f6f346": { - "name": "appliedQuery", - "value": "is:issue is:open" + "8832da75be8d": { + "name": "showGitHubPagePicker", + "value": false, + "sent": 0 + }, + "886ccf2737c7": { + "name": "showSortPicker", + "value": false, + "sent": 0 }, "89236e432861": { "name": "status.get#1", @@ -549,13 +676,34 @@ } } }, - "8936cd17eb1c": { - "name": "items", - "value": [] + "8a2b4e3d0eed": { + "name": "trustedOrcaHooks", + "value": {}, + "sent": 5 }, - "8f287f21cfc4": { - "name": "defaultGitHubPreset", - "value": "issues" + "8a3cb00faee0": { + "name": "linearConnected", + "value": false, + "sent": 5 + }, + "8e5298b22c5f": { + "name": "projectRowDetail", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "921e10a277e7": { + "name": "pendingHostedMerge", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "93fc17341354": { + "name": "error", + "value": "Cannot read properties of null (reading 'capabilities')", + "sent": 1 }, "944bf432f199": { "name": "status.get#1", @@ -591,25 +739,27 @@ } } }, - "945ea389c1ef": { - "name": "error", - "value": "transport failure" + "947cf7373dd6": { + "name": "linearTeams", + "value": [], + "sent": 5 }, - "977e1de1ac2f": { - "name": "mergeMethodTaskItem", + "9b1d9febbcf6": { + "name": "showLinearGroupPicker", + "value": false, + "sent": 0 + }, + "9bd1de5d9753": { + "name": "detailPayload", "value": { "$rpc": "null" - } + }, + "sent": 0 }, - "991081048cc2": { - "name": "reset-workspace", - "value": { - "$rpc": "null" - } - }, - "9a0f810232ef": { - "name": "provider", - "value": "github" + "9cc2d35c57dc": { + "name": "showGitLabFilterPicker", + "value": false, + "sent": 0 }, "9cdf3c107e7b": { "name": "status.get#1", @@ -645,9 +795,34 @@ } } }, - "a211e64f0900": { - "name": "showLinearGroupPicker", - "value": false + "9e19e2a66126": { + "name": "showRepoPicker", + "value": false, + "sent": 0 + }, + "9f4dbc22df3d": { + "name": "githubProjectTable", + "value": { + "$rpc": "null" + }, + "sent": 1 + }, + "9f93d78e416e": { + "name": "taskStateHydrated", + "value": true, + "sent": 5 + }, + "a060c9ebc224": { + "name": "pendingProjectGitHubMerge", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "a2cc59889dc0": { + "name": "showGitHubKindPicker", + "value": false, + "sent": 0 }, "a4760ef5a9f4": { "name": "linear.status#1", @@ -674,9 +849,36 @@ "startedAt": 0 } }, - "a67d16a13986": { - "name": "githubMode", - "value": "items" + "a63e620951f0": { + "name": "selectedLinearTeamIds", + "value": [], + "sent": 5 + }, + "a6fb391b4526": { + "name": "showLinearWorkspacePicker", + "value": false, + "sent": 1 + }, + "a91aca142b2e": { + "name": "showCreateTask", + "value": false, + "sent": 0 + }, + "a974df37ebab": { + "name": "showGitHubKindPicker", + "value": false, + "sent": 1 + }, + "aa095faa9afd": { + "name": "runtimeTaskSettings", + "value": { + "defaultTuiAgent": "codex", + "disabledTuiAgents": ["claude"], + "hostSettingOverrides": {}, + "prBotAuthorOverrides": ["bot-user"], + "visibleTaskProviders": ["github", "linear"] + }, + "sent": 5 }, "aa624b10c314": { "name": "linear.status#1", @@ -711,64 +913,65 @@ } } }, + "aaf6f09a8b32": { + "name": "showGitHubPagePicker", + "value": false, + "sent": 1 + }, "aba4413b55bb": { "name": "linear.status#1", "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" }, - "ac9996319e05": { - "name": "actionItem", + "ae0c3d3070af": { + "name": "showGitHubProjectSortPicker", + "value": false, + "sent": 1 + }, + "b341e832c60d": { + "name": "projectRowItem", "value": { "$rpc": "null" - } + }, + "sent": 0 }, - "afdf1ac21a92": { - "name": "showCreateTargetPicker", - "value": false - }, - "b66eccd2062e": { - "name": "linearWorkspaces", - "value": [] - }, - "b7c9b524edd4": { - "name": "pendingHostedMerge", + "b40e60a6d611": { + "name": "pendingGitHubProjectViewSelection", "value": { "$rpc": "null" - } + }, + "sent": 1 }, - "b80be68cd059": { - "name": "showGitHubKindPicker", - "value": false - }, - "b82f9e80bd6a": { - "name": "showGitHubPresetPicker", - "value": false - }, - "b8ca6ac0e3ec": { - "name": "showLinearWorkspacePicker", - "value": false - }, - "ba65a7abe43b": { + "b53c339a3854": { "name": "error", - "value": "outer refused" + "value": "Unknown method", + "sent": 1 }, - "bbbd4bc0a4ef": { + "b9481aea1fae": { "name": "taskStateHydrated", - "value": false + "value": false, + "sent": 0 }, - "bc6d9aaa835c": { - "name": "showLinearDisplayPicker", - "value": false + "bcade3a63a76": { + "name": "showGitHubProjectPicker", + "value": false, + "sent": 1 }, - "bfd6af371d88": { - "name": "githubProjectSettings", + "c0016b5b1033": { + "name": "showGitHubProjectPicker", + "value": false, + "sent": 0 + }, + "c27ba127946c": { + "name": "linearWorkspaces", + "value": [], + "sent": 5 + }, + "c4a4dcb1bf28": { + "name": "linearStatusPickerItem", "value": { - "activeProject": { - "$rpc": "null" - }, - "lastViewByProject": {}, - "pinned": [], - "recent": [] - } + "$rpc": "null" + }, + "sent": 1 }, "c6178e6a0f4e": { "hydrated": false, @@ -808,26 +1011,56 @@ } } }, - "c78894b47bfd": { + "c7fb67dfaaa0": { + "name": "showLinearViewPicker", + "value": false, + "sent": 0 + }, + "ca02a7cacc5e": { + "name": "pendingProjectGitHubMerge", + "value": { + "$rpc": "null" + }, + "sent": 1 + }, + "cbb40988c5a5": { + "name": "query", + "value": "is:issue is:open", + "sent": 5 + }, + "cc2e3b9c5338": { + "name": "showCreateTargetPicker", + "value": false, + "sent": 1 + }, + "cd86c8b5ab41": { "name": "mergeMethodProjectRow", "value": { "$rpc": "null" - } + }, + "sent": 1 }, - "ce5f2125a8c4": { - "name": "tasksSupportState", - "value": { - "client": "logical-client", - "kind": "unknown" - } + "d225c567feae": { + "name": "githubPreset", + "value": "issues", + "sent": 5 }, - "cffae499abea": { + "d48d5c49486c": { "name": "error", - "value": "Cannot read properties of undefined (reading 'capabilities')" + "value": "", + "sent": 1 }, - "d47b67d8f357": { - "name": "showGitHubIssueSourcePicker", - "value": false + "d4d3179bb79e": { + "name": "showGitHubPresetPicker", + "value": false, + "sent": 0 + }, + "d6364fa47ecc": { + "name": "detailPayload", + "value": { + "$rpc": "null" + }, + "sent": 1 }, "d705fce957e8": { "name": "settings.get#1", @@ -868,6 +1101,11 @@ } } }, + "dadc0af5cf1e": { + "name": "showLinearOrderPicker", + "value": false, + "sent": 1 + }, "de87f6266897": { "name": "status.get#1", "args": [ @@ -899,13 +1137,17 @@ } } }, - "e23c248f269a": { - "name": "showSortPicker", - "value": false + "e14451e7d576": { + "name": "items", + "value": [], + "sent": 1 }, - "e542d7c9af9f": { - "name": "showGitHubProjectPicker", - "value": false + "e406aef763e4": { + "name": "reset-items", + "value": { + "$rpc": "null" + }, + "sent": 1 }, "e5662efa8968": { "name": "preflight.check#1", @@ -946,14 +1188,27 @@ "name": "ui.get#1", "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"ui.get\"}" }, + "e69b48c9e675": { + "name": "pendingHostedStateChange", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "e7892a9d2423": { + "name": "showGitHubProjectFieldsPicker", + "value": false, + "sent": 1 + }, + "e8bff64c02da": { + "name": "showGitHubProjectSortPicker", + "value": false, + "sent": 0 + }, "eac54552d8bc": { "name": "settings.get#1", "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" }, - "eafaa34ddedb": { - "name": "visibleProviders", - "value": ["github", "linear"] - }, "eb79a9b3682a": { "status": "fulfilled", "startedAt": 0, @@ -962,31 +1217,56 @@ "$rpc": "undefined" } }, - "ebedcb7a3ad7": { - "name": "reset-items", - "value": { - "$rpc": "null" - } + "ecdc82ebbbe8": { + "name": "showLinearGroupPicker", + "value": false, + "sent": 1 }, "ee444fb637a3": { "name": "preflight.check#1", "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.check\"}" }, - "f19db62f49cd": { + "f1905d689cd8": { "name": "showGitLabFilterPicker", - "value": false + "value": false, + "sent": 1 }, - "f7c5ddb715d7": { - "name": "pendingProjectGitHubMerge", + "f40b9d8aa1eb": { + "name": "showLinearFilterPicker", + "value": false, + "sent": 0 + }, + "f791567b212f": { + "name": "error", + "value": "outer refused", + "sent": 1 + }, + "f87bbdb0b363": { + "name": "mergeMethodTaskItem", "value": { "$rpc": "null" - } + }, + "sent": 1 }, - "fb70d4271ae2": { - "name": "linearStatusPickerItem", - "value": { - "$rpc": "null" - } + "f95005ae133d": { + "name": "provider", + "value": "github", + "sent": 5 + }, + "fd45f6189165": { + "name": "showProviderPicker", + "value": false, + "sent": 1 + }, + "fe581ce5541b": { + "name": "showLinearConnect", + "value": false, + "sent": 1 + }, + "feb5f42359fb": { + "name": "showGitHubIssueSourcePicker", + "value": false, + "sent": 0 } }, "recording": { @@ -1014,46 +1294,46 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c" ] } }, @@ -1079,65 +1359,65 @@ }, "state": "58c52d8b7c76", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "326e3f8f7e0b", - "52bdddbac50f", - "4cc1535f7ccf", - "16f398d67267", - "b66eccd2062e", - "1410db92f7e5", - "5731a23b16cd", - "4efedb5c24f1", - "eafaa34ddedb", - "9a0f810232ef", - "a67d16a13986", - "8f287f21cfc4", - "45d50e768fcc", - "74a4162f39f8", - "8372342e5a51", - "bfd6af371d88", - "02d5832df83d", - "888c93f6f346", - "57da83afd125" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "aa095faa9afd", + "8a2b4e3d0eed", + "12b5d58423cb", + "8a3cb00faee0", + "c27ba127946c", + "947cf7373dd6", + "a63e620951f0", + "76ef2e9da242", + "01e1056d97a4", + "f95005ae133d", + "416e38ac3c1e", + "16348b11fcba", + "d225c567feae", + "586d2ff60587", + "308ffd78bb89", + "28fa1cba5d1a", + "cbb40988c5a5", + "86a763922cd7", + "9f93d78e416e" ] } }, @@ -1151,46 +1431,46 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "cffae499abea", - "bbbd4bc0a4ef" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "0615c6d05b2d", + "411208403e0a" ] } }, @@ -1204,46 +1484,46 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "cffae499abea", - "bbbd4bc0a4ef" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "0615c6d05b2d", + "411208403e0a" ] } }, @@ -1257,46 +1537,46 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "85338c16b05b", - "bbbd4bc0a4ef" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "93fc17341354", + "411208403e0a" ] } }, @@ -1310,46 +1590,46 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "85338c16b05b", - "bbbd4bc0a4ef" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "93fc17341354", + "411208403e0a" ] } }, @@ -1363,86 +1643,86 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "2c295738907d", - "8936cd17eb1c", - "ebedcb7a3ad7", - "11b132a242c1", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "442bdfe26748", - "bbbd4bc0a4ef" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "86bbfb818134", + "e14451e7d576", + "e406aef763e4", + "9f4dbc22df3d", + "a6fb391b4526", + "583933e9a7b6", + "3fe6070e65e7", + "ecdc82ebbbe8", + "dadc0af5cf1e", + "10e7a35ba71e", + "fe581ce5541b", + "fd45f6189165", + "a974df37ebab", + "11128d5b58e9", + "3b43c0d657fb", + "f1905d689cd8", + "357b179933f9", + "3805b36f637f", + "5be691f20ef4", + "06f545abab55", + "aaf6f09a8b32", + "bcade3a63a76", + "49f844d1a89f", + "ae0c3d3070af", + "e7892a9d2423", + "b40e60a6d611", + "84465663f388", + "20a77be9acef", + "407d3b639517", + "d6364fa47ecc", + "1c2a67aac7e4", + "781721955405", + "cc2e3b9c5338", + "c4a4dcb1bf28", + "52e9c7685310", + "ca02a7cacc5e", + "16c42f14f090", + "f87bbdb0b363", + "cd86c8b5ab41", + "3c5ba1b0a5d7", + "12e77f23ea9f", + "411208403e0a" ] } }, @@ -1456,86 +1736,86 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "2c295738907d", - "8936cd17eb1c", - "ebedcb7a3ad7", - "11b132a242c1", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "442bdfe26748", - "bbbd4bc0a4ef" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "86bbfb818134", + "e14451e7d576", + "e406aef763e4", + "9f4dbc22df3d", + "a6fb391b4526", + "583933e9a7b6", + "3fe6070e65e7", + "ecdc82ebbbe8", + "dadc0af5cf1e", + "10e7a35ba71e", + "fe581ce5541b", + "fd45f6189165", + "a974df37ebab", + "11128d5b58e9", + "3b43c0d657fb", + "f1905d689cd8", + "357b179933f9", + "3805b36f637f", + "5be691f20ef4", + "06f545abab55", + "aaf6f09a8b32", + "bcade3a63a76", + "49f844d1a89f", + "ae0c3d3070af", + "e7892a9d2423", + "b40e60a6d611", + "84465663f388", + "20a77be9acef", + "407d3b639517", + "d6364fa47ecc", + "1c2a67aac7e4", + "781721955405", + "cc2e3b9c5338", + "c4a4dcb1bf28", + "52e9c7685310", + "ca02a7cacc5e", + "16c42f14f090", + "f87bbdb0b363", + "cd86c8b5ab41", + "3c5ba1b0a5d7", + "12e77f23ea9f", + "411208403e0a" ] } }, @@ -1549,86 +1829,86 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "2c295738907d", - "8936cd17eb1c", - "ebedcb7a3ad7", - "11b132a242c1", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "442bdfe26748", - "bbbd4bc0a4ef" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "86bbfb818134", + "e14451e7d576", + "e406aef763e4", + "9f4dbc22df3d", + "a6fb391b4526", + "583933e9a7b6", + "3fe6070e65e7", + "ecdc82ebbbe8", + "dadc0af5cf1e", + "10e7a35ba71e", + "fe581ce5541b", + "fd45f6189165", + "a974df37ebab", + "11128d5b58e9", + "3b43c0d657fb", + "f1905d689cd8", + "357b179933f9", + "3805b36f637f", + "5be691f20ef4", + "06f545abab55", + "aaf6f09a8b32", + "bcade3a63a76", + "49f844d1a89f", + "ae0c3d3070af", + "e7892a9d2423", + "b40e60a6d611", + "84465663f388", + "20a77be9acef", + "407d3b639517", + "d6364fa47ecc", + "1c2a67aac7e4", + "781721955405", + "cc2e3b9c5338", + "c4a4dcb1bf28", + "52e9c7685310", + "ca02a7cacc5e", + "16c42f14f090", + "f87bbdb0b363", + "cd86c8b5ab41", + "3c5ba1b0a5d7", + "12e77f23ea9f", + "411208403e0a" ] } }, @@ -1642,86 +1922,86 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "2c295738907d", - "8936cd17eb1c", - "ebedcb7a3ad7", - "11b132a242c1", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "442bdfe26748", - "bbbd4bc0a4ef" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "86bbfb818134", + "e14451e7d576", + "e406aef763e4", + "9f4dbc22df3d", + "a6fb391b4526", + "583933e9a7b6", + "3fe6070e65e7", + "ecdc82ebbbe8", + "dadc0af5cf1e", + "10e7a35ba71e", + "fe581ce5541b", + "fd45f6189165", + "a974df37ebab", + "11128d5b58e9", + "3b43c0d657fb", + "f1905d689cd8", + "357b179933f9", + "3805b36f637f", + "5be691f20ef4", + "06f545abab55", + "aaf6f09a8b32", + "bcade3a63a76", + "49f844d1a89f", + "ae0c3d3070af", + "e7892a9d2423", + "b40e60a6d611", + "84465663f388", + "20a77be9acef", + "407d3b639517", + "d6364fa47ecc", + "1c2a67aac7e4", + "781721955405", + "cc2e3b9c5338", + "c4a4dcb1bf28", + "52e9c7685310", + "ca02a7cacc5e", + "16c42f14f090", + "f87bbdb0b363", + "cd86c8b5ab41", + "3c5ba1b0a5d7", + "12e77f23ea9f", + "411208403e0a" ] } }, @@ -1735,86 +2015,86 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "2c295738907d", - "8936cd17eb1c", - "ebedcb7a3ad7", - "11b132a242c1", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "442bdfe26748", - "bbbd4bc0a4ef" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "86bbfb818134", + "e14451e7d576", + "e406aef763e4", + "9f4dbc22df3d", + "a6fb391b4526", + "583933e9a7b6", + "3fe6070e65e7", + "ecdc82ebbbe8", + "dadc0af5cf1e", + "10e7a35ba71e", + "fe581ce5541b", + "fd45f6189165", + "a974df37ebab", + "11128d5b58e9", + "3b43c0d657fb", + "f1905d689cd8", + "357b179933f9", + "3805b36f637f", + "5be691f20ef4", + "06f545abab55", + "aaf6f09a8b32", + "bcade3a63a76", + "49f844d1a89f", + "ae0c3d3070af", + "e7892a9d2423", + "b40e60a6d611", + "84465663f388", + "20a77be9acef", + "407d3b639517", + "d6364fa47ecc", + "1c2a67aac7e4", + "781721955405", + "cc2e3b9c5338", + "c4a4dcb1bf28", + "52e9c7685310", + "ca02a7cacc5e", + "16c42f14f090", + "f87bbdb0b363", + "cd86c8b5ab41", + "3c5ba1b0a5d7", + "12e77f23ea9f", + "411208403e0a" ] } }, @@ -1828,86 +2108,86 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "2c295738907d", - "8936cd17eb1c", - "ebedcb7a3ad7", - "11b132a242c1", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "442bdfe26748", - "bbbd4bc0a4ef" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "86bbfb818134", + "e14451e7d576", + "e406aef763e4", + "9f4dbc22df3d", + "a6fb391b4526", + "583933e9a7b6", + "3fe6070e65e7", + "ecdc82ebbbe8", + "dadc0af5cf1e", + "10e7a35ba71e", + "fe581ce5541b", + "fd45f6189165", + "a974df37ebab", + "11128d5b58e9", + "3b43c0d657fb", + "f1905d689cd8", + "357b179933f9", + "3805b36f637f", + "5be691f20ef4", + "06f545abab55", + "aaf6f09a8b32", + "bcade3a63a76", + "49f844d1a89f", + "ae0c3d3070af", + "e7892a9d2423", + "b40e60a6d611", + "84465663f388", + "20a77be9acef", + "407d3b639517", + "d6364fa47ecc", + "1c2a67aac7e4", + "781721955405", + "cc2e3b9c5338", + "c4a4dcb1bf28", + "52e9c7685310", + "ca02a7cacc5e", + "16c42f14f090", + "f87bbdb0b363", + "cd86c8b5ab41", + "3c5ba1b0a5d7", + "12e77f23ea9f", + "411208403e0a" ] } }, @@ -1921,46 +2201,46 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "ba65a7abe43b", - "bbbd4bc0a4ef" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "f791567b212f", + "411208403e0a" ] } }, @@ -1974,46 +2254,46 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "ba65a7abe43b", - "bbbd4bc0a4ef" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "f791567b212f", + "411208403e0a" ] } }, @@ -2027,46 +2307,46 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "82cd71d524c8", - "bbbd4bc0a4ef" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "d48d5c49486c", + "411208403e0a" ] } }, @@ -2080,46 +2360,46 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "82cd71d524c8", - "bbbd4bc0a4ef" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "d48d5c49486c", + "411208403e0a" ] } }, @@ -2133,46 +2413,46 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "186f44bc465a", - "bbbd4bc0a4ef" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "b53c339a3854", + "411208403e0a" ] } }, @@ -2186,46 +2466,46 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "186f44bc465a", - "bbbd4bc0a4ef" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "b53c339a3854", + "411208403e0a" ] } }, @@ -2239,46 +2519,46 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "945ea389c1ef", - "bbbd4bc0a4ef" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "198ac889ae28", + "411208403e0a" ] } }, @@ -2292,46 +2572,46 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "945ea389c1ef", - "bbbd4bc0a4ef" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "198ac889ae28", + "411208403e0a" ] } }, @@ -2345,46 +2625,46 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "82cd71d524c8", - "bbbd4bc0a4ef" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "d48d5c49486c", + "411208403e0a" ] } }, @@ -2398,46 +2678,46 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "82cd71d524c8", - "bbbd4bc0a4ef" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "d48d5c49486c", + "411208403e0a" ] } } diff --git a/mobile/rpc-foundation/goldens/matrix-settings.task-hydration-ui.get-1.json b/mobile/rpc-foundation/goldens/matrix-settings.task-hydration-ui.get-1.json index ce339e45ed0..a4eca7c36ee 100644 --- a/mobile/rpc-foundation/goldens/matrix-settings.task-hydration-ui.get-1.json +++ b/mobile/rpc-foundation/goldens/matrix-settings.task-hydration-ui.get-1.json @@ -3,9 +3,9 @@ "family": "settings.task-hydration", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "4438f9fd62876333bb980157612aaf457c5a9b9115659c8c941c3b373ad071dd", "platform": "darwin", @@ -13,10 +13,6 @@ "projectionVersion": 2, "goldenFormatVersion": 5, "values": { - "002ad269dd44": { - "name": "showLinearConnect", - "value": false - }, "0039f2221403": { "name": "ui.get#1", "args": [ @@ -48,17 +44,24 @@ } } }, - "02d5832df83d": { - "name": "query", - "value": "is:issue is:open" + "00eea9f3200b": { + "name": "pendingGitHubProjectViewSelection", + "value": { + "$rpc": "null" + }, + "sent": 0 }, - "03f32b62aa80": { - "name": "showGitHubProjectViewPicker", - "value": false + "01e1056d97a4": { + "name": "visibleProviders", + "value": ["github", "linear"], + "sent": 5 }, - "068f4fd0ad0c": { - "name": "showRepoPicker", - "value": false + "073647d24ac4": { + "name": "actionItem", + "value": { + "$rpc": "null" + }, + "sent": 0 }, "090c88478661": { "name": "settings.get#1", @@ -85,19 +88,15 @@ "startedAt": 0 } }, - "12388aa75326": { - "name": "projectRowItem", - "value": { - "$rpc": "null" - } + "12b5d58423cb": { + "name": "githubProjectHiddenFieldIdsByView", + "value": {}, + "sent": 5 }, - "1410db92f7e5": { - "name": "linearTeams", - "value": [] - }, - "16f398d67267": { - "name": "linearConnected", - "value": false + "16348b11fcba": { + "name": "defaultGitHubPreset", + "value": "issues", + "sent": 5 }, "1825a87a7ca8": { "hydrated": false, @@ -109,9 +108,15 @@ "visibleTaskProviders": ["github", "linear"] } }, - "1b3fd2de141f": { - "name": "showLinearOrderPicker", - "value": false + "1dffb3fe8cd8": { + "name": "showLinearDisplayPicker", + "value": false, + "sent": 0 + }, + "1e1de8badcac": { + "name": "showLinearConnect", + "value": false, + "sent": 0 }, "1e5b32902af7": { "name": "status.get#1", @@ -150,9 +155,10 @@ } } }, - "1f96a2f943c0": { + "1fd209dc12de": { "name": "showGitLabViewPicker", - "value": false + "value": false, + "sent": 0 }, "234fabe27913": { "name": "preflight.check#1", @@ -179,33 +185,44 @@ "startedAt": 0 } }, - "29b675c48636": { - "name": "error", - "value": "Cannot read properties of undefined (reading 'ui')" - }, - "321a59c40cce": { - "name": "showProviderPicker", - "value": false - }, - "326e3f8f7e0b": { - "name": "runtimeTaskSettings", + "28fa1cba5d1a": { + "name": "githubProjectSettings", "value": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } + "activeProject": { + "$rpc": "null" + }, + "lastViewByProject": {}, + "pinned": [], + "recent": [] + }, + "sent": 5 }, - "32d752320864": { - "name": "error", - "value": "Cannot read properties of null (reading 'ui')" + "2c04c960ee94": { + "name": "showLinearTeamPicker", + "value": false, + "sent": 0 }, - "347cc433c473": { - "name": "projectRowDetail", + "2e442e4df37c": { + "name": "showGitHubProjectFieldsPicker", + "value": false, + "sent": 0 + }, + "308ffd78bb89": { + "name": "linearFilter", + "value": "all", + "sent": 5 + }, + "334b82d94582": { + "name": "linearStatusPickerItem", "value": { "$rpc": "null" - } + }, + "sent": 0 + }, + "345762fe1fa4": { + "name": "showLinearOrderPicker", + "value": false, + "sent": 0 }, "3567f6da3a57": { "name": "ui.get#1", @@ -240,13 +257,10 @@ } } }, - "367b8fc27ba4": { - "name": "showLinearViewPicker", - "value": false - }, - "38721e31cbb4": { - "name": "showGitHubProjectSortPicker", - "value": false + "3adce6077ae5": { + "name": "showCreateTargetPicker", + "value": false, + "sent": 0 }, "3d09c833d11e": { "name": "ui.get#1", @@ -282,57 +296,49 @@ } } }, - "3e610f908f29": { - "name": "showCreateTask", - "value": false + "40eabccc0362": { + "name": "showProviderPicker", + "value": false, + "sent": 0 }, - "3e9fac4d6c32": { - "name": "showLinearTeamPicker", - "value": false + "416e38ac3c1e": { + "name": "githubMode", + "value": "items", + "sent": 5 }, - "42d2e0167dad": { - "name": "pendingGitHubProjectViewSelection", + "4174675282eb": { + "name": "error", + "value": "transport failure", + "sent": 5 + }, + "41be2620a06b": { + "name": "reset-workspace", "value": { "$rpc": "null" - } + }, + "sent": 0 }, - "45d50e768fcc": { - "name": "githubPreset", - "value": "issues" - }, - "4a435aea04b4": { - "name": "showLinearFilterPicker", - "value": false - }, - "4cc1535f7ccf": { - "name": "githubProjectHiddenFieldIdsByView", - "value": {} - }, - "4efedb5c24f1": { - "name": "selectedLinearWorkspaceId", - "value": { - "$rpc": "null" - } - }, - "5093ceeca936": { - "name": "showGitHubPagePicker", - "value": false - }, - "52bdddbac50f": { - "name": "trustedOrcaHooks", - "value": {} - }, - "54ea1a00a461": { - "name": "showGitHubProjectFieldsPicker", - "value": false - }, - "5731a23b16cd": { - "name": "selectedLinearTeamIds", - "value": [] - }, - "57da83afd125": { + "4976dfca54f0": { "name": "taskStateHydrated", - "value": true + "value": false, + "sent": 5 + }, + "546c38d1781a": { + "name": "mergeMethodProjectRow", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "58140f732f03": { + "name": "showLinearWorkspacePicker", + "value": false, + "sent": 0 + }, + "586d2ff60587": { + "name": "githubKind", + "value": "issues", + "sent": 5 }, "58c52d8b7c76": { "hydrated": true, @@ -380,12 +386,13 @@ } } }, - "5b1145eb3832": { + "5e05b4814013": { "name": "tasksSupportState", "value": { "client": "logical-client", "kind": "supported" - } + }, + "sent": 1 }, "5fbdd64c75bc": { "name": "ui.get#1", @@ -412,6 +419,19 @@ "startedAt": 0 } }, + "63b9d87881e1": { + "name": "tasksSupportState", + "value": { + "client": "logical-client", + "kind": "unknown" + }, + "sent": 0 + }, + "6ba526833af0": { + "name": "error", + "value": "", + "sent": 5 + }, "6f30f8b6f3d7": { "name": "status.get#1", "args": [ @@ -479,16 +499,6 @@ } } }, - "740d91a30846": { - "name": "pendingHostedStateChange", - "value": { - "$rpc": "null" - } - }, - "74a4162f39f8": { - "name": "githubKind", - "value": "issues" - }, "757d36f7d7c1": { "name": "ui.get#1", "args": [ @@ -520,29 +530,61 @@ } } }, - "7d341b2cb946": { - "name": "detailPayload", - "value": { - "$rpc": "null" - } - }, - "7f2e001f13e7": { + "758b8c1db523": { "name": "projectRepoNotInOrca", "value": { "$rpc": "null" - } + }, + "sent": 0 }, - "82cd71d524c8": { - "name": "error", - "value": "" + "76ef2e9da242": { + "name": "selectedLinearWorkspaceId", + "value": { + "$rpc": "null" + }, + "sent": 5 }, - "8372342e5a51": { - "name": "linearFilter", - "value": "all" + "78a159d9a918": { + "name": "showGitHubProjectViewPicker", + "value": false, + "sent": 0 }, - "888c93f6f346": { + "85beb8cfde14": { + "name": "mergeMethodTaskItem", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "86a763922cd7": { "name": "appliedQuery", - "value": "is:issue is:open" + "value": "is:issue is:open", + "sent": 5 + }, + "8832da75be8d": { + "name": "showGitHubPagePicker", + "value": false, + "sent": 0 + }, + "886ccf2737c7": { + "name": "showSortPicker", + "value": false, + "sent": 0 + }, + "8a2b4e3d0eed": { + "name": "trustedOrcaHooks", + "value": {}, + "sent": 5 + }, + "8a3cb00faee0": { + "name": "linearConnected", + "value": false, + "sent": 5 + }, + "8bffd530660b": { + "name": "error", + "value": "Cannot read properties of undefined (reading 'ui')", + "sent": 5 }, "8c5d1428d987": { "name": "ui.get#1", @@ -577,6 +619,11 @@ } } }, + "8cbbbcca9b6e": { + "name": "error", + "value": "Cannot read properties of null (reading 'ui')", + "sent": 5 + }, "8e434f3798db": { "name": "ui.get#1", "args": [ @@ -611,33 +658,63 @@ } } }, - "8f287f21cfc4": { - "name": "defaultGitHubPreset", - "value": "issues" - }, - "945ea389c1ef": { - "name": "error", - "value": "transport failure" - }, - "977e1de1ac2f": { - "name": "mergeMethodTaskItem", + "8e5298b22c5f": { + "name": "projectRowDetail", "value": { "$rpc": "null" - } + }, + "sent": 0 }, - "991081048cc2": { - "name": "reset-workspace", + "921e10a277e7": { + "name": "pendingHostedMerge", "value": { "$rpc": "null" - } + }, + "sent": 0 }, - "9a0f810232ef": { - "name": "provider", - "value": "github" + "947cf7373dd6": { + "name": "linearTeams", + "value": [], + "sent": 5 }, - "a211e64f0900": { + "9b1d9febbcf6": { "name": "showLinearGroupPicker", - "value": false + "value": false, + "sent": 0 + }, + "9bd1de5d9753": { + "name": "detailPayload", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "9cc2d35c57dc": { + "name": "showGitLabFilterPicker", + "value": false, + "sent": 0 + }, + "9e19e2a66126": { + "name": "showRepoPicker", + "value": false, + "sent": 0 + }, + "9f93d78e416e": { + "name": "taskStateHydrated", + "value": true, + "sent": 5 + }, + "a060c9ebc224": { + "name": "pendingProjectGitHubMerge", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "a2cc59889dc0": { + "name": "showGitHubKindPicker", + "value": false, + "sent": 0 }, "a4760ef5a9f4": { "name": "linear.status#1", @@ -664,9 +741,26 @@ "startedAt": 0 } }, - "a67d16a13986": { - "name": "githubMode", - "value": "items" + "a63e620951f0": { + "name": "selectedLinearTeamIds", + "value": [], + "sent": 5 + }, + "a91aca142b2e": { + "name": "showCreateTask", + "value": false, + "sent": 0 + }, + "aa095faa9afd": { + "name": "runtimeTaskSettings", + "value": { + "defaultTuiAgent": "codex", + "disabledTuiAgents": ["claude"], + "hostSettingOverrides": {}, + "prBotAuthorOverrides": ["bot-user"], + "visibleTaskProviders": ["github", "linear"] + }, + "sent": 5 }, "aa624b10c314": { "name": "linear.status#1", @@ -735,77 +829,56 @@ "name": "linear.status#1", "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" }, - "ac9996319e05": { - "name": "actionItem", + "b341e832c60d": { + "name": "projectRowItem", "value": { "$rpc": "null" - } + }, + "sent": 0 }, - "afdf1ac21a92": { - "name": "showCreateTargetPicker", - "value": false - }, - "b66eccd2062e": { - "name": "linearWorkspaces", - "value": [] - }, - "b7c9b524edd4": { - "name": "pendingHostedMerge", - "value": { - "$rpc": "null" - } - }, - "b80be68cd059": { - "name": "showGitHubKindPicker", - "value": false - }, - "b82f9e80bd6a": { - "name": "showGitHubPresetPicker", - "value": false - }, - "b8ca6ac0e3ec": { - "name": "showLinearWorkspacePicker", - "value": false - }, - "bbbd4bc0a4ef": { + "b9481aea1fae": { "name": "taskStateHydrated", - "value": false + "value": false, + "sent": 0 }, - "bc6d9aaa835c": { - "name": "showLinearDisplayPicker", - "value": false + "c0016b5b1033": { + "name": "showGitHubProjectPicker", + "value": false, + "sent": 0 }, - "bfd6af371d88": { - "name": "githubProjectSettings", - "value": { - "activeProject": { - "$rpc": "null" - }, - "lastViewByProject": {}, - "pinned": [], - "recent": [] - } + "c27ba127946c": { + "name": "linearWorkspaces", + "value": [], + "sent": 5 }, "c6178e6a0f4e": { "hydrated": false, "settings": {} }, - "c78894b47bfd": { - "name": "mergeMethodProjectRow", - "value": { - "$rpc": "null" - } + "c7fb67dfaaa0": { + "name": "showLinearViewPicker", + "value": false, + "sent": 0 }, - "ce5f2125a8c4": { - "name": "tasksSupportState", - "value": { - "client": "logical-client", - "kind": "unknown" - } + "cbb40988c5a5": { + "name": "query", + "value": "is:issue is:open", + "sent": 5 }, - "d47b67d8f357": { - "name": "showGitHubIssueSourcePicker", - "value": false + "d225c567feae": { + "name": "githubPreset", + "value": "issues", + "sent": 5 + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "d4d3179bb79e": { + "name": "showGitHubPresetPicker", + "value": false, + "sent": 0 }, "d705fce957e8": { "name": "settings.get#1", @@ -846,14 +919,6 @@ } } }, - "e23c248f269a": { - "name": "showSortPicker", - "value": false - }, - "e542d7c9af9f": { - "name": "showGitHubProjectPicker", - "value": false - }, "e5662efa8968": { "name": "preflight.check#1", "args": [ @@ -893,14 +958,22 @@ "name": "ui.get#1", "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"ui.get\"}" }, + "e69b48c9e675": { + "name": "pendingHostedStateChange", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "e8bff64c02da": { + "name": "showGitHubProjectSortPicker", + "value": false, + "sent": 0 + }, "eac54552d8bc": { "name": "settings.get#1", "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" }, - "eafaa34ddedb": { - "name": "visibleProviders", - "value": ["github", "linear"] - }, "eb79a9b3682a": { "status": "fulfilled", "startedAt": 0, @@ -913,10 +986,6 @@ "name": "preflight.check#1", "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.check\"}" }, - "f19db62f49cd": { - "name": "showGitLabFilterPicker", - "value": false - }, "f2b6195abacc": { "name": "ui.get#1", "args": [ @@ -951,17 +1020,20 @@ } } }, - "f7c5ddb715d7": { - "name": "pendingProjectGitHubMerge", - "value": { - "$rpc": "null" - } + "f40b9d8aa1eb": { + "name": "showLinearFilterPicker", + "value": false, + "sent": 0 }, - "fb70d4271ae2": { - "name": "linearStatusPickerItem", - "value": { - "$rpc": "null" - } + "f95005ae133d": { + "name": "provider", + "value": "github", + "sent": 5 + }, + "feb5f42359fb": { + "name": "showGitHubIssueSourcePicker", + "value": false, + "sent": 0 } }, "recording": { @@ -989,46 +1061,46 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c" ] } }, @@ -1054,65 +1126,65 @@ }, "state": "58c52d8b7c76", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "326e3f8f7e0b", - "52bdddbac50f", - "4cc1535f7ccf", - "16f398d67267", - "b66eccd2062e", - "1410db92f7e5", - "5731a23b16cd", - "4efedb5c24f1", - "eafaa34ddedb", - "9a0f810232ef", - "a67d16a13986", - "8f287f21cfc4", - "45d50e768fcc", - "74a4162f39f8", - "8372342e5a51", - "bfd6af371d88", - "02d5832df83d", - "888c93f6f346", - "57da83afd125" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "aa095faa9afd", + "8a2b4e3d0eed", + "12b5d58423cb", + "8a3cb00faee0", + "c27ba127946c", + "947cf7373dd6", + "a63e620951f0", + "76ef2e9da242", + "01e1056d97a4", + "f95005ae133d", + "416e38ac3c1e", + "16348b11fcba", + "d225c567feae", + "586d2ff60587", + "308ffd78bb89", + "28fa1cba5d1a", + "cbb40988c5a5", + "86a763922cd7", + "9f93d78e416e" ] } }, @@ -1138,49 +1210,49 @@ }, "state": "1825a87a7ca8", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "326e3f8f7e0b", - "29b675c48636", - "bbbd4bc0a4ef" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "aa095faa9afd", + "8bffd530660b", + "4976dfca54f0" ] } }, @@ -1206,49 +1278,49 @@ }, "state": "1825a87a7ca8", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "326e3f8f7e0b", - "32d752320864", - "bbbd4bc0a4ef" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "aa095faa9afd", + "8cbbbcca9b6e", + "4976dfca54f0" ] } }, @@ -1274,65 +1346,65 @@ }, "state": "58c52d8b7c76", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "326e3f8f7e0b", - "52bdddbac50f", - "4cc1535f7ccf", - "16f398d67267", - "b66eccd2062e", - "1410db92f7e5", - "5731a23b16cd", - "4efedb5c24f1", - "eafaa34ddedb", - "9a0f810232ef", - "a67d16a13986", - "8f287f21cfc4", - "45d50e768fcc", - "74a4162f39f8", - "8372342e5a51", - "bfd6af371d88", - "02d5832df83d", - "888c93f6f346", - "57da83afd125" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "aa095faa9afd", + "8a2b4e3d0eed", + "12b5d58423cb", + "8a3cb00faee0", + "c27ba127946c", + "947cf7373dd6", + "a63e620951f0", + "76ef2e9da242", + "01e1056d97a4", + "f95005ae133d", + "416e38ac3c1e", + "16348b11fcba", + "d225c567feae", + "586d2ff60587", + "308ffd78bb89", + "28fa1cba5d1a", + "cbb40988c5a5", + "86a763922cd7", + "9f93d78e416e" ] } }, @@ -1358,65 +1430,65 @@ }, "state": "58c52d8b7c76", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "326e3f8f7e0b", - "52bdddbac50f", - "4cc1535f7ccf", - "16f398d67267", - "b66eccd2062e", - "1410db92f7e5", - "5731a23b16cd", - "4efedb5c24f1", - "eafaa34ddedb", - "9a0f810232ef", - "a67d16a13986", - "8f287f21cfc4", - "45d50e768fcc", - "74a4162f39f8", - "8372342e5a51", - "bfd6af371d88", - "02d5832df83d", - "888c93f6f346", - "57da83afd125" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "aa095faa9afd", + "8a2b4e3d0eed", + "12b5d58423cb", + "8a3cb00faee0", + "c27ba127946c", + "947cf7373dd6", + "a63e620951f0", + "76ef2e9da242", + "01e1056d97a4", + "f95005ae133d", + "416e38ac3c1e", + "16348b11fcba", + "d225c567feae", + "586d2ff60587", + "308ffd78bb89", + "28fa1cba5d1a", + "cbb40988c5a5", + "86a763922cd7", + "9f93d78e416e" ] } }, @@ -1442,65 +1514,65 @@ }, "state": "58c52d8b7c76", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "326e3f8f7e0b", - "52bdddbac50f", - "4cc1535f7ccf", - "16f398d67267", - "b66eccd2062e", - "1410db92f7e5", - "5731a23b16cd", - "4efedb5c24f1", - "eafaa34ddedb", - "9a0f810232ef", - "a67d16a13986", - "8f287f21cfc4", - "45d50e768fcc", - "74a4162f39f8", - "8372342e5a51", - "bfd6af371d88", - "02d5832df83d", - "888c93f6f346", - "57da83afd125" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "aa095faa9afd", + "8a2b4e3d0eed", + "12b5d58423cb", + "8a3cb00faee0", + "c27ba127946c", + "947cf7373dd6", + "a63e620951f0", + "76ef2e9da242", + "01e1056d97a4", + "f95005ae133d", + "416e38ac3c1e", + "16348b11fcba", + "d225c567feae", + "586d2ff60587", + "308ffd78bb89", + "28fa1cba5d1a", + "cbb40988c5a5", + "86a763922cd7", + "9f93d78e416e" ] } }, @@ -1526,65 +1598,65 @@ }, "state": "58c52d8b7c76", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "326e3f8f7e0b", - "52bdddbac50f", - "4cc1535f7ccf", - "16f398d67267", - "b66eccd2062e", - "1410db92f7e5", - "5731a23b16cd", - "4efedb5c24f1", - "eafaa34ddedb", - "9a0f810232ef", - "a67d16a13986", - "8f287f21cfc4", - "45d50e768fcc", - "74a4162f39f8", - "8372342e5a51", - "bfd6af371d88", - "02d5832df83d", - "888c93f6f346", - "57da83afd125" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "aa095faa9afd", + "8a2b4e3d0eed", + "12b5d58423cb", + "8a3cb00faee0", + "c27ba127946c", + "947cf7373dd6", + "a63e620951f0", + "76ef2e9da242", + "01e1056d97a4", + "f95005ae133d", + "416e38ac3c1e", + "16348b11fcba", + "d225c567feae", + "586d2ff60587", + "308ffd78bb89", + "28fa1cba5d1a", + "cbb40988c5a5", + "86a763922cd7", + "9f93d78e416e" ] } }, @@ -1610,65 +1682,65 @@ }, "state": "58c52d8b7c76", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "326e3f8f7e0b", - "52bdddbac50f", - "4cc1535f7ccf", - "16f398d67267", - "b66eccd2062e", - "1410db92f7e5", - "5731a23b16cd", - "4efedb5c24f1", - "eafaa34ddedb", - "9a0f810232ef", - "a67d16a13986", - "8f287f21cfc4", - "45d50e768fcc", - "74a4162f39f8", - "8372342e5a51", - "bfd6af371d88", - "02d5832df83d", - "888c93f6f346", - "57da83afd125" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "aa095faa9afd", + "8a2b4e3d0eed", + "12b5d58423cb", + "8a3cb00faee0", + "c27ba127946c", + "947cf7373dd6", + "a63e620951f0", + "76ef2e9da242", + "01e1056d97a4", + "f95005ae133d", + "416e38ac3c1e", + "16348b11fcba", + "d225c567feae", + "586d2ff60587", + "308ffd78bb89", + "28fa1cba5d1a", + "cbb40988c5a5", + "86a763922cd7", + "9f93d78e416e" ] } }, @@ -1694,65 +1766,65 @@ }, "state": "58c52d8b7c76", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "326e3f8f7e0b", - "52bdddbac50f", - "4cc1535f7ccf", - "16f398d67267", - "b66eccd2062e", - "1410db92f7e5", - "5731a23b16cd", - "4efedb5c24f1", - "eafaa34ddedb", - "9a0f810232ef", - "a67d16a13986", - "8f287f21cfc4", - "45d50e768fcc", - "74a4162f39f8", - "8372342e5a51", - "bfd6af371d88", - "02d5832df83d", - "888c93f6f346", - "57da83afd125" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "aa095faa9afd", + "8a2b4e3d0eed", + "12b5d58423cb", + "8a3cb00faee0", + "c27ba127946c", + "947cf7373dd6", + "a63e620951f0", + "76ef2e9da242", + "01e1056d97a4", + "f95005ae133d", + "416e38ac3c1e", + "16348b11fcba", + "d225c567feae", + "586d2ff60587", + "308ffd78bb89", + "28fa1cba5d1a", + "cbb40988c5a5", + "86a763922cd7", + "9f93d78e416e" ] } }, @@ -1778,48 +1850,48 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "945ea389c1ef", - "bbbd4bc0a4ef" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "4174675282eb", + "4976dfca54f0" ] } }, @@ -1845,48 +1917,48 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "82cd71d524c8", - "bbbd4bc0a4ef" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "6ba526833af0", + "4976dfca54f0" ] } } diff --git a/mobile/rpc-foundation/goldens/matrix-settings.task-workspace-create-settings.get-1.json b/mobile/rpc-foundation/goldens/matrix-settings.task-workspace-create-settings.get-1.json index a26c457561d..73f4aba43ec 100644 --- a/mobile/rpc-foundation/goldens/matrix-settings.task-workspace-create-settings.get-1.json +++ b/mobile/rpc-foundation/goldens/matrix-settings.task-workspace-create-settings.get-1.json @@ -3,9 +3,9 @@ "family": "settings.task-workspace-create", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "411f2288f09b7940ceb46304c7fc3325e248bf009ff3a7cc12839d521cfad599", "scenarioSha256": "7e4c5bb29e0f630cda8a09233575b9295e485f3d3e315ebdc0458c69515fcfc7", "platform": "darwin", @@ -13,12 +13,15 @@ "projectionVersion": 2, "goldenFormatVersion": 5, "values": { - "067cef118d9f": { - "name": "runtimeTaskSettings", - "value": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": [] - } + "01533f698bc3": { + "name": "workspaceAgent", + "value": "codex", + "sent": 1 + }, + "05ed43b996fb": { + "name": "navigation", + "value": "/h/host-1/session/wt-1?name=ORC-1+Recorded+issue&created=1", + "sent": 2 }, "090c88478661": { "name": "settings.get#1", @@ -158,11 +161,12 @@ } } }, - "180125f5d1a6": { + "1847f1d16cc3": { "name": "workspaceCreateDraft", "value": { "$rpc": "null" - } + }, + "sent": 2 }, "2473f12c7cdd": { "name": "settings.get#1", @@ -200,6 +204,11 @@ } } }, + "2a3409305e35": { + "name": "creatingKey", + "value": "linear:1", + "sent": 0 + }, "2b3aa0da0852": { "name": "settings.get#1", "args": [ @@ -241,13 +250,12 @@ "disabledTuiAgents": [] } }, - "3405a06dce84": { - "name": "error", - "value": "Selected agent is disabled. Choose an enabled agent before creating." - }, - "3f453dd79b03": { - "name": "workspaceAgent", - "value": "codex" + "3542b2dc7cf4": { + "name": "creatingKey", + "value": { + "$rpc": "null" + }, + "sent": 1 }, "6a98511b6371": { "name": "settings.get#1", @@ -283,16 +291,6 @@ } } }, - "6eb4e79ad99a": { - "name": "setupPrompt", - "value": { - "$rpc": "null" - } - }, - "730f92993963": { - "name": "creatingKey", - "value": "linear:1" - }, "7abdfe20af50": { "creating": "linear:1", "error": "", @@ -304,14 +302,6 @@ "name": "settings.get#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" }, - "7ee99993a895": { - "name": "navigation", - "value": "/h/host-1/session/wt-1?name=ORC-1+Recorded+issue&created=1" - }, - "82cd71d524c8": { - "name": "error", - "value": "" - }, "8b77098df0c3": { "name": "settings.get#1", "args": [ @@ -381,11 +371,29 @@ "status": "pending", "startedAt": 0 }, - "ac9996319e05": { - "name": "actionItem", + "94d10e7369a8": { + "name": "setupPrompt", "value": { "$rpc": "null" - } + }, + "sent": 2 + }, + "98260d6be053": { + "name": "workspaceAgentOverridden", + "value": false, + "sent": 1 + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "a1c21422795e": { + "name": "creatingKey", + "value": { + "$rpc": "null" + }, + "sent": 2 }, "adec34c2065c": { "creating": { @@ -394,6 +402,13 @@ "error": "", "settings": {} }, + "b3786fd78eba": { + "name": "actionItem", + "value": { + "$rpc": "null" + }, + "sent": 2 + }, "b759ab27e4dd": { "name": "settings.get#1", "args": [ @@ -432,12 +447,6 @@ "name": "worktree.create#1", "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.create\",\"params\":{\"repo\":\"id:repo-1\",\"name\":\"orc-1\",\"displayName\":\"ORC-1 Recorded issue\",\"displayNameKind\":\"generated\",\"linkedLinearIssue\":\"ORC-1\",\"setupDecision\":\"inherit\",\"activate\":true,\"startupDraft\":\"https://linear.app/orca/issue/ORC-1\",\"createdWithAgent\":\"claude\"}}" }, - "c9cb32059b8d": { - "name": "creatingKey", - "value": { - "$rpc": "null" - } - }, "d27ce798af34": { "name": "settings.get#1", "args": [ @@ -481,9 +490,13 @@ "disabledTuiAgents": ["claude"] } }, - "dae7907f03cc": { + "d78d24fff8fb": { "name": "runtimeTaskSettings", - "value": {} + "value": { + "defaultTuiAgent": "codex", + "disabledTuiAgents": [] + }, + "sent": 1 }, "e0cf1af55a54": { "name": "settings.get#1", @@ -548,9 +561,10 @@ } } }, - "ea709e13f0f0": { - "name": "workspaceAgentOverridden", - "value": false + "eaf6fe088c19": { + "name": "error", + "value": "Selected agent is disabled. Choose an enabled agent before creating.", + "sent": 1 }, "eb79a9b3682a": { "status": "fulfilled", @@ -560,6 +574,11 @@ "$rpc": "undefined" } }, + "f80ac8877eab": { + "name": "runtimeTaskSettings", + "value": {}, + "sent": 1 + }, "f84a8688af61": { "name": "settings.get#1", "args": [ @@ -605,7 +624,7 @@ "submit": "9270aeb7d9c6" }, "state": "7abdfe20af50", - "effects": ["730f92993963", "82cd71d524c8"] + "effects": ["2a3409305e35", "9e263f5e91be"] } }, { @@ -619,12 +638,12 @@ }, "state": "7abdfe20af50", "effects": [ - "730f92993963", - "82cd71d524c8", - "3f453dd79b03", - "ea709e13f0f0", - "3405a06dce84", - "c9cb32059b8d" + "2a3409305e35", + "9e263f5e91be", + "01533f698bc3", + "98260d6be053", + "eaf6fe088c19", + "3542b2dc7cf4" ] } }, @@ -639,14 +658,14 @@ }, "state": "33e3b949d4c5", "effects": [ - "730f92993963", - "82cd71d524c8", - "067cef118d9f", - "ac9996319e05", - "180125f5d1a6", - "6eb4e79ad99a", - "7ee99993a895", - "c9cb32059b8d" + "2a3409305e35", + "9e263f5e91be", + "d78d24fff8fb", + "b3786fd78eba", + "1847f1d16cc3", + "94d10e7369a8", + "05ed43b996fb", + "a1c21422795e" ] } }, @@ -661,12 +680,12 @@ }, "state": "d5df3f6b123a", "effects": [ - "730f92993963", - "82cd71d524c8", - "3f453dd79b03", - "ea709e13f0f0", - "3405a06dce84", - "c9cb32059b8d" + "2a3409305e35", + "9e263f5e91be", + "01533f698bc3", + "98260d6be053", + "eaf6fe088c19", + "3542b2dc7cf4" ] } }, @@ -681,12 +700,12 @@ }, "state": "d5df3f6b123a", "effects": [ - "730f92993963", - "82cd71d524c8", - "3f453dd79b03", - "ea709e13f0f0", - "3405a06dce84", - "c9cb32059b8d" + "2a3409305e35", + "9e263f5e91be", + "01533f698bc3", + "98260d6be053", + "eaf6fe088c19", + "3542b2dc7cf4" ] } }, @@ -701,14 +720,14 @@ }, "state": "adec34c2065c", "effects": [ - "730f92993963", - "82cd71d524c8", - "dae7907f03cc", - "ac9996319e05", - "180125f5d1a6", - "6eb4e79ad99a", - "7ee99993a895", - "c9cb32059b8d" + "2a3409305e35", + "9e263f5e91be", + "f80ac8877eab", + "b3786fd78eba", + "1847f1d16cc3", + "94d10e7369a8", + "05ed43b996fb", + "a1c21422795e" ] } }, @@ -723,14 +742,14 @@ }, "state": "adec34c2065c", "effects": [ - "730f92993963", - "82cd71d524c8", - "dae7907f03cc", - "ac9996319e05", - "180125f5d1a6", - "6eb4e79ad99a", - "7ee99993a895", - "c9cb32059b8d" + "2a3409305e35", + "9e263f5e91be", + "f80ac8877eab", + "b3786fd78eba", + "1847f1d16cc3", + "94d10e7369a8", + "05ed43b996fb", + "a1c21422795e" ] } }, @@ -745,14 +764,14 @@ }, "state": "adec34c2065c", "effects": [ - "730f92993963", - "82cd71d524c8", - "dae7907f03cc", - "ac9996319e05", - "180125f5d1a6", - "6eb4e79ad99a", - "7ee99993a895", - "c9cb32059b8d" + "2a3409305e35", + "9e263f5e91be", + "f80ac8877eab", + "b3786fd78eba", + "1847f1d16cc3", + "94d10e7369a8", + "05ed43b996fb", + "a1c21422795e" ] } }, @@ -767,12 +786,12 @@ }, "state": "d5df3f6b123a", "effects": [ - "730f92993963", - "82cd71d524c8", - "3f453dd79b03", - "ea709e13f0f0", - "3405a06dce84", - "c9cb32059b8d" + "2a3409305e35", + "9e263f5e91be", + "01533f698bc3", + "98260d6be053", + "eaf6fe088c19", + "3542b2dc7cf4" ] } }, @@ -787,12 +806,12 @@ }, "state": "d5df3f6b123a", "effects": [ - "730f92993963", - "82cd71d524c8", - "3f453dd79b03", - "ea709e13f0f0", - "3405a06dce84", - "c9cb32059b8d" + "2a3409305e35", + "9e263f5e91be", + "01533f698bc3", + "98260d6be053", + "eaf6fe088c19", + "3542b2dc7cf4" ] } }, @@ -807,12 +826,12 @@ }, "state": "d5df3f6b123a", "effects": [ - "730f92993963", - "82cd71d524c8", - "3f453dd79b03", - "ea709e13f0f0", - "3405a06dce84", - "c9cb32059b8d" + "2a3409305e35", + "9e263f5e91be", + "01533f698bc3", + "98260d6be053", + "eaf6fe088c19", + "3542b2dc7cf4" ] } }, @@ -827,12 +846,12 @@ }, "state": "d5df3f6b123a", "effects": [ - "730f92993963", - "82cd71d524c8", - "3f453dd79b03", - "ea709e13f0f0", - "3405a06dce84", - "c9cb32059b8d" + "2a3409305e35", + "9e263f5e91be", + "01533f698bc3", + "98260d6be053", + "eaf6fe088c19", + "3542b2dc7cf4" ] } }, @@ -847,12 +866,12 @@ }, "state": "d5df3f6b123a", "effects": [ - "730f92993963", - "82cd71d524c8", - "3f453dd79b03", - "ea709e13f0f0", - "3405a06dce84", - "c9cb32059b8d" + "2a3409305e35", + "9e263f5e91be", + "01533f698bc3", + "98260d6be053", + "eaf6fe088c19", + "3542b2dc7cf4" ] } } diff --git a/mobile/rpc-foundation/goldens/matrix-settings.task-workspace-create-worktree.create-1.json b/mobile/rpc-foundation/goldens/matrix-settings.task-workspace-create-worktree.create-1.json index 603e3535a72..cce5f4724f9 100644 --- a/mobile/rpc-foundation/goldens/matrix-settings.task-workspace-create-worktree.create-1.json +++ b/mobile/rpc-foundation/goldens/matrix-settings.task-workspace-create-worktree.create-1.json @@ -3,9 +3,9 @@ "family": "settings.task-workspace-create", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "411f2288f09b7940ceb46304c7fc3325e248bf009ff3a7cc12839d521cfad599", "scenarioSha256": "1d7713cf4c23d053105c2abb02340d81d5eb689f4311a0984932d8ebd031b4ce", "platform": "darwin", @@ -13,12 +13,15 @@ "projectionVersion": 2, "goldenFormatVersion": 5, "values": { - "067cef118d9f": { - "name": "runtimeTaskSettings", - "value": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": [] - } + "000516aa083b": { + "name": "error", + "value": "outer refused", + "sent": 2 + }, + "05ed43b996fb": { + "name": "navigation", + "value": "/h/host-1/session/wt-1?name=ORC-1+Recorded+issue&created=1", + "sent": 2 }, "090c88478661": { "name": "settings.get#1", @@ -130,19 +133,12 @@ } } }, - "12b9d0436b8a": { - "name": "error", - "value": "Cannot read properties of undefined (reading 'displayName')" - }, - "180125f5d1a6": { + "1847f1d16cc3": { "name": "workspaceCreateDraft", "value": { "$rpc": "null" - } - }, - "186f44bc465a": { - "name": "error", - "value": "Unknown method" + }, + "sent": 2 }, "1bb065c2a768": { "creating": { @@ -190,9 +186,10 @@ } } }, - "2e80de97dd3b": { - "name": "error", - "value": "Cannot read properties of null (reading 'worktree')" + "2a3409305e35": { + "name": "creatingKey", + "value": "linear:1", + "sent": 0 }, "2f13b6f74cc6": { "name": "worktree.create#1", @@ -334,9 +331,15 @@ } } }, - "5b8e61be1638": { + "52d25e1f3035": { "name": "error", - "value": "Cannot read properties of undefined (reading 'worktree')" + "value": "Connection closed", + "sent": 2 + }, + "5c2874ad80bc": { + "name": "error", + "value": "transport failure", + "sent": 2 }, "67b44e804cc9": { "creating": { @@ -348,16 +351,6 @@ "disabledTuiAgents": [] } }, - "6eb4e79ad99a": { - "name": "setupPrompt", - "value": { - "$rpc": "null" - } - }, - "730f92993963": { - "name": "creatingKey", - "value": "linear:1" - }, "7abdfe20af50": { "creating": "linear:1", "error": "", @@ -379,14 +372,6 @@ "name": "settings.get#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" }, - "7ee99993a895": { - "name": "navigation", - "value": "/h/host-1/session/wt-1?name=ORC-1+Recorded+issue&created=1" - }, - "82cd71d524c8": { - "name": "error", - "value": "" - }, "841ba02855c9": { "name": "worktree.create#1", "args": [ @@ -471,9 +456,12 @@ "status": "pending", "startedAt": 0 }, - "945ea389c1ef": { - "name": "error", - "value": "transport failure" + "94d10e7369a8": { + "name": "setupPrompt", + "value": { + "$rpc": "null" + }, + "sent": 2 }, "97348f3fe285": { "creating": { @@ -495,15 +483,22 @@ "disabledTuiAgents": [] } }, - "9f82f10075a3": { + "9c1c52015127": { "name": "error", - "value": "Connection closed" + "value": "Cannot read properties of undefined (reading 'displayName')", + "sent": 2 }, - "ac9996319e05": { - "name": "actionItem", + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "a1c21422795e": { + "name": "creatingKey", "value": { "$rpc": "null" - } + }, + "sent": 2 }, "adfc4e9a82be": { "name": "worktree.create#1", @@ -547,9 +542,22 @@ } } }, - "ba65a7abe43b": { + "b3786fd78eba": { + "name": "actionItem", + "value": { + "$rpc": "null" + }, + "sent": 2 + }, + "b3a953a16323": { "name": "error", - "value": "outer refused" + "value": "Cannot read properties of undefined (reading 'worktree')", + "sent": 2 + }, + "b57ded8a3ea3": { + "name": "error", + "value": "", + "sent": 2 }, "baa74a0ec378": { "name": "worktree.create#1", @@ -597,11 +605,18 @@ } } }, - "c9cb32059b8d": { - "name": "creatingKey", + "d78d24fff8fb": { + "name": "runtimeTaskSettings", "value": { - "$rpc": "null" - } + "defaultTuiAgent": "codex", + "disabledTuiAgents": [] + }, + "sent": 1 + }, + "de6ba73b810c": { + "name": "error", + "value": "Cannot read properties of null (reading 'worktree')", + "sent": 2 }, "eb44ca9ac41f": { "name": "worktree.create#1", @@ -658,6 +673,11 @@ "disabledTuiAgents": [] } }, + "f1cfc2d1bcc1": { + "name": "error", + "value": "Unknown method", + "sent": 2 + }, "f73b6faeedba": { "name": "worktree.create#1", "args": [ @@ -757,7 +777,7 @@ "submit": "9270aeb7d9c6" }, "state": "7abdfe20af50", - "effects": ["730f92993963", "82cd71d524c8"] + "effects": ["2a3409305e35", "9e263f5e91be"] } }, { @@ -771,11 +791,11 @@ }, "state": "eecc0c1b6490", "effects": [ - "730f92993963", - "82cd71d524c8", - "067cef118d9f", - "9f82f10075a3", - "c9cb32059b8d" + "2a3409305e35", + "9e263f5e91be", + "d78d24fff8fb", + "52d25e1f3035", + "a1c21422795e" ] } }, @@ -790,14 +810,14 @@ }, "state": "33e3b949d4c5", "effects": [ - "730f92993963", - "82cd71d524c8", - "067cef118d9f", - "ac9996319e05", - "180125f5d1a6", - "6eb4e79ad99a", - "7ee99993a895", - "c9cb32059b8d" + "2a3409305e35", + "9e263f5e91be", + "d78d24fff8fb", + "b3786fd78eba", + "1847f1d16cc3", + "94d10e7369a8", + "05ed43b996fb", + "a1c21422795e" ] } }, @@ -812,14 +832,14 @@ }, "state": "97348f3fe285", "effects": [ - "730f92993963", - "82cd71d524c8", - "067cef118d9f", - "ac9996319e05", - "180125f5d1a6", - "6eb4e79ad99a", - "5b8e61be1638", - "c9cb32059b8d" + "2a3409305e35", + "9e263f5e91be", + "d78d24fff8fb", + "b3786fd78eba", + "1847f1d16cc3", + "94d10e7369a8", + "b3a953a16323", + "a1c21422795e" ] } }, @@ -834,14 +854,14 @@ }, "state": "67b44e804cc9", "effects": [ - "730f92993963", - "82cd71d524c8", - "067cef118d9f", - "ac9996319e05", - "180125f5d1a6", - "6eb4e79ad99a", - "2e80de97dd3b", - "c9cb32059b8d" + "2a3409305e35", + "9e263f5e91be", + "d78d24fff8fb", + "b3786fd78eba", + "1847f1d16cc3", + "94d10e7369a8", + "de6ba73b810c", + "a1c21422795e" ] } }, @@ -856,14 +876,14 @@ }, "state": "97dc8fc98386", "effects": [ - "730f92993963", - "82cd71d524c8", - "067cef118d9f", - "ac9996319e05", - "180125f5d1a6", - "6eb4e79ad99a", - "12b9d0436b8a", - "c9cb32059b8d" + "2a3409305e35", + "9e263f5e91be", + "d78d24fff8fb", + "b3786fd78eba", + "1847f1d16cc3", + "94d10e7369a8", + "9c1c52015127", + "a1c21422795e" ] } }, @@ -878,14 +898,14 @@ }, "state": "97dc8fc98386", "effects": [ - "730f92993963", - "82cd71d524c8", - "067cef118d9f", - "ac9996319e05", - "180125f5d1a6", - "6eb4e79ad99a", - "12b9d0436b8a", - "c9cb32059b8d" + "2a3409305e35", + "9e263f5e91be", + "d78d24fff8fb", + "b3786fd78eba", + "1847f1d16cc3", + "94d10e7369a8", + "9c1c52015127", + "a1c21422795e" ] } }, @@ -900,14 +920,14 @@ }, "state": "97dc8fc98386", "effects": [ - "730f92993963", - "82cd71d524c8", - "067cef118d9f", - "ac9996319e05", - "180125f5d1a6", - "6eb4e79ad99a", - "12b9d0436b8a", - "c9cb32059b8d" + "2a3409305e35", + "9e263f5e91be", + "d78d24fff8fb", + "b3786fd78eba", + "1847f1d16cc3", + "94d10e7369a8", + "9c1c52015127", + "a1c21422795e" ] } }, @@ -922,11 +942,11 @@ }, "state": "7b27297e7f2d", "effects": [ - "730f92993963", - "82cd71d524c8", - "067cef118d9f", - "ba65a7abe43b", - "c9cb32059b8d" + "2a3409305e35", + "9e263f5e91be", + "d78d24fff8fb", + "000516aa083b", + "a1c21422795e" ] } }, @@ -941,11 +961,11 @@ }, "state": "33e3b949d4c5", "effects": [ - "730f92993963", - "82cd71d524c8", - "067cef118d9f", - "82cd71d524c8", - "c9cb32059b8d" + "2a3409305e35", + "9e263f5e91be", + "d78d24fff8fb", + "b57ded8a3ea3", + "a1c21422795e" ] } }, @@ -960,11 +980,11 @@ }, "state": "1bb065c2a768", "effects": [ - "730f92993963", - "82cd71d524c8", - "067cef118d9f", - "186f44bc465a", - "c9cb32059b8d" + "2a3409305e35", + "9e263f5e91be", + "d78d24fff8fb", + "f1cfc2d1bcc1", + "a1c21422795e" ] } }, @@ -979,11 +999,11 @@ }, "state": "2fac0da15fae", "effects": [ - "730f92993963", - "82cd71d524c8", - "067cef118d9f", - "945ea389c1ef", - "c9cb32059b8d" + "2a3409305e35", + "9e263f5e91be", + "d78d24fff8fb", + "5c2874ad80bc", + "a1c21422795e" ] } }, @@ -998,11 +1018,11 @@ }, "state": "33e3b949d4c5", "effects": [ - "730f92993963", - "82cd71d524c8", - "067cef118d9f", - "82cd71d524c8", - "c9cb32059b8d" + "2a3409305e35", + "9e263f5e91be", + "d78d24fff8fb", + "b57ded8a3ea3", + "a1c21422795e" ] } } diff --git a/mobile/rpc-foundation/goldens/matrix-settings.task-workspace-settings.get-1.json b/mobile/rpc-foundation/goldens/matrix-settings.task-workspace-settings.get-1.json index 5e2a9fb63d9..900ee5c2c3c 100644 --- a/mobile/rpc-foundation/goldens/matrix-settings.task-workspace-settings.get-1.json +++ b/mobile/rpc-foundation/goldens/matrix-settings.task-workspace-settings.get-1.json @@ -3,9 +3,9 @@ "family": "settings.task-workspace", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "411f2288f09b7940ceb46304c7fc3325e248bf009ff3a7cc12839d521cfad599", "scenarioSha256": "994ea8b4ddb05774a8c2d5902bb68bf5e8f25399a787262b8f23f458f2790698", "platform": "darwin", @@ -13,6 +13,11 @@ "projectionVersion": 2, "goldenFormatVersion": 5, "values": { + "01533f698bc3": { + "name": "workspaceAgent", + "value": "codex", + "sent": 1 + }, "090c88478661": { "name": "settings.get#1", "args": [ @@ -107,6 +112,28 @@ } } }, + "2a3409305e35": { + "name": "creatingKey", + "value": "linear:1", + "sent": 0 + }, + "2a5e2689bf37": { + "name": "setupPrompt", + "value": { + "agentOverride": "claude", + "command": "setup", + "item": { + "key": "linear:1", + "provider": "linear", + "source": { + "id": "issue-1" + } + }, + "repoName": "Repo", + "source": "repo" + }, + "sent": 1 + }, "2b3aa0da0852": { "name": "settings.get#1", "args": [ @@ -138,7 +165,7 @@ } } }, - "326e3f8f7e0b": { + "2d957a8af6b3": { "name": "runtimeTaskSettings", "value": { "defaultTuiAgent": "codex", @@ -146,15 +173,15 @@ "hostSettingOverrides": {}, "prBotAuthorOverrides": ["bot-user"], "visibleTaskProviders": ["github", "linear"] - } + }, + "sent": 1 }, - "3405a06dce84": { - "name": "error", - "value": "Selected agent is disabled. Choose an enabled agent before creating." - }, - "3f453dd79b03": { - "name": "workspaceAgent", - "value": "codex" + "3542b2dc7cf4": { + "name": "creatingKey", + "value": { + "$rpc": "null" + }, + "sent": 1 }, "6a98511b6371": { "name": "settings.get#1", @@ -190,10 +217,6 @@ } } }, - "730f92993963": { - "name": "creatingKey", - "value": "linear:1" - }, "7abdfe20af50": { "creating": "linear:1", "error": "", @@ -244,10 +267,6 @@ "name": "settings.get#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" }, - "82cd71d524c8": { - "name": "error", - "value": "" - }, "8b77098df0c3": { "name": "settings.get#1", "args": [ @@ -330,6 +349,16 @@ "status": "pending", "startedAt": 0 }, + "98260d6be053": { + "name": "workspaceAgentOverridden", + "value": false, + "sent": 1 + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, "adec34c2065c": { "creating": { "$rpc": "null" @@ -337,22 +366,6 @@ "error": "", "settings": {} }, - "b4aa36380c40": { - "name": "setupPrompt", - "value": { - "agentOverride": "claude", - "command": "setup", - "item": { - "key": "linear:1", - "provider": "linear", - "source": { - "id": "issue-1" - } - }, - "repoName": "Repo", - "source": "repo" - } - }, "b759ab27e4dd": { "name": "settings.get#1", "args": [ @@ -387,12 +400,6 @@ } } }, - "c9cb32059b8d": { - "name": "creatingKey", - "value": { - "$rpc": "null" - } - }, "d27ce798af34": { "name": "settings.get#1", "args": [ @@ -436,10 +443,6 @@ "disabledTuiAgents": ["claude"] } }, - "dae7907f03cc": { - "name": "runtimeTaskSettings", - "value": {} - }, "e0cf1af55a54": { "name": "settings.get#1", "args": [ @@ -503,9 +506,10 @@ } } }, - "ea709e13f0f0": { - "name": "workspaceAgentOverridden", - "value": false + "eaf6fe088c19": { + "name": "error", + "value": "Selected agent is disabled. Choose an enabled agent before creating.", + "sent": 1 }, "eb79a9b3682a": { "status": "fulfilled", @@ -515,6 +519,11 @@ "$rpc": "undefined" } }, + "f80ac8877eab": { + "name": "runtimeTaskSettings", + "value": {}, + "sent": 1 + }, "f84a8688af61": { "name": "settings.get#1", "args": [ @@ -560,7 +569,7 @@ "submit": "9270aeb7d9c6" }, "state": "7abdfe20af50", - "effects": ["730f92993963", "82cd71d524c8"] + "effects": ["2a3409305e35", "9e263f5e91be"] } }, { @@ -574,12 +583,12 @@ }, "state": "7abdfe20af50", "effects": [ - "730f92993963", - "82cd71d524c8", - "3f453dd79b03", - "ea709e13f0f0", - "3405a06dce84", - "c9cb32059b8d" + "2a3409305e35", + "9e263f5e91be", + "01533f698bc3", + "98260d6be053", + "eaf6fe088c19", + "3542b2dc7cf4" ] } }, @@ -594,13 +603,13 @@ }, "state": "8b8197eed660", "effects": [ - "730f92993963", - "82cd71d524c8", - "326e3f8f7e0b", - "3f453dd79b03", - "ea709e13f0f0", - "3405a06dce84", - "c9cb32059b8d" + "2a3409305e35", + "9e263f5e91be", + "2d957a8af6b3", + "01533f698bc3", + "98260d6be053", + "eaf6fe088c19", + "3542b2dc7cf4" ] } }, @@ -615,12 +624,12 @@ }, "state": "d5df3f6b123a", "effects": [ - "730f92993963", - "82cd71d524c8", - "3f453dd79b03", - "ea709e13f0f0", - "3405a06dce84", - "c9cb32059b8d" + "2a3409305e35", + "9e263f5e91be", + "01533f698bc3", + "98260d6be053", + "eaf6fe088c19", + "3542b2dc7cf4" ] } }, @@ -635,12 +644,12 @@ }, "state": "d5df3f6b123a", "effects": [ - "730f92993963", - "82cd71d524c8", - "3f453dd79b03", - "ea709e13f0f0", - "3405a06dce84", - "c9cb32059b8d" + "2a3409305e35", + "9e263f5e91be", + "01533f698bc3", + "98260d6be053", + "eaf6fe088c19", + "3542b2dc7cf4" ] } }, @@ -655,11 +664,11 @@ }, "state": "adec34c2065c", "effects": [ - "730f92993963", - "82cd71d524c8", - "dae7907f03cc", - "b4aa36380c40", - "c9cb32059b8d" + "2a3409305e35", + "9e263f5e91be", + "f80ac8877eab", + "2a5e2689bf37", + "3542b2dc7cf4" ] } }, @@ -674,11 +683,11 @@ }, "state": "adec34c2065c", "effects": [ - "730f92993963", - "82cd71d524c8", - "dae7907f03cc", - "b4aa36380c40", - "c9cb32059b8d" + "2a3409305e35", + "9e263f5e91be", + "f80ac8877eab", + "2a5e2689bf37", + "3542b2dc7cf4" ] } }, @@ -693,11 +702,11 @@ }, "state": "adec34c2065c", "effects": [ - "730f92993963", - "82cd71d524c8", - "dae7907f03cc", - "b4aa36380c40", - "c9cb32059b8d" + "2a3409305e35", + "9e263f5e91be", + "f80ac8877eab", + "2a5e2689bf37", + "3542b2dc7cf4" ] } }, @@ -712,12 +721,12 @@ }, "state": "d5df3f6b123a", "effects": [ - "730f92993963", - "82cd71d524c8", - "3f453dd79b03", - "ea709e13f0f0", - "3405a06dce84", - "c9cb32059b8d" + "2a3409305e35", + "9e263f5e91be", + "01533f698bc3", + "98260d6be053", + "eaf6fe088c19", + "3542b2dc7cf4" ] } }, @@ -732,12 +741,12 @@ }, "state": "d5df3f6b123a", "effects": [ - "730f92993963", - "82cd71d524c8", - "3f453dd79b03", - "ea709e13f0f0", - "3405a06dce84", - "c9cb32059b8d" + "2a3409305e35", + "9e263f5e91be", + "01533f698bc3", + "98260d6be053", + "eaf6fe088c19", + "3542b2dc7cf4" ] } }, @@ -752,12 +761,12 @@ }, "state": "d5df3f6b123a", "effects": [ - "730f92993963", - "82cd71d524c8", - "3f453dd79b03", - "ea709e13f0f0", - "3405a06dce84", - "c9cb32059b8d" + "2a3409305e35", + "9e263f5e91be", + "01533f698bc3", + "98260d6be053", + "eaf6fe088c19", + "3542b2dc7cf4" ] } }, @@ -772,12 +781,12 @@ }, "state": "d5df3f6b123a", "effects": [ - "730f92993963", - "82cd71d524c8", - "3f453dd79b03", - "ea709e13f0f0", - "3405a06dce84", - "c9cb32059b8d" + "2a3409305e35", + "9e263f5e91be", + "01533f698bc3", + "98260d6be053", + "eaf6fe088c19", + "3542b2dc7cf4" ] } }, @@ -792,12 +801,12 @@ }, "state": "d5df3f6b123a", "effects": [ - "730f92993963", - "82cd71d524c8", - "3f453dd79b03", - "ea709e13f0f0", - "3405a06dce84", - "c9cb32059b8d" + "2a3409305e35", + "9e263f5e91be", + "01533f698bc3", + "98260d6be053", + "eaf6fe088c19", + "3542b2dc7cf4" ] } } diff --git a/mobile/rpc-foundation/goldens/matrix-settings.workspace-context-linear.status-1.json b/mobile/rpc-foundation/goldens/matrix-settings.workspace-context-linear.status-1.json index 783270cf37d..77b9d2f1c37 100644 --- a/mobile/rpc-foundation/goldens/matrix-settings.workspace-context-linear.status-1.json +++ b/mobile/rpc-foundation/goldens/matrix-settings.workspace-context-linear.status-1.json @@ -3,9 +3,9 @@ "family": "settings.workspace-context", "namedDeltas": ["new-workspace-runtime-context-null-results-degrade-to-absent"], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "30b3f8d79589e9fb3d7ef804233554fa231f68ab88e5130ddfa78e79221e3c78", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/matrix-settings.workspace-context-preflight.check-1.json b/mobile/rpc-foundation/goldens/matrix-settings.workspace-context-preflight.check-1.json index b1fac82a003..afdcd412917 100644 --- a/mobile/rpc-foundation/goldens/matrix-settings.workspace-context-preflight.check-1.json +++ b/mobile/rpc-foundation/goldens/matrix-settings.workspace-context-preflight.check-1.json @@ -3,9 +3,9 @@ "family": "settings.workspace-context", "namedDeltas": ["new-workspace-runtime-context-null-results-degrade-to-absent"], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "a5366cbd31d899feeb7e1901edd0c78191c2c8c8179ad5d5b24b7ca22bd538f8", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/matrix-settings.workspace-context-settings.get-1.json b/mobile/rpc-foundation/goldens/matrix-settings.workspace-context-settings.get-1.json index 2d91c6cc1d6..b7b9127de9d 100644 --- a/mobile/rpc-foundation/goldens/matrix-settings.workspace-context-settings.get-1.json +++ b/mobile/rpc-foundation/goldens/matrix-settings.workspace-context-settings.get-1.json @@ -3,9 +3,9 @@ "family": "settings.workspace-context", "namedDeltas": ["new-workspace-runtime-context-null-results-degrade-to-absent"], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "797ea410af6536410335ebe93b8bc354cd633cf980eb95efbb10bc46f5516cb7", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/matrix-settings.workspace-context-ui.get-1.json b/mobile/rpc-foundation/goldens/matrix-settings.workspace-context-ui.get-1.json index 08544474c90..0b758c48c60 100644 --- a/mobile/rpc-foundation/goldens/matrix-settings.workspace-context-ui.get-1.json +++ b/mobile/rpc-foundation/goldens/matrix-settings.workspace-context-ui.get-1.json @@ -3,9 +3,9 @@ "family": "settings.workspace-context", "namedDeltas": ["new-workspace-runtime-context-null-results-degrade-to-absent"], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "3cd29e7b6a1cdfd99796a58cf6ad6f9aa3dbac75dd6e989ea99ba6027c210028", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/matrix-settings.workspace-submit-settings.get-1.json b/mobile/rpc-foundation/goldens/matrix-settings.workspace-submit-settings.get-1.json index 47f42d572ba..c5c80b59588 100644 --- a/mobile/rpc-foundation/goldens/matrix-settings.workspace-submit-settings.get-1.json +++ b/mobile/rpc-foundation/goldens/matrix-settings.workspace-submit-settings.get-1.json @@ -3,9 +3,9 @@ "family": "settings.workspace-submit", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "411f2288f09b7940ceb46304c7fc3325e248bf009ff3a7cc12839d521cfad599", "scenarioSha256": "a89bdf93df71a958810aba72c80e42f663644781a29e934898e2ddf86c5dd5d5", "platform": "darwin", @@ -152,9 +152,23 @@ "disabledTuiAgents": ["claude"] } }, - "3405a06dce84": { + "3af6dc91992c": { + "name": "agentOverridden", + "value": false, + "sent": 1 + }, + "4c38e416e041": { + "name": "selectedAgent", + "value": { + "id": "codex", + "label": "Codex" + }, + "sent": 1 + }, + "52d25e1f3035": { "name": "error", - "value": "Selected agent is disabled. Choose an enabled agent before creating." + "value": "Connection closed", + "sent": 2 }, "588949297c83": { "name": "worktree.create#1", @@ -238,22 +252,6 @@ } } }, - "6c2789ab0e4b": { - "name": "runtimeSettings", - "value": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } - }, - "6f447a389087": { - "name": "runtimeSettings", - "value": { - "$rpc": "undefined" - } - }, "7b1c9637063f": { "creating": true, "error": "", @@ -304,10 +302,6 @@ "name": "settings.get#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" }, - "82cd71d524c8": { - "name": "error", - "value": "" - }, "8b77098df0c3": { "name": "settings.get#1", "args": [ @@ -377,13 +371,10 @@ "status": "pending", "startedAt": 0 }, - "9f82f10075a3": { + "9e263f5e91be": { "name": "error", - "value": "Connection closed" - }, - "ae291b5dba88": { - "name": "agentOverridden", - "value": false + "value": "", + "sent": 0 }, "b759ab27e4dd": { "name": "settings.get#1", @@ -419,6 +410,13 @@ } } }, + "bc17a88609c2": { + "name": "runtimeSettings", + "value": { + "$rpc": "undefined" + }, + "sent": 1 + }, "d27ce798af34": { "name": "settings.get#1", "args": [ @@ -516,12 +514,21 @@ } } }, - "eb6f7a9c5bf1": { - "name": "selectedAgent", + "ea718cd95024": { + "name": "runtimeSettings", "value": { - "id": "codex", - "label": "Codex" - } + "defaultTuiAgent": "codex", + "disabledTuiAgents": ["claude"], + "hostSettingOverrides": {}, + "prBotAuthorOverrides": ["bot-user"], + "visibleTaskProviders": ["github", "linear"] + }, + "sent": 1 + }, + "eaf6fe088c19": { + "name": "error", + "value": "Selected agent is disabled. Choose an enabled agent before creating.", + "sent": 1 }, "eb79a9b3682a": { "status": "fulfilled", @@ -611,7 +618,7 @@ "submit": "9270aeb7d9c6" }, "state": "13c996e4ec2b", - "effects": ["82cd71d524c8"] + "effects": ["9e263f5e91be"] } }, { @@ -624,7 +631,7 @@ "submit": "eb79a9b3682a" }, "state": "13c996e4ec2b", - "effects": ["82cd71d524c8", "eb6f7a9c5bf1", "ae291b5dba88", "3405a06dce84"] + "effects": ["9e263f5e91be", "4c38e416e041", "3af6dc91992c", "eaf6fe088c19"] } }, { @@ -638,11 +645,11 @@ }, "state": "5efbd884ea5a", "effects": [ - "82cd71d524c8", - "6c2789ab0e4b", - "eb6f7a9c5bf1", - "ae291b5dba88", - "3405a06dce84" + "9e263f5e91be", + "ea718cd95024", + "4c38e416e041", + "3af6dc91992c", + "eaf6fe088c19" ] } }, @@ -656,7 +663,7 @@ "submit": "eb79a9b3682a" }, "state": "2e8e352c8dd1", - "effects": ["82cd71d524c8", "eb6f7a9c5bf1", "ae291b5dba88", "3405a06dce84"] + "effects": ["9e263f5e91be", "4c38e416e041", "3af6dc91992c", "eaf6fe088c19"] } }, { @@ -669,7 +676,7 @@ "submit": "eb79a9b3682a" }, "state": "2e8e352c8dd1", - "effects": ["82cd71d524c8", "eb6f7a9c5bf1", "ae291b5dba88", "3405a06dce84"] + "effects": ["9e263f5e91be", "4c38e416e041", "3af6dc91992c", "eaf6fe088c19"] } }, { @@ -682,7 +689,7 @@ "submit": "9270aeb7d9c6" }, "state": "7b1c9637063f", - "effects": ["82cd71d524c8", "6f447a389087"] + "effects": ["9e263f5e91be", "bc17a88609c2"] } }, { @@ -695,7 +702,7 @@ "submit": "eb79a9b3682a" }, "state": "7b1c9637063f", - "effects": ["82cd71d524c8", "6f447a389087", "9f82f10075a3"] + "effects": ["9e263f5e91be", "bc17a88609c2", "52d25e1f3035"] } }, { @@ -708,7 +715,7 @@ "submit": "9270aeb7d9c6" }, "state": "7b1c9637063f", - "effects": ["82cd71d524c8", "6f447a389087"] + "effects": ["9e263f5e91be", "bc17a88609c2"] } }, { @@ -721,7 +728,7 @@ "submit": "eb79a9b3682a" }, "state": "7b1c9637063f", - "effects": ["82cd71d524c8", "6f447a389087", "9f82f10075a3"] + "effects": ["9e263f5e91be", "bc17a88609c2", "52d25e1f3035"] } }, { @@ -734,7 +741,7 @@ "submit": "9270aeb7d9c6" }, "state": "7b1c9637063f", - "effects": ["82cd71d524c8", "6f447a389087"] + "effects": ["9e263f5e91be", "bc17a88609c2"] } }, { @@ -747,7 +754,7 @@ "submit": "eb79a9b3682a" }, "state": "7b1c9637063f", - "effects": ["82cd71d524c8", "6f447a389087", "9f82f10075a3"] + "effects": ["9e263f5e91be", "bc17a88609c2", "52d25e1f3035"] } }, { @@ -760,7 +767,7 @@ "submit": "eb79a9b3682a" }, "state": "2e8e352c8dd1", - "effects": ["82cd71d524c8", "eb6f7a9c5bf1", "ae291b5dba88", "3405a06dce84"] + "effects": ["9e263f5e91be", "4c38e416e041", "3af6dc91992c", "eaf6fe088c19"] } }, { @@ -773,7 +780,7 @@ "submit": "eb79a9b3682a" }, "state": "2e8e352c8dd1", - "effects": ["82cd71d524c8", "eb6f7a9c5bf1", "ae291b5dba88", "3405a06dce84"] + "effects": ["9e263f5e91be", "4c38e416e041", "3af6dc91992c", "eaf6fe088c19"] } }, { @@ -786,7 +793,7 @@ "submit": "eb79a9b3682a" }, "state": "2e8e352c8dd1", - "effects": ["82cd71d524c8", "eb6f7a9c5bf1", "ae291b5dba88", "3405a06dce84"] + "effects": ["9e263f5e91be", "4c38e416e041", "3af6dc91992c", "eaf6fe088c19"] } }, { @@ -799,7 +806,7 @@ "submit": "eb79a9b3682a" }, "state": "2e8e352c8dd1", - "effects": ["82cd71d524c8", "eb6f7a9c5bf1", "ae291b5dba88", "3405a06dce84"] + "effects": ["9e263f5e91be", "4c38e416e041", "3af6dc91992c", "eaf6fe088c19"] } }, { @@ -812,7 +819,7 @@ "submit": "eb79a9b3682a" }, "state": "2e8e352c8dd1", - "effects": ["82cd71d524c8", "eb6f7a9c5bf1", "ae291b5dba88", "3405a06dce84"] + "effects": ["9e263f5e91be", "4c38e416e041", "3af6dc91992c", "eaf6fe088c19"] } } ] diff --git a/mobile/rpc-foundation/goldens/matrix-speech.dictation-chunk-speech.dictation.chunk-1.json b/mobile/rpc-foundation/goldens/matrix-speech.dictation-chunk-speech.dictation.chunk-1.json new file mode 100644 index 00000000000..ca8295f4c07 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-speech.dictation-chunk-speech.dictation.chunk-1.json @@ -0,0 +1,583 @@ +{ + "operation": "speech.audio-chunk", + "family": "speech.dictation-chunk", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "3ddb44511547ae2fc97340e5a49393233f6716f9704b7b994f43bc030788b25b", + "scenarioSha256": "cfc84498c2ed080ca2be50725c8ad4fac84eaf2e64ecad1445997949737da11d", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "02cebe6f0062": { + "failures": [], + "pending": 0 + }, + "24559ea7f608": { + "name": "speech.dictation.chunk#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.chunk" + }, + { + "name": "params", + "value": { + "audioBase64": "ACVKb5S53gM=", + "dictationId": "dictation-1", + "sampleRate": 16000 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "2762d465637e": { + "failures": ["Unknown method"], + "pending": 0 + }, + "28366801162a": { + "failures": ["transport failure"], + "pending": 0 + }, + "351dc95151e8": { + "name": "speech.dictation.chunk#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.chunk" + }, + { + "name": "params", + "value": { + "audioBase64": "ACVKb5S53gM=", + "dictationId": "dictation-1", + "sampleRate": 16000 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "3e346f1803ba": { + "name": "speech.dictation.chunk#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.chunk" + }, + { + "name": "params", + "value": { + "audioBase64": "ACVKb5S53gM=", + "dictationId": "dictation-1", + "sampleRate": 16000 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "48fbdc97b6b4": { + "name": "speech.dictation.chunk#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.chunk" + }, + { + "name": "params", + "value": { + "audioBase64": "ACVKb5S53gM=", + "dictationId": "dictation-1", + "sampleRate": 16000 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "64d841ddbfc2": { + "name": "speech.dictation.chunk#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.chunk" + }, + { + "name": "params", + "value": { + "audioBase64": "ACVKb5S53gM=", + "dictationId": "dictation-1", + "sampleRate": 16000 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "6afeecf90444": { + "name": "speech.dictation.chunk#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.chunk" + }, + { + "name": "params", + "value": { + "audioBase64": "ACVKb5S53gM=", + "dictationId": "dictation-1", + "sampleRate": 16000 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "6b58f71b4e01": { + "name": "speech.dictation.chunk#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.chunk" + }, + { + "name": "params", + "value": { + "audioBase64": "ACVKb5S53gM=", + "dictationId": "dictation-1", + "sampleRate": 16000 + } + }, + { + "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 + } + } + } + }, + "90af24dc404f": { + "name": "speech.dictation.chunk#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"speech.dictation.chunk\",\"params\":{\"dictationId\":\"dictation-1\",\"audioBase64\":\"ACVKb5S53gM=\",\"sampleRate\":16000}}" + }, + "9db288492eed": { + "name": "speech.dictation.chunk#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.chunk" + }, + { + "name": "params", + "value": { + "audioBase64": "ACVKb5S53gM=", + "dictationId": "dictation-1", + "sampleRate": 16000 + } + }, + { + "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 + } + } + }, + "a2f842e44f38": { + "failures": ["outer refused"], + "pending": 0 + }, + "b2ed580da421": { + "name": "speech.dictation.chunk#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.chunk" + }, + { + "name": "params", + "value": { + "audioBase64": "ACVKb5S53gM=", + "dictationId": "dictation-1", + "sampleRate": 16000 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "b5157118341f": { + "failures": [""], + "pending": 0 + }, + "bc459c132276": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": [ + { + "status": "fulfilled", + "value": { + "$rpc": "undefined" + } + } + ] + }, + "c0d15d1b2941": { + "name": "speech.dictation.chunk#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.chunk" + }, + { + "name": "params", + "value": { + "audioBase64": "ACVKb5S53gM=", + "dictationId": "dictation-1", + "sampleRate": 16000 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "received": true + } + } + } + }, + "dd747eb6f20e": { + "name": "dictation-failed", + "value": { + "id": "dictation-1" + }, + "sent": 1 + }, + "fad94b386878": { + "name": "speech.dictation.chunk#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.chunk" + }, + { + "name": "params", + "value": { + "audioBase64": "ACVKb5S53gM=", + "dictationId": "dictation-1", + "sampleRate": 16000 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + } + }, + "recording": { + "scenario": "matrix-speech.dictation-chunk-speech.dictation.chunk-1", + "checkpoints": [ + { + "id": "speech-audio-chunk-acknowledged.normal:acknowledged", + "observation": { + "sender": ["c0d15d1b2941"], + "payloads": ["90af24dc404f"], + "settlements": { + "chunk": "bc459c132276" + }, + "state": "02cebe6f0062", + "effects": [] + } + }, + { + "id": "speech-audio-chunk-acknowledged.result-absent:acknowledged", + "observation": { + "sender": ["fad94b386878"], + "payloads": ["90af24dc404f"], + "settlements": { + "chunk": "bc459c132276" + }, + "state": "02cebe6f0062", + "effects": [] + } + }, + { + "id": "speech-audio-chunk-acknowledged.result-null:acknowledged", + "observation": { + "sender": ["64d841ddbfc2"], + "payloads": ["90af24dc404f"], + "settlements": { + "chunk": "bc459c132276" + }, + "state": "02cebe6f0062", + "effects": [] + } + }, + { + "id": "speech-audio-chunk-acknowledged.inner-ok-missing:acknowledged", + "observation": { + "sender": ["6afeecf90444"], + "payloads": ["90af24dc404f"], + "settlements": { + "chunk": "bc459c132276" + }, + "state": "02cebe6f0062", + "effects": [] + } + }, + { + "id": "speech-audio-chunk-acknowledged.inner-false-string-error:acknowledged", + "observation": { + "sender": ["24559ea7f608"], + "payloads": ["90af24dc404f"], + "settlements": { + "chunk": "bc459c132276" + }, + "state": "02cebe6f0062", + "effects": [] + } + }, + { + "id": "speech-audio-chunk-acknowledged.inner-false-object-error:acknowledged", + "observation": { + "sender": ["6b58f71b4e01"], + "payloads": ["90af24dc404f"], + "settlements": { + "chunk": "bc459c132276" + }, + "state": "02cebe6f0062", + "effects": [] + } + }, + { + "id": "speech-audio-chunk-acknowledged.outer-refused:acknowledged", + "observation": { + "sender": ["351dc95151e8"], + "payloads": ["90af24dc404f"], + "settlements": { + "chunk": "bc459c132276" + }, + "state": "a2f842e44f38", + "effects": ["dd747eb6f20e"] + } + }, + { + "id": "speech-audio-chunk-acknowledged.outer-refused-no-message:acknowledged", + "observation": { + "sender": ["48fbdc97b6b4"], + "payloads": ["90af24dc404f"], + "settlements": { + "chunk": "bc459c132276" + }, + "state": "b5157118341f", + "effects": ["dd747eb6f20e"] + } + }, + { + "id": "speech-audio-chunk-acknowledged.method-not-found:acknowledged", + "observation": { + "sender": ["9db288492eed"], + "payloads": ["90af24dc404f"], + "settlements": { + "chunk": "bc459c132276" + }, + "state": "2762d465637e", + "effects": ["dd747eb6f20e"] + } + }, + { + "id": "speech-audio-chunk-acknowledged.transport-rejection:acknowledged", + "observation": { + "sender": ["3e346f1803ba"], + "payloads": ["90af24dc404f"], + "settlements": { + "chunk": "bc459c132276" + }, + "state": "28366801162a", + "effects": ["dd747eb6f20e"] + } + }, + { + "id": "speech-audio-chunk-acknowledged.transport-rejection-no-message:acknowledged", + "observation": { + "sender": ["b2ed580da421"], + "payloads": ["90af24dc404f"], + "settlements": { + "chunk": "bc459c132276" + }, + "state": "b5157118341f", + "effects": ["dd747eb6f20e"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-speech.dictation-session-speech.dictation.finish-1.json b/mobile/rpc-foundation/goldens/matrix-speech.dictation-session-speech.dictation.finish-1.json new file mode 100644 index 00000000000..df21a35185b --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-speech.dictation-session-speech.dictation.finish-1.json @@ -0,0 +1,708 @@ +{ + "operation": "speech.dictation-session", + "family": "speech.dictation-session", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "3ddb44511547ae2fc97340e5a49393233f6716f9704b7b994f43bc030788b25b", + "scenarioSha256": "f3b57e7a3d46f7ee2761ecced03e74019758172fe0a040ef5df0612c8ac18358", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "073a32801a55": { + "error": "Cannot read properties of null (reading 'text')", + "status": "error", + "transcripts": [] + }, + "0c93805fbea9": { + "name": "dictation-error", + "value": { + "message": "Cannot read properties of null (reading 'text')" + }, + "sent": 3 + }, + "11c21b92d88c": { + "error": "No speech detected.", + "status": "error", + "transcripts": [] + }, + "1206006b26c1": { + "name": "dictation-error", + "value": { + "message": "outer refused" + }, + "sent": 3 + }, + "3c7368349e13": { + "name": "speech.dictation.finish#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.finish" + }, + { + "name": "params", + "value": { + "dictationId": "mobile-dictation-1767225600000-dakoxjr8wun" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 75000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "3d2304bd31a6": { + "name": "dictation-error", + "value": { + "message": "transport failure" + }, + "sent": 3 + }, + "3fe14b61ba9c": { + "name": "speech.dictation.start#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"speech.dictation.start\",\"params\":{\"dictationId\":\"mobile-dictation-1767225600000-dakoxjr8wun\"}}" + }, + "4a8791bf23bb": { + "name": "dictation-error", + "value": { + "message": "Unknown method" + }, + "sent": 3 + }, + "4d21a93db98f": { + "error": "", + "status": "error", + "transcripts": [] + }, + "5c21b9ecd037": { + "name": "speech.dictation.cancel#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.cancel" + }, + { + "name": "params", + "value": { + "dictationId": "mobile-dictation-1767225600000-dakoxjr8wun" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "5ef2dfd4108a": { + "name": "speech.dictation.finish#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.finish" + }, + { + "name": "params", + "value": { + "dictationId": "mobile-dictation-1767225600000-dakoxjr8wun" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 75000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "text": " hello world " + } + } + } + }, + "66c94ecbfe85": { + "name": "speech.dictation.finish#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.finish" + }, + { + "name": "params", + "value": { + "dictationId": "mobile-dictation-1767225600000-dakoxjr8wun" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 75000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "6bf21bf88103": { + "error": "outer refused", + "status": "error", + "transcripts": [] + }, + "733c914832a5": { + "name": "speech.dictation.finish#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.finish" + }, + { + "name": "params", + "value": { + "dictationId": "mobile-dictation-1767225600000-dakoxjr8wun" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 75000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "74834b7e4b3b": { + "name": "dictation-error", + "value": { + "message": "" + }, + "sent": 3 + }, + "7e57b271644a": { + "name": "speech.dictation.finish#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.finish" + }, + { + "name": "params", + "value": { + "dictationId": "mobile-dictation-1767225600000-dakoxjr8wun" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 75000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "851c52f1c33e": { + "name": "speech.dictation.finish#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.finish" + }, + { + "name": "params", + "value": { + "dictationId": "mobile-dictation-1767225600000-dakoxjr8wun" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 75000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "8e2a70085ca7": { + "name": "dictation-error", + "value": { + "message": "No speech detected." + }, + "sent": 2 + }, + "8e4d6eba76de": { + "name": "dictation-error", + "value": { + "message": "Cannot read properties of undefined (reading 'text')" + }, + "sent": 3 + }, + "93e894a59a4e": { + "name": "speech.dictation.finish#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.finish" + }, + { + "name": "params", + "value": { + "dictationId": "mobile-dictation-1767225600000-dakoxjr8wun" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 75000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "a19279fc9c65": { + "error": { + "$rpc": "null" + }, + "status": "idle", + "transcripts": ["hello world"] + }, + "a1c4e9bebdd4": { + "error": "Unknown method", + "status": "error", + "transcripts": [] + }, + "a3d4b25bf713": { + "name": "speech.dictation.start#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.start" + }, + { + "name": "params", + "value": { + "dictationId": "mobile-dictation-1767225600000-dakoxjr8wun" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "started": true + } + } + } + }, + "a79e628b898b": { + "name": "speech.dictation.finish#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"speech.dictation.finish\",\"params\":{\"dictationId\":\"mobile-dictation-1767225600000-dakoxjr8wun\"}}" + }, + "ac6550e5cd05": { + "name": "speech.dictation.finish#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.finish" + }, + { + "name": "params", + "value": { + "dictationId": "mobile-dictation-1767225600000-dakoxjr8wun" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 75000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "ae04287096aa": { + "name": "speech.dictation.finish#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.finish" + }, + { + "name": "params", + "value": { + "dictationId": "mobile-dictation-1767225600000-dakoxjr8wun" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 75000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "b432c878c8da": { + "error": "Cannot read properties of undefined (reading 'text')", + "status": "error", + "transcripts": [] + }, + "bbda4a44cbe0": { + "name": "speech.dictation.cancel#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"speech.dictation.cancel\",\"params\":{\"dictationId\":\"mobile-dictation-1767225600000-dakoxjr8wun\"}}" + }, + "c72663fd883b": { + "name": "speech.dictation.finish#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.finish" + }, + { + "name": "params", + "value": { + "dictationId": "mobile-dictation-1767225600000-dakoxjr8wun" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 75000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "cafa38b4e2f3": { + "name": "speech.dictation.finish#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.finish" + }, + { + "name": "params", + "value": { + "dictationId": "mobile-dictation-1767225600000-dakoxjr8wun" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 75000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "dd2a6fe5923c": { + "error": "transport failure", + "status": "error", + "transcripts": [] + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "matrix-speech.dictation-session-speech.dictation.finish-1", + "checkpoints": [ + { + "id": "speech-dictation-session-transcript.normal:transcribed", + "observation": { + "sender": ["a3d4b25bf713", "5ef2dfd4108a"], + "payloads": ["3fe14b61ba9c", "a79e628b898b"], + "settlements": { + "mount": "eb79a9b3682a", + "start": "eb79a9b3682a", + "stop": "eb79a9b3682a" + }, + "state": "a19279fc9c65", + "effects": [] + } + }, + { + "id": "speech-dictation-session-transcript.result-absent:transcribed", + "observation": { + "sender": ["a3d4b25bf713", "851c52f1c33e", "5c21b9ecd037"], + "payloads": ["3fe14b61ba9c", "a79e628b898b", "bbda4a44cbe0"], + "settlements": { + "mount": "eb79a9b3682a", + "start": "eb79a9b3682a", + "stop": "eb79a9b3682a" + }, + "state": "b432c878c8da", + "effects": ["8e4d6eba76de"] + } + }, + { + "id": "speech-dictation-session-transcript.result-null:transcribed", + "observation": { + "sender": ["a3d4b25bf713", "733c914832a5", "5c21b9ecd037"], + "payloads": ["3fe14b61ba9c", "a79e628b898b", "bbda4a44cbe0"], + "settlements": { + "mount": "eb79a9b3682a", + "start": "eb79a9b3682a", + "stop": "eb79a9b3682a" + }, + "state": "073a32801a55", + "effects": ["0c93805fbea9"] + } + }, + { + "id": "speech-dictation-session-transcript.inner-ok-missing:transcribed", + "observation": { + "sender": ["a3d4b25bf713", "cafa38b4e2f3"], + "payloads": ["3fe14b61ba9c", "a79e628b898b"], + "settlements": { + "mount": "eb79a9b3682a", + "start": "eb79a9b3682a", + "stop": "eb79a9b3682a" + }, + "state": "11c21b92d88c", + "effects": ["8e2a70085ca7"] + } + }, + { + "id": "speech-dictation-session-transcript.inner-false-string-error:transcribed", + "observation": { + "sender": ["a3d4b25bf713", "ae04287096aa"], + "payloads": ["3fe14b61ba9c", "a79e628b898b"], + "settlements": { + "mount": "eb79a9b3682a", + "start": "eb79a9b3682a", + "stop": "eb79a9b3682a" + }, + "state": "11c21b92d88c", + "effects": ["8e2a70085ca7"] + } + }, + { + "id": "speech-dictation-session-transcript.inner-false-object-error:transcribed", + "observation": { + "sender": ["a3d4b25bf713", "c72663fd883b"], + "payloads": ["3fe14b61ba9c", "a79e628b898b"], + "settlements": { + "mount": "eb79a9b3682a", + "start": "eb79a9b3682a", + "stop": "eb79a9b3682a" + }, + "state": "11c21b92d88c", + "effects": ["8e2a70085ca7"] + } + }, + { + "id": "speech-dictation-session-transcript.outer-refused:transcribed", + "observation": { + "sender": ["a3d4b25bf713", "3c7368349e13", "5c21b9ecd037"], + "payloads": ["3fe14b61ba9c", "a79e628b898b", "bbda4a44cbe0"], + "settlements": { + "mount": "eb79a9b3682a", + "start": "eb79a9b3682a", + "stop": "eb79a9b3682a" + }, + "state": "6bf21bf88103", + "effects": ["1206006b26c1"] + } + }, + { + "id": "speech-dictation-session-transcript.outer-refused-no-message:transcribed", + "observation": { + "sender": ["a3d4b25bf713", "66c94ecbfe85", "5c21b9ecd037"], + "payloads": ["3fe14b61ba9c", "a79e628b898b", "bbda4a44cbe0"], + "settlements": { + "mount": "eb79a9b3682a", + "start": "eb79a9b3682a", + "stop": "eb79a9b3682a" + }, + "state": "4d21a93db98f", + "effects": ["74834b7e4b3b"] + } + }, + { + "id": "speech-dictation-session-transcript.method-not-found:transcribed", + "observation": { + "sender": ["a3d4b25bf713", "ac6550e5cd05", "5c21b9ecd037"], + "payloads": ["3fe14b61ba9c", "a79e628b898b", "bbda4a44cbe0"], + "settlements": { + "mount": "eb79a9b3682a", + "start": "eb79a9b3682a", + "stop": "eb79a9b3682a" + }, + "state": "a1c4e9bebdd4", + "effects": ["4a8791bf23bb"] + } + }, + { + "id": "speech-dictation-session-transcript.transport-rejection:transcribed", + "observation": { + "sender": ["a3d4b25bf713", "93e894a59a4e", "5c21b9ecd037"], + "payloads": ["3fe14b61ba9c", "a79e628b898b", "bbda4a44cbe0"], + "settlements": { + "mount": "eb79a9b3682a", + "start": "eb79a9b3682a", + "stop": "eb79a9b3682a" + }, + "state": "dd2a6fe5923c", + "effects": ["3d2304bd31a6"] + } + }, + { + "id": "speech-dictation-session-transcript.transport-rejection-no-message:transcribed", + "observation": { + "sender": ["a3d4b25bf713", "7e57b271644a", "5c21b9ecd037"], + "payloads": ["3fe14b61ba9c", "a79e628b898b", "bbda4a44cbe0"], + "settlements": { + "mount": "eb79a9b3682a", + "start": "eb79a9b3682a", + "stop": "eb79a9b3682a" + }, + "state": "4d21a93db98f", + "effects": ["74834b7e4b3b"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-speech.dictation-session-speech.dictation.start-1.json b/mobile/rpc-foundation/goldens/matrix-speech.dictation-session-speech.dictation.start-1.json new file mode 100644 index 00000000000..cba186442b6 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-speech.dictation-session-speech.dictation.start-1.json @@ -0,0 +1,635 @@ +{ + "operation": "speech.dictation-session", + "family": "speech.dictation-session", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "3ddb44511547ae2fc97340e5a49393233f6716f9704b7b994f43bc030788b25b", + "scenarioSha256": "afe7c4d2085b095cac343607db3e9cc157921c2e0b20bae53260cd207ee5e4eb", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "03ef87c361a6": { + "name": "speech.dictation.start#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.start" + }, + { + "name": "params", + "value": { + "dictationId": "mobile-dictation-1767225600000-dakoxjr8wun" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "133244b5f259": { + "name": "speech.dictation.start#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.start" + }, + { + "name": "params", + "value": { + "dictationId": "mobile-dictation-1767225600000-dakoxjr8wun" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "19545af661f2": { + "name": "speech.dictation.cancel#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"speech.dictation.cancel\",\"params\":{\"dictationId\":\"mobile-dictation-1767225600000-dakoxjr8wun\"}}" + }, + "31bfff245eea": { + "name": "speech.dictation.start#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.start" + }, + { + "name": "params", + "value": { + "dictationId": "mobile-dictation-1767225600000-dakoxjr8wun" + } + }, + { + "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 + } + } + }, + "3e46953e2718": { + "name": "speech.dictation.start#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.start" + }, + { + "name": "params", + "value": { + "dictationId": "mobile-dictation-1767225600000-dakoxjr8wun" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "3fe14b61ba9c": { + "name": "speech.dictation.start#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"speech.dictation.start\",\"params\":{\"dictationId\":\"mobile-dictation-1767225600000-dakoxjr8wun\"}}" + }, + "410f671e8571": { + "name": "speech.dictation.start#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.start" + }, + { + "name": "params", + "value": { + "dictationId": "mobile-dictation-1767225600000-dakoxjr8wun" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "5c21b9ecd037": { + "name": "speech.dictation.cancel#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.cancel" + }, + { + "name": "params", + "value": { + "dictationId": "mobile-dictation-1767225600000-dakoxjr8wun" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "5ef2dfd4108a": { + "name": "speech.dictation.finish#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.finish" + }, + { + "name": "params", + "value": { + "dictationId": "mobile-dictation-1767225600000-dakoxjr8wun" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 75000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "text": " hello world " + } + } + } + }, + "669ca80a030f": { + "name": "speech.dictation.start#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.start" + }, + { + "name": "params", + "value": { + "dictationId": "mobile-dictation-1767225600000-dakoxjr8wun" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "a19279fc9c65": { + "error": { + "$rpc": "null" + }, + "status": "idle", + "transcripts": ["hello world"] + }, + "a30fb20eccfd": { + "name": "speech.dictation.start#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.start" + }, + { + "name": "params", + "value": { + "dictationId": "mobile-dictation-1767225600000-dakoxjr8wun" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "a3d4b25bf713": { + "name": "speech.dictation.start#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.start" + }, + { + "name": "params", + "value": { + "dictationId": "mobile-dictation-1767225600000-dakoxjr8wun" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "started": true + } + } + } + }, + "a79e628b898b": { + "name": "speech.dictation.finish#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"speech.dictation.finish\",\"params\":{\"dictationId\":\"mobile-dictation-1767225600000-dakoxjr8wun\"}}" + }, + "b67ded1393a7": { + "name": "speech.dictation.start#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.start" + }, + { + "name": "params", + "value": { + "dictationId": "mobile-dictation-1767225600000-dakoxjr8wun" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "d99a7c527d94": { + "name": "speech.dictation.start#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.start" + }, + { + "name": "params", + "value": { + "dictationId": "mobile-dictation-1767225600000-dakoxjr8wun" + } + }, + { + "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 + } + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f6a74c428142": { + "error": { + "$rpc": "null" + }, + "status": "starting", + "transcripts": [] + }, + "f93fdd460783": { + "name": "speech.dictation.start#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.start" + }, + { + "name": "params", + "value": { + "dictationId": "mobile-dictation-1767225600000-dakoxjr8wun" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + } + }, + "recording": { + "scenario": "matrix-speech.dictation-session-speech.dictation.start-1", + "checkpoints": [ + { + "id": "speech-dictation-session-transcript.normal:transcribed", + "observation": { + "sender": ["a3d4b25bf713", "5ef2dfd4108a"], + "payloads": ["3fe14b61ba9c", "a79e628b898b"], + "settlements": { + "mount": "eb79a9b3682a", + "start": "eb79a9b3682a", + "stop": "eb79a9b3682a" + }, + "state": "a19279fc9c65", + "effects": [] + } + }, + { + "id": "speech-dictation-session-transcript.result-absent:transcribed", + "observation": { + "sender": ["03ef87c361a6", "5ef2dfd4108a"], + "payloads": ["3fe14b61ba9c", "a79e628b898b"], + "settlements": { + "mount": "eb79a9b3682a", + "start": "eb79a9b3682a", + "stop": "eb79a9b3682a" + }, + "state": "a19279fc9c65", + "effects": [] + } + }, + { + "id": "speech-dictation-session-transcript.result-null:transcribed", + "observation": { + "sender": ["f93fdd460783", "5ef2dfd4108a"], + "payloads": ["3fe14b61ba9c", "a79e628b898b"], + "settlements": { + "mount": "eb79a9b3682a", + "start": "eb79a9b3682a", + "stop": "eb79a9b3682a" + }, + "state": "a19279fc9c65", + "effects": [] + } + }, + { + "id": "speech-dictation-session-transcript.inner-ok-missing:transcribed", + "observation": { + "sender": ["669ca80a030f", "5ef2dfd4108a"], + "payloads": ["3fe14b61ba9c", "a79e628b898b"], + "settlements": { + "mount": "eb79a9b3682a", + "start": "eb79a9b3682a", + "stop": "eb79a9b3682a" + }, + "state": "a19279fc9c65", + "effects": [] + } + }, + { + "id": "speech-dictation-session-transcript.inner-false-string-error:transcribed", + "observation": { + "sender": ["b67ded1393a7", "5ef2dfd4108a"], + "payloads": ["3fe14b61ba9c", "a79e628b898b"], + "settlements": { + "mount": "eb79a9b3682a", + "start": "eb79a9b3682a", + "stop": "eb79a9b3682a" + }, + "state": "a19279fc9c65", + "effects": [] + } + }, + { + "id": "speech-dictation-session-transcript.inner-false-object-error:transcribed", + "observation": { + "sender": ["d99a7c527d94", "5ef2dfd4108a"], + "payloads": ["3fe14b61ba9c", "a79e628b898b"], + "settlements": { + "mount": "eb79a9b3682a", + "start": "eb79a9b3682a", + "stop": "eb79a9b3682a" + }, + "state": "a19279fc9c65", + "effects": [] + } + }, + { + "id": "speech-dictation-session-transcript.outer-refused:transcribed", + "observation": { + "sender": ["410f671e8571", "5c21b9ecd037"], + "payloads": ["3fe14b61ba9c", "19545af661f2"], + "settlements": { + "mount": "eb79a9b3682a", + "start": "9270aeb7d9c6", + "stop": "eb79a9b3682a" + }, + "state": "f6a74c428142", + "effects": [] + } + }, + { + "id": "speech-dictation-session-transcript.outer-refused-no-message:transcribed", + "observation": { + "sender": ["a30fb20eccfd", "5c21b9ecd037"], + "payloads": ["3fe14b61ba9c", "19545af661f2"], + "settlements": { + "mount": "eb79a9b3682a", + "start": "9270aeb7d9c6", + "stop": "eb79a9b3682a" + }, + "state": "f6a74c428142", + "effects": [] + } + }, + { + "id": "speech-dictation-session-transcript.method-not-found:transcribed", + "observation": { + "sender": ["31bfff245eea", "5c21b9ecd037"], + "payloads": ["3fe14b61ba9c", "19545af661f2"], + "settlements": { + "mount": "eb79a9b3682a", + "start": "9270aeb7d9c6", + "stop": "eb79a9b3682a" + }, + "state": "f6a74c428142", + "effects": [] + } + }, + { + "id": "speech-dictation-session-transcript.transport-rejection:transcribed", + "observation": { + "sender": ["3e46953e2718", "5c21b9ecd037"], + "payloads": ["3fe14b61ba9c", "19545af661f2"], + "settlements": { + "mount": "eb79a9b3682a", + "start": "9270aeb7d9c6", + "stop": "eb79a9b3682a" + }, + "state": "f6a74c428142", + "effects": [] + } + }, + { + "id": "speech-dictation-session-transcript.transport-rejection-no-message:transcribed", + "observation": { + "sender": ["133244b5f259", "5c21b9ecd037"], + "payloads": ["3fe14b61ba9c", "19545af661f2"], + "settlements": { + "mount": "eb79a9b3682a", + "start": "9270aeb7d9c6", + "stop": "eb79a9b3682a" + }, + "state": "f6a74c428142", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-speech.dictation-start-speech.dictation.cancel-1.json b/mobile/rpc-foundation/goldens/matrix-speech.dictation-start-speech.dictation.cancel-1.json new file mode 100644 index 00000000000..1f61027b7e9 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-speech.dictation-start-speech.dictation.cancel-1.json @@ -0,0 +1,590 @@ +{ + "operation": "speech.desktop-start", + "family": "speech.dictation-start", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "3ddb44511547ae2fc97340e5a49393233f6716f9704b7b994f43bc030788b25b", + "scenarioSha256": "ef890c668aded545c5423322aeaab0e0715ff80d5f76c6512d6579e277853f6c", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "195cab46ce8e": { + "name": "speech.dictation.cancel#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.cancel" + }, + { + "name": "params", + "value": { + "dictationId": "dictation-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "2c06ef299dba": { + "name": "speech.dictation.cancel#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.cancel" + }, + { + "name": "params", + "value": { + "dictationId": "dictation-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "2d0a00315cb6": { + "name": "speech.dictation.cancel#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.cancel" + }, + { + "name": "params", + "value": { + "dictationId": "dictation-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "43eb5a277ab8": { + "name": "speech.dictation.cancel#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.cancel" + }, + { + "name": "params", + "value": { + "dictationId": "dictation-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "58ed4d5abdf0": { + "name": "speech.dictation.cancel#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.cancel" + }, + { + "name": "params", + "value": { + "dictationId": "dictation-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "cancelled": true + } + } + } + }, + "7ed3d39f0607": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": false + }, + "84794daca96b": { + "name": "speech.dictation.cancel#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.cancel" + }, + { + "name": "params", + "value": { + "dictationId": "dictation-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "934c27800758": { + "name": "speech.dictation.cancel#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.cancel" + }, + { + "name": "params", + "value": { + "dictationId": "dictation-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "9cacf4553e49": { + "name": "speech.dictation.cancel#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.cancel" + }, + { + "name": "params", + "value": { + "dictationId": "dictation-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "a78a87e09f05": { + "name": "speech.dictation.cancel#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"speech.dictation.cancel\",\"params\":{\"dictationId\":\"dictation-1\"}}" + }, + "bbe508ab7f95": { + "name": "speech.dictation.start#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.start" + }, + { + "name": "params", + "value": { + "dictationId": "dictation-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "started": true + } + } + } + }, + "c742dd428fd0": { + "name": "speech.dictation.cancel#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.cancel" + }, + { + "name": "params", + "value": { + "dictationId": "dictation-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "d4e067bbbe7c": { + "name": "speech.dictation.cancel#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.cancel" + }, + { + "name": "params", + "value": { + "dictationId": "dictation-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "e0fcd8f8c1a9": { + "activeId": { + "$rpc": "null" + }, + "idle": false, + "started": false + }, + "e1538fe51a1e": { + "name": "speech.dictation.start#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"speech.dictation.start\",\"params\":{\"dictationId\":\"dictation-1\"}}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ff829d6d4f1a": { + "name": "speech.dictation.cancel#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.cancel" + }, + { + "name": "params", + "value": { + "dictationId": "dictation-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + } + }, + "recording": { + "scenario": "matrix-speech.dictation-start-speech.dictation.cancel-1", + "checkpoints": [ + { + "id": "speech-desktop-start-superseded.normal:stale-start-cancelled", + "observation": { + "sender": ["bbe508ab7f95", "58ed4d5abdf0"], + "payloads": ["e1538fe51a1e", "a78a87e09f05"], + "settlements": { + "supersede": "eb79a9b3682a", + "start": "7ed3d39f0607" + }, + "state": "e0fcd8f8c1a9", + "effects": [] + } + }, + { + "id": "speech-desktop-start-superseded.result-absent:stale-start-cancelled", + "observation": { + "sender": ["bbe508ab7f95", "c742dd428fd0"], + "payloads": ["e1538fe51a1e", "a78a87e09f05"], + "settlements": { + "supersede": "eb79a9b3682a", + "start": "7ed3d39f0607" + }, + "state": "e0fcd8f8c1a9", + "effects": [] + } + }, + { + "id": "speech-desktop-start-superseded.result-null:stale-start-cancelled", + "observation": { + "sender": ["bbe508ab7f95", "9cacf4553e49"], + "payloads": ["e1538fe51a1e", "a78a87e09f05"], + "settlements": { + "supersede": "eb79a9b3682a", + "start": "7ed3d39f0607" + }, + "state": "e0fcd8f8c1a9", + "effects": [] + } + }, + { + "id": "speech-desktop-start-superseded.inner-ok-missing:stale-start-cancelled", + "observation": { + "sender": ["bbe508ab7f95", "2c06ef299dba"], + "payloads": ["e1538fe51a1e", "a78a87e09f05"], + "settlements": { + "supersede": "eb79a9b3682a", + "start": "7ed3d39f0607" + }, + "state": "e0fcd8f8c1a9", + "effects": [] + } + }, + { + "id": "speech-desktop-start-superseded.inner-false-string-error:stale-start-cancelled", + "observation": { + "sender": ["bbe508ab7f95", "ff829d6d4f1a"], + "payloads": ["e1538fe51a1e", "a78a87e09f05"], + "settlements": { + "supersede": "eb79a9b3682a", + "start": "7ed3d39f0607" + }, + "state": "e0fcd8f8c1a9", + "effects": [] + } + }, + { + "id": "speech-desktop-start-superseded.inner-false-object-error:stale-start-cancelled", + "observation": { + "sender": ["bbe508ab7f95", "2d0a00315cb6"], + "payloads": ["e1538fe51a1e", "a78a87e09f05"], + "settlements": { + "supersede": "eb79a9b3682a", + "start": "7ed3d39f0607" + }, + "state": "e0fcd8f8c1a9", + "effects": [] + } + }, + { + "id": "speech-desktop-start-superseded.outer-refused:stale-start-cancelled", + "observation": { + "sender": ["bbe508ab7f95", "934c27800758"], + "payloads": ["e1538fe51a1e", "a78a87e09f05"], + "settlements": { + "supersede": "eb79a9b3682a", + "start": "7ed3d39f0607" + }, + "state": "e0fcd8f8c1a9", + "effects": [] + } + }, + { + "id": "speech-desktop-start-superseded.outer-refused-no-message:stale-start-cancelled", + "observation": { + "sender": ["bbe508ab7f95", "d4e067bbbe7c"], + "payloads": ["e1538fe51a1e", "a78a87e09f05"], + "settlements": { + "supersede": "eb79a9b3682a", + "start": "7ed3d39f0607" + }, + "state": "e0fcd8f8c1a9", + "effects": [] + } + }, + { + "id": "speech-desktop-start-superseded.method-not-found:stale-start-cancelled", + "observation": { + "sender": ["bbe508ab7f95", "43eb5a277ab8"], + "payloads": ["e1538fe51a1e", "a78a87e09f05"], + "settlements": { + "supersede": "eb79a9b3682a", + "start": "7ed3d39f0607" + }, + "state": "e0fcd8f8c1a9", + "effects": [] + } + }, + { + "id": "speech-desktop-start-superseded.transport-rejection:stale-start-cancelled", + "observation": { + "sender": ["bbe508ab7f95", "195cab46ce8e"], + "payloads": ["e1538fe51a1e", "a78a87e09f05"], + "settlements": { + "supersede": "eb79a9b3682a", + "start": "7ed3d39f0607" + }, + "state": "e0fcd8f8c1a9", + "effects": [] + } + }, + { + "id": "speech-desktop-start-superseded.transport-rejection-no-message:stale-start-cancelled", + "observation": { + "sender": ["bbe508ab7f95", "84794daca96b"], + "payloads": ["e1538fe51a1e", "a78a87e09f05"], + "settlements": { + "supersede": "eb79a9b3682a", + "start": "7ed3d39f0607" + }, + "state": "e0fcd8f8c1a9", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-speech.dictation-start-speech.dictation.start-1.json b/mobile/rpc-foundation/goldens/matrix-speech.dictation-start-speech.dictation.start-1.json new file mode 100644 index 00000000000..c661dc116cc --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-speech.dictation-start-speech.dictation.start-1.json @@ -0,0 +1,590 @@ +{ + "operation": "speech.desktop-start", + "family": "speech.dictation-start", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "3ddb44511547ae2fc97340e5a49393233f6716f9704b7b994f43bc030788b25b", + "scenarioSha256": "cd65f6b30f92d9542d19ad74cc9437ea33a1ec8fbdf4439ba13c14960f8a1994", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "58ed4d5abdf0": { + "name": "speech.dictation.cancel#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.cancel" + }, + { + "name": "params", + "value": { + "dictationId": "dictation-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "cancelled": true + } + } + } + }, + "59e9ca68d314": { + "name": "speech.dictation.start#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.start" + }, + { + "name": "params", + "value": { + "dictationId": "dictation-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "7ed3d39f0607": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": false + }, + "7f93ccc70f02": { + "name": "speech.dictation.start#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.start" + }, + { + "name": "params", + "value": { + "dictationId": "dictation-1" + } + }, + { + "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 + } + } + }, + "8384bf167bb1": { + "name": "speech.dictation.start#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.start" + }, + { + "name": "params", + "value": { + "dictationId": "dictation-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "87ea622bd437": { + "name": "speech.dictation.start#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.start" + }, + { + "name": "params", + "value": { + "dictationId": "dictation-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "92b319a1e1ae": { + "name": "speech.dictation.start#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.start" + }, + { + "name": "params", + "value": { + "dictationId": "dictation-1" + } + }, + { + "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 + } + } + } + }, + "a3d98968619a": { + "name": "speech.dictation.start#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.start" + }, + { + "name": "params", + "value": { + "dictationId": "dictation-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "a78a87e09f05": { + "name": "speech.dictation.cancel#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"speech.dictation.cancel\",\"params\":{\"dictationId\":\"dictation-1\"}}" + }, + "bbe508ab7f95": { + "name": "speech.dictation.start#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.start" + }, + { + "name": "params", + "value": { + "dictationId": "dictation-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "started": true + } + } + } + }, + "ce0d14ebee21": { + "name": "speech.dictation.start#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.start" + }, + { + "name": "params", + "value": { + "dictationId": "dictation-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "d74bc2ce6806": { + "name": "speech.dictation.start#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.start" + }, + { + "name": "params", + "value": { + "dictationId": "dictation-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "debfc02fbb08": { + "name": "speech.dictation.start#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.start" + }, + { + "name": "params", + "value": { + "dictationId": "dictation-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "e0fcd8f8c1a9": { + "activeId": { + "$rpc": "null" + }, + "idle": false, + "started": false + }, + "e1538fe51a1e": { + "name": "speech.dictation.start#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"speech.dictation.start\",\"params\":{\"dictationId\":\"dictation-1\"}}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "fae9f51834d5": { + "name": "speech.dictation.start#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.start" + }, + { + "name": "params", + "value": { + "dictationId": "dictation-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + } + }, + "recording": { + "scenario": "matrix-speech.dictation-start-speech.dictation.start-1", + "checkpoints": [ + { + "id": "speech-desktop-start-superseded.normal:stale-start-cancelled", + "observation": { + "sender": ["bbe508ab7f95", "58ed4d5abdf0"], + "payloads": ["e1538fe51a1e", "a78a87e09f05"], + "settlements": { + "supersede": "eb79a9b3682a", + "start": "7ed3d39f0607" + }, + "state": "e0fcd8f8c1a9", + "effects": [] + } + }, + { + "id": "speech-desktop-start-superseded.result-absent:stale-start-cancelled", + "observation": { + "sender": ["87ea622bd437", "58ed4d5abdf0"], + "payloads": ["e1538fe51a1e", "a78a87e09f05"], + "settlements": { + "supersede": "eb79a9b3682a", + "start": "7ed3d39f0607" + }, + "state": "e0fcd8f8c1a9", + "effects": [] + } + }, + { + "id": "speech-desktop-start-superseded.result-null:stale-start-cancelled", + "observation": { + "sender": ["8384bf167bb1", "58ed4d5abdf0"], + "payloads": ["e1538fe51a1e", "a78a87e09f05"], + "settlements": { + "supersede": "eb79a9b3682a", + "start": "7ed3d39f0607" + }, + "state": "e0fcd8f8c1a9", + "effects": [] + } + }, + { + "id": "speech-desktop-start-superseded.inner-ok-missing:stale-start-cancelled", + "observation": { + "sender": ["ce0d14ebee21", "58ed4d5abdf0"], + "payloads": ["e1538fe51a1e", "a78a87e09f05"], + "settlements": { + "supersede": "eb79a9b3682a", + "start": "7ed3d39f0607" + }, + "state": "e0fcd8f8c1a9", + "effects": [] + } + }, + { + "id": "speech-desktop-start-superseded.inner-false-string-error:stale-start-cancelled", + "observation": { + "sender": ["d74bc2ce6806", "58ed4d5abdf0"], + "payloads": ["e1538fe51a1e", "a78a87e09f05"], + "settlements": { + "supersede": "eb79a9b3682a", + "start": "7ed3d39f0607" + }, + "state": "e0fcd8f8c1a9", + "effects": [] + } + }, + { + "id": "speech-desktop-start-superseded.inner-false-object-error:stale-start-cancelled", + "observation": { + "sender": ["92b319a1e1ae", "58ed4d5abdf0"], + "payloads": ["e1538fe51a1e", "a78a87e09f05"], + "settlements": { + "supersede": "eb79a9b3682a", + "start": "7ed3d39f0607" + }, + "state": "e0fcd8f8c1a9", + "effects": [] + } + }, + { + "id": "speech-desktop-start-superseded.outer-refused:stale-start-cancelled", + "observation": { + "sender": ["59e9ca68d314", "58ed4d5abdf0"], + "payloads": ["e1538fe51a1e", "a78a87e09f05"], + "settlements": { + "supersede": "eb79a9b3682a", + "start": "7ed3d39f0607" + }, + "state": "e0fcd8f8c1a9", + "effects": [] + } + }, + { + "id": "speech-desktop-start-superseded.outer-refused-no-message:stale-start-cancelled", + "observation": { + "sender": ["a3d98968619a", "58ed4d5abdf0"], + "payloads": ["e1538fe51a1e", "a78a87e09f05"], + "settlements": { + "supersede": "eb79a9b3682a", + "start": "7ed3d39f0607" + }, + "state": "e0fcd8f8c1a9", + "effects": [] + } + }, + { + "id": "speech-desktop-start-superseded.method-not-found:stale-start-cancelled", + "observation": { + "sender": ["7f93ccc70f02", "58ed4d5abdf0"], + "payloads": ["e1538fe51a1e", "a78a87e09f05"], + "settlements": { + "supersede": "eb79a9b3682a", + "start": "7ed3d39f0607" + }, + "state": "e0fcd8f8c1a9", + "effects": [] + } + }, + { + "id": "speech-desktop-start-superseded.transport-rejection:stale-start-cancelled", + "observation": { + "sender": ["debfc02fbb08", "58ed4d5abdf0"], + "payloads": ["e1538fe51a1e", "a78a87e09f05"], + "settlements": { + "supersede": "eb79a9b3682a", + "start": "7ed3d39f0607" + }, + "state": "e0fcd8f8c1a9", + "effects": [] + } + }, + { + "id": "speech-desktop-start-superseded.transport-rejection-no-message:stale-start-cancelled", + "observation": { + "sender": ["fae9f51834d5", "58ed4d5abdf0"], + "payloads": ["e1538fe51a1e", "a78a87e09f05"], + "settlements": { + "supersede": "eb79a9b3682a", + "start": "7ed3d39f0607" + }, + "state": "e0fcd8f8c1a9", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-speech.setup-sheet-speech.dictation.setup-1.json b/mobile/rpc-foundation/goldens/matrix-speech.setup-sheet-speech.dictation.setup-1.json new file mode 100644 index 00000000000..e91be6d92f1 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-speech.setup-sheet-speech.dictation.setup-1.json @@ -0,0 +1,975 @@ +{ + "operation": "speech.setup-sheet", + "family": "speech.setup-sheet", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "3ddb44511547ae2fc97340e5a49393233f6716f9704b7b994f43bc030788b25b", + "scenarioSha256": "407a52b099cbf2fcb261010e4235dae2e5e16e11b386fb6bc99d5a2d237af541", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0ea7d26d0706": { + "name": "speech.dictation.setup#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"speech.dictation.setup\",\"params\":{\"enabled\":true,\"modelId\":\"whisper-small\"}}" + }, + "14adf36a6f27": { + "name": "speech.dictation.setup#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.setup" + }, + { + "name": "params", + "value": { + "enabled": true, + "modelId": "whisper-small" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "25148d3fd4e0": { + "name": "speech.dictation.setup#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.setup" + }, + { + "name": "params", + "value": { + "enabled": true, + "modelId": "whisper-small" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "301151228fa3": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "refused" + } + }, + "3033fa217374": { + "configure": { + "error": "inner refused", + "ok": false + }, + "delete": { + "enabled": true, + "models": [], + "selectedModelId": "whisper-small" + }, + "download": "started", + "list": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + } + }, + "32a7c0ae7918": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "outer refused", + "isRpcDeliveryUnknown": false + } + }, + "374a424a4fcb": { + "name": "speech.dictation.setup#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.setup" + }, + { + "name": "params", + "value": { + "enabled": true, + "modelId": "whisper-small" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + } + } + } + }, + "3bf5ed7bb628": { + "name": "speech.dictation.setup#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.setup" + }, + { + "name": "params", + "value": { + "enabled": true, + "modelId": "whisper-small" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "43c4c7a19f7e": { + "configure": { + "error": { + "message": "inner refused" + }, + "ok": false + }, + "delete": { + "enabled": true, + "models": [], + "selectedModelId": "whisper-small" + }, + "download": "started", + "list": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + } + }, + "45f050437dd6": { + "name": "speech.dictation.setup#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.setup" + }, + { + "name": "params", + "value": { + "enabled": true, + "modelId": "whisper-small" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "4670310cd94e": { + "name": "speech.models.list#1", + "args": [ + { + "name": "method", + "value": "speech.models.list" + }, + { + "name": "params", + "value": { + "$rpc": "null" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + } + } + } + }, + "577b0a918b44": { + "name": "speech.dictation.setup#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.setup" + }, + { + "name": "params", + "value": { + "enabled": true, + "modelId": "whisper-small" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-4", + "ok": false + } + } + }, + "686e4bca37ab": { + "name": "speech.dictation.setup#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.setup" + }, + { + "name": "params", + "value": { + "enabled": true, + "modelId": "whisper-small" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "6c06e4415402": { + "name": "speech.dictation.setup#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.setup" + }, + { + "name": "params", + "value": { + "enabled": true, + "modelId": "whisper-small" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true + } + } + }, + "7af31590ded9": { + "configure": "started", + "delete": { + "enabled": true, + "models": [], + "selectedModelId": "whisper-small" + }, + "download": "started", + "list": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + } + }, + "7c5b27891a8f": { + "configure": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + }, + "delete": { + "enabled": true, + "models": [], + "selectedModelId": "whisper-small" + }, + "download": "started", + "list": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + } + }, + "81ec9b5ca7f2": { + "name": "speech.dictation.setup#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.setup" + }, + { + "name": "params", + "value": { + "enabled": true, + "modelId": "whisper-small" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-4", + "ok": false + } + } + }, + "9f00dd54ba64": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "inner refused", + "ok": false + } + }, + "a2879fd6371d": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + } + }, + "a3cf1a5dec55": { + "name": "speech.dictation.setup#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.setup" + }, + { + "name": "params", + "value": { + "enabled": true, + "modelId": "whisper-small" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "a9c35a6f891b": { + "configure": { + "error": "refused" + }, + "delete": { + "enabled": true, + "models": [], + "selectedModelId": "whisper-small" + }, + "download": "started", + "list": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + } + }, + "ad8a954e879d": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "message": "inner refused" + }, + "ok": false + } + }, + "b7dd03f7a089": { + "name": "speech.dictation.setup#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.setup" + }, + { + "name": "params", + "value": { + "enabled": true, + "modelId": "whisper-small" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-4", + "ok": false + } + } + }, + "b948e8307e81": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Unknown method", + "isRpcDeliveryUnknown": false + } + }, + "be76d126a25c": { + "configure": { + "$rpc": "null" + }, + "delete": { + "enabled": true, + "models": [], + "selectedModelId": "whisper-small" + }, + "download": "started", + "list": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + } + }, + "c41375ac7391": { + "name": "speech.models.delete#1", + "args": [ + { + "name": "method", + "value": "speech.models.delete" + }, + { + "name": "params", + "value": { + "modelId": "whisper-small" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "enabled": true, + "models": [], + "selectedModelId": "whisper-small" + } + } + } + }, + "c7584e82c72f": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + }, + "d0708dcdf365": { + "name": "speech.models.download#1", + "args": [ + { + "name": "method", + "value": "speech.models.download" + }, + { + "name": "params", + "value": { + "modelId": "whisper-small" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "started": true + } + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ebcaa1a8fa3f": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Failed to update dictation settings", + "isRpcDeliveryUnknown": false + } + }, + "ee20a1dc39e7": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "null" + } + }, + "efb9a676286c": { + "delete": { + "enabled": true, + "models": [], + "selectedModelId": "whisper-small" + }, + "download": "started", + "list": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + } + }, + "f14b5bb0c614": { + "name": "speech.models.delete#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"speech.models.delete\",\"params\":{\"modelId\":\"whisper-small\"}}" + }, + "f7594a980fe2": { + "name": "speech.models.download#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"speech.models.download\",\"params\":{\"modelId\":\"whisper-small\"}}" + }, + "f7f1557b866b": { + "name": "speech.models.list#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"speech.models.list\",\"params\":null}" + }, + "fc5fb77f49bb": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "enabled": true, + "models": [], + "selectedModelId": "whisper-small" + } + } + }, + "recording": { + "scenario": "matrix-speech.setup-sheet-speech.dictation.setup-1", + "checkpoints": [ + { + "id": "speech-setup-sheet-fulfilled.normal:settled", + "observation": { + "sender": ["4670310cd94e", "d0708dcdf365", "c41375ac7391", "374a424a4fcb"], + "payloads": ["f7f1557b866b", "f7594a980fe2", "f14b5bb0c614", "0ea7d26d0706"], + "settlements": { + "list": "a2879fd6371d", + "download": "eb79a9b3682a", + "delete": "fc5fb77f49bb", + "configure": "a2879fd6371d" + }, + "state": "7c5b27891a8f", + "effects": [] + } + }, + { + "id": "speech-setup-sheet-fulfilled.result-absent:settled", + "observation": { + "sender": ["4670310cd94e", "d0708dcdf365", "c41375ac7391", "6c06e4415402"], + "payloads": ["f7f1557b866b", "f7594a980fe2", "f14b5bb0c614", "0ea7d26d0706"], + "settlements": { + "list": "a2879fd6371d", + "download": "eb79a9b3682a", + "delete": "fc5fb77f49bb", + "configure": "eb79a9b3682a" + }, + "state": "7af31590ded9", + "effects": [] + } + }, + { + "id": "speech-setup-sheet-fulfilled.result-null:settled", + "observation": { + "sender": ["4670310cd94e", "d0708dcdf365", "c41375ac7391", "a3cf1a5dec55"], + "payloads": ["f7f1557b866b", "f7594a980fe2", "f14b5bb0c614", "0ea7d26d0706"], + "settlements": { + "list": "a2879fd6371d", + "download": "eb79a9b3682a", + "delete": "fc5fb77f49bb", + "configure": "ee20a1dc39e7" + }, + "state": "be76d126a25c", + "effects": [] + } + }, + { + "id": "speech-setup-sheet-fulfilled.inner-ok-missing:settled", + "observation": { + "sender": ["4670310cd94e", "d0708dcdf365", "c41375ac7391", "45f050437dd6"], + "payloads": ["f7f1557b866b", "f7594a980fe2", "f14b5bb0c614", "0ea7d26d0706"], + "settlements": { + "list": "a2879fd6371d", + "download": "eb79a9b3682a", + "delete": "fc5fb77f49bb", + "configure": "301151228fa3" + }, + "state": "a9c35a6f891b", + "effects": [] + } + }, + { + "id": "speech-setup-sheet-fulfilled.inner-false-string-error:settled", + "observation": { + "sender": ["4670310cd94e", "d0708dcdf365", "c41375ac7391", "686e4bca37ab"], + "payloads": ["f7f1557b866b", "f7594a980fe2", "f14b5bb0c614", "0ea7d26d0706"], + "settlements": { + "list": "a2879fd6371d", + "download": "eb79a9b3682a", + "delete": "fc5fb77f49bb", + "configure": "9f00dd54ba64" + }, + "state": "3033fa217374", + "effects": [] + } + }, + { + "id": "speech-setup-sheet-fulfilled.inner-false-object-error:settled", + "observation": { + "sender": ["4670310cd94e", "d0708dcdf365", "c41375ac7391", "14adf36a6f27"], + "payloads": ["f7f1557b866b", "f7594a980fe2", "f14b5bb0c614", "0ea7d26d0706"], + "settlements": { + "list": "a2879fd6371d", + "download": "eb79a9b3682a", + "delete": "fc5fb77f49bb", + "configure": "ad8a954e879d" + }, + "state": "43c4c7a19f7e", + "effects": [] + } + }, + { + "id": "speech-setup-sheet-fulfilled.outer-refused:settled", + "observation": { + "sender": ["4670310cd94e", "d0708dcdf365", "c41375ac7391", "81ec9b5ca7f2"], + "payloads": ["f7f1557b866b", "f7594a980fe2", "f14b5bb0c614", "0ea7d26d0706"], + "settlements": { + "list": "a2879fd6371d", + "download": "eb79a9b3682a", + "delete": "fc5fb77f49bb", + "configure": "32a7c0ae7918" + }, + "state": "efb9a676286c", + "effects": [] + } + }, + { + "id": "speech-setup-sheet-fulfilled.outer-refused-no-message:settled", + "observation": { + "sender": ["4670310cd94e", "d0708dcdf365", "c41375ac7391", "b7dd03f7a089"], + "payloads": ["f7f1557b866b", "f7594a980fe2", "f14b5bb0c614", "0ea7d26d0706"], + "settlements": { + "list": "a2879fd6371d", + "download": "eb79a9b3682a", + "delete": "fc5fb77f49bb", + "configure": "ebcaa1a8fa3f" + }, + "state": "efb9a676286c", + "effects": [] + } + }, + { + "id": "speech-setup-sheet-fulfilled.method-not-found:settled", + "observation": { + "sender": ["4670310cd94e", "d0708dcdf365", "c41375ac7391", "577b0a918b44"], + "payloads": ["f7f1557b866b", "f7594a980fe2", "f14b5bb0c614", "0ea7d26d0706"], + "settlements": { + "list": "a2879fd6371d", + "download": "eb79a9b3682a", + "delete": "fc5fb77f49bb", + "configure": "b948e8307e81" + }, + "state": "efb9a676286c", + "effects": [] + } + }, + { + "id": "speech-setup-sheet-fulfilled.transport-rejection:settled", + "observation": { + "sender": ["4670310cd94e", "d0708dcdf365", "c41375ac7391", "25148d3fd4e0"], + "payloads": ["f7f1557b866b", "f7594a980fe2", "f14b5bb0c614", "0ea7d26d0706"], + "settlements": { + "list": "a2879fd6371d", + "download": "eb79a9b3682a", + "delete": "fc5fb77f49bb", + "configure": "a947768bc0ed" + }, + "state": "efb9a676286c", + "effects": [] + } + }, + { + "id": "speech-setup-sheet-fulfilled.transport-rejection-no-message:settled", + "observation": { + "sender": ["4670310cd94e", "d0708dcdf365", "c41375ac7391", "3bf5ed7bb628"], + "payloads": ["f7f1557b866b", "f7594a980fe2", "f14b5bb0c614", "0ea7d26d0706"], + "settlements": { + "list": "a2879fd6371d", + "download": "eb79a9b3682a", + "delete": "fc5fb77f49bb", + "configure": "c7584e82c72f" + }, + "state": "efb9a676286c", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-speech.setup-sheet-speech.models.delete-1.json b/mobile/rpc-foundation/goldens/matrix-speech.setup-sheet-speech.models.delete-1.json new file mode 100644 index 00000000000..bed1cf7965e --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-speech.setup-sheet-speech.models.delete-1.json @@ -0,0 +1,1001 @@ +{ + "operation": "speech.setup-sheet", + "family": "speech.setup-sheet", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "3ddb44511547ae2fc97340e5a49393233f6716f9704b7b994f43bc030788b25b", + "scenarioSha256": "140ede79a9ee0c02bedbfe67551060ef85692b6cb71968a48a1c41fcb4863804", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0629aa17065f": { + "configure": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + }, + "delete": { + "error": { + "message": "inner refused" + }, + "ok": false + }, + "download": "started", + "list": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + } + }, + "0b2ffa0243d3": { + "name": "speech.models.delete#1", + "args": [ + { + "name": "method", + "value": "speech.models.delete" + }, + { + "name": "params", + "value": { + "modelId": "whisper-small" + } + }, + { + "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 + } + } + }, + "0ea7d26d0706": { + "name": "speech.dictation.setup#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"speech.dictation.setup\",\"params\":{\"enabled\":true,\"modelId\":\"whisper-small\"}}" + }, + "1117d44df3f8": { + "configure": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + }, + "delete": "started", + "download": "started", + "list": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + } + }, + "1f67869c3be1": { + "configure": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + }, + "download": "started", + "list": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + } + }, + "301151228fa3": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "refused" + } + }, + "32a7c0ae7918": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "outer refused", + "isRpcDeliveryUnknown": false + } + }, + "374a424a4fcb": { + "name": "speech.dictation.setup#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.setup" + }, + { + "name": "params", + "value": { + "enabled": true, + "modelId": "whisper-small" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + } + } + } + }, + "3eac8959f5ab": { + "configure": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + }, + "delete": { + "$rpc": "null" + }, + "download": "started", + "list": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + } + }, + "4670310cd94e": { + "name": "speech.models.list#1", + "args": [ + { + "name": "method", + "value": "speech.models.list" + }, + { + "name": "params", + "value": { + "$rpc": "null" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + } + } + } + }, + "50d91aa16b10": { + "name": "speech.models.delete#1", + "args": [ + { + "name": "method", + "value": "speech.models.delete" + }, + { + "name": "params", + "value": { + "modelId": "whisper-small" + } + }, + { + "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 + } + } + } + }, + "57573810dae3": { + "name": "speech.models.delete#1", + "args": [ + { + "name": "method", + "value": "speech.models.delete" + }, + { + "name": "params", + "value": { + "modelId": "whisper-small" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "722a26526fad": { + "name": "speech.models.delete#1", + "args": [ + { + "name": "method", + "value": "speech.models.delete" + }, + { + "name": "params", + "value": { + "modelId": "whisper-small" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "7c5b27891a8f": { + "configure": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + }, + "delete": { + "enabled": true, + "models": [], + "selectedModelId": "whisper-small" + }, + "download": "started", + "list": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + } + }, + "8496b8c738aa": { + "name": "speech.models.delete#1", + "args": [ + { + "name": "method", + "value": "speech.models.delete" + }, + { + "name": "params", + "value": { + "modelId": "whisper-small" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "9f00dd54ba64": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "inner refused", + "ok": false + } + }, + "a2879fd6371d": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + } + }, + "a3cb3bb824dc": { + "name": "speech.models.delete#1", + "args": [ + { + "name": "method", + "value": "speech.models.delete" + }, + { + "name": "params", + "value": { + "modelId": "whisper-small" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "aa1c9059345a": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Failed to delete model", + "isRpcDeliveryUnknown": false + } + }, + "ab2c55671644": { + "name": "speech.models.delete#1", + "args": [ + { + "name": "method", + "value": "speech.models.delete" + }, + { + "name": "params", + "value": { + "modelId": "whisper-small" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "ad8a954e879d": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "message": "inner refused" + }, + "ok": false + } + }, + "b948e8307e81": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Unknown method", + "isRpcDeliveryUnknown": false + } + }, + "c41375ac7391": { + "name": "speech.models.delete#1", + "args": [ + { + "name": "method", + "value": "speech.models.delete" + }, + { + "name": "params", + "value": { + "modelId": "whisper-small" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "enabled": true, + "models": [], + "selectedModelId": "whisper-small" + } + } + } + }, + "c7584e82c72f": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + }, + "d0708dcdf365": { + "name": "speech.models.download#1", + "args": [ + { + "name": "method", + "value": "speech.models.download" + }, + { + "name": "params", + "value": { + "modelId": "whisper-small" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "started": true + } + } + } + }, + "d32fe9752c54": { + "configure": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + }, + "delete": { + "error": "refused" + }, + "download": "started", + "list": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + } + }, + "d5a1b3479c34": { + "name": "speech.models.delete#1", + "args": [ + { + "name": "method", + "value": "speech.models.delete" + }, + { + "name": "params", + "value": { + "modelId": "whisper-small" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-3", + "ok": false + } + } + }, + "e2401fd120ea": { + "configure": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + }, + "delete": { + "error": "inner refused", + "ok": false + }, + "download": "started", + "list": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + } + }, + "e8d746fbfb7a": { + "name": "speech.models.delete#1", + "args": [ + { + "name": "method", + "value": "speech.models.delete" + }, + { + "name": "params", + "value": { + "modelId": "whisper-small" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-3", + "ok": false + } + } + }, + "ea8cab25bcf2": { + "name": "speech.models.delete#1", + "args": [ + { + "name": "method", + "value": "speech.models.delete" + }, + { + "name": "params", + "value": { + "modelId": "whisper-small" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ee20a1dc39e7": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "null" + } + }, + "f14b5bb0c614": { + "name": "speech.models.delete#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"speech.models.delete\",\"params\":{\"modelId\":\"whisper-small\"}}" + }, + "f7594a980fe2": { + "name": "speech.models.download#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"speech.models.download\",\"params\":{\"modelId\":\"whisper-small\"}}" + }, + "f7f1557b866b": { + "name": "speech.models.list#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"speech.models.list\",\"params\":null}" + }, + "fc5fb77f49bb": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "enabled": true, + "models": [], + "selectedModelId": "whisper-small" + } + } + }, + "recording": { + "scenario": "matrix-speech.setup-sheet-speech.models.delete-1", + "checkpoints": [ + { + "id": "speech-setup-sheet-fulfilled.normal:settled", + "observation": { + "sender": ["4670310cd94e", "d0708dcdf365", "c41375ac7391", "374a424a4fcb"], + "payloads": ["f7f1557b866b", "f7594a980fe2", "f14b5bb0c614", "0ea7d26d0706"], + "settlements": { + "list": "a2879fd6371d", + "download": "eb79a9b3682a", + "delete": "fc5fb77f49bb", + "configure": "a2879fd6371d" + }, + "state": "7c5b27891a8f", + "effects": [] + } + }, + { + "id": "speech-setup-sheet-fulfilled.result-absent:settled", + "observation": { + "sender": ["4670310cd94e", "d0708dcdf365", "ea8cab25bcf2", "374a424a4fcb"], + "payloads": ["f7f1557b866b", "f7594a980fe2", "f14b5bb0c614", "0ea7d26d0706"], + "settlements": { + "list": "a2879fd6371d", + "download": "eb79a9b3682a", + "delete": "eb79a9b3682a", + "configure": "a2879fd6371d" + }, + "state": "1117d44df3f8", + "effects": [] + } + }, + { + "id": "speech-setup-sheet-fulfilled.result-null:settled", + "observation": { + "sender": ["4670310cd94e", "d0708dcdf365", "ab2c55671644", "374a424a4fcb"], + "payloads": ["f7f1557b866b", "f7594a980fe2", "f14b5bb0c614", "0ea7d26d0706"], + "settlements": { + "list": "a2879fd6371d", + "download": "eb79a9b3682a", + "delete": "ee20a1dc39e7", + "configure": "a2879fd6371d" + }, + "state": "3eac8959f5ab", + "effects": [] + } + }, + { + "id": "speech-setup-sheet-fulfilled.inner-ok-missing:settled", + "observation": { + "sender": ["4670310cd94e", "d0708dcdf365", "a3cb3bb824dc", "374a424a4fcb"], + "payloads": ["f7f1557b866b", "f7594a980fe2", "f14b5bb0c614", "0ea7d26d0706"], + "settlements": { + "list": "a2879fd6371d", + "download": "eb79a9b3682a", + "delete": "301151228fa3", + "configure": "a2879fd6371d" + }, + "state": "d32fe9752c54", + "effects": [] + } + }, + { + "id": "speech-setup-sheet-fulfilled.inner-false-string-error:settled", + "observation": { + "sender": ["4670310cd94e", "d0708dcdf365", "722a26526fad", "374a424a4fcb"], + "payloads": ["f7f1557b866b", "f7594a980fe2", "f14b5bb0c614", "0ea7d26d0706"], + "settlements": { + "list": "a2879fd6371d", + "download": "eb79a9b3682a", + "delete": "9f00dd54ba64", + "configure": "a2879fd6371d" + }, + "state": "e2401fd120ea", + "effects": [] + } + }, + { + "id": "speech-setup-sheet-fulfilled.inner-false-object-error:settled", + "observation": { + "sender": ["4670310cd94e", "d0708dcdf365", "50d91aa16b10", "374a424a4fcb"], + "payloads": ["f7f1557b866b", "f7594a980fe2", "f14b5bb0c614", "0ea7d26d0706"], + "settlements": { + "list": "a2879fd6371d", + "download": "eb79a9b3682a", + "delete": "ad8a954e879d", + "configure": "a2879fd6371d" + }, + "state": "0629aa17065f", + "effects": [] + } + }, + { + "id": "speech-setup-sheet-fulfilled.outer-refused:settled", + "observation": { + "sender": ["4670310cd94e", "d0708dcdf365", "e8d746fbfb7a", "374a424a4fcb"], + "payloads": ["f7f1557b866b", "f7594a980fe2", "f14b5bb0c614", "0ea7d26d0706"], + "settlements": { + "list": "a2879fd6371d", + "download": "eb79a9b3682a", + "delete": "32a7c0ae7918", + "configure": "a2879fd6371d" + }, + "state": "1f67869c3be1", + "effects": [] + } + }, + { + "id": "speech-setup-sheet-fulfilled.outer-refused-no-message:settled", + "observation": { + "sender": ["4670310cd94e", "d0708dcdf365", "d5a1b3479c34", "374a424a4fcb"], + "payloads": ["f7f1557b866b", "f7594a980fe2", "f14b5bb0c614", "0ea7d26d0706"], + "settlements": { + "list": "a2879fd6371d", + "download": "eb79a9b3682a", + "delete": "aa1c9059345a", + "configure": "a2879fd6371d" + }, + "state": "1f67869c3be1", + "effects": [] + } + }, + { + "id": "speech-setup-sheet-fulfilled.method-not-found:settled", + "observation": { + "sender": ["4670310cd94e", "d0708dcdf365", "0b2ffa0243d3", "374a424a4fcb"], + "payloads": ["f7f1557b866b", "f7594a980fe2", "f14b5bb0c614", "0ea7d26d0706"], + "settlements": { + "list": "a2879fd6371d", + "download": "eb79a9b3682a", + "delete": "b948e8307e81", + "configure": "a2879fd6371d" + }, + "state": "1f67869c3be1", + "effects": [] + } + }, + { + "id": "speech-setup-sheet-fulfilled.transport-rejection:settled", + "observation": { + "sender": ["4670310cd94e", "d0708dcdf365", "8496b8c738aa", "374a424a4fcb"], + "payloads": ["f7f1557b866b", "f7594a980fe2", "f14b5bb0c614", "0ea7d26d0706"], + "settlements": { + "list": "a2879fd6371d", + "download": "eb79a9b3682a", + "delete": "a947768bc0ed", + "configure": "a2879fd6371d" + }, + "state": "1f67869c3be1", + "effects": [] + } + }, + { + "id": "speech-setup-sheet-fulfilled.transport-rejection-no-message:settled", + "observation": { + "sender": ["4670310cd94e", "d0708dcdf365", "57573810dae3", "374a424a4fcb"], + "payloads": ["f7f1557b866b", "f7594a980fe2", "f14b5bb0c614", "0ea7d26d0706"], + "settlements": { + "list": "a2879fd6371d", + "download": "eb79a9b3682a", + "delete": "c7584e82c72f", + "configure": "a2879fd6371d" + }, + "state": "1f67869c3be1", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-speech.setup-sheet-speech.models.download-1.json b/mobile/rpc-foundation/goldens/matrix-speech.setup-sheet-speech.models.download-1.json new file mode 100644 index 00000000000..8b56f7bb155 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-speech.setup-sheet-speech.models.download-1.json @@ -0,0 +1,827 @@ +{ + "operation": "speech.setup-sheet", + "family": "speech.setup-sheet", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "3ddb44511547ae2fc97340e5a49393233f6716f9704b7b994f43bc030788b25b", + "scenarioSha256": "6c0a9d2f2e28acd10c3a1f03888c23961e95bff02af10fe0e703d34fe6d60e8b", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "057063fa142d": { + "configure": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + }, + "delete": { + "enabled": true, + "models": [], + "selectedModelId": "whisper-small" + }, + "list": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + } + }, + "070886afd931": { + "name": "speech.models.download#1", + "args": [ + { + "name": "method", + "value": "speech.models.download" + }, + { + "name": "params", + "value": { + "modelId": "whisper-small" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "0ea7d26d0706": { + "name": "speech.dictation.setup#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"speech.dictation.setup\",\"params\":{\"enabled\":true,\"modelId\":\"whisper-small\"}}" + }, + "13c598d21f30": { + "name": "speech.models.download#1", + "args": [ + { + "name": "method", + "value": "speech.models.download" + }, + { + "name": "params", + "value": { + "modelId": "whisper-small" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "1c35c145196b": { + "name": "speech.models.download#1", + "args": [ + { + "name": "method", + "value": "speech.models.download" + }, + { + "name": "params", + "value": { + "modelId": "whisper-small" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "234c35cef130": { + "name": "speech.models.download#1", + "args": [ + { + "name": "method", + "value": "speech.models.download" + }, + { + "name": "params", + "value": { + "modelId": "whisper-small" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "32a7c0ae7918": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "outer refused", + "isRpcDeliveryUnknown": false + } + }, + "374a424a4fcb": { + "name": "speech.dictation.setup#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.setup" + }, + { + "name": "params", + "value": { + "enabled": true, + "modelId": "whisper-small" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + } + } + } + }, + "4670310cd94e": { + "name": "speech.models.list#1", + "args": [ + { + "name": "method", + "value": "speech.models.list" + }, + { + "name": "params", + "value": { + "$rpc": "null" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + } + } + } + }, + "5a8462b1c151": { + "name": "speech.models.download#1", + "args": [ + { + "name": "method", + "value": "speech.models.download" + }, + { + "name": "params", + "value": { + "modelId": "whisper-small" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "625909c6ba57": { + "name": "speech.models.download#1", + "args": [ + { + "name": "method", + "value": "speech.models.download" + }, + { + "name": "params", + "value": { + "modelId": "whisper-small" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "7adbf3e936d4": { + "name": "speech.models.download#1", + "args": [ + { + "name": "method", + "value": "speech.models.download" + }, + { + "name": "params", + "value": { + "modelId": "whisper-small" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "7c5b27891a8f": { + "configure": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + }, + "delete": { + "enabled": true, + "models": [], + "selectedModelId": "whisper-small" + }, + "download": "started", + "list": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + } + }, + "94b559509089": { + "name": "speech.models.download#1", + "args": [ + { + "name": "method", + "value": "speech.models.download" + }, + { + "name": "params", + "value": { + "modelId": "whisper-small" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "99815410184d": { + "name": "speech.models.download#1", + "args": [ + { + "name": "method", + "value": "speech.models.download" + }, + { + "name": "params", + "value": { + "modelId": "whisper-small" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "a2879fd6371d": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + } + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "b948e8307e81": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Unknown method", + "isRpcDeliveryUnknown": false + } + }, + "bd088da40a2e": { + "name": "speech.models.download#1", + "args": [ + { + "name": "method", + "value": "speech.models.download" + }, + { + "name": "params", + "value": { + "modelId": "whisper-small" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "c41375ac7391": { + "name": "speech.models.delete#1", + "args": [ + { + "name": "method", + "value": "speech.models.delete" + }, + { + "name": "params", + "value": { + "modelId": "whisper-small" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "enabled": true, + "models": [], + "selectedModelId": "whisper-small" + } + } + } + }, + "c7584e82c72f": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + }, + "d0708dcdf365": { + "name": "speech.models.download#1", + "args": [ + { + "name": "method", + "value": "speech.models.download" + }, + { + "name": "params", + "value": { + "modelId": "whisper-small" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "started": true + } + } + } + }, + "d1b9d465d73d": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Failed to start download", + "isRpcDeliveryUnknown": false + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f14b5bb0c614": { + "name": "speech.models.delete#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"speech.models.delete\",\"params\":{\"modelId\":\"whisper-small\"}}" + }, + "f7594a980fe2": { + "name": "speech.models.download#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"speech.models.download\",\"params\":{\"modelId\":\"whisper-small\"}}" + }, + "f7f1557b866b": { + "name": "speech.models.list#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"speech.models.list\",\"params\":null}" + }, + "fc5fb77f49bb": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "enabled": true, + "models": [], + "selectedModelId": "whisper-small" + } + } + }, + "recording": { + "scenario": "matrix-speech.setup-sheet-speech.models.download-1", + "checkpoints": [ + { + "id": "speech-setup-sheet-fulfilled.normal:settled", + "observation": { + "sender": ["4670310cd94e", "d0708dcdf365", "c41375ac7391", "374a424a4fcb"], + "payloads": ["f7f1557b866b", "f7594a980fe2", "f14b5bb0c614", "0ea7d26d0706"], + "settlements": { + "list": "a2879fd6371d", + "download": "eb79a9b3682a", + "delete": "fc5fb77f49bb", + "configure": "a2879fd6371d" + }, + "state": "7c5b27891a8f", + "effects": [] + } + }, + { + "id": "speech-setup-sheet-fulfilled.result-absent:settled", + "observation": { + "sender": ["4670310cd94e", "625909c6ba57", "c41375ac7391", "374a424a4fcb"], + "payloads": ["f7f1557b866b", "f7594a980fe2", "f14b5bb0c614", "0ea7d26d0706"], + "settlements": { + "list": "a2879fd6371d", + "download": "eb79a9b3682a", + "delete": "fc5fb77f49bb", + "configure": "a2879fd6371d" + }, + "state": "7c5b27891a8f", + "effects": [] + } + }, + { + "id": "speech-setup-sheet-fulfilled.result-null:settled", + "observation": { + "sender": ["4670310cd94e", "234c35cef130", "c41375ac7391", "374a424a4fcb"], + "payloads": ["f7f1557b866b", "f7594a980fe2", "f14b5bb0c614", "0ea7d26d0706"], + "settlements": { + "list": "a2879fd6371d", + "download": "eb79a9b3682a", + "delete": "fc5fb77f49bb", + "configure": "a2879fd6371d" + }, + "state": "7c5b27891a8f", + "effects": [] + } + }, + { + "id": "speech-setup-sheet-fulfilled.inner-ok-missing:settled", + "observation": { + "sender": ["4670310cd94e", "1c35c145196b", "c41375ac7391", "374a424a4fcb"], + "payloads": ["f7f1557b866b", "f7594a980fe2", "f14b5bb0c614", "0ea7d26d0706"], + "settlements": { + "list": "a2879fd6371d", + "download": "eb79a9b3682a", + "delete": "fc5fb77f49bb", + "configure": "a2879fd6371d" + }, + "state": "7c5b27891a8f", + "effects": [] + } + }, + { + "id": "speech-setup-sheet-fulfilled.inner-false-string-error:settled", + "observation": { + "sender": ["4670310cd94e", "070886afd931", "c41375ac7391", "374a424a4fcb"], + "payloads": ["f7f1557b866b", "f7594a980fe2", "f14b5bb0c614", "0ea7d26d0706"], + "settlements": { + "list": "a2879fd6371d", + "download": "eb79a9b3682a", + "delete": "fc5fb77f49bb", + "configure": "a2879fd6371d" + }, + "state": "7c5b27891a8f", + "effects": [] + } + }, + { + "id": "speech-setup-sheet-fulfilled.inner-false-object-error:settled", + "observation": { + "sender": ["4670310cd94e", "99815410184d", "c41375ac7391", "374a424a4fcb"], + "payloads": ["f7f1557b866b", "f7594a980fe2", "f14b5bb0c614", "0ea7d26d0706"], + "settlements": { + "list": "a2879fd6371d", + "download": "eb79a9b3682a", + "delete": "fc5fb77f49bb", + "configure": "a2879fd6371d" + }, + "state": "7c5b27891a8f", + "effects": [] + } + }, + { + "id": "speech-setup-sheet-fulfilled.outer-refused:settled", + "observation": { + "sender": ["4670310cd94e", "13c598d21f30", "c41375ac7391", "374a424a4fcb"], + "payloads": ["f7f1557b866b", "f7594a980fe2", "f14b5bb0c614", "0ea7d26d0706"], + "settlements": { + "list": "a2879fd6371d", + "download": "32a7c0ae7918", + "delete": "fc5fb77f49bb", + "configure": "a2879fd6371d" + }, + "state": "057063fa142d", + "effects": [] + } + }, + { + "id": "speech-setup-sheet-fulfilled.outer-refused-no-message:settled", + "observation": { + "sender": ["4670310cd94e", "5a8462b1c151", "c41375ac7391", "374a424a4fcb"], + "payloads": ["f7f1557b866b", "f7594a980fe2", "f14b5bb0c614", "0ea7d26d0706"], + "settlements": { + "list": "a2879fd6371d", + "download": "d1b9d465d73d", + "delete": "fc5fb77f49bb", + "configure": "a2879fd6371d" + }, + "state": "057063fa142d", + "effects": [] + } + }, + { + "id": "speech-setup-sheet-fulfilled.method-not-found:settled", + "observation": { + "sender": ["4670310cd94e", "94b559509089", "c41375ac7391", "374a424a4fcb"], + "payloads": ["f7f1557b866b", "f7594a980fe2", "f14b5bb0c614", "0ea7d26d0706"], + "settlements": { + "list": "a2879fd6371d", + "download": "b948e8307e81", + "delete": "fc5fb77f49bb", + "configure": "a2879fd6371d" + }, + "state": "057063fa142d", + "effects": [] + } + }, + { + "id": "speech-setup-sheet-fulfilled.transport-rejection:settled", + "observation": { + "sender": ["4670310cd94e", "bd088da40a2e", "c41375ac7391", "374a424a4fcb"], + "payloads": ["f7f1557b866b", "f7594a980fe2", "f14b5bb0c614", "0ea7d26d0706"], + "settlements": { + "list": "a2879fd6371d", + "download": "a947768bc0ed", + "delete": "fc5fb77f49bb", + "configure": "a2879fd6371d" + }, + "state": "057063fa142d", + "effects": [] + } + }, + { + "id": "speech-setup-sheet-fulfilled.transport-rejection-no-message:settled", + "observation": { + "sender": ["4670310cd94e", "7adbf3e936d4", "c41375ac7391", "374a424a4fcb"], + "payloads": ["f7f1557b866b", "f7594a980fe2", "f14b5bb0c614", "0ea7d26d0706"], + "settlements": { + "list": "a2879fd6371d", + "download": "c7584e82c72f", + "delete": "fc5fb77f49bb", + "configure": "a2879fd6371d" + }, + "state": "057063fa142d", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-speech.setup-sheet-speech.models.list-1.json b/mobile/rpc-foundation/goldens/matrix-speech.setup-sheet-speech.models.list-1.json new file mode 100644 index 00000000000..0002c2df9b4 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-speech.setup-sheet-speech.models.list-1.json @@ -0,0 +1,965 @@ +{ + "operation": "speech.setup-sheet", + "family": "speech.setup-sheet", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "3ddb44511547ae2fc97340e5a49393233f6716f9704b7b994f43bc030788b25b", + "scenarioSha256": "d63062b89cc83321f6bcbd05c55dd21c71c6ff8c8026d026b5d94e44278ed3d8", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0ea7d26d0706": { + "name": "speech.dictation.setup#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"speech.dictation.setup\",\"params\":{\"enabled\":true,\"modelId\":\"whisper-small\"}}" + }, + "1885e95050f7": { + "configure": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + }, + "delete": { + "enabled": true, + "models": [], + "selectedModelId": "whisper-small" + }, + "download": "started", + "list": "started" + }, + "26e00f0930ac": { + "configure": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + }, + "delete": { + "enabled": true, + "models": [], + "selectedModelId": "whisper-small" + }, + "download": "started", + "list": { + "$rpc": "null" + } + }, + "26e98969da6c": { + "configure": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + }, + "delete": { + "enabled": true, + "models": [], + "selectedModelId": "whisper-small" + }, + "download": "started", + "list": { + "error": "inner refused", + "ok": false + } + }, + "2da5080eab9e": { + "name": "speech.models.list#1", + "args": [ + { + "name": "method", + "value": "speech.models.list" + }, + { + "name": "params", + "value": { + "$rpc": "null" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "301151228fa3": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "refused" + } + }, + "32a7c0ae7918": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "outer refused", + "isRpcDeliveryUnknown": false + } + }, + "374a424a4fcb": { + "name": "speech.dictation.setup#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.setup" + }, + { + "name": "params", + "value": { + "enabled": true, + "modelId": "whisper-small" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + } + } + } + }, + "4670310cd94e": { + "name": "speech.models.list#1", + "args": [ + { + "name": "method", + "value": "speech.models.list" + }, + { + "name": "params", + "value": { + "$rpc": "null" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + } + } + } + }, + "4e80c1e9f058": { + "configure": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + }, + "delete": { + "enabled": true, + "models": [], + "selectedModelId": "whisper-small" + }, + "download": "started", + "list": { + "error": { + "message": "inner refused" + }, + "ok": false + } + }, + "53e0a15f84cd": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Failed to load dictation models", + "isRpcDeliveryUnknown": false + } + }, + "5db4eee60ae8": { + "name": "speech.models.list#1", + "args": [ + { + "name": "method", + "value": "speech.models.list" + }, + { + "name": "params", + "value": { + "$rpc": "null" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "64340d3fedd9": { + "name": "speech.models.list#1", + "args": [ + { + "name": "method", + "value": "speech.models.list" + }, + { + "name": "params", + "value": { + "$rpc": "null" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "6b2c571b433c": { + "name": "speech.models.list#1", + "args": [ + { + "name": "method", + "value": "speech.models.list" + }, + { + "name": "params", + "value": { + "$rpc": "null" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "6d0755a50f1e": { + "name": "speech.models.list#1", + "args": [ + { + "name": "method", + "value": "speech.models.list" + }, + { + "name": "params", + "value": { + "$rpc": "null" + } + }, + { + "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 + } + } + }, + "7c5b27891a8f": { + "configure": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + }, + "delete": { + "enabled": true, + "models": [], + "selectedModelId": "whisper-small" + }, + "download": "started", + "list": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + } + }, + "8214effff7c5": { + "configure": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + }, + "delete": { + "enabled": true, + "models": [], + "selectedModelId": "whisper-small" + }, + "download": "started", + "list": { + "error": "refused" + } + }, + "8c2c55317f83": { + "configure": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + }, + "delete": { + "enabled": true, + "models": [], + "selectedModelId": "whisper-small" + }, + "download": "started" + }, + "9f00dd54ba64": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "inner refused", + "ok": false + } + }, + "a2879fd6371d": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + } + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "ad8a954e879d": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "message": "inner refused" + }, + "ok": false + } + }, + "adf4d28ddca2": { + "name": "speech.models.list#1", + "args": [ + { + "name": "method", + "value": "speech.models.list" + }, + { + "name": "params", + "value": { + "$rpc": "null" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "af96601f1b92": { + "name": "speech.models.list#1", + "args": [ + { + "name": "method", + "value": "speech.models.list" + }, + { + "name": "params", + "value": { + "$rpc": "null" + } + }, + { + "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 + } + } + } + }, + "b578b1b51282": { + "name": "speech.models.list#1", + "args": [ + { + "name": "method", + "value": "speech.models.list" + }, + { + "name": "params", + "value": { + "$rpc": "null" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "b698e02be8d5": { + "name": "speech.models.list#1", + "args": [ + { + "name": "method", + "value": "speech.models.list" + }, + { + "name": "params", + "value": { + "$rpc": "null" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "b948e8307e81": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Unknown method", + "isRpcDeliveryUnknown": false + } + }, + "c41375ac7391": { + "name": "speech.models.delete#1", + "args": [ + { + "name": "method", + "value": "speech.models.delete" + }, + { + "name": "params", + "value": { + "modelId": "whisper-small" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "enabled": true, + "models": [], + "selectedModelId": "whisper-small" + } + } + } + }, + "c4726b5b1f11": { + "name": "speech.models.list#1", + "args": [ + { + "name": "method", + "value": "speech.models.list" + }, + { + "name": "params", + "value": { + "$rpc": "null" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "c7584e82c72f": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + }, + "d0708dcdf365": { + "name": "speech.models.download#1", + "args": [ + { + "name": "method", + "value": "speech.models.download" + }, + { + "name": "params", + "value": { + "modelId": "whisper-small" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "started": true + } + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ee20a1dc39e7": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "null" + } + }, + "f14b5bb0c614": { + "name": "speech.models.delete#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"speech.models.delete\",\"params\":{\"modelId\":\"whisper-small\"}}" + }, + "f7594a980fe2": { + "name": "speech.models.download#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"speech.models.download\",\"params\":{\"modelId\":\"whisper-small\"}}" + }, + "f7f1557b866b": { + "name": "speech.models.list#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"speech.models.list\",\"params\":null}" + }, + "fc5fb77f49bb": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "enabled": true, + "models": [], + "selectedModelId": "whisper-small" + } + } + }, + "recording": { + "scenario": "matrix-speech.setup-sheet-speech.models.list-1", + "checkpoints": [ + { + "id": "speech-setup-sheet-fulfilled.normal:settled", + "observation": { + "sender": ["4670310cd94e", "d0708dcdf365", "c41375ac7391", "374a424a4fcb"], + "payloads": ["f7f1557b866b", "f7594a980fe2", "f14b5bb0c614", "0ea7d26d0706"], + "settlements": { + "list": "a2879fd6371d", + "download": "eb79a9b3682a", + "delete": "fc5fb77f49bb", + "configure": "a2879fd6371d" + }, + "state": "7c5b27891a8f", + "effects": [] + } + }, + { + "id": "speech-setup-sheet-fulfilled.result-absent:settled", + "observation": { + "sender": ["b698e02be8d5", "d0708dcdf365", "c41375ac7391", "374a424a4fcb"], + "payloads": ["f7f1557b866b", "f7594a980fe2", "f14b5bb0c614", "0ea7d26d0706"], + "settlements": { + "list": "eb79a9b3682a", + "download": "eb79a9b3682a", + "delete": "fc5fb77f49bb", + "configure": "a2879fd6371d" + }, + "state": "1885e95050f7", + "effects": [] + } + }, + { + "id": "speech-setup-sheet-fulfilled.result-null:settled", + "observation": { + "sender": ["64340d3fedd9", "d0708dcdf365", "c41375ac7391", "374a424a4fcb"], + "payloads": ["f7f1557b866b", "f7594a980fe2", "f14b5bb0c614", "0ea7d26d0706"], + "settlements": { + "list": "ee20a1dc39e7", + "download": "eb79a9b3682a", + "delete": "fc5fb77f49bb", + "configure": "a2879fd6371d" + }, + "state": "26e00f0930ac", + "effects": [] + } + }, + { + "id": "speech-setup-sheet-fulfilled.inner-ok-missing:settled", + "observation": { + "sender": ["c4726b5b1f11", "d0708dcdf365", "c41375ac7391", "374a424a4fcb"], + "payloads": ["f7f1557b866b", "f7594a980fe2", "f14b5bb0c614", "0ea7d26d0706"], + "settlements": { + "list": "301151228fa3", + "download": "eb79a9b3682a", + "delete": "fc5fb77f49bb", + "configure": "a2879fd6371d" + }, + "state": "8214effff7c5", + "effects": [] + } + }, + { + "id": "speech-setup-sheet-fulfilled.inner-false-string-error:settled", + "observation": { + "sender": ["6b2c571b433c", "d0708dcdf365", "c41375ac7391", "374a424a4fcb"], + "payloads": ["f7f1557b866b", "f7594a980fe2", "f14b5bb0c614", "0ea7d26d0706"], + "settlements": { + "list": "9f00dd54ba64", + "download": "eb79a9b3682a", + "delete": "fc5fb77f49bb", + "configure": "a2879fd6371d" + }, + "state": "26e98969da6c", + "effects": [] + } + }, + { + "id": "speech-setup-sheet-fulfilled.inner-false-object-error:settled", + "observation": { + "sender": ["af96601f1b92", "d0708dcdf365", "c41375ac7391", "374a424a4fcb"], + "payloads": ["f7f1557b866b", "f7594a980fe2", "f14b5bb0c614", "0ea7d26d0706"], + "settlements": { + "list": "ad8a954e879d", + "download": "eb79a9b3682a", + "delete": "fc5fb77f49bb", + "configure": "a2879fd6371d" + }, + "state": "4e80c1e9f058", + "effects": [] + } + }, + { + "id": "speech-setup-sheet-fulfilled.outer-refused:settled", + "observation": { + "sender": ["b578b1b51282", "d0708dcdf365", "c41375ac7391", "374a424a4fcb"], + "payloads": ["f7f1557b866b", "f7594a980fe2", "f14b5bb0c614", "0ea7d26d0706"], + "settlements": { + "list": "32a7c0ae7918", + "download": "eb79a9b3682a", + "delete": "fc5fb77f49bb", + "configure": "a2879fd6371d" + }, + "state": "8c2c55317f83", + "effects": [] + } + }, + { + "id": "speech-setup-sheet-fulfilled.outer-refused-no-message:settled", + "observation": { + "sender": ["5db4eee60ae8", "d0708dcdf365", "c41375ac7391", "374a424a4fcb"], + "payloads": ["f7f1557b866b", "f7594a980fe2", "f14b5bb0c614", "0ea7d26d0706"], + "settlements": { + "list": "53e0a15f84cd", + "download": "eb79a9b3682a", + "delete": "fc5fb77f49bb", + "configure": "a2879fd6371d" + }, + "state": "8c2c55317f83", + "effects": [] + } + }, + { + "id": "speech-setup-sheet-fulfilled.method-not-found:settled", + "observation": { + "sender": ["6d0755a50f1e", "d0708dcdf365", "c41375ac7391", "374a424a4fcb"], + "payloads": ["f7f1557b866b", "f7594a980fe2", "f14b5bb0c614", "0ea7d26d0706"], + "settlements": { + "list": "b948e8307e81", + "download": "eb79a9b3682a", + "delete": "fc5fb77f49bb", + "configure": "a2879fd6371d" + }, + "state": "8c2c55317f83", + "effects": [] + } + }, + { + "id": "speech-setup-sheet-fulfilled.transport-rejection:settled", + "observation": { + "sender": ["2da5080eab9e", "d0708dcdf365", "c41375ac7391", "374a424a4fcb"], + "payloads": ["f7f1557b866b", "f7594a980fe2", "f14b5bb0c614", "0ea7d26d0706"], + "settlements": { + "list": "a947768bc0ed", + "download": "eb79a9b3682a", + "delete": "fc5fb77f49bb", + "configure": "a2879fd6371d" + }, + "state": "8c2c55317f83", + "effects": [] + } + }, + { + "id": "speech-setup-sheet-fulfilled.transport-rejection-no-message:settled", + "observation": { + "sender": ["adf4d28ddca2", "d0708dcdf365", "c41375ac7391", "374a424a4fcb"], + "payloads": ["f7f1557b866b", "f7594a980fe2", "f14b5bb0c614", "0ea7d26d0706"], + "settlements": { + "list": "c7584e82c72f", + "download": "eb79a9b3682a", + "delete": "fc5fb77f49bb", + "configure": "a2879fd6371d" + }, + "state": "8c2c55317f83", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.item-checks-files-github.addprreviewcomment-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.item-checks-files-github.addprreviewcomment-1.json new file mode 100644 index 00000000000..9a9578e719b --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.item-checks-files-github.addprreviewcomment-1.json @@ -0,0 +1,2564 @@ +{ + "operation": "tasks.item-checks-files-github", + "family": "tasks.item-checks-files", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "8c4218bfb2af227da5386f29989cec438f2c6187f39ce1c06859e136ea920bfa", + "scenarioSha256": "751e0446d4cb64f80c997695cadb5d59d9698b4920a8ae16b95cb01e1ff37579", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "023bacc5a99f": { + "name": "github.setPRFileViewed#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.setPRFileViewed\",\"params\":{\"repo\":\"id:repo-1\",\"pullRequestId\":\"PR_kwDO\",\"path\":\"src/index.ts\",\"viewed\":true}}" + }, + "02b35324051f": { + "name": "prFileLoadingPath", + "value": { + "$rpc": "null" + }, + "sent": 4 + }, + "02b52513bb0d": { + "name": "mutatingStatus", + "value": true, + "sent": 4 + }, + "0c0d6ea592d5": { + "name": "mutatingStatus", + "value": false, + "sent": 3 + }, + "139752a53264": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "Unknown method", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "143835031ae8": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "outer refused", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "1664dec79a8c": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "drafts": {}, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a review comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "local-1767225600000", + "line": 12, + "path": "src/index.ts" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "169fba726515": { + "name": "github.addPRReviewComment#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.addPRReviewComment\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"commitId\":\"head-sha\",\"path\":\"src/index.ts\",\"line\":12,\"body\":\"a review comment\"}}" + }, + "1e34370849ff": { + "name": "error", + "value": "", + "sent": 4 + }, + "2322bd630112": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 2 + }, + "2dcc3610aa80": { + "name": "error", + "value": "Cannot read properties of null (reading 'ok')", + "sent": 5 + }, + "2e81adcfbca6": { + "name": "error", + "value": "Unknown method", + "sent": 5 + }, + "30196bc9a973": { + "name": "detailRefreshSeq", + "value": 1, + "sent": 1 + }, + "30f161ec011f": { + "name": "error", + "value": "Cannot read properties of undefined (reading 'ok')", + "sent": 5 + }, + "32a3635e06a4": { + "name": "mutatingStatus", + "value": false, + "sent": 1 + }, + "35d0a5aace97": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "Cannot read properties of undefined (reading 'ok')", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "36bcd0cc2219": { + "name": "error", + "value": "[object Object]", + "sent": 5 + }, + "38d90ed8a1ee": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "drafts": {}, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a review comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 901, + "line": 12, + "path": "src/index.ts" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "3d589c54ccdc": { + "name": "prFileContents", + "value": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "sent": 4 + }, + "4174675282eb": { + "name": "error", + "value": "transport failure", + "sent": 5 + }, + "48887ca5265d": { + "name": "github.addPRReviewComment#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewComment" + }, + { + "name": "params", + "value": { + "body": "a review comment", + "commitId": "head-sha", + "line": 12, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "4b4ca1abe880": { + "contents": {}, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "5467502970f1": { + "name": "mutatingStatus", + "value": false, + "sent": 5 + }, + "56b95ef32926": { + "name": "github.prFileContents#1", + "args": [ + { + "name": "method", + "value": "github.prFileContents" + }, + { + "name": "params", + "value": { + "baseSha": "base-sha", + "headSha": "head-sha", + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1", + "status": "modified" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + } + } + }, + "583b546bd557": { + "name": "mutatingStatus", + "value": true, + "sent": 1 + }, + "58deaf3a6563": { + "contents": {}, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "6ba526833af0": { + "name": "error", + "value": "", + "sent": 5 + }, + "719c7f70fd21": { + "name": "github.resolveReviewThread#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.resolveReviewThread\",\"params\":{\"repo\":\"id:repo-1\",\"threadId\":\"thread-1\",\"resolve\":true}}" + }, + "7418dba01b6e": { + "contents": {}, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "80c6be381021": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "inner refused", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "82983d26b169": { + "name": "mutatingStatus", + "value": true, + "sent": 2 + }, + "8920eea8d02d": { + "name": "github.addPRReviewComment#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewComment" + }, + { + "name": "params", + "value": { + "body": "a review comment", + "commitId": "head-sha", + "line": 12, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "8c3bfdbaf598": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a review comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 901, + "line": 12, + "path": "src/index.ts" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 5 + }, + "8cde53a56cdf": { + "name": "mutatingStatus", + "value": false, + "sent": 2 + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "9e745ce96dca": { + "name": "github.addPRReviewComment#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewComment" + }, + { + "name": "params", + "value": { + "body": "a review comment", + "commitId": "head-sha", + "line": 12, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true + } + } + }, + "a2e2063acb1e": { + "name": "github.addPRReviewComment#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewComment" + }, + { + "name": "params", + "value": { + "body": "a review comment", + "commitId": "head-sha", + "line": 12, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-5", + "ok": false + } + } + }, + "a5b56b388d19": { + "name": "github.addPRReviewComment#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewComment" + }, + { + "name": "params", + "value": { + "body": "a review comment", + "commitId": "head-sha", + "line": 12, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "comment": { + "author": "You", + "body": "a review comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 901, + "line": 12, + "path": "src/index.ts" + }, + "ok": true + } + } + } + }, + "a82a30c9d838": { + "name": "prFileLoadingPath", + "value": "src/index.ts", + "sent": 3 + }, + "a8b3659ce28d": { + "name": "github.addPRReviewComment#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewComment" + }, + { + "name": "params", + "value": { + "body": "a review comment", + "commitId": "head-sha", + "line": 12, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-5", + "ok": false + } + } + }, + "a94ae672d47d": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "b57ded8a3ea3": { + "name": "error", + "value": "", + "sent": 2 + }, + "b76ac293cbde": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "Cannot read properties of null (reading 'ok')", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "bcb382ff8ccc": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": true + } + } + }, + "bda506c98a54": { + "name": "github.addPRReviewComment#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewComment" + }, + { + "name": "params", + "value": { + "body": "a review comment", + "commitId": "head-sha", + "line": 12, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "c3ea578fcb3f": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "c6e27e4aac60": { + "name": "github.addPRReviewComment#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewComment" + }, + { + "name": "params", + "value": { + "body": "a review comment", + "commitId": "head-sha", + "line": 12, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "c6fec2450611": { + "name": "github.addPRReviewComment#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewComment" + }, + { + "name": "params", + "value": { + "body": "a review comment", + "commitId": "head-sha", + "line": 12, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "ca1b07a1f5d1": { + "name": "github.addPRReviewComment#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewComment" + }, + { + "name": "params", + "value": { + "body": "a review comment", + "commitId": "head-sha", + "line": 12, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-5", + "ok": false + } + } + }, + "cc96725d8f47": { + "name": "mutatingStatus", + "value": true, + "sent": 0 + }, + "d1316d48eea4": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "[object Object]", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "d27db8a11567": { + "name": "error", + "value": "inner refused", + "sent": 5 + }, + "d2a2d7255ff4": { + "name": "github.addPRReviewComment#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewComment" + }, + { + "name": "params", + "value": { + "body": "a review comment", + "commitId": "head-sha", + "line": 12, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Connection closed", + "isRpcDeliveryUnknown": true + } + } + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "d530e4061382": { + "name": "github.prFileContents#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.prFileContents\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"path\":\"src/index.ts\",\"status\":\"modified\",\"headSha\":\"head-sha\",\"baseSha\":\"base-sha\"}}" + }, + "d6639f415773": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 3 + }, + "dbbebbd74a18": { + "name": "error", + "value": "", + "sent": 3 + }, + "e14b632f629a": { + "name": "github.setPRFileViewed#1", + "args": [ + { + "name": "method", + "value": "github.setPRFileViewed" + }, + { + "name": "params", + "value": { + "path": "src/index.ts", + "pullRequestId": "PR_kwDO", + "repo": "id:repo-1", + "viewed": true + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": true + } + } + }, + "e294d34724a7": { + "name": "github.addPRReviewComment#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewComment" + }, + { + "name": "params", + "value": { + "body": "a review comment", + "commitId": "head-sha", + "line": 12, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "e6fbd22fd721": { + "name": "github.rerunPRChecks#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.rerunPRChecks\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"headSha\":\"head-sha\",\"failedOnly\":true}}" + }, + "e87d71fbc115": { + "name": "error", + "value": "Connection closed", + "sent": 5 + }, + "ea0b5baf62b3": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "", + "mutating": true, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f1d782d012f9": { + "name": "expandedPrFilePath", + "value": "src/index.ts", + "sent": 3 + }, + "f28dd4f3c720": { + "name": "prFileCommentDrafts", + "value": {}, + "sent": 5 + }, + "f380145170e4": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "transport failure", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "f673fac7d1d0": { + "name": "error", + "value": "outer refused", + "sent": 5 + }, + "f7ad057aa897": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a review comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "local-1767225600000", + "line": 12, + "path": "src/index.ts" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 5 + } + }, + "recording": { + "scenario": "matrix-tasks.item-checks-files-github.addprreviewcomment-1", + "checkpoints": [ + { + "id": "tk-item-checks-files.prelude:rerun-settled", + "observation": { + "sender": ["a94ae672d47d"], + "payloads": ["e6fbd22fd721"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a" + }, + "state": "58deaf3a6563", + "effects": ["cc96725d8f47", "9e263f5e91be", "30196bc9a973", "32a3635e06a4"] + } + }, + { + "id": "tk-item-checks-files.prelude:viewed-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a"], + "payloads": ["e6fbd22fd721", "023bacc5a99f"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a" + }, + "state": "7418dba01b6e", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-checks-files.prelude:thread-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a", "bcb382ff8ccc"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a" + }, + "state": "4b4ca1abe880", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-checks-files.prelude:expand-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a", "bcb382ff8ccc", "56b95ef32926"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "c3ea578fcb3f", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f" + ] + } + }, + { + "id": "tk-item-checks-files.prelude:cleanup", + "observation": { + "sender": [ + "a94ae672d47d", + "e14b632f629a", + "bcb382ff8ccc", + "56b95ef32926", + "d2a2d7255ff4" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "ea0b5baf62b3", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "e87d71fbc115", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.normal:file-comment-settled", + "observation": { + "sender": [ + "a94ae672d47d", + "e14b632f629a", + "bcb382ff8ccc", + "56b95ef32926", + "a5b56b388d19" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "38d90ed8a1ee", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "8c3bfdbaf598", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.result-absent:file-comment-settled", + "observation": { + "sender": [ + "a94ae672d47d", + "e14b632f629a", + "bcb382ff8ccc", + "56b95ef32926", + "9e745ce96dca" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "35d0a5aace97", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "30f161ec011f", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.result-null:file-comment-settled", + "observation": { + "sender": [ + "a94ae672d47d", + "e14b632f629a", + "bcb382ff8ccc", + "56b95ef32926", + "bda506c98a54" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "b76ac293cbde", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "2dcc3610aa80", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.inner-ok-missing:file-comment-settled", + "observation": { + "sender": [ + "a94ae672d47d", + "e14b632f629a", + "bcb382ff8ccc", + "56b95ef32926", + "c6e27e4aac60" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "1664dec79a8c", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "f7ad057aa897", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.inner-false-string-error:file-comment-settled", + "observation": { + "sender": [ + "a94ae672d47d", + "e14b632f629a", + "bcb382ff8ccc", + "56b95ef32926", + "e294d34724a7" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "80c6be381021", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "d27db8a11567", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.inner-false-object-error:file-comment-settled", + "observation": { + "sender": [ + "a94ae672d47d", + "e14b632f629a", + "bcb382ff8ccc", + "56b95ef32926", + "8920eea8d02d" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "d1316d48eea4", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "36bcd0cc2219", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.outer-refused:file-comment-settled", + "observation": { + "sender": [ + "a94ae672d47d", + "e14b632f629a", + "bcb382ff8ccc", + "56b95ef32926", + "ca1b07a1f5d1" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "143835031ae8", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f673fac7d1d0", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.outer-refused-no-message:file-comment-settled", + "observation": { + "sender": [ + "a94ae672d47d", + "e14b632f629a", + "bcb382ff8ccc", + "56b95ef32926", + "a2e2063acb1e" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "c3ea578fcb3f", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "6ba526833af0", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.method-not-found:file-comment-settled", + "observation": { + "sender": [ + "a94ae672d47d", + "e14b632f629a", + "bcb382ff8ccc", + "56b95ef32926", + "a8b3659ce28d" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "139752a53264", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "2e81adcfbca6", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.transport-rejection:file-comment-settled", + "observation": { + "sender": [ + "a94ae672d47d", + "e14b632f629a", + "bcb382ff8ccc", + "56b95ef32926", + "48887ca5265d" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "f380145170e4", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "4174675282eb", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.transport-rejection-no-message:file-comment-settled", + "observation": { + "sender": [ + "a94ae672d47d", + "e14b632f629a", + "bcb382ff8ccc", + "56b95ef32926", + "c6fec2450611" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "c3ea578fcb3f", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "6ba526833af0", + "5467502970f1" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.item-checks-files-github.prfilecontents-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.item-checks-files-github.prfilecontents-1.json new file mode 100644 index 00000000000..7dfba9a7326 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.item-checks-files-github.prfilecontents-1.json @@ -0,0 +1,3190 @@ +{ + "operation": "tasks.item-checks-files-github", + "family": "tasks.item-checks-files", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "8c4218bfb2af227da5386f29989cec438f2c6187f39ce1c06859e136ea920bfa", + "scenarioSha256": "525fc4a694e8d1eaa4dab254c05f6bbdfbff31f9137bf9ba277ed508fd56e30e", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "023bacc5a99f": { + "name": "github.setPRFileViewed#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.setPRFileViewed\",\"params\":{\"repo\":\"id:repo-1\",\"pullRequestId\":\"PR_kwDO\",\"path\":\"src/index.ts\",\"viewed\":true}}" + }, + "02b35324051f": { + "name": "prFileLoadingPath", + "value": { + "$rpc": "null" + }, + "sent": 4 + }, + "02b52513bb0d": { + "name": "mutatingStatus", + "value": true, + "sent": 4 + }, + "09ab59e7bed7": { + "contents": { + "src/index.ts": { + "$rpc": "null" + } + }, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "0c0d6ea592d5": { + "name": "mutatingStatus", + "value": false, + "sent": 3 + }, + "169fba726515": { + "name": "github.addPRReviewComment#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.addPRReviewComment\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"commitId\":\"head-sha\",\"path\":\"src/index.ts\",\"line\":12,\"body\":\"a review comment\"}}" + }, + "1906d3587624": { + "name": "github.prFileContents#1", + "args": [ + { + "name": "method", + "value": "github.prFileContents" + }, + { + "name": "params", + "value": { + "baseSha": "base-sha", + "headSha": "head-sha", + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1", + "status": "modified" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "1bc191fab81f": { + "name": "prFileContents", + "value": { + "src/index.ts": { + "$rpc": "undefined" + } + }, + "sent": 4 + }, + "1e34370849ff": { + "name": "error", + "value": "", + "sent": 4 + }, + "1e46eab4fde9": { + "name": "github.prFileContents#1", + "args": [ + { + "name": "method", + "value": "github.prFileContents" + }, + { + "name": "params", + "value": { + "baseSha": "base-sha", + "headSha": "head-sha", + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1", + "status": "modified" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "2322bd630112": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 2 + }, + "2612177ac631": { + "contents": {}, + "drafts": {}, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a review comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 901, + "line": 12, + "path": "src/index.ts" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "2b36c236eb98": { + "contents": { + "src/index.ts": { + "error": "inner refused", + "ok": false + } + }, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "2d7af81eed6d": { + "name": "github.prFileContents#1", + "args": [ + { + "name": "method", + "value": "github.prFileContents" + }, + { + "name": "params", + "value": { + "baseSha": "base-sha", + "headSha": "head-sha", + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1", + "status": "modified" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "30196bc9a973": { + "name": "detailRefreshSeq", + "value": 1, + "sent": 1 + }, + "32a3635e06a4": { + "name": "mutatingStatus", + "value": false, + "sent": 1 + }, + "38d90ed8a1ee": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "drafts": {}, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a review comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 901, + "line": 12, + "path": "src/index.ts" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "3b74ca96fbbf": { + "name": "prFileContents", + "value": { + "src/index.ts": { + "error": { + "message": "inner refused" + }, + "ok": false + } + }, + "sent": 4 + }, + "3d589c54ccdc": { + "name": "prFileContents", + "value": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "sent": 4 + }, + "3fa5d59b3bdc": { + "contents": {}, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "Unknown method", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "437650c032c7": { + "contents": { + "src/index.ts": { + "$rpc": "undefined" + } + }, + "drafts": {}, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a review comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 901, + "line": 12, + "path": "src/index.ts" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "4a38f5d5d245": { + "name": "error", + "value": "Connection closed", + "sent": 4 + }, + "4b4ca1abe880": { + "contents": {}, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "541730f3b51f": { + "name": "github.prFileContents#1", + "args": [ + { + "name": "method", + "value": "github.prFileContents" + }, + { + "name": "params", + "value": { + "baseSha": "base-sha", + "headSha": "head-sha", + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1", + "status": "modified" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true + } + } + }, + "5427516fa87b": { + "contents": {}, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "outer refused", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "5467502970f1": { + "name": "mutatingStatus", + "value": false, + "sent": 5 + }, + "54bc4c012b07": { + "name": "github.prFileContents#1", + "args": [ + { + "name": "method", + "value": "github.prFileContents" + }, + { + "name": "params", + "value": { + "baseSha": "base-sha", + "headSha": "head-sha", + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1", + "status": "modified" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-4", + "ok": false + } + } + }, + "56b95ef32926": { + "name": "github.prFileContents#1", + "args": [ + { + "name": "method", + "value": "github.prFileContents" + }, + { + "name": "params", + "value": { + "baseSha": "base-sha", + "headSha": "head-sha", + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1", + "status": "modified" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + } + } + }, + "583b546bd557": { + "name": "mutatingStatus", + "value": true, + "sent": 1 + }, + "58deaf3a6563": { + "contents": {}, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "598d95f891dc": { + "name": "error", + "value": "Unknown method", + "sent": 4 + }, + "5a1e66f04e98": { + "name": "github.prFileContents#1", + "args": [ + { + "name": "method", + "value": "github.prFileContents" + }, + { + "name": "params", + "value": { + "baseSha": "base-sha", + "headSha": "head-sha", + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1", + "status": "modified" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "6255f2d00cb6": { + "contents": { + "src/index.ts": { + "$rpc": "undefined" + } + }, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "719c7f70fd21": { + "name": "github.resolveReviewThread#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.resolveReviewThread\",\"params\":{\"repo\":\"id:repo-1\",\"threadId\":\"thread-1\",\"resolve\":true}}" + }, + "7417da4c0d2a": { + "contents": { + "src/index.ts": { + "error": "refused" + } + }, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "7418dba01b6e": { + "contents": {}, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "7aa325e6bf84": { + "name": "prFileContents", + "value": { + "src/index.ts": { + "error": "inner refused", + "ok": false + } + }, + "sent": 4 + }, + "82983d26b169": { + "name": "mutatingStatus", + "value": true, + "sent": 2 + }, + "8c3bfdbaf598": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a review comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 901, + "line": 12, + "path": "src/index.ts" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 5 + }, + "8cde53a56cdf": { + "name": "mutatingStatus", + "value": false, + "sent": 2 + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "a4977f18017a": { + "name": "github.prFileContents#1", + "args": [ + { + "name": "method", + "value": "github.prFileContents" + }, + { + "name": "params", + "value": { + "baseSha": "base-sha", + "headSha": "head-sha", + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1", + "status": "modified" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Connection closed", + "isRpcDeliveryUnknown": true + } + } + }, + "a5b56b388d19": { + "name": "github.addPRReviewComment#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewComment" + }, + { + "name": "params", + "value": { + "body": "a review comment", + "commitId": "head-sha", + "line": 12, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "comment": { + "author": "You", + "body": "a review comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 901, + "line": 12, + "path": "src/index.ts" + }, + "ok": true + } + } + } + }, + "a82a30c9d838": { + "name": "prFileLoadingPath", + "value": "src/index.ts", + "sent": 3 + }, + "a94ae672d47d": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "ac63ff06c6f0": { + "name": "prFileContents", + "value": { + "src/index.ts": { + "error": "refused" + } + }, + "sent": 4 + }, + "b57ded8a3ea3": { + "name": "error", + "value": "", + "sent": 2 + }, + "b86cf363fb90": { + "name": "github.prFileContents#1", + "args": [ + { + "name": "method", + "value": "github.prFileContents" + }, + { + "name": "params", + "value": { + "baseSha": "base-sha", + "headSha": "head-sha", + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1", + "status": "modified" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-4", + "ok": false + } + } + }, + "bbc7b8125888": { + "contents": { + "src/index.ts": { + "$rpc": "null" + } + }, + "drafts": {}, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a review comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 901, + "line": 12, + "path": "src/index.ts" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "bcb382ff8ccc": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": true + } + } + }, + "bedd28d22093": { + "contents": { + "src/index.ts": { + "error": { + "message": "inner refused" + }, + "ok": false + } + }, + "drafts": {}, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a review comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 901, + "line": 12, + "path": "src/index.ts" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "c3ea578fcb3f": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "c85e2446fc79": { + "contents": {}, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "transport failure", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "cc23a3557d7a": { + "name": "prFileContents", + "value": { + "src/index.ts": { + "$rpc": "null" + } + }, + "sent": 4 + }, + "cc96725d8f47": { + "name": "mutatingStatus", + "value": true, + "sent": 0 + }, + "cd49f254a729": { + "contents": { + "src/index.ts": { + "error": { + "message": "inner refused" + }, + "ok": false + } + }, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "d085d3db6143": { + "name": "github.prFileContents#1", + "args": [ + { + "name": "method", + "value": "github.prFileContents" + }, + { + "name": "params", + "value": { + "baseSha": "base-sha", + "headSha": "head-sha", + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1", + "status": "modified" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-4", + "ok": false + } + } + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "d530e4061382": { + "name": "github.prFileContents#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.prFileContents\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"path\":\"src/index.ts\",\"status\":\"modified\",\"headSha\":\"head-sha\",\"baseSha\":\"base-sha\"}}" + }, + "d6639f415773": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 3 + }, + "dbbebbd74a18": { + "name": "error", + "value": "", + "sent": 3 + }, + "e068d3c5d275": { + "name": "github.prFileContents#1", + "args": [ + { + "name": "method", + "value": "github.prFileContents" + }, + { + "name": "params", + "value": { + "baseSha": "base-sha", + "headSha": "head-sha", + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1", + "status": "modified" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "e14b632f629a": { + "name": "github.setPRFileViewed#1", + "args": [ + { + "name": "method", + "value": "github.setPRFileViewed" + }, + { + "name": "params", + "value": { + "path": "src/index.ts", + "pullRequestId": "PR_kwDO", + "repo": "id:repo-1", + "viewed": true + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": true + } + } + }, + "e57a3f9ecfc9": { + "name": "error", + "value": "outer refused", + "sent": 4 + }, + "e594e65c588c": { + "name": "error", + "value": "transport failure", + "sent": 4 + }, + "e6577d375511": { + "contents": { + "src/index.ts": { + "error": "refused" + } + }, + "drafts": {}, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a review comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 901, + "line": 12, + "path": "src/index.ts" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "e6fbd22fd721": { + "name": "github.rerunPRChecks#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.rerunPRChecks\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"headSha\":\"head-sha\",\"failedOnly\":true}}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f1d782d012f9": { + "name": "expandedPrFilePath", + "value": "src/index.ts", + "sent": 3 + }, + "f28dd4f3c720": { + "name": "prFileCommentDrafts", + "value": {}, + "sent": 5 + }, + "f9b4dc062a34": { + "name": "github.prFileContents#1", + "args": [ + { + "name": "method", + "value": "github.prFileContents" + }, + { + "name": "params", + "value": { + "baseSha": "base-sha", + "headSha": "head-sha", + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1", + "status": "modified" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "fe0cf00bd588": { + "contents": { + "src/index.ts": { + "error": "inner refused", + "ok": false + } + }, + "drafts": {}, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a review comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 901, + "line": 12, + "path": "src/index.ts" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + } + }, + "recording": { + "scenario": "matrix-tasks.item-checks-files-github.prfilecontents-1", + "checkpoints": [ + { + "id": "tk-item-checks-files.prelude:rerun-settled", + "observation": { + "sender": ["a94ae672d47d"], + "payloads": ["e6fbd22fd721"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a" + }, + "state": "58deaf3a6563", + "effects": ["cc96725d8f47", "9e263f5e91be", "30196bc9a973", "32a3635e06a4"] + } + }, + { + "id": "tk-item-checks-files.prelude:viewed-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a"], + "payloads": ["e6fbd22fd721", "023bacc5a99f"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a" + }, + "state": "7418dba01b6e", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-checks-files.prelude:thread-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a", "bcb382ff8ccc"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a" + }, + "state": "4b4ca1abe880", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-checks-files.prelude:cleanup", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a", "bcb382ff8ccc", "a4977f18017a"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "4b4ca1abe880", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "4a38f5d5d245", + "02b35324051f" + ] + } + }, + { + "id": "tk-item-checks-files.normal:expand-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a", "bcb382ff8ccc", "56b95ef32926"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "c3ea578fcb3f", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f" + ] + } + }, + { + "id": "tk-item-checks-files.normal:file-comment-settled", + "observation": { + "sender": [ + "a94ae672d47d", + "e14b632f629a", + "bcb382ff8ccc", + "56b95ef32926", + "a5b56b388d19" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "38d90ed8a1ee", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "8c3bfdbaf598", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.result-absent:expand-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a", "bcb382ff8ccc", "541730f3b51f"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "6255f2d00cb6", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "1bc191fab81f", + "02b35324051f" + ] + } + }, + { + "id": "tk-item-checks-files.result-absent:file-comment-settled", + "observation": { + "sender": [ + "a94ae672d47d", + "e14b632f629a", + "bcb382ff8ccc", + "541730f3b51f", + "a5b56b388d19" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "437650c032c7", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "1bc191fab81f", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "8c3bfdbaf598", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.result-null:expand-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a", "bcb382ff8ccc", "1906d3587624"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "09ab59e7bed7", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "cc23a3557d7a", + "02b35324051f" + ] + } + }, + { + "id": "tk-item-checks-files.result-null:file-comment-settled", + "observation": { + "sender": [ + "a94ae672d47d", + "e14b632f629a", + "bcb382ff8ccc", + "1906d3587624", + "a5b56b388d19" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "bbc7b8125888", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "cc23a3557d7a", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "8c3bfdbaf598", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.inner-ok-missing:expand-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a", "bcb382ff8ccc", "1e46eab4fde9"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "7417da4c0d2a", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "ac63ff06c6f0", + "02b35324051f" + ] + } + }, + { + "id": "tk-item-checks-files.inner-ok-missing:file-comment-settled", + "observation": { + "sender": [ + "a94ae672d47d", + "e14b632f629a", + "bcb382ff8ccc", + "1e46eab4fde9", + "a5b56b388d19" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "e6577d375511", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "ac63ff06c6f0", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "8c3bfdbaf598", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.inner-false-string-error:expand-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a", "bcb382ff8ccc", "5a1e66f04e98"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "2b36c236eb98", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "7aa325e6bf84", + "02b35324051f" + ] + } + }, + { + "id": "tk-item-checks-files.inner-false-string-error:file-comment-settled", + "observation": { + "sender": [ + "a94ae672d47d", + "e14b632f629a", + "bcb382ff8ccc", + "5a1e66f04e98", + "a5b56b388d19" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "fe0cf00bd588", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "7aa325e6bf84", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "8c3bfdbaf598", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.inner-false-object-error:expand-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a", "bcb382ff8ccc", "f9b4dc062a34"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "cd49f254a729", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3b74ca96fbbf", + "02b35324051f" + ] + } + }, + { + "id": "tk-item-checks-files.inner-false-object-error:file-comment-settled", + "observation": { + "sender": [ + "a94ae672d47d", + "e14b632f629a", + "bcb382ff8ccc", + "f9b4dc062a34", + "a5b56b388d19" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "bedd28d22093", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3b74ca96fbbf", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "8c3bfdbaf598", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.outer-refused:expand-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a", "bcb382ff8ccc", "d085d3db6143"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "5427516fa87b", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "e57a3f9ecfc9", + "02b35324051f" + ] + } + }, + { + "id": "tk-item-checks-files.outer-refused:file-comment-settled", + "observation": { + "sender": [ + "a94ae672d47d", + "e14b632f629a", + "bcb382ff8ccc", + "d085d3db6143", + "a5b56b388d19" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "2612177ac631", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "e57a3f9ecfc9", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "8c3bfdbaf598", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.outer-refused-no-message:expand-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a", "bcb382ff8ccc", "b86cf363fb90"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "4b4ca1abe880", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "1e34370849ff", + "02b35324051f" + ] + } + }, + { + "id": "tk-item-checks-files.outer-refused-no-message:file-comment-settled", + "observation": { + "sender": [ + "a94ae672d47d", + "e14b632f629a", + "bcb382ff8ccc", + "b86cf363fb90", + "a5b56b388d19" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "2612177ac631", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "1e34370849ff", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "8c3bfdbaf598", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.method-not-found:expand-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a", "bcb382ff8ccc", "54bc4c012b07"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "3fa5d59b3bdc", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "598d95f891dc", + "02b35324051f" + ] + } + }, + { + "id": "tk-item-checks-files.method-not-found:file-comment-settled", + "observation": { + "sender": [ + "a94ae672d47d", + "e14b632f629a", + "bcb382ff8ccc", + "54bc4c012b07", + "a5b56b388d19" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "2612177ac631", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "598d95f891dc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "8c3bfdbaf598", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.transport-rejection:expand-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a", "bcb382ff8ccc", "e068d3c5d275"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "c85e2446fc79", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "e594e65c588c", + "02b35324051f" + ] + } + }, + { + "id": "tk-item-checks-files.transport-rejection:file-comment-settled", + "observation": { + "sender": [ + "a94ae672d47d", + "e14b632f629a", + "bcb382ff8ccc", + "e068d3c5d275", + "a5b56b388d19" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "2612177ac631", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "e594e65c588c", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "8c3bfdbaf598", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.transport-rejection-no-message:expand-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a", "bcb382ff8ccc", "2d7af81eed6d"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "4b4ca1abe880", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "1e34370849ff", + "02b35324051f" + ] + } + }, + { + "id": "tk-item-checks-files.transport-rejection-no-message:file-comment-settled", + "observation": { + "sender": [ + "a94ae672d47d", + "e14b632f629a", + "bcb382ff8ccc", + "2d7af81eed6d", + "a5b56b388d19" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "2612177ac631", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "1e34370849ff", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "8c3bfdbaf598", + "5467502970f1" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.item-checks-files-github.rerunprchecks-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.item-checks-files-github.rerunprchecks-1.json new file mode 100644 index 00000000000..a0cc4386ab8 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.item-checks-files-github.rerunprchecks-1.json @@ -0,0 +1,3499 @@ +{ + "operation": "tasks.item-checks-files-github", + "family": "tasks.item-checks-files", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "8c4218bfb2af227da5386f29989cec438f2c6187f39ce1c06859e136ea920bfa", + "scenarioSha256": "693c645ebbd13f438f19a8a96d52fa2e72c1c910aa45f04ba7f17c1c90e13169", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "023bacc5a99f": { + "name": "github.setPRFileViewed#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.setPRFileViewed\",\"params\":{\"repo\":\"id:repo-1\",\"pullRequestId\":\"PR_kwDO\",\"path\":\"src/index.ts\",\"viewed\":true}}" + }, + "023bc6c4612e": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "02b35324051f": { + "name": "prFileLoadingPath", + "value": { + "$rpc": "null" + }, + "sent": 4 + }, + "02b52513bb0d": { + "name": "mutatingStatus", + "value": true, + "sent": 4 + }, + "0c0d6ea592d5": { + "name": "mutatingStatus", + "value": false, + "sent": 3 + }, + "11b5f0721ce4": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "drafts": {}, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a review comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 901, + "line": 12, + "path": "src/index.ts" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 0 + }, + "132e05e135de": { + "contents": {}, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "outer refused", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 0 + }, + "169fba726515": { + "name": "github.addPRReviewComment#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.addPRReviewComment\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"commitId\":\"head-sha\",\"path\":\"src/index.ts\",\"line\":12,\"body\":\"a review comment\"}}" + }, + "198ac889ae28": { + "name": "error", + "value": "transport failure", + "sent": 1 + }, + "1d6b81659322": { + "contents": {}, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 0 + }, + "1e34370849ff": { + "name": "error", + "value": "", + "sent": 4 + }, + "2322bd630112": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 2 + }, + "30196bc9a973": { + "name": "detailRefreshSeq", + "value": 1, + "sent": 1 + }, + "32a3635e06a4": { + "name": "mutatingStatus", + "value": false, + "sent": 1 + }, + "37f8639648ec": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 0 + }, + "38d90ed8a1ee": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "drafts": {}, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a review comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 901, + "line": 12, + "path": "src/index.ts" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "3d589c54ccdc": { + "name": "prFileContents", + "value": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "sent": 4 + }, + "4b4ca1abe880": { + "contents": {}, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "5467502970f1": { + "name": "mutatingStatus", + "value": false, + "sent": 5 + }, + "56b95ef32926": { + "name": "github.prFileContents#1", + "args": [ + { + "name": "method", + "value": "github.prFileContents" + }, + { + "name": "params", + "value": { + "baseSha": "base-sha", + "headSha": "head-sha", + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1", + "status": "modified" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + } + } + }, + "583b546bd557": { + "name": "mutatingStatus", + "value": true, + "sent": 1 + }, + "58deaf3a6563": { + "contents": {}, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "5f4b54c12787": { + "contents": {}, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "[object Object]", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 0 + }, + "63eee231db8a": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "7037a57cc5dc": { + "contents": {}, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 0 + }, + "719c7f70fd21": { + "name": "github.resolveReviewThread#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.resolveReviewThread\",\"params\":{\"repo\":\"id:repo-1\",\"threadId\":\"thread-1\",\"resolve\":true}}" + }, + "72e6ae650560": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-1", + "ok": false + } + } + }, + "7418dba01b6e": { + "contents": {}, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "7d901d60a01a": { + "name": "error", + "value": "[object Object]", + "sent": 1 + }, + "82983d26b169": { + "name": "mutatingStatus", + "value": true, + "sent": 2 + }, + "839ca552d09d": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "83d249a53990": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "85d07c192bf2": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "86327c5f8340": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "8c3bfdbaf598": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a review comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 901, + "line": 12, + "path": "src/index.ts" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 5 + }, + "8cde53a56cdf": { + "name": "mutatingStatus", + "value": false, + "sent": 2 + }, + "99d1c2948a61": { + "contents": {}, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 0 + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "a5b56b388d19": { + "name": "github.addPRReviewComment#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewComment" + }, + { + "name": "params", + "value": { + "body": "a review comment", + "commitId": "head-sha", + "line": 12, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "comment": { + "author": "You", + "body": "a review comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 901, + "line": 12, + "path": "src/index.ts" + }, + "ok": true + } + } + } + }, + "a82a30c9d838": { + "name": "prFileLoadingPath", + "value": "src/index.ts", + "sent": 3 + }, + "a94ae672d47d": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "a94f06b0c356": { + "contents": {}, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "inner refused", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 0 + }, + "ab2e67cea960": { + "contents": {}, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "Cannot read properties of null (reading 'ok')", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 0 + }, + "b23acc82fe68": { + "contents": {}, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "transport failure", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 0 + }, + "b53c339a3854": { + "name": "error", + "value": "Unknown method", + "sent": 1 + }, + "b57ded8a3ea3": { + "name": "error", + "value": "", + "sent": 2 + }, + "bcb382ff8ccc": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": true + } + } + }, + "bcd505b6ddab": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "c3ea578fcb3f": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "c4f585980acf": { + "name": "error", + "value": "inner refused", + "sent": 1 + }, + "c939abf83c6c": { + "name": "error", + "value": "Cannot read properties of undefined (reading 'ok')", + "sent": 1 + }, + "c9c92edf96b7": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "cc96725d8f47": { + "name": "mutatingStatus", + "value": true, + "sent": 0 + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "d530e4061382": { + "name": "github.prFileContents#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.prFileContents\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"path\":\"src/index.ts\",\"status\":\"modified\",\"headSha\":\"head-sha\",\"baseSha\":\"base-sha\"}}" + }, + "d6639f415773": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 3 + }, + "dbbebbd74a18": { + "name": "error", + "value": "", + "sent": 3 + }, + "dde1a64c282f": { + "contents": {}, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "Cannot read properties of undefined (reading 'ok')", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 0 + }, + "e14b632f629a": { + "name": "github.setPRFileViewed#1", + "args": [ + { + "name": "method", + "value": "github.setPRFileViewed" + }, + { + "name": "params", + "value": { + "path": "src/index.ts", + "pullRequestId": "PR_kwDO", + "repo": "id:repo-1", + "viewed": true + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": true + } + } + }, + "e545b93f95c8": { + "contents": {}, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "Unknown method", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 0 + }, + "e643b2fcc7a7": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "e6fbd22fd721": { + "name": "github.rerunPRChecks#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.rerunPRChecks\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"headSha\":\"head-sha\",\"failedOnly\":true}}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f1d782d012f9": { + "name": "expandedPrFilePath", + "value": "src/index.ts", + "sent": 3 + }, + "f28dd4f3c720": { + "name": "prFileCommentDrafts", + "value": {}, + "sent": 5 + }, + "f791567b212f": { + "name": "error", + "value": "outer refused", + "sent": 1 + }, + "faf0249fca3c": { + "name": "error", + "value": "Cannot read properties of null (reading 'ok')", + "sent": 1 + } + }, + "recording": { + "scenario": "matrix-tasks.item-checks-files-github.rerunprchecks-1", + "checkpoints": [ + { + "id": "tk-item-checks-files.normal:rerun-settled", + "observation": { + "sender": ["a94ae672d47d"], + "payloads": ["e6fbd22fd721"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a" + }, + "state": "58deaf3a6563", + "effects": ["cc96725d8f47", "9e263f5e91be", "30196bc9a973", "32a3635e06a4"] + } + }, + { + "id": "tk-item-checks-files.normal:viewed-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a"], + "payloads": ["e6fbd22fd721", "023bacc5a99f"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a" + }, + "state": "7418dba01b6e", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-checks-files.normal:thread-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a", "bcb382ff8ccc"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a" + }, + "state": "4b4ca1abe880", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-checks-files.normal:expand-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a", "bcb382ff8ccc", "56b95ef32926"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "c3ea578fcb3f", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f" + ] + } + }, + { + "id": "tk-item-checks-files.normal:file-comment-settled", + "observation": { + "sender": [ + "a94ae672d47d", + "e14b632f629a", + "bcb382ff8ccc", + "56b95ef32926", + "a5b56b388d19" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "38d90ed8a1ee", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "8c3bfdbaf598", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.result-absent:rerun-settled", + "observation": { + "sender": ["85d07c192bf2"], + "payloads": ["e6fbd22fd721"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a" + }, + "state": "dde1a64c282f", + "effects": ["cc96725d8f47", "9e263f5e91be", "c939abf83c6c", "32a3635e06a4"] + } + }, + { + "id": "tk-item-checks-files.result-absent:viewed-settled", + "observation": { + "sender": ["85d07c192bf2", "e14b632f629a"], + "payloads": ["e6fbd22fd721", "023bacc5a99f"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a" + }, + "state": "7037a57cc5dc", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "c939abf83c6c", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-checks-files.result-absent:thread-settled", + "observation": { + "sender": ["85d07c192bf2", "e14b632f629a", "bcb382ff8ccc"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a" + }, + "state": "99d1c2948a61", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "c939abf83c6c", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-checks-files.result-absent:expand-settled", + "observation": { + "sender": ["85d07c192bf2", "e14b632f629a", "bcb382ff8ccc", "56b95ef32926"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "37f8639648ec", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "c939abf83c6c", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f" + ] + } + }, + { + "id": "tk-item-checks-files.result-absent:file-comment-settled", + "observation": { + "sender": [ + "85d07c192bf2", + "e14b632f629a", + "bcb382ff8ccc", + "56b95ef32926", + "a5b56b388d19" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "11b5f0721ce4", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "c939abf83c6c", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "8c3bfdbaf598", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.result-null:rerun-settled", + "observation": { + "sender": ["63eee231db8a"], + "payloads": ["e6fbd22fd721"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a" + }, + "state": "ab2e67cea960", + "effects": ["cc96725d8f47", "9e263f5e91be", "faf0249fca3c", "32a3635e06a4"] + } + }, + { + "id": "tk-item-checks-files.result-null:viewed-settled", + "observation": { + "sender": ["63eee231db8a", "e14b632f629a"], + "payloads": ["e6fbd22fd721", "023bacc5a99f"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a" + }, + "state": "7037a57cc5dc", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "faf0249fca3c", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-checks-files.result-null:thread-settled", + "observation": { + "sender": ["63eee231db8a", "e14b632f629a", "bcb382ff8ccc"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a" + }, + "state": "99d1c2948a61", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "faf0249fca3c", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-checks-files.result-null:expand-settled", + "observation": { + "sender": ["63eee231db8a", "e14b632f629a", "bcb382ff8ccc", "56b95ef32926"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "37f8639648ec", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "faf0249fca3c", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f" + ] + } + }, + { + "id": "tk-item-checks-files.result-null:file-comment-settled", + "observation": { + "sender": [ + "63eee231db8a", + "e14b632f629a", + "bcb382ff8ccc", + "56b95ef32926", + "a5b56b388d19" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "11b5f0721ce4", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "faf0249fca3c", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "8c3bfdbaf598", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.inner-ok-missing:rerun-settled", + "observation": { + "sender": ["bcd505b6ddab"], + "payloads": ["e6fbd22fd721"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a" + }, + "state": "58deaf3a6563", + "effects": ["cc96725d8f47", "9e263f5e91be", "30196bc9a973", "32a3635e06a4"] + } + }, + { + "id": "tk-item-checks-files.inner-ok-missing:viewed-settled", + "observation": { + "sender": ["bcd505b6ddab", "e14b632f629a"], + "payloads": ["e6fbd22fd721", "023bacc5a99f"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a" + }, + "state": "7418dba01b6e", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-checks-files.inner-ok-missing:thread-settled", + "observation": { + "sender": ["bcd505b6ddab", "e14b632f629a", "bcb382ff8ccc"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a" + }, + "state": "4b4ca1abe880", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-checks-files.inner-ok-missing:expand-settled", + "observation": { + "sender": ["bcd505b6ddab", "e14b632f629a", "bcb382ff8ccc", "56b95ef32926"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "c3ea578fcb3f", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f" + ] + } + }, + { + "id": "tk-item-checks-files.inner-ok-missing:file-comment-settled", + "observation": { + "sender": [ + "bcd505b6ddab", + "e14b632f629a", + "bcb382ff8ccc", + "56b95ef32926", + "a5b56b388d19" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "38d90ed8a1ee", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "8c3bfdbaf598", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.inner-false-string-error:rerun-settled", + "observation": { + "sender": ["86327c5f8340"], + "payloads": ["e6fbd22fd721"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a" + }, + "state": "a94f06b0c356", + "effects": ["cc96725d8f47", "9e263f5e91be", "c4f585980acf", "32a3635e06a4"] + } + }, + { + "id": "tk-item-checks-files.inner-false-string-error:viewed-settled", + "observation": { + "sender": ["86327c5f8340", "e14b632f629a"], + "payloads": ["e6fbd22fd721", "023bacc5a99f"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a" + }, + "state": "7037a57cc5dc", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "c4f585980acf", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-checks-files.inner-false-string-error:thread-settled", + "observation": { + "sender": ["86327c5f8340", "e14b632f629a", "bcb382ff8ccc"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a" + }, + "state": "99d1c2948a61", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "c4f585980acf", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-checks-files.inner-false-string-error:expand-settled", + "observation": { + "sender": ["86327c5f8340", "e14b632f629a", "bcb382ff8ccc", "56b95ef32926"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "37f8639648ec", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "c4f585980acf", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f" + ] + } + }, + { + "id": "tk-item-checks-files.inner-false-string-error:file-comment-settled", + "observation": { + "sender": [ + "86327c5f8340", + "e14b632f629a", + "bcb382ff8ccc", + "56b95ef32926", + "a5b56b388d19" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "11b5f0721ce4", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "c4f585980acf", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "8c3bfdbaf598", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.inner-false-object-error:rerun-settled", + "observation": { + "sender": ["023bc6c4612e"], + "payloads": ["e6fbd22fd721"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a" + }, + "state": "5f4b54c12787", + "effects": ["cc96725d8f47", "9e263f5e91be", "7d901d60a01a", "32a3635e06a4"] + } + }, + { + "id": "tk-item-checks-files.inner-false-object-error:viewed-settled", + "observation": { + "sender": ["023bc6c4612e", "e14b632f629a"], + "payloads": ["e6fbd22fd721", "023bacc5a99f"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a" + }, + "state": "7037a57cc5dc", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "7d901d60a01a", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-checks-files.inner-false-object-error:thread-settled", + "observation": { + "sender": ["023bc6c4612e", "e14b632f629a", "bcb382ff8ccc"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a" + }, + "state": "99d1c2948a61", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "7d901d60a01a", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-checks-files.inner-false-object-error:expand-settled", + "observation": { + "sender": ["023bc6c4612e", "e14b632f629a", "bcb382ff8ccc", "56b95ef32926"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "37f8639648ec", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "7d901d60a01a", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f" + ] + } + }, + { + "id": "tk-item-checks-files.inner-false-object-error:file-comment-settled", + "observation": { + "sender": [ + "023bc6c4612e", + "e14b632f629a", + "bcb382ff8ccc", + "56b95ef32926", + "a5b56b388d19" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "11b5f0721ce4", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "7d901d60a01a", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "8c3bfdbaf598", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.outer-refused:rerun-settled", + "observation": { + "sender": ["c9c92edf96b7"], + "payloads": ["e6fbd22fd721"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a" + }, + "state": "132e05e135de", + "effects": ["cc96725d8f47", "9e263f5e91be", "f791567b212f", "32a3635e06a4"] + } + }, + { + "id": "tk-item-checks-files.outer-refused:viewed-settled", + "observation": { + "sender": ["c9c92edf96b7", "e14b632f629a"], + "payloads": ["e6fbd22fd721", "023bacc5a99f"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a" + }, + "state": "7037a57cc5dc", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "f791567b212f", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-checks-files.outer-refused:thread-settled", + "observation": { + "sender": ["c9c92edf96b7", "e14b632f629a", "bcb382ff8ccc"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a" + }, + "state": "99d1c2948a61", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "f791567b212f", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-checks-files.outer-refused:expand-settled", + "observation": { + "sender": ["c9c92edf96b7", "e14b632f629a", "bcb382ff8ccc", "56b95ef32926"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "37f8639648ec", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "f791567b212f", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f" + ] + } + }, + { + "id": "tk-item-checks-files.outer-refused:file-comment-settled", + "observation": { + "sender": [ + "c9c92edf96b7", + "e14b632f629a", + "bcb382ff8ccc", + "56b95ef32926", + "a5b56b388d19" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "11b5f0721ce4", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "f791567b212f", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "8c3bfdbaf598", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.outer-refused-no-message:rerun-settled", + "observation": { + "sender": ["839ca552d09d"], + "payloads": ["e6fbd22fd721"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a" + }, + "state": "1d6b81659322", + "effects": ["cc96725d8f47", "9e263f5e91be", "d48d5c49486c", "32a3635e06a4"] + } + }, + { + "id": "tk-item-checks-files.outer-refused-no-message:viewed-settled", + "observation": { + "sender": ["839ca552d09d", "e14b632f629a"], + "payloads": ["e6fbd22fd721", "023bacc5a99f"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a" + }, + "state": "7037a57cc5dc", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "d48d5c49486c", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-checks-files.outer-refused-no-message:thread-settled", + "observation": { + "sender": ["839ca552d09d", "e14b632f629a", "bcb382ff8ccc"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a" + }, + "state": "99d1c2948a61", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "d48d5c49486c", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-checks-files.outer-refused-no-message:expand-settled", + "observation": { + "sender": ["839ca552d09d", "e14b632f629a", "bcb382ff8ccc", "56b95ef32926"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "37f8639648ec", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "d48d5c49486c", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f" + ] + } + }, + { + "id": "tk-item-checks-files.outer-refused-no-message:file-comment-settled", + "observation": { + "sender": [ + "839ca552d09d", + "e14b632f629a", + "bcb382ff8ccc", + "56b95ef32926", + "a5b56b388d19" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "11b5f0721ce4", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "d48d5c49486c", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "8c3bfdbaf598", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.method-not-found:rerun-settled", + "observation": { + "sender": ["72e6ae650560"], + "payloads": ["e6fbd22fd721"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a" + }, + "state": "e545b93f95c8", + "effects": ["cc96725d8f47", "9e263f5e91be", "b53c339a3854", "32a3635e06a4"] + } + }, + { + "id": "tk-item-checks-files.method-not-found:viewed-settled", + "observation": { + "sender": ["72e6ae650560", "e14b632f629a"], + "payloads": ["e6fbd22fd721", "023bacc5a99f"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a" + }, + "state": "7037a57cc5dc", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b53c339a3854", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-checks-files.method-not-found:thread-settled", + "observation": { + "sender": ["72e6ae650560", "e14b632f629a", "bcb382ff8ccc"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a" + }, + "state": "99d1c2948a61", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b53c339a3854", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-checks-files.method-not-found:expand-settled", + "observation": { + "sender": ["72e6ae650560", "e14b632f629a", "bcb382ff8ccc", "56b95ef32926"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "37f8639648ec", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b53c339a3854", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f" + ] + } + }, + { + "id": "tk-item-checks-files.method-not-found:file-comment-settled", + "observation": { + "sender": [ + "72e6ae650560", + "e14b632f629a", + "bcb382ff8ccc", + "56b95ef32926", + "a5b56b388d19" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "11b5f0721ce4", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b53c339a3854", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "8c3bfdbaf598", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.transport-rejection:rerun-settled", + "observation": { + "sender": ["83d249a53990"], + "payloads": ["e6fbd22fd721"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a" + }, + "state": "b23acc82fe68", + "effects": ["cc96725d8f47", "9e263f5e91be", "198ac889ae28", "32a3635e06a4"] + } + }, + { + "id": "tk-item-checks-files.transport-rejection:viewed-settled", + "observation": { + "sender": ["83d249a53990", "e14b632f629a"], + "payloads": ["e6fbd22fd721", "023bacc5a99f"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a" + }, + "state": "7037a57cc5dc", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "198ac889ae28", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-checks-files.transport-rejection:thread-settled", + "observation": { + "sender": ["83d249a53990", "e14b632f629a", "bcb382ff8ccc"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a" + }, + "state": "99d1c2948a61", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "198ac889ae28", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-checks-files.transport-rejection:expand-settled", + "observation": { + "sender": ["83d249a53990", "e14b632f629a", "bcb382ff8ccc", "56b95ef32926"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "37f8639648ec", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "198ac889ae28", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f" + ] + } + }, + { + "id": "tk-item-checks-files.transport-rejection:file-comment-settled", + "observation": { + "sender": [ + "83d249a53990", + "e14b632f629a", + "bcb382ff8ccc", + "56b95ef32926", + "a5b56b388d19" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "11b5f0721ce4", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "198ac889ae28", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "8c3bfdbaf598", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.transport-rejection-no-message:rerun-settled", + "observation": { + "sender": ["e643b2fcc7a7"], + "payloads": ["e6fbd22fd721"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a" + }, + "state": "1d6b81659322", + "effects": ["cc96725d8f47", "9e263f5e91be", "d48d5c49486c", "32a3635e06a4"] + } + }, + { + "id": "tk-item-checks-files.transport-rejection-no-message:viewed-settled", + "observation": { + "sender": ["e643b2fcc7a7", "e14b632f629a"], + "payloads": ["e6fbd22fd721", "023bacc5a99f"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a" + }, + "state": "7037a57cc5dc", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "d48d5c49486c", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-checks-files.transport-rejection-no-message:thread-settled", + "observation": { + "sender": ["e643b2fcc7a7", "e14b632f629a", "bcb382ff8ccc"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a" + }, + "state": "99d1c2948a61", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "d48d5c49486c", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-checks-files.transport-rejection-no-message:expand-settled", + "observation": { + "sender": ["e643b2fcc7a7", "e14b632f629a", "bcb382ff8ccc", "56b95ef32926"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "37f8639648ec", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "d48d5c49486c", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f" + ] + } + }, + { + "id": "tk-item-checks-files.transport-rejection-no-message:file-comment-settled", + "observation": { + "sender": [ + "e643b2fcc7a7", + "e14b632f629a", + "bcb382ff8ccc", + "56b95ef32926", + "a5b56b388d19" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "11b5f0721ce4", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "d48d5c49486c", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "8c3bfdbaf598", + "5467502970f1" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.item-checks-files-github.resolvereviewthread-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.item-checks-files-github.resolvereviewthread-1.json new file mode 100644 index 00000000000..113605cc914 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.item-checks-files-github.resolvereviewthread-1.json @@ -0,0 +1,2967 @@ +{ + "operation": "tasks.item-checks-files-github", + "family": "tasks.item-checks-files", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "8c4218bfb2af227da5386f29989cec438f2c6187f39ce1c06859e136ea920bfa", + "scenarioSha256": "aa567e882db4be1bf3c9174e4af8266e1f9a25f8c353d7cb41f6c7e51c4d48b5", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "01b07d8f5587": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "023bacc5a99f": { + "name": "github.setPRFileViewed#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.setPRFileViewed\",\"params\":{\"repo\":\"id:repo-1\",\"pullRequestId\":\"PR_kwDO\",\"path\":\"src/index.ts\",\"viewed\":true}}" + }, + "02b35324051f": { + "name": "prFileLoadingPath", + "value": { + "$rpc": "null" + }, + "sent": 4 + }, + "02b52513bb0d": { + "name": "mutatingStatus", + "value": true, + "sent": 4 + }, + "0c0d6ea592d5": { + "name": "mutatingStatus", + "value": false, + "sent": 3 + }, + "128457772a2b": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a review comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 901, + "line": 12, + "path": "src/index.ts" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 5 + }, + "148dc3b21af5": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true + } + } + }, + "169fba726515": { + "name": "github.addPRReviewComment#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.addPRReviewComment\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"commitId\":\"head-sha\",\"path\":\"src/index.ts\",\"line\":12,\"body\":\"a review comment\"}}" + }, + "18d6aedd20c0": { + "name": "error", + "value": "outer refused", + "sent": 3 + }, + "19017ac9e692": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "1e34370849ff": { + "name": "error", + "value": "", + "sent": 4 + }, + "2322bd630112": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 2 + }, + "26374b8263d6": { + "name": "error", + "value": "transport failure", + "sent": 3 + }, + "29a4b370d70f": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-3", + "ok": false + } + } + }, + "30196bc9a973": { + "name": "detailRefreshSeq", + "value": 1, + "sent": 1 + }, + "32a3635e06a4": { + "name": "mutatingStatus", + "value": false, + "sent": 1 + }, + "3694dfb6503a": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "38d90ed8a1ee": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "drafts": {}, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a review comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 901, + "line": 12, + "path": "src/index.ts" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "3d589c54ccdc": { + "name": "prFileContents", + "value": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "sent": 4 + }, + "47e146b9987f": { + "contents": {}, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "transport failure", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "4b4ca1abe880": { + "contents": {}, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "4c89478d0f9d": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Connection closed", + "isRpcDeliveryUnknown": true + } + } + }, + "5467502970f1": { + "name": "mutatingStatus", + "value": false, + "sent": 5 + }, + "56b95ef32926": { + "name": "github.prFileContents#1", + "args": [ + { + "name": "method", + "value": "github.prFileContents" + }, + { + "name": "params", + "value": { + "baseSha": "base-sha", + "headSha": "head-sha", + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1", + "status": "modified" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + } + } + }, + "583b546bd557": { + "name": "mutatingStatus", + "value": true, + "sent": 1 + }, + "58deaf3a6563": { + "contents": {}, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "691c0f877d73": { + "contents": {}, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "Unknown method", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "719c7f70fd21": { + "name": "github.resolveReviewThread#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.resolveReviewThread\",\"params\":{\"repo\":\"id:repo-1\",\"threadId\":\"thread-1\",\"resolve\":true}}" + }, + "7418dba01b6e": { + "contents": {}, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "7df1ee4f121b": { + "contents": {}, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "", + "mutating": true, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "82983d26b169": { + "name": "mutatingStatus", + "value": true, + "sent": 2 + }, + "85d857bb3617": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "drafts": {}, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a review comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 901, + "line": 12, + "path": "src/index.ts" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "8c3bfdbaf598": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a review comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 901, + "line": 12, + "path": "src/index.ts" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 5 + }, + "8cde53a56cdf": { + "name": "mutatingStatus", + "value": false, + "sent": 2 + }, + "9bc46994c57d": { + "contents": {}, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "Failed to resolve thread", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "a5b56b388d19": { + "name": "github.addPRReviewComment#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewComment" + }, + { + "name": "params", + "value": { + "body": "a review comment", + "commitId": "head-sha", + "line": 12, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "comment": { + "author": "You", + "body": "a review comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 901, + "line": 12, + "path": "src/index.ts" + }, + "ok": true + } + } + } + }, + "a82a30c9d838": { + "name": "prFileLoadingPath", + "value": "src/index.ts", + "sent": 3 + }, + "a9130d675f78": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "a94ae672d47d": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "b57ded8a3ea3": { + "name": "error", + "value": "", + "sent": 2 + }, + "bcb382ff8ccc": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": true + } + } + }, + "bcbf4ea6c5d1": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "c1b6a26ccafd": { + "name": "error", + "value": "Failed to resolve thread", + "sent": 3 + }, + "c3ea578fcb3f": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "c50c60286c56": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "c68ce1c1e224": { + "name": "error", + "value": "Unknown method", + "sent": 3 + }, + "c81d8dee87a4": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-3", + "ok": false + } + } + }, + "c95b1847dd34": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "cc96725d8f47": { + "name": "mutatingStatus", + "value": true, + "sent": 0 + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "d530e4061382": { + "name": "github.prFileContents#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.prFileContents\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"path\":\"src/index.ts\",\"status\":\"modified\",\"headSha\":\"head-sha\",\"baseSha\":\"base-sha\"}}" + }, + "d6639f415773": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 3 + }, + "dabcddbeb1c5": { + "name": "error", + "value": "Connection closed", + "sent": 3 + }, + "dbbebbd74a18": { + "name": "error", + "value": "", + "sent": 3 + }, + "e14b632f629a": { + "name": "github.setPRFileViewed#1", + "args": [ + { + "name": "method", + "value": "github.setPRFileViewed" + }, + { + "name": "params", + "value": { + "path": "src/index.ts", + "pullRequestId": "PR_kwDO", + "repo": "id:repo-1", + "viewed": true + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": true + } + } + }, + "e6fbd22fd721": { + "name": "github.rerunPRChecks#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.rerunPRChecks\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"headSha\":\"head-sha\",\"failedOnly\":true}}" + }, + "eb645da7e93b": { + "contents": {}, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "outer refused", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f1d782d012f9": { + "name": "expandedPrFilePath", + "value": "src/index.ts", + "sent": 3 + }, + "f28dd4f3c720": { + "name": "prFileCommentDrafts", + "value": {}, + "sent": 5 + }, + "f62f9a51e15b": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-3", + "ok": false + } + } + } + }, + "recording": { + "scenario": "matrix-tasks.item-checks-files-github.resolvereviewthread-1", + "checkpoints": [ + { + "id": "tk-item-checks-files.prelude:rerun-settled", + "observation": { + "sender": ["a94ae672d47d"], + "payloads": ["e6fbd22fd721"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a" + }, + "state": "58deaf3a6563", + "effects": ["cc96725d8f47", "9e263f5e91be", "30196bc9a973", "32a3635e06a4"] + } + }, + { + "id": "tk-item-checks-files.prelude:viewed-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a"], + "payloads": ["e6fbd22fd721", "023bacc5a99f"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a" + }, + "state": "7418dba01b6e", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-checks-files.prelude:cleanup", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a", "4c89478d0f9d"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a" + }, + "state": "7df1ee4f121b", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "dabcddbeb1c5", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-checks-files.normal:thread-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a", "bcb382ff8ccc"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a" + }, + "state": "4b4ca1abe880", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-checks-files.normal:expand-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a", "bcb382ff8ccc", "56b95ef32926"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "c3ea578fcb3f", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f" + ] + } + }, + { + "id": "tk-item-checks-files.normal:file-comment-settled", + "observation": { + "sender": [ + "a94ae672d47d", + "e14b632f629a", + "bcb382ff8ccc", + "56b95ef32926", + "a5b56b388d19" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "38d90ed8a1ee", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "8c3bfdbaf598", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.result-absent:thread-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a", "148dc3b21af5"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a" + }, + "state": "9bc46994c57d", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "c1b6a26ccafd", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-checks-files.result-absent:expand-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a", "148dc3b21af5", "56b95ef32926"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "c50c60286c56", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "c1b6a26ccafd", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f" + ] + } + }, + { + "id": "tk-item-checks-files.result-absent:file-comment-settled", + "observation": { + "sender": [ + "a94ae672d47d", + "e14b632f629a", + "148dc3b21af5", + "56b95ef32926", + "a5b56b388d19" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "85d857bb3617", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "c1b6a26ccafd", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "128457772a2b", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.result-null:thread-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a", "01b07d8f5587"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a" + }, + "state": "9bc46994c57d", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "c1b6a26ccafd", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-checks-files.result-null:expand-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a", "01b07d8f5587", "56b95ef32926"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "c50c60286c56", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "c1b6a26ccafd", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f" + ] + } + }, + { + "id": "tk-item-checks-files.result-null:file-comment-settled", + "observation": { + "sender": [ + "a94ae672d47d", + "e14b632f629a", + "01b07d8f5587", + "56b95ef32926", + "a5b56b388d19" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "85d857bb3617", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "c1b6a26ccafd", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "128457772a2b", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.inner-ok-missing:thread-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a", "19017ac9e692"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a" + }, + "state": "9bc46994c57d", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "c1b6a26ccafd", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-checks-files.inner-ok-missing:expand-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a", "19017ac9e692", "56b95ef32926"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "c50c60286c56", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "c1b6a26ccafd", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f" + ] + } + }, + { + "id": "tk-item-checks-files.inner-ok-missing:file-comment-settled", + "observation": { + "sender": [ + "a94ae672d47d", + "e14b632f629a", + "19017ac9e692", + "56b95ef32926", + "a5b56b388d19" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "85d857bb3617", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "c1b6a26ccafd", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "128457772a2b", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.inner-false-string-error:thread-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a", "a9130d675f78"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a" + }, + "state": "9bc46994c57d", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "c1b6a26ccafd", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-checks-files.inner-false-string-error:expand-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a", "a9130d675f78", "56b95ef32926"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "c50c60286c56", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "c1b6a26ccafd", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f" + ] + } + }, + { + "id": "tk-item-checks-files.inner-false-string-error:file-comment-settled", + "observation": { + "sender": [ + "a94ae672d47d", + "e14b632f629a", + "a9130d675f78", + "56b95ef32926", + "a5b56b388d19" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "85d857bb3617", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "c1b6a26ccafd", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "128457772a2b", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.inner-false-object-error:thread-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a", "c95b1847dd34"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a" + }, + "state": "9bc46994c57d", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "c1b6a26ccafd", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-checks-files.inner-false-object-error:expand-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a", "c95b1847dd34", "56b95ef32926"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "c50c60286c56", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "c1b6a26ccafd", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f" + ] + } + }, + { + "id": "tk-item-checks-files.inner-false-object-error:file-comment-settled", + "observation": { + "sender": [ + "a94ae672d47d", + "e14b632f629a", + "c95b1847dd34", + "56b95ef32926", + "a5b56b388d19" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "85d857bb3617", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "c1b6a26ccafd", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "128457772a2b", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.outer-refused:thread-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a", "f62f9a51e15b"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a" + }, + "state": "eb645da7e93b", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "18d6aedd20c0", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-checks-files.outer-refused:expand-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a", "f62f9a51e15b", "56b95ef32926"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "c50c60286c56", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "18d6aedd20c0", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f" + ] + } + }, + { + "id": "tk-item-checks-files.outer-refused:file-comment-settled", + "observation": { + "sender": [ + "a94ae672d47d", + "e14b632f629a", + "f62f9a51e15b", + "56b95ef32926", + "a5b56b388d19" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "85d857bb3617", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "18d6aedd20c0", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "128457772a2b", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.outer-refused-no-message:thread-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a", "c81d8dee87a4"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a" + }, + "state": "7418dba01b6e", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "dbbebbd74a18", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-checks-files.outer-refused-no-message:expand-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a", "c81d8dee87a4", "56b95ef32926"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "c50c60286c56", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "dbbebbd74a18", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f" + ] + } + }, + { + "id": "tk-item-checks-files.outer-refused-no-message:file-comment-settled", + "observation": { + "sender": [ + "a94ae672d47d", + "e14b632f629a", + "c81d8dee87a4", + "56b95ef32926", + "a5b56b388d19" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "85d857bb3617", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "dbbebbd74a18", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "128457772a2b", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.method-not-found:thread-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a", "29a4b370d70f"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a" + }, + "state": "691c0f877d73", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "c68ce1c1e224", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-checks-files.method-not-found:expand-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a", "29a4b370d70f", "56b95ef32926"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "c50c60286c56", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "c68ce1c1e224", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f" + ] + } + }, + { + "id": "tk-item-checks-files.method-not-found:file-comment-settled", + "observation": { + "sender": [ + "a94ae672d47d", + "e14b632f629a", + "29a4b370d70f", + "56b95ef32926", + "a5b56b388d19" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "85d857bb3617", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "c68ce1c1e224", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "128457772a2b", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.transport-rejection:thread-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a", "3694dfb6503a"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a" + }, + "state": "47e146b9987f", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "26374b8263d6", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-checks-files.transport-rejection:expand-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a", "3694dfb6503a", "56b95ef32926"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "c50c60286c56", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "26374b8263d6", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f" + ] + } + }, + { + "id": "tk-item-checks-files.transport-rejection:file-comment-settled", + "observation": { + "sender": [ + "a94ae672d47d", + "e14b632f629a", + "3694dfb6503a", + "56b95ef32926", + "a5b56b388d19" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "85d857bb3617", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "26374b8263d6", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "128457772a2b", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.transport-rejection-no-message:thread-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a", "bcbf4ea6c5d1"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a" + }, + "state": "7418dba01b6e", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "dbbebbd74a18", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-checks-files.transport-rejection-no-message:expand-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a", "bcbf4ea6c5d1", "56b95ef32926"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "c50c60286c56", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "dbbebbd74a18", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f" + ] + } + }, + { + "id": "tk-item-checks-files.transport-rejection-no-message:file-comment-settled", + "observation": { + "sender": [ + "a94ae672d47d", + "e14b632f629a", + "bcbf4ea6c5d1", + "56b95ef32926", + "a5b56b388d19" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "85d857bb3617", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "dbbebbd74a18", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "128457772a2b", + "5467502970f1" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.item-checks-files-github.setprfileviewed-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.item-checks-files-github.setprfileviewed-1.json new file mode 100644 index 00000000000..17f28b81081 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.item-checks-files-github.setprfileviewed-1.json @@ -0,0 +1,3306 @@ +{ + "operation": "tasks.item-checks-files-github", + "family": "tasks.item-checks-files", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "8c4218bfb2af227da5386f29989cec438f2c6187f39ce1c06859e136ea920bfa", + "scenarioSha256": "eefa7111ee94d5966692fb6f9bed1b3ccd7e1fe40c540438c005731d0cae305c", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "000516aa083b": { + "name": "error", + "value": "outer refused", + "sent": 2 + }, + "023bacc5a99f": { + "name": "github.setPRFileViewed#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.setPRFileViewed\",\"params\":{\"repo\":\"id:repo-1\",\"pullRequestId\":\"PR_kwDO\",\"path\":\"src/index.ts\",\"viewed\":true}}" + }, + "02b35324051f": { + "name": "prFileLoadingPath", + "value": { + "$rpc": "null" + }, + "sent": 4 + }, + "02b52513bb0d": { + "name": "mutatingStatus", + "value": true, + "sent": 4 + }, + "02bd45162a6b": { + "name": "github.setPRFileViewed#1", + "args": [ + { + "name": "method", + "value": "github.setPRFileViewed" + }, + { + "name": "params", + "value": { + "path": "src/index.ts", + "pullRequestId": "PR_kwDO", + "repo": "id:repo-1", + "viewed": true + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "0a7337ca2136": { + "name": "github.setPRFileViewed#1", + "args": [ + { + "name": "method", + "value": "github.setPRFileViewed" + }, + { + "name": "params", + "value": { + "path": "src/index.ts", + "pullRequestId": "PR_kwDO", + "repo": "id:repo-1", + "viewed": true + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "0c0d6ea592d5": { + "name": "mutatingStatus", + "value": false, + "sent": 3 + }, + "169fba726515": { + "name": "github.addPRReviewComment#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.addPRReviewComment\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"commitId\":\"head-sha\",\"path\":\"src/index.ts\",\"line\":12,\"body\":\"a review comment\"}}" + }, + "1e34370849ff": { + "name": "error", + "value": "", + "sent": 4 + }, + "2322bd630112": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 2 + }, + "2334be3be938": { + "name": "github.setPRFileViewed#1", + "args": [ + { + "name": "method", + "value": "github.setPRFileViewed" + }, + { + "name": "params", + "value": { + "path": "src/index.ts", + "pullRequestId": "PR_kwDO", + "repo": "id:repo-1", + "viewed": true + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "2f8b5d95971d": { + "contents": {}, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "outer refused", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "30196bc9a973": { + "name": "detailRefreshSeq", + "value": 1, + "sent": 1 + }, + "32a3635e06a4": { + "name": "mutatingStatus", + "value": false, + "sent": 1 + }, + "38d90ed8a1ee": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "drafts": {}, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a review comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 901, + "line": 12, + "path": "src/index.ts" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "3d589c54ccdc": { + "name": "prFileContents", + "value": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "sent": 4 + }, + "4668891266a8": { + "name": "github.setPRFileViewed#1", + "args": [ + { + "name": "method", + "value": "github.setPRFileViewed" + }, + { + "name": "params", + "value": { + "path": "src/index.ts", + "pullRequestId": "PR_kwDO", + "repo": "id:repo-1", + "viewed": true + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "498104208398": { + "contents": {}, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "Unknown method", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "4b4ca1abe880": { + "contents": {}, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "50fab4c32096": { + "name": "github.setPRFileViewed#1", + "args": [ + { + "name": "method", + "value": "github.setPRFileViewed" + }, + { + "name": "params", + "value": { + "path": "src/index.ts", + "pullRequestId": "PR_kwDO", + "repo": "id:repo-1", + "viewed": true + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "52d25e1f3035": { + "name": "error", + "value": "Connection closed", + "sent": 2 + }, + "5467502970f1": { + "name": "mutatingStatus", + "value": false, + "sent": 5 + }, + "56b95ef32926": { + "name": "github.prFileContents#1", + "args": [ + { + "name": "method", + "value": "github.prFileContents" + }, + { + "name": "params", + "value": { + "baseSha": "base-sha", + "headSha": "head-sha", + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1", + "status": "modified" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + } + } + }, + "583b546bd557": { + "name": "mutatingStatus", + "value": true, + "sent": 1 + }, + "58deaf3a6563": { + "contents": {}, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "5c2874ad80bc": { + "name": "error", + "value": "transport failure", + "sent": 2 + }, + "6399757d62ee": { + "contents": {}, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "", + "mutating": true, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "6426dff00b14": { + "name": "github.setPRFileViewed#1", + "args": [ + { + "name": "method", + "value": "github.setPRFileViewed" + }, + { + "name": "params", + "value": { + "path": "src/index.ts", + "pullRequestId": "PR_kwDO", + "repo": "id:repo-1", + "viewed": true + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Connection closed", + "isRpcDeliveryUnknown": true + } + } + }, + "667e91681dd2": { + "name": "github.setPRFileViewed#1", + "args": [ + { + "name": "method", + "value": "github.setPRFileViewed" + }, + { + "name": "params", + "value": { + "path": "src/index.ts", + "pullRequestId": "PR_kwDO", + "repo": "id:repo-1", + "viewed": true + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "719c7f70fd21": { + "name": "github.resolveReviewThread#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.resolveReviewThread\",\"params\":{\"repo\":\"id:repo-1\",\"threadId\":\"thread-1\",\"resolve\":true}}" + }, + "7418dba01b6e": { + "contents": {}, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "7784692d9175": { + "name": "error", + "value": "Failed to sync viewed state with GitHub.", + "sent": 2 + }, + "7c616ddf083d": { + "contents": {}, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "Failed to sync viewed state with GitHub.", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "7ccde0bb0876": { + "name": "github.setPRFileViewed#1", + "args": [ + { + "name": "method", + "value": "github.setPRFileViewed" + }, + { + "name": "params", + "value": { + "path": "src/index.ts", + "pullRequestId": "PR_kwDO", + "repo": "id:repo-1", + "viewed": true + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "82983d26b169": { + "name": "mutatingStatus", + "value": true, + "sent": 2 + }, + "8a6843ac346a": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "drafts": {}, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a review comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 901, + "line": 12, + "path": "src/index.ts" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "8c3bfdbaf598": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a review comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 901, + "line": 12, + "path": "src/index.ts" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 5 + }, + "8cde53a56cdf": { + "name": "mutatingStatus", + "value": false, + "sent": 2 + }, + "93e1660aeb33": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "a5b56b388d19": { + "name": "github.addPRReviewComment#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewComment" + }, + { + "name": "params", + "value": { + "body": "a review comment", + "commitId": "head-sha", + "line": 12, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "comment": { + "author": "You", + "body": "a review comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 901, + "line": 12, + "path": "src/index.ts" + }, + "ok": true + } + } + } + }, + "a82a30c9d838": { + "name": "prFileLoadingPath", + "value": "src/index.ts", + "sent": 3 + }, + "a94ae672d47d": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "aced50dc7bb2": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 3 + }, + "b57ded8a3ea3": { + "name": "error", + "value": "", + "sent": 2 + }, + "bcb382ff8ccc": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": true + } + } + }, + "bfd9f0b65aa7": { + "contents": {}, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "c3ea578fcb3f": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "cc96725d8f47": { + "name": "mutatingStatus", + "value": true, + "sent": 0 + }, + "cecca3e068aa": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a review comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 901, + "line": 12, + "path": "src/index.ts" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 5 + }, + "cf332dfad305": { + "contents": {}, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "transport failure", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "d530e4061382": { + "name": "github.prFileContents#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.prFileContents\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"path\":\"src/index.ts\",\"status\":\"modified\",\"headSha\":\"head-sha\",\"baseSha\":\"base-sha\"}}" + }, + "d6639f415773": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 3 + }, + "d9e1d01cd9c5": { + "name": "github.setPRFileViewed#1", + "args": [ + { + "name": "method", + "value": "github.setPRFileViewed" + }, + { + "name": "params", + "value": { + "path": "src/index.ts", + "pullRequestId": "PR_kwDO", + "repo": "id:repo-1", + "viewed": true + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "dbbebbd74a18": { + "name": "error", + "value": "", + "sent": 3 + }, + "e11cc4c14e30": { + "name": "github.setPRFileViewed#1", + "args": [ + { + "name": "method", + "value": "github.setPRFileViewed" + }, + { + "name": "params", + "value": { + "path": "src/index.ts", + "pullRequestId": "PR_kwDO", + "repo": "id:repo-1", + "viewed": true + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "e14b632f629a": { + "name": "github.setPRFileViewed#1", + "args": [ + { + "name": "method", + "value": "github.setPRFileViewed" + }, + { + "name": "params", + "value": { + "path": "src/index.ts", + "pullRequestId": "PR_kwDO", + "repo": "id:repo-1", + "viewed": true + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": true + } + } + }, + "e6fbd22fd721": { + "name": "github.rerunPRChecks#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.rerunPRChecks\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"headSha\":\"head-sha\",\"failedOnly\":true}}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f1cfc2d1bcc1": { + "name": "error", + "value": "Unknown method", + "sent": 2 + }, + "f1d782d012f9": { + "name": "expandedPrFilePath", + "value": "src/index.ts", + "sent": 3 + }, + "f28dd4f3c720": { + "name": "prFileCommentDrafts", + "value": {}, + "sent": 5 + }, + "f3d1bdd6c8c8": { + "name": "github.setPRFileViewed#1", + "args": [ + { + "name": "method", + "value": "github.setPRFileViewed" + }, + { + "name": "params", + "value": { + "path": "src/index.ts", + "pullRequestId": "PR_kwDO", + "repo": "id:repo-1", + "viewed": true + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + } + }, + "recording": { + "scenario": "matrix-tasks.item-checks-files-github.setprfileviewed-1", + "checkpoints": [ + { + "id": "tk-item-checks-files.prelude:rerun-settled", + "observation": { + "sender": ["a94ae672d47d"], + "payloads": ["e6fbd22fd721"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a" + }, + "state": "58deaf3a6563", + "effects": ["cc96725d8f47", "9e263f5e91be", "30196bc9a973", "32a3635e06a4"] + } + }, + { + "id": "tk-item-checks-files.prelude:cleanup", + "observation": { + "sender": ["a94ae672d47d", "6426dff00b14"], + "payloads": ["e6fbd22fd721", "023bacc5a99f"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a" + }, + "state": "6399757d62ee", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "52d25e1f3035", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-checks-files.normal:viewed-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a"], + "payloads": ["e6fbd22fd721", "023bacc5a99f"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a" + }, + "state": "7418dba01b6e", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-checks-files.normal:thread-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a", "bcb382ff8ccc"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a" + }, + "state": "4b4ca1abe880", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-checks-files.normal:expand-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a", "bcb382ff8ccc", "56b95ef32926"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "c3ea578fcb3f", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f" + ] + } + }, + { + "id": "tk-item-checks-files.normal:file-comment-settled", + "observation": { + "sender": [ + "a94ae672d47d", + "e14b632f629a", + "bcb382ff8ccc", + "56b95ef32926", + "a5b56b388d19" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "38d90ed8a1ee", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "8c3bfdbaf598", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.result-absent:viewed-settled", + "observation": { + "sender": ["a94ae672d47d", "0a7337ca2136"], + "payloads": ["e6fbd22fd721", "023bacc5a99f"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a" + }, + "state": "7c616ddf083d", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "7784692d9175", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-checks-files.result-absent:thread-settled", + "observation": { + "sender": ["a94ae672d47d", "0a7337ca2136", "bcb382ff8ccc"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a" + }, + "state": "bfd9f0b65aa7", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "7784692d9175", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "aced50dc7bb2", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-checks-files.result-absent:expand-settled", + "observation": { + "sender": ["a94ae672d47d", "0a7337ca2136", "bcb382ff8ccc", "56b95ef32926"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "93e1660aeb33", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "7784692d9175", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "aced50dc7bb2", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f" + ] + } + }, + { + "id": "tk-item-checks-files.result-absent:file-comment-settled", + "observation": { + "sender": [ + "a94ae672d47d", + "0a7337ca2136", + "bcb382ff8ccc", + "56b95ef32926", + "a5b56b388d19" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "8a6843ac346a", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "7784692d9175", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "aced50dc7bb2", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "cecca3e068aa", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.result-null:viewed-settled", + "observation": { + "sender": ["a94ae672d47d", "50fab4c32096"], + "payloads": ["e6fbd22fd721", "023bacc5a99f"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a" + }, + "state": "7c616ddf083d", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "7784692d9175", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-checks-files.result-null:thread-settled", + "observation": { + "sender": ["a94ae672d47d", "50fab4c32096", "bcb382ff8ccc"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a" + }, + "state": "bfd9f0b65aa7", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "7784692d9175", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "aced50dc7bb2", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-checks-files.result-null:expand-settled", + "observation": { + "sender": ["a94ae672d47d", "50fab4c32096", "bcb382ff8ccc", "56b95ef32926"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "93e1660aeb33", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "7784692d9175", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "aced50dc7bb2", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f" + ] + } + }, + { + "id": "tk-item-checks-files.result-null:file-comment-settled", + "observation": { + "sender": [ + "a94ae672d47d", + "50fab4c32096", + "bcb382ff8ccc", + "56b95ef32926", + "a5b56b388d19" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "8a6843ac346a", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "7784692d9175", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "aced50dc7bb2", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "cecca3e068aa", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.inner-ok-missing:viewed-settled", + "observation": { + "sender": ["a94ae672d47d", "02bd45162a6b"], + "payloads": ["e6fbd22fd721", "023bacc5a99f"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a" + }, + "state": "7c616ddf083d", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "7784692d9175", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-checks-files.inner-ok-missing:thread-settled", + "observation": { + "sender": ["a94ae672d47d", "02bd45162a6b", "bcb382ff8ccc"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a" + }, + "state": "bfd9f0b65aa7", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "7784692d9175", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "aced50dc7bb2", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-checks-files.inner-ok-missing:expand-settled", + "observation": { + "sender": ["a94ae672d47d", "02bd45162a6b", "bcb382ff8ccc", "56b95ef32926"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "93e1660aeb33", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "7784692d9175", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "aced50dc7bb2", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f" + ] + } + }, + { + "id": "tk-item-checks-files.inner-ok-missing:file-comment-settled", + "observation": { + "sender": [ + "a94ae672d47d", + "02bd45162a6b", + "bcb382ff8ccc", + "56b95ef32926", + "a5b56b388d19" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "8a6843ac346a", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "7784692d9175", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "aced50dc7bb2", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "cecca3e068aa", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.inner-false-string-error:viewed-settled", + "observation": { + "sender": ["a94ae672d47d", "2334be3be938"], + "payloads": ["e6fbd22fd721", "023bacc5a99f"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a" + }, + "state": "7c616ddf083d", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "7784692d9175", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-checks-files.inner-false-string-error:thread-settled", + "observation": { + "sender": ["a94ae672d47d", "2334be3be938", "bcb382ff8ccc"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a" + }, + "state": "bfd9f0b65aa7", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "7784692d9175", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "aced50dc7bb2", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-checks-files.inner-false-string-error:expand-settled", + "observation": { + "sender": ["a94ae672d47d", "2334be3be938", "bcb382ff8ccc", "56b95ef32926"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "93e1660aeb33", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "7784692d9175", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "aced50dc7bb2", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f" + ] + } + }, + { + "id": "tk-item-checks-files.inner-false-string-error:file-comment-settled", + "observation": { + "sender": [ + "a94ae672d47d", + "2334be3be938", + "bcb382ff8ccc", + "56b95ef32926", + "a5b56b388d19" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "8a6843ac346a", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "7784692d9175", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "aced50dc7bb2", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "cecca3e068aa", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.inner-false-object-error:viewed-settled", + "observation": { + "sender": ["a94ae672d47d", "f3d1bdd6c8c8"], + "payloads": ["e6fbd22fd721", "023bacc5a99f"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a" + }, + "state": "7c616ddf083d", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "7784692d9175", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-checks-files.inner-false-object-error:thread-settled", + "observation": { + "sender": ["a94ae672d47d", "f3d1bdd6c8c8", "bcb382ff8ccc"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a" + }, + "state": "bfd9f0b65aa7", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "7784692d9175", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "aced50dc7bb2", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-checks-files.inner-false-object-error:expand-settled", + "observation": { + "sender": ["a94ae672d47d", "f3d1bdd6c8c8", "bcb382ff8ccc", "56b95ef32926"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "93e1660aeb33", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "7784692d9175", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "aced50dc7bb2", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f" + ] + } + }, + { + "id": "tk-item-checks-files.inner-false-object-error:file-comment-settled", + "observation": { + "sender": [ + "a94ae672d47d", + "f3d1bdd6c8c8", + "bcb382ff8ccc", + "56b95ef32926", + "a5b56b388d19" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "8a6843ac346a", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "7784692d9175", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "aced50dc7bb2", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "cecca3e068aa", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.outer-refused:viewed-settled", + "observation": { + "sender": ["a94ae672d47d", "e11cc4c14e30"], + "payloads": ["e6fbd22fd721", "023bacc5a99f"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a" + }, + "state": "2f8b5d95971d", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "000516aa083b", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-checks-files.outer-refused:thread-settled", + "observation": { + "sender": ["a94ae672d47d", "e11cc4c14e30", "bcb382ff8ccc"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a" + }, + "state": "bfd9f0b65aa7", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "000516aa083b", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "aced50dc7bb2", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-checks-files.outer-refused:expand-settled", + "observation": { + "sender": ["a94ae672d47d", "e11cc4c14e30", "bcb382ff8ccc", "56b95ef32926"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "93e1660aeb33", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "000516aa083b", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "aced50dc7bb2", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f" + ] + } + }, + { + "id": "tk-item-checks-files.outer-refused:file-comment-settled", + "observation": { + "sender": [ + "a94ae672d47d", + "e11cc4c14e30", + "bcb382ff8ccc", + "56b95ef32926", + "a5b56b388d19" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "8a6843ac346a", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "000516aa083b", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "aced50dc7bb2", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "cecca3e068aa", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.outer-refused-no-message:viewed-settled", + "observation": { + "sender": ["a94ae672d47d", "7ccde0bb0876"], + "payloads": ["e6fbd22fd721", "023bacc5a99f"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a" + }, + "state": "58deaf3a6563", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "b57ded8a3ea3", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-checks-files.outer-refused-no-message:thread-settled", + "observation": { + "sender": ["a94ae672d47d", "7ccde0bb0876", "bcb382ff8ccc"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a" + }, + "state": "bfd9f0b65aa7", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "b57ded8a3ea3", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "aced50dc7bb2", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-checks-files.outer-refused-no-message:expand-settled", + "observation": { + "sender": ["a94ae672d47d", "7ccde0bb0876", "bcb382ff8ccc", "56b95ef32926"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "93e1660aeb33", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "b57ded8a3ea3", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "aced50dc7bb2", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f" + ] + } + }, + { + "id": "tk-item-checks-files.outer-refused-no-message:file-comment-settled", + "observation": { + "sender": [ + "a94ae672d47d", + "7ccde0bb0876", + "bcb382ff8ccc", + "56b95ef32926", + "a5b56b388d19" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "8a6843ac346a", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "b57ded8a3ea3", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "aced50dc7bb2", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "cecca3e068aa", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.method-not-found:viewed-settled", + "observation": { + "sender": ["a94ae672d47d", "667e91681dd2"], + "payloads": ["e6fbd22fd721", "023bacc5a99f"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a" + }, + "state": "498104208398", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "f1cfc2d1bcc1", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-checks-files.method-not-found:thread-settled", + "observation": { + "sender": ["a94ae672d47d", "667e91681dd2", "bcb382ff8ccc"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a" + }, + "state": "bfd9f0b65aa7", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "f1cfc2d1bcc1", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "aced50dc7bb2", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-checks-files.method-not-found:expand-settled", + "observation": { + "sender": ["a94ae672d47d", "667e91681dd2", "bcb382ff8ccc", "56b95ef32926"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "93e1660aeb33", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "f1cfc2d1bcc1", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "aced50dc7bb2", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f" + ] + } + }, + { + "id": "tk-item-checks-files.method-not-found:file-comment-settled", + "observation": { + "sender": [ + "a94ae672d47d", + "667e91681dd2", + "bcb382ff8ccc", + "56b95ef32926", + "a5b56b388d19" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "8a6843ac346a", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "f1cfc2d1bcc1", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "aced50dc7bb2", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "cecca3e068aa", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.transport-rejection:viewed-settled", + "observation": { + "sender": ["a94ae672d47d", "d9e1d01cd9c5"], + "payloads": ["e6fbd22fd721", "023bacc5a99f"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a" + }, + "state": "cf332dfad305", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "5c2874ad80bc", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-checks-files.transport-rejection:thread-settled", + "observation": { + "sender": ["a94ae672d47d", "d9e1d01cd9c5", "bcb382ff8ccc"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a" + }, + "state": "bfd9f0b65aa7", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "5c2874ad80bc", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "aced50dc7bb2", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-checks-files.transport-rejection:expand-settled", + "observation": { + "sender": ["a94ae672d47d", "d9e1d01cd9c5", "bcb382ff8ccc", "56b95ef32926"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "93e1660aeb33", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "5c2874ad80bc", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "aced50dc7bb2", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f" + ] + } + }, + { + "id": "tk-item-checks-files.transport-rejection:file-comment-settled", + "observation": { + "sender": [ + "a94ae672d47d", + "d9e1d01cd9c5", + "bcb382ff8ccc", + "56b95ef32926", + "a5b56b388d19" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "8a6843ac346a", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "5c2874ad80bc", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "aced50dc7bb2", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "cecca3e068aa", + "5467502970f1" + ] + } + }, + { + "id": "tk-item-checks-files.transport-rejection-no-message:viewed-settled", + "observation": { + "sender": ["a94ae672d47d", "4668891266a8"], + "payloads": ["e6fbd22fd721", "023bacc5a99f"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a" + }, + "state": "58deaf3a6563", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "b57ded8a3ea3", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-checks-files.transport-rejection-no-message:thread-settled", + "observation": { + "sender": ["a94ae672d47d", "4668891266a8", "bcb382ff8ccc"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a" + }, + "state": "bfd9f0b65aa7", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "b57ded8a3ea3", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "aced50dc7bb2", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-checks-files.transport-rejection-no-message:expand-settled", + "observation": { + "sender": ["a94ae672d47d", "4668891266a8", "bcb382ff8ccc", "56b95ef32926"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "93e1660aeb33", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "b57ded8a3ea3", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "aced50dc7bb2", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f" + ] + } + }, + { + "id": "tk-item-checks-files.transport-rejection-no-message:file-comment-settled", + "observation": { + "sender": [ + "a94ae672d47d", + "4668891266a8", + "bcb382ff8ccc", + "56b95ef32926", + "a5b56b388d19" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "8a6843ac346a", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "b57ded8a3ea3", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "aced50dc7bb2", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "cecca3e068aa", + "5467502970f1" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.item-comment-github-github.addissuecomment-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.item-comment-github-github.addissuecomment-1.json new file mode 100644 index 00000000000..6c9daffaf9e --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.item-comment-github-github.addissuecomment-1.json @@ -0,0 +1,1403 @@ +{ + "operation": "tasks.item-comment-github", + "family": "tasks.item-comment-github", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "8f68885d57a9aa76d80ba0ee29a95bdbaa98cef29c79c68ce75d67202cde7bfe", + "scenarioSha256": "1cc7fdf3139e0c5a81cd83987ffedc4f59cd4866fc1b4018b61e35eacc74fc11", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0c5891632462": { + "draft": "a comment", + "error": "Cannot read properties of null (reading 'ok')", + "item": { + "provider": "github", + "source": { + "id": "github:issue:9", + "labels": ["bug"], + "number": 9, + "repoId": "repo-1", + "reviewRequests": [], + "state": "open", + "type": "issue" + }, + "title": "An issue" + }, + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "198ac889ae28": { + "name": "error", + "value": "transport failure", + "sent": 1 + }, + "2145a24ffb7c": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "a comment", + "number": 9, + "repo": "id:repo-1", + "type": "issue" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "32a3635e06a4": { + "name": "mutatingStatus", + "value": false, + "sent": 1 + }, + "35cd4f653b4b": { + "draft": "", + "error": "", + "item": { + "provider": "github", + "source": { + "id": "github:issue:9", + "labels": ["bug"], + "number": 9, + "repoId": "repo-1", + "reviewRequests": [], + "state": "open", + "type": "issue" + }, + "title": "An issue" + }, + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "4d8af8e76f0d": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "a comment", + "number": 9, + "repo": "id:repo-1", + "type": "issue" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "5949b46afd35": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "a comment", + "number": 9, + "repo": "id:repo-1", + "type": "issue" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "6c11b73fe686": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "a comment", + "number": 9, + "repo": "id:repo-1", + "type": "issue" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "7297a232d830": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "a comment", + "number": 9, + "repo": "id:repo-1", + "type": "issue" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "comment": { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + }, + "ok": true + } + } + } + }, + "74056c9a1ad2": { + "draft": "a comment", + "error": "", + "item": { + "provider": "github", + "source": { + "id": "github:issue:9", + "labels": ["bug"], + "number": 9, + "repoId": "repo-1", + "reviewRequests": [], + "state": "open", + "type": "issue" + }, + "title": "An issue" + }, + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "79a7f51f2a84": { + "name": "github.addIssueComment#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.addIssueComment\",\"params\":{\"repo\":\"id:repo-1\",\"number\":9,\"body\":\"a comment\",\"type\":\"issue\"}}" + }, + "7d901d60a01a": { + "name": "error", + "value": "[object Object]", + "sent": 1 + }, + "93995ce48034": { + "draft": "a comment", + "error": "inner refused", + "item": { + "provider": "github", + "source": { + "id": "github:issue:9", + "labels": ["bug"], + "number": 9, + "repoId": "repo-1", + "reviewRequests": [], + "state": "open", + "type": "issue" + }, + "title": "An issue" + }, + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "a83b7506e207": { + "draft": "a comment", + "error": "Cannot read properties of undefined (reading 'ok')", + "item": { + "provider": "github", + "source": { + "id": "github:issue:9", + "labels": ["bug"], + "number": 9, + "repoId": "repo-1", + "reviewRequests": [], + "state": "open", + "type": "issue" + }, + "title": "An issue" + }, + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "adb96f97611d": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 1 + }, + "b53c339a3854": { + "name": "error", + "value": "Unknown method", + "sent": 1 + }, + "b7d0cffab0ca": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "a comment", + "number": 9, + "repo": "id:repo-1", + "type": "issue" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "befa2eb39911": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "a comment", + "number": 9, + "repo": "id:repo-1", + "type": "issue" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "c4f585980acf": { + "name": "error", + "value": "inner refused", + "sent": 1 + }, + "c9035bb9d41a": { + "draft": "a comment", + "error": "Unknown method", + "item": { + "provider": "github", + "source": { + "id": "github:issue:9", + "labels": ["bug"], + "number": 9, + "repoId": "repo-1", + "reviewRequests": [], + "state": "open", + "type": "issue" + }, + "title": "An issue" + }, + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "c939abf83c6c": { + "name": "error", + "value": "Cannot read properties of undefined (reading 'ok')", + "sent": 1 + }, + "cc96725d8f47": { + "name": "mutatingStatus", + "value": true, + "sent": 0 + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "df7f09ced6bf": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "local-1767225600000" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 1 + }, + "e2f420146015": { + "draft": "a comment", + "error": "transport failure", + "item": { + "provider": "github", + "source": { + "id": "github:issue:9", + "labels": ["bug"], + "number": 9, + "repoId": "repo-1", + "reviewRequests": [], + "state": "open", + "type": "issue" + }, + "title": "An issue" + }, + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "e4efd14a7239": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "a comment", + "number": 9, + "repo": "id:repo-1", + "type": "issue" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ee8b117bd788": { + "draft": "a comment", + "error": "[object Object]", + "item": { + "provider": "github", + "source": { + "id": "github:issue:9", + "labels": ["bug"], + "number": 9, + "repoId": "repo-1", + "reviewRequests": [], + "state": "open", + "type": "issue" + }, + "title": "An issue" + }, + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "eeabdda57f2e": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "a comment", + "number": 9, + "repo": "id:repo-1", + "type": "issue" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "f11c380fcc49": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "a comment", + "number": 9, + "repo": "id:repo-1", + "type": "issue" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "f5f33916a3a6": { + "draft": "", + "error": "", + "item": { + "provider": "github", + "source": { + "id": "github:issue:9", + "labels": ["bug"], + "number": 9, + "repoId": "repo-1", + "reviewRequests": [], + "state": "open", + "type": "issue" + }, + "title": "An issue" + }, + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "local-1767225600000" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "f791567b212f": { + "name": "error", + "value": "outer refused", + "sent": 1 + }, + "faeb3568c88c": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "a comment", + "number": 9, + "repo": "id:repo-1", + "type": "issue" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-1", + "ok": false + } + } + }, + "faf0249fca3c": { + "name": "error", + "value": "Cannot read properties of null (reading 'ok')", + "sent": 1 + }, + "fca61a97021e": { + "draft": "a comment", + "error": "outer refused", + "item": { + "provider": "github", + "source": { + "id": "github:issue:9", + "labels": ["bug"], + "number": 9, + "repoId": "repo-1", + "reviewRequests": [], + "state": "open", + "type": "issue" + }, + "title": "An issue" + }, + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "ffdb6c1abbef": { + "name": "itemCommentDraft", + "value": "", + "sent": 1 + } + }, + "recording": { + "scenario": "matrix-tasks.item-comment-github-github.addissuecomment-1", + "checkpoints": [ + { + "id": "tk-item-comment-github.normal:comment-settled", + "observation": { + "sender": ["7297a232d830"], + "payloads": ["79a7f51f2a84"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "35cd4f653b4b", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "ffdb6c1abbef", + "adb96f97611d", + "32a3635e06a4" + ] + } + }, + { + "id": "tk-item-comment-github.result-absent:comment-settled", + "observation": { + "sender": ["f11c380fcc49"], + "payloads": ["79a7f51f2a84"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "a83b7506e207", + "effects": ["cc96725d8f47", "9e263f5e91be", "c939abf83c6c", "32a3635e06a4"] + } + }, + { + "id": "tk-item-comment-github.result-null:comment-settled", + "observation": { + "sender": ["eeabdda57f2e"], + "payloads": ["79a7f51f2a84"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "0c5891632462", + "effects": ["cc96725d8f47", "9e263f5e91be", "faf0249fca3c", "32a3635e06a4"] + } + }, + { + "id": "tk-item-comment-github.inner-ok-missing:comment-settled", + "observation": { + "sender": ["4d8af8e76f0d"], + "payloads": ["79a7f51f2a84"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "f5f33916a3a6", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "ffdb6c1abbef", + "df7f09ced6bf", + "32a3635e06a4" + ] + } + }, + { + "id": "tk-item-comment-github.inner-false-string-error:comment-settled", + "observation": { + "sender": ["b7d0cffab0ca"], + "payloads": ["79a7f51f2a84"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "93995ce48034", + "effects": ["cc96725d8f47", "9e263f5e91be", "c4f585980acf", "32a3635e06a4"] + } + }, + { + "id": "tk-item-comment-github.inner-false-object-error:comment-settled", + "observation": { + "sender": ["6c11b73fe686"], + "payloads": ["79a7f51f2a84"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "ee8b117bd788", + "effects": ["cc96725d8f47", "9e263f5e91be", "7d901d60a01a", "32a3635e06a4"] + } + }, + { + "id": "tk-item-comment-github.outer-refused:comment-settled", + "observation": { + "sender": ["e4efd14a7239"], + "payloads": ["79a7f51f2a84"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "fca61a97021e", + "effects": ["cc96725d8f47", "9e263f5e91be", "f791567b212f", "32a3635e06a4"] + } + }, + { + "id": "tk-item-comment-github.outer-refused-no-message:comment-settled", + "observation": { + "sender": ["5949b46afd35"], + "payloads": ["79a7f51f2a84"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "74056c9a1ad2", + "effects": ["cc96725d8f47", "9e263f5e91be", "d48d5c49486c", "32a3635e06a4"] + } + }, + { + "id": "tk-item-comment-github.method-not-found:comment-settled", + "observation": { + "sender": ["faeb3568c88c"], + "payloads": ["79a7f51f2a84"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "c9035bb9d41a", + "effects": ["cc96725d8f47", "9e263f5e91be", "b53c339a3854", "32a3635e06a4"] + } + }, + { + "id": "tk-item-comment-github.transport-rejection:comment-settled", + "observation": { + "sender": ["2145a24ffb7c"], + "payloads": ["79a7f51f2a84"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "e2f420146015", + "effects": ["cc96725d8f47", "9e263f5e91be", "198ac889ae28", "32a3635e06a4"] + } + }, + { + "id": "tk-item-comment-github.transport-rejection-no-message:comment-settled", + "observation": { + "sender": ["befa2eb39911"], + "payloads": ["79a7f51f2a84"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "74056c9a1ad2", + "effects": ["cc96725d8f47", "9e263f5e91be", "d48d5c49486c", "32a3635e06a4"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.item-comment-gitlab-gitlab.addissuecomment-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.item-comment-gitlab-gitlab.addissuecomment-1.json new file mode 100644 index 00000000000..b2f3fc13174 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.item-comment-gitlab-gitlab.addissuecomment-1.json @@ -0,0 +1,1043 @@ +{ + "operation": "tasks.item-comment-gitlab", + "family": "tasks.item-comment-gitlab", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "8f68885d57a9aa76d80ba0ee29a95bdbaa98cef29c79c68ce75d67202cde7bfe", + "scenarioSha256": "154d91d00db23ea2718a6ee0b6c5cafc7233084532b3d561731b059d58e006f5", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "034e6a1ee295": { + "draft": "a comment", + "error": "", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + }, + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "13cad23ebd19": { + "name": "gitlab.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "gitlab.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "a comment", + "number": 4, + "projectRef": "group/project", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "18cc1a09cdf1": { + "draft": "a comment", + "error": "Unknown method", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + }, + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "198ac889ae28": { + "name": "error", + "value": "transport failure", + "sent": 1 + }, + "1f27ffccd3c3": { + "name": "gitlab.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "gitlab.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "a comment", + "number": 4, + "projectRef": "group/project", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "comment": { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 904 + }, + "ok": true + } + } + } + }, + "2733873ba39e": { + "name": "gitlab.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "gitlab.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "a comment", + "number": 4, + "projectRef": "group/project", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "27e26e9d4ca3": { + "draft": "a comment", + "error": "[object Object]", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + }, + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "2fcb406ea267": { + "name": "gitlab.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "gitlab.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "a comment", + "number": 4, + "projectRef": "group/project", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "32a3635e06a4": { + "name": "mutatingStatus", + "value": false, + "sent": 1 + }, + "34aadd6fe168": { + "draft": "a comment", + "error": "Cannot read properties of null (reading 'ok')", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + }, + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "39c7fd272daf": { + "name": "gitlab.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "gitlab.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "a comment", + "number": 4, + "projectRef": "group/project", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "3d8c0130481e": { + "name": "gitlab.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "gitlab.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "a comment", + "number": 4, + "projectRef": "group/project", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "48a9b4deaa5b": { + "draft": "", + "error": "", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + }, + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 904 + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "59727d722699": { + "name": "detailPayload", + "value": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 904 + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + }, + "sent": 1 + }, + "597a2de36c85": { + "draft": "", + "error": "", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + }, + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "local-1767225600000" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "62e2ee2207c3": { + "draft": "a comment", + "error": "inner refused", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + }, + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "643d27f4f64d": { + "name": "gitlab.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "gitlab.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "a comment", + "number": 4, + "projectRef": "group/project", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "7251019fd224": { + "name": "gitlab.addIssueComment#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"gitlab.addIssueComment\",\"params\":{\"repo\":\"id:repo-1\",\"number\":4,\"body\":\"a comment\",\"projectRef\":\"group/project\"}}" + }, + "7a6c84318727": { + "draft": "a comment", + "error": "outer refused", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + }, + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "7d901d60a01a": { + "name": "error", + "value": "[object Object]", + "sent": 1 + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "a0921dd0e496": { + "name": "gitlab.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "gitlab.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "a comment", + "number": 4, + "projectRef": "group/project", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "a5c1f8783879": { + "name": "detailPayload", + "value": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "local-1767225600000" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + }, + "sent": 1 + }, + "b53c339a3854": { + "name": "error", + "value": "Unknown method", + "sent": 1 + }, + "b658c69cf462": { + "draft": "a comment", + "error": "Cannot read properties of undefined (reading 'ok')", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + }, + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "bf67cac66565": { + "draft": "a comment", + "error": "transport failure", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + }, + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "c4f585980acf": { + "name": "error", + "value": "inner refused", + "sent": 1 + }, + "c939abf83c6c": { + "name": "error", + "value": "Cannot read properties of undefined (reading 'ok')", + "sent": 1 + }, + "cb18508bfe06": { + "name": "gitlab.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "gitlab.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "a comment", + "number": 4, + "projectRef": "group/project", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "cc96725d8f47": { + "name": "mutatingStatus", + "value": true, + "sent": 0 + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f791567b212f": { + "name": "error", + "value": "outer refused", + "sent": 1 + }, + "f7fdfa8aaddb": { + "name": "gitlab.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "gitlab.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "a comment", + "number": 4, + "projectRef": "group/project", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-1", + "ok": false + } + } + }, + "faf0249fca3c": { + "name": "error", + "value": "Cannot read properties of null (reading 'ok')", + "sent": 1 + }, + "fe21c61cf6a3": { + "name": "gitlab.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "gitlab.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "a comment", + "number": 4, + "projectRef": "group/project", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "ffdb6c1abbef": { + "name": "itemCommentDraft", + "value": "", + "sent": 1 + } + }, + "recording": { + "scenario": "matrix-tasks.item-comment-gitlab-gitlab.addissuecomment-1", + "checkpoints": [ + { + "id": "tk-item-comment-gitlab.normal:comment-settled", + "observation": { + "sender": ["1f27ffccd3c3"], + "payloads": ["7251019fd224"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "48a9b4deaa5b", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "ffdb6c1abbef", + "59727d722699", + "32a3635e06a4" + ] + } + }, + { + "id": "tk-item-comment-gitlab.result-absent:comment-settled", + "observation": { + "sender": ["2fcb406ea267"], + "payloads": ["7251019fd224"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "b658c69cf462", + "effects": ["cc96725d8f47", "9e263f5e91be", "c939abf83c6c", "32a3635e06a4"] + } + }, + { + "id": "tk-item-comment-gitlab.result-null:comment-settled", + "observation": { + "sender": ["39c7fd272daf"], + "payloads": ["7251019fd224"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "34aadd6fe168", + "effects": ["cc96725d8f47", "9e263f5e91be", "faf0249fca3c", "32a3635e06a4"] + } + }, + { + "id": "tk-item-comment-gitlab.inner-ok-missing:comment-settled", + "observation": { + "sender": ["cb18508bfe06"], + "payloads": ["7251019fd224"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "597a2de36c85", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "ffdb6c1abbef", + "a5c1f8783879", + "32a3635e06a4" + ] + } + }, + { + "id": "tk-item-comment-gitlab.inner-false-string-error:comment-settled", + "observation": { + "sender": ["fe21c61cf6a3"], + "payloads": ["7251019fd224"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "62e2ee2207c3", + "effects": ["cc96725d8f47", "9e263f5e91be", "c4f585980acf", "32a3635e06a4"] + } + }, + { + "id": "tk-item-comment-gitlab.inner-false-object-error:comment-settled", + "observation": { + "sender": ["2733873ba39e"], + "payloads": ["7251019fd224"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "27e26e9d4ca3", + "effects": ["cc96725d8f47", "9e263f5e91be", "7d901d60a01a", "32a3635e06a4"] + } + }, + { + "id": "tk-item-comment-gitlab.outer-refused:comment-settled", + "observation": { + "sender": ["13cad23ebd19"], + "payloads": ["7251019fd224"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "7a6c84318727", + "effects": ["cc96725d8f47", "9e263f5e91be", "f791567b212f", "32a3635e06a4"] + } + }, + { + "id": "tk-item-comment-gitlab.outer-refused-no-message:comment-settled", + "observation": { + "sender": ["3d8c0130481e"], + "payloads": ["7251019fd224"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "034e6a1ee295", + "effects": ["cc96725d8f47", "9e263f5e91be", "d48d5c49486c", "32a3635e06a4"] + } + }, + { + "id": "tk-item-comment-gitlab.method-not-found:comment-settled", + "observation": { + "sender": ["f7fdfa8aaddb"], + "payloads": ["7251019fd224"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "18cc1a09cdf1", + "effects": ["cc96725d8f47", "9e263f5e91be", "b53c339a3854", "32a3635e06a4"] + } + }, + { + "id": "tk-item-comment-gitlab.transport-rejection:comment-settled", + "observation": { + "sender": ["a0921dd0e496"], + "payloads": ["7251019fd224"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "bf67cac66565", + "effects": ["cc96725d8f47", "9e263f5e91be", "198ac889ae28", "32a3635e06a4"] + } + }, + { + "id": "tk-item-comment-gitlab.transport-rejection-no-message:comment-settled", + "observation": { + "sender": ["643d27f4f64d"], + "payloads": ["7251019fd224"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "034e6a1ee295", + "effects": ["cc96725d8f47", "9e263f5e91be", "d48d5c49486c", "32a3635e06a4"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.item-comment-gitlab-mr-gitlab.addmrcomment-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.item-comment-gitlab-mr-gitlab.addmrcomment-1.json new file mode 100644 index 00000000000..20e1a1b396b --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.item-comment-gitlab-mr-gitlab.addmrcomment-1.json @@ -0,0 +1,1043 @@ +{ + "operation": "tasks.item-comment-gitlab-mr", + "family": "tasks.item-comment-gitlab-mr", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "8f68885d57a9aa76d80ba0ee29a95bdbaa98cef29c79c68ce75d67202cde7bfe", + "scenarioSha256": "ae07579881829263a2b5590249d4119f5d9f4ef3877149ac3b780ad985413f00", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "01a6101342a9": { + "name": "gitlab.addMRComment#1", + "args": [ + { + "name": "method", + "value": "gitlab.addMRComment" + }, + { + "name": "params", + "value": { + "body": "a comment", + "iid": 7, + "projectRef": "group/project", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "02a9b21b0da8": { + "name": "gitlab.addMRComment#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"gitlab.addMRComment\",\"params\":{\"repo\":\"id:repo-1\",\"iid\":7,\"body\":\"a comment\",\"projectRef\":\"group/project\"}}" + }, + "0846de0f949a": { + "draft": "a comment", + "error": "transport failure", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + }, + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "1792a570e51c": { + "name": "detailPayload", + "value": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 905 + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + }, + "sent": 1 + }, + "198ac889ae28": { + "name": "error", + "value": "transport failure", + "sent": 1 + }, + "20abdda2b770": { + "name": "gitlab.addMRComment#1", + "args": [ + { + "name": "method", + "value": "gitlab.addMRComment" + }, + { + "name": "params", + "value": { + "body": "a comment", + "iid": 7, + "projectRef": "group/project", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "32a3635e06a4": { + "name": "mutatingStatus", + "value": false, + "sent": 1 + }, + "3b3dd5281511": { + "draft": "a comment", + "error": "Unknown method", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + }, + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "3e5facf48993": { + "name": "gitlab.addMRComment#1", + "args": [ + { + "name": "method", + "value": "gitlab.addMRComment" + }, + { + "name": "params", + "value": { + "body": "a comment", + "iid": 7, + "projectRef": "group/project", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "4f6907510e35": { + "draft": "a comment", + "error": "Cannot read properties of undefined (reading 'ok')", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + }, + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "564d9b281404": { + "draft": "a comment", + "error": "outer refused", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + }, + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "60cf785513ee": { + "draft": "a comment", + "error": "[object Object]", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + }, + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "6c49f5e0f2ca": { + "draft": "", + "error": "", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + }, + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 905 + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "7d901d60a01a": { + "name": "error", + "value": "[object Object]", + "sent": 1 + }, + "7f2697ace03b": { + "name": "gitlab.addMRComment#1", + "args": [ + { + "name": "method", + "value": "gitlab.addMRComment" + }, + { + "name": "params", + "value": { + "body": "a comment", + "iid": 7, + "projectRef": "group/project", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "85f672c0515f": { + "draft": "", + "error": "", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + }, + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "local-1767225600000" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "9fbb0c0c00a3": { + "draft": "a comment", + "error": "Cannot read properties of null (reading 'ok')", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + }, + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "a5c1f8783879": { + "name": "detailPayload", + "value": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "local-1767225600000" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + }, + "sent": 1 + }, + "ad694b26e210": { + "name": "gitlab.addMRComment#1", + "args": [ + { + "name": "method", + "value": "gitlab.addMRComment" + }, + { + "name": "params", + "value": { + "body": "a comment", + "iid": 7, + "projectRef": "group/project", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-1", + "ok": false + } + } + }, + "ae5917f96fbd": { + "draft": "a comment", + "error": "", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + }, + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "b53c339a3854": { + "name": "error", + "value": "Unknown method", + "sent": 1 + }, + "bb90b36099bc": { + "draft": "a comment", + "error": "inner refused", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + }, + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "c4f585980acf": { + "name": "error", + "value": "inner refused", + "sent": 1 + }, + "c6b7aaa4bd08": { + "name": "gitlab.addMRComment#1", + "args": [ + { + "name": "method", + "value": "gitlab.addMRComment" + }, + { + "name": "params", + "value": { + "body": "a comment", + "iid": 7, + "projectRef": "group/project", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "comment": { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 905 + }, + "ok": true + } + } + } + }, + "c89ea6e7700c": { + "name": "gitlab.addMRComment#1", + "args": [ + { + "name": "method", + "value": "gitlab.addMRComment" + }, + { + "name": "params", + "value": { + "body": "a comment", + "iid": 7, + "projectRef": "group/project", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "c939abf83c6c": { + "name": "error", + "value": "Cannot read properties of undefined (reading 'ok')", + "sent": 1 + }, + "cc96725d8f47": { + "name": "mutatingStatus", + "value": true, + "sent": 0 + }, + "d447b467c652": { + "name": "gitlab.addMRComment#1", + "args": [ + { + "name": "method", + "value": "gitlab.addMRComment" + }, + { + "name": "params", + "value": { + "body": "a comment", + "iid": 7, + "projectRef": "group/project", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "d8a0bdf0682e": { + "name": "gitlab.addMRComment#1", + "args": [ + { + "name": "method", + "value": "gitlab.addMRComment" + }, + { + "name": "params", + "value": { + "body": "a comment", + "iid": 7, + "projectRef": "group/project", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "e07e078ae271": { + "name": "gitlab.addMRComment#1", + "args": [ + { + "name": "method", + "value": "gitlab.addMRComment" + }, + { + "name": "params", + "value": { + "body": "a comment", + "iid": 7, + "projectRef": "group/project", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "e0e1142aee10": { + "name": "gitlab.addMRComment#1", + "args": [ + { + "name": "method", + "value": "gitlab.addMRComment" + }, + { + "name": "params", + "value": { + "body": "a comment", + "iid": 7, + "projectRef": "group/project", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f791567b212f": { + "name": "error", + "value": "outer refused", + "sent": 1 + }, + "faf0249fca3c": { + "name": "error", + "value": "Cannot read properties of null (reading 'ok')", + "sent": 1 + }, + "ffdb6c1abbef": { + "name": "itemCommentDraft", + "value": "", + "sent": 1 + } + }, + "recording": { + "scenario": "matrix-tasks.item-comment-gitlab-mr-gitlab.addmrcomment-1", + "checkpoints": [ + { + "id": "tk-item-comment-gitlab-mr.normal:comment-settled", + "observation": { + "sender": ["c6b7aaa4bd08"], + "payloads": ["02a9b21b0da8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "6c49f5e0f2ca", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "ffdb6c1abbef", + "1792a570e51c", + "32a3635e06a4" + ] + } + }, + { + "id": "tk-item-comment-gitlab-mr.result-absent:comment-settled", + "observation": { + "sender": ["20abdda2b770"], + "payloads": ["02a9b21b0da8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "4f6907510e35", + "effects": ["cc96725d8f47", "9e263f5e91be", "c939abf83c6c", "32a3635e06a4"] + } + }, + { + "id": "tk-item-comment-gitlab-mr.result-null:comment-settled", + "observation": { + "sender": ["c89ea6e7700c"], + "payloads": ["02a9b21b0da8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "9fbb0c0c00a3", + "effects": ["cc96725d8f47", "9e263f5e91be", "faf0249fca3c", "32a3635e06a4"] + } + }, + { + "id": "tk-item-comment-gitlab-mr.inner-ok-missing:comment-settled", + "observation": { + "sender": ["d8a0bdf0682e"], + "payloads": ["02a9b21b0da8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "85f672c0515f", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "ffdb6c1abbef", + "a5c1f8783879", + "32a3635e06a4" + ] + } + }, + { + "id": "tk-item-comment-gitlab-mr.inner-false-string-error:comment-settled", + "observation": { + "sender": ["e0e1142aee10"], + "payloads": ["02a9b21b0da8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "bb90b36099bc", + "effects": ["cc96725d8f47", "9e263f5e91be", "c4f585980acf", "32a3635e06a4"] + } + }, + { + "id": "tk-item-comment-gitlab-mr.inner-false-object-error:comment-settled", + "observation": { + "sender": ["d447b467c652"], + "payloads": ["02a9b21b0da8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "60cf785513ee", + "effects": ["cc96725d8f47", "9e263f5e91be", "7d901d60a01a", "32a3635e06a4"] + } + }, + { + "id": "tk-item-comment-gitlab-mr.outer-refused:comment-settled", + "observation": { + "sender": ["3e5facf48993"], + "payloads": ["02a9b21b0da8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "564d9b281404", + "effects": ["cc96725d8f47", "9e263f5e91be", "f791567b212f", "32a3635e06a4"] + } + }, + { + "id": "tk-item-comment-gitlab-mr.outer-refused-no-message:comment-settled", + "observation": { + "sender": ["7f2697ace03b"], + "payloads": ["02a9b21b0da8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "ae5917f96fbd", + "effects": ["cc96725d8f47", "9e263f5e91be", "d48d5c49486c", "32a3635e06a4"] + } + }, + { + "id": "tk-item-comment-gitlab-mr.method-not-found:comment-settled", + "observation": { + "sender": ["ad694b26e210"], + "payloads": ["02a9b21b0da8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "3b3dd5281511", + "effects": ["cc96725d8f47", "9e263f5e91be", "b53c339a3854", "32a3635e06a4"] + } + }, + { + "id": "tk-item-comment-gitlab-mr.transport-rejection:comment-settled", + "observation": { + "sender": ["01a6101342a9"], + "payloads": ["02a9b21b0da8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "0846de0f949a", + "effects": ["cc96725d8f47", "9e263f5e91be", "198ac889ae28", "32a3635e06a4"] + } + }, + { + "id": "tk-item-comment-gitlab-mr.transport-rejection-no-message:comment-settled", + "observation": { + "sender": ["e07e078ae271"], + "payloads": ["02a9b21b0da8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "ae5917f96fbd", + "effects": ["cc96725d8f47", "9e263f5e91be", "d48d5c49486c", "32a3635e06a4"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.item-detail-github-github.workitemdetails-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.item-detail-github-github.workitemdetails-1.json new file mode 100644 index 00000000000..e49a5b5377f --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.item-detail-github-github.workitemdetails-1.json @@ -0,0 +1,1056 @@ +{ + "operation": "tasks.item-detail-github", + "family": "tasks.item-detail-github", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "c0ef16b959002e4a3c5347114a0844b95670e274ef010d910b6671ac5f49e783", + "scenarioSha256": "955729f9100dce7eeb103f7b4d08ff56ac66853b9ad0d33627c0838011287bca", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "026c8cc37792": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [], + "files": [], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": "APPROVED", + "reviewRequests": [] + }, + "sent": 1 + }, + "1867a9df681c": { + "name": "detailLoading", + "value": false, + "sent": 1 + }, + "1874e6e64ab8": { + "error": "", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "loading": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [], + "files": [], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": "APPROVED", + "reviewRequests": [] + } + }, + "2d86e33e1972": { + "name": "detailPayload", + "value": { + "assignees": [], + "baseSha": { + "$rpc": "undefined" + }, + "body": "", + "checks": [], + "comments": [], + "files": [], + "headSha": { + "$rpc": "undefined" + }, + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 1 + }, + "3de07d9166a8": { + "error": "outer refused", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "loading": false, + "payload": { + "$rpc": "null" + } + }, + "490069b5b08d": { + "name": "detailError", + "value": "Unknown method", + "sent": 1 + }, + "54ee429ef116": { + "name": "github.workItemDetails#1", + "args": [ + { + "name": "method", + "value": "github.workItemDetails" + }, + { + "name": "params", + "value": { + "number": 12, + "repo": "id:repo-1", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [], + "files": [], + "headSha": "head-sha", + "item": { + "labels": ["bug"], + "latestReviews": [], + "reviewDecision": "APPROVED", + "reviewRequests": [] + }, + "pullRequestId": "PR_kwDO" + } + } + } + }, + "56d172ecd2fe": { + "name": "detailLoading", + "value": true, + "sent": 0 + }, + "64e5ae4019a2": { + "name": "github.workItemDetails#1", + "args": [ + { + "name": "method", + "value": "github.workItemDetails" + }, + { + "name": "params", + "value": { + "number": 12, + "repo": "id:repo-1", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "6985c6cf3587": { + "name": "detailError", + "value": "outer refused", + "sent": 1 + }, + "6a25e546eff7": { + "error": "Details not found", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "loading": false, + "payload": { + "$rpc": "null" + } + }, + "710c5f655599": { + "name": "github.workItemDetails#1", + "args": [ + { + "name": "method", + "value": "github.workItemDetails" + }, + { + "name": "params", + "value": { + "number": 12, + "repo": "id:repo-1", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "85b9acf85c67": { + "name": "github.workItemDetails#1", + "args": [ + { + "name": "method", + "value": "github.workItemDetails" + }, + { + "name": "params", + "value": { + "number": 12, + "repo": "id:repo-1", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "8832c17871d2": { + "name": "detailError", + "value": "", + "sent": 1 + }, + "978c0a45552a": { + "name": "github.workItemDetails#1", + "args": [ + { + "name": "method", + "value": "github.workItemDetails" + }, + { + "name": "params", + "value": { + "number": 12, + "repo": "id:repo-1", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "981b7de38854": { + "name": "github.workItemDetails#1", + "args": [ + { + "name": "method", + "value": "github.workItemDetails" + }, + { + "name": "params", + "value": { + "number": 12, + "repo": "id:repo-1", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "9bd1de5d9753": { + "name": "detailPayload", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "9d6ce9f28401": { + "name": "detailError", + "value": "", + "sent": 0 + }, + "a8fceb0dbc5a": { + "error": "", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "loading": false, + "payload": { + "assignees": [], + "baseSha": { + "$rpc": "undefined" + }, + "body": "", + "checks": [], + "comments": [], + "files": [], + "headSha": { + "$rpc": "undefined" + }, + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "ba2827f74800": { + "name": "github.workItemDetails#1", + "args": [ + { + "name": "method", + "value": "github.workItemDetails" + }, + { + "name": "params", + "value": { + "number": 12, + "repo": "id:repo-1", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-1", + "ok": false + } + } + }, + "c3f9c5e184b4": { + "name": "github.workItemDetails#1", + "args": [ + { + "name": "method", + "value": "github.workItemDetails" + }, + { + "name": "params", + "value": { + "number": 12, + "repo": "id:repo-1", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "c4c878da84ba": { + "error": "Unknown method", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "loading": false, + "payload": { + "$rpc": "null" + } + }, + "c8f810d0473e": { + "name": "github.workItemDetails#1", + "args": [ + { + "name": "method", + "value": "github.workItemDetails" + }, + { + "name": "params", + "value": { + "number": 12, + "repo": "id:repo-1", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "ce4ab5211cfd": { + "name": "github.workItemDetails#1", + "args": [ + { + "name": "method", + "value": "github.workItemDetails" + }, + { + "name": "params", + "value": { + "number": 12, + "repo": "id:repo-1", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "d2190faefc97": { + "name": "detailError", + "value": "Details not found", + "sent": 1 + }, + "d46a22dbc133": { + "name": "github.workItemDetails#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.workItemDetails\",\"params\":{\"repo\":\"id:repo-1\",\"number\":12,\"type\":\"pr\"}}" + }, + "eb1f947767b0": { + "error": "", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "loading": false, + "payload": { + "$rpc": "null" + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f6a5a82a230c": { + "name": "github.workItemDetails#1", + "args": [ + { + "name": "method", + "value": "github.workItemDetails" + }, + { + "name": "params", + "value": { + "number": 12, + "repo": "id:repo-1", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "fbedc0789cfe": { + "error": "transport failure", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "loading": false, + "payload": { + "$rpc": "null" + } + }, + "fd373ee8144d": { + "name": "detailError", + "value": "transport failure", + "sent": 1 + } + }, + "recording": { + "scenario": "matrix-tasks.item-detail-github-github.workitemdetails-1", + "checkpoints": [ + { + "id": "tk-item-detail-github.normal:mounted", + "observation": { + "sender": ["54ee429ef116"], + "payloads": ["d46a22dbc133"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "1874e6e64ab8", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "026c8cc37792", + "1867a9df681c" + ] + } + }, + { + "id": "tk-item-detail-github.result-absent:mounted", + "observation": { + "sender": ["64e5ae4019a2"], + "payloads": ["d46a22dbc133"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "6a25e546eff7", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "d2190faefc97", + "1867a9df681c" + ] + } + }, + { + "id": "tk-item-detail-github.result-null:mounted", + "observation": { + "sender": ["c3f9c5e184b4"], + "payloads": ["d46a22dbc133"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "6a25e546eff7", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "d2190faefc97", + "1867a9df681c" + ] + } + }, + { + "id": "tk-item-detail-github.inner-ok-missing:mounted", + "observation": { + "sender": ["ce4ab5211cfd"], + "payloads": ["d46a22dbc133"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "a8fceb0dbc5a", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "2d86e33e1972", + "1867a9df681c" + ] + } + }, + { + "id": "tk-item-detail-github.inner-false-string-error:mounted", + "observation": { + "sender": ["85b9acf85c67"], + "payloads": ["d46a22dbc133"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "a8fceb0dbc5a", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "2d86e33e1972", + "1867a9df681c" + ] + } + }, + { + "id": "tk-item-detail-github.inner-false-object-error:mounted", + "observation": { + "sender": ["710c5f655599"], + "payloads": ["d46a22dbc133"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "a8fceb0dbc5a", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "2d86e33e1972", + "1867a9df681c" + ] + } + }, + { + "id": "tk-item-detail-github.outer-refused:mounted", + "observation": { + "sender": ["f6a5a82a230c"], + "payloads": ["d46a22dbc133"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "3de07d9166a8", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "6985c6cf3587", + "1867a9df681c" + ] + } + }, + { + "id": "tk-item-detail-github.outer-refused-no-message:mounted", + "observation": { + "sender": ["c8f810d0473e"], + "payloads": ["d46a22dbc133"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "eb1f947767b0", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "8832c17871d2", + "1867a9df681c" + ] + } + }, + { + "id": "tk-item-detail-github.method-not-found:mounted", + "observation": { + "sender": ["ba2827f74800"], + "payloads": ["d46a22dbc133"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "c4c878da84ba", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "490069b5b08d", + "1867a9df681c" + ] + } + }, + { + "id": "tk-item-detail-github.transport-rejection:mounted", + "observation": { + "sender": ["981b7de38854"], + "payloads": ["d46a22dbc133"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "fbedc0789cfe", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "fd373ee8144d", + "1867a9df681c" + ] + } + }, + { + "id": "tk-item-detail-github.transport-rejection-no-message:mounted", + "observation": { + "sender": ["978c0a45552a"], + "payloads": ["d46a22dbc133"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "eb1f947767b0", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "8832c17871d2", + "1867a9df681c" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.item-detail-gitlab-gitlab.workitemdetails-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.item-detail-gitlab-gitlab.workitemdetails-1.json new file mode 100644 index 00000000000..22d1924157f --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.item-detail-gitlab-gitlab.workitemdetails-1.json @@ -0,0 +1,1122 @@ +{ + "operation": "tasks.item-detail-gitlab", + "family": "tasks.item-detail-gitlab", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "c0ef16b959002e4a3c5347114a0844b95670e274ef010d910b6671ac5f49e783", + "scenarioSha256": "d163c6125fa180da7575642ee29f4bb18e3678079b7c30a42934550896d5b3c1", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "08049512c6dd": { + "name": "gitlab.workItemDetails#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"gitlab.workItemDetails\",\"params\":{\"repo\":\"id:repo-1\",\"iid\":4,\"type\":\"issue\",\"projectRef\":\"group/project\"}}" + }, + "0ca6a727a14e": { + "name": "gitlab.workItemDetails#1", + "args": [ + { + "name": "method", + "value": "gitlab.workItemDetails" + }, + { + "name": "params", + "value": { + "iid": 4, + "projectRef": "group/project", + "repo": "id:repo-1", + "type": "issue" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "1867a9df681c": { + "name": "detailLoading", + "value": false, + "sent": 1 + }, + "21e97f41ebab": { + "name": "gitlab.workItemDetails#1", + "args": [ + { + "name": "method", + "value": "gitlab.workItemDetails" + }, + { + "name": "params", + "value": { + "iid": 4, + "projectRef": "group/project", + "repo": "id:repo-1", + "type": "issue" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "292ec83c1b66": { + "name": "gitlab.workItemDetails#1", + "args": [ + { + "name": "method", + "value": "gitlab.workItemDetails" + }, + { + "name": "params", + "value": { + "iid": 4, + "projectRef": "group/project", + "repo": "id:repo-1", + "type": "issue" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "approvalState": { + "approvalsLeft": 0, + "approvalsRequired": 1 + }, + "assignees": [], + "body": "body", + "comments": [], + "item": { + "labels": ["bug"], + "mergeable": "MERGEABLE" + }, + "pipelineJobs": [], + "reviewers": [] + } + } + } + }, + "3b439a0be8e6": { + "name": "detailPayload", + "value": { + "assignees": [], + "body": "", + "comments": [], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + }, + "sent": 1 + }, + "407e67708c25": { + "name": "gitlab.workItemDetails#1", + "args": [ + { + "name": "method", + "value": "gitlab.workItemDetails" + }, + { + "name": "params", + "value": { + "iid": 4, + "projectRef": "group/project", + "repo": "id:repo-1", + "type": "issue" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "490069b5b08d": { + "name": "detailError", + "value": "Unknown method", + "sent": 1 + }, + "5672ba1c0594": { + "error": "", + "item": { + "provider": "gitlab", + "source": { + "checksSummary": { + "failed": 0, + "neutral": 0, + "passed": 0, + "pending": 0, + "state": "none", + "total": 0 + }, + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "checksSummary": { + "failed": 0, + "neutral": 0, + "passed": 0, + "pending": 0, + "state": "none", + "total": 0 + }, + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + } + ], + "loading": false, + "payload": { + "assignees": [], + "body": "", + "comments": [], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "56d172ecd2fe": { + "name": "detailLoading", + "value": true, + "sent": 0 + }, + "58bc89f3db3d": { + "name": "gitlab.workItemDetails#1", + "args": [ + { + "name": "method", + "value": "gitlab.workItemDetails" + }, + { + "name": "params", + "value": { + "iid": 4, + "projectRef": "group/project", + "repo": "id:repo-1", + "type": "issue" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "6985c6cf3587": { + "name": "detailError", + "value": "outer refused", + "sent": 1 + }, + "7e6dc074a7c0": { + "name": "gitlab.workItemDetails#1", + "args": [ + { + "name": "method", + "value": "gitlab.workItemDetails" + }, + { + "name": "params", + "value": { + "iid": 4, + "projectRef": "group/project", + "repo": "id:repo-1", + "type": "issue" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-1", + "ok": false + } + } + }, + "7ed24390e683": { + "error": "Unknown method", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + } + ], + "loading": false, + "payload": { + "$rpc": "null" + } + }, + "8832c17871d2": { + "name": "detailError", + "value": "", + "sent": 1 + }, + "8c13b62e947f": { + "name": "items", + "value": [ + { + "provider": "gitlab", + "source": { + "checksSummary": { + "failed": 0, + "neutral": 0, + "passed": 0, + "pending": 0, + "state": "none", + "total": 0 + }, + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + } + ], + "sent": 1 + }, + "8fe769a85d76": { + "name": "gitlab.workItemDetails#1", + "args": [ + { + "name": "method", + "value": "gitlab.workItemDetails" + }, + { + "name": "params", + "value": { + "iid": 4, + "projectRef": "group/project", + "repo": "id:repo-1", + "type": "issue" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "9777323a741d": { + "name": "gitlab.workItemDetails#1", + "args": [ + { + "name": "method", + "value": "gitlab.workItemDetails" + }, + { + "name": "params", + "value": { + "iid": 4, + "projectRef": "group/project", + "repo": "id:repo-1", + "type": "issue" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "9b89e6739339": { + "error": "outer refused", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + } + ], + "loading": false, + "payload": { + "$rpc": "null" + } + }, + "9bd1de5d9753": { + "name": "detailPayload", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "9d6ce9f28401": { + "name": "detailError", + "value": "", + "sent": 0 + }, + "a11900db0941": { + "name": "detailPayload", + "value": { + "assignees": [], + "body": "body", + "comments": [], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + }, + "sent": 1 + }, + "c305480d6e9b": { + "name": "gitlab.workItemDetails#1", + "args": [ + { + "name": "method", + "value": "gitlab.workItemDetails" + }, + { + "name": "params", + "value": { + "iid": 4, + "projectRef": "group/project", + "repo": "id:repo-1", + "type": "issue" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "d06829d31551": { + "name": "gitlab.workItemDetails#1", + "args": [ + { + "name": "method", + "value": "gitlab.workItemDetails" + }, + { + "name": "params", + "value": { + "iid": 4, + "projectRef": "group/project", + "repo": "id:repo-1", + "type": "issue" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "d2190faefc97": { + "name": "detailError", + "value": "Details not found", + "sent": 1 + }, + "d6522427a24c": { + "name": "actionItem", + "value": { + "provider": "gitlab", + "source": { + "checksSummary": { + "failed": 0, + "neutral": 0, + "passed": 0, + "pending": 0, + "state": "none", + "total": 0 + }, + "id": "gitlab:issue:4", + "labels": ["bug"], + "mergeable": "MERGEABLE", + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "reviewDecision": "approved", + "reviewerCount": 0, + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + }, + "sent": 1 + }, + "db0c674d34f9": { + "error": "", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + } + ], + "loading": false, + "payload": { + "$rpc": "null" + } + }, + "e8f33a90ab1d": { + "name": "items", + "value": [ + { + "provider": "gitlab", + "source": { + "checksSummary": { + "failed": 0, + "neutral": 0, + "passed": 0, + "pending": 0, + "state": "none", + "total": 0 + }, + "id": "gitlab:issue:4", + "labels": ["bug"], + "mergeable": "MERGEABLE", + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "reviewDecision": "approved", + "reviewerCount": 0, + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + } + ], + "sent": 1 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ed88b2b061f9": { + "error": "transport failure", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + } + ], + "loading": false, + "payload": { + "$rpc": "null" + } + }, + "ee64a84ffbd4": { + "name": "actionItem", + "value": { + "provider": "gitlab", + "source": { + "checksSummary": { + "failed": 0, + "neutral": 0, + "passed": 0, + "pending": 0, + "state": "none", + "total": 0 + }, + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + }, + "sent": 1 + }, + "f09795d68134": { + "name": "gitlab.workItemDetails#1", + "args": [ + { + "name": "method", + "value": "gitlab.workItemDetails" + }, + { + "name": "params", + "value": { + "iid": 4, + "projectRef": "group/project", + "repo": "id:repo-1", + "type": "issue" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "f24316a2872c": { + "error": "Details not found", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + } + ], + "loading": false, + "payload": { + "$rpc": "null" + } + }, + "f2d8814a60b2": { + "error": "", + "item": { + "provider": "gitlab", + "source": { + "checksSummary": { + "failed": 0, + "neutral": 0, + "passed": 0, + "pending": 0, + "state": "none", + "total": 0 + }, + "id": "gitlab:issue:4", + "labels": ["bug"], + "mergeable": "MERGEABLE", + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "reviewDecision": "approved", + "reviewerCount": 0, + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "checksSummary": { + "failed": 0, + "neutral": 0, + "passed": 0, + "pending": 0, + "state": "none", + "total": 0 + }, + "id": "gitlab:issue:4", + "labels": ["bug"], + "mergeable": "MERGEABLE", + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "reviewDecision": "approved", + "reviewerCount": 0, + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + } + ], + "loading": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "fd373ee8144d": { + "name": "detailError", + "value": "transport failure", + "sent": 1 + } + }, + "recording": { + "scenario": "matrix-tasks.item-detail-gitlab-gitlab.workitemdetails-1", + "checkpoints": [ + { + "id": "tk-item-detail-gitlab.normal:mounted", + "observation": { + "sender": ["292ec83c1b66"], + "payloads": ["08049512c6dd"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "f2d8814a60b2", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "a11900db0941", + "d6522427a24c", + "e8f33a90ab1d", + "1867a9df681c" + ] + } + }, + { + "id": "tk-item-detail-gitlab.result-absent:mounted", + "observation": { + "sender": ["407e67708c25"], + "payloads": ["08049512c6dd"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "f24316a2872c", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "d2190faefc97", + "1867a9df681c" + ] + } + }, + { + "id": "tk-item-detail-gitlab.result-null:mounted", + "observation": { + "sender": ["58bc89f3db3d"], + "payloads": ["08049512c6dd"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "f24316a2872c", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "d2190faefc97", + "1867a9df681c" + ] + } + }, + { + "id": "tk-item-detail-gitlab.inner-ok-missing:mounted", + "observation": { + "sender": ["21e97f41ebab"], + "payloads": ["08049512c6dd"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "5672ba1c0594", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "3b439a0be8e6", + "ee64a84ffbd4", + "8c13b62e947f", + "1867a9df681c" + ] + } + }, + { + "id": "tk-item-detail-gitlab.inner-false-string-error:mounted", + "observation": { + "sender": ["d06829d31551"], + "payloads": ["08049512c6dd"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "5672ba1c0594", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "3b439a0be8e6", + "ee64a84ffbd4", + "8c13b62e947f", + "1867a9df681c" + ] + } + }, + { + "id": "tk-item-detail-gitlab.inner-false-object-error:mounted", + "observation": { + "sender": ["8fe769a85d76"], + "payloads": ["08049512c6dd"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "5672ba1c0594", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "3b439a0be8e6", + "ee64a84ffbd4", + "8c13b62e947f", + "1867a9df681c" + ] + } + }, + { + "id": "tk-item-detail-gitlab.outer-refused:mounted", + "observation": { + "sender": ["f09795d68134"], + "payloads": ["08049512c6dd"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "9b89e6739339", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "6985c6cf3587", + "1867a9df681c" + ] + } + }, + { + "id": "tk-item-detail-gitlab.outer-refused-no-message:mounted", + "observation": { + "sender": ["0ca6a727a14e"], + "payloads": ["08049512c6dd"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "db0c674d34f9", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "8832c17871d2", + "1867a9df681c" + ] + } + }, + { + "id": "tk-item-detail-gitlab.method-not-found:mounted", + "observation": { + "sender": ["7e6dc074a7c0"], + "payloads": ["08049512c6dd"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "7ed24390e683", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "490069b5b08d", + "1867a9df681c" + ] + } + }, + { + "id": "tk-item-detail-gitlab.transport-rejection:mounted", + "observation": { + "sender": ["c305480d6e9b"], + "payloads": ["08049512c6dd"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "ed88b2b061f9", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "fd373ee8144d", + "1867a9df681c" + ] + } + }, + { + "id": "tk-item-detail-gitlab.transport-rejection-no-message:mounted", + "observation": { + "sender": ["9777323a741d"], + "payloads": ["08049512c6dd"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "db0c674d34f9", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "8832c17871d2", + "1867a9df681c" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.item-detail-linear-linear.getissue-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.item-detail-linear-linear.getissue-1.json new file mode 100644 index 00000000000..9ada2264a05 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.item-detail-linear-linear.getissue-1.json @@ -0,0 +1,1328 @@ +{ + "operation": "tasks.item-detail-linear", + "family": "tasks.item-detail-linear", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "c0ef16b959002e4a3c5347114a0844b95670e274ef010d910b6671ac5f49e783", + "scenarioSha256": "83b30b2a160d162d16c66aa3bf6a633489e86dd4fd1c30828d2d244164b9c95e", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "11e204c49d13": { + "name": "detailPayload", + "value": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [ + { + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-1", + "user": { + "displayName": "Octo" + } + } + ], + "description": "a description", + "labels": [], + "project": { + "$rpc": "undefined" + }, + "provider": "linear" + }, + "sent": 2 + }, + "1736ff39135a": { + "name": "linear.getIssue#1", + "args": [ + { + "name": "method", + "value": "linear.getIssue" + }, + { + "name": "params", + "value": { + "id": "issue-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "1764e3c48b18": { + "name": "linear.issueComments#1", + "args": [ + { + "name": "method", + "value": "linear.issueComments" + }, + { + "name": "params", + "value": { + "issueId": "issue-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": [ + { + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-1", + "user": { + "displayName": "Octo" + } + } + ] + } + } + }, + "18bc97912b6a": { + "name": "detailError", + "value": "outer refused", + "sent": 2 + }, + "2048f9989c2c": { + "error": "Unknown method", + "item": { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + }, + "items": [ + { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + } + ], + "loading": false, + "payload": { + "$rpc": "null" + } + }, + "23205da572cd": { + "name": "detailError", + "value": "Unknown method", + "sent": 2 + }, + "39ca42c97176": { + "name": "detailError", + "value": "", + "sent": 2 + }, + "47f3ae87c00a": { + "name": "linear.getIssue#1", + "args": [ + { + "name": "method", + "value": "linear.getIssue" + }, + { + "name": "params", + "value": { + "id": "issue-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "description": "a description", + "id": "issue-2", + "identifier": "ENG-2", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + } + } + } + }, + "4861b36f5d5c": { + "error": "transport failure", + "item": { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + }, + "items": [ + { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + } + ], + "loading": false, + "payload": { + "$rpc": "null" + } + }, + "4a3ebfb61f95": { + "name": "detailError", + "value": "transport failure", + "sent": 2 + }, + "501841dc050a": { + "name": "actionItem", + "value": { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + }, + "sent": 2 + }, + "56d172ecd2fe": { + "name": "detailLoading", + "value": true, + "sent": 0 + }, + "598d258cc2a8": { + "name": "detailError", + "value": "Details not found", + "sent": 2 + }, + "5ce7f3fa558f": { + "name": "linear.getIssue#1", + "args": [ + { + "name": "method", + "value": "linear.getIssue" + }, + { + "name": "params", + "value": { + "id": "issue-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "619b59120fba": { + "error": "outer refused", + "item": { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + }, + "items": [ + { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + } + ], + "loading": false, + "payload": { + "$rpc": "null" + } + }, + "68f4ab6eb5df": { + "name": "linear.getIssue#1", + "args": [ + { + "name": "method", + "value": "linear.getIssue" + }, + { + "name": "params", + "value": { + "id": "issue-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "77d756736896": { + "name": "linear.getIssue#1", + "args": [ + { + "name": "method", + "value": "linear.getIssue" + }, + { + "name": "params", + "value": { + "id": "issue-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "8a85a95f03c5": { + "error": "", + "item": { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + }, + "items": [ + { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + } + ], + "loading": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [ + { + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-1", + "user": { + "displayName": "Octo" + } + } + ], + "description": "", + "labels": [], + "project": { + "$rpc": "undefined" + }, + "provider": "linear" + } + }, + "8ec7d930f214": { + "name": "linear.getIssue#1", + "args": [ + { + "name": "method", + "value": "linear.getIssue" + }, + { + "name": "params", + "value": { + "id": "issue-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-1", + "ok": false + } + } + }, + "939d91c4130d": { + "error": "Details not found", + "item": { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + }, + "items": [ + { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + } + ], + "loading": false, + "payload": { + "$rpc": "null" + } + }, + "9bd1de5d9753": { + "name": "detailPayload", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "9d6ce9f28401": { + "name": "detailError", + "value": "", + "sent": 0 + }, + "a08c3f9a0d9e": { + "error": "", + "item": { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + }, + "items": [ + { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + } + ], + "loading": false, + "payload": { + "$rpc": "null" + } + }, + "a1504f9a0912": { + "name": "linear.getIssue#1", + "args": [ + { + "name": "method", + "value": "linear.getIssue" + }, + { + "name": "params", + "value": { + "id": "issue-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "a2e20872c3f2": { + "error": "", + "item": { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + }, + "items": [ + { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + } + ], + "loading": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [ + { + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-1", + "user": { + "displayName": "Octo" + } + } + ], + "description": "a description", + "labels": [], + "project": { + "$rpc": "undefined" + }, + "provider": "linear" + } + }, + "b15e02226c97": { + "name": "linear.getIssue#1", + "args": [ + { + "name": "method", + "value": "linear.getIssue" + }, + { + "name": "params", + "value": { + "id": "issue-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "bb215a1eb59b": { + "name": "linear.getIssue#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"linear.getIssue\",\"params\":{\"id\":\"issue-1\",\"workspaceId\":\"linear-workspace\"}}" + }, + "bc9642565680": { + "name": "linear.getIssue#1", + "args": [ + { + "name": "method", + "value": "linear.getIssue" + }, + { + "name": "params", + "value": { + "id": "issue-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "d33a797192d7": { + "name": "detailPayload", + "value": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [ + { + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-1", + "user": { + "displayName": "Octo" + } + } + ], + "description": "", + "labels": [], + "project": { + "$rpc": "undefined" + }, + "provider": "linear" + }, + "sent": 2 + }, + "d5a45b61726a": { + "name": "linear.getIssue#1", + "args": [ + { + "name": "method", + "value": "linear.getIssue" + }, + { + "name": "params", + "value": { + "id": "issue-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "e7f73629d075": { + "name": "linear.issueComments#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.issueComments\",\"params\":{\"issueId\":\"issue-1\",\"workspaceId\":\"linear-workspace\"}}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ee0c4638d266": { + "name": "detailLoading", + "value": false, + "sent": 2 + }, + "ff164d27a928": { + "name": "linear.getIssue#1", + "args": [ + { + "name": "method", + "value": "linear.getIssue" + }, + { + "name": "params", + "value": { + "id": "issue-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + } + }, + "recording": { + "scenario": "matrix-tasks.item-detail-linear-linear.getissue-1", + "checkpoints": [ + { + "id": "tk-item-detail-linear.normal:mounted", + "observation": { + "sender": ["47f3ae87c00a", "1764e3c48b18"], + "payloads": ["bb215a1eb59b", "e7f73629d075"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "a2e20872c3f2", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "11e204c49d13", + "501841dc050a", + "ee0c4638d266" + ] + } + }, + { + "id": "tk-item-detail-linear.result-absent:mounted", + "observation": { + "sender": ["77d756736896", "1764e3c48b18"], + "payloads": ["bb215a1eb59b", "e7f73629d075"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "939d91c4130d", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "598d258cc2a8", + "ee0c4638d266" + ] + } + }, + { + "id": "tk-item-detail-linear.result-null:mounted", + "observation": { + "sender": ["68f4ab6eb5df", "1764e3c48b18"], + "payloads": ["bb215a1eb59b", "e7f73629d075"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "939d91c4130d", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "598d258cc2a8", + "ee0c4638d266" + ] + } + }, + { + "id": "tk-item-detail-linear.inner-ok-missing:mounted", + "observation": { + "sender": ["d5a45b61726a", "1764e3c48b18"], + "payloads": ["bb215a1eb59b", "e7f73629d075"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "8a85a95f03c5", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "d33a797192d7", + "501841dc050a", + "ee0c4638d266" + ] + } + }, + { + "id": "tk-item-detail-linear.inner-false-string-error:mounted", + "observation": { + "sender": ["a1504f9a0912", "1764e3c48b18"], + "payloads": ["bb215a1eb59b", "e7f73629d075"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "8a85a95f03c5", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "d33a797192d7", + "501841dc050a", + "ee0c4638d266" + ] + } + }, + { + "id": "tk-item-detail-linear.inner-false-object-error:mounted", + "observation": { + "sender": ["5ce7f3fa558f", "1764e3c48b18"], + "payloads": ["bb215a1eb59b", "e7f73629d075"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "8a85a95f03c5", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "d33a797192d7", + "501841dc050a", + "ee0c4638d266" + ] + } + }, + { + "id": "tk-item-detail-linear.outer-refused:mounted", + "observation": { + "sender": ["ff164d27a928", "1764e3c48b18"], + "payloads": ["bb215a1eb59b", "e7f73629d075"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "619b59120fba", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "18bc97912b6a", + "ee0c4638d266" + ] + } + }, + { + "id": "tk-item-detail-linear.outer-refused-no-message:mounted", + "observation": { + "sender": ["1736ff39135a", "1764e3c48b18"], + "payloads": ["bb215a1eb59b", "e7f73629d075"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "a08c3f9a0d9e", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "39ca42c97176", + "ee0c4638d266" + ] + } + }, + { + "id": "tk-item-detail-linear.method-not-found:mounted", + "observation": { + "sender": ["8ec7d930f214", "1764e3c48b18"], + "payloads": ["bb215a1eb59b", "e7f73629d075"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "2048f9989c2c", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "23205da572cd", + "ee0c4638d266" + ] + } + }, + { + "id": "tk-item-detail-linear.transport-rejection:mounted", + "observation": { + "sender": ["bc9642565680", "1764e3c48b18"], + "payloads": ["bb215a1eb59b", "e7f73629d075"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "4861b36f5d5c", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "4a3ebfb61f95", + "ee0c4638d266" + ] + } + }, + { + "id": "tk-item-detail-linear.transport-rejection-no-message:mounted", + "observation": { + "sender": ["b15e02226c97", "1764e3c48b18"], + "payloads": ["bb215a1eb59b", "e7f73629d075"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "a08c3f9a0d9e", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "39ca42c97176", + "ee0c4638d266" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.item-detail-linear-linear.issuecomments-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.item-detail-linear-linear.issuecomments-1.json new file mode 100644 index 00000000000..01421b14842 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.item-detail-linear-linear.issuecomments-1.json @@ -0,0 +1,1401 @@ +{ + "operation": "tasks.item-detail-linear", + "family": "tasks.item-detail-linear", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "c0ef16b959002e4a3c5347114a0844b95670e274ef010d910b6671ac5f49e783", + "scenarioSha256": "06b06c84f4b8a1ee8e5159d8ada2656da4d7096729759c76601ad4e251310924", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "07d97c9cd880": { + "error": "", + "item": { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + }, + "items": [ + { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + } + ], + "loading": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": { + "error": "inner refused", + "ok": false + }, + "description": "a description", + "labels": [], + "project": { + "$rpc": "undefined" + }, + "provider": "linear" + } + }, + "11e204c49d13": { + "name": "detailPayload", + "value": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [ + { + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-1", + "user": { + "displayName": "Octo" + } + } + ], + "description": "a description", + "labels": [], + "project": { + "$rpc": "undefined" + }, + "provider": "linear" + }, + "sent": 2 + }, + "16e0cc3237e8": { + "name": "linear.issueComments#1", + "args": [ + { + "name": "method", + "value": "linear.issueComments" + }, + { + "name": "params", + "value": { + "issueId": "issue-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "1764e3c48b18": { + "name": "linear.issueComments#1", + "args": [ + { + "name": "method", + "value": "linear.issueComments" + }, + { + "name": "params", + "value": { + "issueId": "issue-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": [ + { + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-1", + "user": { + "displayName": "Octo" + } + } + ] + } + } + }, + "1dd5ca78f970": { + "name": "detailPayload", + "value": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": { + "error": "inner refused", + "ok": false + }, + "description": "a description", + "labels": [], + "project": { + "$rpc": "undefined" + }, + "provider": "linear" + }, + "sent": 2 + }, + "24573d368fff": { + "name": "detailPayload", + "value": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": { + "error": { + "message": "inner refused" + }, + "ok": false + }, + "description": "a description", + "labels": [], + "project": { + "$rpc": "undefined" + }, + "provider": "linear" + }, + "sent": 2 + }, + "24748cd7b9f3": { + "name": "detailPayload", + "value": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": { + "error": "refused" + }, + "description": "a description", + "labels": [], + "project": { + "$rpc": "undefined" + }, + "provider": "linear" + }, + "sent": 2 + }, + "3276e1a41446": { + "name": "linear.issueComments#1", + "args": [ + { + "name": "method", + "value": "linear.issueComments" + }, + { + "name": "params", + "value": { + "issueId": "issue-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "388d0ceb3385": { + "error": "", + "item": { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + }, + "items": [ + { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + } + ], + "loading": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [], + "description": "a description", + "labels": [], + "project": { + "$rpc": "undefined" + }, + "provider": "linear" + } + }, + "39ca42c97176": { + "name": "detailError", + "value": "", + "sent": 2 + }, + "3bb04fc55c1a": { + "name": "linear.issueComments#1", + "args": [ + { + "name": "method", + "value": "linear.issueComments" + }, + { + "name": "params", + "value": { + "issueId": "issue-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "3df3437aa9b4": { + "name": "linear.issueComments#1", + "args": [ + { + "name": "method", + "value": "linear.issueComments" + }, + { + "name": "params", + "value": { + "issueId": "issue-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "47f3ae87c00a": { + "name": "linear.getIssue#1", + "args": [ + { + "name": "method", + "value": "linear.getIssue" + }, + { + "name": "params", + "value": { + "id": "issue-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "description": "a description", + "id": "issue-2", + "identifier": "ENG-2", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + } + } + } + }, + "4861b36f5d5c": { + "error": "transport failure", + "item": { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + }, + "items": [ + { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + } + ], + "loading": false, + "payload": { + "$rpc": "null" + } + }, + "4a3ebfb61f95": { + "name": "detailError", + "value": "transport failure", + "sent": 2 + }, + "501841dc050a": { + "name": "actionItem", + "value": { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + }, + "sent": 2 + }, + "56d172ecd2fe": { + "name": "detailLoading", + "value": true, + "sent": 0 + }, + "6fe5d1bcbc90": { + "name": "detailPayload", + "value": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [], + "description": "a description", + "labels": [], + "project": { + "$rpc": "undefined" + }, + "provider": "linear" + }, + "sent": 2 + }, + "9bd1de5d9753": { + "name": "detailPayload", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "9d6ce9f28401": { + "name": "detailError", + "value": "", + "sent": 0 + }, + "9f8c9f7294a0": { + "name": "linear.issueComments#1", + "args": [ + { + "name": "method", + "value": "linear.issueComments" + }, + { + "name": "params", + "value": { + "issueId": "issue-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "a08c3f9a0d9e": { + "error": "", + "item": { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + }, + "items": [ + { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + } + ], + "loading": false, + "payload": { + "$rpc": "null" + } + }, + "a2450a300ddf": { + "name": "linear.issueComments#1", + "args": [ + { + "name": "method", + "value": "linear.issueComments" + }, + { + "name": "params", + "value": { + "issueId": "issue-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "a2e20872c3f2": { + "error": "", + "item": { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + }, + "items": [ + { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + } + ], + "loading": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [ + { + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-1", + "user": { + "displayName": "Octo" + } + } + ], + "description": "a description", + "labels": [], + "project": { + "$rpc": "undefined" + }, + "provider": "linear" + } + }, + "a387bb127ac0": { + "error": "", + "item": { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + }, + "items": [ + { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + } + ], + "loading": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": { + "error": { + "message": "inner refused" + }, + "ok": false + }, + "description": "a description", + "labels": [], + "project": { + "$rpc": "undefined" + }, + "provider": "linear" + } + }, + "bb215a1eb59b": { + "name": "linear.getIssue#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"linear.getIssue\",\"params\":{\"id\":\"issue-1\",\"workspaceId\":\"linear-workspace\"}}" + }, + "c360db88accd": { + "name": "linear.issueComments#1", + "args": [ + { + "name": "method", + "value": "linear.issueComments" + }, + { + "name": "params", + "value": { + "issueId": "issue-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "c92234b1167b": { + "name": "linear.issueComments#1", + "args": [ + { + "name": "method", + "value": "linear.issueComments" + }, + { + "name": "params", + "value": { + "issueId": "issue-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "e7f73629d075": { + "name": "linear.issueComments#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.issueComments\",\"params\":{\"issueId\":\"issue-1\",\"workspaceId\":\"linear-workspace\"}}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ecb0f6b35964": { + "name": "linear.issueComments#1", + "args": [ + { + "name": "method", + "value": "linear.issueComments" + }, + { + "name": "params", + "value": { + "issueId": "issue-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "ee0c4638d266": { + "name": "detailLoading", + "value": false, + "sent": 2 + }, + "ee7d19abed68": { + "error": "", + "item": { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + }, + "items": [ + { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + } + ], + "loading": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": { + "error": "refused" + }, + "description": "a description", + "labels": [], + "project": { + "$rpc": "undefined" + }, + "provider": "linear" + } + }, + "f60c595d990e": { + "name": "linear.issueComments#1", + "args": [ + { + "name": "method", + "value": "linear.issueComments" + }, + { + "name": "params", + "value": { + "issueId": "issue-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + } + }, + "recording": { + "scenario": "matrix-tasks.item-detail-linear-linear.issuecomments-1", + "checkpoints": [ + { + "id": "tk-item-detail-linear.normal:mounted", + "observation": { + "sender": ["47f3ae87c00a", "1764e3c48b18"], + "payloads": ["bb215a1eb59b", "e7f73629d075"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "a2e20872c3f2", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "11e204c49d13", + "501841dc050a", + "ee0c4638d266" + ] + } + }, + { + "id": "tk-item-detail-linear.result-absent:mounted", + "observation": { + "sender": ["47f3ae87c00a", "16e0cc3237e8"], + "payloads": ["bb215a1eb59b", "e7f73629d075"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "388d0ceb3385", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "6fe5d1bcbc90", + "501841dc050a", + "ee0c4638d266" + ] + } + }, + { + "id": "tk-item-detail-linear.result-null:mounted", + "observation": { + "sender": ["47f3ae87c00a", "f60c595d990e"], + "payloads": ["bb215a1eb59b", "e7f73629d075"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "388d0ceb3385", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "6fe5d1bcbc90", + "501841dc050a", + "ee0c4638d266" + ] + } + }, + { + "id": "tk-item-detail-linear.inner-ok-missing:mounted", + "observation": { + "sender": ["47f3ae87c00a", "c360db88accd"], + "payloads": ["bb215a1eb59b", "e7f73629d075"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "ee7d19abed68", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "24748cd7b9f3", + "501841dc050a", + "ee0c4638d266" + ] + } + }, + { + "id": "tk-item-detail-linear.inner-false-string-error:mounted", + "observation": { + "sender": ["47f3ae87c00a", "c92234b1167b"], + "payloads": ["bb215a1eb59b", "e7f73629d075"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "07d97c9cd880", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "1dd5ca78f970", + "501841dc050a", + "ee0c4638d266" + ] + } + }, + { + "id": "tk-item-detail-linear.inner-false-object-error:mounted", + "observation": { + "sender": ["47f3ae87c00a", "3276e1a41446"], + "payloads": ["bb215a1eb59b", "e7f73629d075"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "a387bb127ac0", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "24573d368fff", + "501841dc050a", + "ee0c4638d266" + ] + } + }, + { + "id": "tk-item-detail-linear.outer-refused:mounted", + "observation": { + "sender": ["47f3ae87c00a", "a2450a300ddf"], + "payloads": ["bb215a1eb59b", "e7f73629d075"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "388d0ceb3385", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "6fe5d1bcbc90", + "501841dc050a", + "ee0c4638d266" + ] + } + }, + { + "id": "tk-item-detail-linear.outer-refused-no-message:mounted", + "observation": { + "sender": ["47f3ae87c00a", "9f8c9f7294a0"], + "payloads": ["bb215a1eb59b", "e7f73629d075"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "388d0ceb3385", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "6fe5d1bcbc90", + "501841dc050a", + "ee0c4638d266" + ] + } + }, + { + "id": "tk-item-detail-linear.method-not-found:mounted", + "observation": { + "sender": ["47f3ae87c00a", "3bb04fc55c1a"], + "payloads": ["bb215a1eb59b", "e7f73629d075"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "388d0ceb3385", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "6fe5d1bcbc90", + "501841dc050a", + "ee0c4638d266" + ] + } + }, + { + "id": "tk-item-detail-linear.transport-rejection:mounted", + "observation": { + "sender": ["47f3ae87c00a", "ecb0f6b35964"], + "payloads": ["bb215a1eb59b", "e7f73629d075"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "4861b36f5d5c", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "4a3ebfb61f95", + "ee0c4638d266" + ] + } + }, + { + "id": "tk-item-detail-linear.transport-rejection-no-message:mounted", + "observation": { + "sender": ["47f3ae87c00a", "3df3437aa9b4"], + "payloads": ["bb215a1eb59b", "e7f73629d075"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "a08c3f9a0d9e", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "39ca42c97176", + "ee0c4638d266" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.item-detail-metadata-github.listassignableusers-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.item-detail-metadata-github.listassignableusers-1.json new file mode 100644 index 00000000000..38b69708858 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.item-detail-metadata-github.listassignableusers-1.json @@ -0,0 +1,926 @@ +{ + "operation": "tasks.item-detail-metadata", + "family": "tasks.item-detail-metadata", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "58ea1553e04017c993aea4753aace41ee664705a3fdb3b18569c5a9d7968cf06", + "scenarioSha256": "3ef6ef046f60d2d11ef81adf69bd5216036405eb05e5fd30cf1c402120488ee5", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0201be19f73d": { + "name": "github.listAssignableUsers#1", + "args": [ + { + "name": "method", + "value": "github.listAssignableUsers" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "046247fe2cbb": { + "labels": ["bug", "chore"], + "labelsError": "", + "labelsLoading": false, + "users": [], + "usersError": "", + "usersLoading": false + }, + "0fe9f9810aa0": { + "name": "github.listAssignableUsers#1", + "args": [ + { + "name": "method", + "value": "github.listAssignableUsers" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "13787c8669de": { + "name": "itemAssignableUsers", + "value": { + "error": { + "message": "inner refused" + }, + "ok": false + }, + "sent": 2 + }, + "13999b62c314": { + "name": "itemAssignableUsersError", + "value": "Unknown method", + "sent": 2 + }, + "14b04c3d1156": { + "name": "itemAssignableUsersLoading", + "value": true, + "sent": 1 + }, + "187a6bd82efe": { + "labels": ["bug", "chore"], + "labelsError": "", + "labelsLoading": false, + "users": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": "Octo" + } + ], + "usersError": "", + "usersLoading": false + }, + "2464d7ef3769": { + "name": "itemAssignableUsers", + "value": { + "error": "inner refused", + "ok": false + }, + "sent": 2 + }, + "30554accaab5": { + "name": "itemAvailableLabels", + "value": ["bug", "chore"], + "sent": 2 + }, + "31a9aea0d54a": { + "name": "github.listLabels#1", + "args": [ + { + "name": "method", + "value": "github.listLabels" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": ["bug", "chore"] + } + } + }, + "322343237b5a": { + "name": "itemAssignableUsersError", + "value": "transport failure", + "sent": 2 + }, + "3af8e2a236cf": { + "name": "itemAssignableUsersError", + "value": "", + "sent": 1 + }, + "4811b212ee14": { + "labels": ["bug", "chore"], + "labelsError": "", + "labelsLoading": false, + "users": { + "$rpc": "undefined" + }, + "usersError": "", + "usersLoading": false + }, + "4be2a2e21bd0": { + "name": "itemBodyDraft", + "value": "body", + "sent": 0 + }, + "51e44980e984": { + "labels": ["bug", "chore"], + "labelsError": "", + "labelsLoading": false, + "users": [], + "usersError": "Unknown method", + "usersLoading": false + }, + "594a2904a1bc": { + "name": "github.listAssignableUsers#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.listAssignableUsers\",\"params\":{\"repo\":\"id:repo-1\"}}" + }, + "5b9626f7c5fd": { + "labels": ["bug", "chore"], + "labelsError": "", + "labelsLoading": false, + "users": [], + "usersError": "outer refused", + "usersLoading": false + }, + "60ab7459b747": { + "name": "itemLabelsLoading", + "value": true, + "sent": 0 + }, + "6107288aca15": { + "labels": ["bug", "chore"], + "labelsError": "", + "labelsLoading": false, + "users": { + "$rpc": "null" + }, + "usersError": "", + "usersLoading": false + }, + "6d95cba5d507": { + "name": "github.listAssignableUsers#1", + "args": [ + { + "name": "method", + "value": "github.listAssignableUsers" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "748fe138ef3a": { + "name": "itemAssignableUsers", + "value": { + "$rpc": "null" + }, + "sent": 2 + }, + "7565dbfa3de0": { + "labels": ["bug", "chore"], + "labelsError": "", + "labelsLoading": false, + "users": { + "error": { + "message": "inner refused" + }, + "ok": false + }, + "usersError": "", + "usersLoading": false + }, + "763cfed9792e": { + "name": "itemAssignableUsers", + "value": [], + "sent": 1 + }, + "78c83a187176": { + "name": "github.listAssignableUsers#1", + "args": [ + { + "name": "method", + "value": "github.listAssignableUsers" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "9a2526df52e3": { + "name": "github.listAssignableUsers#1", + "args": [ + { + "name": "method", + "value": "github.listAssignableUsers" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "9c6159857c01": { + "name": "itemAssignableUsersError", + "value": "outer refused", + "sent": 2 + }, + "a0d1ab14e06b": { + "name": "itemAssignableUsersError", + "value": "", + "sent": 2 + }, + "a268d5d92265": { + "name": "github.listAssignableUsers#1", + "args": [ + { + "name": "method", + "value": "github.listAssignableUsers" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": "Octo" + } + ] + } + } + }, + "a282430e8f14": { + "name": "github.listAssignableUsers#1", + "args": [ + { + "name": "method", + "value": "github.listAssignableUsers" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "a37497fa506c": { + "name": "itemAssignableUsers", + "value": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": "Octo" + } + ], + "sent": 2 + }, + "abf563fcde19": { + "labels": ["bug", "chore"], + "labelsError": "", + "labelsLoading": false, + "users": { + "error": "refused" + }, + "usersError": "", + "usersLoading": false + }, + "bd9fec1f736c": { + "name": "github.listAssignableUsers#1", + "args": [ + { + "name": "method", + "value": "github.listAssignableUsers" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "c023bb126b23": { + "name": "github.listAssignableUsers#1", + "args": [ + { + "name": "method", + "value": "github.listAssignableUsers" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "c9f3dee36b09": { + "name": "github.listAssignableUsers#1", + "args": [ + { + "name": "method", + "value": "github.listAssignableUsers" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "d20d6958d614": { + "labels": ["bug", "chore"], + "labelsError": "", + "labelsLoading": false, + "users": [], + "usersError": "transport failure", + "usersLoading": false + }, + "d6ef32125dc7": { + "labels": ["bug", "chore"], + "labelsError": "", + "labelsLoading": false, + "users": { + "error": "inner refused", + "ok": false + }, + "usersError": "", + "usersLoading": false + }, + "d937624aafbb": { + "name": "itemAssignableUsers", + "value": { + "$rpc": "undefined" + }, + "sent": 2 + }, + "dad618d40619": { + "name": "itemAssignableUsers", + "value": { + "error": "refused" + }, + "sent": 2 + }, + "e4421084ff39": { + "name": "itemLabelsLoading", + "value": false, + "sent": 2 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ef317c60c3c6": { + "name": "github.listLabels#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.listLabels\",\"params\":{\"repo\":\"id:repo-1\"}}" + }, + "f70626574f7a": { + "name": "itemAvailableLabels", + "value": [], + "sent": 0 + }, + "f991510500df": { + "name": "itemAssignableUsersLoading", + "value": false, + "sent": 2 + }, + "fba383759dad": { + "name": "github.listAssignableUsers#1", + "args": [ + { + "name": "method", + "value": "github.listAssignableUsers" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "fc060a38ddda": { + "name": "itemLabelsError", + "value": "", + "sent": 0 + } + }, + "recording": { + "scenario": "matrix-tasks.item-detail-metadata-github.listassignableusers-1", + "checkpoints": [ + { + "id": "tk-item-detail-metadata.normal:mounted", + "observation": { + "sender": ["31a9aea0d54a", "a268d5d92265"], + "payloads": ["ef317c60c3c6", "594a2904a1bc"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "187a6bd82efe", + "effects": [ + "4be2a2e21bd0", + "f70626574f7a", + "fc060a38ddda", + "60ab7459b747", + "763cfed9792e", + "3af8e2a236cf", + "14b04c3d1156", + "30554accaab5", + "e4421084ff39", + "a37497fa506c", + "f991510500df" + ] + } + }, + { + "id": "tk-item-detail-metadata.result-absent:mounted", + "observation": { + "sender": ["31a9aea0d54a", "6d95cba5d507"], + "payloads": ["ef317c60c3c6", "594a2904a1bc"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "4811b212ee14", + "effects": [ + "4be2a2e21bd0", + "f70626574f7a", + "fc060a38ddda", + "60ab7459b747", + "763cfed9792e", + "3af8e2a236cf", + "14b04c3d1156", + "30554accaab5", + "e4421084ff39", + "d937624aafbb", + "f991510500df" + ] + } + }, + { + "id": "tk-item-detail-metadata.result-null:mounted", + "observation": { + "sender": ["31a9aea0d54a", "c023bb126b23"], + "payloads": ["ef317c60c3c6", "594a2904a1bc"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "6107288aca15", + "effects": [ + "4be2a2e21bd0", + "f70626574f7a", + "fc060a38ddda", + "60ab7459b747", + "763cfed9792e", + "3af8e2a236cf", + "14b04c3d1156", + "30554accaab5", + "e4421084ff39", + "748fe138ef3a", + "f991510500df" + ] + } + }, + { + "id": "tk-item-detail-metadata.inner-ok-missing:mounted", + "observation": { + "sender": ["31a9aea0d54a", "0fe9f9810aa0"], + "payloads": ["ef317c60c3c6", "594a2904a1bc"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "abf563fcde19", + "effects": [ + "4be2a2e21bd0", + "f70626574f7a", + "fc060a38ddda", + "60ab7459b747", + "763cfed9792e", + "3af8e2a236cf", + "14b04c3d1156", + "30554accaab5", + "e4421084ff39", + "dad618d40619", + "f991510500df" + ] + } + }, + { + "id": "tk-item-detail-metadata.inner-false-string-error:mounted", + "observation": { + "sender": ["31a9aea0d54a", "9a2526df52e3"], + "payloads": ["ef317c60c3c6", "594a2904a1bc"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "d6ef32125dc7", + "effects": [ + "4be2a2e21bd0", + "f70626574f7a", + "fc060a38ddda", + "60ab7459b747", + "763cfed9792e", + "3af8e2a236cf", + "14b04c3d1156", + "30554accaab5", + "e4421084ff39", + "2464d7ef3769", + "f991510500df" + ] + } + }, + { + "id": "tk-item-detail-metadata.inner-false-object-error:mounted", + "observation": { + "sender": ["31a9aea0d54a", "bd9fec1f736c"], + "payloads": ["ef317c60c3c6", "594a2904a1bc"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "7565dbfa3de0", + "effects": [ + "4be2a2e21bd0", + "f70626574f7a", + "fc060a38ddda", + "60ab7459b747", + "763cfed9792e", + "3af8e2a236cf", + "14b04c3d1156", + "30554accaab5", + "e4421084ff39", + "13787c8669de", + "f991510500df" + ] + } + }, + { + "id": "tk-item-detail-metadata.outer-refused:mounted", + "observation": { + "sender": ["31a9aea0d54a", "0201be19f73d"], + "payloads": ["ef317c60c3c6", "594a2904a1bc"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "5b9626f7c5fd", + "effects": [ + "4be2a2e21bd0", + "f70626574f7a", + "fc060a38ddda", + "60ab7459b747", + "763cfed9792e", + "3af8e2a236cf", + "14b04c3d1156", + "30554accaab5", + "e4421084ff39", + "9c6159857c01", + "f991510500df" + ] + } + }, + { + "id": "tk-item-detail-metadata.outer-refused-no-message:mounted", + "observation": { + "sender": ["31a9aea0d54a", "c9f3dee36b09"], + "payloads": ["ef317c60c3c6", "594a2904a1bc"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "046247fe2cbb", + "effects": [ + "4be2a2e21bd0", + "f70626574f7a", + "fc060a38ddda", + "60ab7459b747", + "763cfed9792e", + "3af8e2a236cf", + "14b04c3d1156", + "30554accaab5", + "e4421084ff39", + "a0d1ab14e06b", + "f991510500df" + ] + } + }, + { + "id": "tk-item-detail-metadata.method-not-found:mounted", + "observation": { + "sender": ["31a9aea0d54a", "fba383759dad"], + "payloads": ["ef317c60c3c6", "594a2904a1bc"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "51e44980e984", + "effects": [ + "4be2a2e21bd0", + "f70626574f7a", + "fc060a38ddda", + "60ab7459b747", + "763cfed9792e", + "3af8e2a236cf", + "14b04c3d1156", + "30554accaab5", + "e4421084ff39", + "13999b62c314", + "f991510500df" + ] + } + }, + { + "id": "tk-item-detail-metadata.transport-rejection:mounted", + "observation": { + "sender": ["31a9aea0d54a", "a282430e8f14"], + "payloads": ["ef317c60c3c6", "594a2904a1bc"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "d20d6958d614", + "effects": [ + "4be2a2e21bd0", + "f70626574f7a", + "fc060a38ddda", + "60ab7459b747", + "763cfed9792e", + "3af8e2a236cf", + "14b04c3d1156", + "30554accaab5", + "e4421084ff39", + "322343237b5a", + "f991510500df" + ] + } + }, + { + "id": "tk-item-detail-metadata.transport-rejection-no-message:mounted", + "observation": { + "sender": ["31a9aea0d54a", "78c83a187176"], + "payloads": ["ef317c60c3c6", "594a2904a1bc"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "046247fe2cbb", + "effects": [ + "4be2a2e21bd0", + "f70626574f7a", + "fc060a38ddda", + "60ab7459b747", + "763cfed9792e", + "3af8e2a236cf", + "14b04c3d1156", + "30554accaab5", + "e4421084ff39", + "a0d1ab14e06b", + "f991510500df" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.item-detail-metadata-github.listlabels-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.item-detail-metadata-github.listlabels-1.json new file mode 100644 index 00000000000..82aaf124a8f --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.item-detail-metadata-github.listlabels-1.json @@ -0,0 +1,998 @@ +{ + "operation": "tasks.item-detail-metadata", + "family": "tasks.item-detail-metadata", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "58ea1553e04017c993aea4753aace41ee664705a3fdb3b18569c5a9d7968cf06", + "scenarioSha256": "a2ecf4ddc2c9870a8d73cbd920b46bb0663a958ac156dc6de092be3c9474ea2b", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0512455a3440": { + "name": "github.listLabels#1", + "args": [ + { + "name": "method", + "value": "github.listLabels" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "089cd991bfef": { + "name": "github.listLabels#1", + "args": [ + { + "name": "method", + "value": "github.listLabels" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-1", + "ok": false + } + } + }, + "09c5c8d10325": { + "labels": { + "$rpc": "undefined" + }, + "labelsError": "", + "labelsLoading": false, + "users": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": "Octo" + } + ], + "usersError": "", + "usersLoading": false + }, + "0d670a7b256b": { + "labels": [], + "labelsError": "transport failure", + "labelsLoading": false, + "users": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": "Octo" + } + ], + "usersError": "", + "usersLoading": false + }, + "14b04c3d1156": { + "name": "itemAssignableUsersLoading", + "value": true, + "sent": 1 + }, + "187a6bd82efe": { + "labels": ["bug", "chore"], + "labelsError": "", + "labelsLoading": false, + "users": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": "Octo" + } + ], + "usersError": "", + "usersLoading": false + }, + "26a2b4de39d4": { + "name": "github.listLabels#1", + "args": [ + { + "name": "method", + "value": "github.listLabels" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "2f84a8101a09": { + "name": "itemAvailableLabels", + "value": { + "$rpc": "null" + }, + "sent": 2 + }, + "30554accaab5": { + "name": "itemAvailableLabels", + "value": ["bug", "chore"], + "sent": 2 + }, + "31a9aea0d54a": { + "name": "github.listLabels#1", + "args": [ + { + "name": "method", + "value": "github.listLabels" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": ["bug", "chore"] + } + } + }, + "3af8e2a236cf": { + "name": "itemAssignableUsersError", + "value": "", + "sent": 1 + }, + "3de77e6e6dc2": { + "name": "github.listLabels#1", + "args": [ + { + "name": "method", + "value": "github.listLabels" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "3f1ea2cb79b5": { + "name": "github.listLabels#1", + "args": [ + { + "name": "method", + "value": "github.listLabels" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "476e11905643": { + "labels": [], + "labelsError": "Unknown method", + "labelsLoading": false, + "users": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": "Octo" + } + ], + "usersError": "", + "usersLoading": false + }, + "49a2a2210aec": { + "name": "itemLabelsError", + "value": "", + "sent": 2 + }, + "4be2a2e21bd0": { + "name": "itemBodyDraft", + "value": "body", + "sent": 0 + }, + "57c277b6556c": { + "labels": { + "$rpc": "null" + }, + "labelsError": "", + "labelsLoading": false, + "users": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": "Octo" + } + ], + "usersError": "", + "usersLoading": false + }, + "594a2904a1bc": { + "name": "github.listAssignableUsers#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.listAssignableUsers\",\"params\":{\"repo\":\"id:repo-1\"}}" + }, + "60ab7459b747": { + "name": "itemLabelsLoading", + "value": true, + "sent": 0 + }, + "687824c5a987": { + "labels": { + "error": "refused" + }, + "labelsError": "", + "labelsLoading": false, + "users": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": "Octo" + } + ], + "usersError": "", + "usersLoading": false + }, + "7357dc0a4b99": { + "labels": { + "error": { + "message": "inner refused" + }, + "ok": false + }, + "labelsError": "", + "labelsLoading": false, + "users": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": "Octo" + } + ], + "usersError": "", + "usersLoading": false + }, + "763cfed9792e": { + "name": "itemAssignableUsers", + "value": [], + "sent": 1 + }, + "996ab44a0693": { + "name": "itemAvailableLabels", + "value": { + "error": { + "message": "inner refused" + }, + "ok": false + }, + "sent": 2 + }, + "a268d5d92265": { + "name": "github.listAssignableUsers#1", + "args": [ + { + "name": "method", + "value": "github.listAssignableUsers" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": "Octo" + } + ] + } + } + }, + "a37497fa506c": { + "name": "itemAssignableUsers", + "value": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": "Octo" + } + ], + "sent": 2 + }, + "a94b160e0a27": { + "name": "itemLabelsError", + "value": "Unknown method", + "sent": 2 + }, + "b041f1e6a2ab": { + "name": "github.listLabels#1", + "args": [ + { + "name": "method", + "value": "github.listLabels" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "b0a4cc69238b": { + "name": "itemAvailableLabels", + "value": { + "error": "inner refused", + "ok": false + }, + "sent": 2 + }, + "b807e8ed0345": { + "name": "github.listLabels#1", + "args": [ + { + "name": "method", + "value": "github.listLabels" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "c1c0cc03119d": { + "name": "itemAvailableLabels", + "value": { + "$rpc": "undefined" + }, + "sent": 2 + }, + "c5ab6c4bd0c5": { + "labels": { + "error": "inner refused", + "ok": false + }, + "labelsError": "", + "labelsLoading": false, + "users": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": "Octo" + } + ], + "usersError": "", + "usersLoading": false + }, + "c98fbfaab90a": { + "name": "github.listLabels#1", + "args": [ + { + "name": "method", + "value": "github.listLabels" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "cb284f09e5d4": { + "name": "itemLabelsError", + "value": "outer refused", + "sent": 2 + }, + "d1182c2be3cf": { + "labels": [], + "labelsError": "outer refused", + "labelsLoading": false, + "users": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": "Octo" + } + ], + "usersError": "", + "usersLoading": false + }, + "d79f6e922f48": { + "labels": [], + "labelsError": "", + "labelsLoading": false, + "users": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": "Octo" + } + ], + "usersError": "", + "usersLoading": false + }, + "d81297d32421": { + "name": "github.listLabels#1", + "args": [ + { + "name": "method", + "value": "github.listLabels" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "e37b0adae2ad": { + "name": "github.listLabels#1", + "args": [ + { + "name": "method", + "value": "github.listLabels" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "e4421084ff39": { + "name": "itemLabelsLoading", + "value": false, + "sent": 2 + }, + "e54717a435ad": { + "name": "itemLabelsError", + "value": "transport failure", + "sent": 2 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ef317c60c3c6": { + "name": "github.listLabels#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.listLabels\",\"params\":{\"repo\":\"id:repo-1\"}}" + }, + "f06d897d7f6d": { + "name": "itemAvailableLabels", + "value": { + "error": "refused" + }, + "sent": 2 + }, + "f70626574f7a": { + "name": "itemAvailableLabels", + "value": [], + "sent": 0 + }, + "f991510500df": { + "name": "itemAssignableUsersLoading", + "value": false, + "sent": 2 + }, + "fc060a38ddda": { + "name": "itemLabelsError", + "value": "", + "sent": 0 + } + }, + "recording": { + "scenario": "matrix-tasks.item-detail-metadata-github.listlabels-1", + "checkpoints": [ + { + "id": "tk-item-detail-metadata.normal:mounted", + "observation": { + "sender": ["31a9aea0d54a", "a268d5d92265"], + "payloads": ["ef317c60c3c6", "594a2904a1bc"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "187a6bd82efe", + "effects": [ + "4be2a2e21bd0", + "f70626574f7a", + "fc060a38ddda", + "60ab7459b747", + "763cfed9792e", + "3af8e2a236cf", + "14b04c3d1156", + "30554accaab5", + "e4421084ff39", + "a37497fa506c", + "f991510500df" + ] + } + }, + { + "id": "tk-item-detail-metadata.result-absent:mounted", + "observation": { + "sender": ["0512455a3440", "a268d5d92265"], + "payloads": ["ef317c60c3c6", "594a2904a1bc"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "09c5c8d10325", + "effects": [ + "4be2a2e21bd0", + "f70626574f7a", + "fc060a38ddda", + "60ab7459b747", + "763cfed9792e", + "3af8e2a236cf", + "14b04c3d1156", + "c1c0cc03119d", + "e4421084ff39", + "a37497fa506c", + "f991510500df" + ] + } + }, + { + "id": "tk-item-detail-metadata.result-null:mounted", + "observation": { + "sender": ["d81297d32421", "a268d5d92265"], + "payloads": ["ef317c60c3c6", "594a2904a1bc"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "57c277b6556c", + "effects": [ + "4be2a2e21bd0", + "f70626574f7a", + "fc060a38ddda", + "60ab7459b747", + "763cfed9792e", + "3af8e2a236cf", + "14b04c3d1156", + "2f84a8101a09", + "e4421084ff39", + "a37497fa506c", + "f991510500df" + ] + } + }, + { + "id": "tk-item-detail-metadata.inner-ok-missing:mounted", + "observation": { + "sender": ["3f1ea2cb79b5", "a268d5d92265"], + "payloads": ["ef317c60c3c6", "594a2904a1bc"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "687824c5a987", + "effects": [ + "4be2a2e21bd0", + "f70626574f7a", + "fc060a38ddda", + "60ab7459b747", + "763cfed9792e", + "3af8e2a236cf", + "14b04c3d1156", + "f06d897d7f6d", + "e4421084ff39", + "a37497fa506c", + "f991510500df" + ] + } + }, + { + "id": "tk-item-detail-metadata.inner-false-string-error:mounted", + "observation": { + "sender": ["3de77e6e6dc2", "a268d5d92265"], + "payloads": ["ef317c60c3c6", "594a2904a1bc"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "c5ab6c4bd0c5", + "effects": [ + "4be2a2e21bd0", + "f70626574f7a", + "fc060a38ddda", + "60ab7459b747", + "763cfed9792e", + "3af8e2a236cf", + "14b04c3d1156", + "b0a4cc69238b", + "e4421084ff39", + "a37497fa506c", + "f991510500df" + ] + } + }, + { + "id": "tk-item-detail-metadata.inner-false-object-error:mounted", + "observation": { + "sender": ["b041f1e6a2ab", "a268d5d92265"], + "payloads": ["ef317c60c3c6", "594a2904a1bc"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "7357dc0a4b99", + "effects": [ + "4be2a2e21bd0", + "f70626574f7a", + "fc060a38ddda", + "60ab7459b747", + "763cfed9792e", + "3af8e2a236cf", + "14b04c3d1156", + "996ab44a0693", + "e4421084ff39", + "a37497fa506c", + "f991510500df" + ] + } + }, + { + "id": "tk-item-detail-metadata.outer-refused:mounted", + "observation": { + "sender": ["e37b0adae2ad", "a268d5d92265"], + "payloads": ["ef317c60c3c6", "594a2904a1bc"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "d1182c2be3cf", + "effects": [ + "4be2a2e21bd0", + "f70626574f7a", + "fc060a38ddda", + "60ab7459b747", + "763cfed9792e", + "3af8e2a236cf", + "14b04c3d1156", + "cb284f09e5d4", + "e4421084ff39", + "a37497fa506c", + "f991510500df" + ] + } + }, + { + "id": "tk-item-detail-metadata.outer-refused-no-message:mounted", + "observation": { + "sender": ["b807e8ed0345", "a268d5d92265"], + "payloads": ["ef317c60c3c6", "594a2904a1bc"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "d79f6e922f48", + "effects": [ + "4be2a2e21bd0", + "f70626574f7a", + "fc060a38ddda", + "60ab7459b747", + "763cfed9792e", + "3af8e2a236cf", + "14b04c3d1156", + "49a2a2210aec", + "e4421084ff39", + "a37497fa506c", + "f991510500df" + ] + } + }, + { + "id": "tk-item-detail-metadata.method-not-found:mounted", + "observation": { + "sender": ["089cd991bfef", "a268d5d92265"], + "payloads": ["ef317c60c3c6", "594a2904a1bc"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "476e11905643", + "effects": [ + "4be2a2e21bd0", + "f70626574f7a", + "fc060a38ddda", + "60ab7459b747", + "763cfed9792e", + "3af8e2a236cf", + "14b04c3d1156", + "a94b160e0a27", + "e4421084ff39", + "a37497fa506c", + "f991510500df" + ] + } + }, + { + "id": "tk-item-detail-metadata.transport-rejection:mounted", + "observation": { + "sender": ["26a2b4de39d4", "a268d5d92265"], + "payloads": ["ef317c60c3c6", "594a2904a1bc"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "0d670a7b256b", + "effects": [ + "4be2a2e21bd0", + "f70626574f7a", + "fc060a38ddda", + "60ab7459b747", + "763cfed9792e", + "3af8e2a236cf", + "14b04c3d1156", + "e54717a435ad", + "e4421084ff39", + "a37497fa506c", + "f991510500df" + ] + } + }, + { + "id": "tk-item-detail-metadata.transport-rejection-no-message:mounted", + "observation": { + "sender": ["c98fbfaab90a", "a268d5d92265"], + "payloads": ["ef317c60c3c6", "594a2904a1bc"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "d79f6e922f48", + "effects": [ + "4be2a2e21bd0", + "f70626574f7a", + "fc060a38ddda", + "60ab7459b747", + "763cfed9792e", + "3af8e2a236cf", + "14b04c3d1156", + "49a2a2210aec", + "e4421084ff39", + "a37497fa506c", + "f991510500df" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.item-merge-gitlab-gitlab.mergemr-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.item-merge-gitlab-gitlab.mergemr-1.json new file mode 100644 index 00000000000..7b30d4cf831 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.item-merge-gitlab-gitlab.mergemr-1.json @@ -0,0 +1,1048 @@ +{ + "operation": "tasks.item-merge-gitlab", + "family": "tasks.item-merge-gitlab", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "8f68885d57a9aa76d80ba0ee29a95bdbaa98cef29c79c68ce75d67202cde7bfe", + "scenarioSha256": "f40d99c60523ad1a6a3a761935e86ab0739337486dd316e6ab3248980e575027", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0687dba3171a": { + "error": "Unknown method", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "0710d702fe2d": { + "name": "gitlab.mergeMR#1", + "args": [ + { + "name": "method", + "value": "gitlab.mergeMR" + }, + { + "name": "params", + "value": { + "iid": 7, + "method": "squash", + "projectRef": "group/project", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "0c139860a4c9": { + "name": "gitlab.mergeMR#1", + "args": [ + { + "name": "method", + "value": "gitlab.mergeMR" + }, + { + "name": "params", + "value": { + "iid": 7, + "method": "squash", + "projectRef": "group/project", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "198ac889ae28": { + "name": "error", + "value": "transport failure", + "sent": 1 + }, + "2e07d214f23a": { + "name": "gitlab.mergeMR#1", + "args": [ + { + "name": "method", + "value": "gitlab.mergeMR" + }, + { + "name": "params", + "value": { + "iid": 7, + "method": "squash", + "projectRef": "group/project", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "32a3635e06a4": { + "name": "mutatingStatus", + "value": false, + "sent": 1 + }, + "364618fdc146": { + "error": "Cannot read properties of undefined (reading 'ok')", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "4d7333674e35": { + "name": "gitlab.mergeMR#1", + "args": [ + { + "name": "method", + "value": "gitlab.mergeMR" + }, + { + "name": "params", + "value": { + "iid": 7, + "method": "squash", + "projectRef": "group/project", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "5800f9a3534e": { + "name": "gitlab.mergeMR#1", + "args": [ + { + "name": "method", + "value": "gitlab.mergeMR" + }, + { + "name": "params", + "value": { + "iid": 7, + "method": "squash", + "projectRef": "group/project", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "596e9105e64e": { + "name": "gitlab.mergeMR#1", + "args": [ + { + "name": "method", + "value": "gitlab.mergeMR" + }, + { + "name": "params", + "value": { + "iid": 7, + "method": "squash", + "projectRef": "group/project", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "59aec6b3bf9f": { + "name": "gitlab.mergeMR#1", + "args": [ + { + "name": "method", + "value": "gitlab.mergeMR" + }, + { + "name": "params", + "value": { + "iid": 7, + "method": "squash", + "projectRef": "group/project", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "5bced36399b0": { + "error": "Cannot read properties of null (reading 'ok')", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "69841347ee06": { + "error": "", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "702351d98030": { + "error": "outer refused", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "7d901d60a01a": { + "name": "error", + "value": "[object Object]", + "sent": 1 + }, + "84465663f388": { + "name": "actionItem", + "value": { + "$rpc": "null" + }, + "sent": 1 + }, + "98354008c52b": { + "error": "inner refused", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "a4f53aae0c36": { + "error": "[object Object]", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "b53c339a3854": { + "name": "error", + "value": "Unknown method", + "sent": 1 + }, + "b6a6630b4d40": { + "error": "", + "item": { + "$rpc": "null" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "b9a92050e801": { + "name": "gitlab.mergeMR#1", + "args": [ + { + "name": "method", + "value": "gitlab.mergeMR" + }, + { + "name": "params", + "value": { + "iid": 7, + "method": "squash", + "projectRef": "group/project", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "c0f3f2064a7d": { + "name": "gitlab.mergeMR#1", + "args": [ + { + "name": "method", + "value": "gitlab.mergeMR" + }, + { + "name": "params", + "value": { + "iid": 7, + "method": "squash", + "projectRef": "group/project", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-1", + "ok": false + } + } + }, + "c483c06533af": { + "name": "gitlab.mergeMR#1", + "args": [ + { + "name": "method", + "value": "gitlab.mergeMR" + }, + { + "name": "params", + "value": { + "iid": 7, + "method": "squash", + "projectRef": "group/project", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "c4f585980acf": { + "name": "error", + "value": "inner refused", + "sent": 1 + }, + "c6bf9878ffb7": { + "name": "gitlab.mergeMR#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"gitlab.mergeMR\",\"params\":{\"repo\":\"id:repo-1\",\"iid\":7,\"method\":\"squash\",\"projectRef\":\"group/project\"}}" + }, + "c939abf83c6c": { + "name": "error", + "value": "Cannot read properties of undefined (reading 'ok')", + "sent": 1 + }, + "cc96725d8f47": { + "name": "mutatingStatus", + "value": true, + "sent": 0 + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "d6f17e3de7da": { + "error": "transport failure", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f791567b212f": { + "name": "error", + "value": "outer refused", + "sent": 1 + }, + "faf0249fca3c": { + "name": "error", + "value": "Cannot read properties of null (reading 'ok')", + "sent": 1 + }, + "ff408cae1bac": { + "name": "gitlab.mergeMR#1", + "args": [ + { + "name": "method", + "value": "gitlab.mergeMR" + }, + { + "name": "params", + "value": { + "iid": 7, + "method": "squash", + "projectRef": "group/project", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + } + }, + "recording": { + "scenario": "matrix-tasks.item-merge-gitlab-gitlab.mergemr-1", + "checkpoints": [ + { + "id": "tk-item-merge-gitlab.normal:merge-settled", + "observation": { + "sender": ["c483c06533af"], + "payloads": ["c6bf9878ffb7"], + "settlements": { + "mount": "eb79a9b3682a", + "merge-0": "eb79a9b3682a" + }, + "state": "b6a6630b4d40", + "effects": ["cc96725d8f47", "9e263f5e91be", "84465663f388", "32a3635e06a4"] + } + }, + { + "id": "tk-item-merge-gitlab.result-absent:merge-settled", + "observation": { + "sender": ["4d7333674e35"], + "payloads": ["c6bf9878ffb7"], + "settlements": { + "mount": "eb79a9b3682a", + "merge-0": "eb79a9b3682a" + }, + "state": "364618fdc146", + "effects": ["cc96725d8f47", "9e263f5e91be", "c939abf83c6c", "32a3635e06a4"] + } + }, + { + "id": "tk-item-merge-gitlab.result-null:merge-settled", + "observation": { + "sender": ["b9a92050e801"], + "payloads": ["c6bf9878ffb7"], + "settlements": { + "mount": "eb79a9b3682a", + "merge-0": "eb79a9b3682a" + }, + "state": "5bced36399b0", + "effects": ["cc96725d8f47", "9e263f5e91be", "faf0249fca3c", "32a3635e06a4"] + } + }, + { + "id": "tk-item-merge-gitlab.inner-ok-missing:merge-settled", + "observation": { + "sender": ["596e9105e64e"], + "payloads": ["c6bf9878ffb7"], + "settlements": { + "mount": "eb79a9b3682a", + "merge-0": "eb79a9b3682a" + }, + "state": "b6a6630b4d40", + "effects": ["cc96725d8f47", "9e263f5e91be", "84465663f388", "32a3635e06a4"] + } + }, + { + "id": "tk-item-merge-gitlab.inner-false-string-error:merge-settled", + "observation": { + "sender": ["0710d702fe2d"], + "payloads": ["c6bf9878ffb7"], + "settlements": { + "mount": "eb79a9b3682a", + "merge-0": "eb79a9b3682a" + }, + "state": "98354008c52b", + "effects": ["cc96725d8f47", "9e263f5e91be", "c4f585980acf", "32a3635e06a4"] + } + }, + { + "id": "tk-item-merge-gitlab.inner-false-object-error:merge-settled", + "observation": { + "sender": ["5800f9a3534e"], + "payloads": ["c6bf9878ffb7"], + "settlements": { + "mount": "eb79a9b3682a", + "merge-0": "eb79a9b3682a" + }, + "state": "a4f53aae0c36", + "effects": ["cc96725d8f47", "9e263f5e91be", "7d901d60a01a", "32a3635e06a4"] + } + }, + { + "id": "tk-item-merge-gitlab.outer-refused:merge-settled", + "observation": { + "sender": ["0c139860a4c9"], + "payloads": ["c6bf9878ffb7"], + "settlements": { + "mount": "eb79a9b3682a", + "merge-0": "eb79a9b3682a" + }, + "state": "702351d98030", + "effects": ["cc96725d8f47", "9e263f5e91be", "f791567b212f", "32a3635e06a4"] + } + }, + { + "id": "tk-item-merge-gitlab.outer-refused-no-message:merge-settled", + "observation": { + "sender": ["ff408cae1bac"], + "payloads": ["c6bf9878ffb7"], + "settlements": { + "mount": "eb79a9b3682a", + "merge-0": "eb79a9b3682a" + }, + "state": "69841347ee06", + "effects": ["cc96725d8f47", "9e263f5e91be", "d48d5c49486c", "32a3635e06a4"] + } + }, + { + "id": "tk-item-merge-gitlab.method-not-found:merge-settled", + "observation": { + "sender": ["c0f3f2064a7d"], + "payloads": ["c6bf9878ffb7"], + "settlements": { + "mount": "eb79a9b3682a", + "merge-0": "eb79a9b3682a" + }, + "state": "0687dba3171a", + "effects": ["cc96725d8f47", "9e263f5e91be", "b53c339a3854", "32a3635e06a4"] + } + }, + { + "id": "tk-item-merge-gitlab.transport-rejection:merge-settled", + "observation": { + "sender": ["2e07d214f23a"], + "payloads": ["c6bf9878ffb7"], + "settlements": { + "mount": "eb79a9b3682a", + "merge-0": "eb79a9b3682a" + }, + "state": "d6f17e3de7da", + "effects": ["cc96725d8f47", "9e263f5e91be", "198ac889ae28", "32a3635e06a4"] + } + }, + { + "id": "tk-item-merge-gitlab.transport-rejection-no-message:merge-settled", + "observation": { + "sender": ["59aec6b3bf9f"], + "payloads": ["c6bf9878ffb7"], + "settlements": { + "mount": "eb79a9b3682a", + "merge-0": "eb79a9b3682a" + }, + "state": "69841347ee06", + "effects": ["cc96725d8f47", "9e263f5e91be", "d48d5c49486c", "32a3635e06a4"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.item-metadata-github-github.updatepr-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.item-metadata-github-github.updatepr-1.json new file mode 100644 index 00000000000..8061e95dc60 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.item-metadata-github-github.updatepr-1.json @@ -0,0 +1,1526 @@ +{ + "operation": "tasks.item-metadata-github", + "family": "tasks.item-metadata-github", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "97cfbcd82778ed6517ca2d10b2f3ad5a8d366e380d7846c1e89d5a5baf17e739", + "scenarioSha256": "27587bfb5745051e3cb27b01dc49b90b6f3c8ddbeb38f20772502fae2f562d91", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0d64c21e1a57": { + "error": "[object Object]", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "107d6bce09cd": { + "name": "github.updatePR#1", + "args": [ + { + "name": "method", + "value": "github.updatePR" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-1", + "updates": { + "body": "new body", + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "12d8c0993d32": { + "error": "transport failure", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "198ac889ae28": { + "name": "error", + "value": "transport failure", + "sent": 1 + }, + "1dd914c9108c": { + "error": "Unknown method", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "32a3635e06a4": { + "name": "mutatingStatus", + "value": false, + "sent": 1 + }, + "48545870a5c1": { + "name": "items", + "value": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "title": "Renamed", + "type": "pr" + }, + "title": "Renamed" + } + ], + "sent": 1 + }, + "5b0b55895e09": { + "name": "github.updatePR#1", + "args": [ + { + "name": "method", + "value": "github.updatePR" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-1", + "updates": { + "body": "new body", + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "5cf7d5c76957": { + "name": "github.updatePR#1", + "args": [ + { + "name": "method", + "value": "github.updatePR" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-1", + "updates": { + "body": "new body", + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "6411b70b2d18": { + "name": "github.updatePR#1", + "args": [ + { + "name": "method", + "value": "github.updatePR" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-1", + "updates": { + "body": "new body", + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "67576d01860e": { + "error": "", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "7cb20f219688": { + "name": "github.updatePR#1", + "args": [ + { + "name": "method", + "value": "github.updatePR" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-1", + "updates": { + "body": "new body", + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "7d901d60a01a": { + "name": "error", + "value": "[object Object]", + "sent": 1 + }, + "81d3548ec9e7": { + "name": "github.updatePR#1", + "args": [ + { + "name": "method", + "value": "github.updatePR" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-1", + "updates": { + "body": "new body", + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "98c47c47bf1c": { + "error": "outer refused", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "a188da72de28": { + "name": "github.updatePR#1", + "args": [ + { + "name": "method", + "value": "github.updatePR" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-1", + "updates": { + "body": "new body", + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "a42cad5a2c3e": { + "name": "actionItem", + "value": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "title": "Renamed", + "type": "pr" + }, + "title": "Renamed" + }, + "sent": 1 + }, + "b092bbd7362d": { + "name": "github.updatePR#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.updatePR\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"updates\":{\"title\":\"Renamed\",\"body\":\"new body\"}}}" + }, + "b53c339a3854": { + "name": "error", + "value": "Unknown method", + "sent": 1 + }, + "c4f585980acf": { + "name": "error", + "value": "inner refused", + "sent": 1 + }, + "c709f5b6e08d": { + "error": "Cannot read properties of null (reading 'ok')", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "c939abf83c6c": { + "name": "error", + "value": "Cannot read properties of undefined (reading 'ok')", + "sent": 1 + }, + "cc96725d8f47": { + "name": "mutatingStatus", + "value": true, + "sent": 0 + }, + "cd3f120ad936": { + "name": "github.updatePR#1", + "args": [ + { + "name": "method", + "value": "github.updatePR" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-1", + "updates": { + "body": "new body", + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "cfadfbdb8f62": { + "name": "github.updatePR#1", + "args": [ + { + "name": "method", + "value": "github.updatePR" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-1", + "updates": { + "body": "new body", + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-1", + "ok": false + } + } + }, + "d1a69a5a36ed": { + "name": "github.updatePR#1", + "args": [ + { + "name": "method", + "value": "github.updatePR" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-1", + "updates": { + "body": "new body", + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "d61c30994138": { + "error": "inner refused", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "d67cd3047e76": { + "error": "Cannot read properties of undefined (reading 'ok')", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "dbb0d797e4ab": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "new body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 1 + }, + "e3fcde8cdbfe": { + "error": "", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "title": "Renamed", + "type": "pr" + }, + "title": "Renamed" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "title": "Renamed", + "type": "pr" + }, + "title": "Renamed" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "new body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "e7eb483032e9": { + "name": "github.updatePR#1", + "args": [ + { + "name": "method", + "value": "github.updatePR" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-1", + "updates": { + "body": "new body", + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f791567b212f": { + "name": "error", + "value": "outer refused", + "sent": 1 + }, + "faf0249fca3c": { + "name": "error", + "value": "Cannot read properties of null (reading 'ok')", + "sent": 1 + } + }, + "recording": { + "scenario": "matrix-tasks.item-metadata-github-github.updatepr-1", + "checkpoints": [ + { + "id": "tk-item-metadata-github.normal:update-pr-settled", + "observation": { + "sender": ["7cb20f219688"], + "payloads": ["b092bbd7362d"], + "settlements": { + "mount": "eb79a9b3682a", + "update-pr-0": "eb79a9b3682a" + }, + "state": "e3fcde8cdbfe", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "a42cad5a2c3e", + "48545870a5c1", + "dbb0d797e4ab", + "32a3635e06a4" + ] + } + }, + { + "id": "tk-item-metadata-github.result-absent:update-pr-settled", + "observation": { + "sender": ["e7eb483032e9"], + "payloads": ["b092bbd7362d"], + "settlements": { + "mount": "eb79a9b3682a", + "update-pr-0": "eb79a9b3682a" + }, + "state": "d67cd3047e76", + "effects": ["cc96725d8f47", "9e263f5e91be", "c939abf83c6c", "32a3635e06a4"] + } + }, + { + "id": "tk-item-metadata-github.result-null:update-pr-settled", + "observation": { + "sender": ["107d6bce09cd"], + "payloads": ["b092bbd7362d"], + "settlements": { + "mount": "eb79a9b3682a", + "update-pr-0": "eb79a9b3682a" + }, + "state": "c709f5b6e08d", + "effects": ["cc96725d8f47", "9e263f5e91be", "faf0249fca3c", "32a3635e06a4"] + } + }, + { + "id": "tk-item-metadata-github.inner-ok-missing:update-pr-settled", + "observation": { + "sender": ["cd3f120ad936"], + "payloads": ["b092bbd7362d"], + "settlements": { + "mount": "eb79a9b3682a", + "update-pr-0": "eb79a9b3682a" + }, + "state": "e3fcde8cdbfe", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "a42cad5a2c3e", + "48545870a5c1", + "dbb0d797e4ab", + "32a3635e06a4" + ] + } + }, + { + "id": "tk-item-metadata-github.inner-false-string-error:update-pr-settled", + "observation": { + "sender": ["a188da72de28"], + "payloads": ["b092bbd7362d"], + "settlements": { + "mount": "eb79a9b3682a", + "update-pr-0": "eb79a9b3682a" + }, + "state": "d61c30994138", + "effects": ["cc96725d8f47", "9e263f5e91be", "c4f585980acf", "32a3635e06a4"] + } + }, + { + "id": "tk-item-metadata-github.inner-false-object-error:update-pr-settled", + "observation": { + "sender": ["6411b70b2d18"], + "payloads": ["b092bbd7362d"], + "settlements": { + "mount": "eb79a9b3682a", + "update-pr-0": "eb79a9b3682a" + }, + "state": "0d64c21e1a57", + "effects": ["cc96725d8f47", "9e263f5e91be", "7d901d60a01a", "32a3635e06a4"] + } + }, + { + "id": "tk-item-metadata-github.outer-refused:update-pr-settled", + "observation": { + "sender": ["5b0b55895e09"], + "payloads": ["b092bbd7362d"], + "settlements": { + "mount": "eb79a9b3682a", + "update-pr-0": "eb79a9b3682a" + }, + "state": "98c47c47bf1c", + "effects": ["cc96725d8f47", "9e263f5e91be", "f791567b212f", "32a3635e06a4"] + } + }, + { + "id": "tk-item-metadata-github.outer-refused-no-message:update-pr-settled", + "observation": { + "sender": ["81d3548ec9e7"], + "payloads": ["b092bbd7362d"], + "settlements": { + "mount": "eb79a9b3682a", + "update-pr-0": "eb79a9b3682a" + }, + "state": "67576d01860e", + "effects": ["cc96725d8f47", "9e263f5e91be", "d48d5c49486c", "32a3635e06a4"] + } + }, + { + "id": "tk-item-metadata-github.method-not-found:update-pr-settled", + "observation": { + "sender": ["cfadfbdb8f62"], + "payloads": ["b092bbd7362d"], + "settlements": { + "mount": "eb79a9b3682a", + "update-pr-0": "eb79a9b3682a" + }, + "state": "1dd914c9108c", + "effects": ["cc96725d8f47", "9e263f5e91be", "b53c339a3854", "32a3635e06a4"] + } + }, + { + "id": "tk-item-metadata-github.transport-rejection:update-pr-settled", + "observation": { + "sender": ["d1a69a5a36ed"], + "payloads": ["b092bbd7362d"], + "settlements": { + "mount": "eb79a9b3682a", + "update-pr-0": "eb79a9b3682a" + }, + "state": "12d8c0993d32", + "effects": ["cc96725d8f47", "9e263f5e91be", "198ac889ae28", "32a3635e06a4"] + } + }, + { + "id": "tk-item-metadata-github.transport-rejection-no-message:update-pr-settled", + "observation": { + "sender": ["5cf7d5c76957"], + "payloads": ["b092bbd7362d"], + "settlements": { + "mount": "eb79a9b3682a", + "update-pr-0": "eb79a9b3682a" + }, + "state": "67576d01860e", + "effects": ["cc96725d8f47", "9e263f5e91be", "d48d5c49486c", "32a3635e06a4"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.item-metadata-gitlab-gitlab.updateissue-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.item-metadata-gitlab-gitlab.updateissue-1.json new file mode 100644 index 00000000000..815b903fbbc --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.item-metadata-gitlab-gitlab.updateissue-1.json @@ -0,0 +1,1185 @@ +{ + "operation": "tasks.item-metadata-gitlab", + "family": "tasks.item-metadata-gitlab", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "97cfbcd82778ed6517ca2d10b2f3ad5a8d366e380d7846c1e89d5a5baf17e739", + "scenarioSha256": "01664112d8f24d0a08fa7ba4e2d7f389acb363ce493e083f359f90fa0b87911d", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "03cbbf630f86": { + "name": "itemRemoveAssigneesDraft", + "value": "", + "sent": 1 + }, + "06ebfa394e4c": { + "error": "", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug", "triage"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "title": "Renamed", + "type": "issue" + }, + "title": "Renamed" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug", "triage"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "title": "Renamed", + "type": "issue" + }, + "title": "Renamed" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug", "triage"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "0a5028edd717": { + "error": "inner refused", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "1421c6947fc6": { + "name": "gitlab.updateIssue#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateIssue" + }, + { + "name": "params", + "value": { + "number": 4, + "projectRef": "group/project", + "repo": "id:repo-1", + "updates": { + "addLabels": ["triage"], + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "166d84331771": { + "name": "gitlab.updateIssue#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateIssue" + }, + { + "name": "params", + "value": { + "number": 4, + "projectRef": "group/project", + "repo": "id:repo-1", + "updates": { + "addLabels": ["triage"], + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "198ac889ae28": { + "name": "error", + "value": "transport failure", + "sent": 1 + }, + "1bd2c74facb2": { + "name": "gitlab.updateIssue#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateIssue" + }, + { + "name": "params", + "value": { + "number": 4, + "projectRef": "group/project", + "repo": "id:repo-1", + "updates": { + "addLabels": ["triage"], + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "1ea4bbdf229c": { + "name": "gitlab.updateIssue#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateIssue" + }, + { + "name": "params", + "value": { + "number": 4, + "projectRef": "group/project", + "repo": "id:repo-1", + "updates": { + "addLabels": ["triage"], + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "32a3635e06a4": { + "name": "mutatingStatus", + "value": false, + "sent": 1 + }, + "34df3a1f4f16": { + "name": "itemAddAssigneesDraft", + "value": "", + "sent": 1 + }, + "52d7bbd9c6f1": { + "name": "gitlab.updateIssue#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateIssue" + }, + { + "name": "params", + "value": { + "number": 4, + "projectRef": "group/project", + "repo": "id:repo-1", + "updates": { + "addLabels": ["triage"], + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "5da920329649": { + "name": "gitlab.updateIssue#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateIssue" + }, + { + "name": "params", + "value": { + "number": 4, + "projectRef": "group/project", + "repo": "id:repo-1", + "updates": { + "addLabels": ["triage"], + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-1", + "ok": false + } + } + }, + "5feb9fb600e8": { + "name": "gitlab.updateIssue#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"gitlab.updateIssue\",\"params\":{\"repo\":\"id:repo-1\",\"number\":4,\"updates\":{\"title\":\"Renamed\",\"addLabels\":[\"triage\"]},\"projectRef\":\"group/project\"}}" + }, + "64de2ffc02e1": { + "name": "gitlab.updateIssue#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateIssue" + }, + { + "name": "params", + "value": { + "number": 4, + "projectRef": "group/project", + "repo": "id:repo-1", + "updates": { + "addLabels": ["triage"], + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "6d96b92fa8ac": { + "name": "itemRemoveLabelsDraft", + "value": "", + "sent": 1 + }, + "7089c563f99c": { + "name": "itemAddLabelsDraft", + "value": "", + "sent": 1 + }, + "722b4cabad81": { + "name": "gitlab.updateIssue#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateIssue" + }, + { + "name": "params", + "value": { + "number": 4, + "projectRef": "group/project", + "repo": "id:repo-1", + "updates": { + "addLabels": ["triage"], + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "7d901d60a01a": { + "name": "error", + "value": "[object Object]", + "sent": 1 + }, + "90de742b0786": { + "name": "gitlab.updateIssue#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateIssue" + }, + { + "name": "params", + "value": { + "number": 4, + "projectRef": "group/project", + "repo": "id:repo-1", + "updates": { + "addLabels": ["triage"], + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "9c5b9e7fae33": { + "name": "detailPayload", + "value": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug", "triage"], + "pipelineJobs": [], + "provider": "gitlab" + }, + "sent": 1 + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "9fc7a62f68d0": { + "error": "[object Object]", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "a3139ecf7ce9": { + "error": "Unknown method", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "a85803b27ae1": { + "error": "transport failure", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "b27915db5c55": { + "name": "items", + "value": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug", "triage"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "title": "Renamed", + "type": "issue" + }, + "title": "Renamed" + } + ], + "sent": 1 + }, + "b53c339a3854": { + "name": "error", + "value": "Unknown method", + "sent": 1 + }, + "b605bb35b53b": { + "error": "Cannot read properties of null (reading 'ok')", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "c02252fb214d": { + "error": "", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "c4f585980acf": { + "name": "error", + "value": "inner refused", + "sent": 1 + }, + "c7ff417f5a6d": { + "error": "outer refused", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "c939abf83c6c": { + "name": "error", + "value": "Cannot read properties of undefined (reading 'ok')", + "sent": 1 + }, + "cc96725d8f47": { + "name": "mutatingStatus", + "value": true, + "sent": 0 + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "de4046dfccd3": { + "name": "gitlab.updateIssue#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateIssue" + }, + { + "name": "params", + "value": { + "number": 4, + "projectRef": "group/project", + "repo": "id:repo-1", + "updates": { + "addLabels": ["triage"], + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "eb4006f87a9c": { + "name": "gitlab.updateIssue#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateIssue" + }, + { + "name": "params", + "value": { + "number": 4, + "projectRef": "group/project", + "repo": "id:repo-1", + "updates": { + "addLabels": ["triage"], + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "eb9e28be91e8": { + "error": "Cannot read properties of undefined (reading 'ok')", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "ee3f2425c02b": { + "name": "actionItem", + "value": { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug", "triage"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "title": "Renamed", + "type": "issue" + }, + "title": "Renamed" + }, + "sent": 1 + }, + "f791567b212f": { + "name": "error", + "value": "outer refused", + "sent": 1 + }, + "faf0249fca3c": { + "name": "error", + "value": "Cannot read properties of null (reading 'ok')", + "sent": 1 + } + }, + "recording": { + "scenario": "matrix-tasks.item-metadata-gitlab-gitlab.updateissue-1", + "checkpoints": [ + { + "id": "tk-item-metadata-gitlab.normal:update-gitlab-settled", + "observation": { + "sender": ["166d84331771"], + "payloads": ["5feb9fb600e8"], + "settlements": { + "mount": "eb79a9b3682a", + "update-gitlab-0": "eb79a9b3682a" + }, + "state": "06ebfa394e4c", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "ee3f2425c02b", + "b27915db5c55", + "9c5b9e7fae33", + "7089c563f99c", + "6d96b92fa8ac", + "34df3a1f4f16", + "03cbbf630f86", + "32a3635e06a4" + ] + } + }, + { + "id": "tk-item-metadata-gitlab.result-absent:update-gitlab-settled", + "observation": { + "sender": ["eb4006f87a9c"], + "payloads": ["5feb9fb600e8"], + "settlements": { + "mount": "eb79a9b3682a", + "update-gitlab-0": "eb79a9b3682a" + }, + "state": "eb9e28be91e8", + "effects": ["cc96725d8f47", "9e263f5e91be", "c939abf83c6c", "32a3635e06a4"] + } + }, + { + "id": "tk-item-metadata-gitlab.result-null:update-gitlab-settled", + "observation": { + "sender": ["64de2ffc02e1"], + "payloads": ["5feb9fb600e8"], + "settlements": { + "mount": "eb79a9b3682a", + "update-gitlab-0": "eb79a9b3682a" + }, + "state": "b605bb35b53b", + "effects": ["cc96725d8f47", "9e263f5e91be", "faf0249fca3c", "32a3635e06a4"] + } + }, + { + "id": "tk-item-metadata-gitlab.inner-ok-missing:update-gitlab-settled", + "observation": { + "sender": ["722b4cabad81"], + "payloads": ["5feb9fb600e8"], + "settlements": { + "mount": "eb79a9b3682a", + "update-gitlab-0": "eb79a9b3682a" + }, + "state": "06ebfa394e4c", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "ee3f2425c02b", + "b27915db5c55", + "9c5b9e7fae33", + "7089c563f99c", + "6d96b92fa8ac", + "34df3a1f4f16", + "03cbbf630f86", + "32a3635e06a4" + ] + } + }, + { + "id": "tk-item-metadata-gitlab.inner-false-string-error:update-gitlab-settled", + "observation": { + "sender": ["1bd2c74facb2"], + "payloads": ["5feb9fb600e8"], + "settlements": { + "mount": "eb79a9b3682a", + "update-gitlab-0": "eb79a9b3682a" + }, + "state": "0a5028edd717", + "effects": ["cc96725d8f47", "9e263f5e91be", "c4f585980acf", "32a3635e06a4"] + } + }, + { + "id": "tk-item-metadata-gitlab.inner-false-object-error:update-gitlab-settled", + "observation": { + "sender": ["de4046dfccd3"], + "payloads": ["5feb9fb600e8"], + "settlements": { + "mount": "eb79a9b3682a", + "update-gitlab-0": "eb79a9b3682a" + }, + "state": "9fc7a62f68d0", + "effects": ["cc96725d8f47", "9e263f5e91be", "7d901d60a01a", "32a3635e06a4"] + } + }, + { + "id": "tk-item-metadata-gitlab.outer-refused:update-gitlab-settled", + "observation": { + "sender": ["52d7bbd9c6f1"], + "payloads": ["5feb9fb600e8"], + "settlements": { + "mount": "eb79a9b3682a", + "update-gitlab-0": "eb79a9b3682a" + }, + "state": "c7ff417f5a6d", + "effects": ["cc96725d8f47", "9e263f5e91be", "f791567b212f", "32a3635e06a4"] + } + }, + { + "id": "tk-item-metadata-gitlab.outer-refused-no-message:update-gitlab-settled", + "observation": { + "sender": ["1421c6947fc6"], + "payloads": ["5feb9fb600e8"], + "settlements": { + "mount": "eb79a9b3682a", + "update-gitlab-0": "eb79a9b3682a" + }, + "state": "c02252fb214d", + "effects": ["cc96725d8f47", "9e263f5e91be", "d48d5c49486c", "32a3635e06a4"] + } + }, + { + "id": "tk-item-metadata-gitlab.method-not-found:update-gitlab-settled", + "observation": { + "sender": ["5da920329649"], + "payloads": ["5feb9fb600e8"], + "settlements": { + "mount": "eb79a9b3682a", + "update-gitlab-0": "eb79a9b3682a" + }, + "state": "a3139ecf7ce9", + "effects": ["cc96725d8f47", "9e263f5e91be", "b53c339a3854", "32a3635e06a4"] + } + }, + { + "id": "tk-item-metadata-gitlab.transport-rejection:update-gitlab-settled", + "observation": { + "sender": ["1ea4bbdf229c"], + "payloads": ["5feb9fb600e8"], + "settlements": { + "mount": "eb79a9b3682a", + "update-gitlab-0": "eb79a9b3682a" + }, + "state": "a85803b27ae1", + "effects": ["cc96725d8f47", "9e263f5e91be", "198ac889ae28", "32a3635e06a4"] + } + }, + { + "id": "tk-item-metadata-gitlab.transport-rejection-no-message:update-gitlab-settled", + "observation": { + "sender": ["90de742b0786"], + "payloads": ["5feb9fb600e8"], + "settlements": { + "mount": "eb79a9b3682a", + "update-gitlab-0": "eb79a9b3682a" + }, + "state": "c02252fb214d", + "effects": ["cc96725d8f47", "9e263f5e91be", "d48d5c49486c", "32a3635e06a4"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.item-metadata-gitlab-mr-gitlab.updatemr-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.item-metadata-gitlab-mr-gitlab.updatemr-1.json new file mode 100644 index 00000000000..8d25484b439 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.item-metadata-gitlab-mr-gitlab.updatemr-1.json @@ -0,0 +1,1237 @@ +{ + "operation": "tasks.item-metadata-gitlab-mr", + "family": "tasks.item-metadata-gitlab-mr", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "97cfbcd82778ed6517ca2d10b2f3ad5a8d366e380d7846c1e89d5a5baf17e739", + "scenarioSha256": "186444ac8dc34dc63d1fbf304275e2265d96c6742e4c8f1e8e5568aa5504bf5d", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0687dba3171a": { + "error": "Unknown method", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "0eee686b6b9d": { + "name": "gitlab.updateMR#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateMR" + }, + { + "name": "params", + "value": { + "iid": 7, + "projectRef": "group/project", + "repo": "id:repo-1", + "updates": { + "addLabels": ["triage"], + "body": { + "$rpc": "undefined" + }, + "removeLabels": { + "$rpc": "undefined" + }, + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "14db9890ade7": { + "name": "gitlab.updateMR#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateMR" + }, + { + "name": "params", + "value": { + "iid": 7, + "projectRef": "group/project", + "repo": "id:repo-1", + "updates": { + "addLabels": ["triage"], + "body": { + "$rpc": "undefined" + }, + "removeLabels": { + "$rpc": "undefined" + }, + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "157d70bbab4d": { + "name": "gitlab.updateMR#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateMR" + }, + { + "name": "params", + "value": { + "iid": 7, + "projectRef": "group/project", + "repo": "id:repo-1", + "updates": { + "addLabels": ["triage"], + "body": { + "$rpc": "undefined" + }, + "removeLabels": { + "$rpc": "undefined" + }, + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "198ac889ae28": { + "name": "error", + "value": "transport failure", + "sent": 1 + }, + "2972953b8c32": { + "name": "gitlab.updateMR#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateMR" + }, + { + "name": "params", + "value": { + "iid": 7, + "projectRef": "group/project", + "repo": "id:repo-1", + "updates": { + "addLabels": ["triage"], + "body": { + "$rpc": "undefined" + }, + "removeLabels": { + "$rpc": "undefined" + }, + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "32a3635e06a4": { + "name": "mutatingStatus", + "value": false, + "sent": 1 + }, + "364618fdc146": { + "error": "Cannot read properties of undefined (reading 'ok')", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "45b929e1b010": { + "name": "items", + "value": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": ["bug", "triage"], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "title": "Renamed", + "type": "mr" + }, + "title": "Renamed" + } + ], + "sent": 1 + }, + "49978f6eab90": { + "name": "gitlab.updateMR#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateMR" + }, + { + "name": "params", + "value": { + "iid": 7, + "projectRef": "group/project", + "repo": "id:repo-1", + "updates": { + "addLabels": ["triage"], + "body": { + "$rpc": "undefined" + }, + "removeLabels": { + "$rpc": "undefined" + }, + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-1", + "ok": false + } + } + }, + "5bced36399b0": { + "error": "Cannot read properties of null (reading 'ok')", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "69841347ee06": { + "error": "", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "6d96b92fa8ac": { + "name": "itemRemoveLabelsDraft", + "value": "", + "sent": 1 + }, + "702351d98030": { + "error": "outer refused", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "7089c563f99c": { + "name": "itemAddLabelsDraft", + "value": "", + "sent": 1 + }, + "747c965ee632": { + "name": "gitlab.updateMR#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateMR" + }, + { + "name": "params", + "value": { + "iid": 7, + "projectRef": "group/project", + "repo": "id:repo-1", + "updates": { + "addLabels": ["triage"], + "body": { + "$rpc": "undefined" + }, + "removeLabels": { + "$rpc": "undefined" + }, + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "7a7312c037c0": { + "name": "gitlab.updateMR#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateMR" + }, + { + "name": "params", + "value": { + "iid": 7, + "projectRef": "group/project", + "repo": "id:repo-1", + "updates": { + "addLabels": ["triage"], + "body": { + "$rpc": "undefined" + }, + "removeLabels": { + "$rpc": "undefined" + }, + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "7d901d60a01a": { + "name": "error", + "value": "[object Object]", + "sent": 1 + }, + "820a09a5345c": { + "name": "actionItem", + "value": { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": ["bug", "triage"], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "title": "Renamed", + "type": "mr" + }, + "title": "Renamed" + }, + "sent": 1 + }, + "98354008c52b": { + "error": "inner refused", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "9c5b9e7fae33": { + "name": "detailPayload", + "value": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug", "triage"], + "pipelineJobs": [], + "provider": "gitlab" + }, + "sent": 1 + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "a4f53aae0c36": { + "error": "[object Object]", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "a62f6e435d85": { + "name": "gitlab.updateMR#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateMR" + }, + { + "name": "params", + "value": { + "iid": 7, + "projectRef": "group/project", + "repo": "id:repo-1", + "updates": { + "addLabels": ["triage"], + "body": { + "$rpc": "undefined" + }, + "removeLabels": { + "$rpc": "undefined" + }, + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "b44a23036f40": { + "name": "gitlab.updateMR#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateMR" + }, + { + "name": "params", + "value": { + "iid": 7, + "projectRef": "group/project", + "repo": "id:repo-1", + "updates": { + "addLabels": ["triage"], + "body": { + "$rpc": "undefined" + }, + "removeLabels": { + "$rpc": "undefined" + }, + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "b53c339a3854": { + "name": "error", + "value": "Unknown method", + "sent": 1 + }, + "bbb125ada245": { + "name": "gitlab.updateMR#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateMR" + }, + { + "name": "params", + "value": { + "iid": 7, + "projectRef": "group/project", + "repo": "id:repo-1", + "updates": { + "addLabels": ["triage"], + "body": { + "$rpc": "undefined" + }, + "removeLabels": { + "$rpc": "undefined" + }, + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "c4f585980acf": { + "name": "error", + "value": "inner refused", + "sent": 1 + }, + "c939abf83c6c": { + "name": "error", + "value": "Cannot read properties of undefined (reading 'ok')", + "sent": 1 + }, + "cc96725d8f47": { + "name": "mutatingStatus", + "value": true, + "sent": 0 + }, + "d03b2863c41e": { + "error": "", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": ["bug", "triage"], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "title": "Renamed", + "type": "mr" + }, + "title": "Renamed" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": ["bug", "triage"], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "title": "Renamed", + "type": "mr" + }, + "title": "Renamed" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug", "triage"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "d6f17e3de7da": { + "error": "transport failure", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "d741c7e7aa87": { + "name": "gitlab.updateMR#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateMR" + }, + { + "name": "params", + "value": { + "iid": 7, + "projectRef": "group/project", + "repo": "id:repo-1", + "updates": { + "addLabels": ["triage"], + "body": { + "$rpc": "undefined" + }, + "removeLabels": { + "$rpc": "undefined" + }, + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f2369a06d2a9": { + "name": "gitlab.updateMR#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"gitlab.updateMR\",\"params\":{\"repo\":\"id:repo-1\",\"iid\":7,\"projectRef\":\"group/project\",\"updates\":{\"title\":\"Renamed\",\"addLabels\":[\"triage\"]}}}" + }, + "f791567b212f": { + "name": "error", + "value": "outer refused", + "sent": 1 + }, + "faf0249fca3c": { + "name": "error", + "value": "Cannot read properties of null (reading 'ok')", + "sent": 1 + } + }, + "recording": { + "scenario": "matrix-tasks.item-metadata-gitlab-mr-gitlab.updatemr-1", + "checkpoints": [ + { + "id": "tk-item-metadata-gitlab-mr.normal:update-gitlab-settled", + "observation": { + "sender": ["a62f6e435d85"], + "payloads": ["f2369a06d2a9"], + "settlements": { + "mount": "eb79a9b3682a", + "update-gitlab-0": "eb79a9b3682a" + }, + "state": "d03b2863c41e", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "820a09a5345c", + "45b929e1b010", + "9c5b9e7fae33", + "7089c563f99c", + "6d96b92fa8ac", + "32a3635e06a4" + ] + } + }, + { + "id": "tk-item-metadata-gitlab-mr.result-absent:update-gitlab-settled", + "observation": { + "sender": ["d741c7e7aa87"], + "payloads": ["f2369a06d2a9"], + "settlements": { + "mount": "eb79a9b3682a", + "update-gitlab-0": "eb79a9b3682a" + }, + "state": "364618fdc146", + "effects": ["cc96725d8f47", "9e263f5e91be", "c939abf83c6c", "32a3635e06a4"] + } + }, + { + "id": "tk-item-metadata-gitlab-mr.result-null:update-gitlab-settled", + "observation": { + "sender": ["bbb125ada245"], + "payloads": ["f2369a06d2a9"], + "settlements": { + "mount": "eb79a9b3682a", + "update-gitlab-0": "eb79a9b3682a" + }, + "state": "5bced36399b0", + "effects": ["cc96725d8f47", "9e263f5e91be", "faf0249fca3c", "32a3635e06a4"] + } + }, + { + "id": "tk-item-metadata-gitlab-mr.inner-ok-missing:update-gitlab-settled", + "observation": { + "sender": ["0eee686b6b9d"], + "payloads": ["f2369a06d2a9"], + "settlements": { + "mount": "eb79a9b3682a", + "update-gitlab-0": "eb79a9b3682a" + }, + "state": "d03b2863c41e", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "820a09a5345c", + "45b929e1b010", + "9c5b9e7fae33", + "7089c563f99c", + "6d96b92fa8ac", + "32a3635e06a4" + ] + } + }, + { + "id": "tk-item-metadata-gitlab-mr.inner-false-string-error:update-gitlab-settled", + "observation": { + "sender": ["b44a23036f40"], + "payloads": ["f2369a06d2a9"], + "settlements": { + "mount": "eb79a9b3682a", + "update-gitlab-0": "eb79a9b3682a" + }, + "state": "98354008c52b", + "effects": ["cc96725d8f47", "9e263f5e91be", "c4f585980acf", "32a3635e06a4"] + } + }, + { + "id": "tk-item-metadata-gitlab-mr.inner-false-object-error:update-gitlab-settled", + "observation": { + "sender": ["747c965ee632"], + "payloads": ["f2369a06d2a9"], + "settlements": { + "mount": "eb79a9b3682a", + "update-gitlab-0": "eb79a9b3682a" + }, + "state": "a4f53aae0c36", + "effects": ["cc96725d8f47", "9e263f5e91be", "7d901d60a01a", "32a3635e06a4"] + } + }, + { + "id": "tk-item-metadata-gitlab-mr.outer-refused:update-gitlab-settled", + "observation": { + "sender": ["157d70bbab4d"], + "payloads": ["f2369a06d2a9"], + "settlements": { + "mount": "eb79a9b3682a", + "update-gitlab-0": "eb79a9b3682a" + }, + "state": "702351d98030", + "effects": ["cc96725d8f47", "9e263f5e91be", "f791567b212f", "32a3635e06a4"] + } + }, + { + "id": "tk-item-metadata-gitlab-mr.outer-refused-no-message:update-gitlab-settled", + "observation": { + "sender": ["7a7312c037c0"], + "payloads": ["f2369a06d2a9"], + "settlements": { + "mount": "eb79a9b3682a", + "update-gitlab-0": "eb79a9b3682a" + }, + "state": "69841347ee06", + "effects": ["cc96725d8f47", "9e263f5e91be", "d48d5c49486c", "32a3635e06a4"] + } + }, + { + "id": "tk-item-metadata-gitlab-mr.method-not-found:update-gitlab-settled", + "observation": { + "sender": ["49978f6eab90"], + "payloads": ["f2369a06d2a9"], + "settlements": { + "mount": "eb79a9b3682a", + "update-gitlab-0": "eb79a9b3682a" + }, + "state": "0687dba3171a", + "effects": ["cc96725d8f47", "9e263f5e91be", "b53c339a3854", "32a3635e06a4"] + } + }, + { + "id": "tk-item-metadata-gitlab-mr.transport-rejection:update-gitlab-settled", + "observation": { + "sender": ["14db9890ade7"], + "payloads": ["f2369a06d2a9"], + "settlements": { + "mount": "eb79a9b3682a", + "update-gitlab-0": "eb79a9b3682a" + }, + "state": "d6f17e3de7da", + "effects": ["cc96725d8f47", "9e263f5e91be", "198ac889ae28", "32a3635e06a4"] + } + }, + { + "id": "tk-item-metadata-gitlab-mr.transport-rejection-no-message:update-gitlab-settled", + "observation": { + "sender": ["2972953b8c32"], + "payloads": ["f2369a06d2a9"], + "settlements": { + "mount": "eb79a9b3682a", + "update-gitlab-0": "eb79a9b3682a" + }, + "state": "69841347ee06", + "effects": ["cc96725d8f47", "9e263f5e91be", "d48d5c49486c", "32a3635e06a4"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.item-reply-merge-github.addissuecomment-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.item-reply-merge-github.addissuecomment-1.json new file mode 100644 index 00000000000..8cea99c0030 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.item-reply-merge-github.addissuecomment-1.json @@ -0,0 +1,3279 @@ +{ + "operation": "tasks.item-reply-merge-github", + "family": "tasks.item-reply-merge", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "8f68885d57a9aa76d80ba0ee29a95bdbaa98cef29c79c68ce75d67202cde7bfe", + "scenarioSha256": "c6e5ae446b875afba3944a96d931fdca6006ed8e904374e5040088004eb9b044", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "000516aa083b": { + "name": "error", + "value": "outer refused", + "sent": 2 + }, + "036b197488e0": { + "name": "github.addPRReviewCommentReply#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.addPRReviewCommentReply\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"commentId\":501,\"body\":\"a reply\",\"threadId\":\"thread-1\",\"path\":\"src/index.ts\",\"line\":12}}" + }, + "05d134c26c53": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "08f1b4229a2c": { + "name": "github.addIssueComment#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.addIssueComment\",\"params\":{\"repo\":\"id:repo-1\",\"number\":12,\"body\":\"@octocat a reply\",\"type\":\"pr\"}}" + }, + "0be9101a1dfc": { + "name": "mutatingStatus", + "value": true, + "sent": 3 + }, + "0c0d6ea592d5": { + "name": "mutatingStatus", + "value": false, + "sent": 3 + }, + "0c49fa33aca6": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "@octocat a reply", + "number": 12, + "repo": "id:repo-1", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "11380b53f6d9": { + "error": "transport failure", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "19e3a37362dc": { + "error": "", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "2b89f7945bce": { + "name": "items", + "value": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "sent": 4 + }, + "2f84f3228054": { + "name": "itemReplyDrafts", + "value": {}, + "sent": 2 + }, + "32a3635e06a4": { + "name": "mutatingStatus", + "value": false, + "sent": 1 + }, + "363749dbbd9b": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "@octocat a reply", + "number": 12, + "repo": "id:repo-1", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Connection closed", + "isRpcDeliveryUnknown": true + } + } + }, + "3eecde91c360": { + "name": "error", + "value": "inner refused", + "sent": 2 + }, + "40539a6c3997": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "@octocat a reply", + "number": 12, + "repo": "id:repo-1", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "52d25e1f3035": { + "name": "error", + "value": "Connection closed", + "sent": 2 + }, + "583b546bd557": { + "name": "mutatingStatus", + "value": true, + "sent": 1 + }, + "5c2874ad80bc": { + "name": "error", + "value": "transport failure", + "sent": 2 + }, + "64de153fcc9f": { + "error": "", + "item": { + "$rpc": "null" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "6bd857c36deb": { + "name": "github.mergePR#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.mergePR\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"method\":\"squash\"}}" + }, + "70678ab6df9a": { + "name": "mutatingStatus", + "value": false, + "sent": 4 + }, + "7a639b984307": { + "error": "", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": true, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "7b3b6dcb4543": { + "error": "Cannot read properties of null (reading 'ok')", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "7bbc96cd8511": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 2 + }, + "7df24cf10f99": { + "name": "linear.updateIssue#1", + "args": [ + { + "name": "method", + "value": "linear.updateIssue" + }, + { + "name": "params", + "value": { + "id": "issue-1", + "updates": { + "stateId": "state-2" + }, + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "82983d26b169": { + "name": "mutatingStatus", + "value": true, + "sent": 2 + }, + "8630ec2f38b4": { + "error": "inner refused", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "89754d4c5374": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "@octocat a reply", + "number": 12, + "repo": "id:repo-1", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "8cb676b78862": { + "name": "error", + "value": "Cannot read properties of undefined (reading 'ok')", + "sent": 2 + }, + "8cde53a56cdf": { + "name": "mutatingStatus", + "value": false, + "sent": 2 + }, + "8d9f451dc8d9": { + "error": "outer refused", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "8f08c9b94011": { + "name": "actionItem", + "value": { + "$rpc": "null" + }, + "sent": 3 + }, + "8f8b93bf32f5": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "@octocat a reply", + "number": 12, + "repo": "id:repo-1", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "976ce137a1ed": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "@octocat a reply", + "number": 12, + "repo": "id:repo-1", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "comment": { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + }, + "ok": true + } + } + } + }, + "99b89a26c176": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "@octocat a reply", + "number": 12, + "repo": "id:repo-1", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "ad0a4ad52848": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "@octocat a reply", + "number": 12, + "repo": "id:repo-1", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "ae78fb6dcf29": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "a reply", + "commentId": 501, + "line": 12, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1", + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "comment": { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + "ok": true + } + } + } + }, + "b0f07cc9ab5c": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "@octocat a reply", + "number": 12, + "repo": "id:repo-1", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "b0f1728c5522": { + "error": "", + "item": { + "$rpc": "null" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "local-1767225600000", + "line": { + "$rpc": "undefined" + }, + "path": { + "$rpc": "undefined" + }, + "threadId": { + "$rpc": "undefined" + } + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "b19de2486603": { + "name": "itemReplyDrafts", + "value": { + "comment-2": "a reply" + }, + "sent": 1 + }, + "b3d61b3364c4": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "@octocat a reply", + "number": 12, + "repo": "id:repo-1", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "b57ded8a3ea3": { + "name": "error", + "value": "", + "sent": 2 + }, + "b959a668e307": { + "name": "linear.updateIssue#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"linear.updateIssue\",\"params\":{\"id\":\"issue-1\",\"workspaceId\":\"linear-workspace\",\"updates\":{\"stateId\":\"state-2\"}}}" + }, + "b9e5e21559ce": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "@octocat a reply", + "number": 12, + "repo": "id:repo-1", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "bb314726a57a": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "@octocat a reply", + "number": 12, + "repo": "id:repo-1", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "bc3f6bcb8a5e": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 1 + }, + "c1bc8cad641c": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "local-1767225600000", + "line": { + "$rpc": "undefined" + }, + "path": { + "$rpc": "undefined" + }, + "threadId": { + "$rpc": "undefined" + } + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 2 + }, + "c22bc4151f3c": { + "name": "actionItem", + "value": { + "$rpc": "null" + }, + "sent": 4 + }, + "c23d4fe1d079": { + "name": "error", + "value": "Cannot read properties of null (reading 'ok')", + "sent": 2 + }, + "c975a09c969d": { + "error": "Cannot read properties of undefined (reading 'ok')", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "cb789ca4532e": { + "error": "Unknown method", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "cc96725d8f47": { + "name": "mutatingStatus", + "value": true, + "sent": 0 + }, + "cdbac770b5e9": { + "name": "error", + "value": "[object Object]", + "sent": 2 + }, + "d30c8f409e8b": { + "error": "", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "local-1767225600000", + "line": { + "$rpc": "undefined" + }, + "path": { + "$rpc": "undefined" + }, + "threadId": { + "$rpc": "undefined" + } + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "d640b8e687fa": { + "error": "", + "item": { + "$rpc": "null" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "dbbebbd74a18": { + "name": "error", + "value": "", + "sent": 3 + }, + "e079a4228dc8": { + "error": "", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "eefdf3f6c570": { + "error": "[object Object]", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "f1cfc2d1bcc1": { + "name": "error", + "value": "Unknown method", + "sent": 2 + } + }, + "recording": { + "scenario": "matrix-tasks.item-reply-merge-github.addissuecomment-1", + "checkpoints": [ + { + "id": "tk-item-reply-merge.prelude:review-reply-settled", + "observation": { + "sender": ["ae78fb6dcf29"], + "payloads": ["036b197488e0"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a" + }, + "state": "e079a4228dc8", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4" + ] + } + }, + { + "id": "tk-item-reply-merge.prelude:cleanup", + "observation": { + "sender": ["ae78fb6dcf29", "363749dbbd9b"], + "payloads": ["036b197488e0", "08f1b4229a2c"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a" + }, + "state": "7a639b984307", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "52d25e1f3035", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-reply-merge.normal:issue-reply-settled", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed"], + "payloads": ["036b197488e0", "08f1b4229a2c"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a" + }, + "state": "19e3a37362dc", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-reply-merge.normal:merge-settled", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed", "05d134c26c53"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "d640b8e687fa", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-reply-merge.normal:linear-status-settled", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed", "05d134c26c53", "7df24cf10f99"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb", "b959a668e307"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "linear-status-3": "eb79a9b3682a" + }, + "state": "d640b8e687fa", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5", + "0be9101a1dfc", + "dbbebbd74a18", + "2b89f7945bce", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-item-reply-merge.result-absent:issue-reply-settled", + "observation": { + "sender": ["ae78fb6dcf29", "40539a6c3997"], + "payloads": ["036b197488e0", "08f1b4229a2c"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a" + }, + "state": "c975a09c969d", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "8cb676b78862", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-reply-merge.result-absent:merge-settled", + "observation": { + "sender": ["ae78fb6dcf29", "40539a6c3997", "05d134c26c53"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "64de153fcc9f", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "8cb676b78862", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-reply-merge.result-absent:linear-status-settled", + "observation": { + "sender": ["ae78fb6dcf29", "40539a6c3997", "05d134c26c53", "7df24cf10f99"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb", "b959a668e307"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "linear-status-3": "eb79a9b3682a" + }, + "state": "64de153fcc9f", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "8cb676b78862", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5", + "0be9101a1dfc", + "dbbebbd74a18", + "2b89f7945bce", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-item-reply-merge.result-null:issue-reply-settled", + "observation": { + "sender": ["ae78fb6dcf29", "89754d4c5374"], + "payloads": ["036b197488e0", "08f1b4229a2c"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a" + }, + "state": "7b3b6dcb4543", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "c23d4fe1d079", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-reply-merge.result-null:merge-settled", + "observation": { + "sender": ["ae78fb6dcf29", "89754d4c5374", "05d134c26c53"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "64de153fcc9f", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "c23d4fe1d079", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-reply-merge.result-null:linear-status-settled", + "observation": { + "sender": ["ae78fb6dcf29", "89754d4c5374", "05d134c26c53", "7df24cf10f99"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb", "b959a668e307"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "linear-status-3": "eb79a9b3682a" + }, + "state": "64de153fcc9f", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "c23d4fe1d079", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5", + "0be9101a1dfc", + "dbbebbd74a18", + "2b89f7945bce", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-item-reply-merge.inner-ok-missing:issue-reply-settled", + "observation": { + "sender": ["ae78fb6dcf29", "b9e5e21559ce"], + "payloads": ["036b197488e0", "08f1b4229a2c"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a" + }, + "state": "d30c8f409e8b", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "c1bc8cad641c", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-reply-merge.inner-ok-missing:merge-settled", + "observation": { + "sender": ["ae78fb6dcf29", "b9e5e21559ce", "05d134c26c53"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "b0f1728c5522", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "c1bc8cad641c", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-reply-merge.inner-ok-missing:linear-status-settled", + "observation": { + "sender": ["ae78fb6dcf29", "b9e5e21559ce", "05d134c26c53", "7df24cf10f99"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb", "b959a668e307"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "linear-status-3": "eb79a9b3682a" + }, + "state": "b0f1728c5522", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "c1bc8cad641c", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5", + "0be9101a1dfc", + "dbbebbd74a18", + "2b89f7945bce", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-item-reply-merge.inner-false-string-error:issue-reply-settled", + "observation": { + "sender": ["ae78fb6dcf29", "b3d61b3364c4"], + "payloads": ["036b197488e0", "08f1b4229a2c"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a" + }, + "state": "8630ec2f38b4", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "3eecde91c360", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-reply-merge.inner-false-string-error:merge-settled", + "observation": { + "sender": ["ae78fb6dcf29", "b3d61b3364c4", "05d134c26c53"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "64de153fcc9f", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "3eecde91c360", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-reply-merge.inner-false-string-error:linear-status-settled", + "observation": { + "sender": ["ae78fb6dcf29", "b3d61b3364c4", "05d134c26c53", "7df24cf10f99"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb", "b959a668e307"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "linear-status-3": "eb79a9b3682a" + }, + "state": "64de153fcc9f", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "3eecde91c360", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5", + "0be9101a1dfc", + "dbbebbd74a18", + "2b89f7945bce", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-item-reply-merge.inner-false-object-error:issue-reply-settled", + "observation": { + "sender": ["ae78fb6dcf29", "0c49fa33aca6"], + "payloads": ["036b197488e0", "08f1b4229a2c"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a" + }, + "state": "eefdf3f6c570", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "cdbac770b5e9", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-reply-merge.inner-false-object-error:merge-settled", + "observation": { + "sender": ["ae78fb6dcf29", "0c49fa33aca6", "05d134c26c53"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "64de153fcc9f", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "cdbac770b5e9", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-reply-merge.inner-false-object-error:linear-status-settled", + "observation": { + "sender": ["ae78fb6dcf29", "0c49fa33aca6", "05d134c26c53", "7df24cf10f99"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb", "b959a668e307"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "linear-status-3": "eb79a9b3682a" + }, + "state": "64de153fcc9f", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "cdbac770b5e9", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5", + "0be9101a1dfc", + "dbbebbd74a18", + "2b89f7945bce", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-item-reply-merge.outer-refused:issue-reply-settled", + "observation": { + "sender": ["ae78fb6dcf29", "99b89a26c176"], + "payloads": ["036b197488e0", "08f1b4229a2c"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a" + }, + "state": "8d9f451dc8d9", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "000516aa083b", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-reply-merge.outer-refused:merge-settled", + "observation": { + "sender": ["ae78fb6dcf29", "99b89a26c176", "05d134c26c53"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "64de153fcc9f", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "000516aa083b", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-reply-merge.outer-refused:linear-status-settled", + "observation": { + "sender": ["ae78fb6dcf29", "99b89a26c176", "05d134c26c53", "7df24cf10f99"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb", "b959a668e307"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "linear-status-3": "eb79a9b3682a" + }, + "state": "64de153fcc9f", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "000516aa083b", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5", + "0be9101a1dfc", + "dbbebbd74a18", + "2b89f7945bce", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-item-reply-merge.outer-refused-no-message:issue-reply-settled", + "observation": { + "sender": ["ae78fb6dcf29", "8f8b93bf32f5"], + "payloads": ["036b197488e0", "08f1b4229a2c"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a" + }, + "state": "e079a4228dc8", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "b57ded8a3ea3", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-reply-merge.outer-refused-no-message:merge-settled", + "observation": { + "sender": ["ae78fb6dcf29", "8f8b93bf32f5", "05d134c26c53"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "64de153fcc9f", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "b57ded8a3ea3", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-reply-merge.outer-refused-no-message:linear-status-settled", + "observation": { + "sender": ["ae78fb6dcf29", "8f8b93bf32f5", "05d134c26c53", "7df24cf10f99"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb", "b959a668e307"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "linear-status-3": "eb79a9b3682a" + }, + "state": "64de153fcc9f", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "b57ded8a3ea3", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5", + "0be9101a1dfc", + "dbbebbd74a18", + "2b89f7945bce", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-item-reply-merge.method-not-found:issue-reply-settled", + "observation": { + "sender": ["ae78fb6dcf29", "ad0a4ad52848"], + "payloads": ["036b197488e0", "08f1b4229a2c"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a" + }, + "state": "cb789ca4532e", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "f1cfc2d1bcc1", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-reply-merge.method-not-found:merge-settled", + "observation": { + "sender": ["ae78fb6dcf29", "ad0a4ad52848", "05d134c26c53"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "64de153fcc9f", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "f1cfc2d1bcc1", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-reply-merge.method-not-found:linear-status-settled", + "observation": { + "sender": ["ae78fb6dcf29", "ad0a4ad52848", "05d134c26c53", "7df24cf10f99"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb", "b959a668e307"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "linear-status-3": "eb79a9b3682a" + }, + "state": "64de153fcc9f", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "f1cfc2d1bcc1", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5", + "0be9101a1dfc", + "dbbebbd74a18", + "2b89f7945bce", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-item-reply-merge.transport-rejection:issue-reply-settled", + "observation": { + "sender": ["ae78fb6dcf29", "bb314726a57a"], + "payloads": ["036b197488e0", "08f1b4229a2c"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a" + }, + "state": "11380b53f6d9", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "5c2874ad80bc", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-reply-merge.transport-rejection:merge-settled", + "observation": { + "sender": ["ae78fb6dcf29", "bb314726a57a", "05d134c26c53"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "64de153fcc9f", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "5c2874ad80bc", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-reply-merge.transport-rejection:linear-status-settled", + "observation": { + "sender": ["ae78fb6dcf29", "bb314726a57a", "05d134c26c53", "7df24cf10f99"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb", "b959a668e307"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "linear-status-3": "eb79a9b3682a" + }, + "state": "64de153fcc9f", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "5c2874ad80bc", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5", + "0be9101a1dfc", + "dbbebbd74a18", + "2b89f7945bce", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-item-reply-merge.transport-rejection-no-message:issue-reply-settled", + "observation": { + "sender": ["ae78fb6dcf29", "b0f07cc9ab5c"], + "payloads": ["036b197488e0", "08f1b4229a2c"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a" + }, + "state": "e079a4228dc8", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "b57ded8a3ea3", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-reply-merge.transport-rejection-no-message:merge-settled", + "observation": { + "sender": ["ae78fb6dcf29", "b0f07cc9ab5c", "05d134c26c53"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "64de153fcc9f", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "b57ded8a3ea3", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-reply-merge.transport-rejection-no-message:linear-status-settled", + "observation": { + "sender": ["ae78fb6dcf29", "b0f07cc9ab5c", "05d134c26c53", "7df24cf10f99"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb", "b959a668e307"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "linear-status-3": "eb79a9b3682a" + }, + "state": "64de153fcc9f", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "b57ded8a3ea3", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5", + "0be9101a1dfc", + "dbbebbd74a18", + "2b89f7945bce", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.item-reply-merge-github.addprreviewcommentreply-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.item-reply-merge-github.addprreviewcommentreply-1.json new file mode 100644 index 00000000000..2ee9b7f328b --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.item-reply-merge-github.addprreviewcommentreply-1.json @@ -0,0 +1,3585 @@ +{ + "operation": "tasks.item-reply-merge-github", + "family": "tasks.item-reply-merge", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "8f68885d57a9aa76d80ba0ee29a95bdbaa98cef29c79c68ce75d67202cde7bfe", + "scenarioSha256": "2da11d5a9c7a223a59c56ec416ab33acd42d900b4080132bde27313e042808d9", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "036b197488e0": { + "name": "github.addPRReviewCommentReply#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.addPRReviewCommentReply\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"commentId\":501,\"body\":\"a reply\",\"threadId\":\"thread-1\",\"path\":\"src/index.ts\",\"line\":12}}" + }, + "05d134c26c53": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "08d61d3c6b5b": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 2 + }, + "08f1b4229a2c": { + "name": "github.addIssueComment#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.addIssueComment\",\"params\":{\"repo\":\"id:repo-1\",\"number\":12,\"body\":\"@octocat a reply\",\"type\":\"pr\"}}" + }, + "0be9101a1dfc": { + "name": "mutatingStatus", + "value": true, + "sent": 3 + }, + "0c0d6ea592d5": { + "name": "mutatingStatus", + "value": false, + "sent": 3 + }, + "0d64c21e1a57": { + "error": "[object Object]", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "0f42548df8fd": { + "error": "", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "local-1767225600000", + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "12d8c0993d32": { + "error": "transport failure", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "172e181385d9": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "a reply", + "commentId": 501, + "line": 12, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1", + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "198ac889ae28": { + "name": "error", + "value": "transport failure", + "sent": 1 + }, + "19e3a37362dc": { + "error": "", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "1dd914c9108c": { + "error": "Unknown method", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "1ed6beefcf2f": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "a reply", + "commentId": 501, + "line": 12, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1", + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "2b89f7945bce": { + "name": "items", + "value": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "sent": 4 + }, + "2d4884d43755": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "a reply", + "commentId": 501, + "line": 12, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1", + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "2f84f3228054": { + "name": "itemReplyDrafts", + "value": {}, + "sent": 2 + }, + "32a3635e06a4": { + "name": "mutatingStatus", + "value": false, + "sent": 1 + }, + "37d4aaf699c4": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "a reply", + "commentId": 501, + "line": 12, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1", + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "3fa60c95d79d": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "a reply", + "commentId": 501, + "line": 12, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1", + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "480a870ef248": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "a reply", + "commentId": 501, + "line": 12, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1", + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "48bbd02c6416": { + "error": "", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "583b546bd557": { + "name": "mutatingStatus", + "value": true, + "sent": 1 + }, + "5ae97e8a4d13": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "local-1767225600000", + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 1 + }, + "67576d01860e": { + "error": "", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "6bd857c36deb": { + "name": "github.mergePR#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.mergePR\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"method\":\"squash\"}}" + }, + "70678ab6df9a": { + "name": "mutatingStatus", + "value": false, + "sent": 4 + }, + "7957a6c3f41f": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "local-1767225600000", + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 2 + }, + "7bbc96cd8511": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 2 + }, + "7d901d60a01a": { + "name": "error", + "value": "[object Object]", + "sent": 1 + }, + "7df24cf10f99": { + "name": "linear.updateIssue#1", + "args": [ + { + "name": "method", + "value": "linear.updateIssue" + }, + { + "name": "params", + "value": { + "id": "issue-1", + "updates": { + "stateId": "state-2" + }, + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "7e661c93872a": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "a reply", + "commentId": 501, + "line": 12, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1", + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "82983d26b169": { + "name": "mutatingStatus", + "value": true, + "sent": 2 + }, + "8cde53a56cdf": { + "name": "mutatingStatus", + "value": false, + "sent": 2 + }, + "8f08c9b94011": { + "name": "actionItem", + "value": { + "$rpc": "null" + }, + "sent": 3 + }, + "9215b65201cf": { + "error": "", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "local-1767225600000", + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "976ce137a1ed": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "@octocat a reply", + "number": 12, + "repo": "id:repo-1", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "comment": { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + }, + "ok": true + } + } + } + }, + "98c47c47bf1c": { + "error": "outer refused", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "ae78fb6dcf29": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "a reply", + "commentId": 501, + "line": 12, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1", + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "comment": { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + "ok": true + } + } + } + }, + "af729f9f623e": { + "error": "", + "item": { + "$rpc": "null" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "b19de2486603": { + "name": "itemReplyDrafts", + "value": { + "comment-2": "a reply" + }, + "sent": 1 + }, + "b53c339a3854": { + "name": "error", + "value": "Unknown method", + "sent": 1 + }, + "b57ded8a3ea3": { + "name": "error", + "value": "", + "sent": 2 + }, + "b959a668e307": { + "name": "linear.updateIssue#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"linear.updateIssue\",\"params\":{\"id\":\"issue-1\",\"workspaceId\":\"linear-workspace\",\"updates\":{\"stateId\":\"state-2\"}}}" + }, + "bc3f6bcb8a5e": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 1 + }, + "bf306437dfcd": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "a reply", + "commentId": 501, + "line": 12, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1", + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "c22bc4151f3c": { + "name": "actionItem", + "value": { + "$rpc": "null" + }, + "sent": 4 + }, + "c4f585980acf": { + "name": "error", + "value": "inner refused", + "sent": 1 + }, + "c709f5b6e08d": { + "error": "Cannot read properties of null (reading 'ok')", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "c939abf83c6c": { + "name": "error", + "value": "Cannot read properties of undefined (reading 'ok')", + "sent": 1 + }, + "cc96725d8f47": { + "name": "mutatingStatus", + "value": true, + "sent": 0 + }, + "d398e0446c7c": { + "error": "", + "item": { + "$rpc": "null" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "local-1767225600000", + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "d5f27f2ec601": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "a reply", + "commentId": 501, + "line": 12, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1", + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-1", + "ok": false + } + } + }, + "d61c30994138": { + "error": "inner refused", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "d640b8e687fa": { + "error": "", + "item": { + "$rpc": "null" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "d67cd3047e76": { + "error": "Cannot read properties of undefined (reading 'ok')", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "d7becb113791": { + "name": "itemReplyDrafts", + "value": { + "501": "a reply" + }, + "sent": 2 + }, + "dbbebbd74a18": { + "name": "error", + "value": "", + "sent": 3 + }, + "e079a4228dc8": { + "error": "", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "e13337da345a": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "a reply", + "commentId": 501, + "line": 12, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1", + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f791567b212f": { + "name": "error", + "value": "outer refused", + "sent": 1 + }, + "faf0249fca3c": { + "name": "error", + "value": "Cannot read properties of null (reading 'ok')", + "sent": 1 + } + }, + "recording": { + "scenario": "matrix-tasks.item-reply-merge-github.addprreviewcommentreply-1", + "checkpoints": [ + { + "id": "tk-item-reply-merge.normal:review-reply-settled", + "observation": { + "sender": ["ae78fb6dcf29"], + "payloads": ["036b197488e0"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a" + }, + "state": "e079a4228dc8", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4" + ] + } + }, + { + "id": "tk-item-reply-merge.normal:issue-reply-settled", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed"], + "payloads": ["036b197488e0", "08f1b4229a2c"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a" + }, + "state": "19e3a37362dc", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-reply-merge.normal:merge-settled", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed", "05d134c26c53"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "d640b8e687fa", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-reply-merge.normal:linear-status-settled", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed", "05d134c26c53", "7df24cf10f99"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb", "b959a668e307"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "linear-status-3": "eb79a9b3682a" + }, + "state": "d640b8e687fa", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5", + "0be9101a1dfc", + "dbbebbd74a18", + "2b89f7945bce", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-item-reply-merge.result-absent:review-reply-settled", + "observation": { + "sender": ["3fa60c95d79d"], + "payloads": ["036b197488e0"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a" + }, + "state": "d67cd3047e76", + "effects": ["cc96725d8f47", "9e263f5e91be", "c939abf83c6c", "32a3635e06a4"] + } + }, + { + "id": "tk-item-reply-merge.result-absent:issue-reply-settled", + "observation": { + "sender": ["3fa60c95d79d", "976ce137a1ed"], + "payloads": ["036b197488e0", "08f1b4229a2c"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a" + }, + "state": "48bbd02c6416", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "c939abf83c6c", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "d7becb113791", + "08d61d3c6b5b", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-reply-merge.result-absent:merge-settled", + "observation": { + "sender": ["3fa60c95d79d", "976ce137a1ed", "05d134c26c53"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "af729f9f623e", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "c939abf83c6c", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "d7becb113791", + "08d61d3c6b5b", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-reply-merge.result-absent:linear-status-settled", + "observation": { + "sender": ["3fa60c95d79d", "976ce137a1ed", "05d134c26c53", "7df24cf10f99"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb", "b959a668e307"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "linear-status-3": "eb79a9b3682a" + }, + "state": "af729f9f623e", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "c939abf83c6c", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "d7becb113791", + "08d61d3c6b5b", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5", + "0be9101a1dfc", + "dbbebbd74a18", + "2b89f7945bce", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-item-reply-merge.result-null:review-reply-settled", + "observation": { + "sender": ["1ed6beefcf2f"], + "payloads": ["036b197488e0"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a" + }, + "state": "c709f5b6e08d", + "effects": ["cc96725d8f47", "9e263f5e91be", "faf0249fca3c", "32a3635e06a4"] + } + }, + { + "id": "tk-item-reply-merge.result-null:issue-reply-settled", + "observation": { + "sender": ["1ed6beefcf2f", "976ce137a1ed"], + "payloads": ["036b197488e0", "08f1b4229a2c"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a" + }, + "state": "48bbd02c6416", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "faf0249fca3c", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "d7becb113791", + "08d61d3c6b5b", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-reply-merge.result-null:merge-settled", + "observation": { + "sender": ["1ed6beefcf2f", "976ce137a1ed", "05d134c26c53"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "af729f9f623e", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "faf0249fca3c", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "d7becb113791", + "08d61d3c6b5b", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-reply-merge.result-null:linear-status-settled", + "observation": { + "sender": ["1ed6beefcf2f", "976ce137a1ed", "05d134c26c53", "7df24cf10f99"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb", "b959a668e307"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "linear-status-3": "eb79a9b3682a" + }, + "state": "af729f9f623e", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "faf0249fca3c", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "d7becb113791", + "08d61d3c6b5b", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5", + "0be9101a1dfc", + "dbbebbd74a18", + "2b89f7945bce", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-item-reply-merge.inner-ok-missing:review-reply-settled", + "observation": { + "sender": ["2d4884d43755"], + "payloads": ["036b197488e0"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a" + }, + "state": "0f42548df8fd", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "5ae97e8a4d13", + "32a3635e06a4" + ] + } + }, + { + "id": "tk-item-reply-merge.inner-ok-missing:issue-reply-settled", + "observation": { + "sender": ["2d4884d43755", "976ce137a1ed"], + "payloads": ["036b197488e0", "08f1b4229a2c"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a" + }, + "state": "9215b65201cf", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "5ae97e8a4d13", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7957a6c3f41f", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-reply-merge.inner-ok-missing:merge-settled", + "observation": { + "sender": ["2d4884d43755", "976ce137a1ed", "05d134c26c53"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "d398e0446c7c", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "5ae97e8a4d13", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7957a6c3f41f", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-reply-merge.inner-ok-missing:linear-status-settled", + "observation": { + "sender": ["2d4884d43755", "976ce137a1ed", "05d134c26c53", "7df24cf10f99"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb", "b959a668e307"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "linear-status-3": "eb79a9b3682a" + }, + "state": "d398e0446c7c", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "5ae97e8a4d13", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7957a6c3f41f", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5", + "0be9101a1dfc", + "dbbebbd74a18", + "2b89f7945bce", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-item-reply-merge.inner-false-string-error:review-reply-settled", + "observation": { + "sender": ["480a870ef248"], + "payloads": ["036b197488e0"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a" + }, + "state": "d61c30994138", + "effects": ["cc96725d8f47", "9e263f5e91be", "c4f585980acf", "32a3635e06a4"] + } + }, + { + "id": "tk-item-reply-merge.inner-false-string-error:issue-reply-settled", + "observation": { + "sender": ["480a870ef248", "976ce137a1ed"], + "payloads": ["036b197488e0", "08f1b4229a2c"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a" + }, + "state": "48bbd02c6416", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "c4f585980acf", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "d7becb113791", + "08d61d3c6b5b", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-reply-merge.inner-false-string-error:merge-settled", + "observation": { + "sender": ["480a870ef248", "976ce137a1ed", "05d134c26c53"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "af729f9f623e", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "c4f585980acf", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "d7becb113791", + "08d61d3c6b5b", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-reply-merge.inner-false-string-error:linear-status-settled", + "observation": { + "sender": ["480a870ef248", "976ce137a1ed", "05d134c26c53", "7df24cf10f99"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb", "b959a668e307"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "linear-status-3": "eb79a9b3682a" + }, + "state": "af729f9f623e", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "c4f585980acf", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "d7becb113791", + "08d61d3c6b5b", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5", + "0be9101a1dfc", + "dbbebbd74a18", + "2b89f7945bce", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-item-reply-merge.inner-false-object-error:review-reply-settled", + "observation": { + "sender": ["7e661c93872a"], + "payloads": ["036b197488e0"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a" + }, + "state": "0d64c21e1a57", + "effects": ["cc96725d8f47", "9e263f5e91be", "7d901d60a01a", "32a3635e06a4"] + } + }, + { + "id": "tk-item-reply-merge.inner-false-object-error:issue-reply-settled", + "observation": { + "sender": ["7e661c93872a", "976ce137a1ed"], + "payloads": ["036b197488e0", "08f1b4229a2c"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a" + }, + "state": "48bbd02c6416", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "7d901d60a01a", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "d7becb113791", + "08d61d3c6b5b", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-reply-merge.inner-false-object-error:merge-settled", + "observation": { + "sender": ["7e661c93872a", "976ce137a1ed", "05d134c26c53"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "af729f9f623e", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "7d901d60a01a", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "d7becb113791", + "08d61d3c6b5b", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-reply-merge.inner-false-object-error:linear-status-settled", + "observation": { + "sender": ["7e661c93872a", "976ce137a1ed", "05d134c26c53", "7df24cf10f99"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb", "b959a668e307"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "linear-status-3": "eb79a9b3682a" + }, + "state": "af729f9f623e", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "7d901d60a01a", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "d7becb113791", + "08d61d3c6b5b", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5", + "0be9101a1dfc", + "dbbebbd74a18", + "2b89f7945bce", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-item-reply-merge.outer-refused:review-reply-settled", + "observation": { + "sender": ["e13337da345a"], + "payloads": ["036b197488e0"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a" + }, + "state": "98c47c47bf1c", + "effects": ["cc96725d8f47", "9e263f5e91be", "f791567b212f", "32a3635e06a4"] + } + }, + { + "id": "tk-item-reply-merge.outer-refused:issue-reply-settled", + "observation": { + "sender": ["e13337da345a", "976ce137a1ed"], + "payloads": ["036b197488e0", "08f1b4229a2c"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a" + }, + "state": "48bbd02c6416", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "f791567b212f", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "d7becb113791", + "08d61d3c6b5b", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-reply-merge.outer-refused:merge-settled", + "observation": { + "sender": ["e13337da345a", "976ce137a1ed", "05d134c26c53"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "af729f9f623e", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "f791567b212f", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "d7becb113791", + "08d61d3c6b5b", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-reply-merge.outer-refused:linear-status-settled", + "observation": { + "sender": ["e13337da345a", "976ce137a1ed", "05d134c26c53", "7df24cf10f99"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb", "b959a668e307"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "linear-status-3": "eb79a9b3682a" + }, + "state": "af729f9f623e", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "f791567b212f", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "d7becb113791", + "08d61d3c6b5b", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5", + "0be9101a1dfc", + "dbbebbd74a18", + "2b89f7945bce", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-item-reply-merge.outer-refused-no-message:review-reply-settled", + "observation": { + "sender": ["bf306437dfcd"], + "payloads": ["036b197488e0"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a" + }, + "state": "67576d01860e", + "effects": ["cc96725d8f47", "9e263f5e91be", "d48d5c49486c", "32a3635e06a4"] + } + }, + { + "id": "tk-item-reply-merge.outer-refused-no-message:issue-reply-settled", + "observation": { + "sender": ["bf306437dfcd", "976ce137a1ed"], + "payloads": ["036b197488e0", "08f1b4229a2c"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a" + }, + "state": "48bbd02c6416", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "d48d5c49486c", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "d7becb113791", + "08d61d3c6b5b", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-reply-merge.outer-refused-no-message:merge-settled", + "observation": { + "sender": ["bf306437dfcd", "976ce137a1ed", "05d134c26c53"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "af729f9f623e", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "d48d5c49486c", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "d7becb113791", + "08d61d3c6b5b", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-reply-merge.outer-refused-no-message:linear-status-settled", + "observation": { + "sender": ["bf306437dfcd", "976ce137a1ed", "05d134c26c53", "7df24cf10f99"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb", "b959a668e307"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "linear-status-3": "eb79a9b3682a" + }, + "state": "af729f9f623e", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "d48d5c49486c", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "d7becb113791", + "08d61d3c6b5b", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5", + "0be9101a1dfc", + "dbbebbd74a18", + "2b89f7945bce", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-item-reply-merge.method-not-found:review-reply-settled", + "observation": { + "sender": ["d5f27f2ec601"], + "payloads": ["036b197488e0"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a" + }, + "state": "1dd914c9108c", + "effects": ["cc96725d8f47", "9e263f5e91be", "b53c339a3854", "32a3635e06a4"] + } + }, + { + "id": "tk-item-reply-merge.method-not-found:issue-reply-settled", + "observation": { + "sender": ["d5f27f2ec601", "976ce137a1ed"], + "payloads": ["036b197488e0", "08f1b4229a2c"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a" + }, + "state": "48bbd02c6416", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b53c339a3854", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "d7becb113791", + "08d61d3c6b5b", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-reply-merge.method-not-found:merge-settled", + "observation": { + "sender": ["d5f27f2ec601", "976ce137a1ed", "05d134c26c53"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "af729f9f623e", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b53c339a3854", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "d7becb113791", + "08d61d3c6b5b", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-reply-merge.method-not-found:linear-status-settled", + "observation": { + "sender": ["d5f27f2ec601", "976ce137a1ed", "05d134c26c53", "7df24cf10f99"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb", "b959a668e307"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "linear-status-3": "eb79a9b3682a" + }, + "state": "af729f9f623e", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b53c339a3854", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "d7becb113791", + "08d61d3c6b5b", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5", + "0be9101a1dfc", + "dbbebbd74a18", + "2b89f7945bce", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-item-reply-merge.transport-rejection:review-reply-settled", + "observation": { + "sender": ["172e181385d9"], + "payloads": ["036b197488e0"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a" + }, + "state": "12d8c0993d32", + "effects": ["cc96725d8f47", "9e263f5e91be", "198ac889ae28", "32a3635e06a4"] + } + }, + { + "id": "tk-item-reply-merge.transport-rejection:issue-reply-settled", + "observation": { + "sender": ["172e181385d9", "976ce137a1ed"], + "payloads": ["036b197488e0", "08f1b4229a2c"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a" + }, + "state": "48bbd02c6416", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "198ac889ae28", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "d7becb113791", + "08d61d3c6b5b", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-reply-merge.transport-rejection:merge-settled", + "observation": { + "sender": ["172e181385d9", "976ce137a1ed", "05d134c26c53"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "af729f9f623e", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "198ac889ae28", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "d7becb113791", + "08d61d3c6b5b", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-reply-merge.transport-rejection:linear-status-settled", + "observation": { + "sender": ["172e181385d9", "976ce137a1ed", "05d134c26c53", "7df24cf10f99"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb", "b959a668e307"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "linear-status-3": "eb79a9b3682a" + }, + "state": "af729f9f623e", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "198ac889ae28", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "d7becb113791", + "08d61d3c6b5b", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5", + "0be9101a1dfc", + "dbbebbd74a18", + "2b89f7945bce", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-item-reply-merge.transport-rejection-no-message:review-reply-settled", + "observation": { + "sender": ["37d4aaf699c4"], + "payloads": ["036b197488e0"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a" + }, + "state": "67576d01860e", + "effects": ["cc96725d8f47", "9e263f5e91be", "d48d5c49486c", "32a3635e06a4"] + } + }, + { + "id": "tk-item-reply-merge.transport-rejection-no-message:issue-reply-settled", + "observation": { + "sender": ["37d4aaf699c4", "976ce137a1ed"], + "payloads": ["036b197488e0", "08f1b4229a2c"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a" + }, + "state": "48bbd02c6416", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "d48d5c49486c", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "d7becb113791", + "08d61d3c6b5b", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-reply-merge.transport-rejection-no-message:merge-settled", + "observation": { + "sender": ["37d4aaf699c4", "976ce137a1ed", "05d134c26c53"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "af729f9f623e", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "d48d5c49486c", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "d7becb113791", + "08d61d3c6b5b", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-reply-merge.transport-rejection-no-message:linear-status-settled", + "observation": { + "sender": ["37d4aaf699c4", "976ce137a1ed", "05d134c26c53", "7df24cf10f99"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb", "b959a668e307"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "linear-status-3": "eb79a9b3682a" + }, + "state": "af729f9f623e", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "d48d5c49486c", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "d7becb113791", + "08d61d3c6b5b", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5", + "0be9101a1dfc", + "dbbebbd74a18", + "2b89f7945bce", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.item-reply-merge-github.mergepr-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.item-reply-merge-github.mergepr-1.json new file mode 100644 index 00000000000..be2858f6953 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.item-reply-merge-github.mergepr-1.json @@ -0,0 +1,2763 @@ +{ + "operation": "tasks.item-reply-merge-github", + "family": "tasks.item-reply-merge", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "8f68885d57a9aa76d80ba0ee29a95bdbaa98cef29c79c68ce75d67202cde7bfe", + "scenarioSha256": "a5d8ba37f44421d3efd19617ef319f37fda3fe53004b6829ae2c320f85d5c98d", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "036b197488e0": { + "name": "github.addPRReviewCommentReply#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.addPRReviewCommentReply\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"commentId\":501,\"body\":\"a reply\",\"threadId\":\"thread-1\",\"path\":\"src/index.ts\",\"line\":12}}" + }, + "058adf5e0940": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true + } + } + }, + "05d134c26c53": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "08f1b4229a2c": { + "name": "github.addIssueComment#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.addIssueComment\",\"params\":{\"repo\":\"id:repo-1\",\"number\":12,\"body\":\"@octocat a reply\",\"type\":\"pr\"}}" + }, + "0a46d3eb33d3": { + "error": "transport failure", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "0be9101a1dfc": { + "name": "mutatingStatus", + "value": true, + "sent": 3 + }, + "0c0d6ea592d5": { + "name": "mutatingStatus", + "value": false, + "sent": 3 + }, + "18d6aedd20c0": { + "name": "error", + "value": "outer refused", + "sent": 3 + }, + "19e3a37362dc": { + "error": "", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "1ca8ccb3785a": { + "name": "error", + "value": "Cannot read properties of undefined (reading 'ok')", + "sent": 3 + }, + "26374b8263d6": { + "name": "error", + "value": "transport failure", + "sent": 3 + }, + "2b89f7945bce": { + "name": "items", + "value": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "sent": 4 + }, + "2bb9e4aadc6b": { + "error": "Cannot read properties of null (reading 'ok')", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "2c73bbd666db": { + "error": "[object Object]", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "2c9067cc7a01": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "2e30a3a6bdab": { + "error": "Unknown method", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "2f33b0c5e383": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "2f84f3228054": { + "name": "itemReplyDrafts", + "value": {}, + "sent": 2 + }, + "32a3635e06a4": { + "name": "mutatingStatus", + "value": false, + "sent": 1 + }, + "3b58335a0013": { + "name": "actionItem", + "value": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "sent": 4 + }, + "3b7522cf9569": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "3bc7dc745e57": { + "name": "error", + "value": "[object Object]", + "sent": 3 + }, + "3fba7d414eeb": { + "error": "inner refused", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "49de686b4e08": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "4e3d66877bcd": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "583b546bd557": { + "name": "mutatingStatus", + "value": true, + "sent": 1 + }, + "6bd857c36deb": { + "name": "github.mergePR#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.mergePR\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"method\":\"squash\"}}" + }, + "6e6324634191": { + "name": "error", + "value": "inner refused", + "sent": 3 + }, + "70678ab6df9a": { + "name": "mutatingStatus", + "value": false, + "sent": 4 + }, + "7bbc96cd8511": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 2 + }, + "7df24cf10f99": { + "name": "linear.updateIssue#1", + "args": [ + { + "name": "method", + "value": "linear.updateIssue" + }, + { + "name": "params", + "value": { + "id": "issue-1", + "updates": { + "stateId": "state-2" + }, + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "82983d26b169": { + "name": "mutatingStatus", + "value": true, + "sent": 2 + }, + "848732dba3e1": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-3", + "ok": false + } + } + }, + "8cde53a56cdf": { + "name": "mutatingStatus", + "value": false, + "sent": 2 + }, + "8f08c9b94011": { + "name": "actionItem", + "value": { + "$rpc": "null" + }, + "sent": 3 + }, + "976ce137a1ed": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "@octocat a reply", + "number": 12, + "repo": "id:repo-1", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "comment": { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + }, + "ok": true + } + } + } + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "a849c4c6de74": { + "error": "outer refused", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "ae78fb6dcf29": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "a reply", + "commentId": 501, + "line": 12, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1", + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "comment": { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + "ok": true + } + } + } + }, + "b19de2486603": { + "name": "itemReplyDrafts", + "value": { + "comment-2": "a reply" + }, + "sent": 1 + }, + "b57ded8a3ea3": { + "name": "error", + "value": "", + "sent": 2 + }, + "b959a668e307": { + "name": "linear.updateIssue#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"linear.updateIssue\",\"params\":{\"id\":\"issue-1\",\"workspaceId\":\"linear-workspace\",\"updates\":{\"stateId\":\"state-2\"}}}" + }, + "bc3f6bcb8a5e": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 1 + }, + "c0e892f829bc": { + "error": "", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": true, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "c22bc4151f3c": { + "name": "actionItem", + "value": { + "$rpc": "null" + }, + "sent": 4 + }, + "c68ce1c1e224": { + "name": "error", + "value": "Unknown method", + "sent": 3 + }, + "cc96725d8f47": { + "name": "mutatingStatus", + "value": true, + "sent": 0 + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "d4aa03cbbf44": { + "error": "Cannot read properties of undefined (reading 'ok')", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "d640b8e687fa": { + "error": "", + "item": { + "$rpc": "null" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "d8557b0e0565": { + "name": "error", + "value": "Cannot read properties of null (reading 'ok')", + "sent": 3 + }, + "dabcddbeb1c5": { + "name": "error", + "value": "Connection closed", + "sent": 3 + }, + "dbbebbd74a18": { + "name": "error", + "value": "", + "sent": 3 + }, + "e079a4228dc8": { + "error": "", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "e9c165fbead8": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Connection closed", + "isRpcDeliveryUnknown": true + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f2967c5a1118": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-3", + "ok": false + } + } + }, + "f444d4227fd9": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-3", + "ok": false + } + } + }, + "ff85751571ac": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + } + }, + "recording": { + "scenario": "matrix-tasks.item-reply-merge-github.mergepr-1", + "checkpoints": [ + { + "id": "tk-item-reply-merge.prelude:review-reply-settled", + "observation": { + "sender": ["ae78fb6dcf29"], + "payloads": ["036b197488e0"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a" + }, + "state": "e079a4228dc8", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4" + ] + } + }, + { + "id": "tk-item-reply-merge.prelude:issue-reply-settled", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed"], + "payloads": ["036b197488e0", "08f1b4229a2c"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a" + }, + "state": "19e3a37362dc", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-reply-merge.prelude:cleanup", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed", "e9c165fbead8"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "c0e892f829bc", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "dabcddbeb1c5", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-reply-merge.normal:merge-settled", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed", "05d134c26c53"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "d640b8e687fa", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-reply-merge.normal:linear-status-settled", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed", "05d134c26c53", "7df24cf10f99"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb", "b959a668e307"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "linear-status-3": "eb79a9b3682a" + }, + "state": "d640b8e687fa", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5", + "0be9101a1dfc", + "dbbebbd74a18", + "2b89f7945bce", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-item-reply-merge.result-absent:merge-settled", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed", "058adf5e0940"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "d4aa03cbbf44", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "1ca8ccb3785a", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-reply-merge.result-absent:linear-status-settled", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed", "058adf5e0940", "7df24cf10f99"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb", "b959a668e307"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "linear-status-3": "eb79a9b3682a" + }, + "state": "19e3a37362dc", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "1ca8ccb3785a", + "0c0d6ea592d5", + "0be9101a1dfc", + "dbbebbd74a18", + "2b89f7945bce", + "3b58335a0013", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-item-reply-merge.result-null:merge-settled", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed", "4e3d66877bcd"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "2bb9e4aadc6b", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d8557b0e0565", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-reply-merge.result-null:linear-status-settled", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed", "4e3d66877bcd", "7df24cf10f99"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb", "b959a668e307"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "linear-status-3": "eb79a9b3682a" + }, + "state": "19e3a37362dc", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d8557b0e0565", + "0c0d6ea592d5", + "0be9101a1dfc", + "dbbebbd74a18", + "2b89f7945bce", + "3b58335a0013", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-item-reply-merge.inner-ok-missing:merge-settled", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed", "3b7522cf9569"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "d640b8e687fa", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-reply-merge.inner-ok-missing:linear-status-settled", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed", "3b7522cf9569", "7df24cf10f99"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb", "b959a668e307"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "linear-status-3": "eb79a9b3682a" + }, + "state": "d640b8e687fa", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5", + "0be9101a1dfc", + "dbbebbd74a18", + "2b89f7945bce", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-item-reply-merge.inner-false-string-error:merge-settled", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed", "2c9067cc7a01"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "3fba7d414eeb", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "6e6324634191", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-reply-merge.inner-false-string-error:linear-status-settled", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed", "2c9067cc7a01", "7df24cf10f99"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb", "b959a668e307"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "linear-status-3": "eb79a9b3682a" + }, + "state": "19e3a37362dc", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "6e6324634191", + "0c0d6ea592d5", + "0be9101a1dfc", + "dbbebbd74a18", + "2b89f7945bce", + "3b58335a0013", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-item-reply-merge.inner-false-object-error:merge-settled", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed", "2f33b0c5e383"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "2c73bbd666db", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "3bc7dc745e57", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-reply-merge.inner-false-object-error:linear-status-settled", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed", "2f33b0c5e383", "7df24cf10f99"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb", "b959a668e307"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "linear-status-3": "eb79a9b3682a" + }, + "state": "19e3a37362dc", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "3bc7dc745e57", + "0c0d6ea592d5", + "0be9101a1dfc", + "dbbebbd74a18", + "2b89f7945bce", + "3b58335a0013", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-item-reply-merge.outer-refused:merge-settled", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed", "f444d4227fd9"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "a849c4c6de74", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "18d6aedd20c0", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-reply-merge.outer-refused:linear-status-settled", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed", "f444d4227fd9", "7df24cf10f99"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb", "b959a668e307"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "linear-status-3": "eb79a9b3682a" + }, + "state": "19e3a37362dc", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "18d6aedd20c0", + "0c0d6ea592d5", + "0be9101a1dfc", + "dbbebbd74a18", + "2b89f7945bce", + "3b58335a0013", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-item-reply-merge.outer-refused-no-message:merge-settled", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed", "f2967c5a1118"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "19e3a37362dc", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "dbbebbd74a18", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-reply-merge.outer-refused-no-message:linear-status-settled", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed", "f2967c5a1118", "7df24cf10f99"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb", "b959a668e307"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "linear-status-3": "eb79a9b3682a" + }, + "state": "19e3a37362dc", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "dbbebbd74a18", + "0c0d6ea592d5", + "0be9101a1dfc", + "dbbebbd74a18", + "2b89f7945bce", + "3b58335a0013", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-item-reply-merge.method-not-found:merge-settled", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed", "848732dba3e1"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "2e30a3a6bdab", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "c68ce1c1e224", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-reply-merge.method-not-found:linear-status-settled", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed", "848732dba3e1", "7df24cf10f99"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb", "b959a668e307"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "linear-status-3": "eb79a9b3682a" + }, + "state": "19e3a37362dc", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "c68ce1c1e224", + "0c0d6ea592d5", + "0be9101a1dfc", + "dbbebbd74a18", + "2b89f7945bce", + "3b58335a0013", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-item-reply-merge.transport-rejection:merge-settled", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed", "49de686b4e08"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "0a46d3eb33d3", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "26374b8263d6", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-reply-merge.transport-rejection:linear-status-settled", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed", "49de686b4e08", "7df24cf10f99"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb", "b959a668e307"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "linear-status-3": "eb79a9b3682a" + }, + "state": "19e3a37362dc", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "26374b8263d6", + "0c0d6ea592d5", + "0be9101a1dfc", + "dbbebbd74a18", + "2b89f7945bce", + "3b58335a0013", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-item-reply-merge.transport-rejection-no-message:merge-settled", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed", "ff85751571ac"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "19e3a37362dc", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "dbbebbd74a18", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-reply-merge.transport-rejection-no-message:linear-status-settled", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed", "ff85751571ac", "7df24cf10f99"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb", "b959a668e307"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "linear-status-3": "eb79a9b3682a" + }, + "state": "19e3a37362dc", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "dbbebbd74a18", + "0c0d6ea592d5", + "0be9101a1dfc", + "dbbebbd74a18", + "2b89f7945bce", + "3b58335a0013", + "70678ab6df9a" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.item-reply-merge-linear.updateissue-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.item-reply-merge-linear.updateissue-1.json new file mode 100644 index 00000000000..bcd92862ef4 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.item-reply-merge-linear.updateissue-1.json @@ -0,0 +1,1993 @@ +{ + "operation": "tasks.item-reply-merge-github", + "family": "tasks.item-reply-merge", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "8f68885d57a9aa76d80ba0ee29a95bdbaa98cef29c79c68ce75d67202cde7bfe", + "scenarioSha256": "abc4b882c92ba90a52d3635fe882b2c653bc91ab4d9927f240ebee4dd147b81d", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "007c2dba2c05": { + "name": "linear.updateIssue#1", + "args": [ + { + "name": "method", + "value": "linear.updateIssue" + }, + { + "name": "params", + "value": { + "id": "issue-1", + "updates": { + "stateId": "state-2" + }, + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "036b197488e0": { + "name": "github.addPRReviewCommentReply#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.addPRReviewCommentReply\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"commentId\":501,\"body\":\"a reply\",\"threadId\":\"thread-1\",\"path\":\"src/index.ts\",\"line\":12}}" + }, + "05d134c26c53": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "08400fb91676": { + "name": "linear.updateIssue#1", + "args": [ + { + "name": "method", + "value": "linear.updateIssue" + }, + { + "name": "params", + "value": { + "id": "issue-1", + "updates": { + "stateId": "state-2" + }, + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "08f1b4229a2c": { + "name": "github.addIssueComment#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.addIssueComment\",\"params\":{\"repo\":\"id:repo-1\",\"number\":12,\"body\":\"@octocat a reply\",\"type\":\"pr\"}}" + }, + "0be9101a1dfc": { + "name": "mutatingStatus", + "value": true, + "sent": 3 + }, + "0c0d6ea592d5": { + "name": "mutatingStatus", + "value": false, + "sent": 3 + }, + "19e3a37362dc": { + "error": "", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "1b4b0c63468d": { + "error": "transport failure", + "item": { + "$rpc": "null" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "1e34370849ff": { + "name": "error", + "value": "", + "sent": 4 + }, + "2b89f7945bce": { + "name": "items", + "value": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "sent": 4 + }, + "2f84f3228054": { + "name": "itemReplyDrafts", + "value": {}, + "sent": 2 + }, + "32a3635e06a4": { + "name": "mutatingStatus", + "value": false, + "sent": 1 + }, + "3bbcb7ee26a2": { + "name": "linear.updateIssue#1", + "args": [ + { + "name": "method", + "value": "linear.updateIssue" + }, + { + "name": "params", + "value": { + "id": "issue-1", + "updates": { + "stateId": "state-2" + }, + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true + } + } + }, + "45739d7274cd": { + "name": "linear.updateIssue#1", + "args": [ + { + "name": "method", + "value": "linear.updateIssue" + }, + { + "name": "params", + "value": { + "id": "issue-1", + "updates": { + "stateId": "state-2" + }, + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "48c813e0c460": { + "error": "Unknown method", + "item": { + "$rpc": "null" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "4a38f5d5d245": { + "name": "error", + "value": "Connection closed", + "sent": 4 + }, + "5280890edee6": { + "error": "", + "item": { + "$rpc": "null" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": true, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "583b546bd557": { + "name": "mutatingStatus", + "value": true, + "sent": 1 + }, + "598d95f891dc": { + "name": "error", + "value": "Unknown method", + "sent": 4 + }, + "5ab1df79005c": { + "name": "linear.updateIssue#1", + "args": [ + { + "name": "method", + "value": "linear.updateIssue" + }, + { + "name": "params", + "value": { + "id": "issue-1", + "updates": { + "stateId": "state-2" + }, + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-4", + "ok": false + } + } + }, + "5e7c8c40ecf1": { + "name": "linear.updateIssue#1", + "args": [ + { + "name": "method", + "value": "linear.updateIssue" + }, + { + "name": "params", + "value": { + "id": "issue-1", + "updates": { + "stateId": "state-2" + }, + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "6bd857c36deb": { + "name": "github.mergePR#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.mergePR\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"method\":\"squash\"}}" + }, + "70678ab6df9a": { + "name": "mutatingStatus", + "value": false, + "sent": 4 + }, + "7bbc96cd8511": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 2 + }, + "7df24cf10f99": { + "name": "linear.updateIssue#1", + "args": [ + { + "name": "method", + "value": "linear.updateIssue" + }, + { + "name": "params", + "value": { + "id": "issue-1", + "updates": { + "stateId": "state-2" + }, + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "82983d26b169": { + "name": "mutatingStatus", + "value": true, + "sent": 2 + }, + "8b9fb662d065": { + "name": "linear.updateIssue#1", + "args": [ + { + "name": "method", + "value": "linear.updateIssue" + }, + { + "name": "params", + "value": { + "id": "issue-1", + "updates": { + "stateId": "state-2" + }, + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Connection closed", + "isRpcDeliveryUnknown": true + } + } + }, + "8cde53a56cdf": { + "name": "mutatingStatus", + "value": false, + "sent": 2 + }, + "8f08c9b94011": { + "name": "actionItem", + "value": { + "$rpc": "null" + }, + "sent": 3 + }, + "976ce137a1ed": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "@octocat a reply", + "number": 12, + "repo": "id:repo-1", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "comment": { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + }, + "ok": true + } + } + } + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "a2891bf99011": { + "name": "linear.updateIssue#1", + "args": [ + { + "name": "method", + "value": "linear.updateIssue" + }, + { + "name": "params", + "value": { + "id": "issue-1", + "updates": { + "stateId": "state-2" + }, + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-4", + "ok": false + } + } + }, + "ae78fb6dcf29": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "a reply", + "commentId": 501, + "line": 12, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1", + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "comment": { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + "ok": true + } + } + } + }, + "b19de2486603": { + "name": "itemReplyDrafts", + "value": { + "comment-2": "a reply" + }, + "sent": 1 + }, + "b57ded8a3ea3": { + "name": "error", + "value": "", + "sent": 2 + }, + "b959a668e307": { + "name": "linear.updateIssue#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"linear.updateIssue\",\"params\":{\"id\":\"issue-1\",\"workspaceId\":\"linear-workspace\",\"updates\":{\"stateId\":\"state-2\"}}}" + }, + "bc3f6bcb8a5e": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 1 + }, + "c22bc4151f3c": { + "name": "actionItem", + "value": { + "$rpc": "null" + }, + "sent": 4 + }, + "cc4a45b88bb4": { + "error": "outer refused", + "item": { + "$rpc": "null" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "cc96725d8f47": { + "name": "mutatingStatus", + "value": true, + "sent": 0 + }, + "d34e32079f6e": { + "name": "linear.updateIssue#1", + "args": [ + { + "name": "method", + "value": "linear.updateIssue" + }, + { + "name": "params", + "value": { + "id": "issue-1", + "updates": { + "stateId": "state-2" + }, + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "d4359ccca915": { + "name": "linear.updateIssue#1", + "args": [ + { + "name": "method", + "value": "linear.updateIssue" + }, + { + "name": "params", + "value": { + "id": "issue-1", + "updates": { + "stateId": "state-2" + }, + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-4", + "ok": false + } + } + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "d640b8e687fa": { + "error": "", + "item": { + "$rpc": "null" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "dbbebbd74a18": { + "name": "error", + "value": "", + "sent": 3 + }, + "e079a4228dc8": { + "error": "", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "e57a3f9ecfc9": { + "name": "error", + "value": "outer refused", + "sent": 4 + }, + "e594e65c588c": { + "name": "error", + "value": "transport failure", + "sent": 4 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ed15cd3ff2d7": { + "name": "linear.updateIssue#1", + "args": [ + { + "name": "method", + "value": "linear.updateIssue" + }, + { + "name": "params", + "value": { + "id": "issue-1", + "updates": { + "stateId": "state-2" + }, + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + } + }, + "recording": { + "scenario": "matrix-tasks.item-reply-merge-linear.updateissue-1", + "checkpoints": [ + { + "id": "tk-item-reply-merge.prelude:review-reply-settled", + "observation": { + "sender": ["ae78fb6dcf29"], + "payloads": ["036b197488e0"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a" + }, + "state": "e079a4228dc8", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4" + ] + } + }, + { + "id": "tk-item-reply-merge.prelude:issue-reply-settled", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed"], + "payloads": ["036b197488e0", "08f1b4229a2c"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a" + }, + "state": "19e3a37362dc", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-reply-merge.prelude:merge-settled", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed", "05d134c26c53"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "d640b8e687fa", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-item-reply-merge.prelude:cleanup", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed", "05d134c26c53", "8b9fb662d065"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb", "b959a668e307"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "linear-status-3": "eb79a9b3682a" + }, + "state": "5280890edee6", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5", + "0be9101a1dfc", + "dbbebbd74a18", + "4a38f5d5d245", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-item-reply-merge.normal:linear-status-settled", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed", "05d134c26c53", "7df24cf10f99"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb", "b959a668e307"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "linear-status-3": "eb79a9b3682a" + }, + "state": "d640b8e687fa", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5", + "0be9101a1dfc", + "dbbebbd74a18", + "2b89f7945bce", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-item-reply-merge.result-absent:linear-status-settled", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed", "05d134c26c53", "3bbcb7ee26a2"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb", "b959a668e307"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "linear-status-3": "eb79a9b3682a" + }, + "state": "d640b8e687fa", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5", + "0be9101a1dfc", + "dbbebbd74a18", + "2b89f7945bce", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-item-reply-merge.result-null:linear-status-settled", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed", "05d134c26c53", "d34e32079f6e"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb", "b959a668e307"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "linear-status-3": "eb79a9b3682a" + }, + "state": "d640b8e687fa", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5", + "0be9101a1dfc", + "dbbebbd74a18", + "2b89f7945bce", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-item-reply-merge.inner-ok-missing:linear-status-settled", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed", "05d134c26c53", "5e7c8c40ecf1"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb", "b959a668e307"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "linear-status-3": "eb79a9b3682a" + }, + "state": "d640b8e687fa", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5", + "0be9101a1dfc", + "dbbebbd74a18", + "2b89f7945bce", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-item-reply-merge.inner-false-string-error:linear-status-settled", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed", "05d134c26c53", "ed15cd3ff2d7"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb", "b959a668e307"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "linear-status-3": "eb79a9b3682a" + }, + "state": "d640b8e687fa", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5", + "0be9101a1dfc", + "dbbebbd74a18", + "2b89f7945bce", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-item-reply-merge.inner-false-object-error:linear-status-settled", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed", "05d134c26c53", "007c2dba2c05"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb", "b959a668e307"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "linear-status-3": "eb79a9b3682a" + }, + "state": "d640b8e687fa", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5", + "0be9101a1dfc", + "dbbebbd74a18", + "2b89f7945bce", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-item-reply-merge.outer-refused:linear-status-settled", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed", "05d134c26c53", "d4359ccca915"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb", "b959a668e307"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "linear-status-3": "eb79a9b3682a" + }, + "state": "cc4a45b88bb4", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5", + "0be9101a1dfc", + "dbbebbd74a18", + "e57a3f9ecfc9", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-item-reply-merge.outer-refused-no-message:linear-status-settled", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed", "05d134c26c53", "a2891bf99011"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb", "b959a668e307"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "linear-status-3": "eb79a9b3682a" + }, + "state": "d640b8e687fa", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5", + "0be9101a1dfc", + "dbbebbd74a18", + "1e34370849ff", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-item-reply-merge.method-not-found:linear-status-settled", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed", "05d134c26c53", "5ab1df79005c"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb", "b959a668e307"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "linear-status-3": "eb79a9b3682a" + }, + "state": "48c813e0c460", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5", + "0be9101a1dfc", + "dbbebbd74a18", + "598d95f891dc", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-item-reply-merge.transport-rejection:linear-status-settled", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed", "05d134c26c53", "08400fb91676"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb", "b959a668e307"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "linear-status-3": "eb79a9b3682a" + }, + "state": "1b4b0c63468d", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5", + "0be9101a1dfc", + "dbbebbd74a18", + "e594e65c588c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-item-reply-merge.transport-rejection-no-message:linear-status-settled", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed", "05d134c26c53", "45739d7274cd"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb", "b959a668e307"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "linear-status-3": "eb79a9b3682a" + }, + "state": "d640b8e687fa", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5", + "0be9101a1dfc", + "dbbebbd74a18", + "1e34370849ff", + "70678ab6df9a" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.item-review-github-github.prchecks-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.item-review-github-github.prchecks-1.json new file mode 100644 index 00000000000..a912818a487 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.item-review-github-github.prchecks-1.json @@ -0,0 +1,1801 @@ +{ + "operation": "tasks.item-review-github", + "family": "tasks.item-review-github", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "8f68885d57a9aa76d80ba0ee29a95bdbaa98cef29c79c68ce75d67202cde7bfe", + "scenarioSha256": "77b0812842903075bb3d3ec1f7bcea94b1e1dac5993c3c8854bd4c3d2a567988", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "000516aa083b": { + "name": "error", + "value": "outer refused", + "sent": 2 + }, + "0879b3f9a393": { + "name": "itemReviewersDraft", + "value": "", + "sent": 1 + }, + "08cd8ff10033": { + "name": "error", + "value": "Invalid checks response", + "sent": 2 + }, + "0de54b42541b": { + "name": "items", + "value": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "sent": 1 + }, + "193449bf1c4d": { + "draft": "a comment", + "error": "transport failure", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + } + }, + "1a20f26b6a0f": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "sent": 1 + }, + "227732d86ad6": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha", + "noCache": true, + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Connection closed", + "isRpcDeliveryUnknown": true + } + } + }, + "32a3635e06a4": { + "name": "mutatingStatus", + "value": false, + "sent": 1 + }, + "35b06a3e84d7": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha", + "noCache": true, + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "39e5f350a12a": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha", + "noCache": true, + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "3d317dffb023": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha", + "noCache": true, + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "49bfc4ebe9c1": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha", + "noCache": true, + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "4fdc894b14c6": { + "name": "github.prChecks#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.prChecks\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"headSha\":\"head-sha\",\"noCache\":true}}" + }, + "52d25e1f3035": { + "name": "error", + "value": "Connection closed", + "sent": 2 + }, + "53b8bc3863fe": { + "name": "github.requestPRReviewers#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.requestPRReviewers\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"reviewers\":[\"octocat\"]}}" + }, + "5652285eaff7": { + "draft": "a comment", + "error": "", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "mutating": true, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + } + }, + "583b546bd557": { + "name": "mutatingStatus", + "value": true, + "sent": 1 + }, + "5c2874ad80bc": { + "name": "error", + "value": "transport failure", + "sent": 2 + }, + "5ff04b5a92eb": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha", + "noCache": true, + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "76563654aeaf": { + "name": "actionItem", + "value": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "sent": 1 + }, + "83c824cc5deb": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "sent": 2 + }, + "852540b712d7": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha", + "noCache": true, + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "889936f92195": { + "draft": "a comment", + "error": "", + "item": { + "provider": "github", + "source": { + "checksSummary": { + "failed": 0, + "neutral": 0, + "passed": 1, + "pending": 0, + "state": "success", + "total": 1 + }, + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + } + }, + "8cde53a56cdf": { + "name": "mutatingStatus", + "value": false, + "sent": 2 + }, + "8e390a30a275": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha", + "noCache": true, + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ] + } + } + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "aaec5330620b": { + "name": "items", + "value": [ + { + "provider": "github", + "source": { + "checksSummary": { + "failed": 0, + "neutral": 0, + "passed": 1, + "pending": 0, + "state": "success", + "total": 1 + }, + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "sent": 2 + }, + "ad435cdf6cd7": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha", + "noCache": true, + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "af4362c9bf04": { + "draft": "a comment", + "error": "outer refused", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + } + }, + "b57ded8a3ea3": { + "name": "error", + "value": "", + "sent": 2 + }, + "b887895c4829": { + "draft": "a comment", + "error": "Unknown method", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + } + }, + "b980a4f03682": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha", + "noCache": true, + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "c52d84cfe1e5": { + "name": "actionItem", + "value": { + "provider": "github", + "source": { + "checksSummary": { + "failed": 0, + "neutral": 0, + "passed": 1, + "pending": 0, + "state": "success", + "total": 1 + }, + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "sent": 2 + }, + "c6919e95e93b": { + "draft": "a comment", + "error": "", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + } + }, + "cc50caed33f4": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha", + "noCache": true, + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "cc96725d8f47": { + "name": "mutatingStatus", + "value": true, + "sent": 0 + }, + "d1b002eaac7d": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha", + "noCache": true, + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "d4d38f1bf018": { + "name": "github.requestPRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.requestPRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-1", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f1cfc2d1bcc1": { + "name": "error", + "value": "Unknown method", + "sent": 2 + }, + "f30de670023b": { + "draft": "a comment", + "error": "Invalid checks response", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + } + } + }, + "recording": { + "scenario": "matrix-tasks.item-review-github-github.prchecks-1", + "checkpoints": [ + { + "id": "tk-item-review-github.prelude:reviewers-settled", + "observation": { + "sender": ["d4d38f1bf018"], + "payloads": ["53b8bc3863fe"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a" + }, + "state": "c6919e95e93b", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "76563654aeaf", + "0de54b42541b", + "1a20f26b6a0f", + "0879b3f9a393", + "32a3635e06a4" + ] + } + }, + { + "id": "tk-item-review-github.prelude:cleanup", + "observation": { + "sender": ["d4d38f1bf018", "227732d86ad6"], + "payloads": ["53b8bc3863fe", "4fdc894b14c6"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "5652285eaff7", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "76563654aeaf", + "0de54b42541b", + "1a20f26b6a0f", + "0879b3f9a393", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "52d25e1f3035", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-review-github.normal:checks-settled", + "observation": { + "sender": ["d4d38f1bf018", "8e390a30a275"], + "payloads": ["53b8bc3863fe", "4fdc894b14c6"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "889936f92195", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "76563654aeaf", + "0de54b42541b", + "1a20f26b6a0f", + "0879b3f9a393", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "83c824cc5deb", + "c52d84cfe1e5", + "aaec5330620b", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-review-github.result-absent:checks-settled", + "observation": { + "sender": ["d4d38f1bf018", "49bfc4ebe9c1"], + "payloads": ["53b8bc3863fe", "4fdc894b14c6"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "f30de670023b", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "76563654aeaf", + "0de54b42541b", + "1a20f26b6a0f", + "0879b3f9a393", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "08cd8ff10033", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-review-github.result-null:checks-settled", + "observation": { + "sender": ["d4d38f1bf018", "35b06a3e84d7"], + "payloads": ["53b8bc3863fe", "4fdc894b14c6"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "f30de670023b", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "76563654aeaf", + "0de54b42541b", + "1a20f26b6a0f", + "0879b3f9a393", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "08cd8ff10033", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-review-github.inner-ok-missing:checks-settled", + "observation": { + "sender": ["d4d38f1bf018", "b980a4f03682"], + "payloads": ["53b8bc3863fe", "4fdc894b14c6"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "f30de670023b", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "76563654aeaf", + "0de54b42541b", + "1a20f26b6a0f", + "0879b3f9a393", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "08cd8ff10033", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-review-github.inner-false-string-error:checks-settled", + "observation": { + "sender": ["d4d38f1bf018", "ad435cdf6cd7"], + "payloads": ["53b8bc3863fe", "4fdc894b14c6"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "f30de670023b", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "76563654aeaf", + "0de54b42541b", + "1a20f26b6a0f", + "0879b3f9a393", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "08cd8ff10033", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-review-github.inner-false-object-error:checks-settled", + "observation": { + "sender": ["d4d38f1bf018", "cc50caed33f4"], + "payloads": ["53b8bc3863fe", "4fdc894b14c6"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "f30de670023b", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "76563654aeaf", + "0de54b42541b", + "1a20f26b6a0f", + "0879b3f9a393", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "08cd8ff10033", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-review-github.outer-refused:checks-settled", + "observation": { + "sender": ["d4d38f1bf018", "d1b002eaac7d"], + "payloads": ["53b8bc3863fe", "4fdc894b14c6"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "af4362c9bf04", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "76563654aeaf", + "0de54b42541b", + "1a20f26b6a0f", + "0879b3f9a393", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "000516aa083b", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-review-github.outer-refused-no-message:checks-settled", + "observation": { + "sender": ["d4d38f1bf018", "3d317dffb023"], + "payloads": ["53b8bc3863fe", "4fdc894b14c6"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "c6919e95e93b", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "76563654aeaf", + "0de54b42541b", + "1a20f26b6a0f", + "0879b3f9a393", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "b57ded8a3ea3", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-review-github.method-not-found:checks-settled", + "observation": { + "sender": ["d4d38f1bf018", "39e5f350a12a"], + "payloads": ["53b8bc3863fe", "4fdc894b14c6"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "b887895c4829", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "76563654aeaf", + "0de54b42541b", + "1a20f26b6a0f", + "0879b3f9a393", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "f1cfc2d1bcc1", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-review-github.transport-rejection:checks-settled", + "observation": { + "sender": ["d4d38f1bf018", "852540b712d7"], + "payloads": ["53b8bc3863fe", "4fdc894b14c6"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "193449bf1c4d", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "76563654aeaf", + "0de54b42541b", + "1a20f26b6a0f", + "0879b3f9a393", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "5c2874ad80bc", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-review-github.transport-rejection-no-message:checks-settled", + "observation": { + "sender": ["d4d38f1bf018", "5ff04b5a92eb"], + "payloads": ["53b8bc3863fe", "4fdc894b14c6"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "c6919e95e93b", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "76563654aeaf", + "0de54b42541b", + "1a20f26b6a0f", + "0879b3f9a393", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "b57ded8a3ea3", + "8cde53a56cdf" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.item-review-github-github.requestprreviewers-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.item-review-github-github.requestprreviewers-1.json new file mode 100644 index 00000000000..22816563058 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.item-review-github-github.requestprreviewers-1.json @@ -0,0 +1,2166 @@ +{ + "operation": "tasks.item-review-github", + "family": "tasks.item-review-github", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "8f68885d57a9aa76d80ba0ee29a95bdbaa98cef29c79c68ce75d67202cde7bfe", + "scenarioSha256": "96a1813de0159396f6a5eb36a764fad4511de0a25eff6323571e1fade2a7f334", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "02077b59a856": { + "name": "github.requestPRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.requestPRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-1", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "06fb2e0c8ddc": { + "draft": "a comment", + "error": "", + "item": { + "provider": "github", + "source": { + "checksSummary": { + "failed": 0, + "neutral": 0, + "passed": 1, + "pending": 0, + "state": "success", + "total": 1 + }, + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "0879b3f9a393": { + "name": "itemReviewersDraft", + "value": "", + "sent": 1 + }, + "0de54b42541b": { + "name": "items", + "value": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "sent": 1 + }, + "1304a065ad27": { + "name": "items", + "value": [ + { + "provider": "github", + "source": { + "checksSummary": { + "failed": 0, + "neutral": 0, + "passed": 1, + "pending": 0, + "state": "success", + "total": 1 + }, + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "sent": 2 + }, + "17d23d758a0f": { + "name": "github.requestPRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.requestPRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-1", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-1", + "ok": false + } + } + }, + "198ac889ae28": { + "name": "error", + "value": "transport failure", + "sent": 1 + }, + "1a1af92c10dc": { + "draft": "a comment", + "error": "outer refused", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "1a20f26b6a0f": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "sent": 1 + }, + "1a5c7547618c": { + "name": "github.requestPRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.requestPRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-1", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "2f2d665111d8": { + "draft": "a comment", + "error": "[object Object]", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "30e9bc33b669": { + "name": "github.requestPRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.requestPRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-1", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "32a3635e06a4": { + "name": "mutatingStatus", + "value": false, + "sent": 1 + }, + "3a7dc8156612": { + "name": "github.requestPRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.requestPRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-1", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "4e3feedcd52b": { + "draft": "a comment", + "error": "", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "4fdc894b14c6": { + "name": "github.prChecks#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.prChecks\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"headSha\":\"head-sha\",\"noCache\":true}}" + }, + "53b8bc3863fe": { + "name": "github.requestPRReviewers#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.requestPRReviewers\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"reviewers\":[\"octocat\"]}}" + }, + "583b546bd557": { + "name": "mutatingStatus", + "value": true, + "sent": 1 + }, + "5f9a509bc8df": { + "name": "github.requestPRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.requestPRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-1", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "74f978b1ca22": { + "name": "actionItem", + "value": { + "provider": "github", + "source": { + "checksSummary": { + "failed": 0, + "neutral": 0, + "passed": 1, + "pending": 0, + "state": "success", + "total": 1 + }, + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "sent": 2 + }, + "76563654aeaf": { + "name": "actionItem", + "value": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "sent": 1 + }, + "7d901d60a01a": { + "name": "error", + "value": "[object Object]", + "sent": 1 + }, + "7ff6d84effbc": { + "draft": "a comment", + "error": "transport failure", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "83c824cc5deb": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "sent": 2 + }, + "87f8d2d1da8a": { + "name": "github.requestPRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.requestPRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-1", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "889936f92195": { + "draft": "a comment", + "error": "", + "item": { + "provider": "github", + "source": { + "checksSummary": { + "failed": 0, + "neutral": 0, + "passed": 1, + "pending": 0, + "state": "success", + "total": 1 + }, + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + } + }, + "8cde53a56cdf": { + "name": "mutatingStatus", + "value": false, + "sent": 2 + }, + "8e390a30a275": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha", + "noCache": true, + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ] + } + } + }, + "96d642554487": { + "name": "github.requestPRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.requestPRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-1", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "a68fceb8e7f7": { + "name": "github.requestPRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.requestPRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-1", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "aaec5330620b": { + "name": "items", + "value": [ + { + "provider": "github", + "source": { + "checksSummary": { + "failed": 0, + "neutral": 0, + "passed": 1, + "pending": 0, + "state": "success", + "total": 1 + }, + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "sent": 2 + }, + "b53c339a3854": { + "name": "error", + "value": "Unknown method", + "sent": 1 + }, + "c4f585980acf": { + "name": "error", + "value": "inner refused", + "sent": 1 + }, + "c52d84cfe1e5": { + "name": "actionItem", + "value": { + "provider": "github", + "source": { + "checksSummary": { + "failed": 0, + "neutral": 0, + "passed": 1, + "pending": 0, + "state": "success", + "total": 1 + }, + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "sent": 2 + }, + "c6919e95e93b": { + "draft": "a comment", + "error": "", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + } + }, + "c939abf83c6c": { + "name": "error", + "value": "Cannot read properties of undefined (reading 'ok')", + "sent": 1 + }, + "caa676e9ffbb": { + "name": "github.requestPRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.requestPRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-1", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "cc96725d8f47": { + "name": "mutatingStatus", + "value": true, + "sent": 0 + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "d4d38f1bf018": { + "name": "github.requestPRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.requestPRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-1", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "dcee72c8c890": { + "draft": "a comment", + "error": "inner refused", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "e2fd98165a4f": { + "draft": "a comment", + "error": "Unknown method", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "e3d7c112407f": { + "draft": "a comment", + "error": "Cannot read properties of undefined (reading 'ok')", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f46434871961": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 2 + }, + "f791567b212f": { + "name": "error", + "value": "outer refused", + "sent": 1 + }, + "faf0249fca3c": { + "name": "error", + "value": "Cannot read properties of null (reading 'ok')", + "sent": 1 + }, + "fde74dd88b48": { + "draft": "a comment", + "error": "Cannot read properties of null (reading 'ok')", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + } + }, + "recording": { + "scenario": "matrix-tasks.item-review-github-github.requestprreviewers-1", + "checkpoints": [ + { + "id": "tk-item-review-github.normal:reviewers-settled", + "observation": { + "sender": ["d4d38f1bf018"], + "payloads": ["53b8bc3863fe"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a" + }, + "state": "c6919e95e93b", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "76563654aeaf", + "0de54b42541b", + "1a20f26b6a0f", + "0879b3f9a393", + "32a3635e06a4" + ] + } + }, + { + "id": "tk-item-review-github.normal:checks-settled", + "observation": { + "sender": ["d4d38f1bf018", "8e390a30a275"], + "payloads": ["53b8bc3863fe", "4fdc894b14c6"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "889936f92195", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "76563654aeaf", + "0de54b42541b", + "1a20f26b6a0f", + "0879b3f9a393", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "83c824cc5deb", + "c52d84cfe1e5", + "aaec5330620b", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-review-github.result-absent:reviewers-settled", + "observation": { + "sender": ["87f8d2d1da8a"], + "payloads": ["53b8bc3863fe"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a" + }, + "state": "e3d7c112407f", + "effects": ["cc96725d8f47", "9e263f5e91be", "c939abf83c6c", "32a3635e06a4"] + } + }, + { + "id": "tk-item-review-github.result-absent:checks-settled", + "observation": { + "sender": ["87f8d2d1da8a", "8e390a30a275"], + "payloads": ["53b8bc3863fe", "4fdc894b14c6"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "06fb2e0c8ddc", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "c939abf83c6c", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "f46434871961", + "74f978b1ca22", + "1304a065ad27", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-review-github.result-null:reviewers-settled", + "observation": { + "sender": ["caa676e9ffbb"], + "payloads": ["53b8bc3863fe"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a" + }, + "state": "fde74dd88b48", + "effects": ["cc96725d8f47", "9e263f5e91be", "faf0249fca3c", "32a3635e06a4"] + } + }, + { + "id": "tk-item-review-github.result-null:checks-settled", + "observation": { + "sender": ["caa676e9ffbb", "8e390a30a275"], + "payloads": ["53b8bc3863fe", "4fdc894b14c6"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "06fb2e0c8ddc", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "faf0249fca3c", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "f46434871961", + "74f978b1ca22", + "1304a065ad27", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-review-github.inner-ok-missing:reviewers-settled", + "observation": { + "sender": ["a68fceb8e7f7"], + "payloads": ["53b8bc3863fe"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a" + }, + "state": "c6919e95e93b", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "76563654aeaf", + "0de54b42541b", + "1a20f26b6a0f", + "0879b3f9a393", + "32a3635e06a4" + ] + } + }, + { + "id": "tk-item-review-github.inner-ok-missing:checks-settled", + "observation": { + "sender": ["a68fceb8e7f7", "8e390a30a275"], + "payloads": ["53b8bc3863fe", "4fdc894b14c6"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "889936f92195", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "76563654aeaf", + "0de54b42541b", + "1a20f26b6a0f", + "0879b3f9a393", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "83c824cc5deb", + "c52d84cfe1e5", + "aaec5330620b", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-review-github.inner-false-string-error:reviewers-settled", + "observation": { + "sender": ["5f9a509bc8df"], + "payloads": ["53b8bc3863fe"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a" + }, + "state": "dcee72c8c890", + "effects": ["cc96725d8f47", "9e263f5e91be", "c4f585980acf", "32a3635e06a4"] + } + }, + { + "id": "tk-item-review-github.inner-false-string-error:checks-settled", + "observation": { + "sender": ["5f9a509bc8df", "8e390a30a275"], + "payloads": ["53b8bc3863fe", "4fdc894b14c6"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "06fb2e0c8ddc", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "c4f585980acf", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "f46434871961", + "74f978b1ca22", + "1304a065ad27", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-review-github.inner-false-object-error:reviewers-settled", + "observation": { + "sender": ["3a7dc8156612"], + "payloads": ["53b8bc3863fe"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a" + }, + "state": "2f2d665111d8", + "effects": ["cc96725d8f47", "9e263f5e91be", "7d901d60a01a", "32a3635e06a4"] + } + }, + { + "id": "tk-item-review-github.inner-false-object-error:checks-settled", + "observation": { + "sender": ["3a7dc8156612", "8e390a30a275"], + "payloads": ["53b8bc3863fe", "4fdc894b14c6"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "06fb2e0c8ddc", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "7d901d60a01a", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "f46434871961", + "74f978b1ca22", + "1304a065ad27", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-review-github.outer-refused:reviewers-settled", + "observation": { + "sender": ["30e9bc33b669"], + "payloads": ["53b8bc3863fe"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a" + }, + "state": "1a1af92c10dc", + "effects": ["cc96725d8f47", "9e263f5e91be", "f791567b212f", "32a3635e06a4"] + } + }, + { + "id": "tk-item-review-github.outer-refused:checks-settled", + "observation": { + "sender": ["30e9bc33b669", "8e390a30a275"], + "payloads": ["53b8bc3863fe", "4fdc894b14c6"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "06fb2e0c8ddc", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "f791567b212f", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "f46434871961", + "74f978b1ca22", + "1304a065ad27", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-review-github.outer-refused-no-message:reviewers-settled", + "observation": { + "sender": ["96d642554487"], + "payloads": ["53b8bc3863fe"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a" + }, + "state": "4e3feedcd52b", + "effects": ["cc96725d8f47", "9e263f5e91be", "d48d5c49486c", "32a3635e06a4"] + } + }, + { + "id": "tk-item-review-github.outer-refused-no-message:checks-settled", + "observation": { + "sender": ["96d642554487", "8e390a30a275"], + "payloads": ["53b8bc3863fe", "4fdc894b14c6"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "06fb2e0c8ddc", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "d48d5c49486c", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "f46434871961", + "74f978b1ca22", + "1304a065ad27", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-review-github.method-not-found:reviewers-settled", + "observation": { + "sender": ["17d23d758a0f"], + "payloads": ["53b8bc3863fe"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a" + }, + "state": "e2fd98165a4f", + "effects": ["cc96725d8f47", "9e263f5e91be", "b53c339a3854", "32a3635e06a4"] + } + }, + { + "id": "tk-item-review-github.method-not-found:checks-settled", + "observation": { + "sender": ["17d23d758a0f", "8e390a30a275"], + "payloads": ["53b8bc3863fe", "4fdc894b14c6"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "06fb2e0c8ddc", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b53c339a3854", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "f46434871961", + "74f978b1ca22", + "1304a065ad27", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-review-github.transport-rejection:reviewers-settled", + "observation": { + "sender": ["1a5c7547618c"], + "payloads": ["53b8bc3863fe"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a" + }, + "state": "7ff6d84effbc", + "effects": ["cc96725d8f47", "9e263f5e91be", "198ac889ae28", "32a3635e06a4"] + } + }, + { + "id": "tk-item-review-github.transport-rejection:checks-settled", + "observation": { + "sender": ["1a5c7547618c", "8e390a30a275"], + "payloads": ["53b8bc3863fe", "4fdc894b14c6"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "06fb2e0c8ddc", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "198ac889ae28", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "f46434871961", + "74f978b1ca22", + "1304a065ad27", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-review-github.transport-rejection-no-message:reviewers-settled", + "observation": { + "sender": ["02077b59a856"], + "payloads": ["53b8bc3863fe"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a" + }, + "state": "4e3feedcd52b", + "effects": ["cc96725d8f47", "9e263f5e91be", "d48d5c49486c", "32a3635e06a4"] + } + }, + { + "id": "tk-item-review-github.transport-rejection-no-message:checks-settled", + "observation": { + "sender": ["02077b59a856", "8e390a30a275"], + "payloads": ["53b8bc3863fe", "4fdc894b14c6"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "06fb2e0c8ddc", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "d48d5c49486c", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "f46434871961", + "74f978b1ca22", + "1304a065ad27", + "8cde53a56cdf" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.item-status-gitlab-github.updateissue-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.item-status-gitlab-github.updateissue-1.json new file mode 100644 index 00000000000..569ce1fdd60 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.item-status-gitlab-github.updateissue-1.json @@ -0,0 +1,1323 @@ +{ + "operation": "tasks.item-status-gitlab", + "family": "tasks.item-status-gitlab", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "8c4218bfb2af227da5386f29989cec438f2c6187f39ce1c06859e136ea920bfa", + "scenarioSha256": "57c41b51e34e451975a9f28a6461aa3b8e9dcf04cbebaea80ddf14afc4b78edf", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "000516aa083b": { + "name": "error", + "value": "outer refused", + "sent": 2 + }, + "0d406a5fe28c": { + "name": "github.updateIssue#1", + "args": [ + { + "name": "method", + "value": "github.updateIssue" + }, + { + "name": "params", + "value": { + "number": 9, + "repo": "id:repo-1", + "updates": { + "addLabels": ["triage"], + "removeLabels": ["bug"], + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "11bc28dfeb05": { + "error": "Cannot read properties of null (reading 'ok')", + "item": { + "$rpc": "null" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "132591a733d1": { + "name": "gitlab.updateIssue#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"gitlab.updateIssue\",\"params\":{\"repo\":\"id:repo-1\",\"number\":4,\"updates\":{\"state\":\"closed\"},\"projectRef\":\"group/project\"}}" + }, + "13b233a5bc5a": { + "name": "itemRemoveAssigneesDraft", + "value": "", + "sent": 2 + }, + "1a810f391376": { + "name": "github.updateIssue#1", + "args": [ + { + "name": "method", + "value": "github.updateIssue" + }, + { + "name": "params", + "value": { + "number": 9, + "repo": "id:repo-1", + "updates": { + "addLabels": ["triage"], + "removeLabels": ["bug"], + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "214ca42de359": { + "error": "Unknown method", + "item": { + "$rpc": "null" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "2e4f742ab84f": { + "error": "", + "item": { + "$rpc": "null" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + } + ], + "mutating": true, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "32a3635e06a4": { + "name": "mutatingStatus", + "value": false, + "sent": 1 + }, + "3c6c54110c00": { + "name": "itemRemoveLabelsDraft", + "value": "", + "sent": 2 + }, + "3eecde91c360": { + "name": "error", + "value": "inner refused", + "sent": 2 + }, + "46938ed15335": { + "name": "github.updateIssue#1", + "args": [ + { + "name": "method", + "value": "github.updateIssue" + }, + { + "name": "params", + "value": { + "number": 9, + "repo": "id:repo-1", + "updates": { + "addLabels": ["triage"], + "removeLabels": ["bug"], + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "51d9bbde2d12": { + "error": "inner refused", + "item": { + "$rpc": "null" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "52b163f18d0b": { + "error": "transport failure", + "item": { + "$rpc": "null" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "52d25e1f3035": { + "name": "error", + "value": "Connection closed", + "sent": 2 + }, + "53ddf1fb8329": { + "name": "github.updateIssue#1", + "args": [ + { + "name": "method", + "value": "github.updateIssue" + }, + { + "name": "params", + "value": { + "number": 9, + "repo": "id:repo-1", + "updates": { + "addLabels": ["triage"], + "removeLabels": ["bug"], + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "5430dc9c82ae": { + "name": "github.updateIssue#1", + "args": [ + { + "name": "method", + "value": "github.updateIssue" + }, + { + "name": "params", + "value": { + "number": 9, + "repo": "id:repo-1", + "updates": { + "addLabels": ["triage"], + "removeLabels": ["bug"], + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "57fc55c08a0c": { + "name": "github.updateIssue#1", + "args": [ + { + "name": "method", + "value": "github.updateIssue" + }, + { + "name": "params", + "value": { + "number": 9, + "repo": "id:repo-1", + "updates": { + "addLabels": ["triage"], + "removeLabels": ["bug"], + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "583b546bd557": { + "name": "mutatingStatus", + "value": true, + "sent": 1 + }, + "5c2874ad80bc": { + "name": "error", + "value": "transport failure", + "sent": 2 + }, + "6502de5a8b97": { + "name": "github.updateIssue#1", + "args": [ + { + "name": "method", + "value": "github.updateIssue" + }, + { + "name": "params", + "value": { + "number": 9, + "repo": "id:repo-1", + "updates": { + "addLabels": ["triage"], + "removeLabels": ["bug"], + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "6b02e1a29337": { + "name": "github.updateIssue#1", + "args": [ + { + "name": "method", + "value": "github.updateIssue" + }, + { + "name": "params", + "value": { + "number": 9, + "repo": "id:repo-1", + "updates": { + "addLabels": ["triage"], + "removeLabels": ["bug"], + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Connection closed", + "isRpcDeliveryUnknown": true + } + } + }, + "71cb3feddd6c": { + "name": "github.updateIssue#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.updateIssue\",\"params\":{\"repo\":\"id:repo-1\",\"number\":9,\"updates\":{\"title\":\"Renamed\",\"addLabels\":[\"triage\"],\"removeLabels\":[\"bug\"]}}}" + }, + "779cb33e2c39": { + "name": "gitlab.updateIssue#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateIssue" + }, + { + "name": "params", + "value": { + "number": 4, + "projectRef": "group/project", + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "7aef08e33983": { + "error": "Cannot read properties of undefined (reading 'ok')", + "item": { + "$rpc": "null" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "7ff9a871c9b4": { + "name": "itemAddLabelsDraft", + "value": "", + "sent": 2 + }, + "84465663f388": { + "name": "actionItem", + "value": { + "$rpc": "null" + }, + "sent": 1 + }, + "8803676e3004": { + "error": "outer refused", + "item": { + "$rpc": "null" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "893c7ff30ddf": { + "name": "items", + "value": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + } + ], + "sent": 2 + }, + "8cb676b78862": { + "name": "error", + "value": "Cannot read properties of undefined (reading 'ok')", + "sent": 2 + }, + "8cde53a56cdf": { + "name": "mutatingStatus", + "value": false, + "sent": 2 + }, + "9206a8ba61dd": { + "name": "github.updateIssue#1", + "args": [ + { + "name": "method", + "value": "github.updateIssue" + }, + { + "name": "params", + "value": { + "number": 9, + "repo": "id:repo-1", + "updates": { + "addLabels": ["triage"], + "removeLabels": ["bug"], + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "993c830982a5": { + "error": "[object Object]", + "item": { + "$rpc": "null" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "9999466f95f3": { + "name": "detailPayload", + "value": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + }, + "sent": 2 + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "9fb1b1ad3675": { + "name": "github.updateIssue#1", + "args": [ + { + "name": "method", + "value": "github.updateIssue" + }, + { + "name": "params", + "value": { + "number": 9, + "repo": "id:repo-1", + "updates": { + "addLabels": ["triage"], + "removeLabels": ["bug"], + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "ad5f976dd33c": { + "name": "github.updateIssue#1", + "args": [ + { + "name": "method", + "value": "github.updateIssue" + }, + { + "name": "params", + "value": { + "number": 9, + "repo": "id:repo-1", + "updates": { + "addLabels": ["triage"], + "removeLabels": ["bug"], + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "b3786fd78eba": { + "name": "actionItem", + "value": { + "$rpc": "null" + }, + "sent": 2 + }, + "b57ded8a3ea3": { + "name": "error", + "value": "", + "sent": 2 + }, + "c23d4fe1d079": { + "name": "error", + "value": "Cannot read properties of null (reading 'ok')", + "sent": 2 + }, + "cc96725d8f47": { + "name": "mutatingStatus", + "value": true, + "sent": 0 + }, + "cdbac770b5e9": { + "name": "error", + "value": "[object Object]", + "sent": 2 + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "d9d32e421d46": { + "error": "", + "item": { + "$rpc": "null" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "e9d113f34a4a": { + "name": "github.updateIssue#1", + "args": [ + { + "name": "method", + "value": "github.updateIssue" + }, + { + "name": "params", + "value": { + "number": 9, + "repo": "id:repo-1", + "updates": { + "addLabels": ["triage"], + "removeLabels": ["bug"], + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ec6aee3704e2": { + "name": "itemAddAssigneesDraft", + "value": "", + "sent": 2 + }, + "f1cfc2d1bcc1": { + "name": "error", + "value": "Unknown method", + "sent": 2 + } + }, + "recording": { + "scenario": "matrix-tasks.item-status-gitlab-github.updateissue-1", + "checkpoints": [ + { + "id": "tk-item-status-gitlab.prelude:gitlab-status-settled", + "observation": { + "sender": ["779cb33e2c39"], + "payloads": ["132591a733d1"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a" + }, + "state": "d9d32e421d46", + "effects": ["cc96725d8f47", "9e263f5e91be", "84465663f388", "32a3635e06a4"] + } + }, + { + "id": "tk-item-status-gitlab.prelude:cleanup", + "observation": { + "sender": ["779cb33e2c39", "6b02e1a29337"], + "payloads": ["132591a733d1", "71cb3feddd6c"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a", + "github-metadata-1": "eb79a9b3682a" + }, + "state": "2e4f742ab84f", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "84465663f388", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "52d25e1f3035", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-status-gitlab.normal:github-metadata-settled", + "observation": { + "sender": ["779cb33e2c39", "9fb1b1ad3675"], + "payloads": ["132591a733d1", "71cb3feddd6c"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a", + "github-metadata-1": "eb79a9b3682a" + }, + "state": "d9d32e421d46", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "84465663f388", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "b3786fd78eba", + "893c7ff30ddf", + "9999466f95f3", + "7ff9a871c9b4", + "3c6c54110c00", + "ec6aee3704e2", + "13b233a5bc5a", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-status-gitlab.result-absent:github-metadata-settled", + "observation": { + "sender": ["779cb33e2c39", "46938ed15335"], + "payloads": ["132591a733d1", "71cb3feddd6c"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a", + "github-metadata-1": "eb79a9b3682a" + }, + "state": "7aef08e33983", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "84465663f388", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "8cb676b78862", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-status-gitlab.result-null:github-metadata-settled", + "observation": { + "sender": ["779cb33e2c39", "9206a8ba61dd"], + "payloads": ["132591a733d1", "71cb3feddd6c"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a", + "github-metadata-1": "eb79a9b3682a" + }, + "state": "11bc28dfeb05", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "84465663f388", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "c23d4fe1d079", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-status-gitlab.inner-ok-missing:github-metadata-settled", + "observation": { + "sender": ["779cb33e2c39", "0d406a5fe28c"], + "payloads": ["132591a733d1", "71cb3feddd6c"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a", + "github-metadata-1": "eb79a9b3682a" + }, + "state": "d9d32e421d46", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "84465663f388", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "b3786fd78eba", + "893c7ff30ddf", + "9999466f95f3", + "7ff9a871c9b4", + "3c6c54110c00", + "ec6aee3704e2", + "13b233a5bc5a", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-status-gitlab.inner-false-string-error:github-metadata-settled", + "observation": { + "sender": ["779cb33e2c39", "5430dc9c82ae"], + "payloads": ["132591a733d1", "71cb3feddd6c"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a", + "github-metadata-1": "eb79a9b3682a" + }, + "state": "51d9bbde2d12", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "84465663f388", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "3eecde91c360", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-status-gitlab.inner-false-object-error:github-metadata-settled", + "observation": { + "sender": ["779cb33e2c39", "e9d113f34a4a"], + "payloads": ["132591a733d1", "71cb3feddd6c"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a", + "github-metadata-1": "eb79a9b3682a" + }, + "state": "993c830982a5", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "84465663f388", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "cdbac770b5e9", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-status-gitlab.outer-refused:github-metadata-settled", + "observation": { + "sender": ["779cb33e2c39", "1a810f391376"], + "payloads": ["132591a733d1", "71cb3feddd6c"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a", + "github-metadata-1": "eb79a9b3682a" + }, + "state": "8803676e3004", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "84465663f388", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "000516aa083b", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-status-gitlab.outer-refused-no-message:github-metadata-settled", + "observation": { + "sender": ["779cb33e2c39", "6502de5a8b97"], + "payloads": ["132591a733d1", "71cb3feddd6c"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a", + "github-metadata-1": "eb79a9b3682a" + }, + "state": "d9d32e421d46", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "84465663f388", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "b57ded8a3ea3", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-status-gitlab.method-not-found:github-metadata-settled", + "observation": { + "sender": ["779cb33e2c39", "57fc55c08a0c"], + "payloads": ["132591a733d1", "71cb3feddd6c"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a", + "github-metadata-1": "eb79a9b3682a" + }, + "state": "214ca42de359", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "84465663f388", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "f1cfc2d1bcc1", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-status-gitlab.transport-rejection:github-metadata-settled", + "observation": { + "sender": ["779cb33e2c39", "53ddf1fb8329"], + "payloads": ["132591a733d1", "71cb3feddd6c"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a", + "github-metadata-1": "eb79a9b3682a" + }, + "state": "52b163f18d0b", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "84465663f388", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "5c2874ad80bc", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-status-gitlab.transport-rejection-no-message:github-metadata-settled", + "observation": { + "sender": ["779cb33e2c39", "ad5f976dd33c"], + "payloads": ["132591a733d1", "71cb3feddd6c"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a", + "github-metadata-1": "eb79a9b3682a" + }, + "state": "d9d32e421d46", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "84465663f388", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "b57ded8a3ea3", + "8cde53a56cdf" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.item-status-gitlab-gitlab.updateissue-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.item-status-gitlab-gitlab.updateissue-1.json new file mode 100644 index 00000000000..6c3dded62fd --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.item-status-gitlab-gitlab.updateissue-1.json @@ -0,0 +1,1524 @@ +{ + "operation": "tasks.item-status-gitlab", + "family": "tasks.item-status-gitlab", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "8c4218bfb2af227da5386f29989cec438f2c6187f39ce1c06859e136ea920bfa", + "scenarioSha256": "64a7af1bfac25dfe673832ef0ef7776be8d1a628c995eafd938fa3ad11d7ba0f", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0a5028edd717": { + "error": "inner refused", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "132591a733d1": { + "name": "gitlab.updateIssue#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"gitlab.updateIssue\",\"params\":{\"repo\":\"id:repo-1\",\"number\":4,\"updates\":{\"state\":\"closed\"},\"projectRef\":\"group/project\"}}" + }, + "13b233a5bc5a": { + "name": "itemRemoveAssigneesDraft", + "value": "", + "sent": 2 + }, + "17f5e522f786": { + "name": "gitlab.updateIssue#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateIssue" + }, + { + "name": "params", + "value": { + "number": 4, + "projectRef": "group/project", + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "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 + } + } + }, + "198ac889ae28": { + "name": "error", + "value": "transport failure", + "sent": 1 + }, + "21940eac2e09": { + "name": "gitlab.updateIssue#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateIssue" + }, + { + "name": "params", + "value": { + "number": 4, + "projectRef": "group/project", + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "22919860bacb": { + "name": "gitlab.updateIssue#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateIssue" + }, + { + "name": "params", + "value": { + "number": 4, + "projectRef": "group/project", + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "2e2e489860b5": { + "name": "gitlab.updateIssue#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateIssue" + }, + { + "name": "params", + "value": { + "number": 4, + "projectRef": "group/project", + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "32a3635e06a4": { + "name": "mutatingStatus", + "value": false, + "sent": 1 + }, + "3c6c54110c00": { + "name": "itemRemoveLabelsDraft", + "value": "", + "sent": 2 + }, + "4af1aeed9594": { + "name": "actionItem", + "value": { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + }, + "sent": 2 + }, + "4e1886bc3875": { + "name": "gitlab.updateIssue#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateIssue" + }, + { + "name": "params", + "value": { + "number": 4, + "projectRef": "group/project", + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "583b546bd557": { + "name": "mutatingStatus", + "value": true, + "sent": 1 + }, + "63b0ae8ff253": { + "name": "gitlab.updateIssue#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateIssue" + }, + { + "name": "params", + "value": { + "number": 4, + "projectRef": "group/project", + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "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 + } + } + } + }, + "71cb3feddd6c": { + "name": "github.updateIssue#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.updateIssue\",\"params\":{\"repo\":\"id:repo-1\",\"number\":9,\"updates\":{\"title\":\"Renamed\",\"addLabels\":[\"triage\"],\"removeLabels\":[\"bug\"]}}}" + }, + "74c6c47d6a72": { + "name": "gitlab.updateIssue#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateIssue" + }, + { + "name": "params", + "value": { + "number": 4, + "projectRef": "group/project", + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "755d2a2dffe0": { + "name": "gitlab.updateIssue#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateIssue" + }, + { + "name": "params", + "value": { + "number": 4, + "projectRef": "group/project", + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "779cb33e2c39": { + "name": "gitlab.updateIssue#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateIssue" + }, + { + "name": "params", + "value": { + "number": 4, + "projectRef": "group/project", + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "7d901d60a01a": { + "name": "error", + "value": "[object Object]", + "sent": 1 + }, + "7ff9a871c9b4": { + "name": "itemAddLabelsDraft", + "value": "", + "sent": 2 + }, + "84465663f388": { + "name": "actionItem", + "value": { + "$rpc": "null" + }, + "sent": 1 + }, + "893c7ff30ddf": { + "name": "items", + "value": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + } + ], + "sent": 2 + }, + "8cde53a56cdf": { + "name": "mutatingStatus", + "value": false, + "sent": 2 + }, + "9999466f95f3": { + "name": "detailPayload", + "value": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + }, + "sent": 2 + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "9fb1b1ad3675": { + "name": "github.updateIssue#1", + "args": [ + { + "name": "method", + "value": "github.updateIssue" + }, + { + "name": "params", + "value": { + "number": 9, + "repo": "id:repo-1", + "updates": { + "addLabels": ["triage"], + "removeLabels": ["bug"], + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "9fc7a62f68d0": { + "error": "[object Object]", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "a3139ecf7ce9": { + "error": "Unknown method", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "a85803b27ae1": { + "error": "transport failure", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "b3786fd78eba": { + "name": "actionItem", + "value": { + "$rpc": "null" + }, + "sent": 2 + }, + "b53c339a3854": { + "name": "error", + "value": "Unknown method", + "sent": 1 + }, + "b605bb35b53b": { + "error": "Cannot read properties of null (reading 'ok')", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "c02252fb214d": { + "error": "", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "c2492936b676": { + "name": "gitlab.updateIssue#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateIssue" + }, + { + "name": "params", + "value": { + "number": 4, + "projectRef": "group/project", + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "c4f585980acf": { + "name": "error", + "value": "inner refused", + "sent": 1 + }, + "c7ff417f5a6d": { + "error": "outer refused", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "c939abf83c6c": { + "name": "error", + "value": "Cannot read properties of undefined (reading 'ok')", + "sent": 1 + }, + "cc96725d8f47": { + "name": "mutatingStatus", + "value": true, + "sent": 0 + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "d9d32e421d46": { + "error": "", + "item": { + "$rpc": "null" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "e051b754feec": { + "name": "gitlab.updateIssue#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateIssue" + }, + { + "name": "params", + "value": { + "number": 4, + "projectRef": "group/project", + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "eb9e28be91e8": { + "error": "Cannot read properties of undefined (reading 'ok')", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "ec6aee3704e2": { + "name": "itemAddAssigneesDraft", + "value": "", + "sent": 2 + }, + "f791567b212f": { + "name": "error", + "value": "outer refused", + "sent": 1 + }, + "faf0249fca3c": { + "name": "error", + "value": "Cannot read properties of null (reading 'ok')", + "sent": 1 + } + }, + "recording": { + "scenario": "matrix-tasks.item-status-gitlab-gitlab.updateissue-1", + "checkpoints": [ + { + "id": "tk-item-status-gitlab.normal:gitlab-status-settled", + "observation": { + "sender": ["779cb33e2c39"], + "payloads": ["132591a733d1"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a" + }, + "state": "d9d32e421d46", + "effects": ["cc96725d8f47", "9e263f5e91be", "84465663f388", "32a3635e06a4"] + } + }, + { + "id": "tk-item-status-gitlab.normal:github-metadata-settled", + "observation": { + "sender": ["779cb33e2c39", "9fb1b1ad3675"], + "payloads": ["132591a733d1", "71cb3feddd6c"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a", + "github-metadata-1": "eb79a9b3682a" + }, + "state": "d9d32e421d46", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "84465663f388", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "b3786fd78eba", + "893c7ff30ddf", + "9999466f95f3", + "7ff9a871c9b4", + "3c6c54110c00", + "ec6aee3704e2", + "13b233a5bc5a", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-status-gitlab.result-absent:gitlab-status-settled", + "observation": { + "sender": ["c2492936b676"], + "payloads": ["132591a733d1"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a" + }, + "state": "eb9e28be91e8", + "effects": ["cc96725d8f47", "9e263f5e91be", "c939abf83c6c", "32a3635e06a4"] + } + }, + { + "id": "tk-item-status-gitlab.result-absent:github-metadata-settled", + "observation": { + "sender": ["c2492936b676", "9fb1b1ad3675"], + "payloads": ["132591a733d1", "71cb3feddd6c"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a", + "github-metadata-1": "eb79a9b3682a" + }, + "state": "c02252fb214d", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "c939abf83c6c", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "4af1aeed9594", + "893c7ff30ddf", + "9999466f95f3", + "7ff9a871c9b4", + "3c6c54110c00", + "ec6aee3704e2", + "13b233a5bc5a", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-status-gitlab.result-null:gitlab-status-settled", + "observation": { + "sender": ["21940eac2e09"], + "payloads": ["132591a733d1"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a" + }, + "state": "b605bb35b53b", + "effects": ["cc96725d8f47", "9e263f5e91be", "faf0249fca3c", "32a3635e06a4"] + } + }, + { + "id": "tk-item-status-gitlab.result-null:github-metadata-settled", + "observation": { + "sender": ["21940eac2e09", "9fb1b1ad3675"], + "payloads": ["132591a733d1", "71cb3feddd6c"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a", + "github-metadata-1": "eb79a9b3682a" + }, + "state": "c02252fb214d", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "faf0249fca3c", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "4af1aeed9594", + "893c7ff30ddf", + "9999466f95f3", + "7ff9a871c9b4", + "3c6c54110c00", + "ec6aee3704e2", + "13b233a5bc5a", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-status-gitlab.inner-ok-missing:gitlab-status-settled", + "observation": { + "sender": ["e051b754feec"], + "payloads": ["132591a733d1"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a" + }, + "state": "d9d32e421d46", + "effects": ["cc96725d8f47", "9e263f5e91be", "84465663f388", "32a3635e06a4"] + } + }, + { + "id": "tk-item-status-gitlab.inner-ok-missing:github-metadata-settled", + "observation": { + "sender": ["e051b754feec", "9fb1b1ad3675"], + "payloads": ["132591a733d1", "71cb3feddd6c"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a", + "github-metadata-1": "eb79a9b3682a" + }, + "state": "d9d32e421d46", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "84465663f388", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "b3786fd78eba", + "893c7ff30ddf", + "9999466f95f3", + "7ff9a871c9b4", + "3c6c54110c00", + "ec6aee3704e2", + "13b233a5bc5a", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-status-gitlab.inner-false-string-error:gitlab-status-settled", + "observation": { + "sender": ["4e1886bc3875"], + "payloads": ["132591a733d1"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a" + }, + "state": "0a5028edd717", + "effects": ["cc96725d8f47", "9e263f5e91be", "c4f585980acf", "32a3635e06a4"] + } + }, + { + "id": "tk-item-status-gitlab.inner-false-string-error:github-metadata-settled", + "observation": { + "sender": ["4e1886bc3875", "9fb1b1ad3675"], + "payloads": ["132591a733d1", "71cb3feddd6c"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a", + "github-metadata-1": "eb79a9b3682a" + }, + "state": "c02252fb214d", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "c4f585980acf", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "4af1aeed9594", + "893c7ff30ddf", + "9999466f95f3", + "7ff9a871c9b4", + "3c6c54110c00", + "ec6aee3704e2", + "13b233a5bc5a", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-status-gitlab.inner-false-object-error:gitlab-status-settled", + "observation": { + "sender": ["63b0ae8ff253"], + "payloads": ["132591a733d1"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a" + }, + "state": "9fc7a62f68d0", + "effects": ["cc96725d8f47", "9e263f5e91be", "7d901d60a01a", "32a3635e06a4"] + } + }, + { + "id": "tk-item-status-gitlab.inner-false-object-error:github-metadata-settled", + "observation": { + "sender": ["63b0ae8ff253", "9fb1b1ad3675"], + "payloads": ["132591a733d1", "71cb3feddd6c"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a", + "github-metadata-1": "eb79a9b3682a" + }, + "state": "c02252fb214d", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "7d901d60a01a", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "4af1aeed9594", + "893c7ff30ddf", + "9999466f95f3", + "7ff9a871c9b4", + "3c6c54110c00", + "ec6aee3704e2", + "13b233a5bc5a", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-status-gitlab.outer-refused:gitlab-status-settled", + "observation": { + "sender": ["22919860bacb"], + "payloads": ["132591a733d1"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a" + }, + "state": "c7ff417f5a6d", + "effects": ["cc96725d8f47", "9e263f5e91be", "f791567b212f", "32a3635e06a4"] + } + }, + { + "id": "tk-item-status-gitlab.outer-refused:github-metadata-settled", + "observation": { + "sender": ["22919860bacb", "9fb1b1ad3675"], + "payloads": ["132591a733d1", "71cb3feddd6c"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a", + "github-metadata-1": "eb79a9b3682a" + }, + "state": "c02252fb214d", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "f791567b212f", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "4af1aeed9594", + "893c7ff30ddf", + "9999466f95f3", + "7ff9a871c9b4", + "3c6c54110c00", + "ec6aee3704e2", + "13b233a5bc5a", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-status-gitlab.outer-refused-no-message:gitlab-status-settled", + "observation": { + "sender": ["755d2a2dffe0"], + "payloads": ["132591a733d1"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a" + }, + "state": "c02252fb214d", + "effects": ["cc96725d8f47", "9e263f5e91be", "d48d5c49486c", "32a3635e06a4"] + } + }, + { + "id": "tk-item-status-gitlab.outer-refused-no-message:github-metadata-settled", + "observation": { + "sender": ["755d2a2dffe0", "9fb1b1ad3675"], + "payloads": ["132591a733d1", "71cb3feddd6c"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a", + "github-metadata-1": "eb79a9b3682a" + }, + "state": "c02252fb214d", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "d48d5c49486c", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "4af1aeed9594", + "893c7ff30ddf", + "9999466f95f3", + "7ff9a871c9b4", + "3c6c54110c00", + "ec6aee3704e2", + "13b233a5bc5a", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-status-gitlab.method-not-found:gitlab-status-settled", + "observation": { + "sender": ["17f5e522f786"], + "payloads": ["132591a733d1"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a" + }, + "state": "a3139ecf7ce9", + "effects": ["cc96725d8f47", "9e263f5e91be", "b53c339a3854", "32a3635e06a4"] + } + }, + { + "id": "tk-item-status-gitlab.method-not-found:github-metadata-settled", + "observation": { + "sender": ["17f5e522f786", "9fb1b1ad3675"], + "payloads": ["132591a733d1", "71cb3feddd6c"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a", + "github-metadata-1": "eb79a9b3682a" + }, + "state": "c02252fb214d", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b53c339a3854", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "4af1aeed9594", + "893c7ff30ddf", + "9999466f95f3", + "7ff9a871c9b4", + "3c6c54110c00", + "ec6aee3704e2", + "13b233a5bc5a", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-status-gitlab.transport-rejection:gitlab-status-settled", + "observation": { + "sender": ["74c6c47d6a72"], + "payloads": ["132591a733d1"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a" + }, + "state": "a85803b27ae1", + "effects": ["cc96725d8f47", "9e263f5e91be", "198ac889ae28", "32a3635e06a4"] + } + }, + { + "id": "tk-item-status-gitlab.transport-rejection:github-metadata-settled", + "observation": { + "sender": ["74c6c47d6a72", "9fb1b1ad3675"], + "payloads": ["132591a733d1", "71cb3feddd6c"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a", + "github-metadata-1": "eb79a9b3682a" + }, + "state": "c02252fb214d", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "198ac889ae28", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "4af1aeed9594", + "893c7ff30ddf", + "9999466f95f3", + "7ff9a871c9b4", + "3c6c54110c00", + "ec6aee3704e2", + "13b233a5bc5a", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-item-status-gitlab.transport-rejection-no-message:gitlab-status-settled", + "observation": { + "sender": ["2e2e489860b5"], + "payloads": ["132591a733d1"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a" + }, + "state": "c02252fb214d", + "effects": ["cc96725d8f47", "9e263f5e91be", "d48d5c49486c", "32a3635e06a4"] + } + }, + { + "id": "tk-item-status-gitlab.transport-rejection-no-message:github-metadata-settled", + "observation": { + "sender": ["2e2e489860b5", "9fb1b1ad3675"], + "payloads": ["132591a733d1", "71cb3feddd6c"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a", + "github-metadata-1": "eb79a9b3682a" + }, + "state": "c02252fb214d", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "d48d5c49486c", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "4af1aeed9594", + "893c7ff30ddf", + "9999466f95f3", + "7ff9a871c9b4", + "3c6c54110c00", + "ec6aee3704e2", + "13b233a5bc5a", + "8cde53a56cdf" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.item-status-gitlab-mr-gitlab.updatemrstate-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.item-status-gitlab-mr-gitlab.updatemrstate-1.json new file mode 100644 index 00000000000..d9865910f02 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.item-status-gitlab-mr-gitlab.updatemrstate-1.json @@ -0,0 +1,1048 @@ +{ + "operation": "tasks.item-status-gitlab-mr", + "family": "tasks.item-status-gitlab-mr", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "8c4218bfb2af227da5386f29989cec438f2c6187f39ce1c06859e136ea920bfa", + "scenarioSha256": "8443a59a1d432fbcfb9d158995cfa69bef364c33b66a97cbef0e70e197fcad4d", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0225dd148bd1": { + "name": "gitlab.updateMRState#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateMRState" + }, + { + "name": "params", + "value": { + "iid": 7, + "projectRef": "group/project", + "repo": "id:repo-1", + "state": "closed" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "0687dba3171a": { + "error": "Unknown method", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "09483eaa1bdd": { + "name": "gitlab.updateMRState#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateMRState" + }, + { + "name": "params", + "value": { + "iid": 7, + "projectRef": "group/project", + "repo": "id:repo-1", + "state": "closed" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "1380dafff177": { + "name": "gitlab.updateMRState#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateMRState" + }, + { + "name": "params", + "value": { + "iid": 7, + "projectRef": "group/project", + "repo": "id:repo-1", + "state": "closed" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "198ac889ae28": { + "name": "error", + "value": "transport failure", + "sent": 1 + }, + "29cc0a425dd8": { + "name": "gitlab.updateMRState#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateMRState" + }, + { + "name": "params", + "value": { + "iid": 7, + "projectRef": "group/project", + "repo": "id:repo-1", + "state": "closed" + } + }, + { + "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 + } + } + } + }, + "32a3635e06a4": { + "name": "mutatingStatus", + "value": false, + "sent": 1 + }, + "364618fdc146": { + "error": "Cannot read properties of undefined (reading 'ok')", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "388906970826": { + "name": "gitlab.updateMRState#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateMRState" + }, + { + "name": "params", + "value": { + "iid": 7, + "projectRef": "group/project", + "repo": "id:repo-1", + "state": "closed" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "580815f89d46": { + "name": "gitlab.updateMRState#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateMRState" + }, + { + "name": "params", + "value": { + "iid": 7, + "projectRef": "group/project", + "repo": "id:repo-1", + "state": "closed" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "5bced36399b0": { + "error": "Cannot read properties of null (reading 'ok')", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "69841347ee06": { + "error": "", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "702351d98030": { + "error": "outer refused", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "7d901d60a01a": { + "name": "error", + "value": "[object Object]", + "sent": 1 + }, + "84465663f388": { + "name": "actionItem", + "value": { + "$rpc": "null" + }, + "sent": 1 + }, + "8e3dbb5fa917": { + "name": "gitlab.updateMRState#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateMRState" + }, + { + "name": "params", + "value": { + "iid": 7, + "projectRef": "group/project", + "repo": "id:repo-1", + "state": "closed" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "98354008c52b": { + "error": "inner refused", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "a0d7adf1785a": { + "name": "gitlab.updateMRState#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateMRState" + }, + { + "name": "params", + "value": { + "iid": 7, + "projectRef": "group/project", + "repo": "id:repo-1", + "state": "closed" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "a4f53aae0c36": { + "error": "[object Object]", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "b4646bea3bbb": { + "name": "gitlab.updateMRState#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateMRState" + }, + { + "name": "params", + "value": { + "iid": 7, + "projectRef": "group/project", + "repo": "id:repo-1", + "state": "closed" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "b53c339a3854": { + "name": "error", + "value": "Unknown method", + "sent": 1 + }, + "b6a6630b4d40": { + "error": "", + "item": { + "$rpc": "null" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "bbda8a8eedb1": { + "name": "gitlab.updateMRState#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"gitlab.updateMRState\",\"params\":{\"repo\":\"id:repo-1\",\"iid\":7,\"state\":\"closed\",\"projectRef\":\"group/project\"}}" + }, + "bda784694329": { + "name": "gitlab.updateMRState#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateMRState" + }, + { + "name": "params", + "value": { + "iid": 7, + "projectRef": "group/project", + "repo": "id:repo-1", + "state": "closed" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "c4f585980acf": { + "name": "error", + "value": "inner refused", + "sent": 1 + }, + "c939abf83c6c": { + "name": "error", + "value": "Cannot read properties of undefined (reading 'ok')", + "sent": 1 + }, + "cc96725d8f47": { + "name": "mutatingStatus", + "value": true, + "sent": 0 + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "d6f17e3de7da": { + "error": "transport failure", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f791567b212f": { + "name": "error", + "value": "outer refused", + "sent": 1 + }, + "fa02360dc148": { + "name": "gitlab.updateMRState#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateMRState" + }, + { + "name": "params", + "value": { + "iid": 7, + "projectRef": "group/project", + "repo": "id:repo-1", + "state": "closed" + } + }, + { + "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 + } + } + }, + "faf0249fca3c": { + "name": "error", + "value": "Cannot read properties of null (reading 'ok')", + "sent": 1 + } + }, + "recording": { + "scenario": "matrix-tasks.item-status-gitlab-mr-gitlab.updatemrstate-1", + "checkpoints": [ + { + "id": "tk-item-status-gitlab-mr.normal:gitlab-status-settled", + "observation": { + "sender": ["1380dafff177"], + "payloads": ["bbda8a8eedb1"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a" + }, + "state": "b6a6630b4d40", + "effects": ["cc96725d8f47", "9e263f5e91be", "84465663f388", "32a3635e06a4"] + } + }, + { + "id": "tk-item-status-gitlab-mr.result-absent:gitlab-status-settled", + "observation": { + "sender": ["bda784694329"], + "payloads": ["bbda8a8eedb1"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a" + }, + "state": "364618fdc146", + "effects": ["cc96725d8f47", "9e263f5e91be", "c939abf83c6c", "32a3635e06a4"] + } + }, + { + "id": "tk-item-status-gitlab-mr.result-null:gitlab-status-settled", + "observation": { + "sender": ["388906970826"], + "payloads": ["bbda8a8eedb1"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a" + }, + "state": "5bced36399b0", + "effects": ["cc96725d8f47", "9e263f5e91be", "faf0249fca3c", "32a3635e06a4"] + } + }, + { + "id": "tk-item-status-gitlab-mr.inner-ok-missing:gitlab-status-settled", + "observation": { + "sender": ["a0d7adf1785a"], + "payloads": ["bbda8a8eedb1"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a" + }, + "state": "b6a6630b4d40", + "effects": ["cc96725d8f47", "9e263f5e91be", "84465663f388", "32a3635e06a4"] + } + }, + { + "id": "tk-item-status-gitlab-mr.inner-false-string-error:gitlab-status-settled", + "observation": { + "sender": ["09483eaa1bdd"], + "payloads": ["bbda8a8eedb1"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a" + }, + "state": "98354008c52b", + "effects": ["cc96725d8f47", "9e263f5e91be", "c4f585980acf", "32a3635e06a4"] + } + }, + { + "id": "tk-item-status-gitlab-mr.inner-false-object-error:gitlab-status-settled", + "observation": { + "sender": ["29cc0a425dd8"], + "payloads": ["bbda8a8eedb1"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a" + }, + "state": "a4f53aae0c36", + "effects": ["cc96725d8f47", "9e263f5e91be", "7d901d60a01a", "32a3635e06a4"] + } + }, + { + "id": "tk-item-status-gitlab-mr.outer-refused:gitlab-status-settled", + "observation": { + "sender": ["8e3dbb5fa917"], + "payloads": ["bbda8a8eedb1"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a" + }, + "state": "702351d98030", + "effects": ["cc96725d8f47", "9e263f5e91be", "f791567b212f", "32a3635e06a4"] + } + }, + { + "id": "tk-item-status-gitlab-mr.outer-refused-no-message:gitlab-status-settled", + "observation": { + "sender": ["580815f89d46"], + "payloads": ["bbda8a8eedb1"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a" + }, + "state": "69841347ee06", + "effects": ["cc96725d8f47", "9e263f5e91be", "d48d5c49486c", "32a3635e06a4"] + } + }, + { + "id": "tk-item-status-gitlab-mr.method-not-found:gitlab-status-settled", + "observation": { + "sender": ["fa02360dc148"], + "payloads": ["bbda8a8eedb1"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a" + }, + "state": "0687dba3171a", + "effects": ["cc96725d8f47", "9e263f5e91be", "b53c339a3854", "32a3635e06a4"] + } + }, + { + "id": "tk-item-status-gitlab-mr.transport-rejection:gitlab-status-settled", + "observation": { + "sender": ["b4646bea3bbb"], + "payloads": ["bbda8a8eedb1"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a" + }, + "state": "d6f17e3de7da", + "effects": ["cc96725d8f47", "9e263f5e91be", "198ac889ae28", "32a3635e06a4"] + } + }, + { + "id": "tk-item-status-gitlab-mr.transport-rejection-no-message:gitlab-status-settled", + "observation": { + "sender": ["0225dd148bd1"], + "payloads": ["bbda8a8eedb1"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a" + }, + "state": "69841347ee06", + "effects": ["cc96725d8f47", "9e263f5e91be", "d48d5c49486c", "32a3635e06a4"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.linear-connect-linear.connect-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.linear-connect-linear.connect-1.json new file mode 100644 index 00000000000..dfafcc322ab --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.linear-connect-linear.connect-1.json @@ -0,0 +1,706 @@ +{ + "operation": "tasks.linear-connect", + "family": "tasks.linear-connect", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "07a15e900363faa25bc364f5bc1c330f96798abfeaed35210428c2ac558586b8", + "scenarioSha256": "a60d7c0ce3d155116aecbb3d1ca015b4d9de310155f4e840b2fc391dc9d04860", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0c51558ed744": { + "name": "provider", + "value": "linear", + "sent": 1 + }, + "117a62e5ca79": { + "name": "linearConnectError", + "value": "Cannot read properties of null (reading 'ok')", + "sent": 1 + }, + "129470ce1f7f": { + "name": "linearConnectError", + "value": "Unknown method", + "sent": 1 + }, + "18e64a04b7b6": { + "connected": false, + "error": "Cannot read properties of undefined (reading 'ok')", + "provider": "github", + "providers": ["github"], + "state": "error" + }, + "292bbaa1f6fe": { + "name": "linear.connect#1", + "args": [ + { + "name": "method", + "value": "linear.connect" + }, + { + "name": "params", + "value": { + "apiKey": "lin_api_key" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "2be5e0f901e5": { + "name": "linear.connect#1", + "args": [ + { + "name": "method", + "value": "linear.connect" + }, + { + "name": "params", + "value": { + "apiKey": "lin_api_key" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "2f8d5603d8c0": { + "connected": true, + "error": "", + "provider": "linear", + "providers": ["github", "linear"], + "state": "idle" + }, + "3abc7d437bb5": { + "connected": false, + "error": "outer refused", + "provider": "github", + "providers": ["github"], + "state": "error" + }, + "3bd2a4b2ea0b": { + "connected": false, + "error": "Cannot read properties of null (reading 'ok')", + "provider": "github", + "providers": ["github"], + "state": "error" + }, + "4870152af5d4": { + "name": "linearConnectState", + "value": "connecting", + "sent": 0 + }, + "4e1726d2cf8f": { + "name": "linear.connect#1", + "args": [ + { + "name": "method", + "value": "linear.connect" + }, + { + "name": "params", + "value": { + "apiKey": "lin_api_key" + } + }, + { + "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 + } + } + }, + "632dd7f078e3": { + "name": "linear.connect#1", + "args": [ + { + "name": "method", + "value": "linear.connect" + }, + { + "name": "params", + "value": { + "apiKey": "lin_api_key" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "69d74e72326c": { + "name": "linearConnected", + "value": true, + "sent": 1 + }, + "74c3dc50a7a4": { + "name": "linearConnectError", + "value": "inner refused", + "sent": 1 + }, + "7edd10d0e7a7": { + "name": "linearConnectError", + "value": "transport failure", + "sent": 1 + }, + "94b5638a167f": { + "connected": false, + "error": "[object Object]", + "provider": "github", + "providers": ["github"], + "state": "error" + }, + "9882c11b1a83": { + "name": "linearConnectError", + "value": "outer refused", + "sent": 1 + }, + "9ca6f7e482f5": { + "name": "linearConnectError", + "value": "", + "sent": 1 + }, + "9ea73b6d4ce4": { + "name": "linearConnectError", + "value": "", + "sent": 0 + }, + "9f6138af26e9": { + "name": "linear.connect#1", + "args": [ + { + "name": "method", + "value": "linear.connect" + }, + { + "name": "params", + "value": { + "apiKey": "lin_api_key" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "a0771398ca86": { + "name": "linear.connect#1", + "args": [ + { + "name": "method", + "value": "linear.connect" + }, + { + "name": "params", + "value": { + "apiKey": "lin_api_key" + } + }, + { + "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 + } + } + } + }, + "a80af0abe2b3": { + "name": "linear.connect#1", + "args": [ + { + "name": "method", + "value": "linear.connect" + }, + { + "name": "params", + "value": { + "apiKey": "lin_api_key" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "b314de624efa": { + "name": "linearApiKeyDraft", + "value": "", + "sent": 1 + }, + "b7f1fad8d45f": { + "name": "linear.connect#1", + "args": [ + { + "name": "method", + "value": "linear.connect" + }, + { + "name": "params", + "value": { + "apiKey": "lin_api_key" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "ba59d5e7d5dd": { + "connected": false, + "error": "", + "provider": "github", + "providers": ["github"], + "state": "error" + }, + "bb945a4f9d97": { + "name": "linearConnectState", + "value": "error", + "sent": 1 + }, + "ca688a191b1f": { + "name": "linearConnectError", + "value": "Cannot read properties of undefined (reading 'ok')", + "sent": 1 + }, + "d01bbd7239d1": { + "name": "linear.connect#1", + "args": [ + { + "name": "method", + "value": "linear.connect" + }, + { + "name": "params", + "value": { + "apiKey": "lin_api_key" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "dae705f55c7f": { + "name": "linear.connect#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"linear.connect\",\"params\":{\"apiKey\":\"lin_api_key\"}}" + }, + "dfd3413a2232": { + "connected": false, + "error": "inner refused", + "provider": "github", + "providers": ["github"], + "state": "error" + }, + "e9d903fbfa72": { + "connected": false, + "error": "Unknown method", + "provider": "github", + "providers": ["github"], + "state": "error" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f06f609ce6b4": { + "name": "linearConnectState", + "value": "idle", + "sent": 1 + }, + "f4cec40b7d42": { + "name": "visibleProviders", + "value": ["github", "linear"], + "sent": 1 + }, + "f54167ff739b": { + "connected": false, + "error": "transport failure", + "provider": "github", + "providers": ["github"], + "state": "error" + }, + "f9bc34407ac9": { + "name": "linear.connect#1", + "args": [ + { + "name": "method", + "value": "linear.connect" + }, + { + "name": "params", + "value": { + "apiKey": "lin_api_key" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "fc80dec0189f": { + "name": "linear.connect#1", + "args": [ + { + "name": "method", + "value": "linear.connect" + }, + { + "name": "params", + "value": { + "apiKey": "lin_api_key" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "fe3b9280899d": { + "name": "linearConnectError", + "value": "[object Object]", + "sent": 1 + }, + "fe581ce5541b": { + "name": "showLinearConnect", + "value": false, + "sent": 1 + } + }, + "recording": { + "scenario": "matrix-tasks.linear-connect-linear.connect-1", + "checkpoints": [ + { + "id": "tk-linear-connect.normal:connect-settled", + "observation": { + "sender": ["b7f1fad8d45f"], + "payloads": ["dae705f55c7f"], + "settlements": { + "mount": "eb79a9b3682a", + "connect-0": "eb79a9b3682a" + }, + "state": "2f8d5603d8c0", + "effects": [ + "4870152af5d4", + "9ea73b6d4ce4", + "b314de624efa", + "f06f609ce6b4", + "fe581ce5541b", + "69d74e72326c", + "f4cec40b7d42", + "0c51558ed744" + ] + } + }, + { + "id": "tk-linear-connect.result-absent:connect-settled", + "observation": { + "sender": ["f9bc34407ac9"], + "payloads": ["dae705f55c7f"], + "settlements": { + "mount": "eb79a9b3682a", + "connect-0": "eb79a9b3682a" + }, + "state": "18e64a04b7b6", + "effects": ["4870152af5d4", "9ea73b6d4ce4", "bb945a4f9d97", "ca688a191b1f"] + } + }, + { + "id": "tk-linear-connect.result-null:connect-settled", + "observation": { + "sender": ["632dd7f078e3"], + "payloads": ["dae705f55c7f"], + "settlements": { + "mount": "eb79a9b3682a", + "connect-0": "eb79a9b3682a" + }, + "state": "3bd2a4b2ea0b", + "effects": ["4870152af5d4", "9ea73b6d4ce4", "bb945a4f9d97", "117a62e5ca79"] + } + }, + { + "id": "tk-linear-connect.inner-ok-missing:connect-settled", + "observation": { + "sender": ["d01bbd7239d1"], + "payloads": ["dae705f55c7f"], + "settlements": { + "mount": "eb79a9b3682a", + "connect-0": "eb79a9b3682a" + }, + "state": "2f8d5603d8c0", + "effects": [ + "4870152af5d4", + "9ea73b6d4ce4", + "b314de624efa", + "f06f609ce6b4", + "fe581ce5541b", + "69d74e72326c", + "f4cec40b7d42", + "0c51558ed744" + ] + } + }, + { + "id": "tk-linear-connect.inner-false-string-error:connect-settled", + "observation": { + "sender": ["2be5e0f901e5"], + "payloads": ["dae705f55c7f"], + "settlements": { + "mount": "eb79a9b3682a", + "connect-0": "eb79a9b3682a" + }, + "state": "dfd3413a2232", + "effects": ["4870152af5d4", "9ea73b6d4ce4", "bb945a4f9d97", "74c3dc50a7a4"] + } + }, + { + "id": "tk-linear-connect.inner-false-object-error:connect-settled", + "observation": { + "sender": ["a0771398ca86"], + "payloads": ["dae705f55c7f"], + "settlements": { + "mount": "eb79a9b3682a", + "connect-0": "eb79a9b3682a" + }, + "state": "94b5638a167f", + "effects": ["4870152af5d4", "9ea73b6d4ce4", "bb945a4f9d97", "fe3b9280899d"] + } + }, + { + "id": "tk-linear-connect.outer-refused:connect-settled", + "observation": { + "sender": ["292bbaa1f6fe"], + "payloads": ["dae705f55c7f"], + "settlements": { + "mount": "eb79a9b3682a", + "connect-0": "eb79a9b3682a" + }, + "state": "3abc7d437bb5", + "effects": ["4870152af5d4", "9ea73b6d4ce4", "bb945a4f9d97", "9882c11b1a83"] + } + }, + { + "id": "tk-linear-connect.outer-refused-no-message:connect-settled", + "observation": { + "sender": ["a80af0abe2b3"], + "payloads": ["dae705f55c7f"], + "settlements": { + "mount": "eb79a9b3682a", + "connect-0": "eb79a9b3682a" + }, + "state": "ba59d5e7d5dd", + "effects": ["4870152af5d4", "9ea73b6d4ce4", "bb945a4f9d97", "9ca6f7e482f5"] + } + }, + { + "id": "tk-linear-connect.method-not-found:connect-settled", + "observation": { + "sender": ["4e1726d2cf8f"], + "payloads": ["dae705f55c7f"], + "settlements": { + "mount": "eb79a9b3682a", + "connect-0": "eb79a9b3682a" + }, + "state": "e9d903fbfa72", + "effects": ["4870152af5d4", "9ea73b6d4ce4", "bb945a4f9d97", "129470ce1f7f"] + } + }, + { + "id": "tk-linear-connect.transport-rejection:connect-settled", + "observation": { + "sender": ["9f6138af26e9"], + "payloads": ["dae705f55c7f"], + "settlements": { + "mount": "eb79a9b3682a", + "connect-0": "eb79a9b3682a" + }, + "state": "f54167ff739b", + "effects": ["4870152af5d4", "9ea73b6d4ce4", "bb945a4f9d97", "7edd10d0e7a7"] + } + }, + { + "id": "tk-linear-connect.transport-rejection-no-message:connect-settled", + "observation": { + "sender": ["fc80dec0189f"], + "payloads": ["dae705f55c7f"], + "settlements": { + "mount": "eb79a9b3682a", + "connect-0": "eb79a9b3682a" + }, + "state": "ba59d5e7d5dd", + "effects": ["4870152af5d4", "9ea73b6d4ce4", "bb945a4f9d97", "9ca6f7e482f5"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.linear-item-linear.addissuecomment-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.linear-item-linear.addissuecomment-1.json new file mode 100644 index 00000000000..8656d7041e8 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.linear-item-linear.addissuecomment-1.json @@ -0,0 +1,2348 @@ +{ + "operation": "tasks.linear-item-actions", + "family": "tasks.linear-item", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "97cfbcd82778ed6517ca2d10b2f3ad5a8d366e380d7846c1e89d5a5baf17e739", + "scenarioSha256": "a2c0c5c200b36d2194815e67df2ea50422f6ecfd9df411132202e9660c87c41b", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "02bf1f0d7114": { + "error": "", + "item": { + "key": "linear:linear-workspace:issue-2", + "provider": "linear", + "source": { + "description": "a description", + "id": "issue-2", + "identifier": "ENG-2", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + }, + "status": "Todo", + "subtitle": "ENG-2 · Engineering", + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + }, + "mutating": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [ + { + "id": "issue-3", + "identifier": "ENG-3", + "title": "A sub-issue", + "url": "" + } + ], + "comments": [ + { + "body": "a linear comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "local-1767225600000", + "user": { + "displayName": "You" + } + } + ], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + } + }, + "0ac6cc942440": { + "error": "", + "item": { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + }, + "mutating": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + } + }, + "0c0d6ea592d5": { + "name": "mutatingStatus", + "value": false, + "sent": 3 + }, + "0e08807eccd5": { + "name": "linear.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "linear.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "a linear comment", + "issueId": "issue-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "12b9ca6d3411": { + "name": "linearCommentDraft", + "value": "", + "sent": 1 + }, + "198ac889ae28": { + "name": "error", + "value": "transport failure", + "sent": 1 + }, + "1b84247bbb1d": { + "name": "detailPayload", + "value": { + "assignee": { + "$rpc": "undefined" + }, + "children": [ + { + "id": "issue-3", + "identifier": "ENG-3", + "title": "A sub-issue", + "url": "" + } + ], + "comments": [], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + }, + "sent": 3 + }, + "226869a10edd": { + "error": "", + "item": { + "key": "linear:linear-workspace:issue-2", + "provider": "linear", + "source": { + "description": "a description", + "id": "issue-2", + "identifier": "ENG-2", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + }, + "status": "Todo", + "subtitle": "ENG-2 · Engineering", + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + }, + "mutating": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [ + { + "body": "a linear comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "local-1767225600000", + "user": { + "displayName": "You" + } + } + ], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + } + }, + "252af9581c95": { + "name": "linear.addIssueComment#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"linear.addIssueComment\",\"params\":{\"issueId\":\"issue-1\",\"workspaceId\":\"linear-workspace\",\"body\":\"a linear comment\"}}" + }, + "2649a1245792": { + "error": "[object Object]", + "item": { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + }, + "mutating": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + } + }, + "27bcf9dec050": { + "name": "detailPayload", + "value": { + "assignee": { + "$rpc": "undefined" + }, + "children": [ + { + "id": "issue-3", + "identifier": "ENG-3", + "title": "A sub-issue", + "url": "" + } + ], + "comments": [ + { + "body": "a linear comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "local-1767225600000", + "user": { + "displayName": "You" + } + } + ], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + }, + "sent": 3 + }, + "288dd89fb933": { + "error": "Cannot read properties of undefined (reading 'ok')", + "item": { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + }, + "mutating": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + } + }, + "2c8f51509f45": { + "name": "linear.getIssue#1", + "args": [ + { + "name": "method", + "value": "linear.getIssue" + }, + { + "name": "params", + "value": { + "id": "issue-2", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "description": "a description", + "id": "issue-2", + "identifier": "ENG-2", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + } + } + } + }, + "2eb4304818d0": { + "name": "detailPayload", + "value": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [ + { + "body": "a linear comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "local-1767225600000", + "user": { + "displayName": "You" + } + } + ], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + }, + "sent": 1 + }, + "310aa929de22": { + "name": "linearSubIssueTitle", + "value": "", + "sent": 3 + }, + "32a3635e06a4": { + "name": "mutatingStatus", + "value": false, + "sent": 1 + }, + "335cdd96334f": { + "error": "", + "item": { + "key": "linear:linear-workspace:issue-2", + "provider": "linear", + "source": { + "description": "a description", + "id": "issue-2", + "identifier": "ENG-2", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + }, + "status": "Todo", + "subtitle": "ENG-2 · Engineering", + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + }, + "mutating": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + } + }, + "37a27295d142": { + "error": "inner refused", + "item": { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + }, + "mutating": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + } + }, + "3ca847fca558": { + "name": "linear.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "linear.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "a linear comment", + "issueId": "issue-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "3e73e27d5cd5": { + "name": "linear.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "linear.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "a linear comment", + "issueId": "issue-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-1", + "ok": false + } + } + }, + "48107958be60": { + "error": "", + "item": { + "key": "linear:linear-workspace:issue-2", + "provider": "linear", + "source": { + "description": "a description", + "id": "issue-2", + "identifier": "ENG-2", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + }, + "status": "Todo", + "subtitle": "ENG-2 · Engineering", + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + }, + "mutating": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [ + { + "id": "issue-3", + "identifier": "ENG-3", + "title": "A sub-issue", + "url": "" + } + ], + "comments": [ + { + "body": "a linear comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "comment-9", + "user": { + "displayName": "You" + } + } + ], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + } + }, + "4b870cf7c216": { + "name": "detailPayload", + "value": { + "assignee": { + "$rpc": "undefined" + }, + "children": [ + { + "id": "issue-3", + "identifier": "ENG-3", + "title": "A sub-issue", + "url": "" + } + ], + "comments": [ + { + "body": "a linear comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "comment-9", + "user": { + "displayName": "You" + } + } + ], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + }, + "sent": 3 + }, + "4c69e7210f1a": { + "name": "linear.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "linear.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "a linear comment", + "issueId": "issue-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "id": "comment-9", + "ok": true + } + } + } + }, + "4cbe7d2c75e8": { + "name": "linear.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "linear.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "a linear comment", + "issueId": "issue-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "56711aa72642": { + "name": "linear.getIssue#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.getIssue\",\"params\":{\"id\":\"issue-2\",\"workspaceId\":\"linear-workspace\"}}" + }, + "583b546bd557": { + "name": "mutatingStatus", + "value": true, + "sent": 1 + }, + "5ae9884071c5": { + "error": "transport failure", + "item": { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + }, + "mutating": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + } + }, + "5f501a8dbfff": { + "name": "linear.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "linear.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "a linear comment", + "issueId": "issue-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "6fbb2167a2a8": { + "name": "linear.createIssue#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"linear.createIssue\",\"params\":{\"teamId\":\"team-1\",\"title\":\"A sub-issue\",\"workspaceId\":\"linear-workspace\",\"parentIssueId\":\"issue-1\",\"projectId\":null}}" + }, + "7807d636d5ca": { + "error": "outer refused", + "item": { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + }, + "mutating": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + } + }, + "7c14fba8a1fe": { + "error": "", + "item": { + "key": "linear:linear-workspace:issue-2", + "provider": "linear", + "source": { + "description": "a description", + "id": "issue-2", + "identifier": "ENG-2", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + }, + "status": "Todo", + "subtitle": "ENG-2 · Engineering", + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + }, + "mutating": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [ + { + "body": "a linear comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "comment-9", + "user": { + "displayName": "You" + } + } + ], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + } + }, + "7d901d60a01a": { + "name": "error", + "value": "[object Object]", + "sent": 1 + }, + "818ab7fe22f5": { + "name": "linear.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "linear.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "a linear comment", + "issueId": "issue-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "82983d26b169": { + "name": "mutatingStatus", + "value": true, + "sent": 2 + }, + "8cde53a56cdf": { + "name": "mutatingStatus", + "value": false, + "sent": 2 + }, + "910853564928": { + "name": "linear.createIssue#1", + "args": [ + { + "name": "method", + "value": "linear.createIssue" + }, + { + "name": "params", + "value": { + "parentIssueId": "issue-1", + "projectId": { + "$rpc": "null" + }, + "teamId": "team-1", + "title": "A sub-issue", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "id": "issue-3", + "identifier": "ENG-3", + "ok": true, + "title": "A sub-issue", + "url": "" + } + } + } + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "abeee718b4b5": { + "name": "detailPayload", + "value": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [ + { + "body": "a linear comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "comment-9", + "user": { + "displayName": "You" + } + } + ], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + }, + "sent": 1 + }, + "b25b80b10fc1": { + "name": "linear.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "linear.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "a linear comment", + "issueId": "issue-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "b53c339a3854": { + "name": "error", + "value": "Unknown method", + "sent": 1 + }, + "b57ded8a3ea3": { + "name": "error", + "value": "", + "sent": 2 + }, + "bd8766792875": { + "name": "linear.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "linear.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "a linear comment", + "issueId": "issue-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "c3254898499d": { + "error": "", + "item": { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + }, + "mutating": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [ + { + "body": "a linear comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "local-1767225600000", + "user": { + "displayName": "You" + } + } + ], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + } + }, + "c33fb7bbdab0": { + "name": "linear.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "linear.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "a linear comment", + "issueId": "issue-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "c4f585980acf": { + "name": "error", + "value": "inner refused", + "sent": 1 + }, + "c939abf83c6c": { + "name": "error", + "value": "Cannot read properties of undefined (reading 'ok')", + "sent": 1 + }, + "cc96725d8f47": { + "name": "mutatingStatus", + "value": true, + "sent": 0 + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "d857a39962fb": { + "name": "linear.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "linear.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "a linear comment", + "issueId": "issue-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "db29b57926b1": { + "name": "actionItem", + "value": { + "key": "linear:linear-workspace:issue-2", + "provider": "linear", + "source": { + "description": "a description", + "id": "issue-2", + "identifier": "ENG-2", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + }, + "status": "Todo", + "subtitle": "ENG-2 · Engineering", + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + }, + "sent": 2 + }, + "dcb5a0348220": { + "error": "", + "item": { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + }, + "mutating": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [ + { + "body": "a linear comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "comment-9", + "user": { + "displayName": "You" + } + } + ], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f0a8a5417034": { + "error": "", + "item": { + "key": "linear:linear-workspace:issue-2", + "provider": "linear", + "source": { + "description": "a description", + "id": "issue-2", + "identifier": "ENG-2", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + }, + "status": "Todo", + "subtitle": "ENG-2 · Engineering", + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + }, + "mutating": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [ + { + "id": "issue-3", + "identifier": "ENG-3", + "title": "A sub-issue", + "url": "" + } + ], + "comments": [], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + } + }, + "f76765650c9b": { + "error": "Unknown method", + "item": { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + }, + "mutating": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + } + }, + "f791567b212f": { + "name": "error", + "value": "outer refused", + "sent": 1 + }, + "faf0249fca3c": { + "name": "error", + "value": "Cannot read properties of null (reading 'ok')", + "sent": 1 + }, + "fba66b51cfb0": { + "error": "Cannot read properties of null (reading 'ok')", + "item": { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + }, + "mutating": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + } + } + }, + "recording": { + "scenario": "matrix-tasks.linear-item-linear.addissuecomment-1", + "checkpoints": [ + { + "id": "tk-linear-item.normal:comment-settled", + "observation": { + "sender": ["4c69e7210f1a"], + "payloads": ["252af9581c95"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "dcb5a0348220", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "abeee718b4b5", + "32a3635e06a4" + ] + } + }, + { + "id": "tk-linear-item.normal:sub-issue-open-settled", + "observation": { + "sender": ["4c69e7210f1a", "2c8f51509f45"], + "payloads": ["252af9581c95", "56711aa72642"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a" + }, + "state": "7c14fba8a1fe", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "abeee718b4b5", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "db29b57926b1", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-linear-item.normal:sub-issue-create-settled", + "observation": { + "sender": ["4c69e7210f1a", "2c8f51509f45", "910853564928"], + "payloads": ["252af9581c95", "56711aa72642", "6fbb2167a2a8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a", + "sub-issue-create-2": "eb79a9b3682a" + }, + "state": "48107958be60", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "abeee718b4b5", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "db29b57926b1", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "310aa929de22", + "4b870cf7c216", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-linear-item.result-absent:comment-settled", + "observation": { + "sender": ["5f501a8dbfff"], + "payloads": ["252af9581c95"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "288dd89fb933", + "effects": ["cc96725d8f47", "9e263f5e91be", "c939abf83c6c", "32a3635e06a4"] + } + }, + { + "id": "tk-linear-item.result-absent:sub-issue-open-settled", + "observation": { + "sender": ["5f501a8dbfff", "2c8f51509f45"], + "payloads": ["252af9581c95", "56711aa72642"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a" + }, + "state": "335cdd96334f", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "c939abf83c6c", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "db29b57926b1", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-linear-item.result-absent:sub-issue-create-settled", + "observation": { + "sender": ["5f501a8dbfff", "2c8f51509f45", "910853564928"], + "payloads": ["252af9581c95", "56711aa72642", "6fbb2167a2a8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a", + "sub-issue-create-2": "eb79a9b3682a" + }, + "state": "f0a8a5417034", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "c939abf83c6c", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "db29b57926b1", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "310aa929de22", + "1b84247bbb1d", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-linear-item.result-null:comment-settled", + "observation": { + "sender": ["0e08807eccd5"], + "payloads": ["252af9581c95"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "fba66b51cfb0", + "effects": ["cc96725d8f47", "9e263f5e91be", "faf0249fca3c", "32a3635e06a4"] + } + }, + { + "id": "tk-linear-item.result-null:sub-issue-open-settled", + "observation": { + "sender": ["0e08807eccd5", "2c8f51509f45"], + "payloads": ["252af9581c95", "56711aa72642"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a" + }, + "state": "335cdd96334f", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "faf0249fca3c", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "db29b57926b1", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-linear-item.result-null:sub-issue-create-settled", + "observation": { + "sender": ["0e08807eccd5", "2c8f51509f45", "910853564928"], + "payloads": ["252af9581c95", "56711aa72642", "6fbb2167a2a8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a", + "sub-issue-create-2": "eb79a9b3682a" + }, + "state": "f0a8a5417034", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "faf0249fca3c", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "db29b57926b1", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "310aa929de22", + "1b84247bbb1d", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-linear-item.inner-ok-missing:comment-settled", + "observation": { + "sender": ["4cbe7d2c75e8"], + "payloads": ["252af9581c95"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "c3254898499d", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "2eb4304818d0", + "32a3635e06a4" + ] + } + }, + { + "id": "tk-linear-item.inner-ok-missing:sub-issue-open-settled", + "observation": { + "sender": ["4cbe7d2c75e8", "2c8f51509f45"], + "payloads": ["252af9581c95", "56711aa72642"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a" + }, + "state": "226869a10edd", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "2eb4304818d0", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "db29b57926b1", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-linear-item.inner-ok-missing:sub-issue-create-settled", + "observation": { + "sender": ["4cbe7d2c75e8", "2c8f51509f45", "910853564928"], + "payloads": ["252af9581c95", "56711aa72642", "6fbb2167a2a8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a", + "sub-issue-create-2": "eb79a9b3682a" + }, + "state": "02bf1f0d7114", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "2eb4304818d0", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "db29b57926b1", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "310aa929de22", + "27bcf9dec050", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-linear-item.inner-false-string-error:comment-settled", + "observation": { + "sender": ["b25b80b10fc1"], + "payloads": ["252af9581c95"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "37a27295d142", + "effects": ["cc96725d8f47", "9e263f5e91be", "c4f585980acf", "32a3635e06a4"] + } + }, + { + "id": "tk-linear-item.inner-false-string-error:sub-issue-open-settled", + "observation": { + "sender": ["b25b80b10fc1", "2c8f51509f45"], + "payloads": ["252af9581c95", "56711aa72642"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a" + }, + "state": "335cdd96334f", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "c4f585980acf", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "db29b57926b1", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-linear-item.inner-false-string-error:sub-issue-create-settled", + "observation": { + "sender": ["b25b80b10fc1", "2c8f51509f45", "910853564928"], + "payloads": ["252af9581c95", "56711aa72642", "6fbb2167a2a8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a", + "sub-issue-create-2": "eb79a9b3682a" + }, + "state": "f0a8a5417034", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "c4f585980acf", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "db29b57926b1", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "310aa929de22", + "1b84247bbb1d", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-linear-item.inner-false-object-error:comment-settled", + "observation": { + "sender": ["c33fb7bbdab0"], + "payloads": ["252af9581c95"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "2649a1245792", + "effects": ["cc96725d8f47", "9e263f5e91be", "7d901d60a01a", "32a3635e06a4"] + } + }, + { + "id": "tk-linear-item.inner-false-object-error:sub-issue-open-settled", + "observation": { + "sender": ["c33fb7bbdab0", "2c8f51509f45"], + "payloads": ["252af9581c95", "56711aa72642"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a" + }, + "state": "335cdd96334f", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "7d901d60a01a", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "db29b57926b1", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-linear-item.inner-false-object-error:sub-issue-create-settled", + "observation": { + "sender": ["c33fb7bbdab0", "2c8f51509f45", "910853564928"], + "payloads": ["252af9581c95", "56711aa72642", "6fbb2167a2a8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a", + "sub-issue-create-2": "eb79a9b3682a" + }, + "state": "f0a8a5417034", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "7d901d60a01a", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "db29b57926b1", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "310aa929de22", + "1b84247bbb1d", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-linear-item.outer-refused:comment-settled", + "observation": { + "sender": ["3ca847fca558"], + "payloads": ["252af9581c95"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "7807d636d5ca", + "effects": ["cc96725d8f47", "9e263f5e91be", "f791567b212f", "32a3635e06a4"] + } + }, + { + "id": "tk-linear-item.outer-refused:sub-issue-open-settled", + "observation": { + "sender": ["3ca847fca558", "2c8f51509f45"], + "payloads": ["252af9581c95", "56711aa72642"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a" + }, + "state": "335cdd96334f", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "f791567b212f", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "db29b57926b1", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-linear-item.outer-refused:sub-issue-create-settled", + "observation": { + "sender": ["3ca847fca558", "2c8f51509f45", "910853564928"], + "payloads": ["252af9581c95", "56711aa72642", "6fbb2167a2a8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a", + "sub-issue-create-2": "eb79a9b3682a" + }, + "state": "f0a8a5417034", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "f791567b212f", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "db29b57926b1", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "310aa929de22", + "1b84247bbb1d", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-linear-item.outer-refused-no-message:comment-settled", + "observation": { + "sender": ["d857a39962fb"], + "payloads": ["252af9581c95"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "0ac6cc942440", + "effects": ["cc96725d8f47", "9e263f5e91be", "d48d5c49486c", "32a3635e06a4"] + } + }, + { + "id": "tk-linear-item.outer-refused-no-message:sub-issue-open-settled", + "observation": { + "sender": ["d857a39962fb", "2c8f51509f45"], + "payloads": ["252af9581c95", "56711aa72642"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a" + }, + "state": "335cdd96334f", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "d48d5c49486c", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "db29b57926b1", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-linear-item.outer-refused-no-message:sub-issue-create-settled", + "observation": { + "sender": ["d857a39962fb", "2c8f51509f45", "910853564928"], + "payloads": ["252af9581c95", "56711aa72642", "6fbb2167a2a8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a", + "sub-issue-create-2": "eb79a9b3682a" + }, + "state": "f0a8a5417034", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "d48d5c49486c", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "db29b57926b1", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "310aa929de22", + "1b84247bbb1d", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-linear-item.method-not-found:comment-settled", + "observation": { + "sender": ["3e73e27d5cd5"], + "payloads": ["252af9581c95"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "f76765650c9b", + "effects": ["cc96725d8f47", "9e263f5e91be", "b53c339a3854", "32a3635e06a4"] + } + }, + { + "id": "tk-linear-item.method-not-found:sub-issue-open-settled", + "observation": { + "sender": ["3e73e27d5cd5", "2c8f51509f45"], + "payloads": ["252af9581c95", "56711aa72642"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a" + }, + "state": "335cdd96334f", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b53c339a3854", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "db29b57926b1", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-linear-item.method-not-found:sub-issue-create-settled", + "observation": { + "sender": ["3e73e27d5cd5", "2c8f51509f45", "910853564928"], + "payloads": ["252af9581c95", "56711aa72642", "6fbb2167a2a8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a", + "sub-issue-create-2": "eb79a9b3682a" + }, + "state": "f0a8a5417034", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b53c339a3854", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "db29b57926b1", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "310aa929de22", + "1b84247bbb1d", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-linear-item.transport-rejection:comment-settled", + "observation": { + "sender": ["818ab7fe22f5"], + "payloads": ["252af9581c95"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "5ae9884071c5", + "effects": ["cc96725d8f47", "9e263f5e91be", "198ac889ae28", "32a3635e06a4"] + } + }, + { + "id": "tk-linear-item.transport-rejection:sub-issue-open-settled", + "observation": { + "sender": ["818ab7fe22f5", "2c8f51509f45"], + "payloads": ["252af9581c95", "56711aa72642"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a" + }, + "state": "335cdd96334f", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "198ac889ae28", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "db29b57926b1", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-linear-item.transport-rejection:sub-issue-create-settled", + "observation": { + "sender": ["818ab7fe22f5", "2c8f51509f45", "910853564928"], + "payloads": ["252af9581c95", "56711aa72642", "6fbb2167a2a8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a", + "sub-issue-create-2": "eb79a9b3682a" + }, + "state": "f0a8a5417034", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "198ac889ae28", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "db29b57926b1", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "310aa929de22", + "1b84247bbb1d", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-linear-item.transport-rejection-no-message:comment-settled", + "observation": { + "sender": ["bd8766792875"], + "payloads": ["252af9581c95"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "0ac6cc942440", + "effects": ["cc96725d8f47", "9e263f5e91be", "d48d5c49486c", "32a3635e06a4"] + } + }, + { + "id": "tk-linear-item.transport-rejection-no-message:sub-issue-open-settled", + "observation": { + "sender": ["bd8766792875", "2c8f51509f45"], + "payloads": ["252af9581c95", "56711aa72642"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a" + }, + "state": "335cdd96334f", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "d48d5c49486c", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "db29b57926b1", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-linear-item.transport-rejection-no-message:sub-issue-create-settled", + "observation": { + "sender": ["bd8766792875", "2c8f51509f45", "910853564928"], + "payloads": ["252af9581c95", "56711aa72642", "6fbb2167a2a8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a", + "sub-issue-create-2": "eb79a9b3682a" + }, + "state": "f0a8a5417034", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "d48d5c49486c", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "db29b57926b1", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "310aa929de22", + "1b84247bbb1d", + "0c0d6ea592d5" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.linear-item-linear.createissue-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.linear-item-linear.createissue-1.json new file mode 100644 index 00000000000..268041182f2 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.linear-item-linear.createissue-1.json @@ -0,0 +1,1870 @@ +{ + "operation": "tasks.linear-item-actions", + "family": "tasks.linear-item", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "97cfbcd82778ed6517ca2d10b2f3ad5a8d366e380d7846c1e89d5a5baf17e739", + "scenarioSha256": "8a5c5b210459d3938bc010bc88c69696a631072cd5a6b7e1a3eb3e1fd0da9c8a", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0c0d6ea592d5": { + "name": "mutatingStatus", + "value": false, + "sent": 3 + }, + "12b9ca6d3411": { + "name": "linearCommentDraft", + "value": "", + "sent": 1 + }, + "18d6aedd20c0": { + "name": "error", + "value": "outer refused", + "sent": 3 + }, + "1c50877ad554": { + "error": "transport failure", + "item": { + "key": "linear:linear-workspace:issue-2", + "provider": "linear", + "source": { + "description": "a description", + "id": "issue-2", + "identifier": "ENG-2", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + }, + "status": "Todo", + "subtitle": "ENG-2 · Engineering", + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + }, + "mutating": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [ + { + "body": "a linear comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "comment-9", + "user": { + "displayName": "You" + } + } + ], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + } + }, + "1ca8ccb3785a": { + "name": "error", + "value": "Cannot read properties of undefined (reading 'ok')", + "sent": 3 + }, + "1dcf350b71f7": { + "error": "", + "item": { + "key": "linear:linear-workspace:issue-2", + "provider": "linear", + "source": { + "description": "a description", + "id": "issue-2", + "identifier": "ENG-2", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + }, + "status": "Todo", + "subtitle": "ENG-2 · Engineering", + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + }, + "mutating": true, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [ + { + "body": "a linear comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "comment-9", + "user": { + "displayName": "You" + } + } + ], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + } + }, + "1edb9a75e1c7": { + "name": "linear.createIssue#1", + "args": [ + { + "name": "method", + "value": "linear.createIssue" + }, + { + "name": "params", + "value": { + "parentIssueId": "issue-1", + "projectId": { + "$rpc": "null" + }, + "teamId": "team-1", + "title": "A sub-issue", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "252af9581c95": { + "name": "linear.addIssueComment#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"linear.addIssueComment\",\"params\":{\"issueId\":\"issue-1\",\"workspaceId\":\"linear-workspace\",\"body\":\"a linear comment\"}}" + }, + "26374b8263d6": { + "name": "error", + "value": "transport failure", + "sent": 3 + }, + "2c8f51509f45": { + "name": "linear.getIssue#1", + "args": [ + { + "name": "method", + "value": "linear.getIssue" + }, + { + "name": "params", + "value": { + "id": "issue-2", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "description": "a description", + "id": "issue-2", + "identifier": "ENG-2", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + } + } + } + }, + "310aa929de22": { + "name": "linearSubIssueTitle", + "value": "", + "sent": 3 + }, + "32a3635e06a4": { + "name": "mutatingStatus", + "value": false, + "sent": 1 + }, + "3537547b034c": { + "name": "linear.createIssue#1", + "args": [ + { + "name": "method", + "value": "linear.createIssue" + }, + { + "name": "params", + "value": { + "parentIssueId": "issue-1", + "projectId": { + "$rpc": "null" + }, + "teamId": "team-1", + "title": "A sub-issue", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-3", + "ok": false + } + } + }, + "3bc7dc745e57": { + "name": "error", + "value": "[object Object]", + "sent": 3 + }, + "48107958be60": { + "error": "", + "item": { + "key": "linear:linear-workspace:issue-2", + "provider": "linear", + "source": { + "description": "a description", + "id": "issue-2", + "identifier": "ENG-2", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + }, + "status": "Todo", + "subtitle": "ENG-2 · Engineering", + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + }, + "mutating": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [ + { + "id": "issue-3", + "identifier": "ENG-3", + "title": "A sub-issue", + "url": "" + } + ], + "comments": [ + { + "body": "a linear comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "comment-9", + "user": { + "displayName": "You" + } + } + ], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + } + }, + "4b870cf7c216": { + "name": "detailPayload", + "value": { + "assignee": { + "$rpc": "undefined" + }, + "children": [ + { + "id": "issue-3", + "identifier": "ENG-3", + "title": "A sub-issue", + "url": "" + } + ], + "comments": [ + { + "body": "a linear comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "comment-9", + "user": { + "displayName": "You" + } + } + ], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + }, + "sent": 3 + }, + "4c69e7210f1a": { + "name": "linear.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "linear.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "a linear comment", + "issueId": "issue-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "id": "comment-9", + "ok": true + } + } + } + }, + "54b843bb4bf8": { + "error": "Cannot read properties of undefined (reading 'ok')", + "item": { + "key": "linear:linear-workspace:issue-2", + "provider": "linear", + "source": { + "description": "a description", + "id": "issue-2", + "identifier": "ENG-2", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + }, + "status": "Todo", + "subtitle": "ENG-2 · Engineering", + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + }, + "mutating": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [ + { + "body": "a linear comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "comment-9", + "user": { + "displayName": "You" + } + } + ], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + } + }, + "56711aa72642": { + "name": "linear.getIssue#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.getIssue\",\"params\":{\"id\":\"issue-2\",\"workspaceId\":\"linear-workspace\"}}" + }, + "583b546bd557": { + "name": "mutatingStatus", + "value": true, + "sent": 1 + }, + "6544d325ab6e": { + "name": "linear.createIssue#1", + "args": [ + { + "name": "method", + "value": "linear.createIssue" + }, + { + "name": "params", + "value": { + "parentIssueId": "issue-1", + "projectId": { + "$rpc": "null" + }, + "teamId": "team-1", + "title": "A sub-issue", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "6e6324634191": { + "name": "error", + "value": "inner refused", + "sent": 3 + }, + "6fbb2167a2a8": { + "name": "linear.createIssue#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"linear.createIssue\",\"params\":{\"teamId\":\"team-1\",\"title\":\"A sub-issue\",\"workspaceId\":\"linear-workspace\",\"parentIssueId\":\"issue-1\",\"projectId\":null}}" + }, + "733c78cbf099": { + "name": "linear.createIssue#1", + "args": [ + { + "name": "method", + "value": "linear.createIssue" + }, + { + "name": "params", + "value": { + "parentIssueId": "issue-1", + "projectId": { + "$rpc": "null" + }, + "teamId": "team-1", + "title": "A sub-issue", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "7a8140de3f8b": { + "name": "linear.createIssue#1", + "args": [ + { + "name": "method", + "value": "linear.createIssue" + }, + { + "name": "params", + "value": { + "parentIssueId": "issue-1", + "projectId": { + "$rpc": "null" + }, + "teamId": "team-1", + "title": "A sub-issue", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "7b7a52934284": { + "name": "linear.createIssue#1", + "args": [ + { + "name": "method", + "value": "linear.createIssue" + }, + { + "name": "params", + "value": { + "parentIssueId": "issue-1", + "projectId": { + "$rpc": "null" + }, + "teamId": "team-1", + "title": "A sub-issue", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "7c14fba8a1fe": { + "error": "", + "item": { + "key": "linear:linear-workspace:issue-2", + "provider": "linear", + "source": { + "description": "a description", + "id": "issue-2", + "identifier": "ENG-2", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + }, + "status": "Todo", + "subtitle": "ENG-2 · Engineering", + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + }, + "mutating": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [ + { + "body": "a linear comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "comment-9", + "user": { + "displayName": "You" + } + } + ], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + } + }, + "7c4663c87131": { + "error": "Unknown method", + "item": { + "key": "linear:linear-workspace:issue-2", + "provider": "linear", + "source": { + "description": "a description", + "id": "issue-2", + "identifier": "ENG-2", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + }, + "status": "Todo", + "subtitle": "ENG-2 · Engineering", + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + }, + "mutating": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [ + { + "body": "a linear comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "comment-9", + "user": { + "displayName": "You" + } + } + ], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + } + }, + "82983d26b169": { + "name": "mutatingStatus", + "value": true, + "sent": 2 + }, + "82e1d0775df9": { + "name": "linear.createIssue#1", + "args": [ + { + "name": "method", + "value": "linear.createIssue" + }, + { + "name": "params", + "value": { + "parentIssueId": "issue-1", + "projectId": { + "$rpc": "null" + }, + "teamId": "team-1", + "title": "A sub-issue", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true + } + } + }, + "857b0f423a93": { + "error": "outer refused", + "item": { + "key": "linear:linear-workspace:issue-2", + "provider": "linear", + "source": { + "description": "a description", + "id": "issue-2", + "identifier": "ENG-2", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + }, + "status": "Todo", + "subtitle": "ENG-2 · Engineering", + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + }, + "mutating": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [ + { + "body": "a linear comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "comment-9", + "user": { + "displayName": "You" + } + } + ], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + } + }, + "88dc883be043": { + "name": "linear.createIssue#1", + "args": [ + { + "name": "method", + "value": "linear.createIssue" + }, + { + "name": "params", + "value": { + "parentIssueId": "issue-1", + "projectId": { + "$rpc": "null" + }, + "teamId": "team-1", + "title": "A sub-issue", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-3", + "ok": false + } + } + }, + "8cde53a56cdf": { + "name": "mutatingStatus", + "value": false, + "sent": 2 + }, + "910853564928": { + "name": "linear.createIssue#1", + "args": [ + { + "name": "method", + "value": "linear.createIssue" + }, + { + "name": "params", + "value": { + "parentIssueId": "issue-1", + "projectId": { + "$rpc": "null" + }, + "teamId": "team-1", + "title": "A sub-issue", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "id": "issue-3", + "identifier": "ENG-3", + "ok": true, + "title": "A sub-issue", + "url": "" + } + } + } + }, + "933d48089040": { + "error": "inner refused", + "item": { + "key": "linear:linear-workspace:issue-2", + "provider": "linear", + "source": { + "description": "a description", + "id": "issue-2", + "identifier": "ENG-2", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + }, + "status": "Todo", + "subtitle": "ENG-2 · Engineering", + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + }, + "mutating": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [ + { + "body": "a linear comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "comment-9", + "user": { + "displayName": "You" + } + } + ], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + } + }, + "95e8e6626c1f": { + "error": "Cannot read properties of null (reading 'ok')", + "item": { + "key": "linear:linear-workspace:issue-2", + "provider": "linear", + "source": { + "description": "a description", + "id": "issue-2", + "identifier": "ENG-2", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + }, + "status": "Todo", + "subtitle": "ENG-2 · Engineering", + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + }, + "mutating": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [ + { + "body": "a linear comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "comment-9", + "user": { + "displayName": "You" + } + } + ], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + } + }, + "9d7372645165": { + "name": "linear.createIssue#1", + "args": [ + { + "name": "method", + "value": "linear.createIssue" + }, + { + "name": "params", + "value": { + "parentIssueId": "issue-1", + "projectId": { + "$rpc": "null" + }, + "teamId": "team-1", + "title": "A sub-issue", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "a39be9459b2b": { + "name": "error", + "value": "refused", + "sent": 3 + }, + "a7f0744be826": { + "error": "[object Object]", + "item": { + "key": "linear:linear-workspace:issue-2", + "provider": "linear", + "source": { + "description": "a description", + "id": "issue-2", + "identifier": "ENG-2", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + }, + "status": "Todo", + "subtitle": "ENG-2 · Engineering", + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + }, + "mutating": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [ + { + "body": "a linear comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "comment-9", + "user": { + "displayName": "You" + } + } + ], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + } + }, + "abeee718b4b5": { + "name": "detailPayload", + "value": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [ + { + "body": "a linear comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "comment-9", + "user": { + "displayName": "You" + } + } + ], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + }, + "sent": 1 + }, + "acebdd95fdf3": { + "name": "linear.createIssue#1", + "args": [ + { + "name": "method", + "value": "linear.createIssue" + }, + { + "name": "params", + "value": { + "parentIssueId": "issue-1", + "projectId": { + "$rpc": "null" + }, + "teamId": "team-1", + "title": "A sub-issue", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-3", + "ok": false + } + } + }, + "b57ded8a3ea3": { + "name": "error", + "value": "", + "sent": 2 + }, + "c68ce1c1e224": { + "name": "error", + "value": "Unknown method", + "sent": 3 + }, + "cc96725d8f47": { + "name": "mutatingStatus", + "value": true, + "sent": 0 + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "d8557b0e0565": { + "name": "error", + "value": "Cannot read properties of null (reading 'ok')", + "sent": 3 + }, + "dabcddbeb1c5": { + "name": "error", + "value": "Connection closed", + "sent": 3 + }, + "db29b57926b1": { + "name": "actionItem", + "value": { + "key": "linear:linear-workspace:issue-2", + "provider": "linear", + "source": { + "description": "a description", + "id": "issue-2", + "identifier": "ENG-2", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + }, + "status": "Todo", + "subtitle": "ENG-2 · Engineering", + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + }, + "sent": 2 + }, + "dbbebbd74a18": { + "name": "error", + "value": "", + "sent": 3 + }, + "dcb5a0348220": { + "error": "", + "item": { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + }, + "mutating": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [ + { + "body": "a linear comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "comment-9", + "user": { + "displayName": "You" + } + } + ], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + } + }, + "e6954e969cb9": { + "name": "linear.createIssue#1", + "args": [ + { + "name": "method", + "value": "linear.createIssue" + }, + { + "name": "params", + "value": { + "parentIssueId": "issue-1", + "projectId": { + "$rpc": "null" + }, + "teamId": "team-1", + "title": "A sub-issue", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Connection closed", + "isRpcDeliveryUnknown": true + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f4878d38b306": { + "error": "refused", + "item": { + "key": "linear:linear-workspace:issue-2", + "provider": "linear", + "source": { + "description": "a description", + "id": "issue-2", + "identifier": "ENG-2", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + }, + "status": "Todo", + "subtitle": "ENG-2 · Engineering", + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + }, + "mutating": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [ + { + "body": "a linear comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "comment-9", + "user": { + "displayName": "You" + } + } + ], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + } + } + }, + "recording": { + "scenario": "matrix-tasks.linear-item-linear.createissue-1", + "checkpoints": [ + { + "id": "tk-linear-item.prelude:comment-settled", + "observation": { + "sender": ["4c69e7210f1a"], + "payloads": ["252af9581c95"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "dcb5a0348220", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "abeee718b4b5", + "32a3635e06a4" + ] + } + }, + { + "id": "tk-linear-item.prelude:sub-issue-open-settled", + "observation": { + "sender": ["4c69e7210f1a", "2c8f51509f45"], + "payloads": ["252af9581c95", "56711aa72642"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a" + }, + "state": "7c14fba8a1fe", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "abeee718b4b5", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "db29b57926b1", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-linear-item.prelude:cleanup", + "observation": { + "sender": ["4c69e7210f1a", "2c8f51509f45", "e6954e969cb9"], + "payloads": ["252af9581c95", "56711aa72642", "6fbb2167a2a8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a", + "sub-issue-create-2": "eb79a9b3682a" + }, + "state": "1dcf350b71f7", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "abeee718b4b5", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "db29b57926b1", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "dabcddbeb1c5", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-linear-item.normal:sub-issue-create-settled", + "observation": { + "sender": ["4c69e7210f1a", "2c8f51509f45", "910853564928"], + "payloads": ["252af9581c95", "56711aa72642", "6fbb2167a2a8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a", + "sub-issue-create-2": "eb79a9b3682a" + }, + "state": "48107958be60", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "abeee718b4b5", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "db29b57926b1", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "310aa929de22", + "4b870cf7c216", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-linear-item.result-absent:sub-issue-create-settled", + "observation": { + "sender": ["4c69e7210f1a", "2c8f51509f45", "82e1d0775df9"], + "payloads": ["252af9581c95", "56711aa72642", "6fbb2167a2a8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a", + "sub-issue-create-2": "eb79a9b3682a" + }, + "state": "54b843bb4bf8", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "abeee718b4b5", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "db29b57926b1", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "1ca8ccb3785a", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-linear-item.result-null:sub-issue-create-settled", + "observation": { + "sender": ["4c69e7210f1a", "2c8f51509f45", "9d7372645165"], + "payloads": ["252af9581c95", "56711aa72642", "6fbb2167a2a8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a", + "sub-issue-create-2": "eb79a9b3682a" + }, + "state": "95e8e6626c1f", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "abeee718b4b5", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "db29b57926b1", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d8557b0e0565", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-linear-item.inner-ok-missing:sub-issue-create-settled", + "observation": { + "sender": ["4c69e7210f1a", "2c8f51509f45", "7a8140de3f8b"], + "payloads": ["252af9581c95", "56711aa72642", "6fbb2167a2a8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a", + "sub-issue-create-2": "eb79a9b3682a" + }, + "state": "f4878d38b306", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "abeee718b4b5", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "db29b57926b1", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "a39be9459b2b", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-linear-item.inner-false-string-error:sub-issue-create-settled", + "observation": { + "sender": ["4c69e7210f1a", "2c8f51509f45", "7b7a52934284"], + "payloads": ["252af9581c95", "56711aa72642", "6fbb2167a2a8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a", + "sub-issue-create-2": "eb79a9b3682a" + }, + "state": "933d48089040", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "abeee718b4b5", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "db29b57926b1", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "6e6324634191", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-linear-item.inner-false-object-error:sub-issue-create-settled", + "observation": { + "sender": ["4c69e7210f1a", "2c8f51509f45", "733c78cbf099"], + "payloads": ["252af9581c95", "56711aa72642", "6fbb2167a2a8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a", + "sub-issue-create-2": "eb79a9b3682a" + }, + "state": "a7f0744be826", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "abeee718b4b5", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "db29b57926b1", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "3bc7dc745e57", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-linear-item.outer-refused:sub-issue-create-settled", + "observation": { + "sender": ["4c69e7210f1a", "2c8f51509f45", "acebdd95fdf3"], + "payloads": ["252af9581c95", "56711aa72642", "6fbb2167a2a8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a", + "sub-issue-create-2": "eb79a9b3682a" + }, + "state": "857b0f423a93", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "abeee718b4b5", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "db29b57926b1", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "18d6aedd20c0", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-linear-item.outer-refused-no-message:sub-issue-create-settled", + "observation": { + "sender": ["4c69e7210f1a", "2c8f51509f45", "88dc883be043"], + "payloads": ["252af9581c95", "56711aa72642", "6fbb2167a2a8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a", + "sub-issue-create-2": "eb79a9b3682a" + }, + "state": "7c14fba8a1fe", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "abeee718b4b5", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "db29b57926b1", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "dbbebbd74a18", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-linear-item.method-not-found:sub-issue-create-settled", + "observation": { + "sender": ["4c69e7210f1a", "2c8f51509f45", "3537547b034c"], + "payloads": ["252af9581c95", "56711aa72642", "6fbb2167a2a8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a", + "sub-issue-create-2": "eb79a9b3682a" + }, + "state": "7c4663c87131", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "abeee718b4b5", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "db29b57926b1", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "c68ce1c1e224", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-linear-item.transport-rejection:sub-issue-create-settled", + "observation": { + "sender": ["4c69e7210f1a", "2c8f51509f45", "1edb9a75e1c7"], + "payloads": ["252af9581c95", "56711aa72642", "6fbb2167a2a8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a", + "sub-issue-create-2": "eb79a9b3682a" + }, + "state": "1c50877ad554", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "abeee718b4b5", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "db29b57926b1", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "26374b8263d6", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-linear-item.transport-rejection-no-message:sub-issue-create-settled", + "observation": { + "sender": ["4c69e7210f1a", "2c8f51509f45", "6544d325ab6e"], + "payloads": ["252af9581c95", "56711aa72642", "6fbb2167a2a8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a", + "sub-issue-create-2": "eb79a9b3682a" + }, + "state": "7c14fba8a1fe", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "abeee718b4b5", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "db29b57926b1", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "dbbebbd74a18", + "0c0d6ea592d5" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.linear-item-linear.getissue-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.linear-item-linear.getissue-1.json new file mode 100644 index 00000000000..564e2a7139b --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.linear-item-linear.getissue-1.json @@ -0,0 +1,1935 @@ +{ + "operation": "tasks.linear-item-actions", + "family": "tasks.linear-item", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "97cfbcd82778ed6517ca2d10b2f3ad5a8d366e380d7846c1e89d5a5baf17e739", + "scenarioSha256": "ab0ac02611d487a9edd58319c6e4b9302148684f27711afc3b69feaa73fc4b07", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "000516aa083b": { + "name": "error", + "value": "outer refused", + "sent": 2 + }, + "03ba75574787": { + "name": "linear.getIssue#1", + "args": [ + { + "name": "method", + "value": "linear.getIssue" + }, + { + "name": "params", + "value": { + "id": "issue-2", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "0c0d6ea592d5": { + "name": "mutatingStatus", + "value": false, + "sent": 3 + }, + "0c7a193ff0fc": { + "name": "linear.getIssue#1", + "args": [ + { + "name": "method", + "value": "linear.getIssue" + }, + { + "name": "params", + "value": { + "id": "issue-2", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "12b9ca6d3411": { + "name": "linearCommentDraft", + "value": "", + "sent": 1 + }, + "1ccd8c8e0846": { + "error": "Unknown method", + "item": { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + }, + "mutating": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [ + { + "body": "a linear comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "comment-9", + "user": { + "displayName": "You" + } + } + ], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + } + }, + "1cdac3892b88": { + "error": "Sub-issue not found", + "item": { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + }, + "mutating": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [ + { + "body": "a linear comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "comment-9", + "user": { + "displayName": "You" + } + } + ], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + } + }, + "2508f48c9b7c": { + "name": "linear.getIssue#1", + "args": [ + { + "name": "method", + "value": "linear.getIssue" + }, + { + "name": "params", + "value": { + "id": "issue-2", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "252af9581c95": { + "name": "linear.addIssueComment#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"linear.addIssueComment\",\"params\":{\"issueId\":\"issue-1\",\"workspaceId\":\"linear-workspace\",\"body\":\"a linear comment\"}}" + }, + "2c8f51509f45": { + "name": "linear.getIssue#1", + "args": [ + { + "name": "method", + "value": "linear.getIssue" + }, + { + "name": "params", + "value": { + "id": "issue-2", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "description": "a description", + "id": "issue-2", + "identifier": "ENG-2", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + } + } + } + }, + "310aa929de22": { + "name": "linearSubIssueTitle", + "value": "", + "sent": 3 + }, + "31c35ed4408c": { + "error": "", + "item": { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + }, + "mutating": true, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [ + { + "body": "a linear comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "comment-9", + "user": { + "displayName": "You" + } + } + ], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + } + }, + "321e12a67360": { + "name": "linear.getIssue#1", + "args": [ + { + "name": "method", + "value": "linear.getIssue" + }, + { + "name": "params", + "value": { + "id": "issue-2", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "32a3635e06a4": { + "name": "mutatingStatus", + "value": false, + "sent": 1 + }, + "34ac31e64bbc": { + "error": "transport failure", + "item": { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + }, + "mutating": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [ + { + "body": "a linear comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "comment-9", + "user": { + "displayName": "You" + } + } + ], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + } + }, + "48107958be60": { + "error": "", + "item": { + "key": "linear:linear-workspace:issue-2", + "provider": "linear", + "source": { + "description": "a description", + "id": "issue-2", + "identifier": "ENG-2", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + }, + "status": "Todo", + "subtitle": "ENG-2 · Engineering", + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + }, + "mutating": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [ + { + "id": "issue-3", + "identifier": "ENG-3", + "title": "A sub-issue", + "url": "" + } + ], + "comments": [ + { + "body": "a linear comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "comment-9", + "user": { + "displayName": "You" + } + } + ], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + } + }, + "4b870cf7c216": { + "name": "detailPayload", + "value": { + "assignee": { + "$rpc": "undefined" + }, + "children": [ + { + "id": "issue-3", + "identifier": "ENG-3", + "title": "A sub-issue", + "url": "" + } + ], + "comments": [ + { + "body": "a linear comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "comment-9", + "user": { + "displayName": "You" + } + } + ], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + }, + "sent": 3 + }, + "4c69e7210f1a": { + "name": "linear.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "linear.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "a linear comment", + "issueId": "issue-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "id": "comment-9", + "ok": true + } + } + } + }, + "52d25e1f3035": { + "name": "error", + "value": "Connection closed", + "sent": 2 + }, + "56711aa72642": { + "name": "linear.getIssue#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.getIssue\",\"params\":{\"id\":\"issue-2\",\"workspaceId\":\"linear-workspace\"}}" + }, + "583b546bd557": { + "name": "mutatingStatus", + "value": true, + "sent": 1 + }, + "5a11bbb29a30": { + "name": "linear.getIssue#1", + "args": [ + { + "name": "method", + "value": "linear.getIssue" + }, + { + "name": "params", + "value": { + "id": "issue-2", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "5c2874ad80bc": { + "name": "error", + "value": "transport failure", + "sent": 2 + }, + "5d9c3e0ee7ee": { + "error": "", + "item": { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + }, + "mutating": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [ + { + "id": "issue-3", + "identifier": "ENG-3", + "title": "A sub-issue", + "url": "" + } + ], + "comments": [ + { + "body": "a linear comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "comment-9", + "user": { + "displayName": "You" + } + } + ], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + } + }, + "5ddf0fd75757": { + "name": "linear.getIssue#1", + "args": [ + { + "name": "method", + "value": "linear.getIssue" + }, + { + "name": "params", + "value": { + "id": "issue-2", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "6fbb2167a2a8": { + "name": "linear.createIssue#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"linear.createIssue\",\"params\":{\"teamId\":\"team-1\",\"title\":\"A sub-issue\",\"workspaceId\":\"linear-workspace\",\"parentIssueId\":\"issue-1\",\"projectId\":null}}" + }, + "7c14fba8a1fe": { + "error": "", + "item": { + "key": "linear:linear-workspace:issue-2", + "provider": "linear", + "source": { + "description": "a description", + "id": "issue-2", + "identifier": "ENG-2", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + }, + "status": "Todo", + "subtitle": "ENG-2 · Engineering", + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + }, + "mutating": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [ + { + "body": "a linear comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "comment-9", + "user": { + "displayName": "You" + } + } + ], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + } + }, + "7d5d5cb0c11f": { + "name": "linear.getIssue#1", + "args": [ + { + "name": "method", + "value": "linear.getIssue" + }, + { + "name": "params", + "value": { + "id": "issue-2", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "7df18cabc6c9": { + "error": "Cannot read properties of undefined (reading 'name')", + "item": { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + }, + "mutating": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [ + { + "body": "a linear comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "comment-9", + "user": { + "displayName": "You" + } + } + ], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + } + }, + "82983d26b169": { + "name": "mutatingStatus", + "value": true, + "sent": 2 + }, + "8af40adb9d8d": { + "name": "linear.getIssue#1", + "args": [ + { + "name": "method", + "value": "linear.getIssue" + }, + { + "name": "params", + "value": { + "id": "issue-2", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "8cde53a56cdf": { + "name": "mutatingStatus", + "value": false, + "sent": 2 + }, + "8e84155275d3": { + "name": "linear.getIssue#1", + "args": [ + { + "name": "method", + "value": "linear.getIssue" + }, + { + "name": "params", + "value": { + "id": "issue-2", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Connection closed", + "isRpcDeliveryUnknown": true + } + } + }, + "910853564928": { + "name": "linear.createIssue#1", + "args": [ + { + "name": "method", + "value": "linear.createIssue" + }, + { + "name": "params", + "value": { + "parentIssueId": "issue-1", + "projectId": { + "$rpc": "null" + }, + "teamId": "team-1", + "title": "A sub-issue", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "id": "issue-3", + "identifier": "ENG-3", + "ok": true, + "title": "A sub-issue", + "url": "" + } + } + } + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "abeee718b4b5": { + "name": "detailPayload", + "value": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [ + { + "body": "a linear comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "comment-9", + "user": { + "displayName": "You" + } + } + ], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + }, + "sent": 1 + }, + "ac636cdfa5a0": { + "error": "outer refused", + "item": { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + }, + "mutating": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [ + { + "body": "a linear comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "comment-9", + "user": { + "displayName": "You" + } + } + ], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + } + }, + "b12529ce2cd1": { + "name": "linear.getIssue#1", + "args": [ + { + "name": "method", + "value": "linear.getIssue" + }, + { + "name": "params", + "value": { + "id": "issue-2", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "b57ded8a3ea3": { + "name": "error", + "value": "", + "sent": 2 + }, + "cc96725d8f47": { + "name": "mutatingStatus", + "value": true, + "sent": 0 + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "d999cf5823a0": { + "name": "linear.getIssue#1", + "args": [ + { + "name": "method", + "value": "linear.getIssue" + }, + { + "name": "params", + "value": { + "id": "issue-2", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "db29b57926b1": { + "name": "actionItem", + "value": { + "key": "linear:linear-workspace:issue-2", + "provider": "linear", + "source": { + "description": "a description", + "id": "issue-2", + "identifier": "ENG-2", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + }, + "status": "Todo", + "subtitle": "ENG-2 · Engineering", + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + }, + "sent": 2 + }, + "dcb5a0348220": { + "error": "", + "item": { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + }, + "mutating": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [ + { + "body": "a linear comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "comment-9", + "user": { + "displayName": "You" + } + } + ], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + } + }, + "dccc370f5edb": { + "name": "error", + "value": "Cannot read properties of undefined (reading 'name')", + "sent": 2 + }, + "e09a0f914b10": { + "name": "error", + "value": "Sub-issue not found", + "sent": 2 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f1cfc2d1bcc1": { + "name": "error", + "value": "Unknown method", + "sent": 2 + } + }, + "recording": { + "scenario": "matrix-tasks.linear-item-linear.getissue-1", + "checkpoints": [ + { + "id": "tk-linear-item.prelude:comment-settled", + "observation": { + "sender": ["4c69e7210f1a"], + "payloads": ["252af9581c95"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "dcb5a0348220", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "abeee718b4b5", + "32a3635e06a4" + ] + } + }, + { + "id": "tk-linear-item.prelude:cleanup", + "observation": { + "sender": ["4c69e7210f1a", "8e84155275d3"], + "payloads": ["252af9581c95", "56711aa72642"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a" + }, + "state": "31c35ed4408c", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "abeee718b4b5", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "52d25e1f3035", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-linear-item.normal:sub-issue-open-settled", + "observation": { + "sender": ["4c69e7210f1a", "2c8f51509f45"], + "payloads": ["252af9581c95", "56711aa72642"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a" + }, + "state": "7c14fba8a1fe", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "abeee718b4b5", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "db29b57926b1", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-linear-item.normal:sub-issue-create-settled", + "observation": { + "sender": ["4c69e7210f1a", "2c8f51509f45", "910853564928"], + "payloads": ["252af9581c95", "56711aa72642", "6fbb2167a2a8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a", + "sub-issue-create-2": "eb79a9b3682a" + }, + "state": "48107958be60", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "abeee718b4b5", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "db29b57926b1", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "310aa929de22", + "4b870cf7c216", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-linear-item.result-absent:sub-issue-open-settled", + "observation": { + "sender": ["4c69e7210f1a", "5ddf0fd75757"], + "payloads": ["252af9581c95", "56711aa72642"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a" + }, + "state": "1cdac3892b88", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "abeee718b4b5", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "e09a0f914b10", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-linear-item.result-absent:sub-issue-create-settled", + "observation": { + "sender": ["4c69e7210f1a", "5ddf0fd75757", "910853564928"], + "payloads": ["252af9581c95", "56711aa72642", "6fbb2167a2a8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a", + "sub-issue-create-2": "eb79a9b3682a" + }, + "state": "5d9c3e0ee7ee", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "abeee718b4b5", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "e09a0f914b10", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "310aa929de22", + "4b870cf7c216", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-linear-item.result-null:sub-issue-open-settled", + "observation": { + "sender": ["4c69e7210f1a", "7d5d5cb0c11f"], + "payloads": ["252af9581c95", "56711aa72642"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a" + }, + "state": "1cdac3892b88", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "abeee718b4b5", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "e09a0f914b10", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-linear-item.result-null:sub-issue-create-settled", + "observation": { + "sender": ["4c69e7210f1a", "7d5d5cb0c11f", "910853564928"], + "payloads": ["252af9581c95", "56711aa72642", "6fbb2167a2a8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a", + "sub-issue-create-2": "eb79a9b3682a" + }, + "state": "5d9c3e0ee7ee", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "abeee718b4b5", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "e09a0f914b10", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "310aa929de22", + "4b870cf7c216", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-linear-item.inner-ok-missing:sub-issue-open-settled", + "observation": { + "sender": ["4c69e7210f1a", "5a11bbb29a30"], + "payloads": ["252af9581c95", "56711aa72642"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a" + }, + "state": "7df18cabc6c9", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "abeee718b4b5", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "dccc370f5edb", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-linear-item.inner-ok-missing:sub-issue-create-settled", + "observation": { + "sender": ["4c69e7210f1a", "5a11bbb29a30", "910853564928"], + "payloads": ["252af9581c95", "56711aa72642", "6fbb2167a2a8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a", + "sub-issue-create-2": "eb79a9b3682a" + }, + "state": "5d9c3e0ee7ee", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "abeee718b4b5", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "dccc370f5edb", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "310aa929de22", + "4b870cf7c216", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-linear-item.inner-false-string-error:sub-issue-open-settled", + "observation": { + "sender": ["4c69e7210f1a", "0c7a193ff0fc"], + "payloads": ["252af9581c95", "56711aa72642"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a" + }, + "state": "7df18cabc6c9", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "abeee718b4b5", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "dccc370f5edb", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-linear-item.inner-false-string-error:sub-issue-create-settled", + "observation": { + "sender": ["4c69e7210f1a", "0c7a193ff0fc", "910853564928"], + "payloads": ["252af9581c95", "56711aa72642", "6fbb2167a2a8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a", + "sub-issue-create-2": "eb79a9b3682a" + }, + "state": "5d9c3e0ee7ee", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "abeee718b4b5", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "dccc370f5edb", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "310aa929de22", + "4b870cf7c216", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-linear-item.inner-false-object-error:sub-issue-open-settled", + "observation": { + "sender": ["4c69e7210f1a", "8af40adb9d8d"], + "payloads": ["252af9581c95", "56711aa72642"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a" + }, + "state": "7df18cabc6c9", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "abeee718b4b5", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "dccc370f5edb", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-linear-item.inner-false-object-error:sub-issue-create-settled", + "observation": { + "sender": ["4c69e7210f1a", "8af40adb9d8d", "910853564928"], + "payloads": ["252af9581c95", "56711aa72642", "6fbb2167a2a8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a", + "sub-issue-create-2": "eb79a9b3682a" + }, + "state": "5d9c3e0ee7ee", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "abeee718b4b5", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "dccc370f5edb", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "310aa929de22", + "4b870cf7c216", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-linear-item.outer-refused:sub-issue-open-settled", + "observation": { + "sender": ["4c69e7210f1a", "2508f48c9b7c"], + "payloads": ["252af9581c95", "56711aa72642"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a" + }, + "state": "ac636cdfa5a0", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "abeee718b4b5", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "000516aa083b", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-linear-item.outer-refused:sub-issue-create-settled", + "observation": { + "sender": ["4c69e7210f1a", "2508f48c9b7c", "910853564928"], + "payloads": ["252af9581c95", "56711aa72642", "6fbb2167a2a8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a", + "sub-issue-create-2": "eb79a9b3682a" + }, + "state": "5d9c3e0ee7ee", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "abeee718b4b5", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "000516aa083b", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "310aa929de22", + "4b870cf7c216", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-linear-item.outer-refused-no-message:sub-issue-open-settled", + "observation": { + "sender": ["4c69e7210f1a", "b12529ce2cd1"], + "payloads": ["252af9581c95", "56711aa72642"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a" + }, + "state": "dcb5a0348220", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "abeee718b4b5", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "b57ded8a3ea3", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-linear-item.outer-refused-no-message:sub-issue-create-settled", + "observation": { + "sender": ["4c69e7210f1a", "b12529ce2cd1", "910853564928"], + "payloads": ["252af9581c95", "56711aa72642", "6fbb2167a2a8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a", + "sub-issue-create-2": "eb79a9b3682a" + }, + "state": "5d9c3e0ee7ee", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "abeee718b4b5", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "b57ded8a3ea3", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "310aa929de22", + "4b870cf7c216", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-linear-item.method-not-found:sub-issue-open-settled", + "observation": { + "sender": ["4c69e7210f1a", "03ba75574787"], + "payloads": ["252af9581c95", "56711aa72642"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a" + }, + "state": "1ccd8c8e0846", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "abeee718b4b5", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "f1cfc2d1bcc1", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-linear-item.method-not-found:sub-issue-create-settled", + "observation": { + "sender": ["4c69e7210f1a", "03ba75574787", "910853564928"], + "payloads": ["252af9581c95", "56711aa72642", "6fbb2167a2a8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a", + "sub-issue-create-2": "eb79a9b3682a" + }, + "state": "5d9c3e0ee7ee", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "abeee718b4b5", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "f1cfc2d1bcc1", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "310aa929de22", + "4b870cf7c216", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-linear-item.transport-rejection:sub-issue-open-settled", + "observation": { + "sender": ["4c69e7210f1a", "321e12a67360"], + "payloads": ["252af9581c95", "56711aa72642"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a" + }, + "state": "34ac31e64bbc", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "abeee718b4b5", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "5c2874ad80bc", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-linear-item.transport-rejection:sub-issue-create-settled", + "observation": { + "sender": ["4c69e7210f1a", "321e12a67360", "910853564928"], + "payloads": ["252af9581c95", "56711aa72642", "6fbb2167a2a8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a", + "sub-issue-create-2": "eb79a9b3682a" + }, + "state": "5d9c3e0ee7ee", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "abeee718b4b5", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "5c2874ad80bc", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "310aa929de22", + "4b870cf7c216", + "0c0d6ea592d5" + ] + } + }, + { + "id": "tk-linear-item.transport-rejection-no-message:sub-issue-open-settled", + "observation": { + "sender": ["4c69e7210f1a", "d999cf5823a0"], + "payloads": ["252af9581c95", "56711aa72642"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a" + }, + "state": "dcb5a0348220", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "abeee718b4b5", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "b57ded8a3ea3", + "8cde53a56cdf" + ] + } + }, + { + "id": "tk-linear-item.transport-rejection-no-message:sub-issue-create-settled", + "observation": { + "sender": ["4c69e7210f1a", "d999cf5823a0", "910853564928"], + "payloads": ["252af9581c95", "56711aa72642", "6fbb2167a2a8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a", + "sub-issue-create-2": "eb79a9b3682a" + }, + "state": "5d9c3e0ee7ee", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "abeee718b4b5", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "b57ded8a3ea3", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "310aa929de22", + "4b870cf7c216", + "0c0d6ea592d5" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.linear-team-context-linear.listteams-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.linear-team-context-linear.listteams-1.json new file mode 100644 index 00000000000..9476d302fc8 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.linear-team-context-linear.listteams-1.json @@ -0,0 +1,1631 @@ +{ + "operation": "tasks.linear-team-context", + "family": "tasks.linear-team-context", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "58ea1553e04017c993aea4753aace41ee664705a3fdb3b18569c5a9d7968cf06", + "scenarioSha256": "c4a5928ef7035ad8bed20945f235f4fa509238b3a167c91df50baefff8e8433f", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "00598fc4e64c": { + "name": "linearTeams", + "value": [], + "sent": 1 + }, + "049372f27933": { + "name": "prFileContents", + "value": {}, + "sent": 0 + }, + "04c5528024be": { + "name": "itemRemoveLabelsDraft", + "value": "", + "sent": 0 + }, + "065c82e2c558": { + "name": "linearStates", + "value": [ + { + "color": "#000000", + "id": "state-1", + "name": "Todo", + "type": "unstarted" + } + ], + "sent": 2 + }, + "12b9ca6d3411": { + "name": "linearCommentDraft", + "value": "", + "sent": 1 + }, + "18a1433d8d21": { + "name": "linear.listTeams#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"linear.listTeams\"}" + }, + "1d9a37f58a33": { + "name": "creatingTask", + "value": false, + "sent": 0 + }, + "1e04ae13b692": { + "name": "expandedPrFilePath", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "217c9076cb62": { + "name": "linearSubIssueTitle", + "value": "", + "sent": 0 + }, + "2a36cc18a7da": { + "name": "linearTeams", + "value": [ + { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + } + ], + "sent": 1 + }, + "2afc4b1311c1": { + "createTeamId": "team-1", + "states": [], + "statesLoading": false, + "teams": [ + { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + } + ] + }, + "40f9e992c3d0": { + "name": "linearTeams", + "value": { + "error": "inner refused", + "ok": false + }, + "sent": 1 + }, + "4331036690d4": { + "name": "prFileLoadingPath", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "43a64d0d0bdb": { + "name": "expandedResolvedCommentGroups", + "value": [], + "sent": 0 + }, + "44bd17f18a56": { + "createTeamId": { + "$rpc": "null" + }, + "states": [], + "statesLoading": false, + "teams": { + "error": { + "message": "inner refused" + }, + "ok": false + } + }, + "4f71189f4e00": { + "name": "linear.listTeams#1", + "args": [ + { + "name": "method", + "value": "linear.listTeams" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": [ + { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + } + ] + } + } + }, + "514aa14f1539": { + "name": "linear.listTeams#1", + "args": [ + { + "name": "method", + "value": "linear.listTeams" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "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 + } + } + }, + "5324aa581c57": { + "name": "linear.listTeams#1", + "args": [ + { + "name": "method", + "value": "linear.listTeams" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "599b1be870ef": { + "name": "linear.listTeams#1", + "args": [ + { + "name": "method", + "value": "linear.listTeams" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "5d1b8ed07c2d": { + "createTeamId": { + "$rpc": "null" + }, + "states": [], + "statesLoading": false, + "teams": { + "error": "refused" + } + }, + "636acb894008": { + "createTeamId": { + "$rpc": "null" + }, + "states": [], + "statesLoading": false, + "teams": { + "error": "inner refused", + "ok": false + } + }, + "6cd6efbcaf7e": { + "name": "linear.listTeams#1", + "args": [ + { + "name": "method", + "value": "linear.listTeams" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "6fa69d344960": { + "name": "linearTeams", + "value": { + "$rpc": "null" + }, + "sent": 1 + }, + "7096f5c8cd2c": { + "name": "createTeamId", + "value": { + "$rpc": "null" + }, + "sent": 1 + }, + "7379ae7ed6c8": { + "createTeamId": { + "$rpc": "null" + }, + "states": [ + { + "color": "#000000", + "id": "state-1", + "name": "Todo", + "type": "unstarted" + } + ], + "statesLoading": false, + "teams": { + "error": "inner refused", + "ok": false + } + }, + "74bc5ac6d229": { + "name": "itemAddAssigneesDraft", + "value": "", + "sent": 0 + }, + "74ca99e85dba": { + "createTeamId": { + "$rpc": "null" + }, + "states": [], + "statesLoading": false, + "teams": [] + }, + "788bcfdee78c": { + "name": "linear.listTeams#1", + "args": [ + { + "name": "method", + "value": "linear.listTeams" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "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 + } + } + } + }, + "797d29171de4": { + "name": "linearCommentDraft", + "value": "", + "sent": 0 + }, + "79d1ab045d8b": { + "name": "linear.listTeams#1", + "args": [ + { + "name": "method", + "value": "linear.listTeams" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "7c6439d32d4d": { + "name": "linearStates", + "value": [], + "sent": 0 + }, + "81a32c2b3439": { + "name": "linearStatesLoading", + "value": false, + "sent": 2 + }, + "82bb21330f48": { + "name": "linearTeams", + "value": { + "$rpc": "undefined" + }, + "sent": 1 + }, + "84591a5e606b": { + "name": "itemRemoveAssigneesDraft", + "value": "", + "sent": 0 + }, + "8549e5f2062c": { + "createTeamId": { + "$rpc": "null" + }, + "states": [ + { + "color": "#000000", + "id": "state-1", + "name": "Todo", + "type": "unstarted" + } + ], + "statesLoading": false, + "teams": { + "error": "refused" + } + }, + "8a1b2b9ec56a": { + "name": "linear.listTeams#1", + "args": [ + { + "name": "method", + "value": "linear.listTeams" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "8a45c17cd319": { + "name": "itemTitleDraft", + "value": "", + "sent": 0 + }, + "9385340ebcd4": { + "name": "linear.teamStates#1", + "args": [ + { + "name": "method", + "value": "linear.teamStates" + }, + { + "name": "params", + "value": { + "teamId": "team-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": [ + { + "color": "#000000", + "id": "state-1", + "name": "Todo", + "type": "unstarted" + } + ] + } + } + }, + "9d800127c719": { + "name": "createTeamId", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "a84509df0515": { + "name": "linear.listTeams#1", + "args": [ + { + "name": "method", + "value": "linear.listTeams" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "abb71c80728e": { + "name": "linear.listTeams#1", + "args": [ + { + "name": "method", + "value": "linear.listTeams" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "b50e582f1f87": { + "name": "itemBodyDraft", + "value": "", + "sent": 0 + }, + "b6bf81e9e237": { + "createTeamId": "team-1", + "states": [ + { + "color": "#000000", + "id": "state-1", + "name": "Todo", + "type": "unstarted" + } + ], + "statesLoading": false, + "teams": [ + { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + } + ] + }, + "bb26ae00041e": { + "createTeamId": { + "$rpc": "null" + }, + "states": [ + { + "color": "#000000", + "id": "state-1", + "name": "Todo", + "type": "unstarted" + } + ], + "statesLoading": false, + "teams": [] + }, + "c9f74e6a8f4b": { + "name": "linearStatesLoading", + "value": true, + "sent": 1 + }, + "cb7025a10156": { + "name": "itemReviewersDraft", + "value": "", + "sent": 0 + }, + "cbbd99961d9a": { + "name": "itemCommentDraft", + "value": "", + "sent": 0 + }, + "cda0a9e3231b": { + "name": "itemAddLabelsDraft", + "value": "", + "sent": 0 + }, + "ce991ff5560d": { + "name": "prFileCommentDrafts", + "value": {}, + "sent": 0 + }, + "d763ea704ab3": { + "createTeamId": { + "$rpc": "null" + }, + "states": [ + { + "color": "#000000", + "id": "state-1", + "name": "Todo", + "type": "unstarted" + } + ], + "statesLoading": false, + "teams": { + "error": { + "message": "inner refused" + }, + "ok": false + } + }, + "d9287348e74d": { + "name": "linear.listTeams#1", + "args": [ + { + "name": "method", + "value": "linear.listTeams" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "ded8ff628165": { + "name": "itemReplyDrafts", + "value": {}, + "sent": 0 + }, + "df9cbe753bae": { + "name": "linearSubIssueTitle", + "value": "", + "sent": 1 + }, + "e132489d2d57": { + "name": "linear.teamStates#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.teamStates\",\"params\":{\"teamId\":\"team-1\",\"workspaceId\":\"linear-workspace\"}}" + }, + "e201f508b2a8": { + "name": "linearTeams", + "value": { + "error": { + "message": "inner refused" + }, + "ok": false + }, + "sent": 1 + }, + "e483917577a8": { + "name": "createTeamId", + "value": "team-1", + "sent": 1 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ebdb222fbbbc": { + "name": "linearTeams", + "value": { + "error": "refused" + }, + "sent": 1 + } + }, + "recording": { + "scenario": "matrix-tasks.linear-team-context-linear.listteams-1", + "checkpoints": [ + { + "id": "tk-linear-team-context.normal:open-composer-settled", + "observation": { + "sender": ["4f71189f4e00"], + "payloads": ["18a1433d8d21"], + "settlements": { + "mount": "eb79a9b3682a", + "open-composer-0": "eb79a9b3682a" + }, + "state": "2afc4b1311c1", + "effects": [ + "7c6439d32d4d", + "797d29171de4", + "217c9076cb62", + "8a45c17cd319", + "b50e582f1f87", + "cbbd99961d9a", + "cda0a9e3231b", + "04c5528024be", + "74bc5ac6d229", + "84591a5e606b", + "cb7025a10156", + "ded8ff628165", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "43a64d0d0bdb", + "1d9a37f58a33", + "9d800127c719", + "2a36cc18a7da", + "e483917577a8" + ] + } + }, + { + "id": "tk-linear-team-context.normal:select-metadata-item-settled", + "observation": { + "sender": ["4f71189f4e00", "9385340ebcd4"], + "payloads": ["18a1433d8d21", "e132489d2d57"], + "settlements": { + "mount": "eb79a9b3682a", + "open-composer-0": "eb79a9b3682a", + "select-metadata-item-1": "eb79a9b3682a" + }, + "state": "b6bf81e9e237", + "effects": [ + "7c6439d32d4d", + "797d29171de4", + "217c9076cb62", + "8a45c17cd319", + "b50e582f1f87", + "cbbd99961d9a", + "cda0a9e3231b", + "04c5528024be", + "74bc5ac6d229", + "84591a5e606b", + "cb7025a10156", + "ded8ff628165", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "43a64d0d0bdb", + "1d9a37f58a33", + "9d800127c719", + "2a36cc18a7da", + "e483917577a8", + "c9f74e6a8f4b", + "12b9ca6d3411", + "df9cbe753bae", + "065c82e2c558", + "81a32c2b3439" + ] + } + }, + { + "id": "tk-linear-team-context.result-absent:open-composer-settled", + "observation": { + "sender": ["599b1be870ef"], + "payloads": ["18a1433d8d21"], + "settlements": { + "mount": "eb79a9b3682a", + "open-composer-0": "eb79a9b3682a" + }, + "state": "74ca99e85dba", + "effects": [ + "7c6439d32d4d", + "797d29171de4", + "217c9076cb62", + "8a45c17cd319", + "b50e582f1f87", + "cbbd99961d9a", + "cda0a9e3231b", + "04c5528024be", + "74bc5ac6d229", + "84591a5e606b", + "cb7025a10156", + "ded8ff628165", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "43a64d0d0bdb", + "1d9a37f58a33", + "9d800127c719", + "82bb21330f48", + "00598fc4e64c", + "7096f5c8cd2c" + ] + } + }, + { + "id": "tk-linear-team-context.result-absent:select-metadata-item-settled", + "observation": { + "sender": ["599b1be870ef", "9385340ebcd4"], + "payloads": ["18a1433d8d21", "e132489d2d57"], + "settlements": { + "mount": "eb79a9b3682a", + "open-composer-0": "eb79a9b3682a", + "select-metadata-item-1": "eb79a9b3682a" + }, + "state": "bb26ae00041e", + "effects": [ + "7c6439d32d4d", + "797d29171de4", + "217c9076cb62", + "8a45c17cd319", + "b50e582f1f87", + "cbbd99961d9a", + "cda0a9e3231b", + "04c5528024be", + "74bc5ac6d229", + "84591a5e606b", + "cb7025a10156", + "ded8ff628165", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "43a64d0d0bdb", + "1d9a37f58a33", + "9d800127c719", + "82bb21330f48", + "00598fc4e64c", + "7096f5c8cd2c", + "c9f74e6a8f4b", + "12b9ca6d3411", + "df9cbe753bae", + "065c82e2c558", + "81a32c2b3439" + ] + } + }, + { + "id": "tk-linear-team-context.result-null:open-composer-settled", + "observation": { + "sender": ["6cd6efbcaf7e"], + "payloads": ["18a1433d8d21"], + "settlements": { + "mount": "eb79a9b3682a", + "open-composer-0": "eb79a9b3682a" + }, + "state": "74ca99e85dba", + "effects": [ + "7c6439d32d4d", + "797d29171de4", + "217c9076cb62", + "8a45c17cd319", + "b50e582f1f87", + "cbbd99961d9a", + "cda0a9e3231b", + "04c5528024be", + "74bc5ac6d229", + "84591a5e606b", + "cb7025a10156", + "ded8ff628165", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "43a64d0d0bdb", + "1d9a37f58a33", + "9d800127c719", + "6fa69d344960", + "00598fc4e64c", + "7096f5c8cd2c" + ] + } + }, + { + "id": "tk-linear-team-context.result-null:select-metadata-item-settled", + "observation": { + "sender": ["6cd6efbcaf7e", "9385340ebcd4"], + "payloads": ["18a1433d8d21", "e132489d2d57"], + "settlements": { + "mount": "eb79a9b3682a", + "open-composer-0": "eb79a9b3682a", + "select-metadata-item-1": "eb79a9b3682a" + }, + "state": "bb26ae00041e", + "effects": [ + "7c6439d32d4d", + "797d29171de4", + "217c9076cb62", + "8a45c17cd319", + "b50e582f1f87", + "cbbd99961d9a", + "cda0a9e3231b", + "04c5528024be", + "74bc5ac6d229", + "84591a5e606b", + "cb7025a10156", + "ded8ff628165", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "43a64d0d0bdb", + "1d9a37f58a33", + "9d800127c719", + "6fa69d344960", + "00598fc4e64c", + "7096f5c8cd2c", + "c9f74e6a8f4b", + "12b9ca6d3411", + "df9cbe753bae", + "065c82e2c558", + "81a32c2b3439" + ] + } + }, + { + "id": "tk-linear-team-context.inner-ok-missing:open-composer-settled", + "observation": { + "sender": ["abb71c80728e"], + "payloads": ["18a1433d8d21"], + "settlements": { + "mount": "eb79a9b3682a", + "open-composer-0": "eb79a9b3682a" + }, + "state": "5d1b8ed07c2d", + "effects": [ + "7c6439d32d4d", + "797d29171de4", + "217c9076cb62", + "8a45c17cd319", + "b50e582f1f87", + "cbbd99961d9a", + "cda0a9e3231b", + "04c5528024be", + "74bc5ac6d229", + "84591a5e606b", + "cb7025a10156", + "ded8ff628165", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "43a64d0d0bdb", + "1d9a37f58a33", + "9d800127c719", + "ebdb222fbbbc", + "7096f5c8cd2c" + ] + } + }, + { + "id": "tk-linear-team-context.inner-ok-missing:select-metadata-item-settled", + "observation": { + "sender": ["abb71c80728e", "9385340ebcd4"], + "payloads": ["18a1433d8d21", "e132489d2d57"], + "settlements": { + "mount": "eb79a9b3682a", + "open-composer-0": "eb79a9b3682a", + "select-metadata-item-1": "eb79a9b3682a" + }, + "state": "8549e5f2062c", + "effects": [ + "7c6439d32d4d", + "797d29171de4", + "217c9076cb62", + "8a45c17cd319", + "b50e582f1f87", + "cbbd99961d9a", + "cda0a9e3231b", + "04c5528024be", + "74bc5ac6d229", + "84591a5e606b", + "cb7025a10156", + "ded8ff628165", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "43a64d0d0bdb", + "1d9a37f58a33", + "9d800127c719", + "ebdb222fbbbc", + "7096f5c8cd2c", + "c9f74e6a8f4b", + "12b9ca6d3411", + "df9cbe753bae", + "065c82e2c558", + "81a32c2b3439" + ] + } + }, + { + "id": "tk-linear-team-context.inner-false-string-error:open-composer-settled", + "observation": { + "sender": ["79d1ab045d8b"], + "payloads": ["18a1433d8d21"], + "settlements": { + "mount": "eb79a9b3682a", + "open-composer-0": "eb79a9b3682a" + }, + "state": "636acb894008", + "effects": [ + "7c6439d32d4d", + "797d29171de4", + "217c9076cb62", + "8a45c17cd319", + "b50e582f1f87", + "cbbd99961d9a", + "cda0a9e3231b", + "04c5528024be", + "74bc5ac6d229", + "84591a5e606b", + "cb7025a10156", + "ded8ff628165", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "43a64d0d0bdb", + "1d9a37f58a33", + "9d800127c719", + "40f9e992c3d0", + "7096f5c8cd2c" + ] + } + }, + { + "id": "tk-linear-team-context.inner-false-string-error:select-metadata-item-settled", + "observation": { + "sender": ["79d1ab045d8b", "9385340ebcd4"], + "payloads": ["18a1433d8d21", "e132489d2d57"], + "settlements": { + "mount": "eb79a9b3682a", + "open-composer-0": "eb79a9b3682a", + "select-metadata-item-1": "eb79a9b3682a" + }, + "state": "7379ae7ed6c8", + "effects": [ + "7c6439d32d4d", + "797d29171de4", + "217c9076cb62", + "8a45c17cd319", + "b50e582f1f87", + "cbbd99961d9a", + "cda0a9e3231b", + "04c5528024be", + "74bc5ac6d229", + "84591a5e606b", + "cb7025a10156", + "ded8ff628165", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "43a64d0d0bdb", + "1d9a37f58a33", + "9d800127c719", + "40f9e992c3d0", + "7096f5c8cd2c", + "c9f74e6a8f4b", + "12b9ca6d3411", + "df9cbe753bae", + "065c82e2c558", + "81a32c2b3439" + ] + } + }, + { + "id": "tk-linear-team-context.inner-false-object-error:open-composer-settled", + "observation": { + "sender": ["788bcfdee78c"], + "payloads": ["18a1433d8d21"], + "settlements": { + "mount": "eb79a9b3682a", + "open-composer-0": "eb79a9b3682a" + }, + "state": "44bd17f18a56", + "effects": [ + "7c6439d32d4d", + "797d29171de4", + "217c9076cb62", + "8a45c17cd319", + "b50e582f1f87", + "cbbd99961d9a", + "cda0a9e3231b", + "04c5528024be", + "74bc5ac6d229", + "84591a5e606b", + "cb7025a10156", + "ded8ff628165", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "43a64d0d0bdb", + "1d9a37f58a33", + "9d800127c719", + "e201f508b2a8", + "7096f5c8cd2c" + ] + } + }, + { + "id": "tk-linear-team-context.inner-false-object-error:select-metadata-item-settled", + "observation": { + "sender": ["788bcfdee78c", "9385340ebcd4"], + "payloads": ["18a1433d8d21", "e132489d2d57"], + "settlements": { + "mount": "eb79a9b3682a", + "open-composer-0": "eb79a9b3682a", + "select-metadata-item-1": "eb79a9b3682a" + }, + "state": "d763ea704ab3", + "effects": [ + "7c6439d32d4d", + "797d29171de4", + "217c9076cb62", + "8a45c17cd319", + "b50e582f1f87", + "cbbd99961d9a", + "cda0a9e3231b", + "04c5528024be", + "74bc5ac6d229", + "84591a5e606b", + "cb7025a10156", + "ded8ff628165", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "43a64d0d0bdb", + "1d9a37f58a33", + "9d800127c719", + "e201f508b2a8", + "7096f5c8cd2c", + "c9f74e6a8f4b", + "12b9ca6d3411", + "df9cbe753bae", + "065c82e2c558", + "81a32c2b3439" + ] + } + }, + { + "id": "tk-linear-team-context.outer-refused:open-composer-settled", + "observation": { + "sender": ["a84509df0515"], + "payloads": ["18a1433d8d21"], + "settlements": { + "mount": "eb79a9b3682a", + "open-composer-0": "eb79a9b3682a" + }, + "state": "74ca99e85dba", + "effects": [ + "7c6439d32d4d", + "797d29171de4", + "217c9076cb62", + "8a45c17cd319", + "b50e582f1f87", + "cbbd99961d9a", + "cda0a9e3231b", + "04c5528024be", + "74bc5ac6d229", + "84591a5e606b", + "cb7025a10156", + "ded8ff628165", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "43a64d0d0bdb", + "1d9a37f58a33", + "9d800127c719", + "00598fc4e64c", + "7096f5c8cd2c" + ] + } + }, + { + "id": "tk-linear-team-context.outer-refused:select-metadata-item-settled", + "observation": { + "sender": ["a84509df0515", "9385340ebcd4"], + "payloads": ["18a1433d8d21", "e132489d2d57"], + "settlements": { + "mount": "eb79a9b3682a", + "open-composer-0": "eb79a9b3682a", + "select-metadata-item-1": "eb79a9b3682a" + }, + "state": "bb26ae00041e", + "effects": [ + "7c6439d32d4d", + "797d29171de4", + "217c9076cb62", + "8a45c17cd319", + "b50e582f1f87", + "cbbd99961d9a", + "cda0a9e3231b", + "04c5528024be", + "74bc5ac6d229", + "84591a5e606b", + "cb7025a10156", + "ded8ff628165", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "43a64d0d0bdb", + "1d9a37f58a33", + "9d800127c719", + "00598fc4e64c", + "7096f5c8cd2c", + "c9f74e6a8f4b", + "12b9ca6d3411", + "df9cbe753bae", + "065c82e2c558", + "81a32c2b3439" + ] + } + }, + { + "id": "tk-linear-team-context.outer-refused-no-message:open-composer-settled", + "observation": { + "sender": ["5324aa581c57"], + "payloads": ["18a1433d8d21"], + "settlements": { + "mount": "eb79a9b3682a", + "open-composer-0": "eb79a9b3682a" + }, + "state": "74ca99e85dba", + "effects": [ + "7c6439d32d4d", + "797d29171de4", + "217c9076cb62", + "8a45c17cd319", + "b50e582f1f87", + "cbbd99961d9a", + "cda0a9e3231b", + "04c5528024be", + "74bc5ac6d229", + "84591a5e606b", + "cb7025a10156", + "ded8ff628165", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "43a64d0d0bdb", + "1d9a37f58a33", + "9d800127c719", + "00598fc4e64c", + "7096f5c8cd2c" + ] + } + }, + { + "id": "tk-linear-team-context.outer-refused-no-message:select-metadata-item-settled", + "observation": { + "sender": ["5324aa581c57", "9385340ebcd4"], + "payloads": ["18a1433d8d21", "e132489d2d57"], + "settlements": { + "mount": "eb79a9b3682a", + "open-composer-0": "eb79a9b3682a", + "select-metadata-item-1": "eb79a9b3682a" + }, + "state": "bb26ae00041e", + "effects": [ + "7c6439d32d4d", + "797d29171de4", + "217c9076cb62", + "8a45c17cd319", + "b50e582f1f87", + "cbbd99961d9a", + "cda0a9e3231b", + "04c5528024be", + "74bc5ac6d229", + "84591a5e606b", + "cb7025a10156", + "ded8ff628165", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "43a64d0d0bdb", + "1d9a37f58a33", + "9d800127c719", + "00598fc4e64c", + "7096f5c8cd2c", + "c9f74e6a8f4b", + "12b9ca6d3411", + "df9cbe753bae", + "065c82e2c558", + "81a32c2b3439" + ] + } + }, + { + "id": "tk-linear-team-context.method-not-found:open-composer-settled", + "observation": { + "sender": ["514aa14f1539"], + "payloads": ["18a1433d8d21"], + "settlements": { + "mount": "eb79a9b3682a", + "open-composer-0": "eb79a9b3682a" + }, + "state": "74ca99e85dba", + "effects": [ + "7c6439d32d4d", + "797d29171de4", + "217c9076cb62", + "8a45c17cd319", + "b50e582f1f87", + "cbbd99961d9a", + "cda0a9e3231b", + "04c5528024be", + "74bc5ac6d229", + "84591a5e606b", + "cb7025a10156", + "ded8ff628165", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "43a64d0d0bdb", + "1d9a37f58a33", + "9d800127c719", + "00598fc4e64c", + "7096f5c8cd2c" + ] + } + }, + { + "id": "tk-linear-team-context.method-not-found:select-metadata-item-settled", + "observation": { + "sender": ["514aa14f1539", "9385340ebcd4"], + "payloads": ["18a1433d8d21", "e132489d2d57"], + "settlements": { + "mount": "eb79a9b3682a", + "open-composer-0": "eb79a9b3682a", + "select-metadata-item-1": "eb79a9b3682a" + }, + "state": "bb26ae00041e", + "effects": [ + "7c6439d32d4d", + "797d29171de4", + "217c9076cb62", + "8a45c17cd319", + "b50e582f1f87", + "cbbd99961d9a", + "cda0a9e3231b", + "04c5528024be", + "74bc5ac6d229", + "84591a5e606b", + "cb7025a10156", + "ded8ff628165", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "43a64d0d0bdb", + "1d9a37f58a33", + "9d800127c719", + "00598fc4e64c", + "7096f5c8cd2c", + "c9f74e6a8f4b", + "12b9ca6d3411", + "df9cbe753bae", + "065c82e2c558", + "81a32c2b3439" + ] + } + }, + { + "id": "tk-linear-team-context.transport-rejection:open-composer-settled", + "observation": { + "sender": ["d9287348e74d"], + "payloads": ["18a1433d8d21"], + "settlements": { + "mount": "eb79a9b3682a", + "open-composer-0": "eb79a9b3682a" + }, + "state": "74ca99e85dba", + "effects": [ + "7c6439d32d4d", + "797d29171de4", + "217c9076cb62", + "8a45c17cd319", + "b50e582f1f87", + "cbbd99961d9a", + "cda0a9e3231b", + "04c5528024be", + "74bc5ac6d229", + "84591a5e606b", + "cb7025a10156", + "ded8ff628165", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "43a64d0d0bdb", + "1d9a37f58a33", + "9d800127c719", + "00598fc4e64c", + "7096f5c8cd2c" + ] + } + }, + { + "id": "tk-linear-team-context.transport-rejection:select-metadata-item-settled", + "observation": { + "sender": ["d9287348e74d", "9385340ebcd4"], + "payloads": ["18a1433d8d21", "e132489d2d57"], + "settlements": { + "mount": "eb79a9b3682a", + "open-composer-0": "eb79a9b3682a", + "select-metadata-item-1": "eb79a9b3682a" + }, + "state": "bb26ae00041e", + "effects": [ + "7c6439d32d4d", + "797d29171de4", + "217c9076cb62", + "8a45c17cd319", + "b50e582f1f87", + "cbbd99961d9a", + "cda0a9e3231b", + "04c5528024be", + "74bc5ac6d229", + "84591a5e606b", + "cb7025a10156", + "ded8ff628165", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "43a64d0d0bdb", + "1d9a37f58a33", + "9d800127c719", + "00598fc4e64c", + "7096f5c8cd2c", + "c9f74e6a8f4b", + "12b9ca6d3411", + "df9cbe753bae", + "065c82e2c558", + "81a32c2b3439" + ] + } + }, + { + "id": "tk-linear-team-context.transport-rejection-no-message:open-composer-settled", + "observation": { + "sender": ["8a1b2b9ec56a"], + "payloads": ["18a1433d8d21"], + "settlements": { + "mount": "eb79a9b3682a", + "open-composer-0": "eb79a9b3682a" + }, + "state": "74ca99e85dba", + "effects": [ + "7c6439d32d4d", + "797d29171de4", + "217c9076cb62", + "8a45c17cd319", + "b50e582f1f87", + "cbbd99961d9a", + "cda0a9e3231b", + "04c5528024be", + "74bc5ac6d229", + "84591a5e606b", + "cb7025a10156", + "ded8ff628165", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "43a64d0d0bdb", + "1d9a37f58a33", + "9d800127c719", + "00598fc4e64c", + "7096f5c8cd2c" + ] + } + }, + { + "id": "tk-linear-team-context.transport-rejection-no-message:select-metadata-item-settled", + "observation": { + "sender": ["8a1b2b9ec56a", "9385340ebcd4"], + "payloads": ["18a1433d8d21", "e132489d2d57"], + "settlements": { + "mount": "eb79a9b3682a", + "open-composer-0": "eb79a9b3682a", + "select-metadata-item-1": "eb79a9b3682a" + }, + "state": "bb26ae00041e", + "effects": [ + "7c6439d32d4d", + "797d29171de4", + "217c9076cb62", + "8a45c17cd319", + "b50e582f1f87", + "cbbd99961d9a", + "cda0a9e3231b", + "04c5528024be", + "74bc5ac6d229", + "84591a5e606b", + "cb7025a10156", + "ded8ff628165", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "43a64d0d0bdb", + "1d9a37f58a33", + "9d800127c719", + "00598fc4e64c", + "7096f5c8cd2c", + "c9f74e6a8f4b", + "12b9ca6d3411", + "df9cbe753bae", + "065c82e2c558", + "81a32c2b3439" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.linear-team-context-linear.teamstates-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.linear-team-context-linear.teamstates-1.json new file mode 100644 index 00000000000..b16d0c5d033 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.linear-team-context-linear.teamstates-1.json @@ -0,0 +1,1247 @@ +{ + "operation": "tasks.linear-team-context", + "family": "tasks.linear-team-context", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "58ea1553e04017c993aea4753aace41ee664705a3fdb3b18569c5a9d7968cf06", + "scenarioSha256": "8ec517c98775f3af0d45776dc74bcaaf99dcc751e85343084e39c557b6ddede1", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "049372f27933": { + "name": "prFileContents", + "value": {}, + "sent": 0 + }, + "04c5528024be": { + "name": "itemRemoveLabelsDraft", + "value": "", + "sent": 0 + }, + "065c82e2c558": { + "name": "linearStates", + "value": [ + { + "color": "#000000", + "id": "state-1", + "name": "Todo", + "type": "unstarted" + } + ], + "sent": 2 + }, + "0b3c30348f5c": { + "createTeamId": "team-1", + "states": { + "error": { + "message": "inner refused" + }, + "ok": false + }, + "statesLoading": false, + "teams": [ + { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + } + ] + }, + "12b9ca6d3411": { + "name": "linearCommentDraft", + "value": "", + "sent": 1 + }, + "1373d18a7597": { + "createTeamId": "team-1", + "states": { + "error": "inner refused", + "ok": false + }, + "statesLoading": false, + "teams": [ + { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + } + ] + }, + "18a1433d8d21": { + "name": "linear.listTeams#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"linear.listTeams\"}" + }, + "1be3c2d3f900": { + "name": "linear.teamStates#1", + "args": [ + { + "name": "method", + "value": "linear.teamStates" + }, + { + "name": "params", + "value": { + "teamId": "team-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "1d9a37f58a33": { + "name": "creatingTask", + "value": false, + "sent": 0 + }, + "1e04ae13b692": { + "name": "expandedPrFilePath", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "217c9076cb62": { + "name": "linearSubIssueTitle", + "value": "", + "sent": 0 + }, + "227f11dbe2ec": { + "name": "linear.teamStates#1", + "args": [ + { + "name": "method", + "value": "linear.teamStates" + }, + { + "name": "params", + "value": { + "teamId": "team-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "2440259727e9": { + "name": "linearStates", + "value": { + "error": "inner refused", + "ok": false + }, + "sent": 2 + }, + "2a36cc18a7da": { + "name": "linearTeams", + "value": [ + { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + } + ], + "sent": 1 + }, + "2afc4b1311c1": { + "createTeamId": "team-1", + "states": [], + "statesLoading": false, + "teams": [ + { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + } + ] + }, + "348f984e1d06": { + "name": "linearStates", + "value": { + "$rpc": "null" + }, + "sent": 2 + }, + "4331036690d4": { + "name": "prFileLoadingPath", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "43a64d0d0bdb": { + "name": "expandedResolvedCommentGroups", + "value": [], + "sent": 0 + }, + "4a21828e3c78": { + "name": "linear.teamStates#1", + "args": [ + { + "name": "method", + "value": "linear.teamStates" + }, + { + "name": "params", + "value": { + "teamId": "team-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "4be9ec43794e": { + "name": "linear.teamStates#1", + "args": [ + { + "name": "method", + "value": "linear.teamStates" + }, + { + "name": "params", + "value": { + "teamId": "team-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "4f71189f4e00": { + "name": "linear.listTeams#1", + "args": [ + { + "name": "method", + "value": "linear.listTeams" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": [ + { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + } + ] + } + } + }, + "60784b99f138": { + "createTeamId": "team-1", + "states": { + "$rpc": "null" + }, + "statesLoading": false, + "teams": [ + { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + } + ] + }, + "68c22955654f": { + "createTeamId": "team-1", + "states": { + "$rpc": "undefined" + }, + "statesLoading": false, + "teams": [ + { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + } + ] + }, + "74bc5ac6d229": { + "name": "itemAddAssigneesDraft", + "value": "", + "sent": 0 + }, + "797d29171de4": { + "name": "linearCommentDraft", + "value": "", + "sent": 0 + }, + "7c6439d32d4d": { + "name": "linearStates", + "value": [], + "sent": 0 + }, + "81a32c2b3439": { + "name": "linearStatesLoading", + "value": false, + "sent": 2 + }, + "84591a5e606b": { + "name": "itemRemoveAssigneesDraft", + "value": "", + "sent": 0 + }, + "8a45c17cd319": { + "name": "itemTitleDraft", + "value": "", + "sent": 0 + }, + "8c766244178b": { + "name": "linearStates", + "value": { + "$rpc": "undefined" + }, + "sent": 2 + }, + "8f8761ed59d7": { + "name": "linearStates", + "value": { + "error": { + "message": "inner refused" + }, + "ok": false + }, + "sent": 2 + }, + "9385340ebcd4": { + "name": "linear.teamStates#1", + "args": [ + { + "name": "method", + "value": "linear.teamStates" + }, + { + "name": "params", + "value": { + "teamId": "team-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": [ + { + "color": "#000000", + "id": "state-1", + "name": "Todo", + "type": "unstarted" + } + ] + } + } + }, + "9c706e3ef2f8": { + "name": "linearStates", + "value": { + "error": "refused" + }, + "sent": 2 + }, + "9d800127c719": { + "name": "createTeamId", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "b50e582f1f87": { + "name": "itemBodyDraft", + "value": "", + "sent": 0 + }, + "b6bf81e9e237": { + "createTeamId": "team-1", + "states": [ + { + "color": "#000000", + "id": "state-1", + "name": "Todo", + "type": "unstarted" + } + ], + "statesLoading": false, + "teams": [ + { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + } + ] + }, + "bbefc1f517c9": { + "name": "linear.teamStates#1", + "args": [ + { + "name": "method", + "value": "linear.teamStates" + }, + { + "name": "params", + "value": { + "teamId": "team-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "c4dd260b5637": { + "name": "linear.teamStates#1", + "args": [ + { + "name": "method", + "value": "linear.teamStates" + }, + { + "name": "params", + "value": { + "teamId": "team-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "c9f74e6a8f4b": { + "name": "linearStatesLoading", + "value": true, + "sent": 1 + }, + "cb7025a10156": { + "name": "itemReviewersDraft", + "value": "", + "sent": 0 + }, + "cbbd99961d9a": { + "name": "itemCommentDraft", + "value": "", + "sent": 0 + }, + "cda0a9e3231b": { + "name": "itemAddLabelsDraft", + "value": "", + "sent": 0 + }, + "ce991ff5560d": { + "name": "prFileCommentDrafts", + "value": {}, + "sent": 0 + }, + "ded8ff628165": { + "name": "itemReplyDrafts", + "value": {}, + "sent": 0 + }, + "df9cbe753bae": { + "name": "linearSubIssueTitle", + "value": "", + "sent": 1 + }, + "e132489d2d57": { + "name": "linear.teamStates#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.teamStates\",\"params\":{\"teamId\":\"team-1\",\"workspaceId\":\"linear-workspace\"}}" + }, + "e483917577a8": { + "name": "createTeamId", + "value": "team-1", + "sent": 1 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ec16d088c0ed": { + "name": "linear.teamStates#1", + "args": [ + { + "name": "method", + "value": "linear.teamStates" + }, + { + "name": "params", + "value": { + "teamId": "team-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "ecec373aba14": { + "name": "linear.teamStates#1", + "args": [ + { + "name": "method", + "value": "linear.teamStates" + }, + { + "name": "params", + "value": { + "teamId": "team-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "f2157f96ddc9": { + "name": "linearStates", + "value": [], + "sent": 2 + }, + "f4fb9aa31b3d": { + "name": "linear.teamStates#1", + "args": [ + { + "name": "method", + "value": "linear.teamStates" + }, + { + "name": "params", + "value": { + "teamId": "team-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "f60ff4465cb1": { + "createTeamId": "team-1", + "states": { + "error": "refused" + }, + "statesLoading": false, + "teams": [ + { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + } + ] + }, + "fe6b927ff90e": { + "name": "linear.teamStates#1", + "args": [ + { + "name": "method", + "value": "linear.teamStates" + }, + { + "name": "params", + "value": { + "teamId": "team-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + } + }, + "recording": { + "scenario": "matrix-tasks.linear-team-context-linear.teamstates-1", + "checkpoints": [ + { + "id": "tk-linear-team-context.prelude:open-composer-settled", + "observation": { + "sender": ["4f71189f4e00"], + "payloads": ["18a1433d8d21"], + "settlements": { + "mount": "eb79a9b3682a", + "open-composer-0": "eb79a9b3682a" + }, + "state": "2afc4b1311c1", + "effects": [ + "7c6439d32d4d", + "797d29171de4", + "217c9076cb62", + "8a45c17cd319", + "b50e582f1f87", + "cbbd99961d9a", + "cda0a9e3231b", + "04c5528024be", + "74bc5ac6d229", + "84591a5e606b", + "cb7025a10156", + "ded8ff628165", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "43a64d0d0bdb", + "1d9a37f58a33", + "9d800127c719", + "2a36cc18a7da", + "e483917577a8" + ] + } + }, + { + "id": "tk-linear-team-context.normal:select-metadata-item-settled", + "observation": { + "sender": ["4f71189f4e00", "9385340ebcd4"], + "payloads": ["18a1433d8d21", "e132489d2d57"], + "settlements": { + "mount": "eb79a9b3682a", + "open-composer-0": "eb79a9b3682a", + "select-metadata-item-1": "eb79a9b3682a" + }, + "state": "b6bf81e9e237", + "effects": [ + "7c6439d32d4d", + "797d29171de4", + "217c9076cb62", + "8a45c17cd319", + "b50e582f1f87", + "cbbd99961d9a", + "cda0a9e3231b", + "04c5528024be", + "74bc5ac6d229", + "84591a5e606b", + "cb7025a10156", + "ded8ff628165", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "43a64d0d0bdb", + "1d9a37f58a33", + "9d800127c719", + "2a36cc18a7da", + "e483917577a8", + "c9f74e6a8f4b", + "12b9ca6d3411", + "df9cbe753bae", + "065c82e2c558", + "81a32c2b3439" + ] + } + }, + { + "id": "tk-linear-team-context.result-absent:select-metadata-item-settled", + "observation": { + "sender": ["4f71189f4e00", "fe6b927ff90e"], + "payloads": ["18a1433d8d21", "e132489d2d57"], + "settlements": { + "mount": "eb79a9b3682a", + "open-composer-0": "eb79a9b3682a", + "select-metadata-item-1": "eb79a9b3682a" + }, + "state": "68c22955654f", + "effects": [ + "7c6439d32d4d", + "797d29171de4", + "217c9076cb62", + "8a45c17cd319", + "b50e582f1f87", + "cbbd99961d9a", + "cda0a9e3231b", + "04c5528024be", + "74bc5ac6d229", + "84591a5e606b", + "cb7025a10156", + "ded8ff628165", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "43a64d0d0bdb", + "1d9a37f58a33", + "9d800127c719", + "2a36cc18a7da", + "e483917577a8", + "c9f74e6a8f4b", + "12b9ca6d3411", + "df9cbe753bae", + "8c766244178b", + "81a32c2b3439" + ] + } + }, + { + "id": "tk-linear-team-context.result-null:select-metadata-item-settled", + "observation": { + "sender": ["4f71189f4e00", "ec16d088c0ed"], + "payloads": ["18a1433d8d21", "e132489d2d57"], + "settlements": { + "mount": "eb79a9b3682a", + "open-composer-0": "eb79a9b3682a", + "select-metadata-item-1": "eb79a9b3682a" + }, + "state": "60784b99f138", + "effects": [ + "7c6439d32d4d", + "797d29171de4", + "217c9076cb62", + "8a45c17cd319", + "b50e582f1f87", + "cbbd99961d9a", + "cda0a9e3231b", + "04c5528024be", + "74bc5ac6d229", + "84591a5e606b", + "cb7025a10156", + "ded8ff628165", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "43a64d0d0bdb", + "1d9a37f58a33", + "9d800127c719", + "2a36cc18a7da", + "e483917577a8", + "c9f74e6a8f4b", + "12b9ca6d3411", + "df9cbe753bae", + "348f984e1d06", + "81a32c2b3439" + ] + } + }, + { + "id": "tk-linear-team-context.inner-ok-missing:select-metadata-item-settled", + "observation": { + "sender": ["4f71189f4e00", "bbefc1f517c9"], + "payloads": ["18a1433d8d21", "e132489d2d57"], + "settlements": { + "mount": "eb79a9b3682a", + "open-composer-0": "eb79a9b3682a", + "select-metadata-item-1": "eb79a9b3682a" + }, + "state": "f60ff4465cb1", + "effects": [ + "7c6439d32d4d", + "797d29171de4", + "217c9076cb62", + "8a45c17cd319", + "b50e582f1f87", + "cbbd99961d9a", + "cda0a9e3231b", + "04c5528024be", + "74bc5ac6d229", + "84591a5e606b", + "cb7025a10156", + "ded8ff628165", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "43a64d0d0bdb", + "1d9a37f58a33", + "9d800127c719", + "2a36cc18a7da", + "e483917577a8", + "c9f74e6a8f4b", + "12b9ca6d3411", + "df9cbe753bae", + "9c706e3ef2f8", + "81a32c2b3439" + ] + } + }, + { + "id": "tk-linear-team-context.inner-false-string-error:select-metadata-item-settled", + "observation": { + "sender": ["4f71189f4e00", "c4dd260b5637"], + "payloads": ["18a1433d8d21", "e132489d2d57"], + "settlements": { + "mount": "eb79a9b3682a", + "open-composer-0": "eb79a9b3682a", + "select-metadata-item-1": "eb79a9b3682a" + }, + "state": "1373d18a7597", + "effects": [ + "7c6439d32d4d", + "797d29171de4", + "217c9076cb62", + "8a45c17cd319", + "b50e582f1f87", + "cbbd99961d9a", + "cda0a9e3231b", + "04c5528024be", + "74bc5ac6d229", + "84591a5e606b", + "cb7025a10156", + "ded8ff628165", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "43a64d0d0bdb", + "1d9a37f58a33", + "9d800127c719", + "2a36cc18a7da", + "e483917577a8", + "c9f74e6a8f4b", + "12b9ca6d3411", + "df9cbe753bae", + "2440259727e9", + "81a32c2b3439" + ] + } + }, + { + "id": "tk-linear-team-context.inner-false-object-error:select-metadata-item-settled", + "observation": { + "sender": ["4f71189f4e00", "ecec373aba14"], + "payloads": ["18a1433d8d21", "e132489d2d57"], + "settlements": { + "mount": "eb79a9b3682a", + "open-composer-0": "eb79a9b3682a", + "select-metadata-item-1": "eb79a9b3682a" + }, + "state": "0b3c30348f5c", + "effects": [ + "7c6439d32d4d", + "797d29171de4", + "217c9076cb62", + "8a45c17cd319", + "b50e582f1f87", + "cbbd99961d9a", + "cda0a9e3231b", + "04c5528024be", + "74bc5ac6d229", + "84591a5e606b", + "cb7025a10156", + "ded8ff628165", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "43a64d0d0bdb", + "1d9a37f58a33", + "9d800127c719", + "2a36cc18a7da", + "e483917577a8", + "c9f74e6a8f4b", + "12b9ca6d3411", + "df9cbe753bae", + "8f8761ed59d7", + "81a32c2b3439" + ] + } + }, + { + "id": "tk-linear-team-context.outer-refused:select-metadata-item-settled", + "observation": { + "sender": ["4f71189f4e00", "f4fb9aa31b3d"], + "payloads": ["18a1433d8d21", "e132489d2d57"], + "settlements": { + "mount": "eb79a9b3682a", + "open-composer-0": "eb79a9b3682a", + "select-metadata-item-1": "eb79a9b3682a" + }, + "state": "2afc4b1311c1", + "effects": [ + "7c6439d32d4d", + "797d29171de4", + "217c9076cb62", + "8a45c17cd319", + "b50e582f1f87", + "cbbd99961d9a", + "cda0a9e3231b", + "04c5528024be", + "74bc5ac6d229", + "84591a5e606b", + "cb7025a10156", + "ded8ff628165", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "43a64d0d0bdb", + "1d9a37f58a33", + "9d800127c719", + "2a36cc18a7da", + "e483917577a8", + "c9f74e6a8f4b", + "12b9ca6d3411", + "df9cbe753bae", + "f2157f96ddc9", + "81a32c2b3439" + ] + } + }, + { + "id": "tk-linear-team-context.outer-refused-no-message:select-metadata-item-settled", + "observation": { + "sender": ["4f71189f4e00", "4be9ec43794e"], + "payloads": ["18a1433d8d21", "e132489d2d57"], + "settlements": { + "mount": "eb79a9b3682a", + "open-composer-0": "eb79a9b3682a", + "select-metadata-item-1": "eb79a9b3682a" + }, + "state": "2afc4b1311c1", + "effects": [ + "7c6439d32d4d", + "797d29171de4", + "217c9076cb62", + "8a45c17cd319", + "b50e582f1f87", + "cbbd99961d9a", + "cda0a9e3231b", + "04c5528024be", + "74bc5ac6d229", + "84591a5e606b", + "cb7025a10156", + "ded8ff628165", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "43a64d0d0bdb", + "1d9a37f58a33", + "9d800127c719", + "2a36cc18a7da", + "e483917577a8", + "c9f74e6a8f4b", + "12b9ca6d3411", + "df9cbe753bae", + "f2157f96ddc9", + "81a32c2b3439" + ] + } + }, + { + "id": "tk-linear-team-context.method-not-found:select-metadata-item-settled", + "observation": { + "sender": ["4f71189f4e00", "227f11dbe2ec"], + "payloads": ["18a1433d8d21", "e132489d2d57"], + "settlements": { + "mount": "eb79a9b3682a", + "open-composer-0": "eb79a9b3682a", + "select-metadata-item-1": "eb79a9b3682a" + }, + "state": "2afc4b1311c1", + "effects": [ + "7c6439d32d4d", + "797d29171de4", + "217c9076cb62", + "8a45c17cd319", + "b50e582f1f87", + "cbbd99961d9a", + "cda0a9e3231b", + "04c5528024be", + "74bc5ac6d229", + "84591a5e606b", + "cb7025a10156", + "ded8ff628165", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "43a64d0d0bdb", + "1d9a37f58a33", + "9d800127c719", + "2a36cc18a7da", + "e483917577a8", + "c9f74e6a8f4b", + "12b9ca6d3411", + "df9cbe753bae", + "f2157f96ddc9", + "81a32c2b3439" + ] + } + }, + { + "id": "tk-linear-team-context.transport-rejection:select-metadata-item-settled", + "observation": { + "sender": ["4f71189f4e00", "4a21828e3c78"], + "payloads": ["18a1433d8d21", "e132489d2d57"], + "settlements": { + "mount": "eb79a9b3682a", + "open-composer-0": "eb79a9b3682a", + "select-metadata-item-1": "eb79a9b3682a" + }, + "state": "2afc4b1311c1", + "effects": [ + "7c6439d32d4d", + "797d29171de4", + "217c9076cb62", + "8a45c17cd319", + "b50e582f1f87", + "cbbd99961d9a", + "cda0a9e3231b", + "04c5528024be", + "74bc5ac6d229", + "84591a5e606b", + "cb7025a10156", + "ded8ff628165", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "43a64d0d0bdb", + "1d9a37f58a33", + "9d800127c719", + "2a36cc18a7da", + "e483917577a8", + "c9f74e6a8f4b", + "12b9ca6d3411", + "df9cbe753bae", + "f2157f96ddc9", + "81a32c2b3439" + ] + } + }, + { + "id": "tk-linear-team-context.transport-rejection-no-message:select-metadata-item-settled", + "observation": { + "sender": ["4f71189f4e00", "1be3c2d3f900"], + "payloads": ["18a1433d8d21", "e132489d2d57"], + "settlements": { + "mount": "eb79a9b3682a", + "open-composer-0": "eb79a9b3682a", + "select-metadata-item-1": "eb79a9b3682a" + }, + "state": "2afc4b1311c1", + "effects": [ + "7c6439d32d4d", + "797d29171de4", + "217c9076cb62", + "8a45c17cd319", + "b50e582f1f87", + "cbbd99961d9a", + "cda0a9e3231b", + "04c5528024be", + "74bc5ac6d229", + "84591a5e606b", + "cb7025a10156", + "ded8ff628165", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "43a64d0d0bdb", + "1d9a37f58a33", + "9d800127c719", + "2a36cc18a7da", + "e483917577a8", + "c9f74e6a8f4b", + "12b9ca6d3411", + "df9cbe753bae", + "f2157f96ddc9", + "81a32c2b3439" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.paste-lookup-github.reposlug-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.paste-lookup-github.reposlug-1.json index 3e68dafc652..7d550f8a40f 100644 --- a/mobile/rpc-foundation/goldens/matrix-tasks.paste-lookup-github.reposlug-1.json +++ b/mobile/rpc-foundation/goldens/matrix-tasks.paste-lookup-github.reposlug-1.json @@ -3,9 +3,9 @@ "family": "tasks.paste-lookup", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "343b97826782820b7aecaddd13a4c8cdbbbca057c83021863d577a677934f3a3", "scenarioSha256": "749f877ac0c08860f74fc56e34b07f51960dda5bd1fdcf9df847b5200bf67779", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.paste-lookup-github.workitem-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.paste-lookup-github.workitem-1.json index 865b44c4852..8300737d312 100644 --- a/mobile/rpc-foundation/goldens/matrix-tasks.paste-lookup-github.workitem-1.json +++ b/mobile/rpc-foundation/goldens/matrix-tasks.paste-lookup-github.workitem-1.json @@ -3,9 +3,9 @@ "family": "tasks.paste-lookup", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "343b97826782820b7aecaddd13a4c8cdbbbca057c83021863d577a677934f3a3", "scenarioSha256": "2a11156b7b6d3cf0773c8dc02a72e126bc187dcf62ad7d1bf5f30d7b27192b03", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.paste-lookup-github.workitembyownerrepo-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.paste-lookup-github.workitembyownerrepo-1.json index 95e65525868..64e81310de2 100644 --- a/mobile/rpc-foundation/goldens/matrix-tasks.paste-lookup-github.workitembyownerrepo-1.json +++ b/mobile/rpc-foundation/goldens/matrix-tasks.paste-lookup-github.workitembyownerrepo-1.json @@ -3,9 +3,9 @@ "family": "tasks.paste-lookup", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "343b97826782820b7aecaddd13a4c8cdbbbca057c83021863d577a677934f3a3", "scenarioSha256": "4c2560ac236a1cc1ef239b7c97a0436e115b19a6ad3ddd96b3b77970aa631ae3", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.paste-lookup-gitlab.workitembypath-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.paste-lookup-gitlab.workitembypath-1.json index 0ebc851bed1..01ce19fb639 100644 --- a/mobile/rpc-foundation/goldens/matrix-tasks.paste-lookup-gitlab.workitembypath-1.json +++ b/mobile/rpc-foundation/goldens/matrix-tasks.paste-lookup-gitlab.workitembypath-1.json @@ -3,9 +3,9 @@ "family": "tasks.paste-lookup", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "343b97826782820b7aecaddd13a4c8cdbbbca057c83021863d577a677934f3a3", "scenarioSha256": "ab5511fa34181dc9de590df2fe57a0d061a261e7b204a6ef830c03bc53923d65", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.project-board-load-github.project.listaccessible-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.project-board-load-github.project.listaccessible-1.json new file mode 100644 index 00000000000..d4ffab42f96 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.project-board-load-github.project.listaccessible-1.json @@ -0,0 +1,2146 @@ +{ + "operation": "tasks.project-board-load", + "family": "tasks.project-board-load", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "c4272385ed3b0de4feab38de9e4f6363ecd6317fdd4de47f76a98eb18abaf371", + "scenarioSha256": "7c16d49ffeace5c689309316da6e4638fa1b70d3ef52a78d27db934ae56cf64d", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "02a4a58d8dfb": { + "name": "github.project.listViews#2", + "args": [ + { + "name": "method", + "value": "github.project.listViews" + }, + { + "name": "params", + "value": { + "host": "github.com", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "ok": true, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + } + } + } + }, + "09d1a467c534": { + "name": "github.project.listViews#1", + "args": [ + { + "name": "method", + "value": "github.project.listViews" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "ok": true, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + } + } + } + }, + "0e76d492b4f4": { + "error": "", + "loading": false, + "pasteError": "", + "projects": [], + "table": { + "$rpc": "null" + }, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + }, + "0f1253424990": { + "name": "github.project.listViews#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listViews\",\"params\":{\"owner\":\"owner\",\"host\":\"github.enterprise.test\",\"ownerType\":\"organization\",\"projectNumber\":3}}" + }, + "147d0c98fb46": { + "error": "", + "loading": false, + "pasteError": "", + "projects": [], + "table": { + "$rpc": "null" + }, + "views": [] + }, + "156064e9724d": { + "name": "githubProjectPasteBusy", + "value": true, + "sent": 3 + }, + "16712ed539ad": { + "name": "githubProjectSearch", + "value": "", + "sent": 5 + }, + "19ca94a33e1c": { + "name": "github.project.listAccessible#1", + "args": [ + { + "name": "method", + "value": "github.project.listAccessible" + }, + { + "name": "params", + "value": { + "host": "github.com" + } + }, + { + "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 + } + } + } + }, + "1d3552e91192": { + "name": "github.project.listAccessible#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listAccessible\",\"params\":{\"host\":\"github.com\"}}" + }, + "25b0ac550549": { + "name": "githubProjectPartialFailures", + "value": [], + "sent": 1 + }, + "2ab1b35ff194": { + "error": "", + "loading": false, + "pasteError": "", + "projects": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ], + "table": { + "fields": [], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [], + "selectedView": { + "filter": "is:open", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + }, + "2eca8c3879a2": { + "name": "github.project.listAccessible#1", + "args": [ + { + "name": "method", + "value": "github.project.listAccessible" + }, + { + "name": "params", + "value": { + "host": "github.com" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "32a7c0ae7918": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "outer refused", + "isRpcDeliveryUnknown": false + } + }, + "32b1426d14c0": { + "name": "githubProjectLoading", + "value": false, + "sent": 3 + }, + "376c9e8bd72a": { + "error": "", + "loading": false, + "pasteError": "", + "projects": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ], + "table": { + "$rpc": "null" + }, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + }, + "383da1c2fa1c": { + "name": "githubProjectLoading", + "value": true, + "sent": 4 + }, + "39bc2fd66e3d": { + "name": "github.project.viewTable#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.viewTable\",\"params\":{\"owner\":\"owner\",\"host\":\"github.enterprise.test\",\"ownerType\":\"organization\",\"projectNumber\":3,\"viewId\":\"view-1\"}}" + }, + "3e904e0d43b4": { + "name": "github.project.listViews#2", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listViews\",\"params\":{\"owner\":\"owner\",\"host\":\"github.com\",\"ownerType\":\"organization\",\"projectNumber\":3}}" + }, + "42d96f8f44ae": { + "name": "githubProjectError", + "value": "", + "sent": 3 + }, + "43d044e8caea": { + "name": "github.project.listAccessible#1", + "args": [ + { + "name": "method", + "value": "github.project.listAccessible" + }, + { + "name": "params", + "value": { + "host": "github.com" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true, + "partialFailures": [], + "projects": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ] + } + } + } + }, + "4607a82f1dd3": { + "error": "", + "loading": false, + "pasteError": "", + "projects": [], + "table": { + "fields": [], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [], + "selectedView": { + "filter": "is:open", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + }, + "47ebe03e8b7f": { + "name": "githubProjectViews", + "value": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ], + "sent": 5 + }, + "4d6bf1149ea4": { + "name": "githubProjectError", + "value": "", + "sent": 4 + }, + "54b9c49c04a8": { + "name": "githubProjectError", + "value": "", + "sent": 0 + }, + "57acdd86193b": { + "name": "githubProjectSearch", + "value": "is:open", + "sent": 3 + }, + "5bd0110906b9": { + "name": "githubProjectPartialFailures", + "value": [], + "sent": 0 + }, + "6579ec5a7d8f": { + "name": "githubProjectLoading", + "value": false, + "sent": 5 + }, + "66aa748f97f8": { + "name": "github.project.listAccessible#1", + "args": [ + { + "name": "method", + "value": "github.project.listAccessible" + }, + { + "name": "params", + "value": { + "host": "github.com" + } + }, + { + "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 + } + } + }, + "6820b76533c9": { + "name": "githubProjectLoading", + "value": true, + "sent": 2 + }, + "6daf8fc5b2c1": { + "name": "github.project.listAccessible#1", + "args": [ + { + "name": "method", + "value": "github.project.listAccessible" + }, + { + "name": "params", + "value": { + "host": "github.com" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "6e64e24c633d": { + "name": "appliedGithubProjectSearch", + "value": { + "$rpc": "undefined" + }, + "sent": 5 + }, + "6f73e51854d5": { + "name": "github.project.resolveRef#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.resolveRef\",\"params\":{\"input\":\"https://github.com/orgs/owner/projects/3\",\"host\":\"github.com\"}}" + }, + "7868f9428edf": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "TypeError", + "message": "Cannot read properties of null (reading 'ok')", + "isRpcDeliveryUnknown": false + } + }, + "7f38226869db": { + "name": "github.project.listAccessible#1", + "args": [ + { + "name": "method", + "value": "github.project.listAccessible" + }, + { + "name": "params", + "value": { + "host": "github.com" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "80ceb7c32703": { + "name": "githubProjects", + "value": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ], + "sent": 1 + }, + "900becffe437": { + "name": "showGitHubProjectPicker", + "value": false, + "sent": 4 + }, + "a666b0248aa0": { + "name": "github.project.listAccessible#1", + "args": [ + { + "name": "method", + "value": "github.project.listAccessible" + }, + { + "name": "params", + "value": { + "host": "github.com" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "b05e50b1dc22": { + "name": "githubProjectPasteBusy", + "value": false, + "sent": 5 + }, + "b2ddd7451862": { + "name": "githubProjectViews", + "value": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ], + "sent": 2 + }, + "b51d4b287393": { + "name": "github.project.listAccessible#1", + "args": [ + { + "name": "method", + "value": "github.project.listAccessible" + }, + { + "name": "params", + "value": { + "host": "github.com" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "b6255b367ac4": { + "name": "githubProjectViews", + "value": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ], + "sent": 3 + }, + "b948e8307e81": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Unknown method", + "isRpcDeliveryUnknown": false + } + }, + "bcc305ff49f6": { + "name": "github.project.listAccessible#1", + "args": [ + { + "name": "method", + "value": "github.project.listAccessible" + }, + { + "name": "params", + "value": { + "host": "github.com" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "be0da5b53ffb": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + }, + "c1e5438f963e": { + "name": "github.project.resolveRef#1", + "args": [ + { + "name": "method", + "value": "github.project.resolveRef" + }, + { + "name": "params", + "value": { + "host": "github.com", + "input": "https://github.com/orgs/owner/projects/3" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "host": "github.com", + "number": 3, + "ok": true, + "owner": "owner", + "ownerType": "organization", + "title": "Board", + "viewNumber": 1 + } + } + } + }, + "c7584e82c72f": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + }, + "d05b2d417b9c": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "inner refused", + "isRpcDeliveryUnknown": false + } + }, + "db45b655b685": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "TypeError", + "message": "Cannot read properties of undefined (reading 'ok')", + "isRpcDeliveryUnknown": false + } + }, + "ddc3cac1e389": { + "name": "githubProjectTable", + "value": { + "$rpc": "null" + }, + "sent": 5 + }, + "dec0f3dc00c9": { + "name": "github.project.viewTable#1", + "args": [ + { + "name": "method", + "value": "github.project.viewTable" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3, + "viewId": "view-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "data": { + "fields": [], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [], + "selectedView": { + "filter": "is:open", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "ok": true + } + } + } + }, + "e59d16f6cde5": { + "name": "githubProjectPasteError", + "value": "", + "sent": 3 + }, + "e8b0899e8eb2": { + "name": "githubProjectPasteInput", + "value": "", + "sent": 4 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ebf1d6b98d33": { + "name": "githubProjectTable", + "value": { + "fields": [], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [], + "selectedView": { + "filter": "is:open", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "sent": 3 + }, + "f3b516f62081": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": false + } + }, + "f3e4bb3c6cb0": { + "name": "githubProjectError", + "value": "", + "sent": 2 + }, + "f6aecc8c253c": { + "name": "github.project.listAccessible#1", + "args": [ + { + "name": "method", + "value": "github.project.listAccessible" + }, + { + "name": "params", + "value": { + "host": "github.com" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "f7d4b459305a": { + "name": "github.project.listAccessible#1", + "args": [ + { + "name": "method", + "value": "github.project.listAccessible" + }, + { + "name": "params", + "value": { + "host": "github.com" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "ff43b5ec92a9": { + "error": "", + "loading": false, + "pasteError": "", + "projects": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ], + "table": { + "$rpc": "null" + }, + "views": [] + } + }, + "recording": { + "scenario": "matrix-tasks.project-board-load-github.project.listaccessible-1", + "checkpoints": [ + { + "id": "tk-project-board-load.normal:projects-settled", + "observation": { + "sender": ["43d044e8caea"], + "payloads": ["1d3552e91192"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a" + }, + "state": "ff43b5ec92a9", + "effects": ["54b9c49c04a8", "5bd0110906b9", "80ceb7c32703", "25b0ac550549"] + } + }, + { + "id": "tk-project-board-load.normal:views-settled", + "observation": { + "sender": ["43d044e8caea", "09d1a467c534"], + "payloads": ["1d3552e91192", "0f1253424990"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb" + }, + "state": "376c9e8bd72a", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862" + ] + } + }, + { + "id": "tk-project-board-load.normal:table-settled", + "observation": { + "sender": ["43d044e8caea", "09d1a467c534", "dec0f3dc00c9"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a" + }, + "state": "2ab1b35ff194", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0" + ] + } + }, + { + "id": "tk-project-board-load.normal:paste-settled", + "observation": { + "sender": [ + "43d044e8caea", + "09d1a467c534", + "dec0f3dc00c9", + "c1e5438f963e", + "02a4a58d8dfb" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "376c9e8bd72a", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "47ebe03e8b7f", + "6e64e24c633d", + "16712ed539ad", + "ddc3cac1e389", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + }, + { + "id": "tk-project-board-load.result-absent:projects-settled", + "observation": { + "sender": ["2eca8c3879a2"], + "payloads": ["1d3552e91192"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "db45b655b685" + }, + "state": "147d0c98fb46", + "effects": ["54b9c49c04a8", "5bd0110906b9"] + } + }, + { + "id": "tk-project-board-load.result-absent:views-settled", + "observation": { + "sender": ["2eca8c3879a2", "09d1a467c534"], + "payloads": ["1d3552e91192", "0f1253424990"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "db45b655b685", + "views-1": "be0da5b53ffb" + }, + "state": "0e76d492b4f4", + "effects": ["54b9c49c04a8", "5bd0110906b9", "b2ddd7451862"] + } + }, + { + "id": "tk-project-board-load.result-absent:table-settled", + "observation": { + "sender": ["2eca8c3879a2", "09d1a467c534", "dec0f3dc00c9"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "db45b655b685", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a" + }, + "state": "4607a82f1dd3", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0" + ] + } + }, + { + "id": "tk-project-board-load.result-absent:paste-settled", + "observation": { + "sender": [ + "2eca8c3879a2", + "09d1a467c534", + "dec0f3dc00c9", + "c1e5438f963e", + "02a4a58d8dfb" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "db45b655b685", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "0e76d492b4f4", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "47ebe03e8b7f", + "6e64e24c633d", + "16712ed539ad", + "ddc3cac1e389", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + }, + { + "id": "tk-project-board-load.result-null:projects-settled", + "observation": { + "sender": ["a666b0248aa0"], + "payloads": ["1d3552e91192"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "7868f9428edf" + }, + "state": "147d0c98fb46", + "effects": ["54b9c49c04a8", "5bd0110906b9"] + } + }, + { + "id": "tk-project-board-load.result-null:views-settled", + "observation": { + "sender": ["a666b0248aa0", "09d1a467c534"], + "payloads": ["1d3552e91192", "0f1253424990"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "7868f9428edf", + "views-1": "be0da5b53ffb" + }, + "state": "0e76d492b4f4", + "effects": ["54b9c49c04a8", "5bd0110906b9", "b2ddd7451862"] + } + }, + { + "id": "tk-project-board-load.result-null:table-settled", + "observation": { + "sender": ["a666b0248aa0", "09d1a467c534", "dec0f3dc00c9"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "7868f9428edf", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a" + }, + "state": "4607a82f1dd3", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0" + ] + } + }, + { + "id": "tk-project-board-load.result-null:paste-settled", + "observation": { + "sender": [ + "a666b0248aa0", + "09d1a467c534", + "dec0f3dc00c9", + "c1e5438f963e", + "02a4a58d8dfb" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "7868f9428edf", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "0e76d492b4f4", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "47ebe03e8b7f", + "6e64e24c633d", + "16712ed539ad", + "ddc3cac1e389", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + }, + { + "id": "tk-project-board-load.inner-ok-missing:projects-settled", + "observation": { + "sender": ["b51d4b287393"], + "payloads": ["1d3552e91192"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "f3b516f62081" + }, + "state": "147d0c98fb46", + "effects": ["54b9c49c04a8", "5bd0110906b9"] + } + }, + { + "id": "tk-project-board-load.inner-ok-missing:views-settled", + "observation": { + "sender": ["b51d4b287393", "09d1a467c534"], + "payloads": ["1d3552e91192", "0f1253424990"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "f3b516f62081", + "views-1": "be0da5b53ffb" + }, + "state": "0e76d492b4f4", + "effects": ["54b9c49c04a8", "5bd0110906b9", "b2ddd7451862"] + } + }, + { + "id": "tk-project-board-load.inner-ok-missing:table-settled", + "observation": { + "sender": ["b51d4b287393", "09d1a467c534", "dec0f3dc00c9"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "f3b516f62081", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a" + }, + "state": "4607a82f1dd3", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0" + ] + } + }, + { + "id": "tk-project-board-load.inner-ok-missing:paste-settled", + "observation": { + "sender": [ + "b51d4b287393", + "09d1a467c534", + "dec0f3dc00c9", + "c1e5438f963e", + "02a4a58d8dfb" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "f3b516f62081", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "0e76d492b4f4", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "47ebe03e8b7f", + "6e64e24c633d", + "16712ed539ad", + "ddc3cac1e389", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + }, + { + "id": "tk-project-board-load.inner-false-string-error:projects-settled", + "observation": { + "sender": ["bcc305ff49f6"], + "payloads": ["1d3552e91192"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "f3b516f62081" + }, + "state": "147d0c98fb46", + "effects": ["54b9c49c04a8", "5bd0110906b9"] + } + }, + { + "id": "tk-project-board-load.inner-false-string-error:views-settled", + "observation": { + "sender": ["bcc305ff49f6", "09d1a467c534"], + "payloads": ["1d3552e91192", "0f1253424990"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "f3b516f62081", + "views-1": "be0da5b53ffb" + }, + "state": "0e76d492b4f4", + "effects": ["54b9c49c04a8", "5bd0110906b9", "b2ddd7451862"] + } + }, + { + "id": "tk-project-board-load.inner-false-string-error:table-settled", + "observation": { + "sender": ["bcc305ff49f6", "09d1a467c534", "dec0f3dc00c9"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "f3b516f62081", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a" + }, + "state": "4607a82f1dd3", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0" + ] + } + }, + { + "id": "tk-project-board-load.inner-false-string-error:paste-settled", + "observation": { + "sender": [ + "bcc305ff49f6", + "09d1a467c534", + "dec0f3dc00c9", + "c1e5438f963e", + "02a4a58d8dfb" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "f3b516f62081", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "0e76d492b4f4", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "47ebe03e8b7f", + "6e64e24c633d", + "16712ed539ad", + "ddc3cac1e389", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + }, + { + "id": "tk-project-board-load.inner-false-object-error:projects-settled", + "observation": { + "sender": ["19ca94a33e1c"], + "payloads": ["1d3552e91192"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "d05b2d417b9c" + }, + "state": "147d0c98fb46", + "effects": ["54b9c49c04a8", "5bd0110906b9"] + } + }, + { + "id": "tk-project-board-load.inner-false-object-error:views-settled", + "observation": { + "sender": ["19ca94a33e1c", "09d1a467c534"], + "payloads": ["1d3552e91192", "0f1253424990"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "d05b2d417b9c", + "views-1": "be0da5b53ffb" + }, + "state": "0e76d492b4f4", + "effects": ["54b9c49c04a8", "5bd0110906b9", "b2ddd7451862"] + } + }, + { + "id": "tk-project-board-load.inner-false-object-error:table-settled", + "observation": { + "sender": ["19ca94a33e1c", "09d1a467c534", "dec0f3dc00c9"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "d05b2d417b9c", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a" + }, + "state": "4607a82f1dd3", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0" + ] + } + }, + { + "id": "tk-project-board-load.inner-false-object-error:paste-settled", + "observation": { + "sender": [ + "19ca94a33e1c", + "09d1a467c534", + "dec0f3dc00c9", + "c1e5438f963e", + "02a4a58d8dfb" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "d05b2d417b9c", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "0e76d492b4f4", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "47ebe03e8b7f", + "6e64e24c633d", + "16712ed539ad", + "ddc3cac1e389", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + }, + { + "id": "tk-project-board-load.outer-refused:projects-settled", + "observation": { + "sender": ["6daf8fc5b2c1"], + "payloads": ["1d3552e91192"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "32a7c0ae7918" + }, + "state": "147d0c98fb46", + "effects": ["54b9c49c04a8", "5bd0110906b9"] + } + }, + { + "id": "tk-project-board-load.outer-refused:views-settled", + "observation": { + "sender": ["6daf8fc5b2c1", "09d1a467c534"], + "payloads": ["1d3552e91192", "0f1253424990"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "32a7c0ae7918", + "views-1": "be0da5b53ffb" + }, + "state": "0e76d492b4f4", + "effects": ["54b9c49c04a8", "5bd0110906b9", "b2ddd7451862"] + } + }, + { + "id": "tk-project-board-load.outer-refused:table-settled", + "observation": { + "sender": ["6daf8fc5b2c1", "09d1a467c534", "dec0f3dc00c9"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "32a7c0ae7918", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a" + }, + "state": "4607a82f1dd3", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0" + ] + } + }, + { + "id": "tk-project-board-load.outer-refused:paste-settled", + "observation": { + "sender": [ + "6daf8fc5b2c1", + "09d1a467c534", + "dec0f3dc00c9", + "c1e5438f963e", + "02a4a58d8dfb" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "32a7c0ae7918", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "0e76d492b4f4", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "47ebe03e8b7f", + "6e64e24c633d", + "16712ed539ad", + "ddc3cac1e389", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + }, + { + "id": "tk-project-board-load.outer-refused-no-message:projects-settled", + "observation": { + "sender": ["7f38226869db"], + "payloads": ["1d3552e91192"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "f3b516f62081" + }, + "state": "147d0c98fb46", + "effects": ["54b9c49c04a8", "5bd0110906b9"] + } + }, + { + "id": "tk-project-board-load.outer-refused-no-message:views-settled", + "observation": { + "sender": ["7f38226869db", "09d1a467c534"], + "payloads": ["1d3552e91192", "0f1253424990"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "f3b516f62081", + "views-1": "be0da5b53ffb" + }, + "state": "0e76d492b4f4", + "effects": ["54b9c49c04a8", "5bd0110906b9", "b2ddd7451862"] + } + }, + { + "id": "tk-project-board-load.outer-refused-no-message:table-settled", + "observation": { + "sender": ["7f38226869db", "09d1a467c534", "dec0f3dc00c9"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "f3b516f62081", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a" + }, + "state": "4607a82f1dd3", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0" + ] + } + }, + { + "id": "tk-project-board-load.outer-refused-no-message:paste-settled", + "observation": { + "sender": [ + "7f38226869db", + "09d1a467c534", + "dec0f3dc00c9", + "c1e5438f963e", + "02a4a58d8dfb" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "f3b516f62081", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "0e76d492b4f4", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "47ebe03e8b7f", + "6e64e24c633d", + "16712ed539ad", + "ddc3cac1e389", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + }, + { + "id": "tk-project-board-load.method-not-found:projects-settled", + "observation": { + "sender": ["66aa748f97f8"], + "payloads": ["1d3552e91192"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "b948e8307e81" + }, + "state": "147d0c98fb46", + "effects": ["54b9c49c04a8", "5bd0110906b9"] + } + }, + { + "id": "tk-project-board-load.method-not-found:views-settled", + "observation": { + "sender": ["66aa748f97f8", "09d1a467c534"], + "payloads": ["1d3552e91192", "0f1253424990"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "b948e8307e81", + "views-1": "be0da5b53ffb" + }, + "state": "0e76d492b4f4", + "effects": ["54b9c49c04a8", "5bd0110906b9", "b2ddd7451862"] + } + }, + { + "id": "tk-project-board-load.method-not-found:table-settled", + "observation": { + "sender": ["66aa748f97f8", "09d1a467c534", "dec0f3dc00c9"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "b948e8307e81", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a" + }, + "state": "4607a82f1dd3", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0" + ] + } + }, + { + "id": "tk-project-board-load.method-not-found:paste-settled", + "observation": { + "sender": [ + "66aa748f97f8", + "09d1a467c534", + "dec0f3dc00c9", + "c1e5438f963e", + "02a4a58d8dfb" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "b948e8307e81", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "0e76d492b4f4", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "47ebe03e8b7f", + "6e64e24c633d", + "16712ed539ad", + "ddc3cac1e389", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + }, + { + "id": "tk-project-board-load.transport-rejection:projects-settled", + "observation": { + "sender": ["f7d4b459305a"], + "payloads": ["1d3552e91192"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "a947768bc0ed" + }, + "state": "147d0c98fb46", + "effects": ["54b9c49c04a8", "5bd0110906b9"] + } + }, + { + "id": "tk-project-board-load.transport-rejection:views-settled", + "observation": { + "sender": ["f7d4b459305a", "09d1a467c534"], + "payloads": ["1d3552e91192", "0f1253424990"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "a947768bc0ed", + "views-1": "be0da5b53ffb" + }, + "state": "0e76d492b4f4", + "effects": ["54b9c49c04a8", "5bd0110906b9", "b2ddd7451862"] + } + }, + { + "id": "tk-project-board-load.transport-rejection:table-settled", + "observation": { + "sender": ["f7d4b459305a", "09d1a467c534", "dec0f3dc00c9"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "a947768bc0ed", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a" + }, + "state": "4607a82f1dd3", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0" + ] + } + }, + { + "id": "tk-project-board-load.transport-rejection:paste-settled", + "observation": { + "sender": [ + "f7d4b459305a", + "09d1a467c534", + "dec0f3dc00c9", + "c1e5438f963e", + "02a4a58d8dfb" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "a947768bc0ed", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "0e76d492b4f4", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "47ebe03e8b7f", + "6e64e24c633d", + "16712ed539ad", + "ddc3cac1e389", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + }, + { + "id": "tk-project-board-load.transport-rejection-no-message:projects-settled", + "observation": { + "sender": ["f6aecc8c253c"], + "payloads": ["1d3552e91192"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "c7584e82c72f" + }, + "state": "147d0c98fb46", + "effects": ["54b9c49c04a8", "5bd0110906b9"] + } + }, + { + "id": "tk-project-board-load.transport-rejection-no-message:views-settled", + "observation": { + "sender": ["f6aecc8c253c", "09d1a467c534"], + "payloads": ["1d3552e91192", "0f1253424990"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "c7584e82c72f", + "views-1": "be0da5b53ffb" + }, + "state": "0e76d492b4f4", + "effects": ["54b9c49c04a8", "5bd0110906b9", "b2ddd7451862"] + } + }, + { + "id": "tk-project-board-load.transport-rejection-no-message:table-settled", + "observation": { + "sender": ["f6aecc8c253c", "09d1a467c534", "dec0f3dc00c9"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "c7584e82c72f", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a" + }, + "state": "4607a82f1dd3", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0" + ] + } + }, + { + "id": "tk-project-board-load.transport-rejection-no-message:paste-settled", + "observation": { + "sender": [ + "f6aecc8c253c", + "09d1a467c534", + "dec0f3dc00c9", + "c1e5438f963e", + "02a4a58d8dfb" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "c7584e82c72f", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "0e76d492b4f4", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "47ebe03e8b7f", + "6e64e24c633d", + "16712ed539ad", + "ddc3cac1e389", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.project-board-load-github.project.listviews-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.project-board-load-github.project.listviews-1.json new file mode 100644 index 00000000000..9db19f7591d --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.project-board-load-github.project.listviews-1.json @@ -0,0 +1,2009 @@ +{ + "operation": "tasks.project-board-load", + "family": "tasks.project-board-load", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "c4272385ed3b0de4feab38de9e4f6363ecd6317fdd4de47f76a98eb18abaf371", + "scenarioSha256": "c5cc9a11a75a86780195be7d1055d1064c8aba78bb8e4e8bbdf033409c2b2aa5", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "02a4a58d8dfb": { + "name": "github.project.listViews#2", + "args": [ + { + "name": "method", + "value": "github.project.listViews" + }, + { + "name": "params", + "value": { + "host": "github.com", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "ok": true, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + } + } + } + }, + "09d1a467c534": { + "name": "github.project.listViews#1", + "args": [ + { + "name": "method", + "value": "github.project.listViews" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "ok": true, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + } + } + } + }, + "0f1253424990": { + "name": "github.project.listViews#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listViews\",\"params\":{\"owner\":\"owner\",\"host\":\"github.enterprise.test\",\"ownerType\":\"organization\",\"projectNumber\":3}}" + }, + "1264f49f4abd": { + "name": "github.project.listViews#1", + "args": [ + { + "name": "method", + "value": "github.project.listViews" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "156064e9724d": { + "name": "githubProjectPasteBusy", + "value": true, + "sent": 3 + }, + "16712ed539ad": { + "name": "githubProjectSearch", + "value": "", + "sent": 5 + }, + "1d3552e91192": { + "name": "github.project.listAccessible#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listAccessible\",\"params\":{\"host\":\"github.com\"}}" + }, + "205bbb499ca8": { + "name": "github.project.listViews#1", + "args": [ + { + "name": "method", + "value": "github.project.listViews" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "25b0ac550549": { + "name": "githubProjectPartialFailures", + "value": [], + "sent": 1 + }, + "25ded056137c": { + "name": "github.project.listViews#1", + "args": [ + { + "name": "method", + "value": "github.project.listViews" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "2ab1b35ff194": { + "error": "", + "loading": false, + "pasteError": "", + "projects": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ], + "table": { + "fields": [], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [], + "selectedView": { + "filter": "is:open", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + }, + "32a7c0ae7918": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "outer refused", + "isRpcDeliveryUnknown": false + } + }, + "32b1426d14c0": { + "name": "githubProjectLoading", + "value": false, + "sent": 3 + }, + "376c9e8bd72a": { + "error": "", + "loading": false, + "pasteError": "", + "projects": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ], + "table": { + "$rpc": "null" + }, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + }, + "383da1c2fa1c": { + "name": "githubProjectLoading", + "value": true, + "sent": 4 + }, + "39bc2fd66e3d": { + "name": "github.project.viewTable#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.viewTable\",\"params\":{\"owner\":\"owner\",\"host\":\"github.enterprise.test\",\"ownerType\":\"organization\",\"projectNumber\":3,\"viewId\":\"view-1\"}}" + }, + "3e904e0d43b4": { + "name": "github.project.listViews#2", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listViews\",\"params\":{\"owner\":\"owner\",\"host\":\"github.com\",\"ownerType\":\"organization\",\"projectNumber\":3}}" + }, + "42d96f8f44ae": { + "name": "githubProjectError", + "value": "", + "sent": 3 + }, + "43d044e8caea": { + "name": "github.project.listAccessible#1", + "args": [ + { + "name": "method", + "value": "github.project.listAccessible" + }, + { + "name": "params", + "value": { + "host": "github.com" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true, + "partialFailures": [], + "projects": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ] + } + } + } + }, + "47ebe03e8b7f": { + "name": "githubProjectViews", + "value": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ], + "sent": 5 + }, + "4d6bf1149ea4": { + "name": "githubProjectError", + "value": "", + "sent": 4 + }, + "54b9c49c04a8": { + "name": "githubProjectError", + "value": "", + "sent": 0 + }, + "561d216cf2d4": { + "name": "github.project.listViews#1", + "args": [ + { + "name": "method", + "value": "github.project.listViews" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "57acdd86193b": { + "name": "githubProjectSearch", + "value": "is:open", + "sent": 3 + }, + "5bd0110906b9": { + "name": "githubProjectPartialFailures", + "value": [], + "sent": 0 + }, + "6579ec5a7d8f": { + "name": "githubProjectLoading", + "value": false, + "sent": 5 + }, + "6820b76533c9": { + "name": "githubProjectLoading", + "value": true, + "sent": 2 + }, + "6e64e24c633d": { + "name": "appliedGithubProjectSearch", + "value": { + "$rpc": "undefined" + }, + "sent": 5 + }, + "6f73e51854d5": { + "name": "github.project.resolveRef#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.resolveRef\",\"params\":{\"input\":\"https://github.com/orgs/owner/projects/3\",\"host\":\"github.com\"}}" + }, + "7868f9428edf": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "TypeError", + "message": "Cannot read properties of null (reading 'ok')", + "isRpcDeliveryUnknown": false + } + }, + "80ceb7c32703": { + "name": "githubProjects", + "value": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ], + "sent": 1 + }, + "8387244cd4f1": { + "name": "github.project.listViews#1", + "args": [ + { + "name": "method", + "value": "github.project.listViews" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "900becffe437": { + "name": "showGitHubProjectPicker", + "value": false, + "sent": 4 + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "b05e50b1dc22": { + "name": "githubProjectPasteBusy", + "value": false, + "sent": 5 + }, + "b2ddd7451862": { + "name": "githubProjectViews", + "value": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ], + "sent": 2 + }, + "b43273a232f5": { + "name": "github.project.listViews#1", + "args": [ + { + "name": "method", + "value": "github.project.listViews" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "b6255b367ac4": { + "name": "githubProjectViews", + "value": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ], + "sent": 3 + }, + "b948e8307e81": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Unknown method", + "isRpcDeliveryUnknown": false + } + }, + "be0da5b53ffb": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + }, + "c1e5438f963e": { + "name": "github.project.resolveRef#1", + "args": [ + { + "name": "method", + "value": "github.project.resolveRef" + }, + { + "name": "params", + "value": { + "host": "github.com", + "input": "https://github.com/orgs/owner/projects/3" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "host": "github.com", + "number": 3, + "ok": true, + "owner": "owner", + "ownerType": "organization", + "title": "Board", + "viewNumber": 1 + } + } + } + }, + "c7584e82c72f": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + }, + "ced28adf12ed": { + "name": "github.project.listViews#1", + "args": [ + { + "name": "method", + "value": "github.project.listViews" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "d05b2d417b9c": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "inner refused", + "isRpcDeliveryUnknown": false + } + }, + "db45b655b685": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "TypeError", + "message": "Cannot read properties of undefined (reading 'ok')", + "isRpcDeliveryUnknown": false + } + }, + "dcc04fab4332": { + "name": "github.project.listViews#1", + "args": [ + { + "name": "method", + "value": "github.project.listViews" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "ddc3cac1e389": { + "name": "githubProjectTable", + "value": { + "$rpc": "null" + }, + "sent": 5 + }, + "dec0f3dc00c9": { + "name": "github.project.viewTable#1", + "args": [ + { + "name": "method", + "value": "github.project.viewTable" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3, + "viewId": "view-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "data": { + "fields": [], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [], + "selectedView": { + "filter": "is:open", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "ok": true + } + } + } + }, + "e59d16f6cde5": { + "name": "githubProjectPasteError", + "value": "", + "sent": 3 + }, + "e8b0899e8eb2": { + "name": "githubProjectPasteInput", + "value": "", + "sent": 4 + }, + "e9ddd99252b5": { + "name": "github.project.listViews#1", + "args": [ + { + "name": "method", + "value": "github.project.listViews" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ebf1d6b98d33": { + "name": "githubProjectTable", + "value": { + "fields": [], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [], + "selectedView": { + "filter": "is:open", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "sent": 3 + }, + "ee22a8355cbd": { + "name": "github.project.listViews#1", + "args": [ + { + "name": "method", + "value": "github.project.listViews" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "f3b516f62081": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": false + } + }, + "f3e4bb3c6cb0": { + "name": "githubProjectError", + "value": "", + "sent": 2 + }, + "ff43b5ec92a9": { + "error": "", + "loading": false, + "pasteError": "", + "projects": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ], + "table": { + "$rpc": "null" + }, + "views": [] + } + }, + "recording": { + "scenario": "matrix-tasks.project-board-load-github.project.listviews-1", + "checkpoints": [ + { + "id": "tk-project-board-load.prelude:projects-settled", + "observation": { + "sender": ["43d044e8caea"], + "payloads": ["1d3552e91192"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a" + }, + "state": "ff43b5ec92a9", + "effects": ["54b9c49c04a8", "5bd0110906b9", "80ceb7c32703", "25b0ac550549"] + } + }, + { + "id": "tk-project-board-load.normal:views-settled", + "observation": { + "sender": ["43d044e8caea", "09d1a467c534"], + "payloads": ["1d3552e91192", "0f1253424990"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb" + }, + "state": "376c9e8bd72a", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862" + ] + } + }, + { + "id": "tk-project-board-load.normal:table-settled", + "observation": { + "sender": ["43d044e8caea", "09d1a467c534", "dec0f3dc00c9"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a" + }, + "state": "2ab1b35ff194", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0" + ] + } + }, + { + "id": "tk-project-board-load.normal:paste-settled", + "observation": { + "sender": [ + "43d044e8caea", + "09d1a467c534", + "dec0f3dc00c9", + "c1e5438f963e", + "02a4a58d8dfb" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "376c9e8bd72a", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "47ebe03e8b7f", + "6e64e24c633d", + "16712ed539ad", + "ddc3cac1e389", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + }, + { + "id": "tk-project-board-load.result-absent:views-settled", + "observation": { + "sender": ["43d044e8caea", "1264f49f4abd"], + "payloads": ["1d3552e91192", "0f1253424990"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "db45b655b685" + }, + "state": "ff43b5ec92a9", + "effects": ["54b9c49c04a8", "5bd0110906b9", "80ceb7c32703", "25b0ac550549"] + } + }, + { + "id": "tk-project-board-load.result-absent:table-settled", + "observation": { + "sender": ["43d044e8caea", "1264f49f4abd", "dec0f3dc00c9"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "db45b655b685", + "table-2": "eb79a9b3682a" + }, + "state": "2ab1b35ff194", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0" + ] + } + }, + { + "id": "tk-project-board-load.result-absent:paste-settled", + "observation": { + "sender": [ + "43d044e8caea", + "1264f49f4abd", + "dec0f3dc00c9", + "c1e5438f963e", + "02a4a58d8dfb" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "db45b655b685", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "376c9e8bd72a", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "47ebe03e8b7f", + "6e64e24c633d", + "16712ed539ad", + "ddc3cac1e389", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + }, + { + "id": "tk-project-board-load.result-null:views-settled", + "observation": { + "sender": ["43d044e8caea", "561d216cf2d4"], + "payloads": ["1d3552e91192", "0f1253424990"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "7868f9428edf" + }, + "state": "ff43b5ec92a9", + "effects": ["54b9c49c04a8", "5bd0110906b9", "80ceb7c32703", "25b0ac550549"] + } + }, + { + "id": "tk-project-board-load.result-null:table-settled", + "observation": { + "sender": ["43d044e8caea", "561d216cf2d4", "dec0f3dc00c9"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "7868f9428edf", + "table-2": "eb79a9b3682a" + }, + "state": "2ab1b35ff194", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0" + ] + } + }, + { + "id": "tk-project-board-load.result-null:paste-settled", + "observation": { + "sender": [ + "43d044e8caea", + "561d216cf2d4", + "dec0f3dc00c9", + "c1e5438f963e", + "02a4a58d8dfb" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "7868f9428edf", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "376c9e8bd72a", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "47ebe03e8b7f", + "6e64e24c633d", + "16712ed539ad", + "ddc3cac1e389", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + }, + { + "id": "tk-project-board-load.inner-ok-missing:views-settled", + "observation": { + "sender": ["43d044e8caea", "205bbb499ca8"], + "payloads": ["1d3552e91192", "0f1253424990"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "f3b516f62081" + }, + "state": "ff43b5ec92a9", + "effects": ["54b9c49c04a8", "5bd0110906b9", "80ceb7c32703", "25b0ac550549"] + } + }, + { + "id": "tk-project-board-load.inner-ok-missing:table-settled", + "observation": { + "sender": ["43d044e8caea", "205bbb499ca8", "dec0f3dc00c9"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "f3b516f62081", + "table-2": "eb79a9b3682a" + }, + "state": "2ab1b35ff194", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0" + ] + } + }, + { + "id": "tk-project-board-load.inner-ok-missing:paste-settled", + "observation": { + "sender": [ + "43d044e8caea", + "205bbb499ca8", + "dec0f3dc00c9", + "c1e5438f963e", + "02a4a58d8dfb" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "f3b516f62081", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "376c9e8bd72a", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "47ebe03e8b7f", + "6e64e24c633d", + "16712ed539ad", + "ddc3cac1e389", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + }, + { + "id": "tk-project-board-load.inner-false-string-error:views-settled", + "observation": { + "sender": ["43d044e8caea", "e9ddd99252b5"], + "payloads": ["1d3552e91192", "0f1253424990"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "f3b516f62081" + }, + "state": "ff43b5ec92a9", + "effects": ["54b9c49c04a8", "5bd0110906b9", "80ceb7c32703", "25b0ac550549"] + } + }, + { + "id": "tk-project-board-load.inner-false-string-error:table-settled", + "observation": { + "sender": ["43d044e8caea", "e9ddd99252b5", "dec0f3dc00c9"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "f3b516f62081", + "table-2": "eb79a9b3682a" + }, + "state": "2ab1b35ff194", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0" + ] + } + }, + { + "id": "tk-project-board-load.inner-false-string-error:paste-settled", + "observation": { + "sender": [ + "43d044e8caea", + "e9ddd99252b5", + "dec0f3dc00c9", + "c1e5438f963e", + "02a4a58d8dfb" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "f3b516f62081", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "376c9e8bd72a", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "47ebe03e8b7f", + "6e64e24c633d", + "16712ed539ad", + "ddc3cac1e389", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + }, + { + "id": "tk-project-board-load.inner-false-object-error:views-settled", + "observation": { + "sender": ["43d044e8caea", "ced28adf12ed"], + "payloads": ["1d3552e91192", "0f1253424990"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "d05b2d417b9c" + }, + "state": "ff43b5ec92a9", + "effects": ["54b9c49c04a8", "5bd0110906b9", "80ceb7c32703", "25b0ac550549"] + } + }, + { + "id": "tk-project-board-load.inner-false-object-error:table-settled", + "observation": { + "sender": ["43d044e8caea", "ced28adf12ed", "dec0f3dc00c9"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "d05b2d417b9c", + "table-2": "eb79a9b3682a" + }, + "state": "2ab1b35ff194", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0" + ] + } + }, + { + "id": "tk-project-board-load.inner-false-object-error:paste-settled", + "observation": { + "sender": [ + "43d044e8caea", + "ced28adf12ed", + "dec0f3dc00c9", + "c1e5438f963e", + "02a4a58d8dfb" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "d05b2d417b9c", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "376c9e8bd72a", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "47ebe03e8b7f", + "6e64e24c633d", + "16712ed539ad", + "ddc3cac1e389", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + }, + { + "id": "tk-project-board-load.outer-refused:views-settled", + "observation": { + "sender": ["43d044e8caea", "dcc04fab4332"], + "payloads": ["1d3552e91192", "0f1253424990"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "32a7c0ae7918" + }, + "state": "ff43b5ec92a9", + "effects": ["54b9c49c04a8", "5bd0110906b9", "80ceb7c32703", "25b0ac550549"] + } + }, + { + "id": "tk-project-board-load.outer-refused:table-settled", + "observation": { + "sender": ["43d044e8caea", "dcc04fab4332", "dec0f3dc00c9"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "32a7c0ae7918", + "table-2": "eb79a9b3682a" + }, + "state": "2ab1b35ff194", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0" + ] + } + }, + { + "id": "tk-project-board-load.outer-refused:paste-settled", + "observation": { + "sender": [ + "43d044e8caea", + "dcc04fab4332", + "dec0f3dc00c9", + "c1e5438f963e", + "02a4a58d8dfb" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "32a7c0ae7918", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "376c9e8bd72a", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "47ebe03e8b7f", + "6e64e24c633d", + "16712ed539ad", + "ddc3cac1e389", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + }, + { + "id": "tk-project-board-load.outer-refused-no-message:views-settled", + "observation": { + "sender": ["43d044e8caea", "ee22a8355cbd"], + "payloads": ["1d3552e91192", "0f1253424990"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "f3b516f62081" + }, + "state": "ff43b5ec92a9", + "effects": ["54b9c49c04a8", "5bd0110906b9", "80ceb7c32703", "25b0ac550549"] + } + }, + { + "id": "tk-project-board-load.outer-refused-no-message:table-settled", + "observation": { + "sender": ["43d044e8caea", "ee22a8355cbd", "dec0f3dc00c9"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "f3b516f62081", + "table-2": "eb79a9b3682a" + }, + "state": "2ab1b35ff194", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0" + ] + } + }, + { + "id": "tk-project-board-load.outer-refused-no-message:paste-settled", + "observation": { + "sender": [ + "43d044e8caea", + "ee22a8355cbd", + "dec0f3dc00c9", + "c1e5438f963e", + "02a4a58d8dfb" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "f3b516f62081", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "376c9e8bd72a", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "47ebe03e8b7f", + "6e64e24c633d", + "16712ed539ad", + "ddc3cac1e389", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + }, + { + "id": "tk-project-board-load.method-not-found:views-settled", + "observation": { + "sender": ["43d044e8caea", "25ded056137c"], + "payloads": ["1d3552e91192", "0f1253424990"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "b948e8307e81" + }, + "state": "ff43b5ec92a9", + "effects": ["54b9c49c04a8", "5bd0110906b9", "80ceb7c32703", "25b0ac550549"] + } + }, + { + "id": "tk-project-board-load.method-not-found:table-settled", + "observation": { + "sender": ["43d044e8caea", "25ded056137c", "dec0f3dc00c9"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "b948e8307e81", + "table-2": "eb79a9b3682a" + }, + "state": "2ab1b35ff194", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0" + ] + } + }, + { + "id": "tk-project-board-load.method-not-found:paste-settled", + "observation": { + "sender": [ + "43d044e8caea", + "25ded056137c", + "dec0f3dc00c9", + "c1e5438f963e", + "02a4a58d8dfb" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "b948e8307e81", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "376c9e8bd72a", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "47ebe03e8b7f", + "6e64e24c633d", + "16712ed539ad", + "ddc3cac1e389", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + }, + { + "id": "tk-project-board-load.transport-rejection:views-settled", + "observation": { + "sender": ["43d044e8caea", "b43273a232f5"], + "payloads": ["1d3552e91192", "0f1253424990"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "a947768bc0ed" + }, + "state": "ff43b5ec92a9", + "effects": ["54b9c49c04a8", "5bd0110906b9", "80ceb7c32703", "25b0ac550549"] + } + }, + { + "id": "tk-project-board-load.transport-rejection:table-settled", + "observation": { + "sender": ["43d044e8caea", "b43273a232f5", "dec0f3dc00c9"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "a947768bc0ed", + "table-2": "eb79a9b3682a" + }, + "state": "2ab1b35ff194", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0" + ] + } + }, + { + "id": "tk-project-board-load.transport-rejection:paste-settled", + "observation": { + "sender": [ + "43d044e8caea", + "b43273a232f5", + "dec0f3dc00c9", + "c1e5438f963e", + "02a4a58d8dfb" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "a947768bc0ed", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "376c9e8bd72a", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "47ebe03e8b7f", + "6e64e24c633d", + "16712ed539ad", + "ddc3cac1e389", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + }, + { + "id": "tk-project-board-load.transport-rejection-no-message:views-settled", + "observation": { + "sender": ["43d044e8caea", "8387244cd4f1"], + "payloads": ["1d3552e91192", "0f1253424990"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "c7584e82c72f" + }, + "state": "ff43b5ec92a9", + "effects": ["54b9c49c04a8", "5bd0110906b9", "80ceb7c32703", "25b0ac550549"] + } + }, + { + "id": "tk-project-board-load.transport-rejection-no-message:table-settled", + "observation": { + "sender": ["43d044e8caea", "8387244cd4f1", "dec0f3dc00c9"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "c7584e82c72f", + "table-2": "eb79a9b3682a" + }, + "state": "2ab1b35ff194", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0" + ] + } + }, + { + "id": "tk-project-board-load.transport-rejection-no-message:paste-settled", + "observation": { + "sender": [ + "43d044e8caea", + "8387244cd4f1", + "dec0f3dc00c9", + "c1e5438f963e", + "02a4a58d8dfb" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "c7584e82c72f", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "376c9e8bd72a", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "47ebe03e8b7f", + "6e64e24c633d", + "16712ed539ad", + "ddc3cac1e389", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.project-board-load-github.project.listviews-2.json b/mobile/rpc-foundation/goldens/matrix-tasks.project-board-load-github.project.listviews-2.json new file mode 100644 index 00000000000..1d5ac655a01 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.project-board-load-github.project.listviews-2.json @@ -0,0 +1,1899 @@ +{ + "operation": "tasks.project-board-load", + "family": "tasks.project-board-load", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "c4272385ed3b0de4feab38de9e4f6363ecd6317fdd4de47f76a98eb18abaf371", + "scenarioSha256": "7f748bb55df907bba315ea6899c585837d97fa0ea9b312330cf35d95bda87bd1", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "02a4a58d8dfb": { + "name": "github.project.listViews#2", + "args": [ + { + "name": "method", + "value": "github.project.listViews" + }, + { + "name": "params", + "value": { + "host": "github.com", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "ok": true, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + } + } + } + }, + "09d1a467c534": { + "name": "github.project.listViews#1", + "args": [ + { + "name": "method", + "value": "github.project.listViews" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "ok": true, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + } + } + } + }, + "0f1253424990": { + "name": "github.project.listViews#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listViews\",\"params\":{\"owner\":\"owner\",\"host\":\"github.enterprise.test\",\"ownerType\":\"organization\",\"projectNumber\":3}}" + }, + "156064e9724d": { + "name": "githubProjectPasteBusy", + "value": true, + "sent": 3 + }, + "16712ed539ad": { + "name": "githubProjectSearch", + "value": "", + "sent": 5 + }, + "17fdd112d0a7": { + "name": "github.project.listViews#2", + "args": [ + { + "name": "method", + "value": "github.project.listViews" + }, + { + "name": "params", + "value": { + "host": "github.com", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-5", + "ok": false + } + } + }, + "1b7a7437b046": { + "error": "", + "loading": true, + "pasteError": "", + "projects": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ], + "table": { + "fields": [], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [], + "selectedView": { + "filter": "is:open", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + }, + "1ccd71976643": { + "name": "githubProjectError", + "value": "Connection closed", + "sent": 5 + }, + "1d3552e91192": { + "name": "github.project.listAccessible#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listAccessible\",\"params\":{\"host\":\"github.com\"}}" + }, + "1fc005bf68ed": { + "name": "githubProjectError", + "value": "transport failure", + "sent": 5 + }, + "24c2f17ad70b": { + "name": "githubProjectError", + "value": "outer refused", + "sent": 5 + }, + "25b0ac550549": { + "name": "githubProjectPartialFailures", + "value": [], + "sent": 1 + }, + "29aec6d77c95": { + "name": "github.project.listViews#2", + "args": [ + { + "name": "method", + "value": "github.project.listViews" + }, + { + "name": "params", + "value": { + "host": "github.com", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-5", + "ok": false + } + } + }, + "29b4d604921f": { + "name": "github.project.listViews#2", + "args": [ + { + "name": "method", + "value": "github.project.listViews" + }, + { + "name": "params", + "value": { + "host": "github.com", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "2a1601ad9099": { + "name": "github.project.listViews#2", + "args": [ + { + "name": "method", + "value": "github.project.listViews" + }, + { + "name": "params", + "value": { + "host": "github.com", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-5", + "ok": false + } + } + }, + "2ab1b35ff194": { + "error": "", + "loading": false, + "pasteError": "", + "projects": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ], + "table": { + "fields": [], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [], + "selectedView": { + "filter": "is:open", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + }, + "2d0e42961cec": { + "name": "github.project.listViews#2", + "args": [ + { + "name": "method", + "value": "github.project.listViews" + }, + { + "name": "params", + "value": { + "host": "github.com", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "32b1426d14c0": { + "name": "githubProjectLoading", + "value": false, + "sent": 3 + }, + "376c9e8bd72a": { + "error": "", + "loading": false, + "pasteError": "", + "projects": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ], + "table": { + "$rpc": "null" + }, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + }, + "383da1c2fa1c": { + "name": "githubProjectLoading", + "value": true, + "sent": 4 + }, + "39bc2fd66e3d": { + "name": "github.project.viewTable#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.viewTable\",\"params\":{\"owner\":\"owner\",\"host\":\"github.enterprise.test\",\"ownerType\":\"organization\",\"projectNumber\":3,\"viewId\":\"view-1\"}}" + }, + "3e904e0d43b4": { + "name": "github.project.listViews#2", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listViews\",\"params\":{\"owner\":\"owner\",\"host\":\"github.com\",\"ownerType\":\"organization\",\"projectNumber\":3}}" + }, + "42d96f8f44ae": { + "name": "githubProjectError", + "value": "", + "sent": 3 + }, + "43d044e8caea": { + "name": "github.project.listAccessible#1", + "args": [ + { + "name": "method", + "value": "github.project.listAccessible" + }, + { + "name": "params", + "value": { + "host": "github.com" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true, + "partialFailures": [], + "projects": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ] + } + } + } + }, + "47ebe03e8b7f": { + "name": "githubProjectViews", + "value": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ], + "sent": 5 + }, + "4cf1a3bc4178": { + "error": "inner refused", + "loading": false, + "pasteError": "", + "projects": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ], + "table": { + "fields": [], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [], + "selectedView": { + "filter": "is:open", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + }, + "4d6bf1149ea4": { + "name": "githubProjectError", + "value": "", + "sent": 4 + }, + "54b9c49c04a8": { + "name": "githubProjectError", + "value": "", + "sent": 0 + }, + "5757abe66f2b": { + "name": "githubProjectError", + "value": "Cannot read properties of undefined (reading 'ok')", + "sent": 5 + }, + "57acdd86193b": { + "name": "githubProjectSearch", + "value": "is:open", + "sent": 3 + }, + "5bd0110906b9": { + "name": "githubProjectPartialFailures", + "value": [], + "sent": 0 + }, + "6579ec5a7d8f": { + "name": "githubProjectLoading", + "value": false, + "sent": 5 + }, + "6820b76533c9": { + "name": "githubProjectLoading", + "value": true, + "sent": 2 + }, + "6e64e24c633d": { + "name": "appliedGithubProjectSearch", + "value": { + "$rpc": "undefined" + }, + "sent": 5 + }, + "6f73e51854d5": { + "name": "github.project.resolveRef#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.resolveRef\",\"params\":{\"input\":\"https://github.com/orgs/owner/projects/3\",\"host\":\"github.com\"}}" + }, + "708b116bab85": { + "name": "githubProjectError", + "value": "", + "sent": 5 + }, + "7e7f0e10b49d": { + "name": "github.project.listViews#2", + "args": [ + { + "name": "method", + "value": "github.project.listViews" + }, + { + "name": "params", + "value": { + "host": "github.com", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "80ceb7c32703": { + "name": "githubProjects", + "value": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ], + "sent": 1 + }, + "900becffe437": { + "name": "showGitHubProjectPicker", + "value": false, + "sent": 4 + }, + "98e1a8b95833": { + "name": "github.project.listViews#2", + "args": [ + { + "name": "method", + "value": "github.project.listViews" + }, + { + "name": "params", + "value": { + "host": "github.com", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true + } + } + }, + "9fb985a7d8f6": { + "error": "transport failure", + "loading": false, + "pasteError": "", + "projects": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ], + "table": { + "fields": [], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [], + "selectedView": { + "filter": "is:open", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + }, + "a0be195a8974": { + "name": "github.project.listViews#2", + "args": [ + { + "name": "method", + "value": "github.project.listViews" + }, + { + "name": "params", + "value": { + "host": "github.com", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "a2836c7e5b97": { + "name": "githubProjectError", + "value": "inner refused", + "sent": 5 + }, + "a3fbce1fcf8a": { + "error": "Cannot read properties of undefined (reading 'ok')", + "loading": false, + "pasteError": "", + "projects": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ], + "table": { + "fields": [], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [], + "selectedView": { + "filter": "is:open", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + }, + "a7afd7be9a23": { + "name": "github.project.listViews#2", + "args": [ + { + "name": "method", + "value": "github.project.listViews" + }, + { + "name": "params", + "value": { + "host": "github.com", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "abb28d0939d9": { + "error": "Unknown method", + "loading": false, + "pasteError": "", + "projects": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ], + "table": { + "fields": [], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [], + "selectedView": { + "filter": "is:open", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + }, + "b05e50b1dc22": { + "name": "githubProjectPasteBusy", + "value": false, + "sent": 5 + }, + "b1b0d0b13d2e": { + "error": "outer refused", + "loading": false, + "pasteError": "", + "projects": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ], + "table": { + "fields": [], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [], + "selectedView": { + "filter": "is:open", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + }, + "b2ddd7451862": { + "name": "githubProjectViews", + "value": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ], + "sent": 2 + }, + "b3c9af8595f5": { + "name": "githubProjectError", + "value": "Cannot read properties of null (reading 'ok')", + "sent": 5 + }, + "b4d6fa5183e5": { + "name": "github.project.listViews#2", + "args": [ + { + "name": "method", + "value": "github.project.listViews" + }, + { + "name": "params", + "value": { + "host": "github.com", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Connection closed", + "isRpcDeliveryUnknown": true + } + } + }, + "b6255b367ac4": { + "name": "githubProjectViews", + "value": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ], + "sent": 3 + }, + "be0da5b53ffb": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + }, + "c1e5438f963e": { + "name": "github.project.resolveRef#1", + "args": [ + { + "name": "method", + "value": "github.project.resolveRef" + }, + { + "name": "params", + "value": { + "host": "github.com", + "input": "https://github.com/orgs/owner/projects/3" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "host": "github.com", + "number": 3, + "ok": true, + "owner": "owner", + "ownerType": "organization", + "title": "Board", + "viewNumber": 1 + } + } + } + }, + "d068dd4c0d9d": { + "name": "github.project.listViews#2", + "args": [ + { + "name": "method", + "value": "github.project.listViews" + }, + { + "name": "params", + "value": { + "host": "github.com", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "ddc3cac1e389": { + "name": "githubProjectTable", + "value": { + "$rpc": "null" + }, + "sent": 5 + }, + "dec0f3dc00c9": { + "name": "github.project.viewTable#1", + "args": [ + { + "name": "method", + "value": "github.project.viewTable" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3, + "viewId": "view-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "data": { + "fields": [], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [], + "selectedView": { + "filter": "is:open", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "ok": true + } + } + } + }, + "e4de887f1178": { + "name": "githubProjectError", + "value": "Unknown method", + "sent": 5 + }, + "e59d16f6cde5": { + "name": "githubProjectPasteError", + "value": "", + "sent": 3 + }, + "e8b0899e8eb2": { + "name": "githubProjectPasteInput", + "value": "", + "sent": 4 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ebf1d6b98d33": { + "name": "githubProjectTable", + "value": { + "fields": [], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [], + "selectedView": { + "filter": "is:open", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "sent": 3 + }, + "f1dd827578d3": { + "error": "Cannot read properties of null (reading 'ok')", + "loading": false, + "pasteError": "", + "projects": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ], + "table": { + "fields": [], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [], + "selectedView": { + "filter": "is:open", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + }, + "f3e4bb3c6cb0": { + "name": "githubProjectError", + "value": "", + "sent": 2 + }, + "ff43b5ec92a9": { + "error": "", + "loading": false, + "pasteError": "", + "projects": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ], + "table": { + "$rpc": "null" + }, + "views": [] + } + }, + "recording": { + "scenario": "matrix-tasks.project-board-load-github.project.listviews-2", + "checkpoints": [ + { + "id": "tk-project-board-load.prelude:projects-settled", + "observation": { + "sender": ["43d044e8caea"], + "payloads": ["1d3552e91192"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a" + }, + "state": "ff43b5ec92a9", + "effects": ["54b9c49c04a8", "5bd0110906b9", "80ceb7c32703", "25b0ac550549"] + } + }, + { + "id": "tk-project-board-load.prelude:views-settled", + "observation": { + "sender": ["43d044e8caea", "09d1a467c534"], + "payloads": ["1d3552e91192", "0f1253424990"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb" + }, + "state": "376c9e8bd72a", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862" + ] + } + }, + { + "id": "tk-project-board-load.prelude:table-settled", + "observation": { + "sender": ["43d044e8caea", "09d1a467c534", "dec0f3dc00c9"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a" + }, + "state": "2ab1b35ff194", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0" + ] + } + }, + { + "id": "tk-project-board-load.prelude:cleanup", + "observation": { + "sender": [ + "43d044e8caea", + "09d1a467c534", + "dec0f3dc00c9", + "c1e5438f963e", + "b4d6fa5183e5" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "1b7a7437b046", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "1ccd71976643", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + }, + { + "id": "tk-project-board-load.normal:paste-settled", + "observation": { + "sender": [ + "43d044e8caea", + "09d1a467c534", + "dec0f3dc00c9", + "c1e5438f963e", + "02a4a58d8dfb" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "376c9e8bd72a", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "47ebe03e8b7f", + "6e64e24c633d", + "16712ed539ad", + "ddc3cac1e389", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + }, + { + "id": "tk-project-board-load.result-absent:paste-settled", + "observation": { + "sender": [ + "43d044e8caea", + "09d1a467c534", + "dec0f3dc00c9", + "c1e5438f963e", + "98e1a8b95833" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "a3fbce1fcf8a", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "5757abe66f2b", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + }, + { + "id": "tk-project-board-load.result-null:paste-settled", + "observation": { + "sender": [ + "43d044e8caea", + "09d1a467c534", + "dec0f3dc00c9", + "c1e5438f963e", + "29b4d604921f" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "f1dd827578d3", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "b3c9af8595f5", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + }, + { + "id": "tk-project-board-load.inner-ok-missing:paste-settled", + "observation": { + "sender": [ + "43d044e8caea", + "09d1a467c534", + "dec0f3dc00c9", + "c1e5438f963e", + "2d0e42961cec" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "2ab1b35ff194", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "708b116bab85", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + }, + { + "id": "tk-project-board-load.inner-false-string-error:paste-settled", + "observation": { + "sender": [ + "43d044e8caea", + "09d1a467c534", + "dec0f3dc00c9", + "c1e5438f963e", + "a0be195a8974" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "2ab1b35ff194", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "708b116bab85", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + }, + { + "id": "tk-project-board-load.inner-false-object-error:paste-settled", + "observation": { + "sender": [ + "43d044e8caea", + "09d1a467c534", + "dec0f3dc00c9", + "c1e5438f963e", + "a7afd7be9a23" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "4cf1a3bc4178", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "a2836c7e5b97", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + }, + { + "id": "tk-project-board-load.outer-refused:paste-settled", + "observation": { + "sender": [ + "43d044e8caea", + "09d1a467c534", + "dec0f3dc00c9", + "c1e5438f963e", + "29aec6d77c95" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "b1b0d0b13d2e", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "24c2f17ad70b", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + }, + { + "id": "tk-project-board-load.outer-refused-no-message:paste-settled", + "observation": { + "sender": [ + "43d044e8caea", + "09d1a467c534", + "dec0f3dc00c9", + "c1e5438f963e", + "2a1601ad9099" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "2ab1b35ff194", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "708b116bab85", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + }, + { + "id": "tk-project-board-load.method-not-found:paste-settled", + "observation": { + "sender": [ + "43d044e8caea", + "09d1a467c534", + "dec0f3dc00c9", + "c1e5438f963e", + "17fdd112d0a7" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "abb28d0939d9", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "e4de887f1178", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + }, + { + "id": "tk-project-board-load.transport-rejection:paste-settled", + "observation": { + "sender": [ + "43d044e8caea", + "09d1a467c534", + "dec0f3dc00c9", + "c1e5438f963e", + "d068dd4c0d9d" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "9fb985a7d8f6", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "1fc005bf68ed", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + }, + { + "id": "tk-project-board-load.transport-rejection-no-message:paste-settled", + "observation": { + "sender": [ + "43d044e8caea", + "09d1a467c534", + "dec0f3dc00c9", + "c1e5438f963e", + "7e7f0e10b49d" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "2ab1b35ff194", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "708b116bab85", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.project-board-load-github.project.resolveref-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.project-board-load-github.project.resolveref-1.json new file mode 100644 index 00000000000..ab58092a419 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.project-board-load-github.project.resolveref-1.json @@ -0,0 +1,1704 @@ +{ + "operation": "tasks.project-board-load", + "family": "tasks.project-board-load", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "c4272385ed3b0de4feab38de9e4f6363ecd6317fdd4de47f76a98eb18abaf371", + "scenarioSha256": "4ab4e4022cafd69cbc7af45ddf72d2dad3e8215df363511651d7faea014147d3", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "02a4a58d8dfb": { + "name": "github.project.listViews#2", + "args": [ + { + "name": "method", + "value": "github.project.listViews" + }, + { + "name": "params", + "value": { + "host": "github.com", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "ok": true, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + } + } + } + }, + "09d1a467c534": { + "name": "github.project.listViews#1", + "args": [ + { + "name": "method", + "value": "github.project.listViews" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "ok": true, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + } + } + } + }, + "0bad1349dcef": { + "name": "githubProjectPasteError", + "value": "", + "sent": 4 + }, + "0f1253424990": { + "name": "github.project.listViews#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listViews\",\"params\":{\"owner\":\"owner\",\"host\":\"github.enterprise.test\",\"ownerType\":\"organization\",\"projectNumber\":3}}" + }, + "12ff41170090": { + "error": "", + "loading": false, + "pasteError": "Cannot read properties of undefined (reading 'ok')", + "projects": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ], + "table": { + "fields": [], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [], + "selectedView": { + "filter": "is:open", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + }, + "156064e9724d": { + "name": "githubProjectPasteBusy", + "value": true, + "sent": 3 + }, + "16712ed539ad": { + "name": "githubProjectSearch", + "value": "", + "sent": 5 + }, + "1d3552e91192": { + "name": "github.project.listAccessible#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listAccessible\",\"params\":{\"host\":\"github.com\"}}" + }, + "25b0ac550549": { + "name": "githubProjectPartialFailures", + "value": [], + "sent": 1 + }, + "2ab1b35ff194": { + "error": "", + "loading": false, + "pasteError": "", + "projects": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ], + "table": { + "fields": [], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [], + "selectedView": { + "filter": "is:open", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + }, + "32b1426d14c0": { + "name": "githubProjectLoading", + "value": false, + "sent": 3 + }, + "34c532a971ec": { + "name": "github.project.resolveRef#1", + "args": [ + { + "name": "method", + "value": "github.project.resolveRef" + }, + { + "name": "params", + "value": { + "host": "github.com", + "input": "https://github.com/orgs/owner/projects/3" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "376c9e8bd72a": { + "error": "", + "loading": false, + "pasteError": "", + "projects": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ], + "table": { + "$rpc": "null" + }, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + }, + "383da1c2fa1c": { + "name": "githubProjectLoading", + "value": true, + "sent": 4 + }, + "39bc2fd66e3d": { + "name": "github.project.viewTable#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.viewTable\",\"params\":{\"owner\":\"owner\",\"host\":\"github.enterprise.test\",\"ownerType\":\"organization\",\"projectNumber\":3,\"viewId\":\"view-1\"}}" + }, + "3c881dadbe0c": { + "name": "github.project.resolveRef#1", + "args": [ + { + "name": "method", + "value": "github.project.resolveRef" + }, + { + "name": "params", + "value": { + "host": "github.com", + "input": "https://github.com/orgs/owner/projects/3" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "3e904e0d43b4": { + "name": "github.project.listViews#2", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listViews\",\"params\":{\"owner\":\"owner\",\"host\":\"github.com\",\"ownerType\":\"organization\",\"projectNumber\":3}}" + }, + "42d96f8f44ae": { + "name": "githubProjectError", + "value": "", + "sent": 3 + }, + "43d044e8caea": { + "name": "github.project.listAccessible#1", + "args": [ + { + "name": "method", + "value": "github.project.listAccessible" + }, + { + "name": "params", + "value": { + "host": "github.com" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true, + "partialFailures": [], + "projects": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ] + } + } + } + }, + "43f95b0c95f8": { + "name": "github.project.resolveRef#1", + "args": [ + { + "name": "method", + "value": "github.project.resolveRef" + }, + { + "name": "params", + "value": { + "host": "github.com", + "input": "https://github.com/orgs/owner/projects/3" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "46bb2cca7c25": { + "name": "github.project.resolveRef#1", + "args": [ + { + "name": "method", + "value": "github.project.resolveRef" + }, + { + "name": "params", + "value": { + "host": "github.com", + "input": "https://github.com/orgs/owner/projects/3" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-4", + "ok": false + } + } + }, + "47aa692d7dc9": { + "error": "", + "loading": false, + "pasteError": { + "$rpc": "undefined" + }, + "projects": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ], + "table": { + "fields": [], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [], + "selectedView": { + "filter": "is:open", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + }, + "47ebe03e8b7f": { + "name": "githubProjectViews", + "value": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ], + "sent": 5 + }, + "4d6bf1149ea4": { + "name": "githubProjectError", + "value": "", + "sent": 4 + }, + "500bc939e9f2": { + "name": "github.project.resolveRef#1", + "args": [ + { + "name": "method", + "value": "github.project.resolveRef" + }, + { + "name": "params", + "value": { + "host": "github.com", + "input": "https://github.com/orgs/owner/projects/3" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "542d281c736b": { + "error": "", + "loading": false, + "pasteError": "inner refused", + "projects": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ], + "table": { + "fields": [], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [], + "selectedView": { + "filter": "is:open", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + }, + "54b9c49c04a8": { + "name": "githubProjectError", + "value": "", + "sent": 0 + }, + "577154374a02": { + "name": "githubProjectPasteError", + "value": "Cannot read properties of undefined (reading 'ok')", + "sent": 4 + }, + "57acdd86193b": { + "name": "githubProjectSearch", + "value": "is:open", + "sent": 3 + }, + "5bd0110906b9": { + "name": "githubProjectPartialFailures", + "value": [], + "sent": 0 + }, + "5e0f133660e0": { + "name": "github.project.resolveRef#1", + "args": [ + { + "name": "method", + "value": "github.project.resolveRef" + }, + { + "name": "params", + "value": { + "host": "github.com", + "input": "https://github.com/orgs/owner/projects/3" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-4", + "ok": false + } + } + }, + "61559589d8d1": { + "name": "githubProjectPasteError", + "value": "Unknown method", + "sent": 4 + }, + "6579ec5a7d8f": { + "name": "githubProjectLoading", + "value": false, + "sent": 5 + }, + "6820b76533c9": { + "name": "githubProjectLoading", + "value": true, + "sent": 2 + }, + "6836d7fdd70a": { + "name": "github.project.resolveRef#1", + "args": [ + { + "name": "method", + "value": "github.project.resolveRef" + }, + { + "name": "params", + "value": { + "host": "github.com", + "input": "https://github.com/orgs/owner/projects/3" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "699bf714392b": { + "name": "githubProjectPasteError", + "value": "transport failure", + "sent": 4 + }, + "6e64e24c633d": { + "name": "appliedGithubProjectSearch", + "value": { + "$rpc": "undefined" + }, + "sent": 5 + }, + "6f73e51854d5": { + "name": "github.project.resolveRef#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.resolveRef\",\"params\":{\"input\":\"https://github.com/orgs/owner/projects/3\",\"host\":\"github.com\"}}" + }, + "7a234b9d2ae3": { + "error": "", + "loading": false, + "pasteError": "Cannot read properties of null (reading 'ok')", + "projects": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ], + "table": { + "fields": [], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [], + "selectedView": { + "filter": "is:open", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + }, + "80ceb7c32703": { + "name": "githubProjects", + "value": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ], + "sent": 1 + }, + "8b44cdbe429d": { + "name": "github.project.resolveRef#1", + "args": [ + { + "name": "method", + "value": "github.project.resolveRef" + }, + { + "name": "params", + "value": { + "host": "github.com", + "input": "https://github.com/orgs/owner/projects/3" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "8cc6c42c6cbc": { + "name": "githubProjectPasteError", + "value": "outer refused", + "sent": 4 + }, + "8ff10f29e8cd": { + "name": "githubProjectPasteError", + "value": "Cannot read properties of null (reading 'ok')", + "sent": 4 + }, + "900becffe437": { + "name": "showGitHubProjectPicker", + "value": false, + "sent": 4 + }, + "933fa40d28dd": { + "error": "", + "loading": false, + "pasteError": "Unknown method", + "projects": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ], + "table": { + "fields": [], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [], + "selectedView": { + "filter": "is:open", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + }, + "9fa2b69acf20": { + "error": "", + "loading": false, + "pasteError": "outer refused", + "projects": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ], + "table": { + "fields": [], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [], + "selectedView": { + "filter": "is:open", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + }, + "9fb5dff2ed3c": { + "name": "githubProjectPasteError", + "value": "inner refused", + "sent": 4 + }, + "b05e50b1dc22": { + "name": "githubProjectPasteBusy", + "value": false, + "sent": 5 + }, + "b2ddd7451862": { + "name": "githubProjectViews", + "value": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ], + "sent": 2 + }, + "b6255b367ac4": { + "name": "githubProjectViews", + "value": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ], + "sent": 3 + }, + "bce0d93ba4fe": { + "name": "github.project.resolveRef#1", + "args": [ + { + "name": "method", + "value": "github.project.resolveRef" + }, + { + "name": "params", + "value": { + "host": "github.com", + "input": "https://github.com/orgs/owner/projects/3" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-4", + "ok": false + } + } + }, + "be0da5b53ffb": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + }, + "c1e5438f963e": { + "name": "github.project.resolveRef#1", + "args": [ + { + "name": "method", + "value": "github.project.resolveRef" + }, + { + "name": "params", + "value": { + "host": "github.com", + "input": "https://github.com/orgs/owner/projects/3" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "host": "github.com", + "number": 3, + "ok": true, + "owner": "owner", + "ownerType": "organization", + "title": "Board", + "viewNumber": 1 + } + } + } + }, + "c9b4cd88639c": { + "name": "githubProjectPasteBusy", + "value": false, + "sent": 4 + }, + "d73cf56a3eac": { + "name": "github.project.resolveRef#1", + "args": [ + { + "name": "method", + "value": "github.project.resolveRef" + }, + { + "name": "params", + "value": { + "host": "github.com", + "input": "https://github.com/orgs/owner/projects/3" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Connection closed", + "isRpcDeliveryUnknown": true + } + } + }, + "d76c24e12352": { + "error": "", + "loading": false, + "pasteError": "transport failure", + "projects": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ], + "table": { + "fields": [], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [], + "selectedView": { + "filter": "is:open", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + }, + "ddc3cac1e389": { + "name": "githubProjectTable", + "value": { + "$rpc": "null" + }, + "sent": 5 + }, + "dec0f3dc00c9": { + "name": "github.project.viewTable#1", + "args": [ + { + "name": "method", + "value": "github.project.viewTable" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3, + "viewId": "view-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "data": { + "fields": [], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [], + "selectedView": { + "filter": "is:open", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "ok": true + } + } + } + }, + "e1cc27695a3c": { + "name": "githubProjectPasteError", + "value": "Connection closed", + "sent": 4 + }, + "e59d16f6cde5": { + "name": "githubProjectPasteError", + "value": "", + "sent": 3 + }, + "e8b0899e8eb2": { + "name": "githubProjectPasteInput", + "value": "", + "sent": 4 + }, + "eaeb8885f03d": { + "name": "github.project.resolveRef#1", + "args": [ + { + "name": "method", + "value": "github.project.resolveRef" + }, + { + "name": "params", + "value": { + "host": "github.com", + "input": "https://github.com/orgs/owner/projects/3" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ebf1d6b98d33": { + "name": "githubProjectTable", + "value": { + "fields": [], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [], + "selectedView": { + "filter": "is:open", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "sent": 3 + }, + "ec92d4b4669e": { + "name": "githubProjectPasteError", + "value": { + "$rpc": "undefined" + }, + "sent": 4 + }, + "f3e4bb3c6cb0": { + "name": "githubProjectError", + "value": "", + "sent": 2 + }, + "ff43b5ec92a9": { + "error": "", + "loading": false, + "pasteError": "", + "projects": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ], + "table": { + "$rpc": "null" + }, + "views": [] + } + }, + "recording": { + "scenario": "matrix-tasks.project-board-load-github.project.resolveref-1", + "checkpoints": [ + { + "id": "tk-project-board-load.prelude:projects-settled", + "observation": { + "sender": ["43d044e8caea"], + "payloads": ["1d3552e91192"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a" + }, + "state": "ff43b5ec92a9", + "effects": ["54b9c49c04a8", "5bd0110906b9", "80ceb7c32703", "25b0ac550549"] + } + }, + { + "id": "tk-project-board-load.prelude:views-settled", + "observation": { + "sender": ["43d044e8caea", "09d1a467c534"], + "payloads": ["1d3552e91192", "0f1253424990"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb" + }, + "state": "376c9e8bd72a", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862" + ] + } + }, + { + "id": "tk-project-board-load.prelude:table-settled", + "observation": { + "sender": ["43d044e8caea", "09d1a467c534", "dec0f3dc00c9"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a" + }, + "state": "2ab1b35ff194", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0" + ] + } + }, + { + "id": "tk-project-board-load.prelude:cleanup", + "observation": { + "sender": ["43d044e8caea", "09d1a467c534", "dec0f3dc00c9", "d73cf56a3eac"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d", "6f73e51854d5"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "2ab1b35ff194", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e1cc27695a3c", + "c9b4cd88639c" + ] + } + }, + { + "id": "tk-project-board-load.normal:paste-settled", + "observation": { + "sender": [ + "43d044e8caea", + "09d1a467c534", + "dec0f3dc00c9", + "c1e5438f963e", + "02a4a58d8dfb" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "376c9e8bd72a", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "47ebe03e8b7f", + "6e64e24c633d", + "16712ed539ad", + "ddc3cac1e389", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + }, + { + "id": "tk-project-board-load.result-absent:paste-settled", + "observation": { + "sender": ["43d044e8caea", "09d1a467c534", "dec0f3dc00c9", "eaeb8885f03d"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d", "6f73e51854d5"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "12ff41170090", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "577154374a02", + "c9b4cd88639c" + ] + } + }, + { + "id": "tk-project-board-load.result-null:paste-settled", + "observation": { + "sender": ["43d044e8caea", "09d1a467c534", "dec0f3dc00c9", "6836d7fdd70a"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d", "6f73e51854d5"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "7a234b9d2ae3", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "8ff10f29e8cd", + "c9b4cd88639c" + ] + } + }, + { + "id": "tk-project-board-load.inner-ok-missing:paste-settled", + "observation": { + "sender": ["43d044e8caea", "09d1a467c534", "dec0f3dc00c9", "8b44cdbe429d"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d", "6f73e51854d5"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "47aa692d7dc9", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "ec92d4b4669e", + "c9b4cd88639c" + ] + } + }, + { + "id": "tk-project-board-load.inner-false-string-error:paste-settled", + "observation": { + "sender": ["43d044e8caea", "09d1a467c534", "dec0f3dc00c9", "43f95b0c95f8"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d", "6f73e51854d5"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "47aa692d7dc9", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "ec92d4b4669e", + "c9b4cd88639c" + ] + } + }, + { + "id": "tk-project-board-load.inner-false-object-error:paste-settled", + "observation": { + "sender": ["43d044e8caea", "09d1a467c534", "dec0f3dc00c9", "3c881dadbe0c"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d", "6f73e51854d5"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "542d281c736b", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "9fb5dff2ed3c", + "c9b4cd88639c" + ] + } + }, + { + "id": "tk-project-board-load.outer-refused:paste-settled", + "observation": { + "sender": ["43d044e8caea", "09d1a467c534", "dec0f3dc00c9", "5e0f133660e0"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d", "6f73e51854d5"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "9fa2b69acf20", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "8cc6c42c6cbc", + "c9b4cd88639c" + ] + } + }, + { + "id": "tk-project-board-load.outer-refused-no-message:paste-settled", + "observation": { + "sender": ["43d044e8caea", "09d1a467c534", "dec0f3dc00c9", "46bb2cca7c25"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d", "6f73e51854d5"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "2ab1b35ff194", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "0bad1349dcef", + "c9b4cd88639c" + ] + } + }, + { + "id": "tk-project-board-load.method-not-found:paste-settled", + "observation": { + "sender": ["43d044e8caea", "09d1a467c534", "dec0f3dc00c9", "bce0d93ba4fe"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d", "6f73e51854d5"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "933fa40d28dd", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "61559589d8d1", + "c9b4cd88639c" + ] + } + }, + { + "id": "tk-project-board-load.transport-rejection:paste-settled", + "observation": { + "sender": ["43d044e8caea", "09d1a467c534", "dec0f3dc00c9", "500bc939e9f2"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d", "6f73e51854d5"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "d76c24e12352", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "699bf714392b", + "c9b4cd88639c" + ] + } + }, + { + "id": "tk-project-board-load.transport-rejection-no-message:paste-settled", + "observation": { + "sender": ["43d044e8caea", "09d1a467c534", "dec0f3dc00c9", "34c532a971ec"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d", "6f73e51854d5"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "2ab1b35ff194", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "0bad1349dcef", + "c9b4cd88639c" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.project-board-load-github.project.viewtable-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.project-board-load-github.project.viewtable-1.json new file mode 100644 index 00000000000..b0caa1fdf7b --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.project-board-load-github.project.viewtable-1.json @@ -0,0 +1,2077 @@ +{ + "operation": "tasks.project-board-load", + "family": "tasks.project-board-load", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "c4272385ed3b0de4feab38de9e4f6363ecd6317fdd4de47f76a98eb18abaf371", + "scenarioSha256": "cf64dd43e708ff953ba2cbb2a70378aa8ab5d13ede157af7ba0967d913755b82", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "02a4a58d8dfb": { + "name": "github.project.listViews#2", + "args": [ + { + "name": "method", + "value": "github.project.listViews" + }, + { + "name": "params", + "value": { + "host": "github.com", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "ok": true, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + } + } + } + }, + "09d1a467c534": { + "name": "github.project.listViews#1", + "args": [ + { + "name": "method", + "value": "github.project.listViews" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "ok": true, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + } + } + } + }, + "0f1253424990": { + "name": "github.project.listViews#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listViews\",\"params\":{\"owner\":\"owner\",\"host\":\"github.enterprise.test\",\"ownerType\":\"organization\",\"projectNumber\":3}}" + }, + "156064e9724d": { + "name": "githubProjectPasteBusy", + "value": true, + "sent": 3 + }, + "16712ed539ad": { + "name": "githubProjectSearch", + "value": "", + "sent": 5 + }, + "1d3552e91192": { + "name": "github.project.listAccessible#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listAccessible\",\"params\":{\"host\":\"github.com\"}}" + }, + "218236a33a96": { + "name": "githubProjectError", + "value": "Unknown method", + "sent": 3 + }, + "2538fbdb9ee1": { + "error": "Cannot read properties of undefined (reading 'ok')", + "loading": false, + "pasteError": "", + "projects": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ], + "table": { + "$rpc": "null" + }, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + }, + "25b0ac550549": { + "name": "githubProjectPartialFailures", + "value": [], + "sent": 1 + }, + "2a4866c4dda3": { + "error": "outer refused", + "loading": false, + "pasteError": "", + "projects": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ], + "table": { + "$rpc": "null" + }, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + }, + "2ab1b35ff194": { + "error": "", + "loading": false, + "pasteError": "", + "projects": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ], + "table": { + "fields": [], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [], + "selectedView": { + "filter": "is:open", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + }, + "32b1426d14c0": { + "name": "githubProjectLoading", + "value": false, + "sent": 3 + }, + "376c9e8bd72a": { + "error": "", + "loading": false, + "pasteError": "", + "projects": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ], + "table": { + "$rpc": "null" + }, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + }, + "383da1c2fa1c": { + "name": "githubProjectLoading", + "value": true, + "sent": 4 + }, + "39bc2fd66e3d": { + "name": "github.project.viewTable#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.viewTable\",\"params\":{\"owner\":\"owner\",\"host\":\"github.enterprise.test\",\"ownerType\":\"organization\",\"projectNumber\":3,\"viewId\":\"view-1\"}}" + }, + "3d9ba9ad6aee": { + "name": "github.project.viewTable#1", + "args": [ + { + "name": "method", + "value": "github.project.viewTable" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3, + "viewId": "view-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-3", + "ok": false + } + } + }, + "3e904e0d43b4": { + "name": "github.project.listViews#2", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listViews\",\"params\":{\"owner\":\"owner\",\"host\":\"github.com\",\"ownerType\":\"organization\",\"projectNumber\":3}}" + }, + "4244a1d83025": { + "name": "githubProjectError", + "value": "transport failure", + "sent": 3 + }, + "42d96f8f44ae": { + "name": "githubProjectError", + "value": "", + "sent": 3 + }, + "43d044e8caea": { + "name": "github.project.listAccessible#1", + "args": [ + { + "name": "method", + "value": "github.project.listAccessible" + }, + { + "name": "params", + "value": { + "host": "github.com" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true, + "partialFailures": [], + "projects": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ] + } + } + } + }, + "47ebe03e8b7f": { + "name": "githubProjectViews", + "value": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ], + "sent": 5 + }, + "482cebdadf7a": { + "name": "github.project.viewTable#1", + "args": [ + { + "name": "method", + "value": "github.project.viewTable" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3, + "viewId": "view-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "4d6bf1149ea4": { + "name": "githubProjectError", + "value": "", + "sent": 4 + }, + "5325dcd76d4a": { + "name": "githubProjectError", + "value": "Cannot read properties of undefined (reading 'ok')", + "sent": 3 + }, + "54b9c49c04a8": { + "name": "githubProjectError", + "value": "", + "sent": 0 + }, + "56f0120745a9": { + "error": "inner refused", + "loading": false, + "pasteError": "", + "projects": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ], + "table": { + "$rpc": "null" + }, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + }, + "57acdd86193b": { + "name": "githubProjectSearch", + "value": "is:open", + "sent": 3 + }, + "5af49cca31cf": { + "name": "github.project.viewTable#1", + "args": [ + { + "name": "method", + "value": "github.project.viewTable" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3, + "viewId": "view-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "5bd0110906b9": { + "name": "githubProjectPartialFailures", + "value": [], + "sent": 0 + }, + "6212bd36ceb5": { + "name": "githubProjectError", + "value": "inner refused", + "sent": 3 + }, + "6579ec5a7d8f": { + "name": "githubProjectLoading", + "value": false, + "sent": 5 + }, + "6820b76533c9": { + "name": "githubProjectLoading", + "value": true, + "sent": 2 + }, + "6e64e24c633d": { + "name": "appliedGithubProjectSearch", + "value": { + "$rpc": "undefined" + }, + "sent": 5 + }, + "6f73e51854d5": { + "name": "github.project.resolveRef#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.resolveRef\",\"params\":{\"input\":\"https://github.com/orgs/owner/projects/3\",\"host\":\"github.com\"}}" + }, + "74f8ab788f2e": { + "error": "", + "loading": true, + "pasteError": "", + "projects": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ], + "table": { + "$rpc": "null" + }, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + }, + "767cf5b5be25": { + "name": "github.project.viewTable#1", + "args": [ + { + "name": "method", + "value": "github.project.viewTable" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3, + "viewId": "view-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-3", + "ok": false + } + } + }, + "80ceb7c32703": { + "name": "githubProjects", + "value": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ], + "sent": 1 + }, + "8ba8c7b6d28e": { + "name": "githubProjectTable", + "value": { + "$rpc": "null" + }, + "sent": 3 + }, + "900becffe437": { + "name": "showGitHubProjectPicker", + "value": false, + "sent": 4 + }, + "90792bd17eb6": { + "name": "githubProjectError", + "value": "Connection closed", + "sent": 3 + }, + "91394970ae38": { + "name": "github.project.viewTable#1", + "args": [ + { + "name": "method", + "value": "github.project.viewTable" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3, + "viewId": "view-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true + } + } + }, + "95d6f2bce698": { + "name": "github.project.viewTable#1", + "args": [ + { + "name": "method", + "value": "github.project.viewTable" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3, + "viewId": "view-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "a09d190ee4fa": { + "name": "github.project.viewTable#1", + "args": [ + { + "name": "method", + "value": "github.project.viewTable" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3, + "viewId": "view-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "b05e50b1dc22": { + "name": "githubProjectPasteBusy", + "value": false, + "sent": 5 + }, + "b2ddd7451862": { + "name": "githubProjectViews", + "value": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ], + "sent": 2 + }, + "b6255b367ac4": { + "name": "githubProjectViews", + "value": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ], + "sent": 3 + }, + "b7072d162a52": { + "name": "github.project.viewTable#1", + "args": [ + { + "name": "method", + "value": "github.project.viewTable" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3, + "viewId": "view-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "be0da5b53ffb": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + }, + "c1e5438f963e": { + "name": "github.project.resolveRef#1", + "args": [ + { + "name": "method", + "value": "github.project.resolveRef" + }, + { + "name": "params", + "value": { + "host": "github.com", + "input": "https://github.com/orgs/owner/projects/3" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "host": "github.com", + "number": 3, + "ok": true, + "owner": "owner", + "ownerType": "organization", + "title": "Board", + "viewNumber": 1 + } + } + } + }, + "c39cbca62adf": { + "name": "github.project.viewTable#1", + "args": [ + { + "name": "method", + "value": "github.project.viewTable" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3, + "viewId": "view-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Connection closed", + "isRpcDeliveryUnknown": true + } + } + }, + "c4615593811a": { + "error": "Cannot read properties of null (reading 'ok')", + "loading": false, + "pasteError": "", + "projects": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ], + "table": { + "$rpc": "null" + }, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + }, + "d3f2d124fc2a": { + "name": "githubProjectError", + "value": "Cannot read properties of null (reading 'ok')", + "sent": 3 + }, + "ddc3cac1e389": { + "name": "githubProjectTable", + "value": { + "$rpc": "null" + }, + "sent": 5 + }, + "de19f9b2e75a": { + "error": "transport failure", + "loading": false, + "pasteError": "", + "projects": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ], + "table": { + "$rpc": "null" + }, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + }, + "dec0f3dc00c9": { + "name": "github.project.viewTable#1", + "args": [ + { + "name": "method", + "value": "github.project.viewTable" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3, + "viewId": "view-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "data": { + "fields": [], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [], + "selectedView": { + "filter": "is:open", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "ok": true + } + } + } + }, + "e59d16f6cde5": { + "name": "githubProjectPasteError", + "value": "", + "sent": 3 + }, + "e8b0899e8eb2": { + "name": "githubProjectPasteInput", + "value": "", + "sent": 4 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ebf1d6b98d33": { + "name": "githubProjectTable", + "value": { + "fields": [], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [], + "selectedView": { + "filter": "is:open", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "sent": 3 + }, + "ebfd636aa78d": { + "name": "github.project.viewTable#1", + "args": [ + { + "name": "method", + "value": "github.project.viewTable" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3, + "viewId": "view-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-3", + "ok": false + } + } + }, + "f3e4bb3c6cb0": { + "name": "githubProjectError", + "value": "", + "sent": 2 + }, + "f59e95d163d7": { + "name": "githubProjectError", + "value": "outer refused", + "sent": 3 + }, + "fab4d5ff43b8": { + "name": "github.project.viewTable#1", + "args": [ + { + "name": "method", + "value": "github.project.viewTable" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3, + "viewId": "view-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "fd9fcbd54752": { + "error": "Unknown method", + "loading": false, + "pasteError": "", + "projects": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ], + "table": { + "$rpc": "null" + }, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + }, + "ff43b5ec92a9": { + "error": "", + "loading": false, + "pasteError": "", + "projects": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ], + "table": { + "$rpc": "null" + }, + "views": [] + } + }, + "recording": { + "scenario": "matrix-tasks.project-board-load-github.project.viewtable-1", + "checkpoints": [ + { + "id": "tk-project-board-load.prelude:projects-settled", + "observation": { + "sender": ["43d044e8caea"], + "payloads": ["1d3552e91192"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a" + }, + "state": "ff43b5ec92a9", + "effects": ["54b9c49c04a8", "5bd0110906b9", "80ceb7c32703", "25b0ac550549"] + } + }, + { + "id": "tk-project-board-load.prelude:views-settled", + "observation": { + "sender": ["43d044e8caea", "09d1a467c534"], + "payloads": ["1d3552e91192", "0f1253424990"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb" + }, + "state": "376c9e8bd72a", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862" + ] + } + }, + { + "id": "tk-project-board-load.prelude:cleanup", + "observation": { + "sender": ["43d044e8caea", "09d1a467c534", "c39cbca62adf"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a" + }, + "state": "74f8ab788f2e", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "8ba8c7b6d28e", + "90792bd17eb6", + "32b1426d14c0" + ] + } + }, + { + "id": "tk-project-board-load.normal:table-settled", + "observation": { + "sender": ["43d044e8caea", "09d1a467c534", "dec0f3dc00c9"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a" + }, + "state": "2ab1b35ff194", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0" + ] + } + }, + { + "id": "tk-project-board-load.normal:paste-settled", + "observation": { + "sender": [ + "43d044e8caea", + "09d1a467c534", + "dec0f3dc00c9", + "c1e5438f963e", + "02a4a58d8dfb" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "376c9e8bd72a", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "47ebe03e8b7f", + "6e64e24c633d", + "16712ed539ad", + "ddc3cac1e389", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + }, + { + "id": "tk-project-board-load.result-absent:table-settled", + "observation": { + "sender": ["43d044e8caea", "09d1a467c534", "91394970ae38"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a" + }, + "state": "2538fbdb9ee1", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "8ba8c7b6d28e", + "5325dcd76d4a", + "32b1426d14c0" + ] + } + }, + { + "id": "tk-project-board-load.result-absent:paste-settled", + "observation": { + "sender": [ + "43d044e8caea", + "09d1a467c534", + "91394970ae38", + "c1e5438f963e", + "02a4a58d8dfb" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "376c9e8bd72a", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "8ba8c7b6d28e", + "5325dcd76d4a", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "47ebe03e8b7f", + "6e64e24c633d", + "16712ed539ad", + "ddc3cac1e389", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + }, + { + "id": "tk-project-board-load.result-null:table-settled", + "observation": { + "sender": ["43d044e8caea", "09d1a467c534", "fab4d5ff43b8"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a" + }, + "state": "c4615593811a", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "8ba8c7b6d28e", + "d3f2d124fc2a", + "32b1426d14c0" + ] + } + }, + { + "id": "tk-project-board-load.result-null:paste-settled", + "observation": { + "sender": [ + "43d044e8caea", + "09d1a467c534", + "fab4d5ff43b8", + "c1e5438f963e", + "02a4a58d8dfb" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "376c9e8bd72a", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "8ba8c7b6d28e", + "d3f2d124fc2a", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "47ebe03e8b7f", + "6e64e24c633d", + "16712ed539ad", + "ddc3cac1e389", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + }, + { + "id": "tk-project-board-load.inner-ok-missing:table-settled", + "observation": { + "sender": ["43d044e8caea", "09d1a467c534", "a09d190ee4fa"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a" + }, + "state": "376c9e8bd72a", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "8ba8c7b6d28e", + "42d96f8f44ae", + "32b1426d14c0" + ] + } + }, + { + "id": "tk-project-board-load.inner-ok-missing:paste-settled", + "observation": { + "sender": [ + "43d044e8caea", + "09d1a467c534", + "a09d190ee4fa", + "c1e5438f963e", + "02a4a58d8dfb" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "376c9e8bd72a", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "8ba8c7b6d28e", + "42d96f8f44ae", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "47ebe03e8b7f", + "6e64e24c633d", + "16712ed539ad", + "ddc3cac1e389", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + }, + { + "id": "tk-project-board-load.inner-false-string-error:table-settled", + "observation": { + "sender": ["43d044e8caea", "09d1a467c534", "b7072d162a52"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a" + }, + "state": "376c9e8bd72a", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "8ba8c7b6d28e", + "42d96f8f44ae", + "32b1426d14c0" + ] + } + }, + { + "id": "tk-project-board-load.inner-false-string-error:paste-settled", + "observation": { + "sender": [ + "43d044e8caea", + "09d1a467c534", + "b7072d162a52", + "c1e5438f963e", + "02a4a58d8dfb" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "376c9e8bd72a", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "8ba8c7b6d28e", + "42d96f8f44ae", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "47ebe03e8b7f", + "6e64e24c633d", + "16712ed539ad", + "ddc3cac1e389", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + }, + { + "id": "tk-project-board-load.inner-false-object-error:table-settled", + "observation": { + "sender": ["43d044e8caea", "09d1a467c534", "5af49cca31cf"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a" + }, + "state": "56f0120745a9", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "8ba8c7b6d28e", + "6212bd36ceb5", + "32b1426d14c0" + ] + } + }, + { + "id": "tk-project-board-load.inner-false-object-error:paste-settled", + "observation": { + "sender": [ + "43d044e8caea", + "09d1a467c534", + "5af49cca31cf", + "c1e5438f963e", + "02a4a58d8dfb" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "376c9e8bd72a", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "8ba8c7b6d28e", + "6212bd36ceb5", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "47ebe03e8b7f", + "6e64e24c633d", + "16712ed539ad", + "ddc3cac1e389", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + }, + { + "id": "tk-project-board-load.outer-refused:table-settled", + "observation": { + "sender": ["43d044e8caea", "09d1a467c534", "ebfd636aa78d"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a" + }, + "state": "2a4866c4dda3", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "8ba8c7b6d28e", + "f59e95d163d7", + "32b1426d14c0" + ] + } + }, + { + "id": "tk-project-board-load.outer-refused:paste-settled", + "observation": { + "sender": [ + "43d044e8caea", + "09d1a467c534", + "ebfd636aa78d", + "c1e5438f963e", + "02a4a58d8dfb" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "376c9e8bd72a", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "8ba8c7b6d28e", + "f59e95d163d7", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "47ebe03e8b7f", + "6e64e24c633d", + "16712ed539ad", + "ddc3cac1e389", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + }, + { + "id": "tk-project-board-load.outer-refused-no-message:table-settled", + "observation": { + "sender": ["43d044e8caea", "09d1a467c534", "767cf5b5be25"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a" + }, + "state": "376c9e8bd72a", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "8ba8c7b6d28e", + "42d96f8f44ae", + "32b1426d14c0" + ] + } + }, + { + "id": "tk-project-board-load.outer-refused-no-message:paste-settled", + "observation": { + "sender": [ + "43d044e8caea", + "09d1a467c534", + "767cf5b5be25", + "c1e5438f963e", + "02a4a58d8dfb" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "376c9e8bd72a", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "8ba8c7b6d28e", + "42d96f8f44ae", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "47ebe03e8b7f", + "6e64e24c633d", + "16712ed539ad", + "ddc3cac1e389", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + }, + { + "id": "tk-project-board-load.method-not-found:table-settled", + "observation": { + "sender": ["43d044e8caea", "09d1a467c534", "3d9ba9ad6aee"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a" + }, + "state": "fd9fcbd54752", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "8ba8c7b6d28e", + "218236a33a96", + "32b1426d14c0" + ] + } + }, + { + "id": "tk-project-board-load.method-not-found:paste-settled", + "observation": { + "sender": [ + "43d044e8caea", + "09d1a467c534", + "3d9ba9ad6aee", + "c1e5438f963e", + "02a4a58d8dfb" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "376c9e8bd72a", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "8ba8c7b6d28e", + "218236a33a96", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "47ebe03e8b7f", + "6e64e24c633d", + "16712ed539ad", + "ddc3cac1e389", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + }, + { + "id": "tk-project-board-load.transport-rejection:table-settled", + "observation": { + "sender": ["43d044e8caea", "09d1a467c534", "95d6f2bce698"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a" + }, + "state": "de19f9b2e75a", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "8ba8c7b6d28e", + "4244a1d83025", + "32b1426d14c0" + ] + } + }, + { + "id": "tk-project-board-load.transport-rejection:paste-settled", + "observation": { + "sender": [ + "43d044e8caea", + "09d1a467c534", + "95d6f2bce698", + "c1e5438f963e", + "02a4a58d8dfb" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "376c9e8bd72a", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "8ba8c7b6d28e", + "4244a1d83025", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "47ebe03e8b7f", + "6e64e24c633d", + "16712ed539ad", + "ddc3cac1e389", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + }, + { + "id": "tk-project-board-load.transport-rejection-no-message:table-settled", + "observation": { + "sender": ["43d044e8caea", "09d1a467c534", "482cebdadf7a"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a" + }, + "state": "376c9e8bd72a", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "8ba8c7b6d28e", + "42d96f8f44ae", + "32b1426d14c0" + ] + } + }, + { + "id": "tk-project-board-load.transport-rejection-no-message:paste-settled", + "observation": { + "sender": [ + "43d044e8caea", + "09d1a467c534", + "482cebdadf7a", + "c1e5438f963e", + "02a4a58d8dfb" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "376c9e8bd72a", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "8ba8c7b6d28e", + "42d96f8f44ae", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "47ebe03e8b7f", + "6e64e24c633d", + "16712ed539ad", + "ddc3cac1e389", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.project-repo-slugs-github.reposlug-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.project-repo-slugs-github.reposlug-1.json new file mode 100644 index 00000000000..b2bc2c16efc --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.project-repo-slugs-github.reposlug-1.json @@ -0,0 +1,699 @@ +{ + "operation": "tasks.project-repo-slugs", + "family": "tasks.project-repo-slugs", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "c4272385ed3b0de4feab38de9e4f6363ecd6317fdd4de47f76a98eb18abaf371", + "scenarioSha256": "667a06cf9ff8129eee64327566012448abe1fe31f58c0d9b882b13e74db5a877", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "00546d51a1b2": { + "name": "github.repoSlug#1", + "args": [ + { + "name": "method", + "value": "github.repoSlug" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "067e0f525ca4": { + "name": "githubRepoSlugCache", + "value": { + "repo-1": { + "path": "/repo", + "repository": { + "$rpc": "undefined" + } + } + }, + "sent": 1 + }, + "0caf56550963": { + "cache": { + "repo-1": { + "path": "/repo", + "repository": { + "error": "refused" + } + } + } + }, + "1b6c8cbfdc90": { + "cache": { + "repo-1": { + "failed": true, + "path": "/repo", + "repository": { + "$rpc": "null" + } + } + } + }, + "204880c5c7ff": { + "name": "githubRepoSlugCache", + "value": { + "repo-1": { + "path": "/repo", + "repository": { + "error": "inner refused", + "ok": false + } + } + }, + "sent": 1 + }, + "436770d5f8a8": { + "name": "github.repoSlug#1", + "args": [ + { + "name": "method", + "value": "github.repoSlug" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "4cfa99d7eefa": { + "cache": { + "repo-1": { + "path": "/repo", + "repository": { + "$rpc": "undefined" + } + } + } + }, + "5330ec46fa7e": { + "name": "github.repoSlug#1", + "args": [ + { + "name": "method", + "value": "github.repoSlug" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "host": "github.com", + "owner": "owner", + "repo": "repo" + } + } + } + }, + "6530ef4dbd15": { + "name": "github.repoSlug#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.repoSlug\",\"params\":{\"repo\":\"id:repo-1\"}}" + }, + "687b5a42463c": { + "name": "github.repoSlug#1", + "args": [ + { + "name": "method", + "value": "github.repoSlug" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "6eacf14fe40e": { + "name": "github.repoSlug#1", + "args": [ + { + "name": "method", + "value": "github.repoSlug" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "7686fc340030": { + "name": "githubRepoSlugCache", + "value": { + "repo-1": { + "path": "/repo", + "repository": { + "$rpc": "null" + } + } + }, + "sent": 1 + }, + "76be317ac0fc": { + "name": "githubRepoSlugCache", + "value": { + "repo-1": { + "failed": true, + "path": "/repo", + "repository": { + "$rpc": "null" + } + } + }, + "sent": 1 + }, + "788ba90c1898": { + "name": "githubRepoSlugCache", + "value": { + "repo-1": { + "path": "/repo", + "repository": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + }, + "sent": 1 + }, + "7de03629a406": { + "name": "github.repoSlug#1", + "args": [ + { + "name": "method", + "value": "github.repoSlug" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "8a9b6f06911d": { + "cache": { + "repo-1": { + "path": "/repo", + "repository": { + "error": "inner refused", + "ok": false + } + } + } + }, + "96fe094f2ea3": { + "name": "github.repoSlug#1", + "args": [ + { + "name": "method", + "value": "github.repoSlug" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-1", + "ok": false + } + } + }, + "a357afc033aa": { + "name": "githubRepoSlugCache", + "value": { + "repo-1": { + "path": "/repo", + "repository": { + "host": "github.com", + "owner": "owner", + "repo": "repo" + } + } + }, + "sent": 1 + }, + "a4483defdd13": { + "cache": { + "repo-1": { + "path": "/repo", + "repository": { + "$rpc": "null" + } + } + } + }, + "a6d3481c0eea": { + "name": "github.repoSlug#1", + "args": [ + { + "name": "method", + "value": "github.repoSlug" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "bdec8bbb3c04": { + "cache": { + "repo-1": { + "path": "/repo", + "repository": { + "host": "github.com", + "owner": "owner", + "repo": "repo" + } + } + } + }, + "dc2fd792171e": { + "name": "github.repoSlug#1", + "args": [ + { + "name": "method", + "value": "github.repoSlug" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "e933226b8b59": { + "name": "github.repoSlug#1", + "args": [ + { + "name": "method", + "value": "github.repoSlug" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "efa8d7457ce2": { + "name": "githubRepoSlugCache", + "value": { + "repo-1": { + "path": "/repo", + "repository": { + "error": "refused" + } + } + }, + "sent": 1 + }, + "ffa0fb99ddcc": { + "cache": { + "repo-1": { + "path": "/repo", + "repository": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "ffd83cd58474": { + "name": "github.repoSlug#1", + "args": [ + { + "name": "method", + "value": "github.repoSlug" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + } + }, + "recording": { + "scenario": "matrix-tasks.project-repo-slugs-github.reposlug-1", + "checkpoints": [ + { + "id": "tk-project-repo-slugs.normal:mounted", + "observation": { + "sender": ["5330ec46fa7e"], + "payloads": ["6530ef4dbd15"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "bdec8bbb3c04", + "effects": ["a357afc033aa"] + } + }, + { + "id": "tk-project-repo-slugs.result-absent:mounted", + "observation": { + "sender": ["e933226b8b59"], + "payloads": ["6530ef4dbd15"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "4cfa99d7eefa", + "effects": ["067e0f525ca4"] + } + }, + { + "id": "tk-project-repo-slugs.result-null:mounted", + "observation": { + "sender": ["6eacf14fe40e"], + "payloads": ["6530ef4dbd15"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "a4483defdd13", + "effects": ["7686fc340030"] + } + }, + { + "id": "tk-project-repo-slugs.inner-ok-missing:mounted", + "observation": { + "sender": ["ffd83cd58474"], + "payloads": ["6530ef4dbd15"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "0caf56550963", + "effects": ["efa8d7457ce2"] + } + }, + { + "id": "tk-project-repo-slugs.inner-false-string-error:mounted", + "observation": { + "sender": ["a6d3481c0eea"], + "payloads": ["6530ef4dbd15"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "8a9b6f06911d", + "effects": ["204880c5c7ff"] + } + }, + { + "id": "tk-project-repo-slugs.inner-false-object-error:mounted", + "observation": { + "sender": ["00546d51a1b2"], + "payloads": ["6530ef4dbd15"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "ffa0fb99ddcc", + "effects": ["788ba90c1898"] + } + }, + { + "id": "tk-project-repo-slugs.outer-refused:mounted", + "observation": { + "sender": ["dc2fd792171e"], + "payloads": ["6530ef4dbd15"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "1b6c8cbfdc90", + "effects": ["76be317ac0fc"] + } + }, + { + "id": "tk-project-repo-slugs.outer-refused-no-message:mounted", + "observation": { + "sender": ["436770d5f8a8"], + "payloads": ["6530ef4dbd15"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "1b6c8cbfdc90", + "effects": ["76be317ac0fc"] + } + }, + { + "id": "tk-project-repo-slugs.method-not-found:mounted", + "observation": { + "sender": ["96fe094f2ea3"], + "payloads": ["6530ef4dbd15"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "1b6c8cbfdc90", + "effects": ["76be317ac0fc"] + } + }, + { + "id": "tk-project-repo-slugs.transport-rejection:mounted", + "observation": { + "sender": ["7de03629a406"], + "payloads": ["6530ef4dbd15"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "1b6c8cbfdc90", + "effects": ["76be317ac0fc"] + } + }, + { + "id": "tk-project-repo-slugs.transport-rejection-no-message:mounted", + "observation": { + "sender": ["687b5a42463c"], + "payloads": ["6530ef4dbd15"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "1b6c8cbfdc90", + "effects": ["76be317ac0fc"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-comments-issue-github.project.addissuecommentbyslug-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-comments-issue-github.project.addissuecommentbyslug-1.json new file mode 100644 index 00000000000..c8adf2ec070 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-comments-issue-github.project.addissuecommentbyslug-1.json @@ -0,0 +1,2301 @@ +{ + "operation": "tasks.project-row-comments-issue", + "family": "tasks.project-row-comments-issue", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "55058202df36c8b951510215936e496ea88d3d71a6690090a13c52deb13e34e1", + "scenarioSha256": "9fd4756c2224f3ecbc9ffc82e1ee11615a9e057e600bc56ccaf5c5e2c0e411d8", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "02839f22d2db": { + "name": "projectMutating", + "value": false, + "sent": 1 + }, + "04cdd10ad87d": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "Cannot read properties of undefined (reading 'ok')", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "title": "Renamed", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + } + }, + "058dd618a0c9": { + "name": "projectRowDetailError", + "value": "Failed to add comment", + "sent": 2 + }, + "0646472479ae": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "transport failure", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "title": "Renamed", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + } + }, + "0ce8caa0cc82": { + "name": "github.project.addIssueCommentBySlug#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.addIssueCommentBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\",\"number\":1,\"body\":\"a project comment\"}}" + }, + "0d3abde11044": { + "name": "projectRowDetailError", + "value": "Connection closed", + "sent": 2 + }, + "0f3697bbd111": { + "name": "projectMutating", + "value": true, + "sent": 2 + }, + "144eca616682": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "Failed to add comment", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "title": "Renamed", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + } + }, + "16637fd57f65": { + "name": "github.project.updateIssueCommentBySlug#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.updateIssueCommentBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\",\"commentId\":501,\"body\":\"an edited comment\"}}" + }, + "3d626a8131b4": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "an edited comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 3 + }, + "41b07d08a3e2": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "outer refused", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "title": "Renamed", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + } + }, + "466f8db9d238": { + "name": "projectRowDetailError", + "value": "outer refused", + "sent": 2 + }, + "46b4c26d709a": { + "name": "projectRowDetailError", + "value": "Unknown method", + "sent": 2 + }, + "4b9c688ebd34": { + "name": "projectEditingCommentDraft", + "value": "", + "sent": 3 + }, + "4f1e1382f08b": { + "name": "github.project.addIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.addIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "body": "a project comment", + "host": "github.enterprise.test", + "number": 1, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "5198e17de9b3": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a project comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 906 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "title": "Renamed", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + } + }, + "527330ed2103": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "an edited comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a project comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 906 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "title": "Renamed", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + } + }, + "5278d0def4dc": { + "name": "projectRowDetailError", + "value": "Cannot read properties of null (reading 'ok')", + "sent": 2 + }, + "585e4c6b6fac": { + "name": "github.project.addIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.addIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "body": "a project comment", + "host": "github.enterprise.test", + "number": 1, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "5da29084db11": { + "name": "github.project.addIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.addIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "body": "a project comment", + "host": "github.enterprise.test", + "number": 1, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "6732613ec527": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "inner refused", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "title": "Renamed", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + } + }, + "674a78fb6dfb": { + "name": "projectRowDetailError", + "value": "transport failure", + "sent": 2 + }, + "6b62a21f3537": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "Cannot read properties of null (reading 'ok')", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "title": "Renamed", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + } + }, + "6ef3aff4fc24": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "Unknown method", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "title": "Renamed", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + } + }, + "6f4f9198e5ff": { + "name": "projectMutating", + "value": false, + "sent": 2 + }, + "73c3051352c2": { + "name": "projectMutating", + "value": false, + "sent": 3 + }, + "7b2465eedefe": { + "name": "projectMutating", + "value": true, + "sent": 0 + }, + "7b395b440507": { + "name": "github.project.addIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.addIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "body": "a project comment", + "host": "github.enterprise.test", + "number": 1, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "8a1d11133692": { + "name": "projectRowDetailError", + "value": "", + "sent": 2 + }, + "8f5c8979ff80": { + "name": "github.project.updateIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "body": "an edited comment", + "commentId": 501, + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "904c7fb9b8eb": { + "name": "github.project.addIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.addIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "body": "a project comment", + "host": "github.enterprise.test", + "number": 1, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "909e5a140366": { + "name": "github.project.addIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.addIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "body": "a project comment", + "host": "github.enterprise.test", + "number": 1, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "comment": { + "author": "You", + "body": "a project comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 906 + }, + "ok": true + } + } + } + }, + "9188c83ef653": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "title": "Renamed", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + } + }, + "9340829c00ac": { + "name": "github.project.updateIssueBySlug#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.updateIssueBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\",\"number\":1,\"updates\":{\"title\":\"Renamed\"}}}" + }, + "9698ad92ebc9": { + "name": "projectCommentDraft", + "value": "", + "sent": 2 + }, + "99357cb70ec5": { + "name": "github.project.addIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.addIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "body": "a project comment", + "host": "github.enterprise.test", + "number": 1, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "9c53830b0865": { + "name": "github.project.addIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.addIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "body": "a project comment", + "host": "github.enterprise.test", + "number": 1, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "a26efea23f6c": { + "name": "projectEditingCommentId", + "value": { + "$rpc": "null" + }, + "sent": 3 + }, + "a3c003fbf907": { + "name": "github.project.updateIssueBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "number": 1, + "owner": "owner", + "repo": "repo", + "updates": { + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "a919a9358d84": { + "name": "github.project.addIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.addIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "body": "a project comment", + "host": "github.enterprise.test", + "number": 1, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Connection closed", + "isRpcDeliveryUnknown": true + } + } + }, + "b1384e55e8cf": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a project comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 906 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 2 + }, + "ca900f5bc97e": { + "name": "github.project.addIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.addIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "body": "a project comment", + "host": "github.enterprise.test", + "number": 1, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "d1bb762720d5": { + "name": "projectMutating", + "value": true, + "sent": 1 + }, + "d2f88225ac22": { + "name": "github.project.addIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.addIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "body": "a project comment", + "host": "github.enterprise.test", + "number": 1, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "d4cb8b6bfc20": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "an edited comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "title": "Renamed", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + } + }, + "e3226dc257b6": { + "name": "githubProjectTable", + "value": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "name": "Status", + "options": [] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "title": "Renamed", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "sent": 1 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ec5c4f3719fc": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": true, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "title": "Renamed", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + } + }, + "ee587f93f5f1": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "an edited comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a project comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 906 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 3 + }, + "f5260513deed": { + "name": "projectRowItem", + "value": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "title": "Renamed", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + "sent": 1 + }, + "fe748dc95970": { + "name": "projectRowDetailError", + "value": "inner refused", + "sent": 2 + }, + "fed93fa7addb": { + "name": "projectRowDetailError", + "value": "Cannot read properties of undefined (reading 'ok')", + "sent": 2 + }, + "ffca882b5ac7": { + "name": "github.project.addIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.addIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "body": "a project comment", + "host": "github.enterprise.test", + "number": 1, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + } + }, + "recording": { + "scenario": "matrix-tasks.project-row-comments-issue-github.project.addissuecommentbyslug-1", + "checkpoints": [ + { + "id": "tk-project-row-comments-issue.prelude:update-item-settled", + "observation": { + "sender": ["a3c003fbf907"], + "payloads": ["9340829c00ac"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a" + }, + "state": "9188c83ef653", + "effects": ["7b2465eedefe", "f5260513deed", "e3226dc257b6", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-comments-issue.prelude:cleanup", + "observation": { + "sender": ["a3c003fbf907", "a919a9358d84"], + "payloads": ["9340829c00ac", "0ce8caa0cc82"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a" + }, + "state": "ec5c4f3719fc", + "effects": [ + "7b2465eedefe", + "f5260513deed", + "e3226dc257b6", + "02839f22d2db", + "d1bb762720d5", + "0d3abde11044", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-comments-issue.normal:add-comment-settled", + "observation": { + "sender": ["a3c003fbf907", "909e5a140366"], + "payloads": ["9340829c00ac", "0ce8caa0cc82"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a" + }, + "state": "5198e17de9b3", + "effects": [ + "7b2465eedefe", + "f5260513deed", + "e3226dc257b6", + "02839f22d2db", + "d1bb762720d5", + "9698ad92ebc9", + "b1384e55e8cf", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-comments-issue.normal:update-comment-settled", + "observation": { + "sender": ["a3c003fbf907", "909e5a140366", "8f5c8979ff80"], + "payloads": ["9340829c00ac", "0ce8caa0cc82", "16637fd57f65"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a", + "update-comment-2": "eb79a9b3682a" + }, + "state": "527330ed2103", + "effects": [ + "7b2465eedefe", + "f5260513deed", + "e3226dc257b6", + "02839f22d2db", + "d1bb762720d5", + "9698ad92ebc9", + "b1384e55e8cf", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "ee587f93f5f1", + "a26efea23f6c", + "4b9c688ebd34", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-comments-issue.result-absent:add-comment-settled", + "observation": { + "sender": ["a3c003fbf907", "ffca882b5ac7"], + "payloads": ["9340829c00ac", "0ce8caa0cc82"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a" + }, + "state": "04cdd10ad87d", + "effects": [ + "7b2465eedefe", + "f5260513deed", + "e3226dc257b6", + "02839f22d2db", + "d1bb762720d5", + "fed93fa7addb", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-comments-issue.result-absent:update-comment-settled", + "observation": { + "sender": ["a3c003fbf907", "ffca882b5ac7", "8f5c8979ff80"], + "payloads": ["9340829c00ac", "0ce8caa0cc82", "16637fd57f65"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a", + "update-comment-2": "eb79a9b3682a" + }, + "state": "d4cb8b6bfc20", + "effects": [ + "7b2465eedefe", + "f5260513deed", + "e3226dc257b6", + "02839f22d2db", + "d1bb762720d5", + "fed93fa7addb", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "3d626a8131b4", + "a26efea23f6c", + "4b9c688ebd34", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-comments-issue.result-null:add-comment-settled", + "observation": { + "sender": ["a3c003fbf907", "904c7fb9b8eb"], + "payloads": ["9340829c00ac", "0ce8caa0cc82"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a" + }, + "state": "6b62a21f3537", + "effects": [ + "7b2465eedefe", + "f5260513deed", + "e3226dc257b6", + "02839f22d2db", + "d1bb762720d5", + "5278d0def4dc", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-comments-issue.result-null:update-comment-settled", + "observation": { + "sender": ["a3c003fbf907", "904c7fb9b8eb", "8f5c8979ff80"], + "payloads": ["9340829c00ac", "0ce8caa0cc82", "16637fd57f65"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a", + "update-comment-2": "eb79a9b3682a" + }, + "state": "d4cb8b6bfc20", + "effects": [ + "7b2465eedefe", + "f5260513deed", + "e3226dc257b6", + "02839f22d2db", + "d1bb762720d5", + "5278d0def4dc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "3d626a8131b4", + "a26efea23f6c", + "4b9c688ebd34", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-comments-issue.inner-ok-missing:add-comment-settled", + "observation": { + "sender": ["a3c003fbf907", "99357cb70ec5"], + "payloads": ["9340829c00ac", "0ce8caa0cc82"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a" + }, + "state": "144eca616682", + "effects": [ + "7b2465eedefe", + "f5260513deed", + "e3226dc257b6", + "02839f22d2db", + "d1bb762720d5", + "058dd618a0c9", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-comments-issue.inner-ok-missing:update-comment-settled", + "observation": { + "sender": ["a3c003fbf907", "99357cb70ec5", "8f5c8979ff80"], + "payloads": ["9340829c00ac", "0ce8caa0cc82", "16637fd57f65"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a", + "update-comment-2": "eb79a9b3682a" + }, + "state": "d4cb8b6bfc20", + "effects": [ + "7b2465eedefe", + "f5260513deed", + "e3226dc257b6", + "02839f22d2db", + "d1bb762720d5", + "058dd618a0c9", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "3d626a8131b4", + "a26efea23f6c", + "4b9c688ebd34", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-comments-issue.inner-false-string-error:add-comment-settled", + "observation": { + "sender": ["a3c003fbf907", "5da29084db11"], + "payloads": ["9340829c00ac", "0ce8caa0cc82"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a" + }, + "state": "144eca616682", + "effects": [ + "7b2465eedefe", + "f5260513deed", + "e3226dc257b6", + "02839f22d2db", + "d1bb762720d5", + "058dd618a0c9", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-comments-issue.inner-false-string-error:update-comment-settled", + "observation": { + "sender": ["a3c003fbf907", "5da29084db11", "8f5c8979ff80"], + "payloads": ["9340829c00ac", "0ce8caa0cc82", "16637fd57f65"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a", + "update-comment-2": "eb79a9b3682a" + }, + "state": "d4cb8b6bfc20", + "effects": [ + "7b2465eedefe", + "f5260513deed", + "e3226dc257b6", + "02839f22d2db", + "d1bb762720d5", + "058dd618a0c9", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "3d626a8131b4", + "a26efea23f6c", + "4b9c688ebd34", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-comments-issue.inner-false-object-error:add-comment-settled", + "observation": { + "sender": ["a3c003fbf907", "ca900f5bc97e"], + "payloads": ["9340829c00ac", "0ce8caa0cc82"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a" + }, + "state": "6732613ec527", + "effects": [ + "7b2465eedefe", + "f5260513deed", + "e3226dc257b6", + "02839f22d2db", + "d1bb762720d5", + "fe748dc95970", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-comments-issue.inner-false-object-error:update-comment-settled", + "observation": { + "sender": ["a3c003fbf907", "ca900f5bc97e", "8f5c8979ff80"], + "payloads": ["9340829c00ac", "0ce8caa0cc82", "16637fd57f65"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a", + "update-comment-2": "eb79a9b3682a" + }, + "state": "d4cb8b6bfc20", + "effects": [ + "7b2465eedefe", + "f5260513deed", + "e3226dc257b6", + "02839f22d2db", + "d1bb762720d5", + "fe748dc95970", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "3d626a8131b4", + "a26efea23f6c", + "4b9c688ebd34", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-comments-issue.outer-refused:add-comment-settled", + "observation": { + "sender": ["a3c003fbf907", "9c53830b0865"], + "payloads": ["9340829c00ac", "0ce8caa0cc82"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a" + }, + "state": "41b07d08a3e2", + "effects": [ + "7b2465eedefe", + "f5260513deed", + "e3226dc257b6", + "02839f22d2db", + "d1bb762720d5", + "466f8db9d238", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-comments-issue.outer-refused:update-comment-settled", + "observation": { + "sender": ["a3c003fbf907", "9c53830b0865", "8f5c8979ff80"], + "payloads": ["9340829c00ac", "0ce8caa0cc82", "16637fd57f65"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a", + "update-comment-2": "eb79a9b3682a" + }, + "state": "d4cb8b6bfc20", + "effects": [ + "7b2465eedefe", + "f5260513deed", + "e3226dc257b6", + "02839f22d2db", + "d1bb762720d5", + "466f8db9d238", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "3d626a8131b4", + "a26efea23f6c", + "4b9c688ebd34", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-comments-issue.outer-refused-no-message:add-comment-settled", + "observation": { + "sender": ["a3c003fbf907", "585e4c6b6fac"], + "payloads": ["9340829c00ac", "0ce8caa0cc82"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a" + }, + "state": "9188c83ef653", + "effects": [ + "7b2465eedefe", + "f5260513deed", + "e3226dc257b6", + "02839f22d2db", + "d1bb762720d5", + "8a1d11133692", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-comments-issue.outer-refused-no-message:update-comment-settled", + "observation": { + "sender": ["a3c003fbf907", "585e4c6b6fac", "8f5c8979ff80"], + "payloads": ["9340829c00ac", "0ce8caa0cc82", "16637fd57f65"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a", + "update-comment-2": "eb79a9b3682a" + }, + "state": "d4cb8b6bfc20", + "effects": [ + "7b2465eedefe", + "f5260513deed", + "e3226dc257b6", + "02839f22d2db", + "d1bb762720d5", + "8a1d11133692", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "3d626a8131b4", + "a26efea23f6c", + "4b9c688ebd34", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-comments-issue.method-not-found:add-comment-settled", + "observation": { + "sender": ["a3c003fbf907", "7b395b440507"], + "payloads": ["9340829c00ac", "0ce8caa0cc82"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a" + }, + "state": "6ef3aff4fc24", + "effects": [ + "7b2465eedefe", + "f5260513deed", + "e3226dc257b6", + "02839f22d2db", + "d1bb762720d5", + "46b4c26d709a", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-comments-issue.method-not-found:update-comment-settled", + "observation": { + "sender": ["a3c003fbf907", "7b395b440507", "8f5c8979ff80"], + "payloads": ["9340829c00ac", "0ce8caa0cc82", "16637fd57f65"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a", + "update-comment-2": "eb79a9b3682a" + }, + "state": "d4cb8b6bfc20", + "effects": [ + "7b2465eedefe", + "f5260513deed", + "e3226dc257b6", + "02839f22d2db", + "d1bb762720d5", + "46b4c26d709a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "3d626a8131b4", + "a26efea23f6c", + "4b9c688ebd34", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-comments-issue.transport-rejection:add-comment-settled", + "observation": { + "sender": ["a3c003fbf907", "d2f88225ac22"], + "payloads": ["9340829c00ac", "0ce8caa0cc82"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a" + }, + "state": "0646472479ae", + "effects": [ + "7b2465eedefe", + "f5260513deed", + "e3226dc257b6", + "02839f22d2db", + "d1bb762720d5", + "674a78fb6dfb", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-comments-issue.transport-rejection:update-comment-settled", + "observation": { + "sender": ["a3c003fbf907", "d2f88225ac22", "8f5c8979ff80"], + "payloads": ["9340829c00ac", "0ce8caa0cc82", "16637fd57f65"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a", + "update-comment-2": "eb79a9b3682a" + }, + "state": "d4cb8b6bfc20", + "effects": [ + "7b2465eedefe", + "f5260513deed", + "e3226dc257b6", + "02839f22d2db", + "d1bb762720d5", + "674a78fb6dfb", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "3d626a8131b4", + "a26efea23f6c", + "4b9c688ebd34", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-comments-issue.transport-rejection-no-message:add-comment-settled", + "observation": { + "sender": ["a3c003fbf907", "4f1e1382f08b"], + "payloads": ["9340829c00ac", "0ce8caa0cc82"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a" + }, + "state": "9188c83ef653", + "effects": [ + "7b2465eedefe", + "f5260513deed", + "e3226dc257b6", + "02839f22d2db", + "d1bb762720d5", + "8a1d11133692", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-comments-issue.transport-rejection-no-message:update-comment-settled", + "observation": { + "sender": ["a3c003fbf907", "4f1e1382f08b", "8f5c8979ff80"], + "payloads": ["9340829c00ac", "0ce8caa0cc82", "16637fd57f65"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a", + "update-comment-2": "eb79a9b3682a" + }, + "state": "d4cb8b6bfc20", + "effects": [ + "7b2465eedefe", + "f5260513deed", + "e3226dc257b6", + "02839f22d2db", + "d1bb762720d5", + "8a1d11133692", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "3d626a8131b4", + "a26efea23f6c", + "4b9c688ebd34", + "73c3051352c2" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-comments-issue-github.project.updateissuebyslug-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-comments-issue-github.project.updateissuebyslug-1.json new file mode 100644 index 00000000000..6396299ccd0 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-comments-issue-github.project.updateissuebyslug-1.json @@ -0,0 +1,2912 @@ +{ + "operation": "tasks.project-row-comments-issue", + "family": "tasks.project-row-comments-issue", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "55058202df36c8b951510215936e496ea88d3d71a6690090a13c52deb13e34e1", + "scenarioSha256": "cfe0284f502001a57a9d18585222e5ae4b254d9bac32e0bb4080ee9363e8e019", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "02839f22d2db": { + "name": "projectMutating", + "value": false, + "sent": 1 + }, + "0ce270f34372": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a project comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 906 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "inner refused", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + } + }, + "0ce8caa0cc82": { + "name": "github.project.addIssueCommentBySlug#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.addIssueCommentBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\",\"number\":1,\"body\":\"a project comment\"}}" + }, + "0ef970845cc7": { + "name": "projectRowDetailError", + "value": "outer refused", + "sent": 1 + }, + "0f3697bbd111": { + "name": "projectMutating", + "value": true, + "sent": 2 + }, + "13824903a84a": { + "name": "github.project.updateIssueBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "number": 1, + "owner": "owner", + "repo": "repo", + "updates": { + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "140fa75b0a29": { + "name": "github.project.updateIssueBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "number": 1, + "owner": "owner", + "repo": "repo", + "updates": { + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "152580ec9e5a": { + "name": "projectRowDetailError", + "value": "Unknown method", + "sent": 1 + }, + "16637fd57f65": { + "name": "github.project.updateIssueCommentBySlug#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.updateIssueCommentBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\",\"commentId\":501,\"body\":\"an edited comment\"}}" + }, + "1c06180a60fe": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "an edited comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a project comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 906 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + } + }, + "1e1fa0e5367c": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a project comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 906 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "Failed to update GitHub item", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + } + }, + "2d926e5ab439": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "inner refused", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + } + }, + "483cdc3c1f58": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a project comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 906 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "Unknown method", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + } + }, + "4b9c688ebd34": { + "name": "projectEditingCommentDraft", + "value": "", + "sent": 3 + }, + "4c09a53c8150": { + "name": "projectRowDetailError", + "value": "Cannot read properties of undefined (reading 'ok')", + "sent": 1 + }, + "4d1ed5381bf1": { + "name": "github.project.updateIssueBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "number": 1, + "owner": "owner", + "repo": "repo", + "updates": { + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "4e8e632ab029": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "Failed to update GitHub item", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + } + }, + "5198e17de9b3": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a project comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 906 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "title": "Renamed", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + } + }, + "527330ed2103": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "an edited comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a project comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 906 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "title": "Renamed", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + } + }, + "5e7147dcfd07": { + "name": "github.project.updateIssueBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "number": 1, + "owner": "owner", + "repo": "repo", + "updates": { + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "5ed215cd45d5": { + "name": "github.project.updateIssueBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "number": 1, + "owner": "owner", + "repo": "repo", + "updates": { + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "68f35933f895": { + "name": "github.project.updateIssueBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "number": 1, + "owner": "owner", + "repo": "repo", + "updates": { + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-1", + "ok": false + } + } + }, + "6eadb971d40a": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "Unknown method", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + } + }, + "6f4f9198e5ff": { + "name": "projectMutating", + "value": false, + "sent": 2 + }, + "73c3051352c2": { + "name": "projectMutating", + "value": false, + "sent": 3 + }, + "7b2465eedefe": { + "name": "projectMutating", + "value": true, + "sent": 0 + }, + "7dbdb709990a": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a project comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 906 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "transport failure", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + } + }, + "8237b3a567bf": { + "name": "projectRowDetailError", + "value": "transport failure", + "sent": 1 + }, + "85f150b2df81": { + "name": "projectRowDetailError", + "value": "", + "sent": 1 + }, + "8a1d11133692": { + "name": "projectRowDetailError", + "value": "", + "sent": 2 + }, + "8f5c8979ff80": { + "name": "github.project.updateIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "body": "an edited comment", + "commentId": 501, + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "909e5a140366": { + "name": "github.project.addIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.addIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "body": "a project comment", + "host": "github.enterprise.test", + "number": 1, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "comment": { + "author": "You", + "body": "a project comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 906 + }, + "ok": true + } + } + } + }, + "912346988e26": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "outer refused", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + } + }, + "9188c83ef653": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "title": "Renamed", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + } + }, + "9340829c00ac": { + "name": "github.project.updateIssueBySlug#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.updateIssueBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\",\"number\":1,\"updates\":{\"title\":\"Renamed\"}}}" + }, + "9698ad92ebc9": { + "name": "projectCommentDraft", + "value": "", + "sent": 2 + }, + "9e0614dcfad6": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a project comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 906 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "Cannot read properties of undefined (reading 'ok')", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + } + }, + "a26efea23f6c": { + "name": "projectEditingCommentId", + "value": { + "$rpc": "null" + }, + "sent": 3 + }, + "a2f2a0705e06": { + "name": "github.project.updateIssueBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "number": 1, + "owner": "owner", + "repo": "repo", + "updates": { + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "a36c9349bb7d": { + "name": "github.project.updateIssueBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "number": 1, + "owner": "owner", + "repo": "repo", + "updates": { + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "a3c003fbf907": { + "name": "github.project.updateIssueBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "number": 1, + "owner": "owner", + "repo": "repo", + "updates": { + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "a7b76954b136": { + "name": "projectRowDetailError", + "value": "Cannot read properties of null (reading 'ok')", + "sent": 1 + }, + "b0b8eaa35966": { + "name": "github.project.updateIssueBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "number": 1, + "owner": "owner", + "repo": "repo", + "updates": { + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "b1384e55e8cf": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a project comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 906 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 2 + }, + "bc53376d51ab": { + "name": "github.project.updateIssueBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "number": 1, + "owner": "owner", + "repo": "repo", + "updates": { + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "d1bb762720d5": { + "name": "projectMutating", + "value": true, + "sent": 1 + }, + "d4484ddd6b14": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a project comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 906 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "Cannot read properties of null (reading 'ok')", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + } + }, + "da0f06b573ab": { + "name": "projectRowDetailError", + "value": "Failed to update GitHub item", + "sent": 1 + }, + "db89c82fef5f": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a project comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 906 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "outer refused", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + } + }, + "e26c297a9155": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "Cannot read properties of null (reading 'ok')", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + } + }, + "e3226dc257b6": { + "name": "githubProjectTable", + "value": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "name": "Status", + "options": [] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "title": "Renamed", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "sent": 1 + }, + "e477ca22990a": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + } + }, + "e9a8d758f9c7": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "transport failure", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ec46684b62db": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "Cannot read properties of undefined (reading 'ok')", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + } + }, + "ee3092e3ff92": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a project comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 906 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + } + }, + "ee587f93f5f1": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "an edited comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a project comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 906 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 3 + }, + "eff724250cc7": { + "name": "projectRowDetailError", + "value": "inner refused", + "sent": 1 + }, + "f5260513deed": { + "name": "projectRowItem", + "value": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "title": "Renamed", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + "sent": 1 + } + }, + "recording": { + "scenario": "matrix-tasks.project-row-comments-issue-github.project.updateissuebyslug-1", + "checkpoints": [ + { + "id": "tk-project-row-comments-issue.normal:update-item-settled", + "observation": { + "sender": ["a3c003fbf907"], + "payloads": ["9340829c00ac"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a" + }, + "state": "9188c83ef653", + "effects": ["7b2465eedefe", "f5260513deed", "e3226dc257b6", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-comments-issue.normal:add-comment-settled", + "observation": { + "sender": ["a3c003fbf907", "909e5a140366"], + "payloads": ["9340829c00ac", "0ce8caa0cc82"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a" + }, + "state": "5198e17de9b3", + "effects": [ + "7b2465eedefe", + "f5260513deed", + "e3226dc257b6", + "02839f22d2db", + "d1bb762720d5", + "9698ad92ebc9", + "b1384e55e8cf", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-comments-issue.normal:update-comment-settled", + "observation": { + "sender": ["a3c003fbf907", "909e5a140366", "8f5c8979ff80"], + "payloads": ["9340829c00ac", "0ce8caa0cc82", "16637fd57f65"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a", + "update-comment-2": "eb79a9b3682a" + }, + "state": "527330ed2103", + "effects": [ + "7b2465eedefe", + "f5260513deed", + "e3226dc257b6", + "02839f22d2db", + "d1bb762720d5", + "9698ad92ebc9", + "b1384e55e8cf", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "ee587f93f5f1", + "a26efea23f6c", + "4b9c688ebd34", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-comments-issue.result-absent:update-item-settled", + "observation": { + "sender": ["5ed215cd45d5"], + "payloads": ["9340829c00ac"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a" + }, + "state": "ec46684b62db", + "effects": ["7b2465eedefe", "4c09a53c8150", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-comments-issue.result-absent:add-comment-settled", + "observation": { + "sender": ["5ed215cd45d5", "909e5a140366"], + "payloads": ["9340829c00ac", "0ce8caa0cc82"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a" + }, + "state": "9e0614dcfad6", + "effects": [ + "7b2465eedefe", + "4c09a53c8150", + "02839f22d2db", + "d1bb762720d5", + "9698ad92ebc9", + "b1384e55e8cf", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-comments-issue.result-absent:update-comment-settled", + "observation": { + "sender": ["5ed215cd45d5", "909e5a140366", "8f5c8979ff80"], + "payloads": ["9340829c00ac", "0ce8caa0cc82", "16637fd57f65"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a", + "update-comment-2": "eb79a9b3682a" + }, + "state": "1c06180a60fe", + "effects": [ + "7b2465eedefe", + "4c09a53c8150", + "02839f22d2db", + "d1bb762720d5", + "9698ad92ebc9", + "b1384e55e8cf", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "ee587f93f5f1", + "a26efea23f6c", + "4b9c688ebd34", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-comments-issue.result-null:update-item-settled", + "observation": { + "sender": ["4d1ed5381bf1"], + "payloads": ["9340829c00ac"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a" + }, + "state": "e26c297a9155", + "effects": ["7b2465eedefe", "a7b76954b136", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-comments-issue.result-null:add-comment-settled", + "observation": { + "sender": ["4d1ed5381bf1", "909e5a140366"], + "payloads": ["9340829c00ac", "0ce8caa0cc82"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a" + }, + "state": "d4484ddd6b14", + "effects": [ + "7b2465eedefe", + "a7b76954b136", + "02839f22d2db", + "d1bb762720d5", + "9698ad92ebc9", + "b1384e55e8cf", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-comments-issue.result-null:update-comment-settled", + "observation": { + "sender": ["4d1ed5381bf1", "909e5a140366", "8f5c8979ff80"], + "payloads": ["9340829c00ac", "0ce8caa0cc82", "16637fd57f65"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a", + "update-comment-2": "eb79a9b3682a" + }, + "state": "1c06180a60fe", + "effects": [ + "7b2465eedefe", + "a7b76954b136", + "02839f22d2db", + "d1bb762720d5", + "9698ad92ebc9", + "b1384e55e8cf", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "ee587f93f5f1", + "a26efea23f6c", + "4b9c688ebd34", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-comments-issue.inner-ok-missing:update-item-settled", + "observation": { + "sender": ["a36c9349bb7d"], + "payloads": ["9340829c00ac"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a" + }, + "state": "9188c83ef653", + "effects": ["7b2465eedefe", "f5260513deed", "e3226dc257b6", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-comments-issue.inner-ok-missing:add-comment-settled", + "observation": { + "sender": ["a36c9349bb7d", "909e5a140366"], + "payloads": ["9340829c00ac", "0ce8caa0cc82"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a" + }, + "state": "5198e17de9b3", + "effects": [ + "7b2465eedefe", + "f5260513deed", + "e3226dc257b6", + "02839f22d2db", + "d1bb762720d5", + "9698ad92ebc9", + "b1384e55e8cf", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-comments-issue.inner-ok-missing:update-comment-settled", + "observation": { + "sender": ["a36c9349bb7d", "909e5a140366", "8f5c8979ff80"], + "payloads": ["9340829c00ac", "0ce8caa0cc82", "16637fd57f65"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a", + "update-comment-2": "eb79a9b3682a" + }, + "state": "527330ed2103", + "effects": [ + "7b2465eedefe", + "f5260513deed", + "e3226dc257b6", + "02839f22d2db", + "d1bb762720d5", + "9698ad92ebc9", + "b1384e55e8cf", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "ee587f93f5f1", + "a26efea23f6c", + "4b9c688ebd34", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-comments-issue.inner-false-string-error:update-item-settled", + "observation": { + "sender": ["a2f2a0705e06"], + "payloads": ["9340829c00ac"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a" + }, + "state": "4e8e632ab029", + "effects": ["7b2465eedefe", "da0f06b573ab", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-comments-issue.inner-false-string-error:add-comment-settled", + "observation": { + "sender": ["a2f2a0705e06", "909e5a140366"], + "payloads": ["9340829c00ac", "0ce8caa0cc82"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a" + }, + "state": "1e1fa0e5367c", + "effects": [ + "7b2465eedefe", + "da0f06b573ab", + "02839f22d2db", + "d1bb762720d5", + "9698ad92ebc9", + "b1384e55e8cf", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-comments-issue.inner-false-string-error:update-comment-settled", + "observation": { + "sender": ["a2f2a0705e06", "909e5a140366", "8f5c8979ff80"], + "payloads": ["9340829c00ac", "0ce8caa0cc82", "16637fd57f65"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a", + "update-comment-2": "eb79a9b3682a" + }, + "state": "1c06180a60fe", + "effects": [ + "7b2465eedefe", + "da0f06b573ab", + "02839f22d2db", + "d1bb762720d5", + "9698ad92ebc9", + "b1384e55e8cf", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "ee587f93f5f1", + "a26efea23f6c", + "4b9c688ebd34", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-comments-issue.inner-false-object-error:update-item-settled", + "observation": { + "sender": ["5e7147dcfd07"], + "payloads": ["9340829c00ac"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a" + }, + "state": "2d926e5ab439", + "effects": ["7b2465eedefe", "eff724250cc7", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-comments-issue.inner-false-object-error:add-comment-settled", + "observation": { + "sender": ["5e7147dcfd07", "909e5a140366"], + "payloads": ["9340829c00ac", "0ce8caa0cc82"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a" + }, + "state": "0ce270f34372", + "effects": [ + "7b2465eedefe", + "eff724250cc7", + "02839f22d2db", + "d1bb762720d5", + "9698ad92ebc9", + "b1384e55e8cf", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-comments-issue.inner-false-object-error:update-comment-settled", + "observation": { + "sender": ["5e7147dcfd07", "909e5a140366", "8f5c8979ff80"], + "payloads": ["9340829c00ac", "0ce8caa0cc82", "16637fd57f65"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a", + "update-comment-2": "eb79a9b3682a" + }, + "state": "1c06180a60fe", + "effects": [ + "7b2465eedefe", + "eff724250cc7", + "02839f22d2db", + "d1bb762720d5", + "9698ad92ebc9", + "b1384e55e8cf", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "ee587f93f5f1", + "a26efea23f6c", + "4b9c688ebd34", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-comments-issue.outer-refused:update-item-settled", + "observation": { + "sender": ["bc53376d51ab"], + "payloads": ["9340829c00ac"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a" + }, + "state": "912346988e26", + "effects": ["7b2465eedefe", "0ef970845cc7", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-comments-issue.outer-refused:add-comment-settled", + "observation": { + "sender": ["bc53376d51ab", "909e5a140366"], + "payloads": ["9340829c00ac", "0ce8caa0cc82"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a" + }, + "state": "db89c82fef5f", + "effects": [ + "7b2465eedefe", + "0ef970845cc7", + "02839f22d2db", + "d1bb762720d5", + "9698ad92ebc9", + "b1384e55e8cf", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-comments-issue.outer-refused:update-comment-settled", + "observation": { + "sender": ["bc53376d51ab", "909e5a140366", "8f5c8979ff80"], + "payloads": ["9340829c00ac", "0ce8caa0cc82", "16637fd57f65"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a", + "update-comment-2": "eb79a9b3682a" + }, + "state": "1c06180a60fe", + "effects": [ + "7b2465eedefe", + "0ef970845cc7", + "02839f22d2db", + "d1bb762720d5", + "9698ad92ebc9", + "b1384e55e8cf", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "ee587f93f5f1", + "a26efea23f6c", + "4b9c688ebd34", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-comments-issue.outer-refused-no-message:update-item-settled", + "observation": { + "sender": ["13824903a84a"], + "payloads": ["9340829c00ac"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a" + }, + "state": "e477ca22990a", + "effects": ["7b2465eedefe", "85f150b2df81", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-comments-issue.outer-refused-no-message:add-comment-settled", + "observation": { + "sender": ["13824903a84a", "909e5a140366"], + "payloads": ["9340829c00ac", "0ce8caa0cc82"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a" + }, + "state": "ee3092e3ff92", + "effects": [ + "7b2465eedefe", + "85f150b2df81", + "02839f22d2db", + "d1bb762720d5", + "9698ad92ebc9", + "b1384e55e8cf", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-comments-issue.outer-refused-no-message:update-comment-settled", + "observation": { + "sender": ["13824903a84a", "909e5a140366", "8f5c8979ff80"], + "payloads": ["9340829c00ac", "0ce8caa0cc82", "16637fd57f65"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a", + "update-comment-2": "eb79a9b3682a" + }, + "state": "1c06180a60fe", + "effects": [ + "7b2465eedefe", + "85f150b2df81", + "02839f22d2db", + "d1bb762720d5", + "9698ad92ebc9", + "b1384e55e8cf", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "ee587f93f5f1", + "a26efea23f6c", + "4b9c688ebd34", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-comments-issue.method-not-found:update-item-settled", + "observation": { + "sender": ["68f35933f895"], + "payloads": ["9340829c00ac"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a" + }, + "state": "6eadb971d40a", + "effects": ["7b2465eedefe", "152580ec9e5a", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-comments-issue.method-not-found:add-comment-settled", + "observation": { + "sender": ["68f35933f895", "909e5a140366"], + "payloads": ["9340829c00ac", "0ce8caa0cc82"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a" + }, + "state": "483cdc3c1f58", + "effects": [ + "7b2465eedefe", + "152580ec9e5a", + "02839f22d2db", + "d1bb762720d5", + "9698ad92ebc9", + "b1384e55e8cf", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-comments-issue.method-not-found:update-comment-settled", + "observation": { + "sender": ["68f35933f895", "909e5a140366", "8f5c8979ff80"], + "payloads": ["9340829c00ac", "0ce8caa0cc82", "16637fd57f65"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a", + "update-comment-2": "eb79a9b3682a" + }, + "state": "1c06180a60fe", + "effects": [ + "7b2465eedefe", + "152580ec9e5a", + "02839f22d2db", + "d1bb762720d5", + "9698ad92ebc9", + "b1384e55e8cf", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "ee587f93f5f1", + "a26efea23f6c", + "4b9c688ebd34", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-comments-issue.transport-rejection:update-item-settled", + "observation": { + "sender": ["b0b8eaa35966"], + "payloads": ["9340829c00ac"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a" + }, + "state": "e9a8d758f9c7", + "effects": ["7b2465eedefe", "8237b3a567bf", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-comments-issue.transport-rejection:add-comment-settled", + "observation": { + "sender": ["b0b8eaa35966", "909e5a140366"], + "payloads": ["9340829c00ac", "0ce8caa0cc82"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a" + }, + "state": "7dbdb709990a", + "effects": [ + "7b2465eedefe", + "8237b3a567bf", + "02839f22d2db", + "d1bb762720d5", + "9698ad92ebc9", + "b1384e55e8cf", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-comments-issue.transport-rejection:update-comment-settled", + "observation": { + "sender": ["b0b8eaa35966", "909e5a140366", "8f5c8979ff80"], + "payloads": ["9340829c00ac", "0ce8caa0cc82", "16637fd57f65"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a", + "update-comment-2": "eb79a9b3682a" + }, + "state": "1c06180a60fe", + "effects": [ + "7b2465eedefe", + "8237b3a567bf", + "02839f22d2db", + "d1bb762720d5", + "9698ad92ebc9", + "b1384e55e8cf", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "ee587f93f5f1", + "a26efea23f6c", + "4b9c688ebd34", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-comments-issue.transport-rejection-no-message:update-item-settled", + "observation": { + "sender": ["140fa75b0a29"], + "payloads": ["9340829c00ac"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a" + }, + "state": "e477ca22990a", + "effects": ["7b2465eedefe", "85f150b2df81", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-comments-issue.transport-rejection-no-message:add-comment-settled", + "observation": { + "sender": ["140fa75b0a29", "909e5a140366"], + "payloads": ["9340829c00ac", "0ce8caa0cc82"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a" + }, + "state": "ee3092e3ff92", + "effects": [ + "7b2465eedefe", + "85f150b2df81", + "02839f22d2db", + "d1bb762720d5", + "9698ad92ebc9", + "b1384e55e8cf", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-comments-issue.transport-rejection-no-message:update-comment-settled", + "observation": { + "sender": ["140fa75b0a29", "909e5a140366", "8f5c8979ff80"], + "payloads": ["9340829c00ac", "0ce8caa0cc82", "16637fd57f65"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a", + "update-comment-2": "eb79a9b3682a" + }, + "state": "1c06180a60fe", + "effects": [ + "7b2465eedefe", + "85f150b2df81", + "02839f22d2db", + "d1bb762720d5", + "9698ad92ebc9", + "b1384e55e8cf", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "ee587f93f5f1", + "a26efea23f6c", + "4b9c688ebd34", + "73c3051352c2" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-comments-issue-github.project.updateissuecommentbyslug-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-comments-issue-github.project.updateissuecommentbyslug-1.json new file mode 100644 index 00000000000..8d5b3e24314 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-comments-issue-github.project.updateissuecommentbyslug-1.json @@ -0,0 +1,1940 @@ +{ + "operation": "tasks.project-row-comments-issue", + "family": "tasks.project-row-comments-issue", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "55058202df36c8b951510215936e496ea88d3d71a6690090a13c52deb13e34e1", + "scenarioSha256": "b21a3b3f568bf6caecca62272f4b7882062027684c70878fd5f883622ff2a9ea", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "02839f22d2db": { + "name": "projectMutating", + "value": false, + "sent": 1 + }, + "046fcf1720b7": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a project comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 906 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "outer refused", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "title": "Renamed", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + } + }, + "0ce8caa0cc82": { + "name": "github.project.addIssueCommentBySlug#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.addIssueCommentBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\",\"number\":1,\"body\":\"a project comment\"}}" + }, + "0f3697bbd111": { + "name": "projectMutating", + "value": true, + "sent": 2 + }, + "16637fd57f65": { + "name": "github.project.updateIssueCommentBySlug#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.updateIssueCommentBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\",\"commentId\":501,\"body\":\"an edited comment\"}}" + }, + "1b30471b40d2": { + "name": "projectRowDetailError", + "value": "inner refused", + "sent": 3 + }, + "249f844e5fd7": { + "name": "github.project.updateIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "body": "an edited comment", + "commentId": 501, + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "347fa6adc9f3": { + "name": "projectRowDetailError", + "value": "", + "sent": 3 + }, + "435d84b75259": { + "name": "github.project.updateIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "body": "an edited comment", + "commentId": 501, + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-3", + "ok": false + } + } + }, + "4b9c688ebd34": { + "name": "projectEditingCommentDraft", + "value": "", + "sent": 3 + }, + "4ef3d6c081cc": { + "name": "github.project.updateIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "body": "an edited comment", + "commentId": 501, + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-3", + "ok": false + } + } + }, + "5198e17de9b3": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a project comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 906 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "title": "Renamed", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + } + }, + "527330ed2103": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "an edited comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a project comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 906 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "title": "Renamed", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + } + }, + "6f4f9198e5ff": { + "name": "projectMutating", + "value": false, + "sent": 2 + }, + "73c3051352c2": { + "name": "projectMutating", + "value": false, + "sent": 3 + }, + "7683733d824b": { + "name": "github.project.updateIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "body": "an edited comment", + "commentId": 501, + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-3", + "ok": false + } + } + }, + "7b2465eedefe": { + "name": "projectMutating", + "value": true, + "sent": 0 + }, + "8130cec409d0": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a project comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 906 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "transport failure", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "title": "Renamed", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + } + }, + "848c29b901c6": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a project comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 906 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "Cannot read properties of null (reading 'ok')", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "title": "Renamed", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + } + }, + "8745b196b032": { + "name": "github.project.updateIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "body": "an edited comment", + "commentId": 501, + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "8a1d11133692": { + "name": "projectRowDetailError", + "value": "", + "sent": 2 + }, + "8f5c8979ff80": { + "name": "github.project.updateIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "body": "an edited comment", + "commentId": 501, + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "909e5a140366": { + "name": "github.project.addIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.addIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "body": "a project comment", + "host": "github.enterprise.test", + "number": 1, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "comment": { + "author": "You", + "body": "a project comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 906 + }, + "ok": true + } + } + } + }, + "9138850642c5": { + "name": "projectRowDetailError", + "value": "outer refused", + "sent": 3 + }, + "9188c83ef653": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "title": "Renamed", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + } + }, + "9340829c00ac": { + "name": "github.project.updateIssueBySlug#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.updateIssueBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\",\"number\":1,\"updates\":{\"title\":\"Renamed\"}}}" + }, + "9698ad92ebc9": { + "name": "projectCommentDraft", + "value": "", + "sent": 2 + }, + "98d03b78783e": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a project comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 906 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": true, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "title": "Renamed", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + } + }, + "a1ef0cf29aaa": { + "name": "github.project.updateIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "body": "an edited comment", + "commentId": 501, + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "a26efea23f6c": { + "name": "projectEditingCommentId", + "value": { + "$rpc": "null" + }, + "sent": 3 + }, + "a3404a53c58b": { + "name": "github.project.updateIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "body": "an edited comment", + "commentId": 501, + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Connection closed", + "isRpcDeliveryUnknown": true + } + } + }, + "a3c003fbf907": { + "name": "github.project.updateIssueBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "number": 1, + "owner": "owner", + "repo": "repo", + "updates": { + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "b1384e55e8cf": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a project comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 906 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 2 + }, + "b867fbc25fae": { + "name": "github.project.updateIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "body": "an edited comment", + "commentId": 501, + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "d1bb762720d5": { + "name": "projectMutating", + "value": true, + "sent": 1 + }, + "d3919ddf3bd4": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a project comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 906 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "Cannot read properties of undefined (reading 'ok')", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "title": "Renamed", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + } + }, + "d42b872468e1": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a project comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 906 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "inner refused", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "title": "Renamed", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + } + }, + "d72ea315da15": { + "name": "projectRowDetailError", + "value": "transport failure", + "sent": 3 + }, + "d856c0886ca0": { + "name": "projectRowDetailError", + "value": "Unknown method", + "sent": 3 + }, + "e3226dc257b6": { + "name": "githubProjectTable", + "value": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "name": "Status", + "options": [] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "title": "Renamed", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "sent": 1 + }, + "e6decc8d528e": { + "name": "github.project.updateIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "body": "an edited comment", + "commentId": 501, + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "e7d38ed5fb03": { + "name": "projectRowDetailError", + "value": "Cannot read properties of undefined (reading 'ok')", + "sent": 3 + }, + "eb064eaa81a1": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a project comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 906 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "Unknown method", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "title": "Renamed", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + } + }, + "eb612a2e1a87": { + "name": "projectRowDetailError", + "value": "Cannot read properties of null (reading 'ok')", + "sent": 3 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ee587f93f5f1": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "an edited comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a project comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 906 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 3 + }, + "ee5cfc07be28": { + "name": "github.project.updateIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "body": "an edited comment", + "commentId": 501, + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "f37a9bff665c": { + "name": "projectRowDetailError", + "value": "Connection closed", + "sent": 3 + }, + "f5260513deed": { + "name": "projectRowItem", + "value": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "title": "Renamed", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + "sent": 1 + }, + "f5296aa6ec28": { + "name": "github.project.updateIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "body": "an edited comment", + "commentId": 501, + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true + } + } + } + }, + "recording": { + "scenario": "matrix-tasks.project-row-comments-issue-github.project.updateissuecommentbyslug-1", + "checkpoints": [ + { + "id": "tk-project-row-comments-issue.prelude:update-item-settled", + "observation": { + "sender": ["a3c003fbf907"], + "payloads": ["9340829c00ac"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a" + }, + "state": "9188c83ef653", + "effects": ["7b2465eedefe", "f5260513deed", "e3226dc257b6", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-comments-issue.prelude:add-comment-settled", + "observation": { + "sender": ["a3c003fbf907", "909e5a140366"], + "payloads": ["9340829c00ac", "0ce8caa0cc82"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a" + }, + "state": "5198e17de9b3", + "effects": [ + "7b2465eedefe", + "f5260513deed", + "e3226dc257b6", + "02839f22d2db", + "d1bb762720d5", + "9698ad92ebc9", + "b1384e55e8cf", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-comments-issue.prelude:cleanup", + "observation": { + "sender": ["a3c003fbf907", "909e5a140366", "a3404a53c58b"], + "payloads": ["9340829c00ac", "0ce8caa0cc82", "16637fd57f65"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a", + "update-comment-2": "eb79a9b3682a" + }, + "state": "98d03b78783e", + "effects": [ + "7b2465eedefe", + "f5260513deed", + "e3226dc257b6", + "02839f22d2db", + "d1bb762720d5", + "9698ad92ebc9", + "b1384e55e8cf", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f37a9bff665c", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-comments-issue.normal:update-comment-settled", + "observation": { + "sender": ["a3c003fbf907", "909e5a140366", "8f5c8979ff80"], + "payloads": ["9340829c00ac", "0ce8caa0cc82", "16637fd57f65"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a", + "update-comment-2": "eb79a9b3682a" + }, + "state": "527330ed2103", + "effects": [ + "7b2465eedefe", + "f5260513deed", + "e3226dc257b6", + "02839f22d2db", + "d1bb762720d5", + "9698ad92ebc9", + "b1384e55e8cf", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "ee587f93f5f1", + "a26efea23f6c", + "4b9c688ebd34", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-comments-issue.result-absent:update-comment-settled", + "observation": { + "sender": ["a3c003fbf907", "909e5a140366", "f5296aa6ec28"], + "payloads": ["9340829c00ac", "0ce8caa0cc82", "16637fd57f65"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a", + "update-comment-2": "eb79a9b3682a" + }, + "state": "d3919ddf3bd4", + "effects": [ + "7b2465eedefe", + "f5260513deed", + "e3226dc257b6", + "02839f22d2db", + "d1bb762720d5", + "9698ad92ebc9", + "b1384e55e8cf", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "e7d38ed5fb03", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-comments-issue.result-null:update-comment-settled", + "observation": { + "sender": ["a3c003fbf907", "909e5a140366", "e6decc8d528e"], + "payloads": ["9340829c00ac", "0ce8caa0cc82", "16637fd57f65"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a", + "update-comment-2": "eb79a9b3682a" + }, + "state": "848c29b901c6", + "effects": [ + "7b2465eedefe", + "f5260513deed", + "e3226dc257b6", + "02839f22d2db", + "d1bb762720d5", + "9698ad92ebc9", + "b1384e55e8cf", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "eb612a2e1a87", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-comments-issue.inner-ok-missing:update-comment-settled", + "observation": { + "sender": ["a3c003fbf907", "909e5a140366", "8745b196b032"], + "payloads": ["9340829c00ac", "0ce8caa0cc82", "16637fd57f65"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a", + "update-comment-2": "eb79a9b3682a" + }, + "state": "527330ed2103", + "effects": [ + "7b2465eedefe", + "f5260513deed", + "e3226dc257b6", + "02839f22d2db", + "d1bb762720d5", + "9698ad92ebc9", + "b1384e55e8cf", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "ee587f93f5f1", + "a26efea23f6c", + "4b9c688ebd34", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-comments-issue.inner-false-string-error:update-comment-settled", + "observation": { + "sender": ["a3c003fbf907", "909e5a140366", "a1ef0cf29aaa"], + "payloads": ["9340829c00ac", "0ce8caa0cc82", "16637fd57f65"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a", + "update-comment-2": "eb79a9b3682a" + }, + "state": "d42b872468e1", + "effects": [ + "7b2465eedefe", + "f5260513deed", + "e3226dc257b6", + "02839f22d2db", + "d1bb762720d5", + "9698ad92ebc9", + "b1384e55e8cf", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "1b30471b40d2", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-comments-issue.inner-false-object-error:update-comment-settled", + "observation": { + "sender": ["a3c003fbf907", "909e5a140366", "b867fbc25fae"], + "payloads": ["9340829c00ac", "0ce8caa0cc82", "16637fd57f65"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a", + "update-comment-2": "eb79a9b3682a" + }, + "state": "d42b872468e1", + "effects": [ + "7b2465eedefe", + "f5260513deed", + "e3226dc257b6", + "02839f22d2db", + "d1bb762720d5", + "9698ad92ebc9", + "b1384e55e8cf", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "1b30471b40d2", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-comments-issue.outer-refused:update-comment-settled", + "observation": { + "sender": ["a3c003fbf907", "909e5a140366", "4ef3d6c081cc"], + "payloads": ["9340829c00ac", "0ce8caa0cc82", "16637fd57f65"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a", + "update-comment-2": "eb79a9b3682a" + }, + "state": "046fcf1720b7", + "effects": [ + "7b2465eedefe", + "f5260513deed", + "e3226dc257b6", + "02839f22d2db", + "d1bb762720d5", + "9698ad92ebc9", + "b1384e55e8cf", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "9138850642c5", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-comments-issue.outer-refused-no-message:update-comment-settled", + "observation": { + "sender": ["a3c003fbf907", "909e5a140366", "435d84b75259"], + "payloads": ["9340829c00ac", "0ce8caa0cc82", "16637fd57f65"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a", + "update-comment-2": "eb79a9b3682a" + }, + "state": "5198e17de9b3", + "effects": [ + "7b2465eedefe", + "f5260513deed", + "e3226dc257b6", + "02839f22d2db", + "d1bb762720d5", + "9698ad92ebc9", + "b1384e55e8cf", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "347fa6adc9f3", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-comments-issue.method-not-found:update-comment-settled", + "observation": { + "sender": ["a3c003fbf907", "909e5a140366", "7683733d824b"], + "payloads": ["9340829c00ac", "0ce8caa0cc82", "16637fd57f65"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a", + "update-comment-2": "eb79a9b3682a" + }, + "state": "eb064eaa81a1", + "effects": [ + "7b2465eedefe", + "f5260513deed", + "e3226dc257b6", + "02839f22d2db", + "d1bb762720d5", + "9698ad92ebc9", + "b1384e55e8cf", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "d856c0886ca0", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-comments-issue.transport-rejection:update-comment-settled", + "observation": { + "sender": ["a3c003fbf907", "909e5a140366", "ee5cfc07be28"], + "payloads": ["9340829c00ac", "0ce8caa0cc82", "16637fd57f65"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a", + "update-comment-2": "eb79a9b3682a" + }, + "state": "8130cec409d0", + "effects": [ + "7b2465eedefe", + "f5260513deed", + "e3226dc257b6", + "02839f22d2db", + "d1bb762720d5", + "9698ad92ebc9", + "b1384e55e8cf", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "d72ea315da15", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-comments-issue.transport-rejection-no-message:update-comment-settled", + "observation": { + "sender": ["a3c003fbf907", "909e5a140366", "249f844e5fd7"], + "payloads": ["9340829c00ac", "0ce8caa0cc82", "16637fd57f65"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a", + "update-comment-2": "eb79a9b3682a" + }, + "state": "5198e17de9b3", + "effects": [ + "7b2465eedefe", + "f5260513deed", + "e3226dc257b6", + "02839f22d2db", + "d1bb762720d5", + "9698ad92ebc9", + "b1384e55e8cf", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "347fa6adc9f3", + "73c3051352c2" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-comments-pr-github.project.updatepullrequestbyslug-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-comments-pr-github.project.updatepullrequestbyslug-1.json new file mode 100644 index 00000000000..f1f7f09d551 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-comments-pr-github.project.updatepullrequestbyslug-1.json @@ -0,0 +1,1324 @@ +{ + "operation": "tasks.project-row-comments-pr", + "family": "tasks.project-row-comments-pr", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "55058202df36c8b951510215936e496ea88d3d71a6690090a13c52deb13e34e1", + "scenarioSha256": "e286edb942c338fd844ce8437ac03c872838228515ce833cfd310332354da725", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "02839f22d2db": { + "name": "projectMutating", + "value": false, + "sent": 1 + }, + "0ef970845cc7": { + "name": "projectRowDetailError", + "value": "outer refused", + "sent": 1 + }, + "0fa9db1cc7c0": { + "name": "github.project.updatePullRequestBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updatePullRequestBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "number": 2, + "owner": "owner", + "repo": "repo", + "updates": { + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "152580ec9e5a": { + "name": "projectRowDetailError", + "value": "Unknown method", + "sent": 1 + }, + "194a466e49bd": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "inner refused", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "2d1e8ede1fcf": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "title": "Renamed", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "470d3aa7b368": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "transport failure", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "49d660b9acf0": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "Cannot read properties of undefined (reading 'ok')", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "4aa5b1f0a2a8": { + "name": "github.project.updatePullRequestBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updatePullRequestBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "number": 2, + "owner": "owner", + "repo": "repo", + "updates": { + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "4c09a53c8150": { + "name": "projectRowDetailError", + "value": "Cannot read properties of undefined (reading 'ok')", + "sent": 1 + }, + "4cc5ce7ffda2": { + "name": "github.project.updatePullRequestBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updatePullRequestBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "number": 2, + "owner": "owner", + "repo": "repo", + "updates": { + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "6764270f0dc1": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "71fe9d50f237": { + "name": "github.project.updatePullRequestBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updatePullRequestBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "number": 2, + "owner": "owner", + "repo": "repo", + "updates": { + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-1", + "ok": false + } + } + }, + "79252b22d0fc": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "Unknown method", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "7b2465eedefe": { + "name": "projectMutating", + "value": true, + "sent": 0 + }, + "7b9270764362": { + "name": "github.project.updatePullRequestBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updatePullRequestBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "number": 2, + "owner": "owner", + "repo": "repo", + "updates": { + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "80e87e83df29": { + "name": "github.project.updatePullRequestBySlug#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.updatePullRequestBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\",\"number\":2,\"updates\":{\"title\":\"Renamed\"}}}" + }, + "8237b3a567bf": { + "name": "projectRowDetailError", + "value": "transport failure", + "sent": 1 + }, + "85f150b2df81": { + "name": "projectRowDetailError", + "value": "", + "sent": 1 + }, + "97094e0009d2": { + "name": "github.project.updatePullRequestBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updatePullRequestBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "number": 2, + "owner": "owner", + "repo": "repo", + "updates": { + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "983756056f4c": { + "name": "github.project.updatePullRequestBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updatePullRequestBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "number": 2, + "owner": "owner", + "repo": "repo", + "updates": { + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "a348d735e20f": { + "name": "github.project.updatePullRequestBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updatePullRequestBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "number": 2, + "owner": "owner", + "repo": "repo", + "updates": { + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "a7b76954b136": { + "name": "projectRowDetailError", + "value": "Cannot read properties of null (reading 'ok')", + "sent": 1 + }, + "bc87b4b6ed64": { + "name": "github.project.updatePullRequestBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updatePullRequestBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "number": 2, + "owner": "owner", + "repo": "repo", + "updates": { + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "c089d68bd230": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "outer refused", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "c8e3f060e5f1": { + "name": "projectRowItem", + "value": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "title": "Renamed", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + }, + "sent": 1 + }, + "c9abda0c6d89": { + "name": "githubProjectTable", + "value": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "name": "Status", + "options": [] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "title": "Renamed", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "sent": 1 + }, + "cff93cd7b1a7": { + "name": "github.project.updatePullRequestBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updatePullRequestBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "number": 2, + "owner": "owner", + "repo": "repo", + "updates": { + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "da0f06b573ab": { + "name": "projectRowDetailError", + "value": "Failed to update GitHub item", + "sent": 1 + }, + "e07ed1ef7289": { + "name": "github.project.updatePullRequestBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updatePullRequestBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "number": 2, + "owner": "owner", + "repo": "repo", + "updates": { + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "eff724250cc7": { + "name": "projectRowDetailError", + "value": "inner refused", + "sent": 1 + }, + "f7a965ae68e5": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "Cannot read properties of null (reading 'ok')", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "fce902b2381c": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "Failed to update GitHub item", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + } + }, + "recording": { + "scenario": "matrix-tasks.project-row-comments-pr-github.project.updatepullrequestbyslug-1", + "checkpoints": [ + { + "id": "tk-project-row-comments-pr.normal:update-item-settled", + "observation": { + "sender": ["0fa9db1cc7c0"], + "payloads": ["80e87e83df29"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a" + }, + "state": "2d1e8ede1fcf", + "effects": ["7b2465eedefe", "c8e3f060e5f1", "c9abda0c6d89", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-comments-pr.result-absent:update-item-settled", + "observation": { + "sender": ["4aa5b1f0a2a8"], + "payloads": ["80e87e83df29"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a" + }, + "state": "49d660b9acf0", + "effects": ["7b2465eedefe", "4c09a53c8150", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-comments-pr.result-null:update-item-settled", + "observation": { + "sender": ["4cc5ce7ffda2"], + "payloads": ["80e87e83df29"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a" + }, + "state": "f7a965ae68e5", + "effects": ["7b2465eedefe", "a7b76954b136", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-comments-pr.inner-ok-missing:update-item-settled", + "observation": { + "sender": ["bc87b4b6ed64"], + "payloads": ["80e87e83df29"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a" + }, + "state": "2d1e8ede1fcf", + "effects": ["7b2465eedefe", "c8e3f060e5f1", "c9abda0c6d89", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-comments-pr.inner-false-string-error:update-item-settled", + "observation": { + "sender": ["7b9270764362"], + "payloads": ["80e87e83df29"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a" + }, + "state": "fce902b2381c", + "effects": ["7b2465eedefe", "da0f06b573ab", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-comments-pr.inner-false-object-error:update-item-settled", + "observation": { + "sender": ["e07ed1ef7289"], + "payloads": ["80e87e83df29"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a" + }, + "state": "194a466e49bd", + "effects": ["7b2465eedefe", "eff724250cc7", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-comments-pr.outer-refused:update-item-settled", + "observation": { + "sender": ["97094e0009d2"], + "payloads": ["80e87e83df29"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a" + }, + "state": "c089d68bd230", + "effects": ["7b2465eedefe", "0ef970845cc7", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-comments-pr.outer-refused-no-message:update-item-settled", + "observation": { + "sender": ["a348d735e20f"], + "payloads": ["80e87e83df29"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a" + }, + "state": "6764270f0dc1", + "effects": ["7b2465eedefe", "85f150b2df81", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-comments-pr.method-not-found:update-item-settled", + "observation": { + "sender": ["71fe9d50f237"], + "payloads": ["80e87e83df29"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a" + }, + "state": "79252b22d0fc", + "effects": ["7b2465eedefe", "152580ec9e5a", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-comments-pr.transport-rejection:update-item-settled", + "observation": { + "sender": ["cff93cd7b1a7"], + "payloads": ["80e87e83df29"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a" + }, + "state": "470d3aa7b368", + "effects": ["7b2465eedefe", "8237b3a567bf", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-comments-pr.transport-rejection-no-message:update-item-settled", + "observation": { + "sender": ["983756056f4c"], + "payloads": ["80e87e83df29"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a" + }, + "state": "6764270f0dc1", + "effects": ["7b2465eedefe", "85f150b2df81", "02839f22d2db"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-detail-github.project.workitemdetailsbyslug-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-detail-github.project.workitemdetailsbyslug-1.json new file mode 100644 index 00000000000..c8a9c15f1bb --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-detail-github.project.workitemdetailsbyslug-1.json @@ -0,0 +1,984 @@ +{ + "operation": "tasks.project-row-detail", + "family": "tasks.project-row-detail", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "f8f6e5d500f959b9b15c5498885a05422747880b6aef4ad795bc3064ebbacea6", + "scenarioSha256": "52b2cc222d9819121ba99f8f603bc76abe420d731e5853116e802a4db59e2d3e", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "049372f27933": { + "name": "prFileContents", + "value": {}, + "sent": 0 + }, + "0e6d17a72b48": { + "name": "projectEditingCommentDraft", + "value": "", + "sent": 0 + }, + "0ef970845cc7": { + "name": "projectRowDetailError", + "value": "outer refused", + "sent": 1 + }, + "0fa980ff8396": { + "detail": { + "$rpc": "null" + }, + "error": "outer refused", + "loading": false + }, + "152580ec9e5a": { + "name": "projectRowDetailError", + "value": "Unknown method", + "sent": 1 + }, + "1948869d1aab": { + "name": "projectTitleDraft", + "value": { + "$rpc": "undefined" + }, + "sent": 0 + }, + "1ab0db6f980d": { + "name": "projectCommentDraft", + "value": "", + "sent": 0 + }, + "1e04ae13b692": { + "name": "expandedPrFilePath", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "205699b4093c": { + "detail": { + "$rpc": "null" + }, + "error": "inner refused", + "loading": false + }, + "228957b08ee5": { + "name": "projectReviewersDraft", + "value": "", + "sent": 0 + }, + "2a5f104cc20a": { + "name": "github.project.workItemDetailsBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.workItemDetailsBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "number": 1, + "owner": "owner", + "repo": "repo", + "type": "issue" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "348c16318267": { + "detail": { + "$rpc": "null" + }, + "error": "transport failure", + "loading": false + }, + "3690e3603bc7": { + "name": "projectEditingCommentId", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "3a8d8b837c22": { + "name": "projectRowDetailLoading", + "value": false, + "sent": 1 + }, + "41f7d0f4ab48": { + "detail": { + "$rpc": "null" + }, + "error": "Unknown method", + "loading": false + }, + "4331036690d4": { + "name": "prFileLoadingPath", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "45b703d1ba29": { + "detail": { + "$rpc": "null" + }, + "error": "", + "loading": false + }, + "46f64f0cee44": { + "name": "github.project.workItemDetailsBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.workItemDetailsBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "number": 1, + "owner": "owner", + "repo": "repo", + "type": "issue" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-1", + "ok": false + } + } + }, + "4c09a53c8150": { + "name": "projectRowDetailError", + "value": "Cannot read properties of undefined (reading 'ok')", + "sent": 1 + }, + "5a7bbfc7f8af": { + "name": "github.project.workItemDetailsBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.workItemDetailsBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "number": 1, + "owner": "owner", + "repo": "repo", + "type": "issue" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "629ca94bfed3": { + "name": "github.project.workItemDetailsBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.workItemDetailsBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "number": 1, + "owner": "owner", + "repo": "repo", + "type": "issue" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "62fee54ba0b2": { + "name": "projectBodyDraft", + "value": "", + "sent": 0 + }, + "697a14434811": { + "name": "github.project.workItemDetailsBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.workItemDetailsBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "number": 1, + "owner": "owner", + "repo": "repo", + "type": "issue" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "73fd5eb0550e": { + "name": "projectRowDetailLoading", + "value": true, + "sent": 0 + }, + "80d38ca65a5d": { + "name": "projectRowDetailError", + "value": "", + "sent": 0 + }, + "8237b3a567bf": { + "name": "projectRowDetailError", + "value": "transport failure", + "sent": 1 + }, + "85f150b2df81": { + "name": "projectRowDetailError", + "value": "", + "sent": 1 + }, + "8e5298b22c5f": { + "name": "projectRowDetail", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "9b91f921fbb2": { + "name": "projectFieldDrafts", + "value": {}, + "sent": 0 + }, + "9cbb2a5c7ddc": { + "name": "github.project.workItemDetailsBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.workItemDetailsBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "number": 1, + "owner": "owner", + "repo": "repo", + "type": "issue" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "a7b76954b136": { + "name": "projectRowDetailError", + "value": "Cannot read properties of null (reading 'ok')", + "sent": 1 + }, + "ab01782b6daf": { + "name": "github.project.workItemDetailsBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.workItemDetailsBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "number": 1, + "owner": "owner", + "repo": "repo", + "type": "issue" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "b2a01ad6d4fe": { + "detail": { + "assignees": [], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [], + "files": [], + "headSha": "head-sha", + "labels": [], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [] + }, + "error": "", + "loading": false + }, + "b5e6f1e3f366": { + "name": "github.project.workItemDetailsBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.workItemDetailsBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "number": 1, + "owner": "owner", + "repo": "repo", + "type": "issue" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "ba38fcc880dc": { + "detail": { + "$rpc": "null" + }, + "error": "Cannot read properties of undefined (reading 'ok')", + "loading": false + }, + "c3e75b813157": { + "name": "projectRowDetail", + "value": { + "assignees": [], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [], + "files": [], + "headSha": "head-sha", + "labels": [], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [] + }, + "sent": 1 + }, + "ce991ff5560d": { + "name": "prFileCommentDrafts", + "value": {}, + "sent": 0 + }, + "d1f95449bb04": { + "name": "github.project.workItemDetailsBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.workItemDetailsBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "number": 1, + "owner": "owner", + "repo": "repo", + "type": "issue" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "details": { + "assignees": [], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [], + "files": [], + "headSha": "head-sha", + "item": { + "labels": [] + }, + "pullRequestId": "PR_kwDO" + }, + "ok": true + } + } + } + }, + "e11a0d677154": { + "name": "github.project.workItemDetailsBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.workItemDetailsBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "number": 1, + "owner": "owner", + "repo": "repo", + "type": "issue" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "e27d1a246a98": { + "name": "github.project.workItemDetailsBySlug#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.workItemDetailsBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\",\"number\":1,\"type\":\"issue\"}}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "eff724250cc7": { + "name": "projectRowDetailError", + "value": "inner refused", + "sent": 1 + }, + "f3a26e0bbdca": { + "detail": { + "$rpc": "null" + }, + "error": "Cannot read properties of null (reading 'ok')", + "loading": false + }, + "fe08a0925a32": { + "name": "github.project.workItemDetailsBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.workItemDetailsBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "number": 1, + "owner": "owner", + "repo": "repo", + "type": "issue" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + } + }, + "recording": { + "scenario": "matrix-tasks.project-row-detail-github.project.workitemdetailsbyslug-1", + "checkpoints": [ + { + "id": "tk-project-row-detail.normal:mounted", + "observation": { + "sender": ["d1f95449bb04"], + "payloads": ["e27d1a246a98"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "b2a01ad6d4fe", + "effects": [ + "1948869d1aab", + "62fee54ba0b2", + "1ab0db6f980d", + "3690e3603bc7", + "0e6d17a72b48", + "228957b08ee5", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "9b91f921fbb2", + "8e5298b22c5f", + "80d38ca65a5d", + "73fd5eb0550e", + "c3e75b813157", + "3a8d8b837c22" + ] + } + }, + { + "id": "tk-project-row-detail.result-absent:mounted", + "observation": { + "sender": ["629ca94bfed3"], + "payloads": ["e27d1a246a98"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "ba38fcc880dc", + "effects": [ + "1948869d1aab", + "62fee54ba0b2", + "1ab0db6f980d", + "3690e3603bc7", + "0e6d17a72b48", + "228957b08ee5", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "9b91f921fbb2", + "8e5298b22c5f", + "80d38ca65a5d", + "73fd5eb0550e", + "4c09a53c8150", + "3a8d8b837c22" + ] + } + }, + { + "id": "tk-project-row-detail.result-null:mounted", + "observation": { + "sender": ["697a14434811"], + "payloads": ["e27d1a246a98"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "f3a26e0bbdca", + "effects": [ + "1948869d1aab", + "62fee54ba0b2", + "1ab0db6f980d", + "3690e3603bc7", + "0e6d17a72b48", + "228957b08ee5", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "9b91f921fbb2", + "8e5298b22c5f", + "80d38ca65a5d", + "73fd5eb0550e", + "a7b76954b136", + "3a8d8b837c22" + ] + } + }, + { + "id": "tk-project-row-detail.inner-ok-missing:mounted", + "observation": { + "sender": ["fe08a0925a32"], + "payloads": ["e27d1a246a98"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "45b703d1ba29", + "effects": [ + "1948869d1aab", + "62fee54ba0b2", + "1ab0db6f980d", + "3690e3603bc7", + "0e6d17a72b48", + "228957b08ee5", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "9b91f921fbb2", + "8e5298b22c5f", + "80d38ca65a5d", + "73fd5eb0550e", + "85f150b2df81", + "3a8d8b837c22" + ] + } + }, + { + "id": "tk-project-row-detail.inner-false-string-error:mounted", + "observation": { + "sender": ["b5e6f1e3f366"], + "payloads": ["e27d1a246a98"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "45b703d1ba29", + "effects": [ + "1948869d1aab", + "62fee54ba0b2", + "1ab0db6f980d", + "3690e3603bc7", + "0e6d17a72b48", + "228957b08ee5", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "9b91f921fbb2", + "8e5298b22c5f", + "80d38ca65a5d", + "73fd5eb0550e", + "85f150b2df81", + "3a8d8b837c22" + ] + } + }, + { + "id": "tk-project-row-detail.inner-false-object-error:mounted", + "observation": { + "sender": ["ab01782b6daf"], + "payloads": ["e27d1a246a98"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "205699b4093c", + "effects": [ + "1948869d1aab", + "62fee54ba0b2", + "1ab0db6f980d", + "3690e3603bc7", + "0e6d17a72b48", + "228957b08ee5", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "9b91f921fbb2", + "8e5298b22c5f", + "80d38ca65a5d", + "73fd5eb0550e", + "eff724250cc7", + "3a8d8b837c22" + ] + } + }, + { + "id": "tk-project-row-detail.outer-refused:mounted", + "observation": { + "sender": ["e11a0d677154"], + "payloads": ["e27d1a246a98"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "0fa980ff8396", + "effects": [ + "1948869d1aab", + "62fee54ba0b2", + "1ab0db6f980d", + "3690e3603bc7", + "0e6d17a72b48", + "228957b08ee5", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "9b91f921fbb2", + "8e5298b22c5f", + "80d38ca65a5d", + "73fd5eb0550e", + "0ef970845cc7", + "3a8d8b837c22" + ] + } + }, + { + "id": "tk-project-row-detail.outer-refused-no-message:mounted", + "observation": { + "sender": ["9cbb2a5c7ddc"], + "payloads": ["e27d1a246a98"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "45b703d1ba29", + "effects": [ + "1948869d1aab", + "62fee54ba0b2", + "1ab0db6f980d", + "3690e3603bc7", + "0e6d17a72b48", + "228957b08ee5", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "9b91f921fbb2", + "8e5298b22c5f", + "80d38ca65a5d", + "73fd5eb0550e", + "85f150b2df81", + "3a8d8b837c22" + ] + } + }, + { + "id": "tk-project-row-detail.method-not-found:mounted", + "observation": { + "sender": ["46f64f0cee44"], + "payloads": ["e27d1a246a98"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "41f7d0f4ab48", + "effects": [ + "1948869d1aab", + "62fee54ba0b2", + "1ab0db6f980d", + "3690e3603bc7", + "0e6d17a72b48", + "228957b08ee5", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "9b91f921fbb2", + "8e5298b22c5f", + "80d38ca65a5d", + "73fd5eb0550e", + "152580ec9e5a", + "3a8d8b837c22" + ] + } + }, + { + "id": "tk-project-row-detail.transport-rejection:mounted", + "observation": { + "sender": ["2a5f104cc20a"], + "payloads": ["e27d1a246a98"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "348c16318267", + "effects": [ + "1948869d1aab", + "62fee54ba0b2", + "1ab0db6f980d", + "3690e3603bc7", + "0e6d17a72b48", + "228957b08ee5", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "9b91f921fbb2", + "8e5298b22c5f", + "80d38ca65a5d", + "73fd5eb0550e", + "8237b3a567bf", + "3a8d8b837c22" + ] + } + }, + { + "id": "tk-project-row-detail.transport-rejection-no-message:mounted", + "observation": { + "sender": ["5a7bbfc7f8af"], + "payloads": ["e27d1a246a98"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "45b703d1ba29", + "effects": [ + "1948869d1aab", + "62fee54ba0b2", + "1ab0db6f980d", + "3690e3603bc7", + "0e6d17a72b48", + "228957b08ee5", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "9b91f921fbb2", + "8e5298b22c5f", + "80d38ca65a5d", + "73fd5eb0550e", + "85f150b2df81", + "3a8d8b837c22" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-fields-github.project.clearitemfield-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-fields-github.project.clearitemfield-1.json new file mode 100644 index 00000000000..f868ea173d8 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-fields-github.project.clearitemfield-1.json @@ -0,0 +1,3552 @@ +{ + "operation": "tasks.project-row-fields", + "family": "tasks.project-row-fields", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "370aeaee59978071ccb821da13c9e6114936c168947b608539cdb80d40cc9889", + "scenarioSha256": "0fe8c60631cf04d33b34371155f5f80c8426b07b1cbec2fabc5d6d619f2633b8", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "02839f22d2db": { + "name": "projectMutating", + "value": false, + "sent": 1 + }, + "0d3abde11044": { + "name": "projectRowDetailError", + "value": "Connection closed", + "sent": 2 + }, + "0f3697bbd111": { + "name": "projectMutating", + "value": true, + "sent": 2 + }, + "11453f1749a4": { + "error": "transport failure", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "17d68b64c995": { + "name": "github.project.clearItemField#1", + "args": [ + { + "name": "method", + "value": "github.project.clearItemField" + }, + { + "name": "params", + "value": { + "fieldId": "field-1", + "host": "github.enterprise.test", + "itemId": "item-1", + "projectId": "project-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "1bd08607e7f8": { + "name": "projectRowDetailError", + "value": "Failed to update project field", + "sent": 2 + }, + "1c2300267a50": { + "name": "github.project.clearItemField#1", + "args": [ + { + "name": "method", + "value": "github.project.clearItemField" + }, + { + "name": "params", + "value": { + "fieldId": "field-1", + "host": "github.enterprise.test", + "itemId": "item-1", + "projectId": "project-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "208468d41a71": { + "name": "githubProjectTable", + "value": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "sent": 1 + }, + "292291b21e81": { + "error": "Cannot read properties of null (reading 'ok')", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "311a2f79b43d": { + "error": "transport failure", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "31dba010fada": { + "name": "github.project.clearItemField#1", + "args": [ + { + "name": "method", + "value": "github.project.clearItemField" + }, + { + "name": "params", + "value": { + "fieldId": "field-1", + "host": "github.enterprise.test", + "itemId": "item-1", + "projectId": "project-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "34daaf185d9e": { + "name": "projectRowItem", + "value": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + "sent": 1 + }, + "3acce5b08290": { + "error": "inner refused", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "424e9a1ae7ed": { + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "466f8db9d238": { + "name": "projectRowDetailError", + "value": "outer refused", + "sent": 2 + }, + "46b4c26d709a": { + "name": "projectRowDetailError", + "value": "Unknown method", + "sent": 2 + }, + "46c028c0d924": { + "name": "github.project.clearItemField#1", + "args": [ + { + "name": "method", + "value": "github.project.clearItemField" + }, + { + "name": "params", + "value": { + "fieldId": "field-1", + "host": "github.enterprise.test", + "itemId": "item-1", + "projectId": "project-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "4bb4179487e7": { + "name": "github.project.updateIssueTypeBySlug#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.updateIssueTypeBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\",\"number\":1,\"issueTypeId\":\"type-1\"}}" + }, + "5278d0def4dc": { + "name": "projectRowDetailError", + "value": "Cannot read properties of null (reading 'ok')", + "sent": 2 + }, + "55107e6e9979": { + "name": "githubProjectTable", + "value": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "sent": 2 + }, + "574da420bac4": { + "name": "projectRowItem", + "value": { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + "sent": 3 + }, + "57a8b31d7765": { + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "5f110d72ade0": { + "error": "outer refused", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "6294f739146e": { + "error": "Failed to update project field", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "645856fd5e4f": { + "error": "Unknown method", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "674a78fb6dfb": { + "name": "projectRowDetailError", + "value": "transport failure", + "sent": 2 + }, + "674d1327dcc8": { + "error": "Cannot read properties of null (reading 'ok')", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "68296a29ee63": { + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "6f4f9198e5ff": { + "name": "projectMutating", + "value": false, + "sent": 2 + }, + "73c3051352c2": { + "name": "projectMutating", + "value": false, + "sent": 3 + }, + "759540f23b63": { + "name": "github.project.clearItemField#1", + "args": [ + { + "name": "method", + "value": "github.project.clearItemField" + }, + { + "name": "params", + "value": { + "fieldId": "field-1", + "host": "github.enterprise.test", + "itemId": "item-1", + "projectId": "project-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Connection closed", + "isRpcDeliveryUnknown": true + } + } + }, + "7aa05181323a": { + "name": "github.project.clearItemField#1", + "args": [ + { + "name": "method", + "value": "github.project.clearItemField" + }, + { + "name": "params", + "value": { + "fieldId": "field-1", + "host": "github.enterprise.test", + "itemId": "item-1", + "projectId": "project-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "7b2465eedefe": { + "name": "projectMutating", + "value": true, + "sent": 0 + }, + "7da1fa6feb18": { + "name": "github.project.clearItemField#1", + "args": [ + { + "name": "method", + "value": "github.project.clearItemField" + }, + { + "name": "params", + "value": { + "fieldId": "field-1", + "host": "github.enterprise.test", + "itemId": "item-1", + "projectId": "project-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "824d5b4543f1": { + "name": "githubProjectTable", + "value": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "sent": 3 + }, + "895e7a6b9398": { + "name": "github.project.updateItemField#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.updateItemField\",\"params\":{\"projectId\":\"project-1\",\"host\":\"github.enterprise.test\",\"itemId\":\"item-1\",\"fieldId\":\"field-1\",\"value\":{\"kind\":\"single-select\",\"optionId\":\"option-1\"}}}" + }, + "8a1d11133692": { + "name": "projectRowDetailError", + "value": "", + "sent": 2 + }, + "99cdcb3796ac": { + "name": "githubProjectTable", + "value": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "sent": 3 + }, + "9b25901e2435": { + "error": "Cannot read properties of undefined (reading 'ok')", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "b2345144ca7e": { + "name": "projectFieldDrafts", + "value": { + "field-1": "" + }, + "sent": 2 + }, + "bd34a3803a4e": { + "error": "inner refused", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "c3317944bc82": { + "name": "projectRowItem", + "value": { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + "sent": 3 + }, + "c5d817856415": { + "error": "", + "mutating": true, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "c668cb389101": { + "error": "Unknown method", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "c70cb6df3f9c": { + "error": "Failed to update project field", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "c729dad3a433": { + "name": "github.project.clearItemField#1", + "args": [ + { + "name": "method", + "value": "github.project.clearItemField" + }, + { + "name": "params", + "value": { + "fieldId": "field-1", + "host": "github.enterprise.test", + "itemId": "item-1", + "projectId": "project-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "cdb1e0ec3294": { + "name": "github.project.clearItemField#1", + "args": [ + { + "name": "method", + "value": "github.project.clearItemField" + }, + { + "name": "params", + "value": { + "fieldId": "field-1", + "host": "github.enterprise.test", + "itemId": "item-1", + "projectId": "project-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "cfc00f66b739": { + "error": "outer refused", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "d19660e0ba85": { + "name": "github.project.updateItemField#1", + "args": [ + { + "name": "method", + "value": "github.project.updateItemField" + }, + { + "name": "params", + "value": { + "fieldId": "field-1", + "host": "github.enterprise.test", + "itemId": "item-1", + "projectId": "project-1", + "value": { + "kind": "single-select", + "optionId": "option-1" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "d1bb762720d5": { + "name": "projectMutating", + "value": true, + "sent": 1 + }, + "d74cf538de66": { + "name": "projectRowItem", + "value": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + "sent": 2 + }, + "d7d194b8694f": { + "name": "github.project.clearItemField#1", + "args": [ + { + "name": "method", + "value": "github.project.clearItemField" + }, + { + "name": "params", + "value": { + "fieldId": "field-1", + "host": "github.enterprise.test", + "itemId": "item-1", + "projectId": "project-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "d8504a4a27ff": { + "name": "github.project.updateIssueTypeBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueTypeBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "issueTypeId": "type-1", + "number": 1, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "dca464e5bca3": { + "name": "github.project.clearItemField#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.clearItemField\",\"params\":{\"projectId\":\"project-1\",\"host\":\"github.enterprise.test\",\"itemId\":\"item-1\",\"fieldId\":\"field-1\"}}" + }, + "de29905548eb": { + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "e0b55fd5ddd3": { + "error": "Cannot read properties of undefined (reading 'ok')", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "e14ea8ebe65d": { + "name": "github.project.clearItemField#1", + "args": [ + { + "name": "method", + "value": "github.project.clearItemField" + }, + { + "name": "params", + "value": { + "fieldId": "field-1", + "host": "github.enterprise.test", + "itemId": "item-1", + "projectId": "project-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f71162f2f6ab": { + "name": "github.project.clearItemField#1", + "args": [ + { + "name": "method", + "value": "github.project.clearItemField" + }, + { + "name": "params", + "value": { + "fieldId": "field-1", + "host": "github.enterprise.test", + "itemId": "item-1", + "projectId": "project-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "fe748dc95970": { + "name": "projectRowDetailError", + "value": "inner refused", + "sent": 2 + }, + "fed93fa7addb": { + "name": "projectRowDetailError", + "value": "Cannot read properties of undefined (reading 'ok')", + "sent": 2 + } + }, + "recording": { + "scenario": "matrix-tasks.project-row-fields-github.project.clearitemfield-1", + "checkpoints": [ + { + "id": "tk-project-row-fields.prelude:set-field-settled", + "observation": { + "sender": ["d19660e0ba85"], + "payloads": ["895e7a6b9398"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a" + }, + "state": "424e9a1ae7ed", + "effects": ["7b2465eedefe", "34daaf185d9e", "208468d41a71", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-fields.prelude:cleanup", + "observation": { + "sender": ["d19660e0ba85", "759540f23b63"], + "payloads": ["895e7a6b9398", "dca464e5bca3"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a" + }, + "state": "c5d817856415", + "effects": [ + "7b2465eedefe", + "34daaf185d9e", + "208468d41a71", + "02839f22d2db", + "d1bb762720d5", + "0d3abde11044", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-fields.normal:clear-field-settled", + "observation": { + "sender": ["d19660e0ba85", "46c028c0d924"], + "payloads": ["895e7a6b9398", "dca464e5bca3"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a" + }, + "state": "68296a29ee63", + "effects": [ + "7b2465eedefe", + "34daaf185d9e", + "208468d41a71", + "02839f22d2db", + "d1bb762720d5", + "d74cf538de66", + "55107e6e9979", + "b2345144ca7e", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-fields.normal:issue-type-settled", + "observation": { + "sender": ["d19660e0ba85", "46c028c0d924", "d8504a4a27ff"], + "payloads": ["895e7a6b9398", "dca464e5bca3", "4bb4179487e7"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a", + "issue-type-2": "eb79a9b3682a" + }, + "state": "de29905548eb", + "effects": [ + "7b2465eedefe", + "34daaf185d9e", + "208468d41a71", + "02839f22d2db", + "d1bb762720d5", + "d74cf538de66", + "55107e6e9979", + "b2345144ca7e", + "6f4f9198e5ff", + "0f3697bbd111", + "574da420bac4", + "824d5b4543f1", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-fields.result-absent:clear-field-settled", + "observation": { + "sender": ["d19660e0ba85", "f71162f2f6ab"], + "payloads": ["895e7a6b9398", "dca464e5bca3"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a" + }, + "state": "e0b55fd5ddd3", + "effects": [ + "7b2465eedefe", + "34daaf185d9e", + "208468d41a71", + "02839f22d2db", + "d1bb762720d5", + "fed93fa7addb", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-fields.result-absent:issue-type-settled", + "observation": { + "sender": ["d19660e0ba85", "f71162f2f6ab", "d8504a4a27ff"], + "payloads": ["895e7a6b9398", "dca464e5bca3", "4bb4179487e7"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a", + "issue-type-2": "eb79a9b3682a" + }, + "state": "9b25901e2435", + "effects": [ + "7b2465eedefe", + "34daaf185d9e", + "208468d41a71", + "02839f22d2db", + "d1bb762720d5", + "fed93fa7addb", + "6f4f9198e5ff", + "0f3697bbd111", + "c3317944bc82", + "99cdcb3796ac", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-fields.result-null:clear-field-settled", + "observation": { + "sender": ["d19660e0ba85", "c729dad3a433"], + "payloads": ["895e7a6b9398", "dca464e5bca3"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a" + }, + "state": "292291b21e81", + "effects": [ + "7b2465eedefe", + "34daaf185d9e", + "208468d41a71", + "02839f22d2db", + "d1bb762720d5", + "5278d0def4dc", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-fields.result-null:issue-type-settled", + "observation": { + "sender": ["d19660e0ba85", "c729dad3a433", "d8504a4a27ff"], + "payloads": ["895e7a6b9398", "dca464e5bca3", "4bb4179487e7"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a", + "issue-type-2": "eb79a9b3682a" + }, + "state": "674d1327dcc8", + "effects": [ + "7b2465eedefe", + "34daaf185d9e", + "208468d41a71", + "02839f22d2db", + "d1bb762720d5", + "5278d0def4dc", + "6f4f9198e5ff", + "0f3697bbd111", + "c3317944bc82", + "99cdcb3796ac", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-fields.inner-ok-missing:clear-field-settled", + "observation": { + "sender": ["d19660e0ba85", "d7d194b8694f"], + "payloads": ["895e7a6b9398", "dca464e5bca3"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a" + }, + "state": "68296a29ee63", + "effects": [ + "7b2465eedefe", + "34daaf185d9e", + "208468d41a71", + "02839f22d2db", + "d1bb762720d5", + "d74cf538de66", + "55107e6e9979", + "b2345144ca7e", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-fields.inner-ok-missing:issue-type-settled", + "observation": { + "sender": ["d19660e0ba85", "d7d194b8694f", "d8504a4a27ff"], + "payloads": ["895e7a6b9398", "dca464e5bca3", "4bb4179487e7"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a", + "issue-type-2": "eb79a9b3682a" + }, + "state": "de29905548eb", + "effects": [ + "7b2465eedefe", + "34daaf185d9e", + "208468d41a71", + "02839f22d2db", + "d1bb762720d5", + "d74cf538de66", + "55107e6e9979", + "b2345144ca7e", + "6f4f9198e5ff", + "0f3697bbd111", + "574da420bac4", + "824d5b4543f1", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-fields.inner-false-string-error:clear-field-settled", + "observation": { + "sender": ["d19660e0ba85", "e14ea8ebe65d"], + "payloads": ["895e7a6b9398", "dca464e5bca3"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a" + }, + "state": "6294f739146e", + "effects": [ + "7b2465eedefe", + "34daaf185d9e", + "208468d41a71", + "02839f22d2db", + "d1bb762720d5", + "1bd08607e7f8", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-fields.inner-false-string-error:issue-type-settled", + "observation": { + "sender": ["d19660e0ba85", "e14ea8ebe65d", "d8504a4a27ff"], + "payloads": ["895e7a6b9398", "dca464e5bca3", "4bb4179487e7"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a", + "issue-type-2": "eb79a9b3682a" + }, + "state": "c70cb6df3f9c", + "effects": [ + "7b2465eedefe", + "34daaf185d9e", + "208468d41a71", + "02839f22d2db", + "d1bb762720d5", + "1bd08607e7f8", + "6f4f9198e5ff", + "0f3697bbd111", + "c3317944bc82", + "99cdcb3796ac", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-fields.inner-false-object-error:clear-field-settled", + "observation": { + "sender": ["d19660e0ba85", "17d68b64c995"], + "payloads": ["895e7a6b9398", "dca464e5bca3"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a" + }, + "state": "3acce5b08290", + "effects": [ + "7b2465eedefe", + "34daaf185d9e", + "208468d41a71", + "02839f22d2db", + "d1bb762720d5", + "fe748dc95970", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-fields.inner-false-object-error:issue-type-settled", + "observation": { + "sender": ["d19660e0ba85", "17d68b64c995", "d8504a4a27ff"], + "payloads": ["895e7a6b9398", "dca464e5bca3", "4bb4179487e7"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a", + "issue-type-2": "eb79a9b3682a" + }, + "state": "bd34a3803a4e", + "effects": [ + "7b2465eedefe", + "34daaf185d9e", + "208468d41a71", + "02839f22d2db", + "d1bb762720d5", + "fe748dc95970", + "6f4f9198e5ff", + "0f3697bbd111", + "c3317944bc82", + "99cdcb3796ac", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-fields.outer-refused:clear-field-settled", + "observation": { + "sender": ["d19660e0ba85", "7aa05181323a"], + "payloads": ["895e7a6b9398", "dca464e5bca3"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a" + }, + "state": "5f110d72ade0", + "effects": [ + "7b2465eedefe", + "34daaf185d9e", + "208468d41a71", + "02839f22d2db", + "d1bb762720d5", + "466f8db9d238", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-fields.outer-refused:issue-type-settled", + "observation": { + "sender": ["d19660e0ba85", "7aa05181323a", "d8504a4a27ff"], + "payloads": ["895e7a6b9398", "dca464e5bca3", "4bb4179487e7"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a", + "issue-type-2": "eb79a9b3682a" + }, + "state": "cfc00f66b739", + "effects": [ + "7b2465eedefe", + "34daaf185d9e", + "208468d41a71", + "02839f22d2db", + "d1bb762720d5", + "466f8db9d238", + "6f4f9198e5ff", + "0f3697bbd111", + "c3317944bc82", + "99cdcb3796ac", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-fields.outer-refused-no-message:clear-field-settled", + "observation": { + "sender": ["d19660e0ba85", "31dba010fada"], + "payloads": ["895e7a6b9398", "dca464e5bca3"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a" + }, + "state": "424e9a1ae7ed", + "effects": [ + "7b2465eedefe", + "34daaf185d9e", + "208468d41a71", + "02839f22d2db", + "d1bb762720d5", + "8a1d11133692", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-fields.outer-refused-no-message:issue-type-settled", + "observation": { + "sender": ["d19660e0ba85", "31dba010fada", "d8504a4a27ff"], + "payloads": ["895e7a6b9398", "dca464e5bca3", "4bb4179487e7"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a", + "issue-type-2": "eb79a9b3682a" + }, + "state": "57a8b31d7765", + "effects": [ + "7b2465eedefe", + "34daaf185d9e", + "208468d41a71", + "02839f22d2db", + "d1bb762720d5", + "8a1d11133692", + "6f4f9198e5ff", + "0f3697bbd111", + "c3317944bc82", + "99cdcb3796ac", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-fields.method-not-found:clear-field-settled", + "observation": { + "sender": ["d19660e0ba85", "cdb1e0ec3294"], + "payloads": ["895e7a6b9398", "dca464e5bca3"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a" + }, + "state": "c668cb389101", + "effects": [ + "7b2465eedefe", + "34daaf185d9e", + "208468d41a71", + "02839f22d2db", + "d1bb762720d5", + "46b4c26d709a", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-fields.method-not-found:issue-type-settled", + "observation": { + "sender": ["d19660e0ba85", "cdb1e0ec3294", "d8504a4a27ff"], + "payloads": ["895e7a6b9398", "dca464e5bca3", "4bb4179487e7"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a", + "issue-type-2": "eb79a9b3682a" + }, + "state": "645856fd5e4f", + "effects": [ + "7b2465eedefe", + "34daaf185d9e", + "208468d41a71", + "02839f22d2db", + "d1bb762720d5", + "46b4c26d709a", + "6f4f9198e5ff", + "0f3697bbd111", + "c3317944bc82", + "99cdcb3796ac", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-fields.transport-rejection:clear-field-settled", + "observation": { + "sender": ["d19660e0ba85", "1c2300267a50"], + "payloads": ["895e7a6b9398", "dca464e5bca3"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a" + }, + "state": "11453f1749a4", + "effects": [ + "7b2465eedefe", + "34daaf185d9e", + "208468d41a71", + "02839f22d2db", + "d1bb762720d5", + "674a78fb6dfb", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-fields.transport-rejection:issue-type-settled", + "observation": { + "sender": ["d19660e0ba85", "1c2300267a50", "d8504a4a27ff"], + "payloads": ["895e7a6b9398", "dca464e5bca3", "4bb4179487e7"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a", + "issue-type-2": "eb79a9b3682a" + }, + "state": "311a2f79b43d", + "effects": [ + "7b2465eedefe", + "34daaf185d9e", + "208468d41a71", + "02839f22d2db", + "d1bb762720d5", + "674a78fb6dfb", + "6f4f9198e5ff", + "0f3697bbd111", + "c3317944bc82", + "99cdcb3796ac", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-fields.transport-rejection-no-message:clear-field-settled", + "observation": { + "sender": ["d19660e0ba85", "7da1fa6feb18"], + "payloads": ["895e7a6b9398", "dca464e5bca3"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a" + }, + "state": "424e9a1ae7ed", + "effects": [ + "7b2465eedefe", + "34daaf185d9e", + "208468d41a71", + "02839f22d2db", + "d1bb762720d5", + "8a1d11133692", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-fields.transport-rejection-no-message:issue-type-settled", + "observation": { + "sender": ["d19660e0ba85", "7da1fa6feb18", "d8504a4a27ff"], + "payloads": ["895e7a6b9398", "dca464e5bca3", "4bb4179487e7"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a", + "issue-type-2": "eb79a9b3682a" + }, + "state": "57a8b31d7765", + "effects": [ + "7b2465eedefe", + "34daaf185d9e", + "208468d41a71", + "02839f22d2db", + "d1bb762720d5", + "8a1d11133692", + "6f4f9198e5ff", + "0f3697bbd111", + "c3317944bc82", + "99cdcb3796ac", + "73c3051352c2" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-fields-github.project.updateissuetypebyslug-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-fields-github.project.updateissuetypebyslug-1.json new file mode 100644 index 00000000000..6096906fb3c --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-fields-github.project.updateissuetypebyslug-1.json @@ -0,0 +1,2243 @@ +{ + "operation": "tasks.project-row-fields", + "family": "tasks.project-row-fields", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "370aeaee59978071ccb821da13c9e6114936c168947b608539cdb80d40cc9889", + "scenarioSha256": "8ad021e101d8ef17ed47472a5fbfbeaebb2690a4040c89a0e9ee133e69e4fecd", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "02839f22d2db": { + "name": "projectMutating", + "value": false, + "sent": 1 + }, + "06f1fbeb0d68": { + "error": "inner refused", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "0f3697bbd111": { + "name": "projectMutating", + "value": true, + "sent": 2 + }, + "1b30471b40d2": { + "name": "projectRowDetailError", + "value": "inner refused", + "sent": 3 + }, + "1cac1b5d748f": { + "name": "github.project.updateIssueTypeBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueTypeBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "issueTypeId": "type-1", + "number": 1, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "208468d41a71": { + "name": "githubProjectTable", + "value": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "sent": 1 + }, + "347fa6adc9f3": { + "name": "projectRowDetailError", + "value": "", + "sent": 3 + }, + "34daaf185d9e": { + "name": "projectRowItem", + "value": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + "sent": 1 + }, + "410042a82391": { + "name": "github.project.updateIssueTypeBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueTypeBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "issueTypeId": "type-1", + "number": 1, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "4134e8c61d66": { + "name": "github.project.updateIssueTypeBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueTypeBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "issueTypeId": "type-1", + "number": 1, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "41896a7a7f79": { + "name": "github.project.updateIssueTypeBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueTypeBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "issueTypeId": "type-1", + "number": 1, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "424e9a1ae7ed": { + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "46c028c0d924": { + "name": "github.project.clearItemField#1", + "args": [ + { + "name": "method", + "value": "github.project.clearItemField" + }, + { + "name": "params", + "value": { + "fieldId": "field-1", + "host": "github.enterprise.test", + "itemId": "item-1", + "projectId": "project-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "4bb4179487e7": { + "name": "github.project.updateIssueTypeBySlug#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.updateIssueTypeBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\",\"number\":1,\"issueTypeId\":\"type-1\"}}" + }, + "4f9f6d6a111c": { + "error": "Unknown method", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "55107e6e9979": { + "name": "githubProjectTable", + "value": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "sent": 2 + }, + "56f10066f7c7": { + "error": "outer refused", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "574da420bac4": { + "name": "projectRowItem", + "value": { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + "sent": 3 + }, + "609b678e071d": { + "error": "Cannot read properties of null (reading 'ok')", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "63352559e8ae": { + "name": "github.project.updateIssueTypeBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueTypeBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "issueTypeId": "type-1", + "number": 1, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true + } + } + }, + "68296a29ee63": { + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "6a1a1849278e": { + "name": "github.project.updateIssueTypeBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueTypeBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "issueTypeId": "type-1", + "number": 1, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "6e1a42381897": { + "error": "", + "mutating": true, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "6f4f9198e5ff": { + "name": "projectMutating", + "value": false, + "sent": 2 + }, + "73c3051352c2": { + "name": "projectMutating", + "value": false, + "sent": 3 + }, + "7b2465eedefe": { + "name": "projectMutating", + "value": true, + "sent": 0 + }, + "7c1d7cf7bffa": { + "error": "Failed to update issue type", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "824d5b4543f1": { + "name": "githubProjectTable", + "value": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "sent": 3 + }, + "895e7a6b9398": { + "name": "github.project.updateItemField#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.updateItemField\",\"params\":{\"projectId\":\"project-1\",\"host\":\"github.enterprise.test\",\"itemId\":\"item-1\",\"fieldId\":\"field-1\",\"value\":{\"kind\":\"single-select\",\"optionId\":\"option-1\"}}}" + }, + "9138850642c5": { + "name": "projectRowDetailError", + "value": "outer refused", + "sent": 3 + }, + "979b91030a71": { + "error": "transport failure", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "aa3d456d5986": { + "name": "github.project.updateIssueTypeBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueTypeBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "issueTypeId": "type-1", + "number": 1, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-3", + "ok": false + } + } + }, + "ad112425d74f": { + "name": "github.project.updateIssueTypeBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueTypeBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "issueTypeId": "type-1", + "number": 1, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Connection closed", + "isRpcDeliveryUnknown": true + } + } + }, + "b2345144ca7e": { + "name": "projectFieldDrafts", + "value": { + "field-1": "" + }, + "sent": 2 + }, + "d19660e0ba85": { + "name": "github.project.updateItemField#1", + "args": [ + { + "name": "method", + "value": "github.project.updateItemField" + }, + { + "name": "params", + "value": { + "fieldId": "field-1", + "host": "github.enterprise.test", + "itemId": "item-1", + "projectId": "project-1", + "value": { + "kind": "single-select", + "optionId": "option-1" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "d1a1ddbea4f4": { + "name": "projectRowDetailError", + "value": "Failed to update issue type", + "sent": 3 + }, + "d1bb762720d5": { + "name": "projectMutating", + "value": true, + "sent": 1 + }, + "d72ea315da15": { + "name": "projectRowDetailError", + "value": "transport failure", + "sent": 3 + }, + "d74cf538de66": { + "name": "projectRowItem", + "value": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + "sent": 2 + }, + "d8504a4a27ff": { + "name": "github.project.updateIssueTypeBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueTypeBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "issueTypeId": "type-1", + "number": 1, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "d856c0886ca0": { + "name": "projectRowDetailError", + "value": "Unknown method", + "sent": 3 + }, + "dca464e5bca3": { + "name": "github.project.clearItemField#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.clearItemField\",\"params\":{\"projectId\":\"project-1\",\"host\":\"github.enterprise.test\",\"itemId\":\"item-1\",\"fieldId\":\"field-1\"}}" + }, + "de29905548eb": { + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "e44d4ff4fd2c": { + "name": "github.project.updateIssueTypeBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueTypeBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "issueTypeId": "type-1", + "number": 1, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-3", + "ok": false + } + } + }, + "e4b835fd05c7": { + "error": "Cannot read properties of undefined (reading 'ok')", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "e7d38ed5fb03": { + "name": "projectRowDetailError", + "value": "Cannot read properties of undefined (reading 'ok')", + "sent": 3 + }, + "eb612a2e1a87": { + "name": "projectRowDetailError", + "value": "Cannot read properties of null (reading 'ok')", + "sent": 3 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f37a9bff665c": { + "name": "projectRowDetailError", + "value": "Connection closed", + "sent": 3 + }, + "f4712f15d814": { + "name": "github.project.updateIssueTypeBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueTypeBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "issueTypeId": "type-1", + "number": 1, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-3", + "ok": false + } + } + }, + "f692cb94d5e5": { + "name": "github.project.updateIssueTypeBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueTypeBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "issueTypeId": "type-1", + "number": 1, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + } + }, + "recording": { + "scenario": "matrix-tasks.project-row-fields-github.project.updateissuetypebyslug-1", + "checkpoints": [ + { + "id": "tk-project-row-fields.prelude:set-field-settled", + "observation": { + "sender": ["d19660e0ba85"], + "payloads": ["895e7a6b9398"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a" + }, + "state": "424e9a1ae7ed", + "effects": ["7b2465eedefe", "34daaf185d9e", "208468d41a71", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-fields.prelude:clear-field-settled", + "observation": { + "sender": ["d19660e0ba85", "46c028c0d924"], + "payloads": ["895e7a6b9398", "dca464e5bca3"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a" + }, + "state": "68296a29ee63", + "effects": [ + "7b2465eedefe", + "34daaf185d9e", + "208468d41a71", + "02839f22d2db", + "d1bb762720d5", + "d74cf538de66", + "55107e6e9979", + "b2345144ca7e", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-fields.prelude:cleanup", + "observation": { + "sender": ["d19660e0ba85", "46c028c0d924", "ad112425d74f"], + "payloads": ["895e7a6b9398", "dca464e5bca3", "4bb4179487e7"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a", + "issue-type-2": "eb79a9b3682a" + }, + "state": "6e1a42381897", + "effects": [ + "7b2465eedefe", + "34daaf185d9e", + "208468d41a71", + "02839f22d2db", + "d1bb762720d5", + "d74cf538de66", + "55107e6e9979", + "b2345144ca7e", + "6f4f9198e5ff", + "0f3697bbd111", + "f37a9bff665c", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-fields.normal:issue-type-settled", + "observation": { + "sender": ["d19660e0ba85", "46c028c0d924", "d8504a4a27ff"], + "payloads": ["895e7a6b9398", "dca464e5bca3", "4bb4179487e7"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a", + "issue-type-2": "eb79a9b3682a" + }, + "state": "de29905548eb", + "effects": [ + "7b2465eedefe", + "34daaf185d9e", + "208468d41a71", + "02839f22d2db", + "d1bb762720d5", + "d74cf538de66", + "55107e6e9979", + "b2345144ca7e", + "6f4f9198e5ff", + "0f3697bbd111", + "574da420bac4", + "824d5b4543f1", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-fields.result-absent:issue-type-settled", + "observation": { + "sender": ["d19660e0ba85", "46c028c0d924", "63352559e8ae"], + "payloads": ["895e7a6b9398", "dca464e5bca3", "4bb4179487e7"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a", + "issue-type-2": "eb79a9b3682a" + }, + "state": "e4b835fd05c7", + "effects": [ + "7b2465eedefe", + "34daaf185d9e", + "208468d41a71", + "02839f22d2db", + "d1bb762720d5", + "d74cf538de66", + "55107e6e9979", + "b2345144ca7e", + "6f4f9198e5ff", + "0f3697bbd111", + "e7d38ed5fb03", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-fields.result-null:issue-type-settled", + "observation": { + "sender": ["d19660e0ba85", "46c028c0d924", "6a1a1849278e"], + "payloads": ["895e7a6b9398", "dca464e5bca3", "4bb4179487e7"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a", + "issue-type-2": "eb79a9b3682a" + }, + "state": "609b678e071d", + "effects": [ + "7b2465eedefe", + "34daaf185d9e", + "208468d41a71", + "02839f22d2db", + "d1bb762720d5", + "d74cf538de66", + "55107e6e9979", + "b2345144ca7e", + "6f4f9198e5ff", + "0f3697bbd111", + "eb612a2e1a87", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-fields.inner-ok-missing:issue-type-settled", + "observation": { + "sender": ["d19660e0ba85", "46c028c0d924", "410042a82391"], + "payloads": ["895e7a6b9398", "dca464e5bca3", "4bb4179487e7"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a", + "issue-type-2": "eb79a9b3682a" + }, + "state": "de29905548eb", + "effects": [ + "7b2465eedefe", + "34daaf185d9e", + "208468d41a71", + "02839f22d2db", + "d1bb762720d5", + "d74cf538de66", + "55107e6e9979", + "b2345144ca7e", + "6f4f9198e5ff", + "0f3697bbd111", + "574da420bac4", + "824d5b4543f1", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-fields.inner-false-string-error:issue-type-settled", + "observation": { + "sender": ["d19660e0ba85", "46c028c0d924", "1cac1b5d748f"], + "payloads": ["895e7a6b9398", "dca464e5bca3", "4bb4179487e7"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a", + "issue-type-2": "eb79a9b3682a" + }, + "state": "7c1d7cf7bffa", + "effects": [ + "7b2465eedefe", + "34daaf185d9e", + "208468d41a71", + "02839f22d2db", + "d1bb762720d5", + "d74cf538de66", + "55107e6e9979", + "b2345144ca7e", + "6f4f9198e5ff", + "0f3697bbd111", + "d1a1ddbea4f4", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-fields.inner-false-object-error:issue-type-settled", + "observation": { + "sender": ["d19660e0ba85", "46c028c0d924", "f692cb94d5e5"], + "payloads": ["895e7a6b9398", "dca464e5bca3", "4bb4179487e7"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a", + "issue-type-2": "eb79a9b3682a" + }, + "state": "06f1fbeb0d68", + "effects": [ + "7b2465eedefe", + "34daaf185d9e", + "208468d41a71", + "02839f22d2db", + "d1bb762720d5", + "d74cf538de66", + "55107e6e9979", + "b2345144ca7e", + "6f4f9198e5ff", + "0f3697bbd111", + "1b30471b40d2", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-fields.outer-refused:issue-type-settled", + "observation": { + "sender": ["d19660e0ba85", "46c028c0d924", "e44d4ff4fd2c"], + "payloads": ["895e7a6b9398", "dca464e5bca3", "4bb4179487e7"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a", + "issue-type-2": "eb79a9b3682a" + }, + "state": "56f10066f7c7", + "effects": [ + "7b2465eedefe", + "34daaf185d9e", + "208468d41a71", + "02839f22d2db", + "d1bb762720d5", + "d74cf538de66", + "55107e6e9979", + "b2345144ca7e", + "6f4f9198e5ff", + "0f3697bbd111", + "9138850642c5", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-fields.outer-refused-no-message:issue-type-settled", + "observation": { + "sender": ["d19660e0ba85", "46c028c0d924", "f4712f15d814"], + "payloads": ["895e7a6b9398", "dca464e5bca3", "4bb4179487e7"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a", + "issue-type-2": "eb79a9b3682a" + }, + "state": "68296a29ee63", + "effects": [ + "7b2465eedefe", + "34daaf185d9e", + "208468d41a71", + "02839f22d2db", + "d1bb762720d5", + "d74cf538de66", + "55107e6e9979", + "b2345144ca7e", + "6f4f9198e5ff", + "0f3697bbd111", + "347fa6adc9f3", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-fields.method-not-found:issue-type-settled", + "observation": { + "sender": ["d19660e0ba85", "46c028c0d924", "aa3d456d5986"], + "payloads": ["895e7a6b9398", "dca464e5bca3", "4bb4179487e7"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a", + "issue-type-2": "eb79a9b3682a" + }, + "state": "4f9f6d6a111c", + "effects": [ + "7b2465eedefe", + "34daaf185d9e", + "208468d41a71", + "02839f22d2db", + "d1bb762720d5", + "d74cf538de66", + "55107e6e9979", + "b2345144ca7e", + "6f4f9198e5ff", + "0f3697bbd111", + "d856c0886ca0", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-fields.transport-rejection:issue-type-settled", + "observation": { + "sender": ["d19660e0ba85", "46c028c0d924", "4134e8c61d66"], + "payloads": ["895e7a6b9398", "dca464e5bca3", "4bb4179487e7"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a", + "issue-type-2": "eb79a9b3682a" + }, + "state": "979b91030a71", + "effects": [ + "7b2465eedefe", + "34daaf185d9e", + "208468d41a71", + "02839f22d2db", + "d1bb762720d5", + "d74cf538de66", + "55107e6e9979", + "b2345144ca7e", + "6f4f9198e5ff", + "0f3697bbd111", + "d72ea315da15", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-fields.transport-rejection-no-message:issue-type-settled", + "observation": { + "sender": ["d19660e0ba85", "46c028c0d924", "41896a7a7f79"], + "payloads": ["895e7a6b9398", "dca464e5bca3", "4bb4179487e7"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a", + "issue-type-2": "eb79a9b3682a" + }, + "state": "68296a29ee63", + "effects": [ + "7b2465eedefe", + "34daaf185d9e", + "208468d41a71", + "02839f22d2db", + "d1bb762720d5", + "d74cf538de66", + "55107e6e9979", + "b2345144ca7e", + "6f4f9198e5ff", + "0f3697bbd111", + "347fa6adc9f3", + "73c3051352c2" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-fields-github.project.updateitemfield-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-fields-github.project.updateitemfield-1.json new file mode 100644 index 00000000000..d8d1034ee00 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-fields-github.project.updateitemfield-1.json @@ -0,0 +1,3134 @@ +{ + "operation": "tasks.project-row-fields", + "family": "tasks.project-row-fields", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "370aeaee59978071ccb821da13c9e6114936c168947b608539cdb80d40cc9889", + "scenarioSha256": "4d33ce12f3f35bea8a98fec2c0378e73caf7fbfb93085545e890b082a392cd60", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "02839f22d2db": { + "name": "projectMutating", + "value": false, + "sent": 1 + }, + "06f1fbeb0d68": { + "error": "inner refused", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "0ef970845cc7": { + "name": "projectRowDetailError", + "value": "outer refused", + "sent": 1 + }, + "0f3697bbd111": { + "name": "projectMutating", + "value": true, + "sent": 2 + }, + "0f6f9457ff9b": { + "error": "Cannot read properties of undefined (reading 'ok')", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "100344e42a25": { + "error": "Failed to update project field", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "1380b97742e8": { + "error": "Unknown method", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "152580ec9e5a": { + "name": "projectRowDetailError", + "value": "Unknown method", + "sent": 1 + }, + "208468d41a71": { + "name": "githubProjectTable", + "value": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "sent": 1 + }, + "34daaf185d9e": { + "name": "projectRowItem", + "value": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + "sent": 1 + }, + "3c5f3f30f302": { + "name": "github.project.updateItemField#1", + "args": [ + { + "name": "method", + "value": "github.project.updateItemField" + }, + { + "name": "params", + "value": { + "fieldId": "field-1", + "host": "github.enterprise.test", + "itemId": "item-1", + "projectId": "project-1", + "value": { + "kind": "single-select", + "optionId": "option-1" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "424e9a1ae7ed": { + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "4535ac294dad": { + "error": "Failed to update project field", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "46c028c0d924": { + "name": "github.project.clearItemField#1", + "args": [ + { + "name": "method", + "value": "github.project.clearItemField" + }, + { + "name": "params", + "value": { + "fieldId": "field-1", + "host": "github.enterprise.test", + "itemId": "item-1", + "projectId": "project-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "4bb4179487e7": { + "name": "github.project.updateIssueTypeBySlug#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.updateIssueTypeBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\",\"number\":1,\"issueTypeId\":\"type-1\"}}" + }, + "4c09a53c8150": { + "name": "projectRowDetailError", + "value": "Cannot read properties of undefined (reading 'ok')", + "sent": 1 + }, + "4f9f6d6a111c": { + "error": "Unknown method", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "55107e6e9979": { + "name": "githubProjectTable", + "value": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "sent": 2 + }, + "5547ae3de041": { + "name": "github.project.updateItemField#1", + "args": [ + { + "name": "method", + "value": "github.project.updateItemField" + }, + { + "name": "params", + "value": { + "fieldId": "field-1", + "host": "github.enterprise.test", + "itemId": "item-1", + "projectId": "project-1", + "value": { + "kind": "single-select", + "optionId": "option-1" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "56f10066f7c7": { + "error": "outer refused", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "574da420bac4": { + "name": "projectRowItem", + "value": { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + "sent": 3 + }, + "609b678e071d": { + "error": "Cannot read properties of null (reading 'ok')", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "643348172820": { + "name": "github.project.updateItemField#1", + "args": [ + { + "name": "method", + "value": "github.project.updateItemField" + }, + { + "name": "params", + "value": { + "fieldId": "field-1", + "host": "github.enterprise.test", + "itemId": "item-1", + "projectId": "project-1", + "value": { + "kind": "single-select", + "optionId": "option-1" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "6550473ac304": { + "error": "outer refused", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "68296a29ee63": { + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "69e0f833e426": { + "name": "github.project.updateItemField#1", + "args": [ + { + "name": "method", + "value": "github.project.updateItemField" + }, + { + "name": "params", + "value": { + "fieldId": "field-1", + "host": "github.enterprise.test", + "itemId": "item-1", + "projectId": "project-1", + "value": { + "kind": "single-select", + "optionId": "option-1" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "6f4f9198e5ff": { + "name": "projectMutating", + "value": false, + "sent": 2 + }, + "73c3051352c2": { + "name": "projectMutating", + "value": false, + "sent": 3 + }, + "7b2465eedefe": { + "name": "projectMutating", + "value": true, + "sent": 0 + }, + "807f89a51704": { + "error": "inner refused", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "8237b3a567bf": { + "name": "projectRowDetailError", + "value": "transport failure", + "sent": 1 + }, + "824d5b4543f1": { + "name": "githubProjectTable", + "value": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "sent": 3 + }, + "85f150b2df81": { + "name": "projectRowDetailError", + "value": "", + "sent": 1 + }, + "895e7a6b9398": { + "name": "github.project.updateItemField#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.updateItemField\",\"params\":{\"projectId\":\"project-1\",\"host\":\"github.enterprise.test\",\"itemId\":\"item-1\",\"fieldId\":\"field-1\",\"value\":{\"kind\":\"single-select\",\"optionId\":\"option-1\"}}}" + }, + "8a3a29ab638a": { + "name": "projectRowDetailError", + "value": "Failed to update project field", + "sent": 1 + }, + "9187aa80af70": { + "error": "Cannot read properties of null (reading 'ok')", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "979b91030a71": { + "error": "transport failure", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "9911f70b3a99": { + "name": "github.project.updateItemField#1", + "args": [ + { + "name": "method", + "value": "github.project.updateItemField" + }, + { + "name": "params", + "value": { + "fieldId": "field-1", + "host": "github.enterprise.test", + "itemId": "item-1", + "projectId": "project-1", + "value": { + "kind": "single-select", + "optionId": "option-1" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "a0bf6b16f0f6": { + "name": "github.project.updateItemField#1", + "args": [ + { + "name": "method", + "value": "github.project.updateItemField" + }, + { + "name": "params", + "value": { + "fieldId": "field-1", + "host": "github.enterprise.test", + "itemId": "item-1", + "projectId": "project-1", + "value": { + "kind": "single-select", + "optionId": "option-1" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "a7b76954b136": { + "name": "projectRowDetailError", + "value": "Cannot read properties of null (reading 'ok')", + "sent": 1 + }, + "b2345144ca7e": { + "name": "projectFieldDrafts", + "value": { + "field-1": "" + }, + "sent": 2 + }, + "c06c70888019": { + "name": "github.project.updateItemField#1", + "args": [ + { + "name": "method", + "value": "github.project.updateItemField" + }, + { + "name": "params", + "value": { + "fieldId": "field-1", + "host": "github.enterprise.test", + "itemId": "item-1", + "projectId": "project-1", + "value": { + "kind": "single-select", + "optionId": "option-1" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "d0b8df2afede": { + "name": "github.project.updateItemField#1", + "args": [ + { + "name": "method", + "value": "github.project.updateItemField" + }, + { + "name": "params", + "value": { + "fieldId": "field-1", + "host": "github.enterprise.test", + "itemId": "item-1", + "projectId": "project-1", + "value": { + "kind": "single-select", + "optionId": "option-1" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "d19660e0ba85": { + "name": "github.project.updateItemField#1", + "args": [ + { + "name": "method", + "value": "github.project.updateItemField" + }, + { + "name": "params", + "value": { + "fieldId": "field-1", + "host": "github.enterprise.test", + "itemId": "item-1", + "projectId": "project-1", + "value": { + "kind": "single-select", + "optionId": "option-1" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "d19825f17e38": { + "error": "transport failure", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "d1bb762720d5": { + "name": "projectMutating", + "value": true, + "sent": 1 + }, + "d3d3d8af379c": { + "name": "github.project.updateItemField#1", + "args": [ + { + "name": "method", + "value": "github.project.updateItemField" + }, + { + "name": "params", + "value": { + "fieldId": "field-1", + "host": "github.enterprise.test", + "itemId": "item-1", + "projectId": "project-1", + "value": { + "kind": "single-select", + "optionId": "option-1" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "d74cf538de66": { + "name": "projectRowItem", + "value": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + "sent": 2 + }, + "d8504a4a27ff": { + "name": "github.project.updateIssueTypeBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueTypeBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "issueTypeId": "type-1", + "number": 1, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "dca464e5bca3": { + "name": "github.project.clearItemField#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.clearItemField\",\"params\":{\"projectId\":\"project-1\",\"host\":\"github.enterprise.test\",\"itemId\":\"item-1\",\"fieldId\":\"field-1\"}}" + }, + "de29905548eb": { + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "e4b835fd05c7": { + "error": "Cannot read properties of undefined (reading 'ok')", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "e60a1b71cf8a": { + "name": "github.project.updateItemField#1", + "args": [ + { + "name": "method", + "value": "github.project.updateItemField" + }, + { + "name": "params", + "value": { + "fieldId": "field-1", + "host": "github.enterprise.test", + "itemId": "item-1", + "projectId": "project-1", + "value": { + "kind": "single-select", + "optionId": "option-1" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-1", + "ok": false + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "eff724250cc7": { + "name": "projectRowDetailError", + "value": "inner refused", + "sent": 1 + } + }, + "recording": { + "scenario": "matrix-tasks.project-row-fields-github.project.updateitemfield-1", + "checkpoints": [ + { + "id": "tk-project-row-fields.normal:set-field-settled", + "observation": { + "sender": ["d19660e0ba85"], + "payloads": ["895e7a6b9398"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a" + }, + "state": "424e9a1ae7ed", + "effects": ["7b2465eedefe", "34daaf185d9e", "208468d41a71", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-fields.normal:clear-field-settled", + "observation": { + "sender": ["d19660e0ba85", "46c028c0d924"], + "payloads": ["895e7a6b9398", "dca464e5bca3"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a" + }, + "state": "68296a29ee63", + "effects": [ + "7b2465eedefe", + "34daaf185d9e", + "208468d41a71", + "02839f22d2db", + "d1bb762720d5", + "d74cf538de66", + "55107e6e9979", + "b2345144ca7e", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-fields.normal:issue-type-settled", + "observation": { + "sender": ["d19660e0ba85", "46c028c0d924", "d8504a4a27ff"], + "payloads": ["895e7a6b9398", "dca464e5bca3", "4bb4179487e7"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a", + "issue-type-2": "eb79a9b3682a" + }, + "state": "de29905548eb", + "effects": [ + "7b2465eedefe", + "34daaf185d9e", + "208468d41a71", + "02839f22d2db", + "d1bb762720d5", + "d74cf538de66", + "55107e6e9979", + "b2345144ca7e", + "6f4f9198e5ff", + "0f3697bbd111", + "574da420bac4", + "824d5b4543f1", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-fields.result-absent:set-field-settled", + "observation": { + "sender": ["9911f70b3a99"], + "payloads": ["895e7a6b9398"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a" + }, + "state": "e4b835fd05c7", + "effects": ["7b2465eedefe", "4c09a53c8150", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-fields.result-absent:clear-field-settled", + "observation": { + "sender": ["9911f70b3a99", "46c028c0d924"], + "payloads": ["895e7a6b9398", "dca464e5bca3"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a" + }, + "state": "e4b835fd05c7", + "effects": [ + "7b2465eedefe", + "4c09a53c8150", + "02839f22d2db", + "d1bb762720d5", + "d74cf538de66", + "55107e6e9979", + "b2345144ca7e", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-fields.result-absent:issue-type-settled", + "observation": { + "sender": ["9911f70b3a99", "46c028c0d924", "d8504a4a27ff"], + "payloads": ["895e7a6b9398", "dca464e5bca3", "4bb4179487e7"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a", + "issue-type-2": "eb79a9b3682a" + }, + "state": "0f6f9457ff9b", + "effects": [ + "7b2465eedefe", + "4c09a53c8150", + "02839f22d2db", + "d1bb762720d5", + "d74cf538de66", + "55107e6e9979", + "b2345144ca7e", + "6f4f9198e5ff", + "0f3697bbd111", + "574da420bac4", + "824d5b4543f1", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-fields.result-null:set-field-settled", + "observation": { + "sender": ["69e0f833e426"], + "payloads": ["895e7a6b9398"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a" + }, + "state": "609b678e071d", + "effects": ["7b2465eedefe", "a7b76954b136", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-fields.result-null:clear-field-settled", + "observation": { + "sender": ["69e0f833e426", "46c028c0d924"], + "payloads": ["895e7a6b9398", "dca464e5bca3"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a" + }, + "state": "609b678e071d", + "effects": [ + "7b2465eedefe", + "a7b76954b136", + "02839f22d2db", + "d1bb762720d5", + "d74cf538de66", + "55107e6e9979", + "b2345144ca7e", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-fields.result-null:issue-type-settled", + "observation": { + "sender": ["69e0f833e426", "46c028c0d924", "d8504a4a27ff"], + "payloads": ["895e7a6b9398", "dca464e5bca3", "4bb4179487e7"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a", + "issue-type-2": "eb79a9b3682a" + }, + "state": "9187aa80af70", + "effects": [ + "7b2465eedefe", + "a7b76954b136", + "02839f22d2db", + "d1bb762720d5", + "d74cf538de66", + "55107e6e9979", + "b2345144ca7e", + "6f4f9198e5ff", + "0f3697bbd111", + "574da420bac4", + "824d5b4543f1", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-fields.inner-ok-missing:set-field-settled", + "observation": { + "sender": ["d0b8df2afede"], + "payloads": ["895e7a6b9398"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a" + }, + "state": "424e9a1ae7ed", + "effects": ["7b2465eedefe", "34daaf185d9e", "208468d41a71", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-fields.inner-ok-missing:clear-field-settled", + "observation": { + "sender": ["d0b8df2afede", "46c028c0d924"], + "payloads": ["895e7a6b9398", "dca464e5bca3"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a" + }, + "state": "68296a29ee63", + "effects": [ + "7b2465eedefe", + "34daaf185d9e", + "208468d41a71", + "02839f22d2db", + "d1bb762720d5", + "d74cf538de66", + "55107e6e9979", + "b2345144ca7e", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-fields.inner-ok-missing:issue-type-settled", + "observation": { + "sender": ["d0b8df2afede", "46c028c0d924", "d8504a4a27ff"], + "payloads": ["895e7a6b9398", "dca464e5bca3", "4bb4179487e7"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a", + "issue-type-2": "eb79a9b3682a" + }, + "state": "de29905548eb", + "effects": [ + "7b2465eedefe", + "34daaf185d9e", + "208468d41a71", + "02839f22d2db", + "d1bb762720d5", + "d74cf538de66", + "55107e6e9979", + "b2345144ca7e", + "6f4f9198e5ff", + "0f3697bbd111", + "574da420bac4", + "824d5b4543f1", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-fields.inner-false-string-error:set-field-settled", + "observation": { + "sender": ["5547ae3de041"], + "payloads": ["895e7a6b9398"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a" + }, + "state": "100344e42a25", + "effects": ["7b2465eedefe", "8a3a29ab638a", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-fields.inner-false-string-error:clear-field-settled", + "observation": { + "sender": ["5547ae3de041", "46c028c0d924"], + "payloads": ["895e7a6b9398", "dca464e5bca3"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a" + }, + "state": "100344e42a25", + "effects": [ + "7b2465eedefe", + "8a3a29ab638a", + "02839f22d2db", + "d1bb762720d5", + "d74cf538de66", + "55107e6e9979", + "b2345144ca7e", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-fields.inner-false-string-error:issue-type-settled", + "observation": { + "sender": ["5547ae3de041", "46c028c0d924", "d8504a4a27ff"], + "payloads": ["895e7a6b9398", "dca464e5bca3", "4bb4179487e7"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a", + "issue-type-2": "eb79a9b3682a" + }, + "state": "4535ac294dad", + "effects": [ + "7b2465eedefe", + "8a3a29ab638a", + "02839f22d2db", + "d1bb762720d5", + "d74cf538de66", + "55107e6e9979", + "b2345144ca7e", + "6f4f9198e5ff", + "0f3697bbd111", + "574da420bac4", + "824d5b4543f1", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-fields.inner-false-object-error:set-field-settled", + "observation": { + "sender": ["3c5f3f30f302"], + "payloads": ["895e7a6b9398"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a" + }, + "state": "06f1fbeb0d68", + "effects": ["7b2465eedefe", "eff724250cc7", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-fields.inner-false-object-error:clear-field-settled", + "observation": { + "sender": ["3c5f3f30f302", "46c028c0d924"], + "payloads": ["895e7a6b9398", "dca464e5bca3"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a" + }, + "state": "06f1fbeb0d68", + "effects": [ + "7b2465eedefe", + "eff724250cc7", + "02839f22d2db", + "d1bb762720d5", + "d74cf538de66", + "55107e6e9979", + "b2345144ca7e", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-fields.inner-false-object-error:issue-type-settled", + "observation": { + "sender": ["3c5f3f30f302", "46c028c0d924", "d8504a4a27ff"], + "payloads": ["895e7a6b9398", "dca464e5bca3", "4bb4179487e7"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a", + "issue-type-2": "eb79a9b3682a" + }, + "state": "807f89a51704", + "effects": [ + "7b2465eedefe", + "eff724250cc7", + "02839f22d2db", + "d1bb762720d5", + "d74cf538de66", + "55107e6e9979", + "b2345144ca7e", + "6f4f9198e5ff", + "0f3697bbd111", + "574da420bac4", + "824d5b4543f1", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-fields.outer-refused:set-field-settled", + "observation": { + "sender": ["d3d3d8af379c"], + "payloads": ["895e7a6b9398"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a" + }, + "state": "56f10066f7c7", + "effects": ["7b2465eedefe", "0ef970845cc7", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-fields.outer-refused:clear-field-settled", + "observation": { + "sender": ["d3d3d8af379c", "46c028c0d924"], + "payloads": ["895e7a6b9398", "dca464e5bca3"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a" + }, + "state": "56f10066f7c7", + "effects": [ + "7b2465eedefe", + "0ef970845cc7", + "02839f22d2db", + "d1bb762720d5", + "d74cf538de66", + "55107e6e9979", + "b2345144ca7e", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-fields.outer-refused:issue-type-settled", + "observation": { + "sender": ["d3d3d8af379c", "46c028c0d924", "d8504a4a27ff"], + "payloads": ["895e7a6b9398", "dca464e5bca3", "4bb4179487e7"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a", + "issue-type-2": "eb79a9b3682a" + }, + "state": "6550473ac304", + "effects": [ + "7b2465eedefe", + "0ef970845cc7", + "02839f22d2db", + "d1bb762720d5", + "d74cf538de66", + "55107e6e9979", + "b2345144ca7e", + "6f4f9198e5ff", + "0f3697bbd111", + "574da420bac4", + "824d5b4543f1", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-fields.outer-refused-no-message:set-field-settled", + "observation": { + "sender": ["c06c70888019"], + "payloads": ["895e7a6b9398"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a" + }, + "state": "68296a29ee63", + "effects": ["7b2465eedefe", "85f150b2df81", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-fields.outer-refused-no-message:clear-field-settled", + "observation": { + "sender": ["c06c70888019", "46c028c0d924"], + "payloads": ["895e7a6b9398", "dca464e5bca3"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a" + }, + "state": "68296a29ee63", + "effects": [ + "7b2465eedefe", + "85f150b2df81", + "02839f22d2db", + "d1bb762720d5", + "d74cf538de66", + "55107e6e9979", + "b2345144ca7e", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-fields.outer-refused-no-message:issue-type-settled", + "observation": { + "sender": ["c06c70888019", "46c028c0d924", "d8504a4a27ff"], + "payloads": ["895e7a6b9398", "dca464e5bca3", "4bb4179487e7"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a", + "issue-type-2": "eb79a9b3682a" + }, + "state": "de29905548eb", + "effects": [ + "7b2465eedefe", + "85f150b2df81", + "02839f22d2db", + "d1bb762720d5", + "d74cf538de66", + "55107e6e9979", + "b2345144ca7e", + "6f4f9198e5ff", + "0f3697bbd111", + "574da420bac4", + "824d5b4543f1", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-fields.method-not-found:set-field-settled", + "observation": { + "sender": ["e60a1b71cf8a"], + "payloads": ["895e7a6b9398"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a" + }, + "state": "4f9f6d6a111c", + "effects": ["7b2465eedefe", "152580ec9e5a", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-fields.method-not-found:clear-field-settled", + "observation": { + "sender": ["e60a1b71cf8a", "46c028c0d924"], + "payloads": ["895e7a6b9398", "dca464e5bca3"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a" + }, + "state": "4f9f6d6a111c", + "effects": [ + "7b2465eedefe", + "152580ec9e5a", + "02839f22d2db", + "d1bb762720d5", + "d74cf538de66", + "55107e6e9979", + "b2345144ca7e", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-fields.method-not-found:issue-type-settled", + "observation": { + "sender": ["e60a1b71cf8a", "46c028c0d924", "d8504a4a27ff"], + "payloads": ["895e7a6b9398", "dca464e5bca3", "4bb4179487e7"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a", + "issue-type-2": "eb79a9b3682a" + }, + "state": "1380b97742e8", + "effects": [ + "7b2465eedefe", + "152580ec9e5a", + "02839f22d2db", + "d1bb762720d5", + "d74cf538de66", + "55107e6e9979", + "b2345144ca7e", + "6f4f9198e5ff", + "0f3697bbd111", + "574da420bac4", + "824d5b4543f1", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-fields.transport-rejection:set-field-settled", + "observation": { + "sender": ["a0bf6b16f0f6"], + "payloads": ["895e7a6b9398"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a" + }, + "state": "979b91030a71", + "effects": ["7b2465eedefe", "8237b3a567bf", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-fields.transport-rejection:clear-field-settled", + "observation": { + "sender": ["a0bf6b16f0f6", "46c028c0d924"], + "payloads": ["895e7a6b9398", "dca464e5bca3"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a" + }, + "state": "979b91030a71", + "effects": [ + "7b2465eedefe", + "8237b3a567bf", + "02839f22d2db", + "d1bb762720d5", + "d74cf538de66", + "55107e6e9979", + "b2345144ca7e", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-fields.transport-rejection:issue-type-settled", + "observation": { + "sender": ["a0bf6b16f0f6", "46c028c0d924", "d8504a4a27ff"], + "payloads": ["895e7a6b9398", "dca464e5bca3", "4bb4179487e7"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a", + "issue-type-2": "eb79a9b3682a" + }, + "state": "d19825f17e38", + "effects": [ + "7b2465eedefe", + "8237b3a567bf", + "02839f22d2db", + "d1bb762720d5", + "d74cf538de66", + "55107e6e9979", + "b2345144ca7e", + "6f4f9198e5ff", + "0f3697bbd111", + "574da420bac4", + "824d5b4543f1", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-fields.transport-rejection-no-message:set-field-settled", + "observation": { + "sender": ["643348172820"], + "payloads": ["895e7a6b9398"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a" + }, + "state": "68296a29ee63", + "effects": ["7b2465eedefe", "85f150b2df81", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-fields.transport-rejection-no-message:clear-field-settled", + "observation": { + "sender": ["643348172820", "46c028c0d924"], + "payloads": ["895e7a6b9398", "dca464e5bca3"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a" + }, + "state": "68296a29ee63", + "effects": [ + "7b2465eedefe", + "85f150b2df81", + "02839f22d2db", + "d1bb762720d5", + "d74cf538de66", + "55107e6e9979", + "b2345144ca7e", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-fields.transport-rejection-no-message:issue-type-settled", + "observation": { + "sender": ["643348172820", "46c028c0d924", "d8504a4a27ff"], + "payloads": ["895e7a6b9398", "dca464e5bca3", "4bb4179487e7"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a", + "issue-type-2": "eb79a9b3682a" + }, + "state": "de29905548eb", + "effects": [ + "7b2465eedefe", + "85f150b2df81", + "02839f22d2db", + "d1bb762720d5", + "d74cf538de66", + "55107e6e9979", + "b2345144ca7e", + "6f4f9198e5ff", + "0f3697bbd111", + "574da420bac4", + "824d5b4543f1", + "73c3051352c2" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-files-merge-github.addprreviewcomment-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-files-merge-github.addprreviewcomment-1.json new file mode 100644 index 00000000000..d768ef6fb1a --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-files-merge-github.addprreviewcomment-1.json @@ -0,0 +1,2952 @@ +{ + "operation": "tasks.project-row-files-merge", + "family": "tasks.project-row-files-merge", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "b228732762828412ad3d9eec3ece00a897d866046e37044322c3911758d6e0a9", + "scenarioSha256": "0cec6c7e6322135772132c15af4f5cec7ddc667ba3476ad871ed92625293036f", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "02509b3a87d5": { + "name": "github.updateIssue#1", + "args": [ + { + "name": "method", + "value": "github.updateIssue" + }, + { + "name": "params", + "value": { + "number": 9, + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "02b52513bb0d": { + "name": "mutatingStatus", + "value": true, + "sent": 4 + }, + "065a8cd07789": { + "name": "prFileContents", + "value": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "sent": 1 + }, + "06d1e3906e8b": { + "name": "github.addPRReviewComment#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewComment" + }, + { + "name": "params", + "value": { + "body": "a review comment", + "commitId": "head-sha", + "line": 12, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "06d558d172f7": { + "name": "github.updatePRState#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.updatePRState\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"updates\":{\"state\":\"closed\"}}}" + }, + "06eb2ab576a1": { + "name": "projectRowDetailError", + "value": "[object Object]", + "sent": 2 + }, + "0735075cd3b2": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "error": "Unknown method", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "0a7c13874fce": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "error": "[object Object]", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "0be9101a1dfc": { + "name": "mutatingStatus", + "value": true, + "sent": 3 + }, + "0d3abde11044": { + "name": "projectRowDetailError", + "value": "Connection closed", + "sent": 2 + }, + "0e34127a891f": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a review comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "local-1767225600000", + "line": 12, + "path": "src/index.ts" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 2 + }, + "0f3697bbd111": { + "name": "projectMutating", + "value": true, + "sent": 2 + }, + "13ab8771d5c0": { + "name": "github.updatePRState#1", + "args": [ + { + "name": "method", + "value": "github.updatePRState" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "18ffd2f97a51": { + "name": "prFileCommentDrafts", + "value": {}, + "sent": 2 + }, + "1cd93d62cbf1": { + "name": "github.addPRReviewComment#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewComment" + }, + { + "name": "params", + "value": { + "body": "a review comment", + "commitId": "head-sha", + "line": 12, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "1e34370849ff": { + "name": "error", + "value": "", + "sent": 4 + }, + "251de2865843": { + "name": "github.mergePR#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.mergePR\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":2,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"method\":\"squash\"}}" + }, + "252f3a25533f": { + "name": "actionItem", + "value": { + "$rpc": "null" + }, + "sent": 5 + }, + "287030eca79a": { + "name": "prFileLoadingPath", + "value": "src/index.ts", + "sent": 0 + }, + "29ab02f35956": { + "name": "github.prFileContents#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.prFileContents\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":2,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"path\":\"src/index.ts\",\"status\":\"modified\",\"headSha\":\"head-sha\",\"baseSha\":\"base-sha\"}}" + }, + "359e5860abb8": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "396f274f2717": { + "name": "githubProjectTable", + "value": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "name": "Status", + "options": [] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "MERGED", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "sent": 3 + }, + "3c2e1eec734d": { + "name": "github.addPRReviewComment#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewComment" + }, + { + "name": "params", + "value": { + "body": "a review comment", + "commitId": "head-sha", + "line": 12, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "421abd55bc0e": { + "name": "projectRowItem", + "value": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "MERGED", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + }, + "sent": 3 + }, + "466f8db9d238": { + "name": "projectRowDetailError", + "value": "outer refused", + "sent": 2 + }, + "46b4c26d709a": { + "name": "projectRowDetailError", + "value": "Unknown method", + "sent": 2 + }, + "4737ca53031e": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "MERGED", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "4d1d017cea91": { + "name": "github.addPRReviewComment#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.addPRReviewComment\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":2,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"commitId\":\"head-sha\",\"path\":\"src/index.ts\",\"line\":12,\"body\":\"a review comment\"}}" + }, + "523d69c87953": { + "name": "github.addPRReviewComment#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewComment" + }, + { + "name": "params", + "value": { + "body": "a review comment", + "commitId": "head-sha", + "line": 12, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "5278d0def4dc": { + "name": "projectRowDetailError", + "value": "Cannot read properties of null (reading 'ok')", + "sent": 2 + }, + "5467502970f1": { + "name": "mutatingStatus", + "value": false, + "sent": 5 + }, + "5ea47b04351c": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "error": "inner refused", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "674a78fb6dfb": { + "name": "projectRowDetailError", + "value": "transport failure", + "sent": 2 + }, + "6f4f9198e5ff": { + "name": "projectMutating", + "value": false, + "sent": 2 + }, + "70678ab6df9a": { + "name": "mutatingStatus", + "value": false, + "sent": 4 + }, + "73a4d4d7ddfb": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "error": "transport failure", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "73c3051352c2": { + "name": "projectMutating", + "value": false, + "sent": 3 + }, + "7583b52fa89a": { + "name": "github.addPRReviewComment#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewComment" + }, + { + "name": "params", + "value": { + "body": "a review comment", + "commitId": "head-sha", + "line": 12, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Connection closed", + "isRpcDeliveryUnknown": true + } + } + }, + "80d38ca65a5d": { + "name": "projectRowDetailError", + "value": "", + "sent": 0 + }, + "85f150b2df81": { + "name": "projectRowDetailError", + "value": "", + "sent": 1 + }, + "888469387359": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "error": "", + "mutating": true, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "8a1d11133692": { + "name": "projectRowDetailError", + "value": "", + "sent": 2 + }, + "8aa4781c9f62": { + "name": "github.addPRReviewComment#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewComment" + }, + { + "name": "params", + "value": { + "body": "a review comment", + "commitId": "head-sha", + "line": 12, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "97a226118637": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "error": "Cannot read properties of undefined (reading 'ok')", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "983f236234aa": { + "name": "github.addPRReviewComment#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewComment" + }, + { + "name": "params", + "value": { + "body": "a review comment", + "commitId": "head-sha", + "line": 12, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "ab7c5c2480a4": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "error": "Cannot read properties of null (reading 'ok')", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "acad7a1dbf23": { + "name": "github.addPRReviewComment#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewComment" + }, + { + "name": "params", + "value": { + "body": "a review comment", + "commitId": "head-sha", + "line": 12, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "b54d23ad8fa5": { + "name": "github.addPRReviewComment#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewComment" + }, + { + "name": "params", + "value": { + "body": "a review comment", + "commitId": "head-sha", + "line": 12, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "c02d6dba8a29": { + "name": "github.updateIssue#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.updateIssue\",\"params\":{\"repo\":\"id:repo-1\",\"number\":9,\"updates\":{\"state\":\"closed\"}}}" + }, + "c22bc4151f3c": { + "name": "actionItem", + "value": { + "$rpc": "null" + }, + "sent": 4 + }, + "c274925d7845": { + "name": "github.addPRReviewComment#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewComment" + }, + { + "name": "params", + "value": { + "body": "a review comment", + "commitId": "head-sha", + "line": 12, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "comment": { + "author": "You", + "body": "a review comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 901, + "line": 12, + "path": "src/index.ts" + }, + "ok": true + } + } + } + }, + "cb3d443fc9be": { + "name": "github.prFileContents#1", + "args": [ + { + "name": "method", + "value": "github.prFileContents" + }, + { + "name": "params", + "value": { + "baseSha": "base-sha", + "headSha": "head-sha", + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "status": "modified" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + } + } + }, + "cb79f3d4a1da": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "error": "outer refused", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "d1bb762720d5": { + "name": "projectMutating", + "value": true, + "sent": 1 + }, + "d632883158cc": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a review comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 901, + "line": 12, + "path": "src/index.ts" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 2 + }, + "dbbebbd74a18": { + "name": "error", + "value": "", + "sent": 3 + }, + "dc1b4dd901b7": { + "name": "github.addPRReviewComment#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewComment" + }, + { + "name": "params", + "value": { + "body": "a review comment", + "commitId": "head-sha", + "line": 12, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "e02a62a4ddf5": { + "name": "expandedPrFilePath", + "value": "src/index.ts", + "sent": 0 + }, + "e8f51e29a7d9": { + "name": "github.addPRReviewComment#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewComment" + }, + { + "name": "params", + "value": { + "body": "a review comment", + "commitId": "head-sha", + "line": 12, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f070b17abcde": { + "name": "prFileLoadingPath", + "value": { + "$rpc": "null" + }, + "sent": 1 + }, + "fdf15056fb68": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "fe748dc95970": { + "name": "projectRowDetailError", + "value": "inner refused", + "sent": 2 + }, + "fed93fa7addb": { + "name": "projectRowDetailError", + "value": "Cannot read properties of undefined (reading 'ok')", + "sent": 2 + } + }, + "recording": { + "scenario": "matrix-tasks.project-row-files-merge-github.addprreviewcomment-1", + "checkpoints": [ + { + "id": "tk-project-row-files-merge.prelude:expand-settled", + "observation": { + "sender": ["cb3d443fc9be"], + "payloads": ["29ab02f35956"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a" + }, + "state": "fdf15056fb68", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde" + ] + } + }, + { + "id": "tk-project-row-files-merge.prelude:cleanup", + "observation": { + "sender": ["cb3d443fc9be", "7583b52fa89a"], + "payloads": ["29ab02f35956", "4d1d017cea91"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a" + }, + "state": "888469387359", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "0d3abde11044", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-files-merge.normal:file-comment-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845"], + "payloads": ["29ab02f35956", "4d1d017cea91"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a" + }, + "state": "fdf15056fb68", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-files-merge.normal:merge-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845", "359e5860abb8"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-files-merge.normal:issue-state-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845", "359e5860abb8", "02509b3a87d5"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-project-row-files-merge.normal:pr-state-settled", + "observation": { + "sender": [ + "cb3d443fc9be", + "c274925d7845", + "359e5860abb8", + "02509b3a87d5", + "13ab8771d5c0" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.result-absent:file-comment-settled", + "observation": { + "sender": ["cb3d443fc9be", "1cd93d62cbf1"], + "payloads": ["29ab02f35956", "4d1d017cea91"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a" + }, + "state": "97a226118637", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "fed93fa7addb", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-files-merge.result-absent:merge-settled", + "observation": { + "sender": ["cb3d443fc9be", "1cd93d62cbf1", "359e5860abb8"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "fed93fa7addb", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-files-merge.result-absent:issue-state-settled", + "observation": { + "sender": ["cb3d443fc9be", "1cd93d62cbf1", "359e5860abb8", "02509b3a87d5"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "fed93fa7addb", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-project-row-files-merge.result-absent:pr-state-settled", + "observation": { + "sender": [ + "cb3d443fc9be", + "1cd93d62cbf1", + "359e5860abb8", + "02509b3a87d5", + "13ab8771d5c0" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "fed93fa7addb", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.result-null:file-comment-settled", + "observation": { + "sender": ["cb3d443fc9be", "523d69c87953"], + "payloads": ["29ab02f35956", "4d1d017cea91"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a" + }, + "state": "ab7c5c2480a4", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "5278d0def4dc", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-files-merge.result-null:merge-settled", + "observation": { + "sender": ["cb3d443fc9be", "523d69c87953", "359e5860abb8"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "5278d0def4dc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-files-merge.result-null:issue-state-settled", + "observation": { + "sender": ["cb3d443fc9be", "523d69c87953", "359e5860abb8", "02509b3a87d5"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "5278d0def4dc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-project-row-files-merge.result-null:pr-state-settled", + "observation": { + "sender": [ + "cb3d443fc9be", + "523d69c87953", + "359e5860abb8", + "02509b3a87d5", + "13ab8771d5c0" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "5278d0def4dc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.inner-ok-missing:file-comment-settled", + "observation": { + "sender": ["cb3d443fc9be", "8aa4781c9f62"], + "payloads": ["29ab02f35956", "4d1d017cea91"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a" + }, + "state": "fdf15056fb68", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "0e34127a891f", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-files-merge.inner-ok-missing:merge-settled", + "observation": { + "sender": ["cb3d443fc9be", "8aa4781c9f62", "359e5860abb8"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "0e34127a891f", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-files-merge.inner-ok-missing:issue-state-settled", + "observation": { + "sender": ["cb3d443fc9be", "8aa4781c9f62", "359e5860abb8", "02509b3a87d5"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "0e34127a891f", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-project-row-files-merge.inner-ok-missing:pr-state-settled", + "observation": { + "sender": [ + "cb3d443fc9be", + "8aa4781c9f62", + "359e5860abb8", + "02509b3a87d5", + "13ab8771d5c0" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "0e34127a891f", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.inner-false-string-error:file-comment-settled", + "observation": { + "sender": ["cb3d443fc9be", "dc1b4dd901b7"], + "payloads": ["29ab02f35956", "4d1d017cea91"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a" + }, + "state": "5ea47b04351c", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "fe748dc95970", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-files-merge.inner-false-string-error:merge-settled", + "observation": { + "sender": ["cb3d443fc9be", "dc1b4dd901b7", "359e5860abb8"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "fe748dc95970", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-files-merge.inner-false-string-error:issue-state-settled", + "observation": { + "sender": ["cb3d443fc9be", "dc1b4dd901b7", "359e5860abb8", "02509b3a87d5"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "fe748dc95970", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-project-row-files-merge.inner-false-string-error:pr-state-settled", + "observation": { + "sender": [ + "cb3d443fc9be", + "dc1b4dd901b7", + "359e5860abb8", + "02509b3a87d5", + "13ab8771d5c0" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "fe748dc95970", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.inner-false-object-error:file-comment-settled", + "observation": { + "sender": ["cb3d443fc9be", "3c2e1eec734d"], + "payloads": ["29ab02f35956", "4d1d017cea91"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a" + }, + "state": "0a7c13874fce", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "06eb2ab576a1", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-files-merge.inner-false-object-error:merge-settled", + "observation": { + "sender": ["cb3d443fc9be", "3c2e1eec734d", "359e5860abb8"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "06eb2ab576a1", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-files-merge.inner-false-object-error:issue-state-settled", + "observation": { + "sender": ["cb3d443fc9be", "3c2e1eec734d", "359e5860abb8", "02509b3a87d5"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "06eb2ab576a1", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-project-row-files-merge.inner-false-object-error:pr-state-settled", + "observation": { + "sender": [ + "cb3d443fc9be", + "3c2e1eec734d", + "359e5860abb8", + "02509b3a87d5", + "13ab8771d5c0" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "06eb2ab576a1", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.outer-refused:file-comment-settled", + "observation": { + "sender": ["cb3d443fc9be", "983f236234aa"], + "payloads": ["29ab02f35956", "4d1d017cea91"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a" + }, + "state": "cb79f3d4a1da", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "466f8db9d238", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-files-merge.outer-refused:merge-settled", + "observation": { + "sender": ["cb3d443fc9be", "983f236234aa", "359e5860abb8"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "466f8db9d238", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-files-merge.outer-refused:issue-state-settled", + "observation": { + "sender": ["cb3d443fc9be", "983f236234aa", "359e5860abb8", "02509b3a87d5"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "466f8db9d238", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-project-row-files-merge.outer-refused:pr-state-settled", + "observation": { + "sender": [ + "cb3d443fc9be", + "983f236234aa", + "359e5860abb8", + "02509b3a87d5", + "13ab8771d5c0" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "466f8db9d238", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.outer-refused-no-message:file-comment-settled", + "observation": { + "sender": ["cb3d443fc9be", "e8f51e29a7d9"], + "payloads": ["29ab02f35956", "4d1d017cea91"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a" + }, + "state": "fdf15056fb68", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "8a1d11133692", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-files-merge.outer-refused-no-message:merge-settled", + "observation": { + "sender": ["cb3d443fc9be", "e8f51e29a7d9", "359e5860abb8"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "8a1d11133692", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-files-merge.outer-refused-no-message:issue-state-settled", + "observation": { + "sender": ["cb3d443fc9be", "e8f51e29a7d9", "359e5860abb8", "02509b3a87d5"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "8a1d11133692", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-project-row-files-merge.outer-refused-no-message:pr-state-settled", + "observation": { + "sender": [ + "cb3d443fc9be", + "e8f51e29a7d9", + "359e5860abb8", + "02509b3a87d5", + "13ab8771d5c0" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "8a1d11133692", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.method-not-found:file-comment-settled", + "observation": { + "sender": ["cb3d443fc9be", "b54d23ad8fa5"], + "payloads": ["29ab02f35956", "4d1d017cea91"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a" + }, + "state": "0735075cd3b2", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "46b4c26d709a", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-files-merge.method-not-found:merge-settled", + "observation": { + "sender": ["cb3d443fc9be", "b54d23ad8fa5", "359e5860abb8"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "46b4c26d709a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-files-merge.method-not-found:issue-state-settled", + "observation": { + "sender": ["cb3d443fc9be", "b54d23ad8fa5", "359e5860abb8", "02509b3a87d5"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "46b4c26d709a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-project-row-files-merge.method-not-found:pr-state-settled", + "observation": { + "sender": [ + "cb3d443fc9be", + "b54d23ad8fa5", + "359e5860abb8", + "02509b3a87d5", + "13ab8771d5c0" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "46b4c26d709a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.transport-rejection:file-comment-settled", + "observation": { + "sender": ["cb3d443fc9be", "06d1e3906e8b"], + "payloads": ["29ab02f35956", "4d1d017cea91"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a" + }, + "state": "73a4d4d7ddfb", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "674a78fb6dfb", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-files-merge.transport-rejection:merge-settled", + "observation": { + "sender": ["cb3d443fc9be", "06d1e3906e8b", "359e5860abb8"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "674a78fb6dfb", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-files-merge.transport-rejection:issue-state-settled", + "observation": { + "sender": ["cb3d443fc9be", "06d1e3906e8b", "359e5860abb8", "02509b3a87d5"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "674a78fb6dfb", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-project-row-files-merge.transport-rejection:pr-state-settled", + "observation": { + "sender": [ + "cb3d443fc9be", + "06d1e3906e8b", + "359e5860abb8", + "02509b3a87d5", + "13ab8771d5c0" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "674a78fb6dfb", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.transport-rejection-no-message:file-comment-settled", + "observation": { + "sender": ["cb3d443fc9be", "acad7a1dbf23"], + "payloads": ["29ab02f35956", "4d1d017cea91"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a" + }, + "state": "fdf15056fb68", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "8a1d11133692", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-files-merge.transport-rejection-no-message:merge-settled", + "observation": { + "sender": ["cb3d443fc9be", "acad7a1dbf23", "359e5860abb8"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "8a1d11133692", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-files-merge.transport-rejection-no-message:issue-state-settled", + "observation": { + "sender": ["cb3d443fc9be", "acad7a1dbf23", "359e5860abb8", "02509b3a87d5"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "8a1d11133692", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-project-row-files-merge.transport-rejection-no-message:pr-state-settled", + "observation": { + "sender": [ + "cb3d443fc9be", + "acad7a1dbf23", + "359e5860abb8", + "02509b3a87d5", + "13ab8771d5c0" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "8a1d11133692", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-files-merge-github.mergepr-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-files-merge-github.mergepr-1.json new file mode 100644 index 00000000000..ebdc013ff2b --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-files-merge-github.mergepr-1.json @@ -0,0 +1,2632 @@ +{ + "operation": "tasks.project-row-files-merge", + "family": "tasks.project-row-files-merge", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "b228732762828412ad3d9eec3ece00a897d866046e37044322c3911758d6e0a9", + "scenarioSha256": "754d93c552864ab693a5fd2776ba917a1c0f155f6bf8fb2873eafe9b97fd02b0", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "02509b3a87d5": { + "name": "github.updateIssue#1", + "args": [ + { + "name": "method", + "value": "github.updateIssue" + }, + { + "name": "params", + "value": { + "number": 9, + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "02b52513bb0d": { + "name": "mutatingStatus", + "value": true, + "sent": 4 + }, + "065a8cd07789": { + "name": "prFileContents", + "value": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "sent": 1 + }, + "06d558d172f7": { + "name": "github.updatePRState#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.updatePRState\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"updates\":{\"state\":\"closed\"}}}" + }, + "0735075cd3b2": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "error": "Unknown method", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "0a7c13874fce": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "error": "[object Object]", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "0be9101a1dfc": { + "name": "mutatingStatus", + "value": true, + "sent": 3 + }, + "0f3697bbd111": { + "name": "projectMutating", + "value": true, + "sent": 2 + }, + "0f72c1f3a2e3": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "13ab8771d5c0": { + "name": "github.updatePRState#1", + "args": [ + { + "name": "method", + "value": "github.updatePRState" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "1676273b982e": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-3", + "ok": false + } + } + }, + "18ffd2f97a51": { + "name": "prFileCommentDrafts", + "value": {}, + "sent": 2 + }, + "1b30471b40d2": { + "name": "projectRowDetailError", + "value": "inner refused", + "sent": 3 + }, + "1e34370849ff": { + "name": "error", + "value": "", + "sent": 4 + }, + "251de2865843": { + "name": "github.mergePR#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.mergePR\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":2,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"method\":\"squash\"}}" + }, + "252f3a25533f": { + "name": "actionItem", + "value": { + "$rpc": "null" + }, + "sent": 5 + }, + "287030eca79a": { + "name": "prFileLoadingPath", + "value": "src/index.ts", + "sent": 0 + }, + "29ab02f35956": { + "name": "github.prFileContents#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.prFileContents\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":2,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"path\":\"src/index.ts\",\"status\":\"modified\",\"headSha\":\"head-sha\",\"baseSha\":\"base-sha\"}}" + }, + "2bcb83a8835c": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "2bf9a40128ec": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "347fa6adc9f3": { + "name": "projectRowDetailError", + "value": "", + "sent": 3 + }, + "359e5860abb8": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "396f274f2717": { + "name": "githubProjectTable", + "value": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "name": "Status", + "options": [] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "MERGED", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "sent": 3 + }, + "401d2f559a6e": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true + } + } + }, + "421abd55bc0e": { + "name": "projectRowItem", + "value": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "MERGED", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + }, + "sent": 3 + }, + "4737ca53031e": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "MERGED", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "4a73d878a19a": { + "name": "projectRowDetailError", + "value": "[object Object]", + "sent": 3 + }, + "4d1d017cea91": { + "name": "github.addPRReviewComment#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.addPRReviewComment\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":2,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"commitId\":\"head-sha\",\"path\":\"src/index.ts\",\"line\":12,\"body\":\"a review comment\"}}" + }, + "5251c5a46aa5": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-3", + "ok": false + } + } + }, + "5467502970f1": { + "name": "mutatingStatus", + "value": false, + "sent": 5 + }, + "5ea47b04351c": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "error": "inner refused", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "64fa126f1c85": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "6f4f9198e5ff": { + "name": "projectMutating", + "value": false, + "sent": 2 + }, + "70678ab6df9a": { + "name": "mutatingStatus", + "value": false, + "sent": 4 + }, + "73a4d4d7ddfb": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "error": "transport failure", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "73c3051352c2": { + "name": "projectMutating", + "value": false, + "sent": 3 + }, + "79d7b1bb5ebd": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "80d38ca65a5d": { + "name": "projectRowDetailError", + "value": "", + "sent": 0 + }, + "85f150b2df81": { + "name": "projectRowDetailError", + "value": "", + "sent": 1 + }, + "888469387359": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "error": "", + "mutating": true, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "8a1d11133692": { + "name": "projectRowDetailError", + "value": "", + "sent": 2 + }, + "9138850642c5": { + "name": "projectRowDetailError", + "value": "outer refused", + "sent": 3 + }, + "965aaa80409b": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "97a226118637": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "error": "Cannot read properties of undefined (reading 'ok')", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "a2f430756265": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Connection closed", + "isRpcDeliveryUnknown": true + } + } + }, + "ab7c5c2480a4": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "error": "Cannot read properties of null (reading 'ok')", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "c02d6dba8a29": { + "name": "github.updateIssue#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.updateIssue\",\"params\":{\"repo\":\"id:repo-1\",\"number\":9,\"updates\":{\"state\":\"closed\"}}}" + }, + "c22bc4151f3c": { + "name": "actionItem", + "value": { + "$rpc": "null" + }, + "sent": 4 + }, + "c274925d7845": { + "name": "github.addPRReviewComment#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewComment" + }, + { + "name": "params", + "value": { + "body": "a review comment", + "commitId": "head-sha", + "line": 12, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "comment": { + "author": "You", + "body": "a review comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 901, + "line": 12, + "path": "src/index.ts" + }, + "ok": true + } + } + } + }, + "cb3d443fc9be": { + "name": "github.prFileContents#1", + "args": [ + { + "name": "method", + "value": "github.prFileContents" + }, + { + "name": "params", + "value": { + "baseSha": "base-sha", + "headSha": "head-sha", + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "status": "modified" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + } + } + }, + "cb79f3d4a1da": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "error": "outer refused", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "d1bb762720d5": { + "name": "projectMutating", + "value": true, + "sent": 1 + }, + "d632883158cc": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a review comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 901, + "line": 12, + "path": "src/index.ts" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 2 + }, + "d72ea315da15": { + "name": "projectRowDetailError", + "value": "transport failure", + "sent": 3 + }, + "d856c0886ca0": { + "name": "projectRowDetailError", + "value": "Unknown method", + "sent": 3 + }, + "dbbebbd74a18": { + "name": "error", + "value": "", + "sent": 3 + }, + "e02a62a4ddf5": { + "name": "expandedPrFilePath", + "value": "src/index.ts", + "sent": 0 + }, + "e7d38ed5fb03": { + "name": "projectRowDetailError", + "value": "Cannot read properties of undefined (reading 'ok')", + "sent": 3 + }, + "eb612a2e1a87": { + "name": "projectRowDetailError", + "value": "Cannot read properties of null (reading 'ok')", + "sent": 3 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f070b17abcde": { + "name": "prFileLoadingPath", + "value": { + "$rpc": "null" + }, + "sent": 1 + }, + "f37a9bff665c": { + "name": "projectRowDetailError", + "value": "Connection closed", + "sent": 3 + }, + "f547e50c8503": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-3", + "ok": false + } + } + }, + "fdf15056fb68": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + } + }, + "recording": { + "scenario": "matrix-tasks.project-row-files-merge-github.mergepr-1", + "checkpoints": [ + { + "id": "tk-project-row-files-merge.prelude:expand-settled", + "observation": { + "sender": ["cb3d443fc9be"], + "payloads": ["29ab02f35956"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a" + }, + "state": "fdf15056fb68", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde" + ] + } + }, + { + "id": "tk-project-row-files-merge.prelude:file-comment-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845"], + "payloads": ["29ab02f35956", "4d1d017cea91"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a" + }, + "state": "fdf15056fb68", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-files-merge.prelude:cleanup", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845", "a2f430756265"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "888469387359", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f37a9bff665c", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-files-merge.normal:merge-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845", "359e5860abb8"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-files-merge.normal:issue-state-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845", "359e5860abb8", "02509b3a87d5"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-project-row-files-merge.normal:pr-state-settled", + "observation": { + "sender": [ + "cb3d443fc9be", + "c274925d7845", + "359e5860abb8", + "02509b3a87d5", + "13ab8771d5c0" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.result-absent:merge-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845", "401d2f559a6e"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "97a226118637", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "e7d38ed5fb03", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-files-merge.result-absent:issue-state-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845", "401d2f559a6e", "02509b3a87d5"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "97a226118637", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "e7d38ed5fb03", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-project-row-files-merge.result-absent:pr-state-settled", + "observation": { + "sender": [ + "cb3d443fc9be", + "c274925d7845", + "401d2f559a6e", + "02509b3a87d5", + "13ab8771d5c0" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "97a226118637", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "e7d38ed5fb03", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.result-null:merge-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845", "64fa126f1c85"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "ab7c5c2480a4", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "eb612a2e1a87", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-files-merge.result-null:issue-state-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845", "64fa126f1c85", "02509b3a87d5"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "ab7c5c2480a4", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "eb612a2e1a87", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-project-row-files-merge.result-null:pr-state-settled", + "observation": { + "sender": [ + "cb3d443fc9be", + "c274925d7845", + "64fa126f1c85", + "02509b3a87d5", + "13ab8771d5c0" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "ab7c5c2480a4", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "eb612a2e1a87", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.inner-ok-missing:merge-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845", "79d7b1bb5ebd"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-files-merge.inner-ok-missing:issue-state-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845", "79d7b1bb5ebd", "02509b3a87d5"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-project-row-files-merge.inner-ok-missing:pr-state-settled", + "observation": { + "sender": [ + "cb3d443fc9be", + "c274925d7845", + "79d7b1bb5ebd", + "02509b3a87d5", + "13ab8771d5c0" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.inner-false-string-error:merge-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845", "0f72c1f3a2e3"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "5ea47b04351c", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "1b30471b40d2", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-files-merge.inner-false-string-error:issue-state-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845", "0f72c1f3a2e3", "02509b3a87d5"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "5ea47b04351c", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "1b30471b40d2", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-project-row-files-merge.inner-false-string-error:pr-state-settled", + "observation": { + "sender": [ + "cb3d443fc9be", + "c274925d7845", + "0f72c1f3a2e3", + "02509b3a87d5", + "13ab8771d5c0" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "5ea47b04351c", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "1b30471b40d2", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.inner-false-object-error:merge-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845", "2bf9a40128ec"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "0a7c13874fce", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "4a73d878a19a", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-files-merge.inner-false-object-error:issue-state-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845", "2bf9a40128ec", "02509b3a87d5"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "0a7c13874fce", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "4a73d878a19a", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-project-row-files-merge.inner-false-object-error:pr-state-settled", + "observation": { + "sender": [ + "cb3d443fc9be", + "c274925d7845", + "2bf9a40128ec", + "02509b3a87d5", + "13ab8771d5c0" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "0a7c13874fce", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "4a73d878a19a", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.outer-refused:merge-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845", "f547e50c8503"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "cb79f3d4a1da", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "9138850642c5", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-files-merge.outer-refused:issue-state-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845", "f547e50c8503", "02509b3a87d5"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "cb79f3d4a1da", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "9138850642c5", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-project-row-files-merge.outer-refused:pr-state-settled", + "observation": { + "sender": [ + "cb3d443fc9be", + "c274925d7845", + "f547e50c8503", + "02509b3a87d5", + "13ab8771d5c0" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "cb79f3d4a1da", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "9138850642c5", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.outer-refused-no-message:merge-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845", "1676273b982e"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "fdf15056fb68", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "347fa6adc9f3", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-files-merge.outer-refused-no-message:issue-state-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845", "1676273b982e", "02509b3a87d5"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "fdf15056fb68", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "347fa6adc9f3", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-project-row-files-merge.outer-refused-no-message:pr-state-settled", + "observation": { + "sender": [ + "cb3d443fc9be", + "c274925d7845", + "1676273b982e", + "02509b3a87d5", + "13ab8771d5c0" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "fdf15056fb68", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "347fa6adc9f3", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.method-not-found:merge-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845", "5251c5a46aa5"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "0735075cd3b2", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "d856c0886ca0", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-files-merge.method-not-found:issue-state-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845", "5251c5a46aa5", "02509b3a87d5"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "0735075cd3b2", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "d856c0886ca0", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-project-row-files-merge.method-not-found:pr-state-settled", + "observation": { + "sender": [ + "cb3d443fc9be", + "c274925d7845", + "5251c5a46aa5", + "02509b3a87d5", + "13ab8771d5c0" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "0735075cd3b2", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "d856c0886ca0", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.transport-rejection:merge-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845", "2bcb83a8835c"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "73a4d4d7ddfb", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "d72ea315da15", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-files-merge.transport-rejection:issue-state-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845", "2bcb83a8835c", "02509b3a87d5"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "73a4d4d7ddfb", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "d72ea315da15", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-project-row-files-merge.transport-rejection:pr-state-settled", + "observation": { + "sender": [ + "cb3d443fc9be", + "c274925d7845", + "2bcb83a8835c", + "02509b3a87d5", + "13ab8771d5c0" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "73a4d4d7ddfb", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "d72ea315da15", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.transport-rejection-no-message:merge-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845", "965aaa80409b"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "fdf15056fb68", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "347fa6adc9f3", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-files-merge.transport-rejection-no-message:issue-state-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845", "965aaa80409b", "02509b3a87d5"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "fdf15056fb68", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "347fa6adc9f3", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-project-row-files-merge.transport-rejection-no-message:pr-state-settled", + "observation": { + "sender": [ + "cb3d443fc9be", + "c274925d7845", + "965aaa80409b", + "02509b3a87d5", + "13ab8771d5c0" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "fdf15056fb68", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "347fa6adc9f3", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-files-merge-github.prfilecontents-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-files-merge-github.prfilecontents-1.json new file mode 100644 index 00000000000..442e617f845 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-files-merge-github.prfilecontents-1.json @@ -0,0 +1,3257 @@ +{ + "operation": "tasks.project-row-files-merge", + "family": "tasks.project-row-files-merge", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "b228732762828412ad3d9eec3ece00a897d866046e37044322c3911758d6e0a9", + "scenarioSha256": "d8838276fb40a8ccb2dbedc269b970f85c1c800466b9813ac06f409ea44ffaff", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "005f1e8ab7dc": { + "name": "prFileContents", + "value": { + "src/index.ts": { + "error": { + "message": "inner refused" + }, + "ok": false + } + }, + "sent": 1 + }, + "02509b3a87d5": { + "name": "github.updateIssue#1", + "args": [ + { + "name": "method", + "value": "github.updateIssue" + }, + { + "name": "params", + "value": { + "number": 9, + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "02b52513bb0d": { + "name": "mutatingStatus", + "value": true, + "sent": 4 + }, + "065a8cd07789": { + "name": "prFileContents", + "value": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "sent": 1 + }, + "06d558d172f7": { + "name": "github.updatePRState#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.updatePRState\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"updates\":{\"state\":\"closed\"}}}" + }, + "0be9101a1dfc": { + "name": "mutatingStatus", + "value": true, + "sent": 3 + }, + "0ef970845cc7": { + "name": "projectRowDetailError", + "value": "outer refused", + "sent": 1 + }, + "0f3697bbd111": { + "name": "projectMutating", + "value": true, + "sent": 2 + }, + "10fc9bd3f197": { + "contents": { + "src/index.ts": { + "error": "inner refused", + "ok": false + } + }, + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "MERGED", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "13ab8771d5c0": { + "name": "github.updatePRState#1", + "args": [ + { + "name": "method", + "value": "github.updatePRState" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "14db520a3d36": { + "name": "github.prFileContents#1", + "args": [ + { + "name": "method", + "value": "github.prFileContents" + }, + { + "name": "params", + "value": { + "baseSha": "base-sha", + "headSha": "head-sha", + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "status": "modified" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "152580ec9e5a": { + "name": "projectRowDetailError", + "value": "Unknown method", + "sent": 1 + }, + "18ffd2f97a51": { + "name": "prFileCommentDrafts", + "value": {}, + "sent": 2 + }, + "1e34370849ff": { + "name": "error", + "value": "", + "sent": 4 + }, + "20bb8fdf1756": { + "name": "prFileContents", + "value": { + "src/index.ts": { + "$rpc": "undefined" + } + }, + "sent": 1 + }, + "22fd0e0131d4": { + "contents": { + "src/index.ts": { + "$rpc": "undefined" + } + }, + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "23256a6371e3": { + "name": "github.prFileContents#1", + "args": [ + { + "name": "method", + "value": "github.prFileContents" + }, + { + "name": "params", + "value": { + "baseSha": "base-sha", + "headSha": "head-sha", + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "status": "modified" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "251de2865843": { + "name": "github.mergePR#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.mergePR\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":2,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"method\":\"squash\"}}" + }, + "252f3a25533f": { + "name": "actionItem", + "value": { + "$rpc": "null" + }, + "sent": 5 + }, + "27fdd77feed1": { + "name": "github.prFileContents#1", + "args": [ + { + "name": "method", + "value": "github.prFileContents" + }, + { + "name": "params", + "value": { + "baseSha": "base-sha", + "headSha": "head-sha", + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "status": "modified" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "287030eca79a": { + "name": "prFileLoadingPath", + "value": "src/index.ts", + "sent": 0 + }, + "29ab02f35956": { + "name": "github.prFileContents#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.prFileContents\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":2,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"path\":\"src/index.ts\",\"status\":\"modified\",\"headSha\":\"head-sha\",\"baseSha\":\"base-sha\"}}" + }, + "359e5860abb8": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "3626bec692e0": { + "name": "github.prFileContents#1", + "args": [ + { + "name": "method", + "value": "github.prFileContents" + }, + { + "name": "params", + "value": { + "baseSha": "base-sha", + "headSha": "head-sha", + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "status": "modified" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "396f274f2717": { + "name": "githubProjectTable", + "value": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "name": "Status", + "options": [] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "MERGED", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "sent": 3 + }, + "421abd55bc0e": { + "name": "projectRowItem", + "value": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "MERGED", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + }, + "sent": 3 + }, + "45c48181b1af": { + "name": "github.prFileContents#1", + "args": [ + { + "name": "method", + "value": "github.prFileContents" + }, + { + "name": "params", + "value": { + "baseSha": "base-sha", + "headSha": "head-sha", + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "status": "modified" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-1", + "ok": false + } + } + }, + "4737ca53031e": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "MERGED", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "4778f4df22e3": { + "contents": { + "src/index.ts": { + "error": "refused" + } + }, + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "MERGED", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "49630b84cbb4": { + "contents": {}, + "error": "transport failure", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "4d1d017cea91": { + "name": "github.addPRReviewComment#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.addPRReviewComment\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":2,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"commitId\":\"head-sha\",\"path\":\"src/index.ts\",\"line\":12,\"body\":\"a review comment\"}}" + }, + "5467502970f1": { + "name": "mutatingStatus", + "value": false, + "sent": 5 + }, + "5823f67a2c34": { + "name": "github.prFileContents#1", + "args": [ + { + "name": "method", + "value": "github.prFileContents" + }, + { + "name": "params", + "value": { + "baseSha": "base-sha", + "headSha": "head-sha", + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "status": "modified" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "59f6eb4c6450": { + "name": "github.prFileContents#1", + "args": [ + { + "name": "method", + "value": "github.prFileContents" + }, + { + "name": "params", + "value": { + "baseSha": "base-sha", + "headSha": "head-sha", + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "status": "modified" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "5da70090d778": { + "name": "github.prFileContents#1", + "args": [ + { + "name": "method", + "value": "github.prFileContents" + }, + { + "name": "params", + "value": { + "baseSha": "base-sha", + "headSha": "head-sha", + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "status": "modified" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "688948cddf49": { + "contents": {}, + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "MERGED", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "6f4f9198e5ff": { + "name": "projectMutating", + "value": false, + "sent": 2 + }, + "6ff1a00346a2": { + "contents": {}, + "error": "outer refused", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "70678ab6df9a": { + "name": "mutatingStatus", + "value": false, + "sent": 4 + }, + "708ba51de239": { + "contents": { + "src/index.ts": { + "error": { + "message": "inner refused" + }, + "ok": false + } + }, + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "MERGED", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "73c3051352c2": { + "name": "projectMutating", + "value": false, + "sent": 3 + }, + "80d305d2ab51": { + "name": "github.prFileContents#1", + "args": [ + { + "name": "method", + "value": "github.prFileContents" + }, + { + "name": "params", + "value": { + "baseSha": "base-sha", + "headSha": "head-sha", + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "status": "modified" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "80d38ca65a5d": { + "name": "projectRowDetailError", + "value": "", + "sent": 0 + }, + "80de19bea023": { + "contents": { + "src/index.ts": { + "error": "refused" + } + }, + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "8237b3a567bf": { + "name": "projectRowDetailError", + "value": "transport failure", + "sent": 1 + }, + "85f150b2df81": { + "name": "projectRowDetailError", + "value": "", + "sent": 1 + }, + "88a25ad142bb": { + "contents": { + "src/index.ts": { + "$rpc": "undefined" + } + }, + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "MERGED", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "8a1d11133692": { + "name": "projectRowDetailError", + "value": "", + "sent": 2 + }, + "9d1e84daf78b": { + "contents": {}, + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "a849f43252c8": { + "contents": { + "src/index.ts": { + "error": { + "message": "inner refused" + }, + "ok": false + } + }, + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "a927adec2d59": { + "name": "prFileContents", + "value": { + "src/index.ts": { + "error": "refused" + } + }, + "sent": 1 + }, + "ae5da2018f44": { + "name": "github.prFileContents#1", + "args": [ + { + "name": "method", + "value": "github.prFileContents" + }, + { + "name": "params", + "value": { + "baseSha": "base-sha", + "headSha": "head-sha", + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "status": "modified" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "b1e42b117fc4": { + "name": "prFileContents", + "value": { + "src/index.ts": { + "error": "inner refused", + "ok": false + } + }, + "sent": 1 + }, + "b561de642030": { + "contents": {}, + "error": "Unknown method", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "be2bf5177055": { + "contents": { + "src/index.ts": { + "error": "inner refused", + "ok": false + } + }, + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "c02d6dba8a29": { + "name": "github.updateIssue#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.updateIssue\",\"params\":{\"repo\":\"id:repo-1\",\"number\":9,\"updates\":{\"state\":\"closed\"}}}" + }, + "c22bc4151f3c": { + "name": "actionItem", + "value": { + "$rpc": "null" + }, + "sent": 4 + }, + "c274925d7845": { + "name": "github.addPRReviewComment#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewComment" + }, + { + "name": "params", + "value": { + "body": "a review comment", + "commitId": "head-sha", + "line": 12, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "comment": { + "author": "You", + "body": "a review comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 901, + "line": 12, + "path": "src/index.ts" + }, + "ok": true + } + } + } + }, + "cb3d443fc9be": { + "name": "github.prFileContents#1", + "args": [ + { + "name": "method", + "value": "github.prFileContents" + }, + { + "name": "params", + "value": { + "baseSha": "base-sha", + "headSha": "head-sha", + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "status": "modified" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + } + } + }, + "d1bb762720d5": { + "name": "projectMutating", + "value": true, + "sent": 1 + }, + "d632883158cc": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a review comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 901, + "line": 12, + "path": "src/index.ts" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 2 + }, + "dbbebbd74a18": { + "name": "error", + "value": "", + "sent": 3 + }, + "e02a62a4ddf5": { + "name": "expandedPrFilePath", + "value": "src/index.ts", + "sent": 0 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f070b17abcde": { + "name": "prFileLoadingPath", + "value": { + "$rpc": "null" + }, + "sent": 1 + }, + "f0d0b64ae0b7": { + "name": "prFileContents", + "value": { + "src/index.ts": { + "$rpc": "null" + } + }, + "sent": 1 + }, + "f462ab28ddde": { + "contents": { + "src/index.ts": { + "$rpc": "null" + } + }, + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "fdf15056fb68": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "fe5e9e5c827c": { + "contents": { + "src/index.ts": { + "$rpc": "null" + } + }, + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "MERGED", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + } + }, + "recording": { + "scenario": "matrix-tasks.project-row-files-merge-github.prfilecontents-1", + "checkpoints": [ + { + "id": "tk-project-row-files-merge.normal:expand-settled", + "observation": { + "sender": ["cb3d443fc9be"], + "payloads": ["29ab02f35956"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a" + }, + "state": "fdf15056fb68", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde" + ] + } + }, + { + "id": "tk-project-row-files-merge.normal:file-comment-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845"], + "payloads": ["29ab02f35956", "4d1d017cea91"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a" + }, + "state": "fdf15056fb68", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-files-merge.normal:merge-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845", "359e5860abb8"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-files-merge.normal:issue-state-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845", "359e5860abb8", "02509b3a87d5"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-project-row-files-merge.normal:pr-state-settled", + "observation": { + "sender": [ + "cb3d443fc9be", + "c274925d7845", + "359e5860abb8", + "02509b3a87d5", + "13ab8771d5c0" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.result-absent:expand-settled", + "observation": { + "sender": ["5823f67a2c34"], + "payloads": ["29ab02f35956"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a" + }, + "state": "22fd0e0131d4", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "20bb8fdf1756", + "f070b17abcde" + ] + } + }, + { + "id": "tk-project-row-files-merge.result-absent:file-comment-settled", + "observation": { + "sender": ["5823f67a2c34", "c274925d7845"], + "payloads": ["29ab02f35956", "4d1d017cea91"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a" + }, + "state": "22fd0e0131d4", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "20bb8fdf1756", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-files-merge.result-absent:merge-settled", + "observation": { + "sender": ["5823f67a2c34", "c274925d7845", "359e5860abb8"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "88a25ad142bb", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "20bb8fdf1756", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-files-merge.result-absent:issue-state-settled", + "observation": { + "sender": ["5823f67a2c34", "c274925d7845", "359e5860abb8", "02509b3a87d5"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "88a25ad142bb", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "20bb8fdf1756", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-project-row-files-merge.result-absent:pr-state-settled", + "observation": { + "sender": [ + "5823f67a2c34", + "c274925d7845", + "359e5860abb8", + "02509b3a87d5", + "13ab8771d5c0" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "88a25ad142bb", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "20bb8fdf1756", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.result-null:expand-settled", + "observation": { + "sender": ["ae5da2018f44"], + "payloads": ["29ab02f35956"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a" + }, + "state": "f462ab28ddde", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "f0d0b64ae0b7", + "f070b17abcde" + ] + } + }, + { + "id": "tk-project-row-files-merge.result-null:file-comment-settled", + "observation": { + "sender": ["ae5da2018f44", "c274925d7845"], + "payloads": ["29ab02f35956", "4d1d017cea91"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a" + }, + "state": "f462ab28ddde", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "f0d0b64ae0b7", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-files-merge.result-null:merge-settled", + "observation": { + "sender": ["ae5da2018f44", "c274925d7845", "359e5860abb8"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "fe5e9e5c827c", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "f0d0b64ae0b7", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-files-merge.result-null:issue-state-settled", + "observation": { + "sender": ["ae5da2018f44", "c274925d7845", "359e5860abb8", "02509b3a87d5"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "fe5e9e5c827c", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "f0d0b64ae0b7", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-project-row-files-merge.result-null:pr-state-settled", + "observation": { + "sender": [ + "ae5da2018f44", + "c274925d7845", + "359e5860abb8", + "02509b3a87d5", + "13ab8771d5c0" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "fe5e9e5c827c", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "f0d0b64ae0b7", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.inner-ok-missing:expand-settled", + "observation": { + "sender": ["23256a6371e3"], + "payloads": ["29ab02f35956"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a" + }, + "state": "80de19bea023", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "a927adec2d59", + "f070b17abcde" + ] + } + }, + { + "id": "tk-project-row-files-merge.inner-ok-missing:file-comment-settled", + "observation": { + "sender": ["23256a6371e3", "c274925d7845"], + "payloads": ["29ab02f35956", "4d1d017cea91"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a" + }, + "state": "80de19bea023", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "a927adec2d59", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-files-merge.inner-ok-missing:merge-settled", + "observation": { + "sender": ["23256a6371e3", "c274925d7845", "359e5860abb8"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "4778f4df22e3", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "a927adec2d59", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-files-merge.inner-ok-missing:issue-state-settled", + "observation": { + "sender": ["23256a6371e3", "c274925d7845", "359e5860abb8", "02509b3a87d5"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "4778f4df22e3", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "a927adec2d59", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-project-row-files-merge.inner-ok-missing:pr-state-settled", + "observation": { + "sender": [ + "23256a6371e3", + "c274925d7845", + "359e5860abb8", + "02509b3a87d5", + "13ab8771d5c0" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "4778f4df22e3", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "a927adec2d59", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.inner-false-string-error:expand-settled", + "observation": { + "sender": ["3626bec692e0"], + "payloads": ["29ab02f35956"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a" + }, + "state": "be2bf5177055", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "b1e42b117fc4", + "f070b17abcde" + ] + } + }, + { + "id": "tk-project-row-files-merge.inner-false-string-error:file-comment-settled", + "observation": { + "sender": ["3626bec692e0", "c274925d7845"], + "payloads": ["29ab02f35956", "4d1d017cea91"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a" + }, + "state": "be2bf5177055", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "b1e42b117fc4", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-files-merge.inner-false-string-error:merge-settled", + "observation": { + "sender": ["3626bec692e0", "c274925d7845", "359e5860abb8"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "10fc9bd3f197", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "b1e42b117fc4", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-files-merge.inner-false-string-error:issue-state-settled", + "observation": { + "sender": ["3626bec692e0", "c274925d7845", "359e5860abb8", "02509b3a87d5"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "10fc9bd3f197", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "b1e42b117fc4", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-project-row-files-merge.inner-false-string-error:pr-state-settled", + "observation": { + "sender": [ + "3626bec692e0", + "c274925d7845", + "359e5860abb8", + "02509b3a87d5", + "13ab8771d5c0" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "10fc9bd3f197", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "b1e42b117fc4", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.inner-false-object-error:expand-settled", + "observation": { + "sender": ["80d305d2ab51"], + "payloads": ["29ab02f35956"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a" + }, + "state": "a849f43252c8", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "005f1e8ab7dc", + "f070b17abcde" + ] + } + }, + { + "id": "tk-project-row-files-merge.inner-false-object-error:file-comment-settled", + "observation": { + "sender": ["80d305d2ab51", "c274925d7845"], + "payloads": ["29ab02f35956", "4d1d017cea91"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a" + }, + "state": "a849f43252c8", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "005f1e8ab7dc", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-files-merge.inner-false-object-error:merge-settled", + "observation": { + "sender": ["80d305d2ab51", "c274925d7845", "359e5860abb8"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "708ba51de239", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "005f1e8ab7dc", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-files-merge.inner-false-object-error:issue-state-settled", + "observation": { + "sender": ["80d305d2ab51", "c274925d7845", "359e5860abb8", "02509b3a87d5"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "708ba51de239", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "005f1e8ab7dc", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-project-row-files-merge.inner-false-object-error:pr-state-settled", + "observation": { + "sender": [ + "80d305d2ab51", + "c274925d7845", + "359e5860abb8", + "02509b3a87d5", + "13ab8771d5c0" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "708ba51de239", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "005f1e8ab7dc", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.outer-refused:expand-settled", + "observation": { + "sender": ["59f6eb4c6450"], + "payloads": ["29ab02f35956"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a" + }, + "state": "6ff1a00346a2", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "0ef970845cc7", + "f070b17abcde" + ] + } + }, + { + "id": "tk-project-row-files-merge.outer-refused:file-comment-settled", + "observation": { + "sender": ["59f6eb4c6450", "c274925d7845"], + "payloads": ["29ab02f35956", "4d1d017cea91"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a" + }, + "state": "9d1e84daf78b", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "0ef970845cc7", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-files-merge.outer-refused:merge-settled", + "observation": { + "sender": ["59f6eb4c6450", "c274925d7845", "359e5860abb8"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "688948cddf49", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "0ef970845cc7", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-files-merge.outer-refused:issue-state-settled", + "observation": { + "sender": ["59f6eb4c6450", "c274925d7845", "359e5860abb8", "02509b3a87d5"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "688948cddf49", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "0ef970845cc7", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-project-row-files-merge.outer-refused:pr-state-settled", + "observation": { + "sender": [ + "59f6eb4c6450", + "c274925d7845", + "359e5860abb8", + "02509b3a87d5", + "13ab8771d5c0" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "688948cddf49", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "0ef970845cc7", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.outer-refused-no-message:expand-settled", + "observation": { + "sender": ["5da70090d778"], + "payloads": ["29ab02f35956"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a" + }, + "state": "9d1e84daf78b", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "85f150b2df81", + "f070b17abcde" + ] + } + }, + { + "id": "tk-project-row-files-merge.outer-refused-no-message:file-comment-settled", + "observation": { + "sender": ["5da70090d778", "c274925d7845"], + "payloads": ["29ab02f35956", "4d1d017cea91"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a" + }, + "state": "9d1e84daf78b", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "85f150b2df81", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-files-merge.outer-refused-no-message:merge-settled", + "observation": { + "sender": ["5da70090d778", "c274925d7845", "359e5860abb8"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "688948cddf49", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "85f150b2df81", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-files-merge.outer-refused-no-message:issue-state-settled", + "observation": { + "sender": ["5da70090d778", "c274925d7845", "359e5860abb8", "02509b3a87d5"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "688948cddf49", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "85f150b2df81", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-project-row-files-merge.outer-refused-no-message:pr-state-settled", + "observation": { + "sender": [ + "5da70090d778", + "c274925d7845", + "359e5860abb8", + "02509b3a87d5", + "13ab8771d5c0" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "688948cddf49", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "85f150b2df81", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.method-not-found:expand-settled", + "observation": { + "sender": ["45c48181b1af"], + "payloads": ["29ab02f35956"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a" + }, + "state": "b561de642030", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "152580ec9e5a", + "f070b17abcde" + ] + } + }, + { + "id": "tk-project-row-files-merge.method-not-found:file-comment-settled", + "observation": { + "sender": ["45c48181b1af", "c274925d7845"], + "payloads": ["29ab02f35956", "4d1d017cea91"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a" + }, + "state": "9d1e84daf78b", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "152580ec9e5a", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-files-merge.method-not-found:merge-settled", + "observation": { + "sender": ["45c48181b1af", "c274925d7845", "359e5860abb8"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "688948cddf49", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "152580ec9e5a", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-files-merge.method-not-found:issue-state-settled", + "observation": { + "sender": ["45c48181b1af", "c274925d7845", "359e5860abb8", "02509b3a87d5"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "688948cddf49", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "152580ec9e5a", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-project-row-files-merge.method-not-found:pr-state-settled", + "observation": { + "sender": [ + "45c48181b1af", + "c274925d7845", + "359e5860abb8", + "02509b3a87d5", + "13ab8771d5c0" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "688948cddf49", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "152580ec9e5a", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.transport-rejection:expand-settled", + "observation": { + "sender": ["27fdd77feed1"], + "payloads": ["29ab02f35956"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a" + }, + "state": "49630b84cbb4", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "8237b3a567bf", + "f070b17abcde" + ] + } + }, + { + "id": "tk-project-row-files-merge.transport-rejection:file-comment-settled", + "observation": { + "sender": ["27fdd77feed1", "c274925d7845"], + "payloads": ["29ab02f35956", "4d1d017cea91"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a" + }, + "state": "9d1e84daf78b", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "8237b3a567bf", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-files-merge.transport-rejection:merge-settled", + "observation": { + "sender": ["27fdd77feed1", "c274925d7845", "359e5860abb8"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "688948cddf49", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "8237b3a567bf", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-files-merge.transport-rejection:issue-state-settled", + "observation": { + "sender": ["27fdd77feed1", "c274925d7845", "359e5860abb8", "02509b3a87d5"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "688948cddf49", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "8237b3a567bf", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-project-row-files-merge.transport-rejection:pr-state-settled", + "observation": { + "sender": [ + "27fdd77feed1", + "c274925d7845", + "359e5860abb8", + "02509b3a87d5", + "13ab8771d5c0" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "688948cddf49", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "8237b3a567bf", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.transport-rejection-no-message:expand-settled", + "observation": { + "sender": ["14db520a3d36"], + "payloads": ["29ab02f35956"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a" + }, + "state": "9d1e84daf78b", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "85f150b2df81", + "f070b17abcde" + ] + } + }, + { + "id": "tk-project-row-files-merge.transport-rejection-no-message:file-comment-settled", + "observation": { + "sender": ["14db520a3d36", "c274925d7845"], + "payloads": ["29ab02f35956", "4d1d017cea91"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a" + }, + "state": "9d1e84daf78b", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "85f150b2df81", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-files-merge.transport-rejection-no-message:merge-settled", + "observation": { + "sender": ["14db520a3d36", "c274925d7845", "359e5860abb8"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "688948cddf49", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "85f150b2df81", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-files-merge.transport-rejection-no-message:issue-state-settled", + "observation": { + "sender": ["14db520a3d36", "c274925d7845", "359e5860abb8", "02509b3a87d5"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "688948cddf49", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "85f150b2df81", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-project-row-files-merge.transport-rejection-no-message:pr-state-settled", + "observation": { + "sender": [ + "14db520a3d36", + "c274925d7845", + "359e5860abb8", + "02509b3a87d5", + "13ab8771d5c0" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "688948cddf49", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "85f150b2df81", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-files-merge-github.updateissue-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-files-merge-github.updateissue-1.json new file mode 100644 index 00000000000..071df4aa764 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-files-merge-github.updateissue-1.json @@ -0,0 +1,2101 @@ +{ + "operation": "tasks.project-row-files-merge", + "family": "tasks.project-row-files-merge", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "b228732762828412ad3d9eec3ece00a897d866046e37044322c3911758d6e0a9", + "scenarioSha256": "785dad70a0e382a6cc2b030cec2077a1e816e84ba60b082f60c9a96ec56b47c5", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "02509b3a87d5": { + "name": "github.updateIssue#1", + "args": [ + { + "name": "method", + "value": "github.updateIssue" + }, + { + "name": "params", + "value": { + "number": 9, + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "02b52513bb0d": { + "name": "mutatingStatus", + "value": true, + "sent": 4 + }, + "065a8cd07789": { + "name": "prFileContents", + "value": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "sent": 1 + }, + "06d558d172f7": { + "name": "github.updatePRState#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.updatePRState\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"updates\":{\"state\":\"closed\"}}}" + }, + "0be9101a1dfc": { + "name": "mutatingStatus", + "value": true, + "sent": 3 + }, + "0f3697bbd111": { + "name": "projectMutating", + "value": true, + "sent": 2 + }, + "13ab8771d5c0": { + "name": "github.updatePRState#1", + "args": [ + { + "name": "method", + "value": "github.updatePRState" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "18ffd2f97a51": { + "name": "prFileCommentDrafts", + "value": {}, + "sent": 2 + }, + "19ba7281c684": { + "name": "github.updateIssue#1", + "args": [ + { + "name": "method", + "value": "github.updateIssue" + }, + { + "name": "params", + "value": { + "number": 9, + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-4", + "ok": false + } + } + }, + "1b37ac207e48": { + "name": "error", + "value": "inner refused", + "sent": 4 + }, + "1e34370849ff": { + "name": "error", + "value": "", + "sent": 4 + }, + "251de2865843": { + "name": "github.mergePR#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.mergePR\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":2,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"method\":\"squash\"}}" + }, + "252f3a25533f": { + "name": "actionItem", + "value": { + "$rpc": "null" + }, + "sent": 5 + }, + "287030eca79a": { + "name": "prFileLoadingPath", + "value": "src/index.ts", + "sent": 0 + }, + "29ab02f35956": { + "name": "github.prFileContents#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.prFileContents\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":2,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"path\":\"src/index.ts\",\"status\":\"modified\",\"headSha\":\"head-sha\",\"baseSha\":\"base-sha\"}}" + }, + "359e5860abb8": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "396f274f2717": { + "name": "githubProjectTable", + "value": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "name": "Status", + "options": [] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "MERGED", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "sent": 3 + }, + "421abd55bc0e": { + "name": "projectRowItem", + "value": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "MERGED", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + }, + "sent": 3 + }, + "4737ca53031e": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "MERGED", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "4a38f5d5d245": { + "name": "error", + "value": "Connection closed", + "sent": 4 + }, + "4d1d017cea91": { + "name": "github.addPRReviewComment#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.addPRReviewComment\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":2,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"commitId\":\"head-sha\",\"path\":\"src/index.ts\",\"line\":12,\"body\":\"a review comment\"}}" + }, + "5467502970f1": { + "name": "mutatingStatus", + "value": false, + "sent": 5 + }, + "574e384ff29d": { + "name": "github.updateIssue#1", + "args": [ + { + "name": "method", + "value": "github.updateIssue" + }, + { + "name": "params", + "value": { + "number": 9, + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true + } + } + }, + "598d95f891dc": { + "name": "error", + "value": "Unknown method", + "sent": 4 + }, + "6ee59968996b": { + "name": "github.updateIssue#1", + "args": [ + { + "name": "method", + "value": "github.updateIssue" + }, + { + "name": "params", + "value": { + "number": 9, + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-4", + "ok": false + } + } + }, + "6f4f9198e5ff": { + "name": "projectMutating", + "value": false, + "sent": 2 + }, + "70678ab6df9a": { + "name": "mutatingStatus", + "value": false, + "sent": 4 + }, + "73c3051352c2": { + "name": "projectMutating", + "value": false, + "sent": 3 + }, + "80d38ca65a5d": { + "name": "projectRowDetailError", + "value": "", + "sent": 0 + }, + "85f150b2df81": { + "name": "projectRowDetailError", + "value": "", + "sent": 1 + }, + "85fe4aac509f": { + "name": "error", + "value": "[object Object]", + "sent": 4 + }, + "8a1d11133692": { + "name": "projectRowDetailError", + "value": "", + "sent": 2 + }, + "8aa55e932cab": { + "name": "github.updateIssue#1", + "args": [ + { + "name": "method", + "value": "github.updateIssue" + }, + { + "name": "params", + "value": { + "number": 9, + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "8dbfbb161772": { + "name": "error", + "value": "Cannot read properties of undefined (reading 'ok')", + "sent": 4 + }, + "96e6092073a3": { + "name": "github.updateIssue#1", + "args": [ + { + "name": "method", + "value": "github.updateIssue" + }, + { + "name": "params", + "value": { + "number": 9, + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "a4f2970b0b80": { + "name": "github.updateIssue#1", + "args": [ + { + "name": "method", + "value": "github.updateIssue" + }, + { + "name": "params", + "value": { + "number": 9, + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Connection closed", + "isRpcDeliveryUnknown": true + } + } + }, + "a9cdda0486ea": { + "name": "github.updateIssue#1", + "args": [ + { + "name": "method", + "value": "github.updateIssue" + }, + { + "name": "params", + "value": { + "number": 9, + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "abbcd2a93f15": { + "name": "error", + "value": "Cannot read properties of null (reading 'ok')", + "sent": 4 + }, + "b1aaaf697117": { + "name": "github.updateIssue#1", + "args": [ + { + "name": "method", + "value": "github.updateIssue" + }, + { + "name": "params", + "value": { + "number": 9, + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "c02d6dba8a29": { + "name": "github.updateIssue#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.updateIssue\",\"params\":{\"repo\":\"id:repo-1\",\"number\":9,\"updates\":{\"state\":\"closed\"}}}" + }, + "c22bc4151f3c": { + "name": "actionItem", + "value": { + "$rpc": "null" + }, + "sent": 4 + }, + "c274925d7845": { + "name": "github.addPRReviewComment#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewComment" + }, + { + "name": "params", + "value": { + "body": "a review comment", + "commitId": "head-sha", + "line": 12, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "comment": { + "author": "You", + "body": "a review comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 901, + "line": 12, + "path": "src/index.ts" + }, + "ok": true + } + } + } + }, + "c49440be2f91": { + "name": "github.updateIssue#1", + "args": [ + { + "name": "method", + "value": "github.updateIssue" + }, + { + "name": "params", + "value": { + "number": 9, + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-4", + "ok": false + } + } + }, + "cb3d443fc9be": { + "name": "github.prFileContents#1", + "args": [ + { + "name": "method", + "value": "github.prFileContents" + }, + { + "name": "params", + "value": { + "baseSha": "base-sha", + "headSha": "head-sha", + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "status": "modified" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + } + } + }, + "d1bb762720d5": { + "name": "projectMutating", + "value": true, + "sent": 1 + }, + "d632883158cc": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a review comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 901, + "line": 12, + "path": "src/index.ts" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 2 + }, + "dbbebbd74a18": { + "name": "error", + "value": "", + "sent": 3 + }, + "e02a62a4ddf5": { + "name": "expandedPrFilePath", + "value": "src/index.ts", + "sent": 0 + }, + "e57a3f9ecfc9": { + "name": "error", + "value": "outer refused", + "sent": 4 + }, + "e594e65c588c": { + "name": "error", + "value": "transport failure", + "sent": 4 + }, + "e8927dceb988": { + "name": "github.updateIssue#1", + "args": [ + { + "name": "method", + "value": "github.updateIssue" + }, + { + "name": "params", + "value": { + "number": 9, + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f070b17abcde": { + "name": "prFileLoadingPath", + "value": { + "$rpc": "null" + }, + "sent": 1 + }, + "f6b15e92940a": { + "name": "github.updateIssue#1", + "args": [ + { + "name": "method", + "value": "github.updateIssue" + }, + { + "name": "params", + "value": { + "number": 9, + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "fdf15056fb68": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + } + }, + "recording": { + "scenario": "matrix-tasks.project-row-files-merge-github.updateissue-1", + "checkpoints": [ + { + "id": "tk-project-row-files-merge.prelude:expand-settled", + "observation": { + "sender": ["cb3d443fc9be"], + "payloads": ["29ab02f35956"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a" + }, + "state": "fdf15056fb68", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde" + ] + } + }, + { + "id": "tk-project-row-files-merge.prelude:file-comment-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845"], + "payloads": ["29ab02f35956", "4d1d017cea91"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a" + }, + "state": "fdf15056fb68", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-files-merge.prelude:merge-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845", "359e5860abb8"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-files-merge.prelude:cleanup", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845", "359e5860abb8", "a4f2970b0b80"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "4a38f5d5d245", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-project-row-files-merge.normal:issue-state-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845", "359e5860abb8", "02509b3a87d5"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-project-row-files-merge.normal:pr-state-settled", + "observation": { + "sender": [ + "cb3d443fc9be", + "c274925d7845", + "359e5860abb8", + "02509b3a87d5", + "13ab8771d5c0" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.result-absent:issue-state-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845", "359e5860abb8", "574e384ff29d"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "8dbfbb161772", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-project-row-files-merge.result-absent:pr-state-settled", + "observation": { + "sender": [ + "cb3d443fc9be", + "c274925d7845", + "359e5860abb8", + "574e384ff29d", + "13ab8771d5c0" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "8dbfbb161772", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.result-null:issue-state-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845", "359e5860abb8", "f6b15e92940a"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "abbcd2a93f15", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-project-row-files-merge.result-null:pr-state-settled", + "observation": { + "sender": [ + "cb3d443fc9be", + "c274925d7845", + "359e5860abb8", + "f6b15e92940a", + "13ab8771d5c0" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "abbcd2a93f15", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.inner-ok-missing:issue-state-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845", "359e5860abb8", "e8927dceb988"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-project-row-files-merge.inner-ok-missing:pr-state-settled", + "observation": { + "sender": [ + "cb3d443fc9be", + "c274925d7845", + "359e5860abb8", + "e8927dceb988", + "13ab8771d5c0" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.inner-false-string-error:issue-state-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845", "359e5860abb8", "8aa55e932cab"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "1b37ac207e48", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-project-row-files-merge.inner-false-string-error:pr-state-settled", + "observation": { + "sender": [ + "cb3d443fc9be", + "c274925d7845", + "359e5860abb8", + "8aa55e932cab", + "13ab8771d5c0" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "1b37ac207e48", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.inner-false-object-error:issue-state-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845", "359e5860abb8", "96e6092073a3"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "85fe4aac509f", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-project-row-files-merge.inner-false-object-error:pr-state-settled", + "observation": { + "sender": [ + "cb3d443fc9be", + "c274925d7845", + "359e5860abb8", + "96e6092073a3", + "13ab8771d5c0" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "85fe4aac509f", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.outer-refused:issue-state-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845", "359e5860abb8", "6ee59968996b"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "e57a3f9ecfc9", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-project-row-files-merge.outer-refused:pr-state-settled", + "observation": { + "sender": [ + "cb3d443fc9be", + "c274925d7845", + "359e5860abb8", + "6ee59968996b", + "13ab8771d5c0" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "e57a3f9ecfc9", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.outer-refused-no-message:issue-state-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845", "359e5860abb8", "19ba7281c684"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "1e34370849ff", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-project-row-files-merge.outer-refused-no-message:pr-state-settled", + "observation": { + "sender": [ + "cb3d443fc9be", + "c274925d7845", + "359e5860abb8", + "19ba7281c684", + "13ab8771d5c0" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "1e34370849ff", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.method-not-found:issue-state-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845", "359e5860abb8", "c49440be2f91"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "598d95f891dc", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-project-row-files-merge.method-not-found:pr-state-settled", + "observation": { + "sender": [ + "cb3d443fc9be", + "c274925d7845", + "359e5860abb8", + "c49440be2f91", + "13ab8771d5c0" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "598d95f891dc", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.transport-rejection:issue-state-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845", "359e5860abb8", "a9cdda0486ea"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "e594e65c588c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-project-row-files-merge.transport-rejection:pr-state-settled", + "observation": { + "sender": [ + "cb3d443fc9be", + "c274925d7845", + "359e5860abb8", + "a9cdda0486ea", + "13ab8771d5c0" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "e594e65c588c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.transport-rejection-no-message:issue-state-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845", "359e5860abb8", "b1aaaf697117"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "1e34370849ff", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-project-row-files-merge.transport-rejection-no-message:pr-state-settled", + "observation": { + "sender": [ + "cb3d443fc9be", + "c274925d7845", + "359e5860abb8", + "b1aaaf697117", + "13ab8771d5c0" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "1e34370849ff", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-files-merge-github.updateprstate-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-files-merge-github.updateprstate-1.json new file mode 100644 index 00000000000..2dd6a667eaa --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-files-merge-github.updateprstate-1.json @@ -0,0 +1,1763 @@ +{ + "operation": "tasks.project-row-files-merge", + "family": "tasks.project-row-files-merge", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "b228732762828412ad3d9eec3ece00a897d866046e37044322c3911758d6e0a9", + "scenarioSha256": "8d31245ea6869184de082cf9ef3af8d6e0806ab48b6f159e5076f786745c4413", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "02509b3a87d5": { + "name": "github.updateIssue#1", + "args": [ + { + "name": "method", + "value": "github.updateIssue" + }, + { + "name": "params", + "value": { + "number": 9, + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "02b52513bb0d": { + "name": "mutatingStatus", + "value": true, + "sent": 4 + }, + "065a8cd07789": { + "name": "prFileContents", + "value": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "sent": 1 + }, + "06d558d172f7": { + "name": "github.updatePRState#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.updatePRState\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"updates\":{\"state\":\"closed\"}}}" + }, + "0be9101a1dfc": { + "name": "mutatingStatus", + "value": true, + "sent": 3 + }, + "0f3697bbd111": { + "name": "projectMutating", + "value": true, + "sent": 2 + }, + "100ba187880b": { + "name": "github.updatePRState#1", + "args": [ + { + "name": "method", + "value": "github.updatePRState" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "13526638734c": { + "name": "github.updatePRState#1", + "args": [ + { + "name": "method", + "value": "github.updatePRState" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "13ab8771d5c0": { + "name": "github.updatePRState#1", + "args": [ + { + "name": "method", + "value": "github.updatePRState" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "18ffd2f97a51": { + "name": "prFileCommentDrafts", + "value": {}, + "sent": 2 + }, + "1e34370849ff": { + "name": "error", + "value": "", + "sent": 4 + }, + "251de2865843": { + "name": "github.mergePR#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.mergePR\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":2,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"method\":\"squash\"}}" + }, + "252f3a25533f": { + "name": "actionItem", + "value": { + "$rpc": "null" + }, + "sent": 5 + }, + "287030eca79a": { + "name": "prFileLoadingPath", + "value": "src/index.ts", + "sent": 0 + }, + "29ab02f35956": { + "name": "github.prFileContents#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.prFileContents\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":2,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"path\":\"src/index.ts\",\"status\":\"modified\",\"headSha\":\"head-sha\",\"baseSha\":\"base-sha\"}}" + }, + "2dcc3610aa80": { + "name": "error", + "value": "Cannot read properties of null (reading 'ok')", + "sent": 5 + }, + "2e81adcfbca6": { + "name": "error", + "value": "Unknown method", + "sent": 5 + }, + "30f161ec011f": { + "name": "error", + "value": "Cannot read properties of undefined (reading 'ok')", + "sent": 5 + }, + "34718313adf4": { + "name": "github.updatePRState#1", + "args": [ + { + "name": "method", + "value": "github.updatePRState" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "359e5860abb8": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "36bcd0cc2219": { + "name": "error", + "value": "[object Object]", + "sent": 5 + }, + "3825598c02f7": { + "name": "github.updatePRState#1", + "args": [ + { + "name": "method", + "value": "github.updatePRState" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Connection closed", + "isRpcDeliveryUnknown": true + } + } + }, + "396f274f2717": { + "name": "githubProjectTable", + "value": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "name": "Status", + "options": [] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "MERGED", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "sent": 3 + }, + "4174675282eb": { + "name": "error", + "value": "transport failure", + "sent": 5 + }, + "421abd55bc0e": { + "name": "projectRowItem", + "value": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "MERGED", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + }, + "sent": 3 + }, + "4737ca53031e": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "MERGED", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "4d1d017cea91": { + "name": "github.addPRReviewComment#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.addPRReviewComment\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":2,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"commitId\":\"head-sha\",\"path\":\"src/index.ts\",\"line\":12,\"body\":\"a review comment\"}}" + }, + "4dc5f6b0c764": { + "name": "github.updatePRState#1", + "args": [ + { + "name": "method", + "value": "github.updatePRState" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-5", + "ok": false + } + } + }, + "5467502970f1": { + "name": "mutatingStatus", + "value": false, + "sent": 5 + }, + "6203f9c80a3e": { + "name": "github.updatePRState#1", + "args": [ + { + "name": "method", + "value": "github.updatePRState" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "6a8206273d9c": { + "name": "github.updatePRState#1", + "args": [ + { + "name": "method", + "value": "github.updatePRState" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-5", + "ok": false + } + } + }, + "6ba526833af0": { + "name": "error", + "value": "", + "sent": 5 + }, + "6f4f9198e5ff": { + "name": "projectMutating", + "value": false, + "sent": 2 + }, + "70678ab6df9a": { + "name": "mutatingStatus", + "value": false, + "sent": 4 + }, + "718ebcf73f73": { + "name": "github.updatePRState#1", + "args": [ + { + "name": "method", + "value": "github.updatePRState" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "73c3051352c2": { + "name": "projectMutating", + "value": false, + "sent": 3 + }, + "80d38ca65a5d": { + "name": "projectRowDetailError", + "value": "", + "sent": 0 + }, + "85f150b2df81": { + "name": "projectRowDetailError", + "value": "", + "sent": 1 + }, + "8a1d11133692": { + "name": "projectRowDetailError", + "value": "", + "sent": 2 + }, + "8e0d841c499e": { + "name": "github.updatePRState#1", + "args": [ + { + "name": "method", + "value": "github.updatePRState" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true + } + } + }, + "9a4ad458f55c": { + "name": "github.updatePRState#1", + "args": [ + { + "name": "method", + "value": "github.updatePRState" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "c02d6dba8a29": { + "name": "github.updateIssue#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.updateIssue\",\"params\":{\"repo\":\"id:repo-1\",\"number\":9,\"updates\":{\"state\":\"closed\"}}}" + }, + "c0bf26bdb1b1": { + "name": "github.updatePRState#1", + "args": [ + { + "name": "method", + "value": "github.updatePRState" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-5", + "ok": false + } + } + }, + "c22bc4151f3c": { + "name": "actionItem", + "value": { + "$rpc": "null" + }, + "sent": 4 + }, + "c274925d7845": { + "name": "github.addPRReviewComment#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewComment" + }, + { + "name": "params", + "value": { + "body": "a review comment", + "commitId": "head-sha", + "line": 12, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "comment": { + "author": "You", + "body": "a review comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 901, + "line": 12, + "path": "src/index.ts" + }, + "ok": true + } + } + } + }, + "cb3d443fc9be": { + "name": "github.prFileContents#1", + "args": [ + { + "name": "method", + "value": "github.prFileContents" + }, + { + "name": "params", + "value": { + "baseSha": "base-sha", + "headSha": "head-sha", + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "status": "modified" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + } + } + }, + "d1bb762720d5": { + "name": "projectMutating", + "value": true, + "sent": 1 + }, + "d27db8a11567": { + "name": "error", + "value": "inner refused", + "sent": 5 + }, + "d632883158cc": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a review comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 901, + "line": 12, + "path": "src/index.ts" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 2 + }, + "dbbebbd74a18": { + "name": "error", + "value": "", + "sent": 3 + }, + "e02a62a4ddf5": { + "name": "expandedPrFilePath", + "value": "src/index.ts", + "sent": 0 + }, + "e87d71fbc115": { + "name": "error", + "value": "Connection closed", + "sent": 5 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f070b17abcde": { + "name": "prFileLoadingPath", + "value": { + "$rpc": "null" + }, + "sent": 1 + }, + "f673fac7d1d0": { + "name": "error", + "value": "outer refused", + "sent": 5 + }, + "fdf15056fb68": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + } + }, + "recording": { + "scenario": "matrix-tasks.project-row-files-merge-github.updateprstate-1", + "checkpoints": [ + { + "id": "tk-project-row-files-merge.prelude:expand-settled", + "observation": { + "sender": ["cb3d443fc9be"], + "payloads": ["29ab02f35956"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a" + }, + "state": "fdf15056fb68", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde" + ] + } + }, + { + "id": "tk-project-row-files-merge.prelude:file-comment-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845"], + "payloads": ["29ab02f35956", "4d1d017cea91"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a" + }, + "state": "fdf15056fb68", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-files-merge.prelude:merge-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845", "359e5860abb8"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-files-merge.prelude:issue-state-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845", "359e5860abb8", "02509b3a87d5"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "tk-project-row-files-merge.prelude:cleanup", + "observation": { + "sender": [ + "cb3d443fc9be", + "c274925d7845", + "359e5860abb8", + "02509b3a87d5", + "3825598c02f7" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "e87d71fbc115", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.normal:pr-state-settled", + "observation": { + "sender": [ + "cb3d443fc9be", + "c274925d7845", + "359e5860abb8", + "02509b3a87d5", + "13ab8771d5c0" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.result-absent:pr-state-settled", + "observation": { + "sender": [ + "cb3d443fc9be", + "c274925d7845", + "359e5860abb8", + "02509b3a87d5", + "8e0d841c499e" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "30f161ec011f", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.result-null:pr-state-settled", + "observation": { + "sender": [ + "cb3d443fc9be", + "c274925d7845", + "359e5860abb8", + "02509b3a87d5", + "6203f9c80a3e" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "2dcc3610aa80", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.inner-ok-missing:pr-state-settled", + "observation": { + "sender": [ + "cb3d443fc9be", + "c274925d7845", + "359e5860abb8", + "02509b3a87d5", + "718ebcf73f73" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.inner-false-string-error:pr-state-settled", + "observation": { + "sender": [ + "cb3d443fc9be", + "c274925d7845", + "359e5860abb8", + "02509b3a87d5", + "9a4ad458f55c" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "d27db8a11567", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.inner-false-object-error:pr-state-settled", + "observation": { + "sender": [ + "cb3d443fc9be", + "c274925d7845", + "359e5860abb8", + "02509b3a87d5", + "34718313adf4" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "36bcd0cc2219", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.outer-refused:pr-state-settled", + "observation": { + "sender": [ + "cb3d443fc9be", + "c274925d7845", + "359e5860abb8", + "02509b3a87d5", + "6a8206273d9c" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "f673fac7d1d0", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.outer-refused-no-message:pr-state-settled", + "observation": { + "sender": [ + "cb3d443fc9be", + "c274925d7845", + "359e5860abb8", + "02509b3a87d5", + "c0bf26bdb1b1" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "6ba526833af0", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.method-not-found:pr-state-settled", + "observation": { + "sender": [ + "cb3d443fc9be", + "c274925d7845", + "359e5860abb8", + "02509b3a87d5", + "4dc5f6b0c764" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "2e81adcfbca6", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.transport-rejection:pr-state-settled", + "observation": { + "sender": [ + "cb3d443fc9be", + "c274925d7845", + "359e5860abb8", + "02509b3a87d5", + "100ba187880b" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "4174675282eb", + "5467502970f1" + ] + } + }, + { + "id": "tk-project-row-files-merge.transport-rejection-no-message:pr-state-settled", + "observation": { + "sender": [ + "cb3d443fc9be", + "c274925d7845", + "359e5860abb8", + "02509b3a87d5", + "13526638734c" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "6ba526833af0", + "5467502970f1" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-metadata-load-github.project.listassignableusersbyslug-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-metadata-load-github.project.listassignableusersbyslug-1.json new file mode 100644 index 00000000000..781e8bbe0a6 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-metadata-load-github.project.listassignableusersbyslug-1.json @@ -0,0 +1,1076 @@ +{ + "operation": "tasks.project-row-metadata-load", + "family": "tasks.project-row-metadata-load", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "f8f6e5d500f959b9b15c5498885a05422747880b6aef4ad795bc3064ebbacea6", + "scenarioSha256": "2303fc902e5a6cf6a43db58ef2938538a7b770d1509cc22a9811f4c83051aea1", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "019b572d889b": { + "name": "projectAssignableUsersError", + "value": "Cannot read properties of undefined (reading 'ok')", + "sent": 3 + }, + "09f12e10766e": { + "name": "projectIssueTypesLoading", + "value": false, + "sent": 3 + }, + "193e408831dc": { + "name": "projectAssignableUsersError", + "value": "Unknown method", + "sent": 3 + }, + "26e63cedd53f": { + "name": "projectAssignableUsersError", + "value": "transport failure", + "sent": 3 + }, + "2ef615f214b1": { + "name": "projectAssignableUsers", + "value": [ + { + "login": "octocat", + "name": "Octo" + } + ], + "sent": 3 + }, + "32b4277def9a": { + "name": "projectAvailableLabels", + "value": ["bug"], + "sent": 3 + }, + "3f5d8df504de": { + "name": "github.project.listLabelsBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.listLabelsBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "labels": ["bug"], + "ok": true + } + } + } + }, + "422b5b394c6c": { + "name": "github.project.listAssignableUsersBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.listAssignableUsersBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo", + "seedLogins": ["octocat"] + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "4300c57e763f": { + "name": "github.project.listAssignableUsersBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.listAssignableUsersBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo", + "seedLogins": ["octocat"] + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "45c516d96c02": { + "name": "github.project.listAssignableUsersBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.listAssignableUsersBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo", + "seedLogins": ["octocat"] + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "554d6896d32c": { + "labels": ["bug"], + "labelsError": "", + "types": [ + { + "id": "type-1", + "name": "Bug" + } + ], + "typesError": "", + "users": [], + "usersError": "Cannot read properties of undefined (reading 'ok')" + }, + "56df060067e5": { + "name": "github.project.listAssignableUsersBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.listAssignableUsersBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo", + "seedLogins": ["octocat"] + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "57d4746ddb82": { + "name": "projectAssignableUsersLoading", + "value": true, + "sent": 1 + }, + "580a93d48297": { + "labels": ["bug"], + "labelsError": "", + "types": [ + { + "id": "type-1", + "name": "Bug" + } + ], + "typesError": "", + "users": [], + "usersError": "Unknown method" + }, + "5fd1b0e4ca3a": { + "name": "projectAssignableUsersLoading", + "value": false, + "sent": 3 + }, + "63501635672a": { + "labels": ["bug"], + "labelsError": "", + "types": [ + { + "id": "type-1", + "name": "Bug" + } + ], + "typesError": "", + "users": [], + "usersError": "Cannot read properties of null (reading 'ok')" + }, + "6375bbcea315": { + "name": "projectAssignableUsersError", + "value": "inner refused", + "sent": 3 + }, + "6c910b6dc2fa": { + "name": "projectIssueTypesError", + "value": "", + "sent": 2 + }, + "7122de433e6a": { + "name": "projectIssueTypes", + "value": [ + { + "id": "type-1", + "name": "Bug" + } + ], + "sent": 3 + }, + "739399640862": { + "name": "github.project.listAssignableUsersBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.listAssignableUsersBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo", + "seedLogins": ["octocat"] + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "76f67a78fe7b": { + "name": "github.project.listAssignableUsersBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.listAssignableUsersBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo", + "seedLogins": ["octocat"] + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "7e5e42c91283": { + "name": "github.project.listAssignableUsersBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.listAssignableUsersBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo", + "seedLogins": ["octocat"] + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "84c3fb2868bd": { + "name": "github.project.listIssueTypesBySlug#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listIssueTypesBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"}}" + }, + "898de671c728": { + "name": "github.project.listAssignableUsersBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.listAssignableUsersBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo", + "seedLogins": ["octocat"] + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "8ebe151a4e7c": { + "name": "projectAssignableUsersError", + "value": "Cannot read properties of null (reading 'ok')", + "sent": 3 + }, + "8f395e09a24b": { + "name": "projectAvailableLabels", + "value": [], + "sent": 0 + }, + "8fbb806f8730": { + "name": "github.project.listIssueTypesBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.listIssueTypesBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "ok": true, + "types": [ + { + "id": "type-1", + "name": "Bug" + } + ] + } + } + } + }, + "9264d848b194": { + "name": "github.project.listAssignableUsersBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.listAssignableUsersBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo", + "seedLogins": ["octocat"] + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "9a8068985c26": { + "name": "github.project.listAssignableUsersBySlug#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listAssignableUsersBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\",\"seedLogins\":[\"octocat\"]}}" + }, + "9b3320d7d510": { + "labels": ["bug"], + "labelsError": "", + "types": [ + { + "id": "type-1", + "name": "Bug" + } + ], + "typesError": "", + "users": [], + "usersError": "" + }, + "a9da2a563a6c": { + "name": "projectLabelsLoading", + "value": false, + "sent": 3 + }, + "bf0887cbf7f3": { + "name": "projectAssignableUsersError", + "value": "", + "sent": 1 + }, + "bfd812ba86c3": { + "name": "projectIssueTypesLoading", + "value": true, + "sent": 2 + }, + "bfdd7df58f9b": { + "name": "projectLabelsError", + "value": "", + "sent": 0 + }, + "c1ec04d6cffb": { + "labels": ["bug"], + "labelsError": "", + "types": [ + { + "id": "type-1", + "name": "Bug" + } + ], + "typesError": "", + "users": [], + "usersError": "inner refused" + }, + "d14a772531e0": { + "name": "projectLabelsLoading", + "value": true, + "sent": 0 + }, + "d17d55e4fee3": { + "name": "projectAssignableUsers", + "value": [], + "sent": 1 + }, + "d41a9829423a": { + "labels": ["bug"], + "labelsError": "", + "types": [ + { + "id": "type-1", + "name": "Bug" + } + ], + "typesError": "", + "users": [], + "usersError": "Failed to load assignees" + }, + "d5d91d8a5bac": { + "labels": ["bug"], + "labelsError": "", + "types": [ + { + "id": "type-1", + "name": "Bug" + } + ], + "typesError": "", + "users": [ + { + "login": "octocat", + "name": "Octo" + } + ], + "usersError": "" + }, + "d8ccdd1938bf": { + "name": "projectAssignableUsersError", + "value": "", + "sent": 3 + }, + "da36de1a5410": { + "name": "github.project.listLabelsBySlug#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listLabelsBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"}}" + }, + "de5d251f09d0": { + "name": "projectAssignableUsersError", + "value": "Failed to load assignees", + "sent": 3 + }, + "ea3458d66e88": { + "name": "projectAssignableUsersError", + "value": "outer refused", + "sent": 3 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ee43aa13c95f": { + "name": "projectIssueTypes", + "value": [], + "sent": 2 + }, + "ef507c348d21": { + "name": "github.project.listAssignableUsersBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.listAssignableUsersBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo", + "seedLogins": ["octocat"] + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "ok": true, + "users": [ + { + "login": "octocat", + "name": "Octo" + } + ] + } + } + } + }, + "f1e41c753708": { + "labels": ["bug"], + "labelsError": "", + "types": [ + { + "id": "type-1", + "name": "Bug" + } + ], + "typesError": "", + "users": [], + "usersError": "outer refused" + }, + "f86f58d75c2a": { + "name": "github.project.listAssignableUsersBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.listAssignableUsersBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo", + "seedLogins": ["octocat"] + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "faf207372749": { + "labels": ["bug"], + "labelsError": "", + "types": [ + { + "id": "type-1", + "name": "Bug" + } + ], + "typesError": "", + "users": [], + "usersError": "transport failure" + } + }, + "recording": { + "scenario": "matrix-tasks.project-row-metadata-load-github.project.listassignableusersbyslug-1", + "checkpoints": [ + { + "id": "tk-project-row-metadata-load.normal:mounted", + "observation": { + "sender": ["3f5d8df504de", "ef507c348d21", "8fbb806f8730"], + "payloads": ["da36de1a5410", "9a8068985c26", "84c3fb2868bd"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "d5d91d8a5bac", + "effects": [ + "8f395e09a24b", + "bfdd7df58f9b", + "d14a772531e0", + "d17d55e4fee3", + "bf0887cbf7f3", + "57d4746ddb82", + "ee43aa13c95f", + "6c910b6dc2fa", + "bfd812ba86c3", + "32b4277def9a", + "a9da2a563a6c", + "2ef615f214b1", + "5fd1b0e4ca3a", + "7122de433e6a", + "09f12e10766e" + ] + } + }, + { + "id": "tk-project-row-metadata-load.result-absent:mounted", + "observation": { + "sender": ["3f5d8df504de", "45c516d96c02", "8fbb806f8730"], + "payloads": ["da36de1a5410", "9a8068985c26", "84c3fb2868bd"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "554d6896d32c", + "effects": [ + "8f395e09a24b", + "bfdd7df58f9b", + "d14a772531e0", + "d17d55e4fee3", + "bf0887cbf7f3", + "57d4746ddb82", + "ee43aa13c95f", + "6c910b6dc2fa", + "bfd812ba86c3", + "32b4277def9a", + "a9da2a563a6c", + "019b572d889b", + "5fd1b0e4ca3a", + "7122de433e6a", + "09f12e10766e" + ] + } + }, + { + "id": "tk-project-row-metadata-load.result-null:mounted", + "observation": { + "sender": ["3f5d8df504de", "4300c57e763f", "8fbb806f8730"], + "payloads": ["da36de1a5410", "9a8068985c26", "84c3fb2868bd"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "63501635672a", + "effects": [ + "8f395e09a24b", + "bfdd7df58f9b", + "d14a772531e0", + "d17d55e4fee3", + "bf0887cbf7f3", + "57d4746ddb82", + "ee43aa13c95f", + "6c910b6dc2fa", + "bfd812ba86c3", + "32b4277def9a", + "a9da2a563a6c", + "8ebe151a4e7c", + "5fd1b0e4ca3a", + "7122de433e6a", + "09f12e10766e" + ] + } + }, + { + "id": "tk-project-row-metadata-load.inner-ok-missing:mounted", + "observation": { + "sender": ["3f5d8df504de", "f86f58d75c2a", "8fbb806f8730"], + "payloads": ["da36de1a5410", "9a8068985c26", "84c3fb2868bd"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "d41a9829423a", + "effects": [ + "8f395e09a24b", + "bfdd7df58f9b", + "d14a772531e0", + "d17d55e4fee3", + "bf0887cbf7f3", + "57d4746ddb82", + "ee43aa13c95f", + "6c910b6dc2fa", + "bfd812ba86c3", + "32b4277def9a", + "a9da2a563a6c", + "de5d251f09d0", + "5fd1b0e4ca3a", + "7122de433e6a", + "09f12e10766e" + ] + } + }, + { + "id": "tk-project-row-metadata-load.inner-false-string-error:mounted", + "observation": { + "sender": ["3f5d8df504de", "739399640862", "8fbb806f8730"], + "payloads": ["da36de1a5410", "9a8068985c26", "84c3fb2868bd"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "d41a9829423a", + "effects": [ + "8f395e09a24b", + "bfdd7df58f9b", + "d14a772531e0", + "d17d55e4fee3", + "bf0887cbf7f3", + "57d4746ddb82", + "ee43aa13c95f", + "6c910b6dc2fa", + "bfd812ba86c3", + "32b4277def9a", + "a9da2a563a6c", + "de5d251f09d0", + "5fd1b0e4ca3a", + "7122de433e6a", + "09f12e10766e" + ] + } + }, + { + "id": "tk-project-row-metadata-load.inner-false-object-error:mounted", + "observation": { + "sender": ["3f5d8df504de", "422b5b394c6c", "8fbb806f8730"], + "payloads": ["da36de1a5410", "9a8068985c26", "84c3fb2868bd"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "c1ec04d6cffb", + "effects": [ + "8f395e09a24b", + "bfdd7df58f9b", + "d14a772531e0", + "d17d55e4fee3", + "bf0887cbf7f3", + "57d4746ddb82", + "ee43aa13c95f", + "6c910b6dc2fa", + "bfd812ba86c3", + "32b4277def9a", + "a9da2a563a6c", + "6375bbcea315", + "5fd1b0e4ca3a", + "7122de433e6a", + "09f12e10766e" + ] + } + }, + { + "id": "tk-project-row-metadata-load.outer-refused:mounted", + "observation": { + "sender": ["3f5d8df504de", "56df060067e5", "8fbb806f8730"], + "payloads": ["da36de1a5410", "9a8068985c26", "84c3fb2868bd"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "f1e41c753708", + "effects": [ + "8f395e09a24b", + "bfdd7df58f9b", + "d14a772531e0", + "d17d55e4fee3", + "bf0887cbf7f3", + "57d4746ddb82", + "ee43aa13c95f", + "6c910b6dc2fa", + "bfd812ba86c3", + "32b4277def9a", + "a9da2a563a6c", + "ea3458d66e88", + "5fd1b0e4ca3a", + "7122de433e6a", + "09f12e10766e" + ] + } + }, + { + "id": "tk-project-row-metadata-load.outer-refused-no-message:mounted", + "observation": { + "sender": ["3f5d8df504de", "7e5e42c91283", "8fbb806f8730"], + "payloads": ["da36de1a5410", "9a8068985c26", "84c3fb2868bd"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "9b3320d7d510", + "effects": [ + "8f395e09a24b", + "bfdd7df58f9b", + "d14a772531e0", + "d17d55e4fee3", + "bf0887cbf7f3", + "57d4746ddb82", + "ee43aa13c95f", + "6c910b6dc2fa", + "bfd812ba86c3", + "32b4277def9a", + "a9da2a563a6c", + "d8ccdd1938bf", + "5fd1b0e4ca3a", + "7122de433e6a", + "09f12e10766e" + ] + } + }, + { + "id": "tk-project-row-metadata-load.method-not-found:mounted", + "observation": { + "sender": ["3f5d8df504de", "76f67a78fe7b", "8fbb806f8730"], + "payloads": ["da36de1a5410", "9a8068985c26", "84c3fb2868bd"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "580a93d48297", + "effects": [ + "8f395e09a24b", + "bfdd7df58f9b", + "d14a772531e0", + "d17d55e4fee3", + "bf0887cbf7f3", + "57d4746ddb82", + "ee43aa13c95f", + "6c910b6dc2fa", + "bfd812ba86c3", + "32b4277def9a", + "a9da2a563a6c", + "193e408831dc", + "5fd1b0e4ca3a", + "7122de433e6a", + "09f12e10766e" + ] + } + }, + { + "id": "tk-project-row-metadata-load.transport-rejection:mounted", + "observation": { + "sender": ["3f5d8df504de", "898de671c728", "8fbb806f8730"], + "payloads": ["da36de1a5410", "9a8068985c26", "84c3fb2868bd"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "faf207372749", + "effects": [ + "8f395e09a24b", + "bfdd7df58f9b", + "d14a772531e0", + "d17d55e4fee3", + "bf0887cbf7f3", + "57d4746ddb82", + "ee43aa13c95f", + "6c910b6dc2fa", + "bfd812ba86c3", + "32b4277def9a", + "a9da2a563a6c", + "26e63cedd53f", + "5fd1b0e4ca3a", + "7122de433e6a", + "09f12e10766e" + ] + } + }, + { + "id": "tk-project-row-metadata-load.transport-rejection-no-message:mounted", + "observation": { + "sender": ["3f5d8df504de", "9264d848b194", "8fbb806f8730"], + "payloads": ["da36de1a5410", "9a8068985c26", "84c3fb2868bd"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "9b3320d7d510", + "effects": [ + "8f395e09a24b", + "bfdd7df58f9b", + "d14a772531e0", + "d17d55e4fee3", + "bf0887cbf7f3", + "57d4746ddb82", + "ee43aa13c95f", + "6c910b6dc2fa", + "bfd812ba86c3", + "32b4277def9a", + "a9da2a563a6c", + "d8ccdd1938bf", + "5fd1b0e4ca3a", + "7122de433e6a", + "09f12e10766e" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-metadata-load-github.project.listissuetypesbyslug-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-metadata-load-github.project.listissuetypesbyslug-1.json new file mode 100644 index 00000000000..83210fae006 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-metadata-load-github.project.listissuetypesbyslug-1.json @@ -0,0 +1,1066 @@ +{ + "operation": "tasks.project-row-metadata-load", + "family": "tasks.project-row-metadata-load", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "f8f6e5d500f959b9b15c5498885a05422747880b6aef4ad795bc3064ebbacea6", + "scenarioSha256": "8b75854487566ca6da98d391b6822c81c99e61011fc094458ae038905c1c9287", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0329856b8162": { + "name": "projectIssueTypesError", + "value": "Unknown method", + "sent": 3 + }, + "09f12e10766e": { + "name": "projectIssueTypesLoading", + "value": false, + "sent": 3 + }, + "10e6f0eb4832": { + "name": "github.project.listIssueTypesBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.listIssueTypesBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true + } + } + }, + "1273b9cdf496": { + "name": "github.project.listIssueTypesBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.listIssueTypesBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "1dbe4f4ee3a9": { + "name": "projectIssueTypesError", + "value": "Cannot read properties of undefined (reading 'ok')", + "sent": 3 + }, + "1e4a42e12fe1": { + "labels": ["bug"], + "labelsError": "", + "types": [], + "typesError": "outer refused", + "users": [ + { + "login": "octocat", + "name": "Octo" + } + ], + "usersError": "" + }, + "240e8dbe86a2": { + "name": "projectIssueTypesError", + "value": "outer refused", + "sent": 3 + }, + "2654bf3eaeb5": { + "name": "github.project.listIssueTypesBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.listIssueTypesBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "2ef615f214b1": { + "name": "projectAssignableUsers", + "value": [ + { + "login": "octocat", + "name": "Octo" + } + ], + "sent": 3 + }, + "3172adfa8033": { + "name": "projectIssueTypesError", + "value": "Failed to load issue types", + "sent": 3 + }, + "32b4277def9a": { + "name": "projectAvailableLabels", + "value": ["bug"], + "sent": 3 + }, + "3f5d8df504de": { + "name": "github.project.listLabelsBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.listLabelsBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "labels": ["bug"], + "ok": true + } + } + } + }, + "404aee2280bc": { + "labels": ["bug"], + "labelsError": "", + "types": [], + "typesError": "", + "users": [ + { + "login": "octocat", + "name": "Octo" + } + ], + "usersError": "" + }, + "470cb6d8e135": { + "name": "github.project.listIssueTypesBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.listIssueTypesBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-3", + "ok": false + } + } + }, + "48ae65ccd05f": { + "name": "projectIssueTypesError", + "value": "inner refused", + "sent": 3 + }, + "57d4746ddb82": { + "name": "projectAssignableUsersLoading", + "value": true, + "sent": 1 + }, + "5fd1b0e4ca3a": { + "name": "projectAssignableUsersLoading", + "value": false, + "sent": 3 + }, + "61b9b973f3c5": { + "name": "github.project.listIssueTypesBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.listIssueTypesBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "67c6703593b1": { + "name": "github.project.listIssueTypesBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.listIssueTypesBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "6c910b6dc2fa": { + "name": "projectIssueTypesError", + "value": "", + "sent": 2 + }, + "6d0473328c78": { + "name": "github.project.listIssueTypesBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.listIssueTypesBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "7122de433e6a": { + "name": "projectIssueTypes", + "value": [ + { + "id": "type-1", + "name": "Bug" + } + ], + "sent": 3 + }, + "78836b1c1374": { + "labels": ["bug"], + "labelsError": "", + "types": [], + "typesError": "Cannot read properties of undefined (reading 'ok')", + "users": [ + { + "login": "octocat", + "name": "Octo" + } + ], + "usersError": "" + }, + "7c837b386969": { + "labels": ["bug"], + "labelsError": "", + "types": [], + "typesError": "Unknown method", + "users": [ + { + "login": "octocat", + "name": "Octo" + } + ], + "usersError": "" + }, + "7dce712a128e": { + "name": "projectIssueTypesError", + "value": "Cannot read properties of null (reading 'ok')", + "sent": 3 + }, + "84c3fb2868bd": { + "name": "github.project.listIssueTypesBySlug#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listIssueTypesBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"}}" + }, + "85dea4f0ec45": { + "labels": ["bug"], + "labelsError": "", + "types": [], + "typesError": "inner refused", + "users": [ + { + "login": "octocat", + "name": "Octo" + } + ], + "usersError": "" + }, + "8cec5485d355": { + "labels": ["bug"], + "labelsError": "", + "types": [], + "typesError": "Cannot read properties of null (reading 'ok')", + "users": [ + { + "login": "octocat", + "name": "Octo" + } + ], + "usersError": "" + }, + "8f395e09a24b": { + "name": "projectAvailableLabels", + "value": [], + "sent": 0 + }, + "8fbb806f8730": { + "name": "github.project.listIssueTypesBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.listIssueTypesBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "ok": true, + "types": [ + { + "id": "type-1", + "name": "Bug" + } + ] + } + } + } + }, + "9a8068985c26": { + "name": "github.project.listAssignableUsersBySlug#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listAssignableUsersBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\",\"seedLogins\":[\"octocat\"]}}" + }, + "a5fc70778afe": { + "labels": ["bug"], + "labelsError": "", + "types": [], + "typesError": "Failed to load issue types", + "users": [ + { + "login": "octocat", + "name": "Octo" + } + ], + "usersError": "" + }, + "a9da2a563a6c": { + "name": "projectLabelsLoading", + "value": false, + "sent": 3 + }, + "bf0887cbf7f3": { + "name": "projectAssignableUsersError", + "value": "", + "sent": 1 + }, + "bfd812ba86c3": { + "name": "projectIssueTypesLoading", + "value": true, + "sent": 2 + }, + "bfdd7df58f9b": { + "name": "projectLabelsError", + "value": "", + "sent": 0 + }, + "c573e0717658": { + "name": "projectIssueTypesError", + "value": "", + "sent": 3 + }, + "ce078ca67d81": { + "name": "github.project.listIssueTypesBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.listIssueTypesBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-3", + "ok": false + } + } + }, + "d14a772531e0": { + "name": "projectLabelsLoading", + "value": true, + "sent": 0 + }, + "d174aa9012c0": { + "labels": ["bug"], + "labelsError": "", + "types": [], + "typesError": "transport failure", + "users": [ + { + "login": "octocat", + "name": "Octo" + } + ], + "usersError": "" + }, + "d17d55e4fee3": { + "name": "projectAssignableUsers", + "value": [], + "sent": 1 + }, + "d5d91d8a5bac": { + "labels": ["bug"], + "labelsError": "", + "types": [ + { + "id": "type-1", + "name": "Bug" + } + ], + "typesError": "", + "users": [ + { + "login": "octocat", + "name": "Octo" + } + ], + "usersError": "" + }, + "da36de1a5410": { + "name": "github.project.listLabelsBySlug#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listLabelsBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"}}" + }, + "e3813cfb8529": { + "name": "github.project.listIssueTypesBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.listIssueTypesBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "e3e945349a67": { + "name": "github.project.listIssueTypesBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.listIssueTypesBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-3", + "ok": false + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ee43aa13c95f": { + "name": "projectIssueTypes", + "value": [], + "sent": 2 + }, + "ef507c348d21": { + "name": "github.project.listAssignableUsersBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.listAssignableUsersBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo", + "seedLogins": ["octocat"] + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "ok": true, + "users": [ + { + "login": "octocat", + "name": "Octo" + } + ] + } + } + } + }, + "f0ab50bf91b1": { + "name": "projectIssueTypesError", + "value": "transport failure", + "sent": 3 + } + }, + "recording": { + "scenario": "matrix-tasks.project-row-metadata-load-github.project.listissuetypesbyslug-1", + "checkpoints": [ + { + "id": "tk-project-row-metadata-load.normal:mounted", + "observation": { + "sender": ["3f5d8df504de", "ef507c348d21", "8fbb806f8730"], + "payloads": ["da36de1a5410", "9a8068985c26", "84c3fb2868bd"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "d5d91d8a5bac", + "effects": [ + "8f395e09a24b", + "bfdd7df58f9b", + "d14a772531e0", + "d17d55e4fee3", + "bf0887cbf7f3", + "57d4746ddb82", + "ee43aa13c95f", + "6c910b6dc2fa", + "bfd812ba86c3", + "32b4277def9a", + "a9da2a563a6c", + "2ef615f214b1", + "5fd1b0e4ca3a", + "7122de433e6a", + "09f12e10766e" + ] + } + }, + { + "id": "tk-project-row-metadata-load.result-absent:mounted", + "observation": { + "sender": ["3f5d8df504de", "ef507c348d21", "10e6f0eb4832"], + "payloads": ["da36de1a5410", "9a8068985c26", "84c3fb2868bd"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "78836b1c1374", + "effects": [ + "8f395e09a24b", + "bfdd7df58f9b", + "d14a772531e0", + "d17d55e4fee3", + "bf0887cbf7f3", + "57d4746ddb82", + "ee43aa13c95f", + "6c910b6dc2fa", + "bfd812ba86c3", + "32b4277def9a", + "a9da2a563a6c", + "2ef615f214b1", + "5fd1b0e4ca3a", + "1dbe4f4ee3a9", + "09f12e10766e" + ] + } + }, + { + "id": "tk-project-row-metadata-load.result-null:mounted", + "observation": { + "sender": ["3f5d8df504de", "ef507c348d21", "e3813cfb8529"], + "payloads": ["da36de1a5410", "9a8068985c26", "84c3fb2868bd"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "8cec5485d355", + "effects": [ + "8f395e09a24b", + "bfdd7df58f9b", + "d14a772531e0", + "d17d55e4fee3", + "bf0887cbf7f3", + "57d4746ddb82", + "ee43aa13c95f", + "6c910b6dc2fa", + "bfd812ba86c3", + "32b4277def9a", + "a9da2a563a6c", + "2ef615f214b1", + "5fd1b0e4ca3a", + "7dce712a128e", + "09f12e10766e" + ] + } + }, + { + "id": "tk-project-row-metadata-load.inner-ok-missing:mounted", + "observation": { + "sender": ["3f5d8df504de", "ef507c348d21", "1273b9cdf496"], + "payloads": ["da36de1a5410", "9a8068985c26", "84c3fb2868bd"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "a5fc70778afe", + "effects": [ + "8f395e09a24b", + "bfdd7df58f9b", + "d14a772531e0", + "d17d55e4fee3", + "bf0887cbf7f3", + "57d4746ddb82", + "ee43aa13c95f", + "6c910b6dc2fa", + "bfd812ba86c3", + "32b4277def9a", + "a9da2a563a6c", + "2ef615f214b1", + "5fd1b0e4ca3a", + "3172adfa8033", + "09f12e10766e" + ] + } + }, + { + "id": "tk-project-row-metadata-load.inner-false-string-error:mounted", + "observation": { + "sender": ["3f5d8df504de", "ef507c348d21", "6d0473328c78"], + "payloads": ["da36de1a5410", "9a8068985c26", "84c3fb2868bd"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "a5fc70778afe", + "effects": [ + "8f395e09a24b", + "bfdd7df58f9b", + "d14a772531e0", + "d17d55e4fee3", + "bf0887cbf7f3", + "57d4746ddb82", + "ee43aa13c95f", + "6c910b6dc2fa", + "bfd812ba86c3", + "32b4277def9a", + "a9da2a563a6c", + "2ef615f214b1", + "5fd1b0e4ca3a", + "3172adfa8033", + "09f12e10766e" + ] + } + }, + { + "id": "tk-project-row-metadata-load.inner-false-object-error:mounted", + "observation": { + "sender": ["3f5d8df504de", "ef507c348d21", "2654bf3eaeb5"], + "payloads": ["da36de1a5410", "9a8068985c26", "84c3fb2868bd"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "85dea4f0ec45", + "effects": [ + "8f395e09a24b", + "bfdd7df58f9b", + "d14a772531e0", + "d17d55e4fee3", + "bf0887cbf7f3", + "57d4746ddb82", + "ee43aa13c95f", + "6c910b6dc2fa", + "bfd812ba86c3", + "32b4277def9a", + "a9da2a563a6c", + "2ef615f214b1", + "5fd1b0e4ca3a", + "48ae65ccd05f", + "09f12e10766e" + ] + } + }, + { + "id": "tk-project-row-metadata-load.outer-refused:mounted", + "observation": { + "sender": ["3f5d8df504de", "ef507c348d21", "ce078ca67d81"], + "payloads": ["da36de1a5410", "9a8068985c26", "84c3fb2868bd"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "1e4a42e12fe1", + "effects": [ + "8f395e09a24b", + "bfdd7df58f9b", + "d14a772531e0", + "d17d55e4fee3", + "bf0887cbf7f3", + "57d4746ddb82", + "ee43aa13c95f", + "6c910b6dc2fa", + "bfd812ba86c3", + "32b4277def9a", + "a9da2a563a6c", + "2ef615f214b1", + "5fd1b0e4ca3a", + "240e8dbe86a2", + "09f12e10766e" + ] + } + }, + { + "id": "tk-project-row-metadata-load.outer-refused-no-message:mounted", + "observation": { + "sender": ["3f5d8df504de", "ef507c348d21", "e3e945349a67"], + "payloads": ["da36de1a5410", "9a8068985c26", "84c3fb2868bd"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "404aee2280bc", + "effects": [ + "8f395e09a24b", + "bfdd7df58f9b", + "d14a772531e0", + "d17d55e4fee3", + "bf0887cbf7f3", + "57d4746ddb82", + "ee43aa13c95f", + "6c910b6dc2fa", + "bfd812ba86c3", + "32b4277def9a", + "a9da2a563a6c", + "2ef615f214b1", + "5fd1b0e4ca3a", + "c573e0717658", + "09f12e10766e" + ] + } + }, + { + "id": "tk-project-row-metadata-load.method-not-found:mounted", + "observation": { + "sender": ["3f5d8df504de", "ef507c348d21", "470cb6d8e135"], + "payloads": ["da36de1a5410", "9a8068985c26", "84c3fb2868bd"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "7c837b386969", + "effects": [ + "8f395e09a24b", + "bfdd7df58f9b", + "d14a772531e0", + "d17d55e4fee3", + "bf0887cbf7f3", + "57d4746ddb82", + "ee43aa13c95f", + "6c910b6dc2fa", + "bfd812ba86c3", + "32b4277def9a", + "a9da2a563a6c", + "2ef615f214b1", + "5fd1b0e4ca3a", + "0329856b8162", + "09f12e10766e" + ] + } + }, + { + "id": "tk-project-row-metadata-load.transport-rejection:mounted", + "observation": { + "sender": ["3f5d8df504de", "ef507c348d21", "61b9b973f3c5"], + "payloads": ["da36de1a5410", "9a8068985c26", "84c3fb2868bd"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "d174aa9012c0", + "effects": [ + "8f395e09a24b", + "bfdd7df58f9b", + "d14a772531e0", + "d17d55e4fee3", + "bf0887cbf7f3", + "57d4746ddb82", + "ee43aa13c95f", + "6c910b6dc2fa", + "bfd812ba86c3", + "32b4277def9a", + "a9da2a563a6c", + "2ef615f214b1", + "5fd1b0e4ca3a", + "f0ab50bf91b1", + "09f12e10766e" + ] + } + }, + { + "id": "tk-project-row-metadata-load.transport-rejection-no-message:mounted", + "observation": { + "sender": ["3f5d8df504de", "ef507c348d21", "67c6703593b1"], + "payloads": ["da36de1a5410", "9a8068985c26", "84c3fb2868bd"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "404aee2280bc", + "effects": [ + "8f395e09a24b", + "bfdd7df58f9b", + "d14a772531e0", + "d17d55e4fee3", + "bf0887cbf7f3", + "57d4746ddb82", + "ee43aa13c95f", + "6c910b6dc2fa", + "bfd812ba86c3", + "32b4277def9a", + "a9da2a563a6c", + "2ef615f214b1", + "5fd1b0e4ca3a", + "c573e0717658", + "09f12e10766e" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-metadata-load-github.project.listlabelsbyslug-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-metadata-load-github.project.listlabelsbyslug-1.json new file mode 100644 index 00000000000..57aa678cdcc --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-metadata-load-github.project.listlabelsbyslug-1.json @@ -0,0 +1,1106 @@ +{ + "operation": "tasks.project-row-metadata-load", + "family": "tasks.project-row-metadata-load", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "f8f6e5d500f959b9b15c5498885a05422747880b6aef4ad795bc3064ebbacea6", + "scenarioSha256": "7c948e76afb331e4038298215181adc97cd533c4f79e205e183c08e8a2db20fc", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "09f12e10766e": { + "name": "projectIssueTypesLoading", + "value": false, + "sent": 3 + }, + "0ef05fd70152": { + "name": "github.project.listLabelsBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.listLabelsBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "19e6a8232bfe": { + "name": "github.project.listLabelsBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.listLabelsBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "28bac89de584": { + "labels": [], + "labelsError": "inner refused", + "types": [ + { + "id": "type-1", + "name": "Bug" + } + ], + "typesError": "", + "users": [ + { + "login": "octocat", + "name": "Octo" + } + ], + "usersError": "" + }, + "2ef615f214b1": { + "name": "projectAssignableUsers", + "value": [ + { + "login": "octocat", + "name": "Octo" + } + ], + "sent": 3 + }, + "32b4277def9a": { + "name": "projectAvailableLabels", + "value": ["bug"], + "sent": 3 + }, + "33456346b818": { + "name": "github.project.listLabelsBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.listLabelsBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "38bb5568ec06": { + "name": "projectLabelsError", + "value": "transport failure", + "sent": 3 + }, + "3a740cb021bb": { + "name": "github.project.listLabelsBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.listLabelsBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "3bee39e3449b": { + "name": "github.project.listLabelsBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.listLabelsBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "3f5d8df504de": { + "name": "github.project.listLabelsBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.listLabelsBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "labels": ["bug"], + "ok": true + } + } + } + }, + "4898092f9671": { + "name": "projectLabelsError", + "value": "Cannot read properties of undefined (reading 'ok')", + "sent": 3 + }, + "50071e824d24": { + "name": "projectLabelsError", + "value": "Cannot read properties of null (reading 'ok')", + "sent": 3 + }, + "52e20d57bbfa": { + "name": "github.project.listLabelsBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.listLabelsBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "53a82e75f637": { + "labels": [], + "labelsError": "transport failure", + "types": [ + { + "id": "type-1", + "name": "Bug" + } + ], + "typesError": "", + "users": [ + { + "login": "octocat", + "name": "Octo" + } + ], + "usersError": "" + }, + "57d4746ddb82": { + "name": "projectAssignableUsersLoading", + "value": true, + "sent": 1 + }, + "58119434ee38": { + "labels": [], + "labelsError": "outer refused", + "types": [ + { + "id": "type-1", + "name": "Bug" + } + ], + "typesError": "", + "users": [ + { + "login": "octocat", + "name": "Octo" + } + ], + "usersError": "" + }, + "5fd1b0e4ca3a": { + "name": "projectAssignableUsersLoading", + "value": false, + "sent": 3 + }, + "696fa42cb11c": { + "name": "projectLabelsError", + "value": "outer refused", + "sent": 3 + }, + "6c910b6dc2fa": { + "name": "projectIssueTypesError", + "value": "", + "sent": 2 + }, + "6cc4cd12a170": { + "labels": [], + "labelsError": "", + "types": [ + { + "id": "type-1", + "name": "Bug" + } + ], + "typesError": "", + "users": [ + { + "login": "octocat", + "name": "Octo" + } + ], + "usersError": "" + }, + "7122de433e6a": { + "name": "projectIssueTypes", + "value": [ + { + "id": "type-1", + "name": "Bug" + } + ], + "sent": 3 + }, + "792eafc160d3": { + "labels": [], + "labelsError": "Unknown method", + "types": [ + { + "id": "type-1", + "name": "Bug" + } + ], + "typesError": "", + "users": [ + { + "login": "octocat", + "name": "Octo" + } + ], + "usersError": "" + }, + "84c3fb2868bd": { + "name": "github.project.listIssueTypesBySlug#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listIssueTypesBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"}}" + }, + "8f395e09a24b": { + "name": "projectAvailableLabels", + "value": [], + "sent": 0 + }, + "8fbb806f8730": { + "name": "github.project.listIssueTypesBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.listIssueTypesBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "ok": true, + "types": [ + { + "id": "type-1", + "name": "Bug" + } + ] + } + } + } + }, + "903819696961": { + "labels": [], + "labelsError": "Failed to load labels", + "types": [ + { + "id": "type-1", + "name": "Bug" + } + ], + "typesError": "", + "users": [ + { + "login": "octocat", + "name": "Octo" + } + ], + "usersError": "" + }, + "93fd155afdbe": { + "name": "github.project.listLabelsBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.listLabelsBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "9a8068985c26": { + "name": "github.project.listAssignableUsersBySlug#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listAssignableUsersBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\",\"seedLogins\":[\"octocat\"]}}" + }, + "a7f75837a806": { + "name": "github.project.listLabelsBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.listLabelsBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "a9da2a563a6c": { + "name": "projectLabelsLoading", + "value": false, + "sent": 3 + }, + "bf0887cbf7f3": { + "name": "projectAssignableUsersError", + "value": "", + "sent": 1 + }, + "bfd812ba86c3": { + "name": "projectIssueTypesLoading", + "value": true, + "sent": 2 + }, + "bfdd7df58f9b": { + "name": "projectLabelsError", + "value": "", + "sent": 0 + }, + "c2c98ef22b43": { + "name": "github.project.listLabelsBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.listLabelsBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "d14a772531e0": { + "name": "projectLabelsLoading", + "value": true, + "sent": 0 + }, + "d17d55e4fee3": { + "name": "projectAssignableUsers", + "value": [], + "sent": 1 + }, + "d5d91d8a5bac": { + "labels": ["bug"], + "labelsError": "", + "types": [ + { + "id": "type-1", + "name": "Bug" + } + ], + "typesError": "", + "users": [ + { + "login": "octocat", + "name": "Octo" + } + ], + "usersError": "" + }, + "da36de1a5410": { + "name": "github.project.listLabelsBySlug#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listLabelsBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"}}" + }, + "dba8d8f1c7df": { + "labels": [], + "labelsError": "Cannot read properties of undefined (reading 'ok')", + "types": [ + { + "id": "type-1", + "name": "Bug" + } + ], + "typesError": "", + "users": [ + { + "login": "octocat", + "name": "Octo" + } + ], + "usersError": "" + }, + "dc5159e02876": { + "name": "projectLabelsError", + "value": "inner refused", + "sent": 3 + }, + "e35fa77345c3": { + "name": "projectLabelsError", + "value": "Unknown method", + "sent": 3 + }, + "e493dc6bdc13": { + "name": "github.project.listLabelsBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.listLabelsBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-1", + "ok": false + } + } + }, + "e93c4c960261": { + "name": "projectLabelsError", + "value": "Failed to load labels", + "sent": 3 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ee43aa13c95f": { + "name": "projectIssueTypes", + "value": [], + "sent": 2 + }, + "ef507c348d21": { + "name": "github.project.listAssignableUsersBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.listAssignableUsersBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo", + "seedLogins": ["octocat"] + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "ok": true, + "users": [ + { + "login": "octocat", + "name": "Octo" + } + ] + } + } + } + }, + "f8160d8f0119": { + "name": "projectLabelsError", + "value": "", + "sent": 3 + }, + "f9bf509bfe31": { + "labels": [], + "labelsError": "Cannot read properties of null (reading 'ok')", + "types": [ + { + "id": "type-1", + "name": "Bug" + } + ], + "typesError": "", + "users": [ + { + "login": "octocat", + "name": "Octo" + } + ], + "usersError": "" + } + }, + "recording": { + "scenario": "matrix-tasks.project-row-metadata-load-github.project.listlabelsbyslug-1", + "checkpoints": [ + { + "id": "tk-project-row-metadata-load.normal:mounted", + "observation": { + "sender": ["3f5d8df504de", "ef507c348d21", "8fbb806f8730"], + "payloads": ["da36de1a5410", "9a8068985c26", "84c3fb2868bd"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "d5d91d8a5bac", + "effects": [ + "8f395e09a24b", + "bfdd7df58f9b", + "d14a772531e0", + "d17d55e4fee3", + "bf0887cbf7f3", + "57d4746ddb82", + "ee43aa13c95f", + "6c910b6dc2fa", + "bfd812ba86c3", + "32b4277def9a", + "a9da2a563a6c", + "2ef615f214b1", + "5fd1b0e4ca3a", + "7122de433e6a", + "09f12e10766e" + ] + } + }, + { + "id": "tk-project-row-metadata-load.result-absent:mounted", + "observation": { + "sender": ["a7f75837a806", "ef507c348d21", "8fbb806f8730"], + "payloads": ["da36de1a5410", "9a8068985c26", "84c3fb2868bd"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "dba8d8f1c7df", + "effects": [ + "8f395e09a24b", + "bfdd7df58f9b", + "d14a772531e0", + "d17d55e4fee3", + "bf0887cbf7f3", + "57d4746ddb82", + "ee43aa13c95f", + "6c910b6dc2fa", + "bfd812ba86c3", + "4898092f9671", + "a9da2a563a6c", + "2ef615f214b1", + "5fd1b0e4ca3a", + "7122de433e6a", + "09f12e10766e" + ] + } + }, + { + "id": "tk-project-row-metadata-load.result-null:mounted", + "observation": { + "sender": ["52e20d57bbfa", "ef507c348d21", "8fbb806f8730"], + "payloads": ["da36de1a5410", "9a8068985c26", "84c3fb2868bd"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "f9bf509bfe31", + "effects": [ + "8f395e09a24b", + "bfdd7df58f9b", + "d14a772531e0", + "d17d55e4fee3", + "bf0887cbf7f3", + "57d4746ddb82", + "ee43aa13c95f", + "6c910b6dc2fa", + "bfd812ba86c3", + "50071e824d24", + "a9da2a563a6c", + "2ef615f214b1", + "5fd1b0e4ca3a", + "7122de433e6a", + "09f12e10766e" + ] + } + }, + { + "id": "tk-project-row-metadata-load.inner-ok-missing:mounted", + "observation": { + "sender": ["3a740cb021bb", "ef507c348d21", "8fbb806f8730"], + "payloads": ["da36de1a5410", "9a8068985c26", "84c3fb2868bd"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "903819696961", + "effects": [ + "8f395e09a24b", + "bfdd7df58f9b", + "d14a772531e0", + "d17d55e4fee3", + "bf0887cbf7f3", + "57d4746ddb82", + "ee43aa13c95f", + "6c910b6dc2fa", + "bfd812ba86c3", + "e93c4c960261", + "a9da2a563a6c", + "2ef615f214b1", + "5fd1b0e4ca3a", + "7122de433e6a", + "09f12e10766e" + ] + } + }, + { + "id": "tk-project-row-metadata-load.inner-false-string-error:mounted", + "observation": { + "sender": ["93fd155afdbe", "ef507c348d21", "8fbb806f8730"], + "payloads": ["da36de1a5410", "9a8068985c26", "84c3fb2868bd"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "903819696961", + "effects": [ + "8f395e09a24b", + "bfdd7df58f9b", + "d14a772531e0", + "d17d55e4fee3", + "bf0887cbf7f3", + "57d4746ddb82", + "ee43aa13c95f", + "6c910b6dc2fa", + "bfd812ba86c3", + "e93c4c960261", + "a9da2a563a6c", + "2ef615f214b1", + "5fd1b0e4ca3a", + "7122de433e6a", + "09f12e10766e" + ] + } + }, + { + "id": "tk-project-row-metadata-load.inner-false-object-error:mounted", + "observation": { + "sender": ["0ef05fd70152", "ef507c348d21", "8fbb806f8730"], + "payloads": ["da36de1a5410", "9a8068985c26", "84c3fb2868bd"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "28bac89de584", + "effects": [ + "8f395e09a24b", + "bfdd7df58f9b", + "d14a772531e0", + "d17d55e4fee3", + "bf0887cbf7f3", + "57d4746ddb82", + "ee43aa13c95f", + "6c910b6dc2fa", + "bfd812ba86c3", + "dc5159e02876", + "a9da2a563a6c", + "2ef615f214b1", + "5fd1b0e4ca3a", + "7122de433e6a", + "09f12e10766e" + ] + } + }, + { + "id": "tk-project-row-metadata-load.outer-refused:mounted", + "observation": { + "sender": ["19e6a8232bfe", "ef507c348d21", "8fbb806f8730"], + "payloads": ["da36de1a5410", "9a8068985c26", "84c3fb2868bd"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "58119434ee38", + "effects": [ + "8f395e09a24b", + "bfdd7df58f9b", + "d14a772531e0", + "d17d55e4fee3", + "bf0887cbf7f3", + "57d4746ddb82", + "ee43aa13c95f", + "6c910b6dc2fa", + "bfd812ba86c3", + "696fa42cb11c", + "a9da2a563a6c", + "2ef615f214b1", + "5fd1b0e4ca3a", + "7122de433e6a", + "09f12e10766e" + ] + } + }, + { + "id": "tk-project-row-metadata-load.outer-refused-no-message:mounted", + "observation": { + "sender": ["c2c98ef22b43", "ef507c348d21", "8fbb806f8730"], + "payloads": ["da36de1a5410", "9a8068985c26", "84c3fb2868bd"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "6cc4cd12a170", + "effects": [ + "8f395e09a24b", + "bfdd7df58f9b", + "d14a772531e0", + "d17d55e4fee3", + "bf0887cbf7f3", + "57d4746ddb82", + "ee43aa13c95f", + "6c910b6dc2fa", + "bfd812ba86c3", + "f8160d8f0119", + "a9da2a563a6c", + "2ef615f214b1", + "5fd1b0e4ca3a", + "7122de433e6a", + "09f12e10766e" + ] + } + }, + { + "id": "tk-project-row-metadata-load.method-not-found:mounted", + "observation": { + "sender": ["e493dc6bdc13", "ef507c348d21", "8fbb806f8730"], + "payloads": ["da36de1a5410", "9a8068985c26", "84c3fb2868bd"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "792eafc160d3", + "effects": [ + "8f395e09a24b", + "bfdd7df58f9b", + "d14a772531e0", + "d17d55e4fee3", + "bf0887cbf7f3", + "57d4746ddb82", + "ee43aa13c95f", + "6c910b6dc2fa", + "bfd812ba86c3", + "e35fa77345c3", + "a9da2a563a6c", + "2ef615f214b1", + "5fd1b0e4ca3a", + "7122de433e6a", + "09f12e10766e" + ] + } + }, + { + "id": "tk-project-row-metadata-load.transport-rejection:mounted", + "observation": { + "sender": ["3bee39e3449b", "ef507c348d21", "8fbb806f8730"], + "payloads": ["da36de1a5410", "9a8068985c26", "84c3fb2868bd"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "53a82e75f637", + "effects": [ + "8f395e09a24b", + "bfdd7df58f9b", + "d14a772531e0", + "d17d55e4fee3", + "bf0887cbf7f3", + "57d4746ddb82", + "ee43aa13c95f", + "6c910b6dc2fa", + "bfd812ba86c3", + "38bb5568ec06", + "a9da2a563a6c", + "2ef615f214b1", + "5fd1b0e4ca3a", + "7122de433e6a", + "09f12e10766e" + ] + } + }, + { + "id": "tk-project-row-metadata-load.transport-rejection-no-message:mounted", + "observation": { + "sender": ["33456346b818", "ef507c348d21", "8fbb806f8730"], + "payloads": ["da36de1a5410", "9a8068985c26", "84c3fb2868bd"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "6cc4cd12a170", + "effects": [ + "8f395e09a24b", + "bfdd7df58f9b", + "d14a772531e0", + "d17d55e4fee3", + "bf0887cbf7f3", + "57d4746ddb82", + "ee43aa13c95f", + "6c910b6dc2fa", + "bfd812ba86c3", + "f8160d8f0119", + "a9da2a563a6c", + "2ef615f214b1", + "5fd1b0e4ca3a", + "7122de433e6a", + "09f12e10766e" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-review-checks-github.prchecks-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-review-checks-github.prchecks-1.json new file mode 100644 index 00000000000..3c3fe782173 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-review-checks-github.prchecks-1.json @@ -0,0 +1,2698 @@ +{ + "operation": "tasks.project-row-review-checks", + "family": "tasks.project-row-review-checks", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "370aeaee59978071ccb821da13c9e6114936c168947b608539cdb80d40cc9889", + "scenarioSha256": "20e9631df87e40e64d35cee0c0e06b922fe53bd93e3d9e4078633b85a5278b7e", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "025965054a76": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha", + "noCache": true, + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "02839f22d2db": { + "name": "projectMutating", + "value": false, + "sent": 1 + }, + "065cd72ecfab": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha", + "noCache": true, + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "0d3abde11044": { + "name": "projectRowDetailError", + "value": "Connection closed", + "sent": 2 + }, + "0f3697bbd111": { + "name": "projectMutating", + "value": true, + "sent": 2 + }, + "126adb332144": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha", + "noCache": true, + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "1fd8ba4fe09e": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "draft": "", + "error": "outer refused", + "mutating": false, + "refreshSeq": 0 + }, + "22ffca652b36": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "draft": "", + "error": "", + "mutating": false, + "refreshSeq": 0 + }, + "267aadba5179": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha", + "noCache": true, + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "2a1ffe6c7f4c": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "draft": "", + "error": "", + "mutating": true, + "refreshSeq": 0 + }, + "2cd85ef93c74": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "draft": "", + "error": "", + "mutating": false, + "refreshSeq": 0 + }, + "2eee910f375e": { + "name": "github.requestPRReviewers#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.requestPRReviewers\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":2,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"reviewers\":[\"octocat\"]}}" + }, + "347fa6adc9f3": { + "name": "projectRowDetailError", + "value": "", + "sent": 3 + }, + "3c5cb4768846": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha", + "noCache": true, + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Connection closed", + "isRpcDeliveryUnknown": true + } + } + }, + "4365c86f6a70": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha", + "noCache": true, + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "466f8db9d238": { + "name": "projectRowDetailError", + "value": "outer refused", + "sent": 2 + }, + "46b4c26d709a": { + "name": "projectRowDetailError", + "value": "Unknown method", + "sent": 2 + }, + "4b9b887ee27f": { + "name": "github.setPRFileViewed#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.setPRFileViewed\",\"params\":{\"repo\":\"id:repo-1\",\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"pullRequestId\":\"PR_kwDO\",\"path\":\"src/index.ts\",\"viewed\":true}}" + }, + "5cdba004ba6c": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "draft": "", + "error": "", + "mutating": false, + "refreshSeq": 1 + }, + "62edc52051d6": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "draft": "", + "error": "", + "mutating": false, + "refreshSeq": 1 + }, + "674a78fb6dfb": { + "name": "projectRowDetailError", + "value": "transport failure", + "sent": 2 + }, + "694581af73a0": { + "name": "github.setPRFileViewed#1", + "args": [ + { + "name": "method", + "value": "github.setPRFileViewed" + }, + { + "name": "params", + "value": { + "path": "src/index.ts", + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "pullRequestId": "PR_kwDO", + "repo": "id:repo-1", + "viewed": true + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": true + } + } + }, + "6f4f9198e5ff": { + "name": "projectMutating", + "value": false, + "sent": 2 + }, + "735789ad613e": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "draft": "", + "error": "Invalid checks response", + "mutating": false, + "refreshSeq": 0 + }, + "73c3051352c2": { + "name": "projectMutating", + "value": false, + "sent": 3 + }, + "761c230291b6": { + "name": "projectMutating", + "value": true, + "sent": 3 + }, + "78e4c95a24b3": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha", + "noCache": true, + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "7941a2b950be": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha", + "noCache": true, + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ] + } + } + }, + "7b2465eedefe": { + "name": "projectMutating", + "value": true, + "sent": 0 + }, + "7fde07c7539a": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "sent": 2 + }, + "80d38ca65a5d": { + "name": "projectRowDetailError", + "value": "", + "sent": 0 + }, + "85f150b2df81": { + "name": "projectRowDetailError", + "value": "", + "sent": 1 + }, + "8a1d11133692": { + "name": "projectRowDetailError", + "value": "", + "sent": 2 + }, + "8bb4bae45cc1": { + "name": "github.requestPRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.requestPRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "90f25d344500": { + "name": "projectRowDetailError", + "value": "Invalid checks response", + "sent": 2 + }, + "914b1bd28569": { + "name": "projectReviewersDraft", + "value": "", + "sent": 1 + }, + "93b879a81965": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "sent": 1 + }, + "97fbbfe4cfb6": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "sent": 4 + }, + "98fec6b761cc": { + "name": "github.prChecks#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.prChecks\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":2,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"headSha\":\"head-sha\",\"noCache\":true}}" + }, + "9f7761a3afec": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "draft": "", + "error": "", + "mutating": false, + "refreshSeq": 1 + }, + "a96d9b0de727": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha", + "noCache": true, + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "b02a5c30b3c1": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha", + "noCache": true, + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "b2fdd4b38834": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "draft": "", + "error": "", + "mutating": false, + "refreshSeq": 1 + }, + "b418bb46de91": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha", + "noCache": true, + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "ce55ed88159e": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "sent": 4 + }, + "d10f79760196": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "d1bb762720d5": { + "name": "projectMutating", + "value": true, + "sent": 1 + }, + "d543cbf9ae9e": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha", + "noCache": true, + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "d71bf87d2c40": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "draft": "", + "error": "transport failure", + "mutating": false, + "refreshSeq": 0 + }, + "d7be83edec32": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "draft": "", + "error": "Unknown method", + "mutating": false, + "refreshSeq": 0 + }, + "dc5439b12876": { + "name": "github.rerunPRChecks#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.rerunPRChecks\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":2,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"headSha\":\"head-sha\",\"failedOnly\":true}}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f14882f2981f": { + "name": "projectRowDetailRefreshSeq", + "value": 1, + "sent": 3 + }, + "fa2e7b92e1d5": { + "name": "projectMutating", + "value": false, + "sent": 4 + } + }, + "recording": { + "scenario": "matrix-tasks.project-row-review-checks-github.prchecks-1", + "checkpoints": [ + { + "id": "tk-project-row-review-checks.prelude:reviewers-settled", + "observation": { + "sender": ["8bb4bae45cc1"], + "payloads": ["2eee910f375e"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a" + }, + "state": "2cd85ef93c74", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db" + ] + } + }, + { + "id": "tk-project-row-review-checks.prelude:cleanup", + "observation": { + "sender": ["8bb4bae45cc1", "3c5cb4768846"], + "payloads": ["2eee910f375e", "98fec6b761cc"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "2a1ffe6c7f4c", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "0d3abde11044", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-review-checks.normal:checks-settled", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be"], + "payloads": ["2eee910f375e", "98fec6b761cc"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "22ffca652b36", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-review-checks.normal:rerun-settled", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be", "d10f79760196"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a" + }, + "state": "62edc52051d6", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-review-checks.normal:viewed-settled", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be", "d10f79760196", "694581af73a0"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876", "4b9b887ee27f"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a", + "viewed-3": "eb79a9b3682a" + }, + "state": "5cdba004ba6c", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "97fbbfe4cfb6", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-review-checks.result-absent:checks-settled", + "observation": { + "sender": ["8bb4bae45cc1", "4365c86f6a70"], + "payloads": ["2eee910f375e", "98fec6b761cc"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "735789ad613e", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "90f25d344500", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-review-checks.result-absent:rerun-settled", + "observation": { + "sender": ["8bb4bae45cc1", "4365c86f6a70", "d10f79760196"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a" + }, + "state": "9f7761a3afec", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "90f25d344500", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-review-checks.result-absent:viewed-settled", + "observation": { + "sender": ["8bb4bae45cc1", "4365c86f6a70", "d10f79760196", "694581af73a0"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876", "4b9b887ee27f"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a", + "viewed-3": "eb79a9b3682a" + }, + "state": "b2fdd4b38834", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "90f25d344500", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "ce55ed88159e", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-review-checks.result-null:checks-settled", + "observation": { + "sender": ["8bb4bae45cc1", "d543cbf9ae9e"], + "payloads": ["2eee910f375e", "98fec6b761cc"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "735789ad613e", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "90f25d344500", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-review-checks.result-null:rerun-settled", + "observation": { + "sender": ["8bb4bae45cc1", "d543cbf9ae9e", "d10f79760196"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a" + }, + "state": "9f7761a3afec", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "90f25d344500", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-review-checks.result-null:viewed-settled", + "observation": { + "sender": ["8bb4bae45cc1", "d543cbf9ae9e", "d10f79760196", "694581af73a0"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876", "4b9b887ee27f"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a", + "viewed-3": "eb79a9b3682a" + }, + "state": "b2fdd4b38834", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "90f25d344500", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "ce55ed88159e", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-review-checks.inner-ok-missing:checks-settled", + "observation": { + "sender": ["8bb4bae45cc1", "267aadba5179"], + "payloads": ["2eee910f375e", "98fec6b761cc"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "735789ad613e", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "90f25d344500", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-review-checks.inner-ok-missing:rerun-settled", + "observation": { + "sender": ["8bb4bae45cc1", "267aadba5179", "d10f79760196"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a" + }, + "state": "9f7761a3afec", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "90f25d344500", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-review-checks.inner-ok-missing:viewed-settled", + "observation": { + "sender": ["8bb4bae45cc1", "267aadba5179", "d10f79760196", "694581af73a0"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876", "4b9b887ee27f"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a", + "viewed-3": "eb79a9b3682a" + }, + "state": "b2fdd4b38834", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "90f25d344500", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "ce55ed88159e", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-review-checks.inner-false-string-error:checks-settled", + "observation": { + "sender": ["8bb4bae45cc1", "78e4c95a24b3"], + "payloads": ["2eee910f375e", "98fec6b761cc"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "735789ad613e", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "90f25d344500", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-review-checks.inner-false-string-error:rerun-settled", + "observation": { + "sender": ["8bb4bae45cc1", "78e4c95a24b3", "d10f79760196"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a" + }, + "state": "9f7761a3afec", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "90f25d344500", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-review-checks.inner-false-string-error:viewed-settled", + "observation": { + "sender": ["8bb4bae45cc1", "78e4c95a24b3", "d10f79760196", "694581af73a0"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876", "4b9b887ee27f"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a", + "viewed-3": "eb79a9b3682a" + }, + "state": "b2fdd4b38834", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "90f25d344500", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "ce55ed88159e", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-review-checks.inner-false-object-error:checks-settled", + "observation": { + "sender": ["8bb4bae45cc1", "065cd72ecfab"], + "payloads": ["2eee910f375e", "98fec6b761cc"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "735789ad613e", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "90f25d344500", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-review-checks.inner-false-object-error:rerun-settled", + "observation": { + "sender": ["8bb4bae45cc1", "065cd72ecfab", "d10f79760196"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a" + }, + "state": "9f7761a3afec", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "90f25d344500", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-review-checks.inner-false-object-error:viewed-settled", + "observation": { + "sender": ["8bb4bae45cc1", "065cd72ecfab", "d10f79760196", "694581af73a0"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876", "4b9b887ee27f"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a", + "viewed-3": "eb79a9b3682a" + }, + "state": "b2fdd4b38834", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "90f25d344500", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "ce55ed88159e", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-review-checks.outer-refused:checks-settled", + "observation": { + "sender": ["8bb4bae45cc1", "a96d9b0de727"], + "payloads": ["2eee910f375e", "98fec6b761cc"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "1fd8ba4fe09e", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "466f8db9d238", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-review-checks.outer-refused:rerun-settled", + "observation": { + "sender": ["8bb4bae45cc1", "a96d9b0de727", "d10f79760196"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a" + }, + "state": "9f7761a3afec", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "466f8db9d238", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-review-checks.outer-refused:viewed-settled", + "observation": { + "sender": ["8bb4bae45cc1", "a96d9b0de727", "d10f79760196", "694581af73a0"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876", "4b9b887ee27f"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a", + "viewed-3": "eb79a9b3682a" + }, + "state": "b2fdd4b38834", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "466f8db9d238", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "ce55ed88159e", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-review-checks.outer-refused-no-message:checks-settled", + "observation": { + "sender": ["8bb4bae45cc1", "b02a5c30b3c1"], + "payloads": ["2eee910f375e", "98fec6b761cc"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "2cd85ef93c74", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "8a1d11133692", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-review-checks.outer-refused-no-message:rerun-settled", + "observation": { + "sender": ["8bb4bae45cc1", "b02a5c30b3c1", "d10f79760196"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a" + }, + "state": "9f7761a3afec", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "8a1d11133692", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-review-checks.outer-refused-no-message:viewed-settled", + "observation": { + "sender": ["8bb4bae45cc1", "b02a5c30b3c1", "d10f79760196", "694581af73a0"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876", "4b9b887ee27f"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a", + "viewed-3": "eb79a9b3682a" + }, + "state": "b2fdd4b38834", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "8a1d11133692", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "ce55ed88159e", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-review-checks.method-not-found:checks-settled", + "observation": { + "sender": ["8bb4bae45cc1", "126adb332144"], + "payloads": ["2eee910f375e", "98fec6b761cc"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "d7be83edec32", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "46b4c26d709a", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-review-checks.method-not-found:rerun-settled", + "observation": { + "sender": ["8bb4bae45cc1", "126adb332144", "d10f79760196"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a" + }, + "state": "9f7761a3afec", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "46b4c26d709a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-review-checks.method-not-found:viewed-settled", + "observation": { + "sender": ["8bb4bae45cc1", "126adb332144", "d10f79760196", "694581af73a0"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876", "4b9b887ee27f"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a", + "viewed-3": "eb79a9b3682a" + }, + "state": "b2fdd4b38834", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "46b4c26d709a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "ce55ed88159e", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-review-checks.transport-rejection:checks-settled", + "observation": { + "sender": ["8bb4bae45cc1", "b418bb46de91"], + "payloads": ["2eee910f375e", "98fec6b761cc"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "d71bf87d2c40", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "674a78fb6dfb", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-review-checks.transport-rejection:rerun-settled", + "observation": { + "sender": ["8bb4bae45cc1", "b418bb46de91", "d10f79760196"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a" + }, + "state": "9f7761a3afec", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "674a78fb6dfb", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-review-checks.transport-rejection:viewed-settled", + "observation": { + "sender": ["8bb4bae45cc1", "b418bb46de91", "d10f79760196", "694581af73a0"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876", "4b9b887ee27f"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a", + "viewed-3": "eb79a9b3682a" + }, + "state": "b2fdd4b38834", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "674a78fb6dfb", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "ce55ed88159e", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-review-checks.transport-rejection-no-message:checks-settled", + "observation": { + "sender": ["8bb4bae45cc1", "025965054a76"], + "payloads": ["2eee910f375e", "98fec6b761cc"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "2cd85ef93c74", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "8a1d11133692", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-review-checks.transport-rejection-no-message:rerun-settled", + "observation": { + "sender": ["8bb4bae45cc1", "025965054a76", "d10f79760196"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a" + }, + "state": "9f7761a3afec", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "8a1d11133692", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-review-checks.transport-rejection-no-message:viewed-settled", + "observation": { + "sender": ["8bb4bae45cc1", "025965054a76", "d10f79760196", "694581af73a0"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876", "4b9b887ee27f"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a", + "viewed-3": "eb79a9b3682a" + }, + "state": "b2fdd4b38834", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "8a1d11133692", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "ce55ed88159e", + "fa2e7b92e1d5" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-review-checks-github.requestprreviewers-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-review-checks-github.requestprreviewers-1.json new file mode 100644 index 00000000000..3cd7cff47ad --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-review-checks-github.requestprreviewers-1.json @@ -0,0 +1,2952 @@ +{ + "operation": "tasks.project-row-review-checks", + "family": "tasks.project-row-review-checks", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "370aeaee59978071ccb821da13c9e6114936c168947b608539cdb80d40cc9889", + "scenarioSha256": "2d947b63fb35dad9bbe201061cb51d0b3c5a5e6f3e8018eeda2ec1f962952809", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "024c8bcbe9d9": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "draft": "octocat", + "error": "Cannot read properties of undefined (reading 'ok')", + "mutating": false, + "refreshSeq": 0 + }, + "02839f22d2db": { + "name": "projectMutating", + "value": false, + "sent": 1 + }, + "0a57c2f7f62b": { + "name": "github.requestPRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.requestPRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "0ef970845cc7": { + "name": "projectRowDetailError", + "value": "outer refused", + "sent": 1 + }, + "0f3697bbd111": { + "name": "projectMutating", + "value": true, + "sent": 2 + }, + "12e19b3aa95b": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 4 + }, + "1394649d889f": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "draft": "octocat", + "error": "", + "mutating": false, + "refreshSeq": 0 + }, + "152580ec9e5a": { + "name": "projectRowDetailError", + "value": "Unknown method", + "sent": 1 + }, + "2115fb7ac9fb": { + "name": "github.requestPRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.requestPRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "219bed761793": { + "name": "github.requestPRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.requestPRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "22ffca652b36": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "draft": "", + "error": "", + "mutating": false, + "refreshSeq": 0 + }, + "23acafa856fa": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "draft": "octocat", + "error": "Cannot read properties of null (reading 'ok')", + "mutating": false, + "refreshSeq": 0 + }, + "253a401313b2": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "draft": "octocat", + "error": "", + "mutating": false, + "refreshSeq": 1 + }, + "2cd85ef93c74": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "draft": "", + "error": "", + "mutating": false, + "refreshSeq": 0 + }, + "2eee910f375e": { + "name": "github.requestPRReviewers#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.requestPRReviewers\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":2,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"reviewers\":[\"octocat\"]}}" + }, + "347fa6adc9f3": { + "name": "projectRowDetailError", + "value": "", + "sent": 3 + }, + "3c2fa1277556": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "draft": "octocat", + "error": "", + "mutating": false, + "refreshSeq": 1 + }, + "4b9b887ee27f": { + "name": "github.setPRFileViewed#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.setPRFileViewed\",\"params\":{\"repo\":\"id:repo-1\",\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"pullRequestId\":\"PR_kwDO\",\"path\":\"src/index.ts\",\"viewed\":true}}" + }, + "4c09a53c8150": { + "name": "projectRowDetailError", + "value": "Cannot read properties of undefined (reading 'ok')", + "sent": 1 + }, + "5cdba004ba6c": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "draft": "", + "error": "", + "mutating": false, + "refreshSeq": 1 + }, + "62edc52051d6": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "draft": "", + "error": "", + "mutating": false, + "refreshSeq": 1 + }, + "694581af73a0": { + "name": "github.setPRFileViewed#1", + "args": [ + { + "name": "method", + "value": "github.setPRFileViewed" + }, + { + "name": "params", + "value": { + "path": "src/index.ts", + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "pullRequestId": "PR_kwDO", + "repo": "id:repo-1", + "viewed": true + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": true + } + } + }, + "69de7f3a82c1": { + "name": "github.requestPRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.requestPRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-1", + "ok": false + } + } + }, + "6f4f9198e5ff": { + "name": "projectMutating", + "value": false, + "sent": 2 + }, + "73c3051352c2": { + "name": "projectMutating", + "value": false, + "sent": 3 + }, + "761c230291b6": { + "name": "projectMutating", + "value": true, + "sent": 3 + }, + "78c4e6dc05ef": { + "name": "github.requestPRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.requestPRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "7941a2b950be": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha", + "noCache": true, + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ] + } + } + }, + "7b2465eedefe": { + "name": "projectMutating", + "value": true, + "sent": 0 + }, + "7fde07c7539a": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "sent": 2 + }, + "80d38ca65a5d": { + "name": "projectRowDetailError", + "value": "", + "sent": 0 + }, + "8237b3a567bf": { + "name": "projectRowDetailError", + "value": "transport failure", + "sent": 1 + }, + "85f150b2df81": { + "name": "projectRowDetailError", + "value": "", + "sent": 1 + }, + "8a1d11133692": { + "name": "projectRowDetailError", + "value": "", + "sent": 2 + }, + "8a4f69f488e2": { + "name": "github.requestPRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.requestPRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "8ac3b49df2ca": { + "name": "github.requestPRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.requestPRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "8bb4bae45cc1": { + "name": "github.requestPRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.requestPRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "8d4c89b2a786": { + "name": "projectRowDetailError", + "value": "[object Object]", + "sent": 1 + }, + "914b1bd28569": { + "name": "projectReviewersDraft", + "value": "", + "sent": 1 + }, + "93b879a81965": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "sent": 1 + }, + "97fbbfe4cfb6": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "sent": 4 + }, + "98fec6b761cc": { + "name": "github.prChecks#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.prChecks\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":2,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"headSha\":\"head-sha\",\"noCache\":true}}" + }, + "9b280ff80b44": { + "name": "github.requestPRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.requestPRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "a2c3811d26b3": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "draft": "octocat", + "error": "transport failure", + "mutating": false, + "refreshSeq": 0 + }, + "a7b76954b136": { + "name": "projectRowDetailError", + "value": "Cannot read properties of null (reading 'ok')", + "sent": 1 + }, + "b147405e45ea": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "draft": "octocat", + "error": "outer refused", + "mutating": false, + "refreshSeq": 0 + }, + "bca6ebb96154": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "draft": "octocat", + "error": "inner refused", + "mutating": false, + "refreshSeq": 0 + }, + "c14c0c1159d1": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "draft": "octocat", + "error": "Unknown method", + "mutating": false, + "refreshSeq": 0 + }, + "c1658bc8761a": { + "name": "github.requestPRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.requestPRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "cc986c7cc7e7": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 2 + }, + "d10f79760196": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "d1bb762720d5": { + "name": "projectMutating", + "value": true, + "sent": 1 + }, + "d388d0dd9c9c": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "draft": "octocat", + "error": "", + "mutating": false, + "refreshSeq": 0 + }, + "dc5439b12876": { + "name": "github.rerunPRChecks#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.rerunPRChecks\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":2,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"headSha\":\"head-sha\",\"failedOnly\":true}}" + }, + "dfafb40d73d4": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "draft": "octocat", + "error": "[object Object]", + "mutating": false, + "refreshSeq": 0 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "eff724250cc7": { + "name": "projectRowDetailError", + "value": "inner refused", + "sent": 1 + }, + "f14882f2981f": { + "name": "projectRowDetailRefreshSeq", + "value": 1, + "sent": 3 + }, + "fa2e7b92e1d5": { + "name": "projectMutating", + "value": false, + "sent": 4 + }, + "fd1710c7e153": { + "name": "github.requestPRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.requestPRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + } + }, + "recording": { + "scenario": "matrix-tasks.project-row-review-checks-github.requestprreviewers-1", + "checkpoints": [ + { + "id": "tk-project-row-review-checks.normal:reviewers-settled", + "observation": { + "sender": ["8bb4bae45cc1"], + "payloads": ["2eee910f375e"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a" + }, + "state": "2cd85ef93c74", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db" + ] + } + }, + { + "id": "tk-project-row-review-checks.normal:checks-settled", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be"], + "payloads": ["2eee910f375e", "98fec6b761cc"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "22ffca652b36", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-review-checks.normal:rerun-settled", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be", "d10f79760196"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a" + }, + "state": "62edc52051d6", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-review-checks.normal:viewed-settled", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be", "d10f79760196", "694581af73a0"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876", "4b9b887ee27f"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a", + "viewed-3": "eb79a9b3682a" + }, + "state": "5cdba004ba6c", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "97fbbfe4cfb6", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-review-checks.result-absent:reviewers-settled", + "observation": { + "sender": ["8a4f69f488e2"], + "payloads": ["2eee910f375e"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a" + }, + "state": "024c8bcbe9d9", + "effects": ["7b2465eedefe", "80d38ca65a5d", "4c09a53c8150", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-review-checks.result-absent:checks-settled", + "observation": { + "sender": ["8a4f69f488e2", "7941a2b950be"], + "payloads": ["2eee910f375e", "98fec6b761cc"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "1394649d889f", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "4c09a53c8150", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "cc986c7cc7e7", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-review-checks.result-absent:rerun-settled", + "observation": { + "sender": ["8a4f69f488e2", "7941a2b950be", "d10f79760196"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a" + }, + "state": "253a401313b2", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "4c09a53c8150", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "cc986c7cc7e7", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-review-checks.result-absent:viewed-settled", + "observation": { + "sender": ["8a4f69f488e2", "7941a2b950be", "d10f79760196", "694581af73a0"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876", "4b9b887ee27f"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a", + "viewed-3": "eb79a9b3682a" + }, + "state": "3c2fa1277556", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "4c09a53c8150", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "cc986c7cc7e7", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "12e19b3aa95b", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-review-checks.result-null:reviewers-settled", + "observation": { + "sender": ["9b280ff80b44"], + "payloads": ["2eee910f375e"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a" + }, + "state": "23acafa856fa", + "effects": ["7b2465eedefe", "80d38ca65a5d", "a7b76954b136", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-review-checks.result-null:checks-settled", + "observation": { + "sender": ["9b280ff80b44", "7941a2b950be"], + "payloads": ["2eee910f375e", "98fec6b761cc"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "1394649d889f", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "a7b76954b136", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "cc986c7cc7e7", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-review-checks.result-null:rerun-settled", + "observation": { + "sender": ["9b280ff80b44", "7941a2b950be", "d10f79760196"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a" + }, + "state": "253a401313b2", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "a7b76954b136", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "cc986c7cc7e7", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-review-checks.result-null:viewed-settled", + "observation": { + "sender": ["9b280ff80b44", "7941a2b950be", "d10f79760196", "694581af73a0"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876", "4b9b887ee27f"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a", + "viewed-3": "eb79a9b3682a" + }, + "state": "3c2fa1277556", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "a7b76954b136", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "cc986c7cc7e7", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "12e19b3aa95b", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-review-checks.inner-ok-missing:reviewers-settled", + "observation": { + "sender": ["0a57c2f7f62b"], + "payloads": ["2eee910f375e"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a" + }, + "state": "2cd85ef93c74", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db" + ] + } + }, + { + "id": "tk-project-row-review-checks.inner-ok-missing:checks-settled", + "observation": { + "sender": ["0a57c2f7f62b", "7941a2b950be"], + "payloads": ["2eee910f375e", "98fec6b761cc"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "22ffca652b36", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-review-checks.inner-ok-missing:rerun-settled", + "observation": { + "sender": ["0a57c2f7f62b", "7941a2b950be", "d10f79760196"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a" + }, + "state": "62edc52051d6", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-review-checks.inner-ok-missing:viewed-settled", + "observation": { + "sender": ["0a57c2f7f62b", "7941a2b950be", "d10f79760196", "694581af73a0"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876", "4b9b887ee27f"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a", + "viewed-3": "eb79a9b3682a" + }, + "state": "5cdba004ba6c", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "97fbbfe4cfb6", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-review-checks.inner-false-string-error:reviewers-settled", + "observation": { + "sender": ["fd1710c7e153"], + "payloads": ["2eee910f375e"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a" + }, + "state": "bca6ebb96154", + "effects": ["7b2465eedefe", "80d38ca65a5d", "eff724250cc7", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-review-checks.inner-false-string-error:checks-settled", + "observation": { + "sender": ["fd1710c7e153", "7941a2b950be"], + "payloads": ["2eee910f375e", "98fec6b761cc"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "1394649d889f", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "eff724250cc7", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "cc986c7cc7e7", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-review-checks.inner-false-string-error:rerun-settled", + "observation": { + "sender": ["fd1710c7e153", "7941a2b950be", "d10f79760196"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a" + }, + "state": "253a401313b2", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "eff724250cc7", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "cc986c7cc7e7", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-review-checks.inner-false-string-error:viewed-settled", + "observation": { + "sender": ["fd1710c7e153", "7941a2b950be", "d10f79760196", "694581af73a0"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876", "4b9b887ee27f"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a", + "viewed-3": "eb79a9b3682a" + }, + "state": "3c2fa1277556", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "eff724250cc7", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "cc986c7cc7e7", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "12e19b3aa95b", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-review-checks.inner-false-object-error:reviewers-settled", + "observation": { + "sender": ["8ac3b49df2ca"], + "payloads": ["2eee910f375e"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a" + }, + "state": "dfafb40d73d4", + "effects": ["7b2465eedefe", "80d38ca65a5d", "8d4c89b2a786", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-review-checks.inner-false-object-error:checks-settled", + "observation": { + "sender": ["8ac3b49df2ca", "7941a2b950be"], + "payloads": ["2eee910f375e", "98fec6b761cc"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "1394649d889f", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "8d4c89b2a786", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "cc986c7cc7e7", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-review-checks.inner-false-object-error:rerun-settled", + "observation": { + "sender": ["8ac3b49df2ca", "7941a2b950be", "d10f79760196"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a" + }, + "state": "253a401313b2", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "8d4c89b2a786", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "cc986c7cc7e7", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-review-checks.inner-false-object-error:viewed-settled", + "observation": { + "sender": ["8ac3b49df2ca", "7941a2b950be", "d10f79760196", "694581af73a0"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876", "4b9b887ee27f"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a", + "viewed-3": "eb79a9b3682a" + }, + "state": "3c2fa1277556", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "8d4c89b2a786", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "cc986c7cc7e7", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "12e19b3aa95b", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-review-checks.outer-refused:reviewers-settled", + "observation": { + "sender": ["c1658bc8761a"], + "payloads": ["2eee910f375e"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a" + }, + "state": "b147405e45ea", + "effects": ["7b2465eedefe", "80d38ca65a5d", "0ef970845cc7", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-review-checks.outer-refused:checks-settled", + "observation": { + "sender": ["c1658bc8761a", "7941a2b950be"], + "payloads": ["2eee910f375e", "98fec6b761cc"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "1394649d889f", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "0ef970845cc7", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "cc986c7cc7e7", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-review-checks.outer-refused:rerun-settled", + "observation": { + "sender": ["c1658bc8761a", "7941a2b950be", "d10f79760196"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a" + }, + "state": "253a401313b2", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "0ef970845cc7", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "cc986c7cc7e7", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-review-checks.outer-refused:viewed-settled", + "observation": { + "sender": ["c1658bc8761a", "7941a2b950be", "d10f79760196", "694581af73a0"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876", "4b9b887ee27f"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a", + "viewed-3": "eb79a9b3682a" + }, + "state": "3c2fa1277556", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "0ef970845cc7", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "cc986c7cc7e7", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "12e19b3aa95b", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-review-checks.outer-refused-no-message:reviewers-settled", + "observation": { + "sender": ["78c4e6dc05ef"], + "payloads": ["2eee910f375e"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a" + }, + "state": "d388d0dd9c9c", + "effects": ["7b2465eedefe", "80d38ca65a5d", "85f150b2df81", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-review-checks.outer-refused-no-message:checks-settled", + "observation": { + "sender": ["78c4e6dc05ef", "7941a2b950be"], + "payloads": ["2eee910f375e", "98fec6b761cc"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "1394649d889f", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "85f150b2df81", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "cc986c7cc7e7", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-review-checks.outer-refused-no-message:rerun-settled", + "observation": { + "sender": ["78c4e6dc05ef", "7941a2b950be", "d10f79760196"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a" + }, + "state": "253a401313b2", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "85f150b2df81", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "cc986c7cc7e7", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-review-checks.outer-refused-no-message:viewed-settled", + "observation": { + "sender": ["78c4e6dc05ef", "7941a2b950be", "d10f79760196", "694581af73a0"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876", "4b9b887ee27f"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a", + "viewed-3": "eb79a9b3682a" + }, + "state": "3c2fa1277556", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "85f150b2df81", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "cc986c7cc7e7", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "12e19b3aa95b", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-review-checks.method-not-found:reviewers-settled", + "observation": { + "sender": ["69de7f3a82c1"], + "payloads": ["2eee910f375e"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a" + }, + "state": "c14c0c1159d1", + "effects": ["7b2465eedefe", "80d38ca65a5d", "152580ec9e5a", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-review-checks.method-not-found:checks-settled", + "observation": { + "sender": ["69de7f3a82c1", "7941a2b950be"], + "payloads": ["2eee910f375e", "98fec6b761cc"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "1394649d889f", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "152580ec9e5a", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "cc986c7cc7e7", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-review-checks.method-not-found:rerun-settled", + "observation": { + "sender": ["69de7f3a82c1", "7941a2b950be", "d10f79760196"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a" + }, + "state": "253a401313b2", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "152580ec9e5a", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "cc986c7cc7e7", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-review-checks.method-not-found:viewed-settled", + "observation": { + "sender": ["69de7f3a82c1", "7941a2b950be", "d10f79760196", "694581af73a0"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876", "4b9b887ee27f"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a", + "viewed-3": "eb79a9b3682a" + }, + "state": "3c2fa1277556", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "152580ec9e5a", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "cc986c7cc7e7", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "12e19b3aa95b", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-review-checks.transport-rejection:reviewers-settled", + "observation": { + "sender": ["2115fb7ac9fb"], + "payloads": ["2eee910f375e"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a" + }, + "state": "a2c3811d26b3", + "effects": ["7b2465eedefe", "80d38ca65a5d", "8237b3a567bf", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-review-checks.transport-rejection:checks-settled", + "observation": { + "sender": ["2115fb7ac9fb", "7941a2b950be"], + "payloads": ["2eee910f375e", "98fec6b761cc"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "1394649d889f", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "8237b3a567bf", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "cc986c7cc7e7", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-review-checks.transport-rejection:rerun-settled", + "observation": { + "sender": ["2115fb7ac9fb", "7941a2b950be", "d10f79760196"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a" + }, + "state": "253a401313b2", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "8237b3a567bf", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "cc986c7cc7e7", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-review-checks.transport-rejection:viewed-settled", + "observation": { + "sender": ["2115fb7ac9fb", "7941a2b950be", "d10f79760196", "694581af73a0"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876", "4b9b887ee27f"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a", + "viewed-3": "eb79a9b3682a" + }, + "state": "3c2fa1277556", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "8237b3a567bf", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "cc986c7cc7e7", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "12e19b3aa95b", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-review-checks.transport-rejection-no-message:reviewers-settled", + "observation": { + "sender": ["219bed761793"], + "payloads": ["2eee910f375e"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a" + }, + "state": "d388d0dd9c9c", + "effects": ["7b2465eedefe", "80d38ca65a5d", "85f150b2df81", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-review-checks.transport-rejection-no-message:checks-settled", + "observation": { + "sender": ["219bed761793", "7941a2b950be"], + "payloads": ["2eee910f375e", "98fec6b761cc"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "1394649d889f", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "85f150b2df81", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "cc986c7cc7e7", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-review-checks.transport-rejection-no-message:rerun-settled", + "observation": { + "sender": ["219bed761793", "7941a2b950be", "d10f79760196"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a" + }, + "state": "253a401313b2", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "85f150b2df81", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "cc986c7cc7e7", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-review-checks.transport-rejection-no-message:viewed-settled", + "observation": { + "sender": ["219bed761793", "7941a2b950be", "d10f79760196", "694581af73a0"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876", "4b9b887ee27f"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a", + "viewed-3": "eb79a9b3682a" + }, + "state": "3c2fa1277556", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "85f150b2df81", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "cc986c7cc7e7", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "12e19b3aa95b", + "fa2e7b92e1d5" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-review-checks-github.rerunprchecks-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-review-checks-github.rerunprchecks-1.json new file mode 100644 index 00000000000..dc01034bdee --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-review-checks-github.rerunprchecks-1.json @@ -0,0 +1,2604 @@ +{ + "operation": "tasks.project-row-review-checks", + "family": "tasks.project-row-review-checks", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "370aeaee59978071ccb821da13c9e6114936c168947b608539cdb80d40cc9889", + "scenarioSha256": "ca6b0d81b19811806ce332a776361a40e526a73bef90cfa3df05a764e2ee83b6", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "02839f22d2db": { + "name": "projectMutating", + "value": false, + "sent": 1 + }, + "0aba735e014b": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "draft": "", + "error": "", + "mutating": false, + "refreshSeq": 0 + }, + "0e9e7de0aff5": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "0f3697bbd111": { + "name": "projectMutating", + "value": true, + "sent": 2 + }, + "1b30471b40d2": { + "name": "projectRowDetailError", + "value": "inner refused", + "sent": 3 + }, + "1edba0a1a262": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-3", + "ok": false + } + } + }, + "22ffca652b36": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "draft": "", + "error": "", + "mutating": false, + "refreshSeq": 0 + }, + "2cd85ef93c74": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "draft": "", + "error": "", + "mutating": false, + "refreshSeq": 0 + }, + "2eee910f375e": { + "name": "github.requestPRReviewers#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.requestPRReviewers\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":2,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"reviewers\":[\"octocat\"]}}" + }, + "316daba13a9c": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "draft": "", + "error": "outer refused", + "mutating": false, + "refreshSeq": 0 + }, + "347fa6adc9f3": { + "name": "projectRowDetailError", + "value": "", + "sent": 3 + }, + "371b50f433c2": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-3", + "ok": false + } + } + }, + "427bd9508150": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "4684eb8b7156": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Connection closed", + "isRpcDeliveryUnknown": true + } + } + }, + "4a73d878a19a": { + "name": "projectRowDetailError", + "value": "[object Object]", + "sent": 3 + }, + "4b8f240addf4": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-3", + "ok": false + } + } + }, + "4b9b887ee27f": { + "name": "github.setPRFileViewed#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.setPRFileViewed\",\"params\":{\"repo\":\"id:repo-1\",\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"pullRequestId\":\"PR_kwDO\",\"path\":\"src/index.ts\",\"viewed\":true}}" + }, + "4be4f71a6ab7": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "draft": "", + "error": "Unknown method", + "mutating": false, + "refreshSeq": 0 + }, + "5cdba004ba6c": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "draft": "", + "error": "", + "mutating": false, + "refreshSeq": 1 + }, + "62edc52051d6": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "draft": "", + "error": "", + "mutating": false, + "refreshSeq": 1 + }, + "694581af73a0": { + "name": "github.setPRFileViewed#1", + "args": [ + { + "name": "method", + "value": "github.setPRFileViewed" + }, + { + "name": "params", + "value": { + "path": "src/index.ts", + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "pullRequestId": "PR_kwDO", + "repo": "id:repo-1", + "viewed": true + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": true + } + } + }, + "6f4f9198e5ff": { + "name": "projectMutating", + "value": false, + "sent": 2 + }, + "73c3051352c2": { + "name": "projectMutating", + "value": false, + "sent": 3 + }, + "755b3a374ed8": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "draft": "", + "error": "Cannot read properties of undefined (reading 'ok')", + "mutating": false, + "refreshSeq": 0 + }, + "761c230291b6": { + "name": "projectMutating", + "value": true, + "sent": 3 + }, + "7941a2b950be": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha", + "noCache": true, + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ] + } + } + }, + "7b2465eedefe": { + "name": "projectMutating", + "value": true, + "sent": 0 + }, + "7fde07c7539a": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "sent": 2 + }, + "80d38ca65a5d": { + "name": "projectRowDetailError", + "value": "", + "sent": 0 + }, + "85f150b2df81": { + "name": "projectRowDetailError", + "value": "", + "sent": 1 + }, + "867da7ac1013": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "8a1d11133692": { + "name": "projectRowDetailError", + "value": "", + "sent": 2 + }, + "8aad67679b45": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "8bb4bae45cc1": { + "name": "github.requestPRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.requestPRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "9138850642c5": { + "name": "projectRowDetailError", + "value": "outer refused", + "sent": 3 + }, + "914b1bd28569": { + "name": "projectReviewersDraft", + "value": "", + "sent": 1 + }, + "93b879a81965": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "sent": 1 + }, + "97fbbfe4cfb6": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "sent": 4 + }, + "98fec6b761cc": { + "name": "github.prChecks#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.prChecks\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":2,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"headSha\":\"head-sha\",\"noCache\":true}}" + }, + "b9377f5f763b": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "draft": "", + "error": "", + "mutating": true, + "refreshSeq": 0 + }, + "cf5e20449a3b": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "d10f79760196": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "d1bb762720d5": { + "name": "projectMutating", + "value": true, + "sent": 1 + }, + "d4610f44ebca": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "draft": "", + "error": "[object Object]", + "mutating": false, + "refreshSeq": 0 + }, + "d72ea315da15": { + "name": "projectRowDetailError", + "value": "transport failure", + "sent": 3 + }, + "d856c0886ca0": { + "name": "projectRowDetailError", + "value": "Unknown method", + "sent": 3 + }, + "db0eb1b27029": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "draft": "", + "error": "inner refused", + "mutating": false, + "refreshSeq": 0 + }, + "dc5439b12876": { + "name": "github.rerunPRChecks#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.rerunPRChecks\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":2,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"headSha\":\"head-sha\",\"failedOnly\":true}}" + }, + "e32b4c3c9b04": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "draft": "", + "error": "Cannot read properties of null (reading 'ok')", + "mutating": false, + "refreshSeq": 0 + }, + "e465cc97907a": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "draft": "", + "error": "transport failure", + "mutating": false, + "refreshSeq": 0 + }, + "e7d38ed5fb03": { + "name": "projectRowDetailError", + "value": "Cannot read properties of undefined (reading 'ok')", + "sent": 3 + }, + "eb612a2e1a87": { + "name": "projectRowDetailError", + "value": "Cannot read properties of null (reading 'ok')", + "sent": 3 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f0988a613161": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "f14882f2981f": { + "name": "projectRowDetailRefreshSeq", + "value": 1, + "sent": 3 + }, + "f37a9bff665c": { + "name": "projectRowDetailError", + "value": "Connection closed", + "sent": 3 + }, + "fa2e7b92e1d5": { + "name": "projectMutating", + "value": false, + "sent": 4 + }, + "ffae5011e8b3": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true + } + } + } + }, + "recording": { + "scenario": "matrix-tasks.project-row-review-checks-github.rerunprchecks-1", + "checkpoints": [ + { + "id": "tk-project-row-review-checks.prelude:reviewers-settled", + "observation": { + "sender": ["8bb4bae45cc1"], + "payloads": ["2eee910f375e"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a" + }, + "state": "2cd85ef93c74", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db" + ] + } + }, + { + "id": "tk-project-row-review-checks.prelude:checks-settled", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be"], + "payloads": ["2eee910f375e", "98fec6b761cc"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "22ffca652b36", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-review-checks.prelude:cleanup", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be", "4684eb8b7156"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a" + }, + "state": "b9377f5f763b", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f37a9bff665c", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-review-checks.normal:rerun-settled", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be", "d10f79760196"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a" + }, + "state": "62edc52051d6", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-review-checks.normal:viewed-settled", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be", "d10f79760196", "694581af73a0"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876", "4b9b887ee27f"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a", + "viewed-3": "eb79a9b3682a" + }, + "state": "5cdba004ba6c", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "97fbbfe4cfb6", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-review-checks.result-absent:rerun-settled", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be", "ffae5011e8b3"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a" + }, + "state": "755b3a374ed8", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "e7d38ed5fb03", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-review-checks.result-absent:viewed-settled", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be", "ffae5011e8b3", "694581af73a0"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876", "4b9b887ee27f"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a", + "viewed-3": "eb79a9b3682a" + }, + "state": "0aba735e014b", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "e7d38ed5fb03", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "97fbbfe4cfb6", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-review-checks.result-null:rerun-settled", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be", "cf5e20449a3b"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a" + }, + "state": "e32b4c3c9b04", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "eb612a2e1a87", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-review-checks.result-null:viewed-settled", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be", "cf5e20449a3b", "694581af73a0"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876", "4b9b887ee27f"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a", + "viewed-3": "eb79a9b3682a" + }, + "state": "0aba735e014b", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "eb612a2e1a87", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "97fbbfe4cfb6", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-review-checks.inner-ok-missing:rerun-settled", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be", "f0988a613161"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a" + }, + "state": "62edc52051d6", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-review-checks.inner-ok-missing:viewed-settled", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be", "f0988a613161", "694581af73a0"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876", "4b9b887ee27f"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a", + "viewed-3": "eb79a9b3682a" + }, + "state": "5cdba004ba6c", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "97fbbfe4cfb6", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-review-checks.inner-false-string-error:rerun-settled", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be", "867da7ac1013"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a" + }, + "state": "db0eb1b27029", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "1b30471b40d2", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-review-checks.inner-false-string-error:viewed-settled", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be", "867da7ac1013", "694581af73a0"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876", "4b9b887ee27f"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a", + "viewed-3": "eb79a9b3682a" + }, + "state": "0aba735e014b", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "1b30471b40d2", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "97fbbfe4cfb6", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-review-checks.inner-false-object-error:rerun-settled", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be", "0e9e7de0aff5"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a" + }, + "state": "d4610f44ebca", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "4a73d878a19a", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-review-checks.inner-false-object-error:viewed-settled", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be", "0e9e7de0aff5", "694581af73a0"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876", "4b9b887ee27f"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a", + "viewed-3": "eb79a9b3682a" + }, + "state": "0aba735e014b", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "4a73d878a19a", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "97fbbfe4cfb6", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-review-checks.outer-refused:rerun-settled", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be", "1edba0a1a262"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a" + }, + "state": "316daba13a9c", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "9138850642c5", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-review-checks.outer-refused:viewed-settled", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be", "1edba0a1a262", "694581af73a0"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876", "4b9b887ee27f"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a", + "viewed-3": "eb79a9b3682a" + }, + "state": "0aba735e014b", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "9138850642c5", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "97fbbfe4cfb6", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-review-checks.outer-refused-no-message:rerun-settled", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be", "4b8f240addf4"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a" + }, + "state": "22ffca652b36", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "347fa6adc9f3", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-review-checks.outer-refused-no-message:viewed-settled", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be", "4b8f240addf4", "694581af73a0"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876", "4b9b887ee27f"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a", + "viewed-3": "eb79a9b3682a" + }, + "state": "0aba735e014b", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "347fa6adc9f3", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "97fbbfe4cfb6", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-review-checks.method-not-found:rerun-settled", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be", "371b50f433c2"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a" + }, + "state": "4be4f71a6ab7", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "d856c0886ca0", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-review-checks.method-not-found:viewed-settled", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be", "371b50f433c2", "694581af73a0"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876", "4b9b887ee27f"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a", + "viewed-3": "eb79a9b3682a" + }, + "state": "0aba735e014b", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "d856c0886ca0", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "97fbbfe4cfb6", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-review-checks.transport-rejection:rerun-settled", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be", "427bd9508150"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a" + }, + "state": "e465cc97907a", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "d72ea315da15", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-review-checks.transport-rejection:viewed-settled", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be", "427bd9508150", "694581af73a0"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876", "4b9b887ee27f"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a", + "viewed-3": "eb79a9b3682a" + }, + "state": "0aba735e014b", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "d72ea315da15", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "97fbbfe4cfb6", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-review-checks.transport-rejection-no-message:rerun-settled", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be", "8aad67679b45"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a" + }, + "state": "22ffca652b36", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "347fa6adc9f3", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-review-checks.transport-rejection-no-message:viewed-settled", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be", "8aad67679b45", "694581af73a0"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876", "4b9b887ee27f"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a", + "viewed-3": "eb79a9b3682a" + }, + "state": "0aba735e014b", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "347fa6adc9f3", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "97fbbfe4cfb6", + "fa2e7b92e1d5" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-review-checks-github.setprfileviewed-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-review-checks-github.setprfileviewed-1.json new file mode 100644 index 00000000000..cb34c10bc98 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-review-checks-github.setprfileviewed-1.json @@ -0,0 +1,2037 @@ +{ + "operation": "tasks.project-row-review-checks", + "family": "tasks.project-row-review-checks", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "370aeaee59978071ccb821da13c9e6114936c168947b608539cdb80d40cc9889", + "scenarioSha256": "bd58d88e0534366e281869ee79eb75fe65b418d02523d815d8d0d58799edc31b", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0084f00f041a": { + "name": "github.setPRFileViewed#1", + "args": [ + { + "name": "method", + "value": "github.setPRFileViewed" + }, + { + "name": "params", + "value": { + "path": "src/index.ts", + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "pullRequestId": "PR_kwDO", + "repo": "id:repo-1", + "viewed": true + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "02839f22d2db": { + "name": "projectMutating", + "value": false, + "sent": 1 + }, + "0f3697bbd111": { + "name": "projectMutating", + "value": true, + "sent": 2 + }, + "134f75ab5b29": { + "name": "projectRowDetailError", + "value": "Failed to sync viewed state with GitHub.", + "sent": 4 + }, + "22ffca652b36": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "draft": "", + "error": "", + "mutating": false, + "refreshSeq": 0 + }, + "2cd85ef93c74": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "draft": "", + "error": "", + "mutating": false, + "refreshSeq": 0 + }, + "2eee910f375e": { + "name": "github.requestPRReviewers#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.requestPRReviewers\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":2,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"reviewers\":[\"octocat\"]}}" + }, + "347fa6adc9f3": { + "name": "projectRowDetailError", + "value": "", + "sent": 3 + }, + "38bdf0f6645e": { + "name": "github.setPRFileViewed#1", + "args": [ + { + "name": "method", + "value": "github.setPRFileViewed" + }, + { + "name": "params", + "value": { + "path": "src/index.ts", + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "pullRequestId": "PR_kwDO", + "repo": "id:repo-1", + "viewed": true + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true + } + } + }, + "3d423b72401d": { + "name": "projectRowDetailError", + "value": "Unknown method", + "sent": 4 + }, + "4a9746552893": { + "name": "projectRowDetailError", + "value": "transport failure", + "sent": 4 + }, + "4b9b887ee27f": { + "name": "github.setPRFileViewed#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.setPRFileViewed\",\"params\":{\"repo\":\"id:repo-1\",\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"pullRequestId\":\"PR_kwDO\",\"path\":\"src/index.ts\",\"viewed\":true}}" + }, + "4b9ee3adc5ac": { + "name": "github.setPRFileViewed#1", + "args": [ + { + "name": "method", + "value": "github.setPRFileViewed" + }, + { + "name": "params", + "value": { + "path": "src/index.ts", + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "pullRequestId": "PR_kwDO", + "repo": "id:repo-1", + "viewed": true + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-4", + "ok": false + } + } + }, + "558fe933adba": { + "name": "projectRowDetailError", + "value": "Connection closed", + "sent": 4 + }, + "5cdba004ba6c": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "draft": "", + "error": "", + "mutating": false, + "refreshSeq": 1 + }, + "60688af118fb": { + "name": "github.setPRFileViewed#1", + "args": [ + { + "name": "method", + "value": "github.setPRFileViewed" + }, + { + "name": "params", + "value": { + "path": "src/index.ts", + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "pullRequestId": "PR_kwDO", + "repo": "id:repo-1", + "viewed": true + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "62edc52051d6": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "draft": "", + "error": "", + "mutating": false, + "refreshSeq": 1 + }, + "694581af73a0": { + "name": "github.setPRFileViewed#1", + "args": [ + { + "name": "method", + "value": "github.setPRFileViewed" + }, + { + "name": "params", + "value": { + "path": "src/index.ts", + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "pullRequestId": "PR_kwDO", + "repo": "id:repo-1", + "viewed": true + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": true + } + } + }, + "6b21dc8d69c1": { + "name": "github.setPRFileViewed#1", + "args": [ + { + "name": "method", + "value": "github.setPRFileViewed" + }, + { + "name": "params", + "value": { + "path": "src/index.ts", + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "pullRequestId": "PR_kwDO", + "repo": "id:repo-1", + "viewed": true + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "6f4f9198e5ff": { + "name": "projectMutating", + "value": false, + "sent": 2 + }, + "73c3051352c2": { + "name": "projectMutating", + "value": false, + "sent": 3 + }, + "761c230291b6": { + "name": "projectMutating", + "value": true, + "sent": 3 + }, + "7941a2b950be": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha", + "noCache": true, + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ] + } + } + }, + "7b2465eedefe": { + "name": "projectMutating", + "value": true, + "sent": 0 + }, + "7fde07c7539a": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "sent": 2 + }, + "80d38ca65a5d": { + "name": "projectRowDetailError", + "value": "", + "sent": 0 + }, + "85f150b2df81": { + "name": "projectRowDetailError", + "value": "", + "sent": 1 + }, + "867c89335556": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "draft": "", + "error": "transport failure", + "mutating": false, + "refreshSeq": 1 + }, + "8a1d11133692": { + "name": "projectRowDetailError", + "value": "", + "sent": 2 + }, + "8bb4bae45cc1": { + "name": "github.requestPRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.requestPRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "914b1bd28569": { + "name": "projectReviewersDraft", + "value": "", + "sent": 1 + }, + "93b879a81965": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "sent": 1 + }, + "976f63e51ba2": { + "name": "projectRowDetailError", + "value": "", + "sent": 4 + }, + "97fbbfe4cfb6": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "sent": 4 + }, + "98d5e7155129": { + "name": "github.setPRFileViewed#1", + "args": [ + { + "name": "method", + "value": "github.setPRFileViewed" + }, + { + "name": "params", + "value": { + "path": "src/index.ts", + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "pullRequestId": "PR_kwDO", + "repo": "id:repo-1", + "viewed": true + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "98fec6b761cc": { + "name": "github.prChecks#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.prChecks\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":2,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"headSha\":\"head-sha\",\"noCache\":true}}" + }, + "9e2bd15c2270": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "draft": "", + "error": "Failed to sync viewed state with GitHub.", + "mutating": false, + "refreshSeq": 1 + }, + "9e89a1c8c40d": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "draft": "", + "error": "outer refused", + "mutating": false, + "refreshSeq": 1 + }, + "acc9618c23f3": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "draft": "", + "error": "Unknown method", + "mutating": false, + "refreshSeq": 1 + }, + "b2c04f2e7d17": { + "name": "github.setPRFileViewed#1", + "args": [ + { + "name": "method", + "value": "github.setPRFileViewed" + }, + { + "name": "params", + "value": { + "path": "src/index.ts", + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "pullRequestId": "PR_kwDO", + "repo": "id:repo-1", + "viewed": true + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-4", + "ok": false + } + } + }, + "b482257c101c": { + "name": "github.setPRFileViewed#1", + "args": [ + { + "name": "method", + "value": "github.setPRFileViewed" + }, + { + "name": "params", + "value": { + "path": "src/index.ts", + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "pullRequestId": "PR_kwDO", + "repo": "id:repo-1", + "viewed": true + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "b98956c1eea2": { + "name": "github.setPRFileViewed#1", + "args": [ + { + "name": "method", + "value": "github.setPRFileViewed" + }, + { + "name": "params", + "value": { + "path": "src/index.ts", + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "pullRequestId": "PR_kwDO", + "repo": "id:repo-1", + "viewed": true + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-4", + "ok": false + } + } + }, + "c744ecbe18a1": { + "name": "github.setPRFileViewed#1", + "args": [ + { + "name": "method", + "value": "github.setPRFileViewed" + }, + { + "name": "params", + "value": { + "path": "src/index.ts", + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "pullRequestId": "PR_kwDO", + "repo": "id:repo-1", + "viewed": true + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "d10f79760196": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "d1bb762720d5": { + "name": "projectMutating", + "value": true, + "sent": 1 + }, + "dc5439b12876": { + "name": "github.rerunPRChecks#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.rerunPRChecks\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":2,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"headSha\":\"head-sha\",\"failedOnly\":true}}" + }, + "ddbf3cb813dc": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "draft": "", + "error": "", + "mutating": true, + "refreshSeq": 1 + }, + "e0a1028e48ba": { + "name": "projectRowDetailError", + "value": "outer refused", + "sent": 4 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f14882f2981f": { + "name": "projectRowDetailRefreshSeq", + "value": 1, + "sent": 3 + }, + "fa2e7b92e1d5": { + "name": "projectMutating", + "value": false, + "sent": 4 + }, + "ff78e7952ee7": { + "name": "github.setPRFileViewed#1", + "args": [ + { + "name": "method", + "value": "github.setPRFileViewed" + }, + { + "name": "params", + "value": { + "path": "src/index.ts", + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "pullRequestId": "PR_kwDO", + "repo": "id:repo-1", + "viewed": true + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Connection closed", + "isRpcDeliveryUnknown": true + } + } + } + }, + "recording": { + "scenario": "matrix-tasks.project-row-review-checks-github.setprfileviewed-1", + "checkpoints": [ + { + "id": "tk-project-row-review-checks.prelude:reviewers-settled", + "observation": { + "sender": ["8bb4bae45cc1"], + "payloads": ["2eee910f375e"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a" + }, + "state": "2cd85ef93c74", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db" + ] + } + }, + { + "id": "tk-project-row-review-checks.prelude:checks-settled", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be"], + "payloads": ["2eee910f375e", "98fec6b761cc"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "22ffca652b36", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-review-checks.prelude:rerun-settled", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be", "d10f79760196"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a" + }, + "state": "62edc52051d6", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-review-checks.prelude:cleanup", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be", "d10f79760196", "ff78e7952ee7"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876", "4b9b887ee27f"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a", + "viewed-3": "eb79a9b3682a" + }, + "state": "ddbf3cb813dc", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "558fe933adba", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-review-checks.normal:viewed-settled", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be", "d10f79760196", "694581af73a0"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876", "4b9b887ee27f"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a", + "viewed-3": "eb79a9b3682a" + }, + "state": "5cdba004ba6c", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "97fbbfe4cfb6", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-review-checks.result-absent:viewed-settled", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be", "d10f79760196", "38bdf0f6645e"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876", "4b9b887ee27f"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a", + "viewed-3": "eb79a9b3682a" + }, + "state": "9e2bd15c2270", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "134f75ab5b29", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-review-checks.result-null:viewed-settled", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be", "d10f79760196", "98d5e7155129"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876", "4b9b887ee27f"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a", + "viewed-3": "eb79a9b3682a" + }, + "state": "9e2bd15c2270", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "134f75ab5b29", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-review-checks.inner-ok-missing:viewed-settled", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be", "d10f79760196", "c744ecbe18a1"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876", "4b9b887ee27f"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a", + "viewed-3": "eb79a9b3682a" + }, + "state": "9e2bd15c2270", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "134f75ab5b29", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-review-checks.inner-false-string-error:viewed-settled", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be", "d10f79760196", "b482257c101c"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876", "4b9b887ee27f"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a", + "viewed-3": "eb79a9b3682a" + }, + "state": "9e2bd15c2270", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "134f75ab5b29", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-review-checks.inner-false-object-error:viewed-settled", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be", "d10f79760196", "0084f00f041a"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876", "4b9b887ee27f"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a", + "viewed-3": "eb79a9b3682a" + }, + "state": "9e2bd15c2270", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "134f75ab5b29", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-review-checks.outer-refused:viewed-settled", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be", "d10f79760196", "b2c04f2e7d17"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876", "4b9b887ee27f"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a", + "viewed-3": "eb79a9b3682a" + }, + "state": "9e89a1c8c40d", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "e0a1028e48ba", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-review-checks.outer-refused-no-message:viewed-settled", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be", "d10f79760196", "b98956c1eea2"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876", "4b9b887ee27f"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a", + "viewed-3": "eb79a9b3682a" + }, + "state": "62edc52051d6", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "976f63e51ba2", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-review-checks.method-not-found:viewed-settled", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be", "d10f79760196", "4b9ee3adc5ac"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876", "4b9b887ee27f"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a", + "viewed-3": "eb79a9b3682a" + }, + "state": "acc9618c23f3", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "3d423b72401d", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-review-checks.transport-rejection:viewed-settled", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be", "d10f79760196", "60688af118fb"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876", "4b9b887ee27f"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a", + "viewed-3": "eb79a9b3682a" + }, + "state": "867c89335556", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "4a9746552893", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-review-checks.transport-rejection-no-message:viewed-settled", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be", "d10f79760196", "6b21dc8d69c1"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876", "4b9b887ee27f"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a", + "viewed-3": "eb79a9b3682a" + }, + "state": "62edc52051d6", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "976f63e51ba2", + "fa2e7b92e1d5" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-threads-github.addissuecomment-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-threads-github.addissuecomment-1.json new file mode 100644 index 00000000000..f247766235e --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-threads-github.addissuecomment-1.json @@ -0,0 +1,2092 @@ +{ + "operation": "tasks.project-row-threads", + "family": "tasks.project-row-threads", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "55058202df36c8b951510215936e496ea88d3d71a6690090a13c52deb13e34e1", + "scenarioSha256": "0f220b97bbb64ef8d347973690e6fab4b305eaaa54c9b7883340415c54e61206", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "02839f22d2db": { + "name": "projectMutating", + "value": false, + "sent": 1 + }, + "02df4d991595": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 1 + }, + "095ff0ea9c3e": { + "name": "github.addPRReviewCommentReply#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.addPRReviewCommentReply\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":2,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"commentId\":501,\"body\":\"a reply\",\"threadId\":\"thread-1\",\"path\":\"src/index.ts\",\"line\":12}}" + }, + "0f3697bbd111": { + "name": "projectMutating", + "value": true, + "sent": 2 + }, + "1689d9f91f40": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": true + } + } + }, + "192db8712646": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "local-1767225600000", + "line": { + "$rpc": "undefined" + }, + "path": { + "$rpc": "undefined" + }, + "threadId": { + "$rpc": "undefined" + } + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": false + }, + "33c9edfc8631": { + "name": "projectRowDetailError", + "value": "inner refused", + "sent": 4 + }, + "347fa6adc9f3": { + "name": "projectRowDetailError", + "value": "", + "sent": 3 + }, + "3616b3bb9bd2": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "@octocat a reply", + "number": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-4", + "ok": false + } + } + }, + "3d423b72401d": { + "name": "projectRowDetailError", + "value": "Unknown method", + "sent": 4 + }, + "3eed5086ca8e": { + "name": "projectRowDetailError", + "value": "Cannot read properties of undefined (reading 'ok')", + "sent": 4 + }, + "43de89e6550f": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "[object Object]", + "mutating": false + }, + "4a9746552893": { + "name": "projectRowDetailError", + "value": "transport failure", + "sent": 4 + }, + "4c677c52a54e": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 2 + }, + "550f58aa00a7": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": true + }, + "558fe933adba": { + "name": "projectRowDetailError", + "value": "Connection closed", + "sent": 4 + }, + "55b83fbfcc09": { + "name": "projectRowDetailError", + "value": "[object Object]", + "sent": 4 + }, + "5e4d75ca8adc": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "@octocat a reply", + "number": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-4", + "ok": false + } + } + }, + "6332aa2e35ef": { + "name": "projectRowDetailError", + "value": "Cannot read properties of null (reading 'ok')", + "sent": 4 + }, + "680d3e2ff566": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "Unknown method", + "mutating": false + }, + "6d3be646bec9": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "@octocat a reply", + "number": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "6eb252a289a0": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "Cannot read properties of undefined (reading 'ok')", + "mutating": false + }, + "6f4f9198e5ff": { + "name": "projectMutating", + "value": false, + "sent": 2 + }, + "73c3051352c2": { + "name": "projectMutating", + "value": false, + "sent": 3 + }, + "761c230291b6": { + "name": "projectMutating", + "value": true, + "sent": 3 + }, + "78c52015aa43": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "inner refused", + "mutating": false + }, + "7b2465eedefe": { + "name": "projectMutating", + "value": true, + "sent": 0 + }, + "80d38ca65a5d": { + "name": "projectRowDetailError", + "value": "", + "sent": 0 + }, + "85f150b2df81": { + "name": "projectRowDetailError", + "value": "", + "sent": 1 + }, + "874009380ba6": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": false + }, + "8a1d11133692": { + "name": "projectRowDetailError", + "value": "", + "sent": 2 + }, + "8bbb5efeadaf": { + "name": "itemReplyDrafts", + "value": {}, + "sent": 4 + }, + "976f63e51ba2": { + "name": "projectRowDetailError", + "value": "", + "sent": 4 + }, + "979e7cec91d8": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "@octocat a reply", + "number": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true + } + } + }, + "a7e90307fc74": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 3 + }, + "b6b9452c2348": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": false + }, + "b94df8ff01a9": { + "name": "github.project.deleteIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.deleteIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "commentId": 501, + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "bdfb0177e2c1": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "@octocat a reply", + "number": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-4", + "ok": false + } + } + }, + "c283c93a5619": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "local-1767225600000", + "line": { + "$rpc": "undefined" + }, + "path": { + "$rpc": "undefined" + }, + "threadId": { + "$rpc": "undefined" + } + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 4 + }, + "c3f765625de5": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "@octocat a reply", + "number": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "cc8e9797ff26": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "@octocat a reply", + "number": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "cd0e088a1f9b": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "@octocat a reply", + "number": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Connection closed", + "isRpcDeliveryUnknown": true + } + } + }, + "cdb73ed7cd45": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "transport failure", + "mutating": false + }, + "cf1e9d4fc0c3": { + "name": "itemReplyDrafts", + "value": { + "comment-2": "a reply" + }, + "sent": 3 + }, + "cf954aa5f6bf": { + "name": "github.resolveReviewThread#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.resolveReviewThread\",\"params\":{\"repo\":\"id:repo-1\",\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"threadId\":\"thread-1\",\"resolve\":true}}" + }, + "d1bb762720d5": { + "name": "projectMutating", + "value": true, + "sent": 1 + }, + "d1d6434fd325": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "@octocat a reply", + "number": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "d515951be1e3": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 4 + }, + "d7467bca27a7": { + "name": "github.project.deleteIssueCommentBySlug#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.deleteIssueCommentBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\",\"commentId\":501}}" + }, + "d846e6d21f1e": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "outer refused", + "mutating": false + }, + "df5e09a21420": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "@octocat a reply", + "number": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "comment": { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + }, + "ok": true + } + } + } + }, + "e0a1028e48ba": { + "name": "projectRowDetailError", + "value": "outer refused", + "sent": 4 + }, + "e3ad9b260dec": { + "name": "github.addIssueComment#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.addIssueComment\",\"params\":{\"repo\":\"id:repo-1\",\"number\":2,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"body\":\"@octocat a reply\",\"type\":\"pr\"}}" + }, + "e76d5520ec18": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": false + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f27ce2e53696": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "@octocat a reply", + "number": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "f674d050fe62": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "a reply", + "commentId": 501, + "line": 12, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "comment": { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + "ok": true + } + } + } + }, + "fa2e7b92e1d5": { + "name": "projectMutating", + "value": false, + "sent": 4 + }, + "fa87419c6c2e": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "Cannot read properties of null (reading 'ok')", + "mutating": false + }, + "fbe223460865": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "@octocat a reply", + "number": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + } + }, + "recording": { + "scenario": "matrix-tasks.project-row-threads-github.addissuecomment-1", + "checkpoints": [ + { + "id": "tk-project-row-threads.prelude:delete-comment-settled", + "observation": { + "sender": ["b94df8ff01a9"], + "payloads": ["d7467bca27a7"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a" + }, + "state": "b6b9452c2348", + "effects": ["7b2465eedefe", "80d38ca65a5d", "02df4d991595", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-threads.prelude:thread-settled", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a" + }, + "state": "b6b9452c2348", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-threads.prelude:review-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40", "f674d050fe62"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a" + }, + "state": "e76d5520ec18", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "a7e90307fc74", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-threads.prelude:cleanup", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40", "f674d050fe62", "cd0e088a1f9b"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e", "e3ad9b260dec"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a", + "issue-reply-3": "eb79a9b3682a" + }, + "state": "550f58aa00a7", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "a7e90307fc74", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "558fe933adba", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-threads.normal:issue-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40", "f674d050fe62", "df5e09a21420"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e", "e3ad9b260dec"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a", + "issue-reply-3": "eb79a9b3682a" + }, + "state": "874009380ba6", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "a7e90307fc74", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "8bbb5efeadaf", + "d515951be1e3", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-threads.result-absent:issue-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40", "f674d050fe62", "979e7cec91d8"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e", "e3ad9b260dec"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a", + "issue-reply-3": "eb79a9b3682a" + }, + "state": "6eb252a289a0", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "a7e90307fc74", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "3eed5086ca8e", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-threads.result-null:issue-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40", "f674d050fe62", "6d3be646bec9"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e", "e3ad9b260dec"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a", + "issue-reply-3": "eb79a9b3682a" + }, + "state": "fa87419c6c2e", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "a7e90307fc74", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "6332aa2e35ef", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-threads.inner-ok-missing:issue-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40", "f674d050fe62", "d1d6434fd325"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e", "e3ad9b260dec"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a", + "issue-reply-3": "eb79a9b3682a" + }, + "state": "192db8712646", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "a7e90307fc74", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "8bbb5efeadaf", + "c283c93a5619", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-threads.inner-false-string-error:issue-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40", "f674d050fe62", "f27ce2e53696"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e", "e3ad9b260dec"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a", + "issue-reply-3": "eb79a9b3682a" + }, + "state": "78c52015aa43", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "a7e90307fc74", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "33c9edfc8631", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-threads.inner-false-object-error:issue-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40", "f674d050fe62", "fbe223460865"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e", "e3ad9b260dec"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a", + "issue-reply-3": "eb79a9b3682a" + }, + "state": "43de89e6550f", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "a7e90307fc74", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "55b83fbfcc09", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-threads.outer-refused:issue-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40", "f674d050fe62", "bdfb0177e2c1"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e", "e3ad9b260dec"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a", + "issue-reply-3": "eb79a9b3682a" + }, + "state": "d846e6d21f1e", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "a7e90307fc74", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "e0a1028e48ba", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-threads.outer-refused-no-message:issue-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40", "f674d050fe62", "3616b3bb9bd2"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e", "e3ad9b260dec"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a", + "issue-reply-3": "eb79a9b3682a" + }, + "state": "e76d5520ec18", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "a7e90307fc74", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "976f63e51ba2", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-threads.method-not-found:issue-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40", "f674d050fe62", "5e4d75ca8adc"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e", "e3ad9b260dec"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a", + "issue-reply-3": "eb79a9b3682a" + }, + "state": "680d3e2ff566", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "a7e90307fc74", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "3d423b72401d", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-threads.transport-rejection:issue-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40", "f674d050fe62", "cc8e9797ff26"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e", "e3ad9b260dec"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a", + "issue-reply-3": "eb79a9b3682a" + }, + "state": "cdb73ed7cd45", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "a7e90307fc74", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "4a9746552893", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-threads.transport-rejection-no-message:issue-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40", "f674d050fe62", "c3f765625de5"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e", "e3ad9b260dec"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a", + "issue-reply-3": "eb79a9b3682a" + }, + "state": "e76d5520ec18", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "a7e90307fc74", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "976f63e51ba2", + "fa2e7b92e1d5" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-threads-github.addprreviewcommentreply-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-threads-github.addprreviewcommentreply-1.json new file mode 100644 index 00000000000..8ec9073ed6d --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-threads-github.addprreviewcommentreply-1.json @@ -0,0 +1,2498 @@ +{ + "operation": "tasks.project-row-threads", + "family": "tasks.project-row-threads", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "55058202df36c8b951510215936e496ea88d3d71a6690090a13c52deb13e34e1", + "scenarioSha256": "85160836c5a5c9bae76aff82c834ceb908f9262a90facd6e055c289362664eaa", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0063efc2d666": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "outer refused", + "mutating": false + }, + "02839f22d2db": { + "name": "projectMutating", + "value": false, + "sent": 1 + }, + "02df4d991595": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 1 + }, + "095ff0ea9c3e": { + "name": "github.addPRReviewCommentReply#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.addPRReviewCommentReply\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":2,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"commentId\":501,\"body\":\"a reply\",\"threadId\":\"thread-1\",\"path\":\"src/index.ts\",\"line\":12}}" + }, + "0f3697bbd111": { + "name": "projectMutating", + "value": true, + "sent": 2 + }, + "1324001a72ab": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "local-1767225600000", + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 4 + }, + "14f66e7d5055": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "a reply", + "commentId": 501, + "line": 12, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Connection closed", + "isRpcDeliveryUnknown": true + } + } + }, + "165bbcc6d7dc": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "a reply", + "commentId": 501, + "line": 12, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "1689d9f91f40": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": true + } + } + }, + "18a73ab69ff6": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "local-1767225600000", + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": false + }, + "1b30471b40d2": { + "name": "projectRowDetailError", + "value": "inner refused", + "sent": 3 + }, + "32874acc8cbf": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "a reply", + "commentId": 501, + "line": 12, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "347fa6adc9f3": { + "name": "projectRowDetailError", + "value": "", + "sent": 3 + }, + "3a2a78903010": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "Cannot read properties of null (reading 'ok')", + "mutating": false + }, + "3f6d3565acae": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "Cannot read properties of undefined (reading 'ok')", + "mutating": false + }, + "446f11c345d6": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "[object Object]", + "mutating": false + }, + "486aee98d14d": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": true + }, + "4a73d878a19a": { + "name": "projectRowDetailError", + "value": "[object Object]", + "sent": 3 + }, + "4c677c52a54e": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 2 + }, + "4dfa7307143d": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": false + }, + "66da313dd708": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "a reply", + "commentId": 501, + "line": 12, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true + } + } + }, + "6c4e721aaeba": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 4 + }, + "6f4f9198e5ff": { + "name": "projectMutating", + "value": false, + "sent": 2 + }, + "73c3051352c2": { + "name": "projectMutating", + "value": false, + "sent": 3 + }, + "761c230291b6": { + "name": "projectMutating", + "value": true, + "sent": 3 + }, + "7b2465eedefe": { + "name": "projectMutating", + "value": true, + "sent": 0 + }, + "80d38ca65a5d": { + "name": "projectRowDetailError", + "value": "", + "sent": 0 + }, + "82f7fb9e61e0": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "local-1767225600000", + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": false + }, + "85f150b2df81": { + "name": "projectRowDetailError", + "value": "", + "sent": 1 + }, + "874009380ba6": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": false + }, + "8a1d11133692": { + "name": "projectRowDetailError", + "value": "", + "sent": 2 + }, + "8bbb5efeadaf": { + "name": "itemReplyDrafts", + "value": {}, + "sent": 4 + }, + "9138850642c5": { + "name": "projectRowDetailError", + "value": "outer refused", + "sent": 3 + }, + "97cb3dc78363": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "a reply", + "commentId": 501, + "line": 12, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-3", + "ok": false + } + } + }, + "a7e90307fc74": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 3 + }, + "a8022b068249": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "inner refused", + "mutating": false + }, + "ae08229ffb6c": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "a reply", + "commentId": 501, + "line": 12, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "afc96b1cc014": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "a reply", + "commentId": 501, + "line": 12, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "b6b9452c2348": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": false + }, + "b6e86a35bef1": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "a reply", + "commentId": 501, + "line": 12, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "b94df8ff01a9": { + "name": "github.project.deleteIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.deleteIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "commentId": 501, + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "bf65c598102e": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "Unknown method", + "mutating": false + }, + "c18900f349d0": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "transport failure", + "mutating": false + }, + "cd005a64924e": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "a reply", + "commentId": 501, + "line": 12, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-3", + "ok": false + } + } + }, + "cf1e9d4fc0c3": { + "name": "itemReplyDrafts", + "value": { + "comment-2": "a reply" + }, + "sent": 3 + }, + "cf954aa5f6bf": { + "name": "github.resolveReviewThread#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.resolveReviewThread\",\"params\":{\"repo\":\"id:repo-1\",\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"threadId\":\"thread-1\",\"resolve\":true}}" + }, + "d1bb762720d5": { + "name": "projectMutating", + "value": true, + "sent": 1 + }, + "d515951be1e3": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 4 + }, + "d653fc1f4a8e": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "local-1767225600000", + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 3 + }, + "d72ea315da15": { + "name": "projectRowDetailError", + "value": "transport failure", + "sent": 3 + }, + "d7467bca27a7": { + "name": "github.project.deleteIssueCommentBySlug#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.deleteIssueCommentBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\",\"commentId\":501}}" + }, + "d856c0886ca0": { + "name": "projectRowDetailError", + "value": "Unknown method", + "sent": 3 + }, + "de7e00504f8b": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "a reply", + "commentId": 501, + "line": 12, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-3", + "ok": false + } + } + }, + "df5e09a21420": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "@octocat a reply", + "number": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "comment": { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + }, + "ok": true + } + } + } + }, + "e3ad9b260dec": { + "name": "github.addIssueComment#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.addIssueComment\",\"params\":{\"repo\":\"id:repo-1\",\"number\":2,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"body\":\"@octocat a reply\",\"type\":\"pr\"}}" + }, + "e76d5520ec18": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": false + }, + "e7d38ed5fb03": { + "name": "projectRowDetailError", + "value": "Cannot read properties of undefined (reading 'ok')", + "sent": 3 + }, + "eb612a2e1a87": { + "name": "projectRowDetailError", + "value": "Cannot read properties of null (reading 'ok')", + "sent": 3 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f37a9bff665c": { + "name": "projectRowDetailError", + "value": "Connection closed", + "sent": 3 + }, + "f59816cbb4a7": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "a reply", + "commentId": 501, + "line": 12, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "f674d050fe62": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "a reply", + "commentId": 501, + "line": 12, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "comment": { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + "ok": true + } + } + } + }, + "fa2e7b92e1d5": { + "name": "projectMutating", + "value": false, + "sent": 4 + }, + "ffcb3fbaf068": { + "name": "itemReplyDrafts", + "value": { + "501": "a reply" + }, + "sent": 4 + } + }, + "recording": { + "scenario": "matrix-tasks.project-row-threads-github.addprreviewcommentreply-1", + "checkpoints": [ + { + "id": "tk-project-row-threads.prelude:delete-comment-settled", + "observation": { + "sender": ["b94df8ff01a9"], + "payloads": ["d7467bca27a7"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a" + }, + "state": "b6b9452c2348", + "effects": ["7b2465eedefe", "80d38ca65a5d", "02df4d991595", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-threads.prelude:thread-settled", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a" + }, + "state": "b6b9452c2348", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-threads.prelude:cleanup", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40", "14f66e7d5055"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a" + }, + "state": "486aee98d14d", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f37a9bff665c", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-threads.normal:review-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40", "f674d050fe62"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a" + }, + "state": "e76d5520ec18", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "a7e90307fc74", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-threads.normal:issue-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40", "f674d050fe62", "df5e09a21420"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e", "e3ad9b260dec"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a", + "issue-reply-3": "eb79a9b3682a" + }, + "state": "874009380ba6", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "a7e90307fc74", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "8bbb5efeadaf", + "d515951be1e3", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-threads.result-absent:review-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40", "66da313dd708"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a" + }, + "state": "3f6d3565acae", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "e7d38ed5fb03", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-threads.result-absent:issue-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40", "66da313dd708", "df5e09a21420"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e", "e3ad9b260dec"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a", + "issue-reply-3": "eb79a9b3682a" + }, + "state": "4dfa7307143d", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "e7d38ed5fb03", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "ffcb3fbaf068", + "6c4e721aaeba", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-threads.result-null:review-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40", "afc96b1cc014"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a" + }, + "state": "3a2a78903010", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "eb612a2e1a87", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-threads.result-null:issue-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40", "afc96b1cc014", "df5e09a21420"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e", "e3ad9b260dec"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a", + "issue-reply-3": "eb79a9b3682a" + }, + "state": "4dfa7307143d", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "eb612a2e1a87", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "ffcb3fbaf068", + "6c4e721aaeba", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-threads.inner-ok-missing:review-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40", "165bbcc6d7dc"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a" + }, + "state": "18a73ab69ff6", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "d653fc1f4a8e", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-threads.inner-ok-missing:issue-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40", "165bbcc6d7dc", "df5e09a21420"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e", "e3ad9b260dec"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a", + "issue-reply-3": "eb79a9b3682a" + }, + "state": "82f7fb9e61e0", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "d653fc1f4a8e", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "8bbb5efeadaf", + "1324001a72ab", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-threads.inner-false-string-error:review-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40", "f59816cbb4a7"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a" + }, + "state": "a8022b068249", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "1b30471b40d2", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-threads.inner-false-string-error:issue-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40", "f59816cbb4a7", "df5e09a21420"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e", "e3ad9b260dec"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a", + "issue-reply-3": "eb79a9b3682a" + }, + "state": "4dfa7307143d", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "1b30471b40d2", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "ffcb3fbaf068", + "6c4e721aaeba", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-threads.inner-false-object-error:review-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40", "b6e86a35bef1"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a" + }, + "state": "446f11c345d6", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "4a73d878a19a", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-threads.inner-false-object-error:issue-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40", "b6e86a35bef1", "df5e09a21420"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e", "e3ad9b260dec"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a", + "issue-reply-3": "eb79a9b3682a" + }, + "state": "4dfa7307143d", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "4a73d878a19a", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "ffcb3fbaf068", + "6c4e721aaeba", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-threads.outer-refused:review-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40", "cd005a64924e"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a" + }, + "state": "0063efc2d666", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "9138850642c5", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-threads.outer-refused:issue-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40", "cd005a64924e", "df5e09a21420"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e", "e3ad9b260dec"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a", + "issue-reply-3": "eb79a9b3682a" + }, + "state": "4dfa7307143d", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "9138850642c5", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "ffcb3fbaf068", + "6c4e721aaeba", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-threads.outer-refused-no-message:review-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40", "de7e00504f8b"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a" + }, + "state": "b6b9452c2348", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "347fa6adc9f3", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-threads.outer-refused-no-message:issue-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40", "de7e00504f8b", "df5e09a21420"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e", "e3ad9b260dec"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a", + "issue-reply-3": "eb79a9b3682a" + }, + "state": "4dfa7307143d", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "347fa6adc9f3", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "ffcb3fbaf068", + "6c4e721aaeba", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-threads.method-not-found:review-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40", "97cb3dc78363"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a" + }, + "state": "bf65c598102e", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "d856c0886ca0", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-threads.method-not-found:issue-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40", "97cb3dc78363", "df5e09a21420"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e", "e3ad9b260dec"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a", + "issue-reply-3": "eb79a9b3682a" + }, + "state": "4dfa7307143d", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "d856c0886ca0", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "ffcb3fbaf068", + "6c4e721aaeba", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-threads.transport-rejection:review-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40", "32874acc8cbf"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a" + }, + "state": "c18900f349d0", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "d72ea315da15", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-threads.transport-rejection:issue-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40", "32874acc8cbf", "df5e09a21420"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e", "e3ad9b260dec"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a", + "issue-reply-3": "eb79a9b3682a" + }, + "state": "4dfa7307143d", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "d72ea315da15", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "ffcb3fbaf068", + "6c4e721aaeba", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-threads.transport-rejection-no-message:review-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40", "ae08229ffb6c"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a" + }, + "state": "b6b9452c2348", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "347fa6adc9f3", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-threads.transport-rejection-no-message:issue-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40", "ae08229ffb6c", "df5e09a21420"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e", "e3ad9b260dec"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a", + "issue-reply-3": "eb79a9b3682a" + }, + "state": "4dfa7307143d", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "347fa6adc9f3", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "ffcb3fbaf068", + "6c4e721aaeba", + "fa2e7b92e1d5" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-threads-github.project.deleteissuecommentbyslug-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-threads-github.project.deleteissuecommentbyslug-1.json new file mode 100644 index 00000000000..289558db71c --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-threads-github.project.deleteissuecommentbyslug-1.json @@ -0,0 +1,2788 @@ +{ + "operation": "tasks.project-row-threads", + "family": "tasks.project-row-threads", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "55058202df36c8b951510215936e496ea88d3d71a6690090a13c52deb13e34e1", + "scenarioSha256": "5bc59cfd0d951ae5193df5c49ce3618d9536be0bc8f8192a7b03000963c2001b", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "02839f22d2db": { + "name": "projectMutating", + "value": false, + "sent": 1 + }, + "02df4d991595": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 1 + }, + "03b995b7d1e5": { + "name": "github.project.deleteIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.deleteIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "commentId": 501, + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-1", + "ok": false + } + } + }, + "095ff0ea9c3e": { + "name": "github.addPRReviewCommentReply#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.addPRReviewCommentReply\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":2,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"commentId\":501,\"body\":\"a reply\",\"threadId\":\"thread-1\",\"path\":\"src/index.ts\",\"line\":12}}" + }, + "0e2253940af4": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 3 + }, + "0ef970845cc7": { + "name": "projectRowDetailError", + "value": "outer refused", + "sent": 1 + }, + "0f3697bbd111": { + "name": "projectMutating", + "value": true, + "sent": 2 + }, + "152580ec9e5a": { + "name": "projectRowDetailError", + "value": "Unknown method", + "sent": 1 + }, + "1689d9f91f40": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": true + } + } + }, + "3113ec0eb967": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": false + }, + "31aef5de0b63": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "Cannot read properties of undefined (reading 'ok')", + "mutating": false + }, + "3202574ed4db": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "Cannot read properties of null (reading 'ok')", + "mutating": false + }, + "326477e41522": { + "name": "github.project.deleteIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.deleteIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "commentId": 501, + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "347fa6adc9f3": { + "name": "projectRowDetailError", + "value": "", + "sent": 3 + }, + "4c09a53c8150": { + "name": "projectRowDetailError", + "value": "Cannot read properties of undefined (reading 'ok')", + "sent": 1 + }, + "4c677c52a54e": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 2 + }, + "6f4f9198e5ff": { + "name": "projectMutating", + "value": false, + "sent": 2 + }, + "73c3051352c2": { + "name": "projectMutating", + "value": false, + "sent": 3 + }, + "761c230291b6": { + "name": "projectMutating", + "value": true, + "sent": 3 + }, + "77d646fb0b5b": { + "name": "github.project.deleteIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.deleteIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "commentId": 501, + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "78ef9c03161e": { + "name": "github.project.deleteIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.deleteIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "commentId": 501, + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "7b2465eedefe": { + "name": "projectMutating", + "value": true, + "sent": 0 + }, + "80d38ca65a5d": { + "name": "projectRowDetailError", + "value": "", + "sent": 0 + }, + "80ed3cd5fa12": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "outer refused", + "mutating": false + }, + "8237b3a567bf": { + "name": "projectRowDetailError", + "value": "transport failure", + "sent": 1 + }, + "85f150b2df81": { + "name": "projectRowDetailError", + "value": "", + "sent": 1 + }, + "874009380ba6": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": false + }, + "8a1d11133692": { + "name": "projectRowDetailError", + "value": "", + "sent": 2 + }, + "8bbb5efeadaf": { + "name": "itemReplyDrafts", + "value": {}, + "sent": 4 + }, + "92b802be86b7": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "Unknown method", + "mutating": false + }, + "9846d945c878": { + "name": "github.project.deleteIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.deleteIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "commentId": 501, + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "a7b76954b136": { + "name": "projectRowDetailError", + "value": "Cannot read properties of null (reading 'ok')", + "sent": 1 + }, + "a7e90307fc74": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 3 + }, + "b48fad669af7": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": false + }, + "b6b7b037e348": { + "name": "github.project.deleteIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.deleteIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "commentId": 501, + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "b6b9452c2348": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": false + }, + "b94df8ff01a9": { + "name": "github.project.deleteIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.deleteIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "commentId": 501, + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "cf092130ba77": { + "name": "github.project.deleteIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.deleteIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "commentId": 501, + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "cf1e9d4fc0c3": { + "name": "itemReplyDrafts", + "value": { + "comment-2": "a reply" + }, + "sent": 3 + }, + "cf954aa5f6bf": { + "name": "github.resolveReviewThread#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.resolveReviewThread\",\"params\":{\"repo\":\"id:repo-1\",\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"threadId\":\"thread-1\",\"resolve\":true}}" + }, + "d1bb762720d5": { + "name": "projectMutating", + "value": true, + "sent": 1 + }, + "d4042c0e5798": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "transport failure", + "mutating": false + }, + "d515951be1e3": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 4 + }, + "d5c97305d438": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": false + }, + "d7467bca27a7": { + "name": "github.project.deleteIssueCommentBySlug#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.deleteIssueCommentBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\",\"commentId\":501}}" + }, + "da378b958d73": { + "name": "github.project.deleteIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.deleteIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "commentId": 501, + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "dd3a7b9465eb": { + "name": "github.project.deleteIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.deleteIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "commentId": 501, + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "df5e09a21420": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "@octocat a reply", + "number": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "comment": { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + }, + "ok": true + } + } + } + }, + "e12f71818831": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 4 + }, + "e2d6e04c1984": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "inner refused", + "mutating": false + }, + "e3ad9b260dec": { + "name": "github.addIssueComment#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.addIssueComment\",\"params\":{\"repo\":\"id:repo-1\",\"number\":2,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"body\":\"@octocat a reply\",\"type\":\"pr\"}}" + }, + "e5dc2384d2f9": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": false + }, + "e76d5520ec18": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": false + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ef2a66cf57a7": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 2 + }, + "eff724250cc7": { + "name": "projectRowDetailError", + "value": "inner refused", + "sent": 1 + }, + "f674d050fe62": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "a reply", + "commentId": 501, + "line": 12, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "comment": { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + "ok": true + } + } + } + }, + "fa2e7b92e1d5": { + "name": "projectMutating", + "value": false, + "sent": 4 + }, + "fb3c6772749f": { + "name": "github.project.deleteIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.deleteIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "commentId": 501, + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + } + }, + "recording": { + "scenario": "matrix-tasks.project-row-threads-github.project.deleteissuecommentbyslug-1", + "checkpoints": [ + { + "id": "tk-project-row-threads.normal:delete-comment-settled", + "observation": { + "sender": ["b94df8ff01a9"], + "payloads": ["d7467bca27a7"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a" + }, + "state": "b6b9452c2348", + "effects": ["7b2465eedefe", "80d38ca65a5d", "02df4d991595", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-threads.normal:thread-settled", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a" + }, + "state": "b6b9452c2348", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-threads.normal:review-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40", "f674d050fe62"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a" + }, + "state": "e76d5520ec18", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "a7e90307fc74", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-threads.normal:issue-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40", "f674d050fe62", "df5e09a21420"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e", "e3ad9b260dec"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a", + "issue-reply-3": "eb79a9b3682a" + }, + "state": "874009380ba6", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "a7e90307fc74", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "8bbb5efeadaf", + "d515951be1e3", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-threads.result-absent:delete-comment-settled", + "observation": { + "sender": ["da378b958d73"], + "payloads": ["d7467bca27a7"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a" + }, + "state": "31aef5de0b63", + "effects": ["7b2465eedefe", "80d38ca65a5d", "4c09a53c8150", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-threads.result-absent:thread-settled", + "observation": { + "sender": ["da378b958d73", "1689d9f91f40"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a" + }, + "state": "e5dc2384d2f9", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "4c09a53c8150", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "ef2a66cf57a7", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-threads.result-absent:review-reply-settled", + "observation": { + "sender": ["da378b958d73", "1689d9f91f40", "f674d050fe62"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a" + }, + "state": "3113ec0eb967", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "4c09a53c8150", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "ef2a66cf57a7", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "0e2253940af4", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-threads.result-absent:issue-reply-settled", + "observation": { + "sender": ["da378b958d73", "1689d9f91f40", "f674d050fe62", "df5e09a21420"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e", "e3ad9b260dec"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a", + "issue-reply-3": "eb79a9b3682a" + }, + "state": "d5c97305d438", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "4c09a53c8150", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "ef2a66cf57a7", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "0e2253940af4", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "8bbb5efeadaf", + "e12f71818831", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-threads.result-null:delete-comment-settled", + "observation": { + "sender": ["326477e41522"], + "payloads": ["d7467bca27a7"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a" + }, + "state": "3202574ed4db", + "effects": ["7b2465eedefe", "80d38ca65a5d", "a7b76954b136", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-threads.result-null:thread-settled", + "observation": { + "sender": ["326477e41522", "1689d9f91f40"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a" + }, + "state": "e5dc2384d2f9", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "a7b76954b136", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "ef2a66cf57a7", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-threads.result-null:review-reply-settled", + "observation": { + "sender": ["326477e41522", "1689d9f91f40", "f674d050fe62"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a" + }, + "state": "3113ec0eb967", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "a7b76954b136", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "ef2a66cf57a7", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "0e2253940af4", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-threads.result-null:issue-reply-settled", + "observation": { + "sender": ["326477e41522", "1689d9f91f40", "f674d050fe62", "df5e09a21420"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e", "e3ad9b260dec"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a", + "issue-reply-3": "eb79a9b3682a" + }, + "state": "d5c97305d438", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "a7b76954b136", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "ef2a66cf57a7", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "0e2253940af4", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "8bbb5efeadaf", + "e12f71818831", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-threads.inner-ok-missing:delete-comment-settled", + "observation": { + "sender": ["77d646fb0b5b"], + "payloads": ["d7467bca27a7"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a" + }, + "state": "b6b9452c2348", + "effects": ["7b2465eedefe", "80d38ca65a5d", "02df4d991595", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-threads.inner-ok-missing:thread-settled", + "observation": { + "sender": ["77d646fb0b5b", "1689d9f91f40"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a" + }, + "state": "b6b9452c2348", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-threads.inner-ok-missing:review-reply-settled", + "observation": { + "sender": ["77d646fb0b5b", "1689d9f91f40", "f674d050fe62"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a" + }, + "state": "e76d5520ec18", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "a7e90307fc74", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-threads.inner-ok-missing:issue-reply-settled", + "observation": { + "sender": ["77d646fb0b5b", "1689d9f91f40", "f674d050fe62", "df5e09a21420"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e", "e3ad9b260dec"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a", + "issue-reply-3": "eb79a9b3682a" + }, + "state": "874009380ba6", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "a7e90307fc74", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "8bbb5efeadaf", + "d515951be1e3", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-threads.inner-false-string-error:delete-comment-settled", + "observation": { + "sender": ["78ef9c03161e"], + "payloads": ["d7467bca27a7"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a" + }, + "state": "e2d6e04c1984", + "effects": ["7b2465eedefe", "80d38ca65a5d", "eff724250cc7", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-threads.inner-false-string-error:thread-settled", + "observation": { + "sender": ["78ef9c03161e", "1689d9f91f40"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a" + }, + "state": "e5dc2384d2f9", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "eff724250cc7", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "ef2a66cf57a7", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-threads.inner-false-string-error:review-reply-settled", + "observation": { + "sender": ["78ef9c03161e", "1689d9f91f40", "f674d050fe62"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a" + }, + "state": "3113ec0eb967", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "eff724250cc7", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "ef2a66cf57a7", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "0e2253940af4", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-threads.inner-false-string-error:issue-reply-settled", + "observation": { + "sender": ["78ef9c03161e", "1689d9f91f40", "f674d050fe62", "df5e09a21420"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e", "e3ad9b260dec"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a", + "issue-reply-3": "eb79a9b3682a" + }, + "state": "d5c97305d438", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "eff724250cc7", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "ef2a66cf57a7", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "0e2253940af4", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "8bbb5efeadaf", + "e12f71818831", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-threads.inner-false-object-error:delete-comment-settled", + "observation": { + "sender": ["fb3c6772749f"], + "payloads": ["d7467bca27a7"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a" + }, + "state": "e2d6e04c1984", + "effects": ["7b2465eedefe", "80d38ca65a5d", "eff724250cc7", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-threads.inner-false-object-error:thread-settled", + "observation": { + "sender": ["fb3c6772749f", "1689d9f91f40"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a" + }, + "state": "e5dc2384d2f9", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "eff724250cc7", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "ef2a66cf57a7", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-threads.inner-false-object-error:review-reply-settled", + "observation": { + "sender": ["fb3c6772749f", "1689d9f91f40", "f674d050fe62"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a" + }, + "state": "3113ec0eb967", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "eff724250cc7", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "ef2a66cf57a7", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "0e2253940af4", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-threads.inner-false-object-error:issue-reply-settled", + "observation": { + "sender": ["fb3c6772749f", "1689d9f91f40", "f674d050fe62", "df5e09a21420"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e", "e3ad9b260dec"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a", + "issue-reply-3": "eb79a9b3682a" + }, + "state": "d5c97305d438", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "eff724250cc7", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "ef2a66cf57a7", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "0e2253940af4", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "8bbb5efeadaf", + "e12f71818831", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-threads.outer-refused:delete-comment-settled", + "observation": { + "sender": ["9846d945c878"], + "payloads": ["d7467bca27a7"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a" + }, + "state": "80ed3cd5fa12", + "effects": ["7b2465eedefe", "80d38ca65a5d", "0ef970845cc7", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-threads.outer-refused:thread-settled", + "observation": { + "sender": ["9846d945c878", "1689d9f91f40"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a" + }, + "state": "e5dc2384d2f9", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "0ef970845cc7", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "ef2a66cf57a7", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-threads.outer-refused:review-reply-settled", + "observation": { + "sender": ["9846d945c878", "1689d9f91f40", "f674d050fe62"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a" + }, + "state": "3113ec0eb967", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "0ef970845cc7", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "ef2a66cf57a7", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "0e2253940af4", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-threads.outer-refused:issue-reply-settled", + "observation": { + "sender": ["9846d945c878", "1689d9f91f40", "f674d050fe62", "df5e09a21420"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e", "e3ad9b260dec"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a", + "issue-reply-3": "eb79a9b3682a" + }, + "state": "d5c97305d438", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "0ef970845cc7", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "ef2a66cf57a7", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "0e2253940af4", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "8bbb5efeadaf", + "e12f71818831", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-threads.outer-refused-no-message:delete-comment-settled", + "observation": { + "sender": ["cf092130ba77"], + "payloads": ["d7467bca27a7"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a" + }, + "state": "b48fad669af7", + "effects": ["7b2465eedefe", "80d38ca65a5d", "85f150b2df81", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-threads.outer-refused-no-message:thread-settled", + "observation": { + "sender": ["cf092130ba77", "1689d9f91f40"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a" + }, + "state": "e5dc2384d2f9", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "85f150b2df81", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "ef2a66cf57a7", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-threads.outer-refused-no-message:review-reply-settled", + "observation": { + "sender": ["cf092130ba77", "1689d9f91f40", "f674d050fe62"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a" + }, + "state": "3113ec0eb967", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "85f150b2df81", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "ef2a66cf57a7", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "0e2253940af4", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-threads.outer-refused-no-message:issue-reply-settled", + "observation": { + "sender": ["cf092130ba77", "1689d9f91f40", "f674d050fe62", "df5e09a21420"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e", "e3ad9b260dec"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a", + "issue-reply-3": "eb79a9b3682a" + }, + "state": "d5c97305d438", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "85f150b2df81", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "ef2a66cf57a7", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "0e2253940af4", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "8bbb5efeadaf", + "e12f71818831", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-threads.method-not-found:delete-comment-settled", + "observation": { + "sender": ["03b995b7d1e5"], + "payloads": ["d7467bca27a7"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a" + }, + "state": "92b802be86b7", + "effects": ["7b2465eedefe", "80d38ca65a5d", "152580ec9e5a", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-threads.method-not-found:thread-settled", + "observation": { + "sender": ["03b995b7d1e5", "1689d9f91f40"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a" + }, + "state": "e5dc2384d2f9", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "152580ec9e5a", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "ef2a66cf57a7", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-threads.method-not-found:review-reply-settled", + "observation": { + "sender": ["03b995b7d1e5", "1689d9f91f40", "f674d050fe62"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a" + }, + "state": "3113ec0eb967", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "152580ec9e5a", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "ef2a66cf57a7", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "0e2253940af4", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-threads.method-not-found:issue-reply-settled", + "observation": { + "sender": ["03b995b7d1e5", "1689d9f91f40", "f674d050fe62", "df5e09a21420"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e", "e3ad9b260dec"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a", + "issue-reply-3": "eb79a9b3682a" + }, + "state": "d5c97305d438", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "152580ec9e5a", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "ef2a66cf57a7", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "0e2253940af4", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "8bbb5efeadaf", + "e12f71818831", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-threads.transport-rejection:delete-comment-settled", + "observation": { + "sender": ["b6b7b037e348"], + "payloads": ["d7467bca27a7"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a" + }, + "state": "d4042c0e5798", + "effects": ["7b2465eedefe", "80d38ca65a5d", "8237b3a567bf", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-threads.transport-rejection:thread-settled", + "observation": { + "sender": ["b6b7b037e348", "1689d9f91f40"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a" + }, + "state": "e5dc2384d2f9", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "8237b3a567bf", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "ef2a66cf57a7", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-threads.transport-rejection:review-reply-settled", + "observation": { + "sender": ["b6b7b037e348", "1689d9f91f40", "f674d050fe62"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a" + }, + "state": "3113ec0eb967", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "8237b3a567bf", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "ef2a66cf57a7", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "0e2253940af4", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-threads.transport-rejection:issue-reply-settled", + "observation": { + "sender": ["b6b7b037e348", "1689d9f91f40", "f674d050fe62", "df5e09a21420"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e", "e3ad9b260dec"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a", + "issue-reply-3": "eb79a9b3682a" + }, + "state": "d5c97305d438", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "8237b3a567bf", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "ef2a66cf57a7", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "0e2253940af4", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "8bbb5efeadaf", + "e12f71818831", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-threads.transport-rejection-no-message:delete-comment-settled", + "observation": { + "sender": ["dd3a7b9465eb"], + "payloads": ["d7467bca27a7"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a" + }, + "state": "b48fad669af7", + "effects": ["7b2465eedefe", "80d38ca65a5d", "85f150b2df81", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-threads.transport-rejection-no-message:thread-settled", + "observation": { + "sender": ["dd3a7b9465eb", "1689d9f91f40"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a" + }, + "state": "e5dc2384d2f9", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "85f150b2df81", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "ef2a66cf57a7", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-threads.transport-rejection-no-message:review-reply-settled", + "observation": { + "sender": ["dd3a7b9465eb", "1689d9f91f40", "f674d050fe62"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a" + }, + "state": "3113ec0eb967", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "85f150b2df81", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "ef2a66cf57a7", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "0e2253940af4", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-threads.transport-rejection-no-message:issue-reply-settled", + "observation": { + "sender": ["dd3a7b9465eb", "1689d9f91f40", "f674d050fe62", "df5e09a21420"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e", "e3ad9b260dec"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a", + "issue-reply-3": "eb79a9b3682a" + }, + "state": "d5c97305d438", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "85f150b2df81", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "ef2a66cf57a7", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "0e2253940af4", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "8bbb5efeadaf", + "e12f71818831", + "fa2e7b92e1d5" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-threads-github.resolvereviewthread-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-threads-github.resolvereviewthread-1.json new file mode 100644 index 00000000000..72feb83b1bf --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-threads-github.resolvereviewthread-1.json @@ -0,0 +1,2264 @@ +{ + "operation": "tasks.project-row-threads", + "family": "tasks.project-row-threads", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "55058202df36c8b951510215936e496ea88d3d71a6690090a13c52deb13e34e1", + "scenarioSha256": "0d8c240718b3911464a6fc486114d67cd6f60aa295cd0886ff755b77d5036014", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0063efc2d666": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "outer refused", + "mutating": false + }, + "02839f22d2db": { + "name": "projectMutating", + "value": false, + "sent": 1 + }, + "02df4d991595": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 1 + }, + "08c323b47aa3": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "095ff0ea9c3e": { + "name": "github.addPRReviewCommentReply#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.addPRReviewCommentReply\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":2,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"commentId\":501,\"body\":\"a reply\",\"threadId\":\"thread-1\",\"path\":\"src/index.ts\",\"line\":12}}" + }, + "0d3abde11044": { + "name": "projectRowDetailError", + "value": "Connection closed", + "sent": 2 + }, + "0e7a55514902": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "0f3697bbd111": { + "name": "projectMutating", + "value": true, + "sent": 2 + }, + "10db8439521b": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "14a659a554e8": { + "name": "projectRowDetailError", + "value": "Failed to resolve thread", + "sent": 2 + }, + "1689d9f91f40": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": true + } + } + }, + "1827a49caafc": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "347fa6adc9f3": { + "name": "projectRowDetailError", + "value": "", + "sent": 3 + }, + "466f8db9d238": { + "name": "projectRowDetailError", + "value": "outer refused", + "sent": 2 + }, + "46b4c26d709a": { + "name": "projectRowDetailError", + "value": "Unknown method", + "sent": 2 + }, + "486aee98d14d": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": true + }, + "4c677c52a54e": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 2 + }, + "5aaa87a861a5": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "674a78fb6dfb": { + "name": "projectRowDetailError", + "value": "transport failure", + "sent": 2 + }, + "6f4f9198e5ff": { + "name": "projectMutating", + "value": false, + "sent": 2 + }, + "73c3051352c2": { + "name": "projectMutating", + "value": false, + "sent": 3 + }, + "761c230291b6": { + "name": "projectMutating", + "value": true, + "sent": 3 + }, + "7b2465eedefe": { + "name": "projectMutating", + "value": true, + "sent": 0 + }, + "80d38ca65a5d": { + "name": "projectRowDetailError", + "value": "", + "sent": 0 + }, + "85f150b2df81": { + "name": "projectRowDetailError", + "value": "", + "sent": 1 + }, + "863f823011a7": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "874009380ba6": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": false + }, + "8a1d11133692": { + "name": "projectRowDetailError", + "value": "", + "sent": 2 + }, + "8bbb5efeadaf": { + "name": "itemReplyDrafts", + "value": {}, + "sent": 4 + }, + "a7e90307fc74": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 3 + }, + "b44e99aa86c4": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "Failed to resolve thread", + "mutating": false + }, + "b6b9452c2348": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": false + }, + "b94df8ff01a9": { + "name": "github.project.deleteIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.deleteIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "commentId": 501, + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "bf65c598102e": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "Unknown method", + "mutating": false + }, + "c18900f349d0": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "transport failure", + "mutating": false + }, + "c803a3716a6b": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "cf1e9d4fc0c3": { + "name": "itemReplyDrafts", + "value": { + "comment-2": "a reply" + }, + "sent": 3 + }, + "cf954aa5f6bf": { + "name": "github.resolveReviewThread#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.resolveReviewThread\",\"params\":{\"repo\":\"id:repo-1\",\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"threadId\":\"thread-1\",\"resolve\":true}}" + }, + "d1bb762720d5": { + "name": "projectMutating", + "value": true, + "sent": 1 + }, + "d515951be1e3": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 4 + }, + "d7467bca27a7": { + "name": "github.project.deleteIssueCommentBySlug#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.deleteIssueCommentBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\",\"commentId\":501}}" + }, + "df5e09a21420": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "@octocat a reply", + "number": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "comment": { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + }, + "ok": true + } + } + } + }, + "dff4138edccd": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "e3ad9b260dec": { + "name": "github.addIssueComment#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.addIssueComment\",\"params\":{\"repo\":\"id:repo-1\",\"number\":2,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"body\":\"@octocat a reply\",\"type\":\"pr\"}}" + }, + "e76d5520ec18": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": false + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f2b357865f42": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "f3fbcd58883a": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Connection closed", + "isRpcDeliveryUnknown": true + } + } + }, + "f674d050fe62": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "a reply", + "commentId": 501, + "line": 12, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "comment": { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + "ok": true + } + } + } + }, + "f703a71aa233": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "fa2e7b92e1d5": { + "name": "projectMutating", + "value": false, + "sent": 4 + } + }, + "recording": { + "scenario": "matrix-tasks.project-row-threads-github.resolvereviewthread-1", + "checkpoints": [ + { + "id": "tk-project-row-threads.prelude:delete-comment-settled", + "observation": { + "sender": ["b94df8ff01a9"], + "payloads": ["d7467bca27a7"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a" + }, + "state": "b6b9452c2348", + "effects": ["7b2465eedefe", "80d38ca65a5d", "02df4d991595", "02839f22d2db"] + } + }, + { + "id": "tk-project-row-threads.prelude:cleanup", + "observation": { + "sender": ["b94df8ff01a9", "f3fbcd58883a"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a" + }, + "state": "486aee98d14d", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "0d3abde11044", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-threads.normal:thread-settled", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a" + }, + "state": "b6b9452c2348", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-threads.normal:review-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40", "f674d050fe62"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a" + }, + "state": "e76d5520ec18", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "a7e90307fc74", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-threads.normal:issue-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40", "f674d050fe62", "df5e09a21420"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e", "e3ad9b260dec"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a", + "issue-reply-3": "eb79a9b3682a" + }, + "state": "874009380ba6", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "a7e90307fc74", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "8bbb5efeadaf", + "d515951be1e3", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-threads.result-absent:thread-settled", + "observation": { + "sender": ["b94df8ff01a9", "863f823011a7"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a" + }, + "state": "b44e99aa86c4", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "14a659a554e8", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-threads.result-absent:review-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "863f823011a7", "f674d050fe62"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a" + }, + "state": "e76d5520ec18", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "14a659a554e8", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "a7e90307fc74", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-threads.result-absent:issue-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "863f823011a7", "f674d050fe62", "df5e09a21420"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e", "e3ad9b260dec"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a", + "issue-reply-3": "eb79a9b3682a" + }, + "state": "874009380ba6", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "14a659a554e8", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "a7e90307fc74", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "8bbb5efeadaf", + "d515951be1e3", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-threads.result-null:thread-settled", + "observation": { + "sender": ["b94df8ff01a9", "08c323b47aa3"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a" + }, + "state": "b44e99aa86c4", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "14a659a554e8", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-threads.result-null:review-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "08c323b47aa3", "f674d050fe62"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a" + }, + "state": "e76d5520ec18", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "14a659a554e8", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "a7e90307fc74", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-threads.result-null:issue-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "08c323b47aa3", "f674d050fe62", "df5e09a21420"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e", "e3ad9b260dec"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a", + "issue-reply-3": "eb79a9b3682a" + }, + "state": "874009380ba6", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "14a659a554e8", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "a7e90307fc74", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "8bbb5efeadaf", + "d515951be1e3", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-threads.inner-ok-missing:thread-settled", + "observation": { + "sender": ["b94df8ff01a9", "c803a3716a6b"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a" + }, + "state": "b44e99aa86c4", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "14a659a554e8", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-threads.inner-ok-missing:review-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "c803a3716a6b", "f674d050fe62"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a" + }, + "state": "e76d5520ec18", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "14a659a554e8", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "a7e90307fc74", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-threads.inner-ok-missing:issue-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "c803a3716a6b", "f674d050fe62", "df5e09a21420"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e", "e3ad9b260dec"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a", + "issue-reply-3": "eb79a9b3682a" + }, + "state": "874009380ba6", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "14a659a554e8", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "a7e90307fc74", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "8bbb5efeadaf", + "d515951be1e3", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-threads.inner-false-string-error:thread-settled", + "observation": { + "sender": ["b94df8ff01a9", "0e7a55514902"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a" + }, + "state": "b44e99aa86c4", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "14a659a554e8", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-threads.inner-false-string-error:review-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "0e7a55514902", "f674d050fe62"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a" + }, + "state": "e76d5520ec18", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "14a659a554e8", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "a7e90307fc74", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-threads.inner-false-string-error:issue-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "0e7a55514902", "f674d050fe62", "df5e09a21420"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e", "e3ad9b260dec"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a", + "issue-reply-3": "eb79a9b3682a" + }, + "state": "874009380ba6", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "14a659a554e8", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "a7e90307fc74", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "8bbb5efeadaf", + "d515951be1e3", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-threads.inner-false-object-error:thread-settled", + "observation": { + "sender": ["b94df8ff01a9", "5aaa87a861a5"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a" + }, + "state": "b44e99aa86c4", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "14a659a554e8", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-threads.inner-false-object-error:review-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "5aaa87a861a5", "f674d050fe62"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a" + }, + "state": "e76d5520ec18", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "14a659a554e8", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "a7e90307fc74", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-threads.inner-false-object-error:issue-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "5aaa87a861a5", "f674d050fe62", "df5e09a21420"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e", "e3ad9b260dec"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a", + "issue-reply-3": "eb79a9b3682a" + }, + "state": "874009380ba6", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "14a659a554e8", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "a7e90307fc74", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "8bbb5efeadaf", + "d515951be1e3", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-threads.outer-refused:thread-settled", + "observation": { + "sender": ["b94df8ff01a9", "10db8439521b"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a" + }, + "state": "0063efc2d666", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "466f8db9d238", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-threads.outer-refused:review-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "10db8439521b", "f674d050fe62"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a" + }, + "state": "e76d5520ec18", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "466f8db9d238", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "a7e90307fc74", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-threads.outer-refused:issue-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "10db8439521b", "f674d050fe62", "df5e09a21420"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e", "e3ad9b260dec"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a", + "issue-reply-3": "eb79a9b3682a" + }, + "state": "874009380ba6", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "466f8db9d238", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "a7e90307fc74", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "8bbb5efeadaf", + "d515951be1e3", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-threads.outer-refused-no-message:thread-settled", + "observation": { + "sender": ["b94df8ff01a9", "f703a71aa233"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a" + }, + "state": "b6b9452c2348", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "8a1d11133692", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-threads.outer-refused-no-message:review-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "f703a71aa233", "f674d050fe62"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a" + }, + "state": "e76d5520ec18", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "8a1d11133692", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "a7e90307fc74", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-threads.outer-refused-no-message:issue-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "f703a71aa233", "f674d050fe62", "df5e09a21420"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e", "e3ad9b260dec"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a", + "issue-reply-3": "eb79a9b3682a" + }, + "state": "874009380ba6", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "8a1d11133692", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "a7e90307fc74", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "8bbb5efeadaf", + "d515951be1e3", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-threads.method-not-found:thread-settled", + "observation": { + "sender": ["b94df8ff01a9", "dff4138edccd"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a" + }, + "state": "bf65c598102e", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "46b4c26d709a", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-threads.method-not-found:review-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "dff4138edccd", "f674d050fe62"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a" + }, + "state": "e76d5520ec18", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "46b4c26d709a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "a7e90307fc74", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-threads.method-not-found:issue-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "dff4138edccd", "f674d050fe62", "df5e09a21420"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e", "e3ad9b260dec"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a", + "issue-reply-3": "eb79a9b3682a" + }, + "state": "874009380ba6", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "46b4c26d709a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "a7e90307fc74", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "8bbb5efeadaf", + "d515951be1e3", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-threads.transport-rejection:thread-settled", + "observation": { + "sender": ["b94df8ff01a9", "1827a49caafc"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a" + }, + "state": "c18900f349d0", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "674a78fb6dfb", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-threads.transport-rejection:review-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "1827a49caafc", "f674d050fe62"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a" + }, + "state": "e76d5520ec18", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "674a78fb6dfb", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "a7e90307fc74", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-threads.transport-rejection:issue-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "1827a49caafc", "f674d050fe62", "df5e09a21420"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e", "e3ad9b260dec"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a", + "issue-reply-3": "eb79a9b3682a" + }, + "state": "874009380ba6", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "674a78fb6dfb", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "a7e90307fc74", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "8bbb5efeadaf", + "d515951be1e3", + "fa2e7b92e1d5" + ] + } + }, + { + "id": "tk-project-row-threads.transport-rejection-no-message:thread-settled", + "observation": { + "sender": ["b94df8ff01a9", "f2b357865f42"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a" + }, + "state": "b6b9452c2348", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "8a1d11133692", + "6f4f9198e5ff" + ] + } + }, + { + "id": "tk-project-row-threads.transport-rejection-no-message:review-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "f2b357865f42", "f674d050fe62"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a" + }, + "state": "e76d5520ec18", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "8a1d11133692", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "a7e90307fc74", + "73c3051352c2" + ] + } + }, + { + "id": "tk-project-row-threads.transport-rejection-no-message:issue-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "f2b357865f42", "f674d050fe62", "df5e09a21420"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e", "e3ad9b260dec"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a", + "issue-reply-3": "eb79a9b3682a" + }, + "state": "874009380ba6", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "8a1d11133692", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "a7e90307fc74", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "8bbb5efeadaf", + "d515951be1e3", + "fa2e7b92e1d5" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.provider-load-github.countworkitems-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.provider-load-github.countworkitems-1.json new file mode 100644 index 00000000000..e96f43303c0 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.provider-load-github.countworkitems-1.json @@ -0,0 +1,1130 @@ +{ + "operation": "tasks.provider-load", + "family": "tasks.provider-load", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "07a15e900363faa25bc364f5bc1c330f96798abfeaed35210428c2ac558586b8", + "scenarioSha256": "e9bdad78cf60e3dd931eab8810d011c6e0066f9a336a206f8f9ca62621b21fee", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "088609fba40a": { + "name": "github.countWorkItems#1", + "args": [ + { + "name": "method", + "value": "github.countWorkItems" + }, + { + "name": "params", + "value": { + "query": "is:issue bug", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-5", + "ok": false + } + } + }, + "0b57eb25bc46": { + "name": "github.countWorkItems#1", + "args": [ + { + "name": "method", + "value": "github.countWorkItems" + }, + { + "name": "params", + "value": { + "query": "is:issue bug", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "0f9c77bd54ee": { + "name": "github.countWorkItems#1", + "args": [ + { + "name": "method", + "value": "github.countWorkItems" + }, + { + "name": "params", + "value": { + "query": "is:issue bug", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": 4 + } + } + }, + "0faba633b165": { + "name": "selectedLinearWorkspaceId", + "value": "linear-workspace", + "sent": 1 + }, + "1c97db0775ed": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": 0 + }, + "3c8fb5a2065b": { + "name": "github.countWorkItems#1", + "args": [ + { + "name": "method", + "value": "github.countWorkItems" + }, + { + "name": "params", + "value": { + "query": "is:issue bug", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "413e4f429e18": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": 4 + }, + "49c5fd241816": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "failedCount": 0, + "items": [ + { + "key": "github:repo-1:issue:9", + "provider": "github", + "source": { + "author": { + "$rpc": "null" + }, + "id": "issue:9", + "labels": [], + "number": 9, + "repoId": "repo-1", + "repoName": "Repo", + "state": "open", + "title": "An issue", + "type": "issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "" + }, + "status": "Open", + "subtitle": "Repo #9", + "title": "An issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + } + ], + "sourceErrors": [], + "sourceFallbacks": [], + "sourcesByRepoId": { + "repo-1": { + "issues": "upstream" + } + } + } + }, + "552cce3107ea": { + "name": "linearWorkspaces", + "value": [ + { + "id": "linear-workspace", + "name": "Workspace" + } + ], + "sent": 1 + }, + "5de521b4f498": { + "name": "github.countWorkItems#1", + "args": [ + { + "name": "method", + "value": "github.countWorkItems" + }, + { + "name": "params", + "value": { + "query": "is:issue bug", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "67b5ebc67646": { + "connected": true, + "selectedTeams": ["team-1"], + "teams": [ + { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + } + ], + "workspaceId": "linear-workspace", + "workspaces": [ + { + "id": "linear-workspace", + "name": "Workspace" + } + ] + }, + "69d74e72326c": { + "name": "linearConnected", + "value": true, + "sent": 1 + }, + "739fba9f78c5": { + "name": "github.countWorkItems#1", + "args": [ + { + "name": "method", + "value": "github.countWorkItems" + }, + { + "name": "params", + "value": { + "query": "is:issue bug", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-5", + "ok": false + } + } + }, + "775d7e2fb99d": { + "name": "linear.status#1", + "args": [ + { + "name": "method", + "value": "linear.status" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "connected": true, + "selectedWorkspaceId": "linear-workspace", + "workspaces": [ + { + "id": "linear-workspace", + "name": "Workspace" + } + ] + } + } + } + }, + "7dabd82642ac": { + "name": "github.listWorkItems#1", + "args": [ + { + "name": "method", + "value": "github.listWorkItems" + }, + { + "name": "params", + "value": { + "before": { + "$rpc": "undefined" + }, + "limit": 36, + "query": "is:issue bug", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "items": [ + { + "author": { + "$rpc": "null" + }, + "id": "issue:9", + "labels": [], + "number": 9, + "state": "open", + "title": "An issue", + "type": "issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "" + } + ], + "sources": { + "issues": "upstream" + } + } + } + } + }, + "8e1216596b9c": { + "name": "linearTeams", + "value": [ + { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + } + ], + "sent": 2 + }, + "a6bfe3e8ec00": { + "name": "settings.update#1", + "args": [ + { + "name": "method", + "value": "settings.update" + }, + { + "name": "params", + "value": { + "defaultLinearTeamSelection": ["team-1"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "a9c001a4d8d2": { + "name": "linear.listTeams#1", + "args": [ + { + "name": "method", + "value": "linear.listTeams" + }, + { + "name": "params", + "value": { + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": [ + { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + } + ] + } + } + }, + "b13993ed8b00": { + "name": "settings.update#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"settings.update\",\"params\":{\"defaultLinearTeamSelection\":[\"team-1\"]}}" + }, + "bed15481b61b": { + "name": "github.countWorkItems#1", + "args": [ + { + "name": "method", + "value": "github.countWorkItems" + }, + { + "name": "params", + "value": { + "query": "is:issue bug", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "bfba52c22ce2": { + "name": "linear.listTeams#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.listTeams\",\"params\":{\"workspaceId\":\"linear-workspace\"}}" + }, + "c1c057249f99": { + "name": "selectedLinearTeamIds", + "value": ["team-1"], + "sent": 2 + }, + "c1e3ae5492e1": { + "name": "github.countWorkItems#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.countWorkItems\",\"params\":{\"repo\":\"id:repo-1\",\"query\":\"is:issue bug\"}}" + }, + "c413b74dec17": { + "name": "github.countWorkItems#1", + "args": [ + { + "name": "method", + "value": "github.countWorkItems" + }, + { + "name": "params", + "value": { + "query": "is:issue bug", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true + } + } + }, + "c604751f65d7": { + "name": "github.countWorkItems#1", + "args": [ + { + "name": "method", + "value": "github.countWorkItems" + }, + { + "name": "params", + "value": { + "query": "is:issue bug", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "cf53e1835dc8": { + "name": "github.listWorkItems#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.listWorkItems\",\"params\":{\"repo\":\"id:repo-1\",\"limit\":36,\"query\":\"is:issue bug\"}}" + }, + "d5fffd95acc6": { + "name": "github.countWorkItems#1", + "args": [ + { + "name": "method", + "value": "github.countWorkItems" + }, + { + "name": "params", + "value": { + "query": "is:issue bug", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "e19509ebde55": { + "name": "linear.status#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "fc9eba64cfa4": { + "name": "github.countWorkItems#1", + "args": [ + { + "name": "method", + "value": "github.countWorkItems" + }, + { + "name": "params", + "value": { + "query": "is:issue bug", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-5", + "ok": false + } + } + } + }, + "recording": { + "scenario": "matrix-tasks.provider-load-github.countworkitems-1", + "checkpoints": [ + { + "id": "tk-provider-load.prelude:linear-context-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2"], + "payloads": ["e19509ebde55", "bfba52c22ce2"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.prelude:persist-teams-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2", "a6bfe3e8ec00"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.prelude:github-page-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2", "a6bfe3e8ec00", "7dabd82642ac"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00", "cf53e1835dc8"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.normal:github-count-settled", + "observation": { + "sender": [ + "775d7e2fb99d", + "a9c001a4d8d2", + "a6bfe3e8ec00", + "7dabd82642ac", + "0f9c77bd54ee" + ], + "payloads": [ + "e19509ebde55", + "bfba52c22ce2", + "b13993ed8b00", + "cf53e1835dc8", + "c1e3ae5492e1" + ], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816", + "github-count-3": "413e4f429e18" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.result-absent:github-count-settled", + "observation": { + "sender": [ + "775d7e2fb99d", + "a9c001a4d8d2", + "a6bfe3e8ec00", + "7dabd82642ac", + "c413b74dec17" + ], + "payloads": [ + "e19509ebde55", + "bfba52c22ce2", + "b13993ed8b00", + "cf53e1835dc8", + "c1e3ae5492e1" + ], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816", + "github-count-3": "1c97db0775ed" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.result-null:github-count-settled", + "observation": { + "sender": [ + "775d7e2fb99d", + "a9c001a4d8d2", + "a6bfe3e8ec00", + "7dabd82642ac", + "d5fffd95acc6" + ], + "payloads": [ + "e19509ebde55", + "bfba52c22ce2", + "b13993ed8b00", + "cf53e1835dc8", + "c1e3ae5492e1" + ], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816", + "github-count-3": "1c97db0775ed" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.inner-ok-missing:github-count-settled", + "observation": { + "sender": [ + "775d7e2fb99d", + "a9c001a4d8d2", + "a6bfe3e8ec00", + "7dabd82642ac", + "5de521b4f498" + ], + "payloads": [ + "e19509ebde55", + "bfba52c22ce2", + "b13993ed8b00", + "cf53e1835dc8", + "c1e3ae5492e1" + ], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816", + "github-count-3": "1c97db0775ed" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.inner-false-string-error:github-count-settled", + "observation": { + "sender": [ + "775d7e2fb99d", + "a9c001a4d8d2", + "a6bfe3e8ec00", + "7dabd82642ac", + "0b57eb25bc46" + ], + "payloads": [ + "e19509ebde55", + "bfba52c22ce2", + "b13993ed8b00", + "cf53e1835dc8", + "c1e3ae5492e1" + ], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816", + "github-count-3": "1c97db0775ed" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.inner-false-object-error:github-count-settled", + "observation": { + "sender": [ + "775d7e2fb99d", + "a9c001a4d8d2", + "a6bfe3e8ec00", + "7dabd82642ac", + "3c8fb5a2065b" + ], + "payloads": [ + "e19509ebde55", + "bfba52c22ce2", + "b13993ed8b00", + "cf53e1835dc8", + "c1e3ae5492e1" + ], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816", + "github-count-3": "1c97db0775ed" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.outer-refused:github-count-settled", + "observation": { + "sender": [ + "775d7e2fb99d", + "a9c001a4d8d2", + "a6bfe3e8ec00", + "7dabd82642ac", + "088609fba40a" + ], + "payloads": [ + "e19509ebde55", + "bfba52c22ce2", + "b13993ed8b00", + "cf53e1835dc8", + "c1e3ae5492e1" + ], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816", + "github-count-3": "1c97db0775ed" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.outer-refused-no-message:github-count-settled", + "observation": { + "sender": [ + "775d7e2fb99d", + "a9c001a4d8d2", + "a6bfe3e8ec00", + "7dabd82642ac", + "739fba9f78c5" + ], + "payloads": [ + "e19509ebde55", + "bfba52c22ce2", + "b13993ed8b00", + "cf53e1835dc8", + "c1e3ae5492e1" + ], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816", + "github-count-3": "1c97db0775ed" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.method-not-found:github-count-settled", + "observation": { + "sender": [ + "775d7e2fb99d", + "a9c001a4d8d2", + "a6bfe3e8ec00", + "7dabd82642ac", + "fc9eba64cfa4" + ], + "payloads": [ + "e19509ebde55", + "bfba52c22ce2", + "b13993ed8b00", + "cf53e1835dc8", + "c1e3ae5492e1" + ], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816", + "github-count-3": "1c97db0775ed" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.transport-rejection:github-count-settled", + "observation": { + "sender": [ + "775d7e2fb99d", + "a9c001a4d8d2", + "a6bfe3e8ec00", + "7dabd82642ac", + "bed15481b61b" + ], + "payloads": [ + "e19509ebde55", + "bfba52c22ce2", + "b13993ed8b00", + "cf53e1835dc8", + "c1e3ae5492e1" + ], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816", + "github-count-3": "1c97db0775ed" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.transport-rejection-no-message:github-count-settled", + "observation": { + "sender": [ + "775d7e2fb99d", + "a9c001a4d8d2", + "a6bfe3e8ec00", + "7dabd82642ac", + "c604751f65d7" + ], + "payloads": [ + "e19509ebde55", + "bfba52c22ce2", + "b13993ed8b00", + "cf53e1835dc8", + "c1e3ae5492e1" + ], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816", + "github-count-3": "1c97db0775ed" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.provider-load-github.listworkitems-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.provider-load-github.listworkitems-1.json new file mode 100644 index 00000000000..e70cd9cf5ee --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.provider-load-github.listworkitems-1.json @@ -0,0 +1,1398 @@ +{ + "operation": "tasks.provider-load", + "family": "tasks.provider-load", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "07a15e900363faa25bc364f5bc1c330f96798abfeaed35210428c2ac558586b8", + "scenarioSha256": "a5704c6849de9a45564c8738076ec8c0307754a5acc2c039880fe436771e68b3", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "01d2e29deceb": { + "name": "github.listWorkItems#1", + "args": [ + { + "name": "method", + "value": "github.listWorkItems" + }, + { + "name": "params", + "value": { + "before": { + "$rpc": "undefined" + }, + "limit": 36, + "query": "is:issue bug", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-4", + "ok": false + } + } + }, + "0439d2f2ef88": { + "name": "github.listWorkItems#1", + "args": [ + { + "name": "method", + "value": "github.listWorkItems" + }, + { + "name": "params", + "value": { + "before": { + "$rpc": "undefined" + }, + "limit": 36, + "query": "is:issue bug", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "0f9c77bd54ee": { + "name": "github.countWorkItems#1", + "args": [ + { + "name": "method", + "value": "github.countWorkItems" + }, + { + "name": "params", + "value": { + "query": "is:issue bug", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": 4 + } + } + }, + "0faba633b165": { + "name": "selectedLinearWorkspaceId", + "value": "linear-workspace", + "sent": 1 + }, + "2aa7f595f31c": { + "name": "github.listWorkItems#1", + "args": [ + { + "name": "method", + "value": "github.listWorkItems" + }, + { + "name": "params", + "value": { + "before": { + "$rpc": "undefined" + }, + "limit": 36, + "query": "is:issue bug", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-4", + "ok": false + } + } + }, + "3166b5c6b604": { + "name": "github.listWorkItems#1", + "args": [ + { + "name": "method", + "value": "github.listWorkItems" + }, + { + "name": "params", + "value": { + "before": { + "$rpc": "undefined" + }, + "limit": 36, + "query": "is:issue bug", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true + } + } + }, + "413e4f429e18": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": 4 + }, + "49c5fd241816": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "failedCount": 0, + "items": [ + { + "key": "github:repo-1:issue:9", + "provider": "github", + "source": { + "author": { + "$rpc": "null" + }, + "id": "issue:9", + "labels": [], + "number": 9, + "repoId": "repo-1", + "repoName": "Repo", + "state": "open", + "title": "An issue", + "type": "issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "" + }, + "status": "Open", + "subtitle": "Repo #9", + "title": "An issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + } + ], + "sourceErrors": [], + "sourceFallbacks": [], + "sourcesByRepoId": { + "repo-1": { + "issues": "upstream" + } + } + } + }, + "552cce3107ea": { + "name": "linearWorkspaces", + "value": [ + { + "id": "linear-workspace", + "name": "Workspace" + } + ], + "sent": 1 + }, + "66292427efc0": { + "name": "github.listWorkItems#1", + "args": [ + { + "name": "method", + "value": "github.listWorkItems" + }, + { + "name": "params", + "value": { + "before": { + "$rpc": "undefined" + }, + "limit": 36, + "query": "is:issue bug", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "67b5ebc67646": { + "connected": true, + "selectedTeams": ["team-1"], + "teams": [ + { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + } + ], + "workspaceId": "linear-workspace", + "workspaces": [ + { + "id": "linear-workspace", + "name": "Workspace" + } + ] + }, + "69d74e72326c": { + "name": "linearConnected", + "value": true, + "sent": 1 + }, + "737f20de5cc0": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "failedCount": 1, + "items": [], + "sourceErrors": [], + "sourceFallbacks": [], + "sourcesByRepoId": {} + } + }, + "775d7e2fb99d": { + "name": "linear.status#1", + "args": [ + { + "name": "method", + "value": "linear.status" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "connected": true, + "selectedWorkspaceId": "linear-workspace", + "workspaces": [ + { + "id": "linear-workspace", + "name": "Workspace" + } + ] + } + } + } + }, + "78fb47c5b7aa": { + "name": "github.listWorkItems#1", + "args": [ + { + "name": "method", + "value": "github.listWorkItems" + }, + { + "name": "params", + "value": { + "before": { + "$rpc": "undefined" + }, + "limit": 36, + "query": "is:issue bug", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "7dabd82642ac": { + "name": "github.listWorkItems#1", + "args": [ + { + "name": "method", + "value": "github.listWorkItems" + }, + { + "name": "params", + "value": { + "before": { + "$rpc": "undefined" + }, + "limit": 36, + "query": "is:issue bug", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "items": [ + { + "author": { + "$rpc": "null" + }, + "id": "issue:9", + "labels": [], + "number": 9, + "state": "open", + "title": "An issue", + "type": "issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "" + } + ], + "sources": { + "issues": "upstream" + } + } + } + } + }, + "8e1216596b9c": { + "name": "linearTeams", + "value": [ + { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + } + ], + "sent": 2 + }, + "a6bfe3e8ec00": { + "name": "settings.update#1", + "args": [ + { + "name": "method", + "value": "settings.update" + }, + { + "name": "params", + "value": { + "defaultLinearTeamSelection": ["team-1"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "a9c001a4d8d2": { + "name": "linear.listTeams#1", + "args": [ + { + "name": "method", + "value": "linear.listTeams" + }, + { + "name": "params", + "value": { + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": [ + { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + } + ] + } + } + }, + "b13993ed8b00": { + "name": "settings.update#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"settings.update\",\"params\":{\"defaultLinearTeamSelection\":[\"team-1\"]}}" + }, + "bec611c1195e": { + "name": "github.listWorkItems#1", + "args": [ + { + "name": "method", + "value": "github.listWorkItems" + }, + { + "name": "params", + "value": { + "before": { + "$rpc": "undefined" + }, + "limit": 36, + "query": "is:issue bug", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "bfba52c22ce2": { + "name": "linear.listTeams#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.listTeams\",\"params\":{\"workspaceId\":\"linear-workspace\"}}" + }, + "c1c057249f99": { + "name": "selectedLinearTeamIds", + "value": ["team-1"], + "sent": 2 + }, + "c1e3ae5492e1": { + "name": "github.countWorkItems#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.countWorkItems\",\"params\":{\"repo\":\"id:repo-1\",\"query\":\"is:issue bug\"}}" + }, + "caa3cbb99bcf": { + "name": "github.listWorkItems#1", + "args": [ + { + "name": "method", + "value": "github.listWorkItems" + }, + { + "name": "params", + "value": { + "before": { + "$rpc": "undefined" + }, + "limit": 36, + "query": "is:issue bug", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "cf53e1835dc8": { + "name": "github.listWorkItems#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.listWorkItems\",\"params\":{\"repo\":\"id:repo-1\",\"limit\":36,\"query\":\"is:issue bug\"}}" + }, + "d377cdb2c1c9": { + "name": "github.listWorkItems#1", + "args": [ + { + "name": "method", + "value": "github.listWorkItems" + }, + { + "name": "params", + "value": { + "before": { + "$rpc": "undefined" + }, + "limit": 36, + "query": "is:issue bug", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-4", + "ok": false + } + } + }, + "e19509ebde55": { + "name": "linear.status#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" + }, + "e4b031c4e9d5": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "failedCount": 0, + "items": [], + "sourceErrors": [], + "sourceFallbacks": [], + "sourcesByRepoId": {} + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f899cea01df9": { + "name": "github.listWorkItems#1", + "args": [ + { + "name": "method", + "value": "github.listWorkItems" + }, + { + "name": "params", + "value": { + "before": { + "$rpc": "undefined" + }, + "limit": 36, + "query": "is:issue bug", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "error": "refused" + } + } + } + } + }, + "recording": { + "scenario": "matrix-tasks.provider-load-github.listworkitems-1", + "checkpoints": [ + { + "id": "tk-provider-load.prelude:linear-context-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2"], + "payloads": ["e19509ebde55", "bfba52c22ce2"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.prelude:persist-teams-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2", "a6bfe3e8ec00"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.normal:github-page-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2", "a6bfe3e8ec00", "7dabd82642ac"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00", "cf53e1835dc8"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.normal:github-count-settled", + "observation": { + "sender": [ + "775d7e2fb99d", + "a9c001a4d8d2", + "a6bfe3e8ec00", + "7dabd82642ac", + "0f9c77bd54ee" + ], + "payloads": [ + "e19509ebde55", + "bfba52c22ce2", + "b13993ed8b00", + "cf53e1835dc8", + "c1e3ae5492e1" + ], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816", + "github-count-3": "413e4f429e18" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.result-absent:github-page-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2", "a6bfe3e8ec00", "3166b5c6b604"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00", "cf53e1835dc8"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "737f20de5cc0" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.result-absent:github-count-settled", + "observation": { + "sender": [ + "775d7e2fb99d", + "a9c001a4d8d2", + "a6bfe3e8ec00", + "3166b5c6b604", + "0f9c77bd54ee" + ], + "payloads": [ + "e19509ebde55", + "bfba52c22ce2", + "b13993ed8b00", + "cf53e1835dc8", + "c1e3ae5492e1" + ], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "737f20de5cc0", + "github-count-3": "413e4f429e18" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.result-null:github-page-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2", "a6bfe3e8ec00", "78fb47c5b7aa"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00", "cf53e1835dc8"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "737f20de5cc0" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.result-null:github-count-settled", + "observation": { + "sender": [ + "775d7e2fb99d", + "a9c001a4d8d2", + "a6bfe3e8ec00", + "78fb47c5b7aa", + "0f9c77bd54ee" + ], + "payloads": [ + "e19509ebde55", + "bfba52c22ce2", + "b13993ed8b00", + "cf53e1835dc8", + "c1e3ae5492e1" + ], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "737f20de5cc0", + "github-count-3": "413e4f429e18" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.inner-ok-missing:github-page-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2", "a6bfe3e8ec00", "f899cea01df9"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00", "cf53e1835dc8"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "737f20de5cc0" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.inner-ok-missing:github-count-settled", + "observation": { + "sender": [ + "775d7e2fb99d", + "a9c001a4d8d2", + "a6bfe3e8ec00", + "f899cea01df9", + "0f9c77bd54ee" + ], + "payloads": [ + "e19509ebde55", + "bfba52c22ce2", + "b13993ed8b00", + "cf53e1835dc8", + "c1e3ae5492e1" + ], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "737f20de5cc0", + "github-count-3": "413e4f429e18" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.inner-false-string-error:github-page-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2", "a6bfe3e8ec00", "caa3cbb99bcf"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00", "cf53e1835dc8"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "737f20de5cc0" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.inner-false-string-error:github-count-settled", + "observation": { + "sender": [ + "775d7e2fb99d", + "a9c001a4d8d2", + "a6bfe3e8ec00", + "caa3cbb99bcf", + "0f9c77bd54ee" + ], + "payloads": [ + "e19509ebde55", + "bfba52c22ce2", + "b13993ed8b00", + "cf53e1835dc8", + "c1e3ae5492e1" + ], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "737f20de5cc0", + "github-count-3": "413e4f429e18" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.inner-false-object-error:github-page-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2", "a6bfe3e8ec00", "66292427efc0"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00", "cf53e1835dc8"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "737f20de5cc0" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.inner-false-object-error:github-count-settled", + "observation": { + "sender": [ + "775d7e2fb99d", + "a9c001a4d8d2", + "a6bfe3e8ec00", + "66292427efc0", + "0f9c77bd54ee" + ], + "payloads": [ + "e19509ebde55", + "bfba52c22ce2", + "b13993ed8b00", + "cf53e1835dc8", + "c1e3ae5492e1" + ], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "737f20de5cc0", + "github-count-3": "413e4f429e18" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.outer-refused:github-page-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2", "a6bfe3e8ec00", "01d2e29deceb"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00", "cf53e1835dc8"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "737f20de5cc0" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.outer-refused:github-count-settled", + "observation": { + "sender": [ + "775d7e2fb99d", + "a9c001a4d8d2", + "a6bfe3e8ec00", + "01d2e29deceb", + "0f9c77bd54ee" + ], + "payloads": [ + "e19509ebde55", + "bfba52c22ce2", + "b13993ed8b00", + "cf53e1835dc8", + "c1e3ae5492e1" + ], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "737f20de5cc0", + "github-count-3": "413e4f429e18" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.outer-refused-no-message:github-page-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2", "a6bfe3e8ec00", "d377cdb2c1c9"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00", "cf53e1835dc8"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "e4b031c4e9d5" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.outer-refused-no-message:github-count-settled", + "observation": { + "sender": [ + "775d7e2fb99d", + "a9c001a4d8d2", + "a6bfe3e8ec00", + "d377cdb2c1c9", + "0f9c77bd54ee" + ], + "payloads": [ + "e19509ebde55", + "bfba52c22ce2", + "b13993ed8b00", + "cf53e1835dc8", + "c1e3ae5492e1" + ], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "e4b031c4e9d5", + "github-count-3": "413e4f429e18" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.method-not-found:github-page-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2", "a6bfe3e8ec00", "2aa7f595f31c"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00", "cf53e1835dc8"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "737f20de5cc0" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.method-not-found:github-count-settled", + "observation": { + "sender": [ + "775d7e2fb99d", + "a9c001a4d8d2", + "a6bfe3e8ec00", + "2aa7f595f31c", + "0f9c77bd54ee" + ], + "payloads": [ + "e19509ebde55", + "bfba52c22ce2", + "b13993ed8b00", + "cf53e1835dc8", + "c1e3ae5492e1" + ], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "737f20de5cc0", + "github-count-3": "413e4f429e18" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.transport-rejection:github-page-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2", "a6bfe3e8ec00", "bec611c1195e"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00", "cf53e1835dc8"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "737f20de5cc0" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.transport-rejection:github-count-settled", + "observation": { + "sender": [ + "775d7e2fb99d", + "a9c001a4d8d2", + "a6bfe3e8ec00", + "bec611c1195e", + "0f9c77bd54ee" + ], + "payloads": [ + "e19509ebde55", + "bfba52c22ce2", + "b13993ed8b00", + "cf53e1835dc8", + "c1e3ae5492e1" + ], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "737f20de5cc0", + "github-count-3": "413e4f429e18" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.transport-rejection-no-message:github-page-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2", "a6bfe3e8ec00", "0439d2f2ef88"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00", "cf53e1835dc8"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "e4b031c4e9d5" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.transport-rejection-no-message:github-count-settled", + "observation": { + "sender": [ + "775d7e2fb99d", + "a9c001a4d8d2", + "a6bfe3e8ec00", + "0439d2f2ef88", + "0f9c77bd54ee" + ], + "payloads": [ + "e19509ebde55", + "bfba52c22ce2", + "b13993ed8b00", + "cf53e1835dc8", + "c1e3ae5492e1" + ], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "e4b031c4e9d5", + "github-count-3": "413e4f429e18" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.provider-load-linear.listteams-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.provider-load-linear.listteams-1.json new file mode 100644 index 00000000000..4d7d4d708ce --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.provider-load-linear.listteams-1.json @@ -0,0 +1,1679 @@ +{ + "operation": "tasks.provider-load", + "family": "tasks.provider-load", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "07a15e900363faa25bc364f5bc1c330f96798abfeaed35210428c2ac558586b8", + "scenarioSha256": "e518040cbd40e3cc8c22e0b70b6de1087386936f75ed2f65f6e7b4fcdc344ba2", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0a6ad30d39df": { + "connected": true, + "selectedTeams": [], + "teams": { + "error": "refused" + }, + "workspaceId": "linear-workspace", + "workspaces": [ + { + "id": "linear-workspace", + "name": "Workspace" + } + ] + }, + "0bf4b379341b": { + "name": "linear.listTeams#1", + "args": [ + { + "name": "method", + "value": "linear.listTeams" + }, + { + "name": "params", + "value": { + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "0f9c77bd54ee": { + "name": "github.countWorkItems#1", + "args": [ + { + "name": "method", + "value": "github.countWorkItems" + }, + { + "name": "params", + "value": { + "query": "is:issue bug", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": 4 + } + } + }, + "0faba633b165": { + "name": "selectedLinearWorkspaceId", + "value": "linear-workspace", + "sent": 1 + }, + "1a92facf7fe2": { + "name": "linear.listTeams#1", + "args": [ + { + "name": "method", + "value": "linear.listTeams" + }, + { + "name": "params", + "value": { + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "3195d92ed493": { + "name": "linear.listTeams#1", + "args": [ + { + "name": "method", + "value": "linear.listTeams" + }, + { + "name": "params", + "value": { + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "32a7c0ae7918": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "outer refused", + "isRpcDeliveryUnknown": false + } + }, + "335785e8af30": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "TypeError", + "message": "Cannot read properties of null (reading 'map')", + "isRpcDeliveryUnknown": false + } + }, + "4079678c7804": { + "connected": true, + "selectedTeams": [], + "teams": { + "error": { + "message": "inner refused" + }, + "ok": false + }, + "workspaceId": "linear-workspace", + "workspaces": [ + { + "id": "linear-workspace", + "name": "Workspace" + } + ] + }, + "413e4f429e18": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": 4 + }, + "47dd57bc8f58": { + "name": "linearTeams", + "value": { + "error": { + "message": "inner refused" + }, + "ok": false + }, + "sent": 2 + }, + "49c5fd241816": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "failedCount": 0, + "items": [ + { + "key": "github:repo-1:issue:9", + "provider": "github", + "source": { + "author": { + "$rpc": "null" + }, + "id": "issue:9", + "labels": [], + "number": 9, + "repoId": "repo-1", + "repoName": "Repo", + "state": "open", + "title": "An issue", + "type": "issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "" + }, + "status": "Open", + "subtitle": "Repo #9", + "title": "An issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + } + ], + "sourceErrors": [], + "sourceFallbacks": [], + "sourcesByRepoId": { + "repo-1": { + "issues": "upstream" + } + } + } + }, + "5366d6506b21": { + "name": "linear.listTeams#1", + "args": [ + { + "name": "method", + "value": "linear.listTeams" + }, + { + "name": "params", + "value": { + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "53b5d5ee1dda": { + "name": "linear.listTeams#1", + "args": [ + { + "name": "method", + "value": "linear.listTeams" + }, + { + "name": "params", + "value": { + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "552cce3107ea": { + "name": "linearWorkspaces", + "value": [ + { + "id": "linear-workspace", + "name": "Workspace" + } + ], + "sent": 1 + }, + "56537bf8a7ad": { + "name": "linearTeams", + "value": { + "$rpc": "null" + }, + "sent": 2 + }, + "67b5ebc67646": { + "connected": true, + "selectedTeams": ["team-1"], + "teams": [ + { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + } + ], + "workspaceId": "linear-workspace", + "workspaces": [ + { + "id": "linear-workspace", + "name": "Workspace" + } + ] + }, + "69d74e72326c": { + "name": "linearConnected", + "value": true, + "sent": 1 + }, + "775d7e2fb99d": { + "name": "linear.status#1", + "args": [ + { + "name": "method", + "value": "linear.status" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "connected": true, + "selectedWorkspaceId": "linear-workspace", + "workspaces": [ + { + "id": "linear-workspace", + "name": "Workspace" + } + ] + } + } + } + }, + "78b31c69b43a": { + "name": "linear.listTeams#1", + "args": [ + { + "name": "method", + "value": "linear.listTeams" + }, + { + "name": "params", + "value": { + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "7dabd82642ac": { + "name": "github.listWorkItems#1", + "args": [ + { + "name": "method", + "value": "github.listWorkItems" + }, + { + "name": "params", + "value": { + "before": { + "$rpc": "undefined" + }, + "limit": 36, + "query": "is:issue bug", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "items": [ + { + "author": { + "$rpc": "null" + }, + "id": "issue:9", + "labels": [], + "number": 9, + "state": "open", + "title": "An issue", + "type": "issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "" + } + ], + "sources": { + "issues": "upstream" + } + } + } + } + }, + "7ec901b0100d": { + "connected": true, + "selectedTeams": [], + "teams": { + "error": "inner refused", + "ok": false + }, + "workspaceId": "linear-workspace", + "workspaces": [ + { + "id": "linear-workspace", + "name": "Workspace" + } + ] + }, + "83bdb40ba3c7": { + "name": "linear.listTeams#1", + "args": [ + { + "name": "method", + "value": "linear.listTeams" + }, + { + "name": "params", + "value": { + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "86e8543b7327": { + "name": "linear.listTeams#1", + "args": [ + { + "name": "method", + "value": "linear.listTeams" + }, + { + "name": "params", + "value": { + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "8e1216596b9c": { + "name": "linearTeams", + "value": [ + { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + } + ], + "sent": 2 + }, + "93e7019b0698": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "TypeError", + "message": "Cannot read properties of undefined (reading 'map')", + "isRpcDeliveryUnknown": false + } + }, + "95592fc22995": { + "name": "linearTeams", + "value": { + "$rpc": "undefined" + }, + "sent": 2 + }, + "9b27648fc6b9": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "TypeError", + "message": "teams.map is not a function", + "isRpcDeliveryUnknown": false + } + }, + "a591435f3ef1": { + "connected": true, + "selectedTeams": [], + "teams": { + "$rpc": "null" + }, + "workspaceId": "linear-workspace", + "workspaces": [ + { + "id": "linear-workspace", + "name": "Workspace" + } + ] + }, + "a6bfe3e8ec00": { + "name": "settings.update#1", + "args": [ + { + "name": "method", + "value": "settings.update" + }, + { + "name": "params", + "value": { + "defaultLinearTeamSelection": ["team-1"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "a9c001a4d8d2": { + "name": "linear.listTeams#1", + "args": [ + { + "name": "method", + "value": "linear.listTeams" + }, + { + "name": "params", + "value": { + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": [ + { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + } + ] + } + } + }, + "b13993ed8b00": { + "name": "settings.update#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"settings.update\",\"params\":{\"defaultLinearTeamSelection\":[\"team-1\"]}}" + }, + "b948e8307e81": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Unknown method", + "isRpcDeliveryUnknown": false + } + }, + "bd5c2292b89a": { + "connected": true, + "selectedTeams": [], + "teams": [], + "workspaceId": "linear-workspace", + "workspaces": [ + { + "id": "linear-workspace", + "name": "Workspace" + } + ] + }, + "bfba52c22ce2": { + "name": "linear.listTeams#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.listTeams\",\"params\":{\"workspaceId\":\"linear-workspace\"}}" + }, + "c1c057249f99": { + "name": "selectedLinearTeamIds", + "value": ["team-1"], + "sent": 2 + }, + "c1e3ae5492e1": { + "name": "github.countWorkItems#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.countWorkItems\",\"params\":{\"repo\":\"id:repo-1\",\"query\":\"is:issue bug\"}}" + }, + "c7584e82c72f": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + }, + "cf53e1835dc8": { + "name": "github.listWorkItems#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.listWorkItems\",\"params\":{\"repo\":\"id:repo-1\",\"limit\":36,\"query\":\"is:issue bug\"}}" + }, + "d67c0881cceb": { + "name": "linear.listTeams#1", + "args": [ + { + "name": "method", + "value": "linear.listTeams" + }, + { + "name": "params", + "value": { + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "d8aa5fae89ce": { + "connected": true, + "selectedTeams": [], + "teams": { + "$rpc": "undefined" + }, + "workspaceId": "linear-workspace", + "workspaces": [ + { + "id": "linear-workspace", + "name": "Workspace" + } + ] + }, + "d9ae9e9a0660": { + "name": "linearTeams", + "value": { + "error": "inner refused", + "ok": false + }, + "sent": 2 + }, + "e19509ebde55": { + "name": "linear.status#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ec40cd1ee2d6": { + "name": "linear.listTeams#1", + "args": [ + { + "name": "method", + "value": "linear.listTeams" + }, + { + "name": "params", + "value": { + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "f3b516f62081": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": false + } + }, + "fccc4f6aae53": { + "name": "linearTeams", + "value": { + "error": "refused" + }, + "sent": 2 + } + }, + "recording": { + "scenario": "matrix-tasks.provider-load-linear.listteams-1", + "checkpoints": [ + { + "id": "tk-provider-load.normal:linear-context-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2"], + "payloads": ["e19509ebde55", "bfba52c22ce2"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.normal:persist-teams-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2", "a6bfe3e8ec00"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.normal:github-page-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2", "a6bfe3e8ec00", "7dabd82642ac"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00", "cf53e1835dc8"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.normal:github-count-settled", + "observation": { + "sender": [ + "775d7e2fb99d", + "a9c001a4d8d2", + "a6bfe3e8ec00", + "7dabd82642ac", + "0f9c77bd54ee" + ], + "payloads": [ + "e19509ebde55", + "bfba52c22ce2", + "b13993ed8b00", + "cf53e1835dc8", + "c1e3ae5492e1" + ], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816", + "github-count-3": "413e4f429e18" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.result-absent:linear-context-settled", + "observation": { + "sender": ["775d7e2fb99d", "3195d92ed493"], + "payloads": ["e19509ebde55", "bfba52c22ce2"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "93e7019b0698" + }, + "state": "d8aa5fae89ce", + "effects": ["69d74e72326c", "552cce3107ea", "0faba633b165", "95592fc22995"] + } + }, + { + "id": "tk-provider-load.result-absent:persist-teams-settled", + "observation": { + "sender": ["775d7e2fb99d", "3195d92ed493", "a6bfe3e8ec00"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "93e7019b0698", + "persist-teams-1": "eb79a9b3682a" + }, + "state": "d8aa5fae89ce", + "effects": ["69d74e72326c", "552cce3107ea", "0faba633b165", "95592fc22995"] + } + }, + { + "id": "tk-provider-load.result-absent:github-page-settled", + "observation": { + "sender": ["775d7e2fb99d", "3195d92ed493", "a6bfe3e8ec00", "7dabd82642ac"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00", "cf53e1835dc8"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "93e7019b0698", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816" + }, + "state": "d8aa5fae89ce", + "effects": ["69d74e72326c", "552cce3107ea", "0faba633b165", "95592fc22995"] + } + }, + { + "id": "tk-provider-load.result-absent:github-count-settled", + "observation": { + "sender": [ + "775d7e2fb99d", + "3195d92ed493", + "a6bfe3e8ec00", + "7dabd82642ac", + "0f9c77bd54ee" + ], + "payloads": [ + "e19509ebde55", + "bfba52c22ce2", + "b13993ed8b00", + "cf53e1835dc8", + "c1e3ae5492e1" + ], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "93e7019b0698", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816", + "github-count-3": "413e4f429e18" + }, + "state": "d8aa5fae89ce", + "effects": ["69d74e72326c", "552cce3107ea", "0faba633b165", "95592fc22995"] + } + }, + { + "id": "tk-provider-load.result-null:linear-context-settled", + "observation": { + "sender": ["775d7e2fb99d", "86e8543b7327"], + "payloads": ["e19509ebde55", "bfba52c22ce2"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "335785e8af30" + }, + "state": "a591435f3ef1", + "effects": ["69d74e72326c", "552cce3107ea", "0faba633b165", "56537bf8a7ad"] + } + }, + { + "id": "tk-provider-load.result-null:persist-teams-settled", + "observation": { + "sender": ["775d7e2fb99d", "86e8543b7327", "a6bfe3e8ec00"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "335785e8af30", + "persist-teams-1": "eb79a9b3682a" + }, + "state": "a591435f3ef1", + "effects": ["69d74e72326c", "552cce3107ea", "0faba633b165", "56537bf8a7ad"] + } + }, + { + "id": "tk-provider-load.result-null:github-page-settled", + "observation": { + "sender": ["775d7e2fb99d", "86e8543b7327", "a6bfe3e8ec00", "7dabd82642ac"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00", "cf53e1835dc8"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "335785e8af30", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816" + }, + "state": "a591435f3ef1", + "effects": ["69d74e72326c", "552cce3107ea", "0faba633b165", "56537bf8a7ad"] + } + }, + { + "id": "tk-provider-load.result-null:github-count-settled", + "observation": { + "sender": [ + "775d7e2fb99d", + "86e8543b7327", + "a6bfe3e8ec00", + "7dabd82642ac", + "0f9c77bd54ee" + ], + "payloads": [ + "e19509ebde55", + "bfba52c22ce2", + "b13993ed8b00", + "cf53e1835dc8", + "c1e3ae5492e1" + ], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "335785e8af30", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816", + "github-count-3": "413e4f429e18" + }, + "state": "a591435f3ef1", + "effects": ["69d74e72326c", "552cce3107ea", "0faba633b165", "56537bf8a7ad"] + } + }, + { + "id": "tk-provider-load.inner-ok-missing:linear-context-settled", + "observation": { + "sender": ["775d7e2fb99d", "ec40cd1ee2d6"], + "payloads": ["e19509ebde55", "bfba52c22ce2"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "9b27648fc6b9" + }, + "state": "0a6ad30d39df", + "effects": ["69d74e72326c", "552cce3107ea", "0faba633b165", "fccc4f6aae53"] + } + }, + { + "id": "tk-provider-load.inner-ok-missing:persist-teams-settled", + "observation": { + "sender": ["775d7e2fb99d", "ec40cd1ee2d6", "a6bfe3e8ec00"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "9b27648fc6b9", + "persist-teams-1": "eb79a9b3682a" + }, + "state": "0a6ad30d39df", + "effects": ["69d74e72326c", "552cce3107ea", "0faba633b165", "fccc4f6aae53"] + } + }, + { + "id": "tk-provider-load.inner-ok-missing:github-page-settled", + "observation": { + "sender": ["775d7e2fb99d", "ec40cd1ee2d6", "a6bfe3e8ec00", "7dabd82642ac"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00", "cf53e1835dc8"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "9b27648fc6b9", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816" + }, + "state": "0a6ad30d39df", + "effects": ["69d74e72326c", "552cce3107ea", "0faba633b165", "fccc4f6aae53"] + } + }, + { + "id": "tk-provider-load.inner-ok-missing:github-count-settled", + "observation": { + "sender": [ + "775d7e2fb99d", + "ec40cd1ee2d6", + "a6bfe3e8ec00", + "7dabd82642ac", + "0f9c77bd54ee" + ], + "payloads": [ + "e19509ebde55", + "bfba52c22ce2", + "b13993ed8b00", + "cf53e1835dc8", + "c1e3ae5492e1" + ], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "9b27648fc6b9", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816", + "github-count-3": "413e4f429e18" + }, + "state": "0a6ad30d39df", + "effects": ["69d74e72326c", "552cce3107ea", "0faba633b165", "fccc4f6aae53"] + } + }, + { + "id": "tk-provider-load.inner-false-string-error:linear-context-settled", + "observation": { + "sender": ["775d7e2fb99d", "1a92facf7fe2"], + "payloads": ["e19509ebde55", "bfba52c22ce2"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "9b27648fc6b9" + }, + "state": "7ec901b0100d", + "effects": ["69d74e72326c", "552cce3107ea", "0faba633b165", "d9ae9e9a0660"] + } + }, + { + "id": "tk-provider-load.inner-false-string-error:persist-teams-settled", + "observation": { + "sender": ["775d7e2fb99d", "1a92facf7fe2", "a6bfe3e8ec00"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "9b27648fc6b9", + "persist-teams-1": "eb79a9b3682a" + }, + "state": "7ec901b0100d", + "effects": ["69d74e72326c", "552cce3107ea", "0faba633b165", "d9ae9e9a0660"] + } + }, + { + "id": "tk-provider-load.inner-false-string-error:github-page-settled", + "observation": { + "sender": ["775d7e2fb99d", "1a92facf7fe2", "a6bfe3e8ec00", "7dabd82642ac"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00", "cf53e1835dc8"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "9b27648fc6b9", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816" + }, + "state": "7ec901b0100d", + "effects": ["69d74e72326c", "552cce3107ea", "0faba633b165", "d9ae9e9a0660"] + } + }, + { + "id": "tk-provider-load.inner-false-string-error:github-count-settled", + "observation": { + "sender": [ + "775d7e2fb99d", + "1a92facf7fe2", + "a6bfe3e8ec00", + "7dabd82642ac", + "0f9c77bd54ee" + ], + "payloads": [ + "e19509ebde55", + "bfba52c22ce2", + "b13993ed8b00", + "cf53e1835dc8", + "c1e3ae5492e1" + ], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "9b27648fc6b9", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816", + "github-count-3": "413e4f429e18" + }, + "state": "7ec901b0100d", + "effects": ["69d74e72326c", "552cce3107ea", "0faba633b165", "d9ae9e9a0660"] + } + }, + { + "id": "tk-provider-load.inner-false-object-error:linear-context-settled", + "observation": { + "sender": ["775d7e2fb99d", "83bdb40ba3c7"], + "payloads": ["e19509ebde55", "bfba52c22ce2"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "9b27648fc6b9" + }, + "state": "4079678c7804", + "effects": ["69d74e72326c", "552cce3107ea", "0faba633b165", "47dd57bc8f58"] + } + }, + { + "id": "tk-provider-load.inner-false-object-error:persist-teams-settled", + "observation": { + "sender": ["775d7e2fb99d", "83bdb40ba3c7", "a6bfe3e8ec00"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "9b27648fc6b9", + "persist-teams-1": "eb79a9b3682a" + }, + "state": "4079678c7804", + "effects": ["69d74e72326c", "552cce3107ea", "0faba633b165", "47dd57bc8f58"] + } + }, + { + "id": "tk-provider-load.inner-false-object-error:github-page-settled", + "observation": { + "sender": ["775d7e2fb99d", "83bdb40ba3c7", "a6bfe3e8ec00", "7dabd82642ac"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00", "cf53e1835dc8"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "9b27648fc6b9", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816" + }, + "state": "4079678c7804", + "effects": ["69d74e72326c", "552cce3107ea", "0faba633b165", "47dd57bc8f58"] + } + }, + { + "id": "tk-provider-load.inner-false-object-error:github-count-settled", + "observation": { + "sender": [ + "775d7e2fb99d", + "83bdb40ba3c7", + "a6bfe3e8ec00", + "7dabd82642ac", + "0f9c77bd54ee" + ], + "payloads": [ + "e19509ebde55", + "bfba52c22ce2", + "b13993ed8b00", + "cf53e1835dc8", + "c1e3ae5492e1" + ], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "9b27648fc6b9", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816", + "github-count-3": "413e4f429e18" + }, + "state": "4079678c7804", + "effects": ["69d74e72326c", "552cce3107ea", "0faba633b165", "47dd57bc8f58"] + } + }, + { + "id": "tk-provider-load.outer-refused:linear-context-settled", + "observation": { + "sender": ["775d7e2fb99d", "53b5d5ee1dda"], + "payloads": ["e19509ebde55", "bfba52c22ce2"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "32a7c0ae7918" + }, + "state": "bd5c2292b89a", + "effects": ["69d74e72326c", "552cce3107ea", "0faba633b165"] + } + }, + { + "id": "tk-provider-load.outer-refused:persist-teams-settled", + "observation": { + "sender": ["775d7e2fb99d", "53b5d5ee1dda", "a6bfe3e8ec00"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "32a7c0ae7918", + "persist-teams-1": "eb79a9b3682a" + }, + "state": "bd5c2292b89a", + "effects": ["69d74e72326c", "552cce3107ea", "0faba633b165"] + } + }, + { + "id": "tk-provider-load.outer-refused:github-page-settled", + "observation": { + "sender": ["775d7e2fb99d", "53b5d5ee1dda", "a6bfe3e8ec00", "7dabd82642ac"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00", "cf53e1835dc8"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "32a7c0ae7918", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816" + }, + "state": "bd5c2292b89a", + "effects": ["69d74e72326c", "552cce3107ea", "0faba633b165"] + } + }, + { + "id": "tk-provider-load.outer-refused:github-count-settled", + "observation": { + "sender": [ + "775d7e2fb99d", + "53b5d5ee1dda", + "a6bfe3e8ec00", + "7dabd82642ac", + "0f9c77bd54ee" + ], + "payloads": [ + "e19509ebde55", + "bfba52c22ce2", + "b13993ed8b00", + "cf53e1835dc8", + "c1e3ae5492e1" + ], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "32a7c0ae7918", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816", + "github-count-3": "413e4f429e18" + }, + "state": "bd5c2292b89a", + "effects": ["69d74e72326c", "552cce3107ea", "0faba633b165"] + } + }, + { + "id": "tk-provider-load.outer-refused-no-message:linear-context-settled", + "observation": { + "sender": ["775d7e2fb99d", "0bf4b379341b"], + "payloads": ["e19509ebde55", "bfba52c22ce2"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "f3b516f62081" + }, + "state": "bd5c2292b89a", + "effects": ["69d74e72326c", "552cce3107ea", "0faba633b165"] + } + }, + { + "id": "tk-provider-load.outer-refused-no-message:persist-teams-settled", + "observation": { + "sender": ["775d7e2fb99d", "0bf4b379341b", "a6bfe3e8ec00"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "f3b516f62081", + "persist-teams-1": "eb79a9b3682a" + }, + "state": "bd5c2292b89a", + "effects": ["69d74e72326c", "552cce3107ea", "0faba633b165"] + } + }, + { + "id": "tk-provider-load.outer-refused-no-message:github-page-settled", + "observation": { + "sender": ["775d7e2fb99d", "0bf4b379341b", "a6bfe3e8ec00", "7dabd82642ac"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00", "cf53e1835dc8"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "f3b516f62081", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816" + }, + "state": "bd5c2292b89a", + "effects": ["69d74e72326c", "552cce3107ea", "0faba633b165"] + } + }, + { + "id": "tk-provider-load.outer-refused-no-message:github-count-settled", + "observation": { + "sender": [ + "775d7e2fb99d", + "0bf4b379341b", + "a6bfe3e8ec00", + "7dabd82642ac", + "0f9c77bd54ee" + ], + "payloads": [ + "e19509ebde55", + "bfba52c22ce2", + "b13993ed8b00", + "cf53e1835dc8", + "c1e3ae5492e1" + ], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "f3b516f62081", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816", + "github-count-3": "413e4f429e18" + }, + "state": "bd5c2292b89a", + "effects": ["69d74e72326c", "552cce3107ea", "0faba633b165"] + } + }, + { + "id": "tk-provider-load.method-not-found:linear-context-settled", + "observation": { + "sender": ["775d7e2fb99d", "78b31c69b43a"], + "payloads": ["e19509ebde55", "bfba52c22ce2"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "b948e8307e81" + }, + "state": "bd5c2292b89a", + "effects": ["69d74e72326c", "552cce3107ea", "0faba633b165"] + } + }, + { + "id": "tk-provider-load.method-not-found:persist-teams-settled", + "observation": { + "sender": ["775d7e2fb99d", "78b31c69b43a", "a6bfe3e8ec00"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "b948e8307e81", + "persist-teams-1": "eb79a9b3682a" + }, + "state": "bd5c2292b89a", + "effects": ["69d74e72326c", "552cce3107ea", "0faba633b165"] + } + }, + { + "id": "tk-provider-load.method-not-found:github-page-settled", + "observation": { + "sender": ["775d7e2fb99d", "78b31c69b43a", "a6bfe3e8ec00", "7dabd82642ac"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00", "cf53e1835dc8"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "b948e8307e81", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816" + }, + "state": "bd5c2292b89a", + "effects": ["69d74e72326c", "552cce3107ea", "0faba633b165"] + } + }, + { + "id": "tk-provider-load.method-not-found:github-count-settled", + "observation": { + "sender": [ + "775d7e2fb99d", + "78b31c69b43a", + "a6bfe3e8ec00", + "7dabd82642ac", + "0f9c77bd54ee" + ], + "payloads": [ + "e19509ebde55", + "bfba52c22ce2", + "b13993ed8b00", + "cf53e1835dc8", + "c1e3ae5492e1" + ], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "b948e8307e81", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816", + "github-count-3": "413e4f429e18" + }, + "state": "bd5c2292b89a", + "effects": ["69d74e72326c", "552cce3107ea", "0faba633b165"] + } + }, + { + "id": "tk-provider-load.transport-rejection:linear-context-settled", + "observation": { + "sender": ["775d7e2fb99d", "5366d6506b21"], + "payloads": ["e19509ebde55", "bfba52c22ce2"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "a947768bc0ed" + }, + "state": "bd5c2292b89a", + "effects": ["69d74e72326c", "552cce3107ea", "0faba633b165"] + } + }, + { + "id": "tk-provider-load.transport-rejection:persist-teams-settled", + "observation": { + "sender": ["775d7e2fb99d", "5366d6506b21", "a6bfe3e8ec00"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "a947768bc0ed", + "persist-teams-1": "eb79a9b3682a" + }, + "state": "bd5c2292b89a", + "effects": ["69d74e72326c", "552cce3107ea", "0faba633b165"] + } + }, + { + "id": "tk-provider-load.transport-rejection:github-page-settled", + "observation": { + "sender": ["775d7e2fb99d", "5366d6506b21", "a6bfe3e8ec00", "7dabd82642ac"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00", "cf53e1835dc8"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "a947768bc0ed", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816" + }, + "state": "bd5c2292b89a", + "effects": ["69d74e72326c", "552cce3107ea", "0faba633b165"] + } + }, + { + "id": "tk-provider-load.transport-rejection:github-count-settled", + "observation": { + "sender": [ + "775d7e2fb99d", + "5366d6506b21", + "a6bfe3e8ec00", + "7dabd82642ac", + "0f9c77bd54ee" + ], + "payloads": [ + "e19509ebde55", + "bfba52c22ce2", + "b13993ed8b00", + "cf53e1835dc8", + "c1e3ae5492e1" + ], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "a947768bc0ed", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816", + "github-count-3": "413e4f429e18" + }, + "state": "bd5c2292b89a", + "effects": ["69d74e72326c", "552cce3107ea", "0faba633b165"] + } + }, + { + "id": "tk-provider-load.transport-rejection-no-message:linear-context-settled", + "observation": { + "sender": ["775d7e2fb99d", "d67c0881cceb"], + "payloads": ["e19509ebde55", "bfba52c22ce2"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "c7584e82c72f" + }, + "state": "bd5c2292b89a", + "effects": ["69d74e72326c", "552cce3107ea", "0faba633b165"] + } + }, + { + "id": "tk-provider-load.transport-rejection-no-message:persist-teams-settled", + "observation": { + "sender": ["775d7e2fb99d", "d67c0881cceb", "a6bfe3e8ec00"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "c7584e82c72f", + "persist-teams-1": "eb79a9b3682a" + }, + "state": "bd5c2292b89a", + "effects": ["69d74e72326c", "552cce3107ea", "0faba633b165"] + } + }, + { + "id": "tk-provider-load.transport-rejection-no-message:github-page-settled", + "observation": { + "sender": ["775d7e2fb99d", "d67c0881cceb", "a6bfe3e8ec00", "7dabd82642ac"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00", "cf53e1835dc8"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "c7584e82c72f", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816" + }, + "state": "bd5c2292b89a", + "effects": ["69d74e72326c", "552cce3107ea", "0faba633b165"] + } + }, + { + "id": "tk-provider-load.transport-rejection-no-message:github-count-settled", + "observation": { + "sender": [ + "775d7e2fb99d", + "d67c0881cceb", + "a6bfe3e8ec00", + "7dabd82642ac", + "0f9c77bd54ee" + ], + "payloads": [ + "e19509ebde55", + "bfba52c22ce2", + "b13993ed8b00", + "cf53e1835dc8", + "c1e3ae5492e1" + ], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "c7584e82c72f", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816", + "github-count-3": "413e4f429e18" + }, + "state": "bd5c2292b89a", + "effects": ["69d74e72326c", "552cce3107ea", "0faba633b165"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.provider-load-linear.status-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.provider-load-linear.status-1.json new file mode 100644 index 00000000000..a3cefccdc39 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.provider-load-linear.status-1.json @@ -0,0 +1,1664 @@ +{ + "operation": "tasks.provider-load", + "family": "tasks.provider-load", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "07a15e900363faa25bc364f5bc1c330f96798abfeaed35210428c2ac558586b8", + "scenarioSha256": "f02acd2ed6319b8cb674c04b41a1e96c50e53123a8914790acc8af5410d63f98", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "00598fc4e64c": { + "name": "linearTeams", + "value": [], + "sent": 1 + }, + "0577812165ed": { + "connected": false, + "selectedTeams": [], + "teams": [], + "workspaceId": { + "$rpc": "null" + }, + "workspaces": [] + }, + "0f9c77bd54ee": { + "name": "github.countWorkItems#1", + "args": [ + { + "name": "method", + "value": "github.countWorkItems" + }, + { + "name": "params", + "value": { + "query": "is:issue bug", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": 4 + } + } + }, + "0faba633b165": { + "name": "selectedLinearWorkspaceId", + "value": "linear-workspace", + "sent": 1 + }, + "14b751028813": { + "name": "github.countWorkItems#1", + "args": [ + { + "name": "method", + "value": "github.countWorkItems" + }, + { + "name": "params", + "value": { + "query": "is:issue bug", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": 4 + } + } + }, + "158449a16852": { + "name": "linear.status#1", + "args": [ + { + "name": "method", + "value": "linear.status" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "1fc96e936096": { + "name": "settings.update#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"settings.update\",\"params\":{\"defaultLinearTeamSelection\":[\"team-1\"]}}" + }, + "30b8910febfb": { + "name": "github.countWorkItems#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.countWorkItems\",\"params\":{\"repo\":\"id:repo-1\",\"query\":\"is:issue bug\"}}" + }, + "32a7c0ae7918": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "outer refused", + "isRpcDeliveryUnknown": false + } + }, + "388e74bd02c8": { + "name": "settings.update#1", + "args": [ + { + "name": "method", + "value": "settings.update" + }, + { + "name": "params", + "value": { + "defaultLinearTeamSelection": ["team-1"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "3edb27aad08d": { + "name": "selectedLinearTeamIds", + "value": [], + "sent": 1 + }, + "413e4f429e18": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": 4 + }, + "4620b5cc7ae9": { + "name": "linear.status#1", + "args": [ + { + "name": "method", + "value": "linear.status" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "49c5fd241816": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "failedCount": 0, + "items": [ + { + "key": "github:repo-1:issue:9", + "provider": "github", + "source": { + "author": { + "$rpc": "null" + }, + "id": "issue:9", + "labels": [], + "number": 9, + "repoId": "repo-1", + "repoName": "Repo", + "state": "open", + "title": "An issue", + "type": "issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "" + }, + "status": "Open", + "subtitle": "Repo #9", + "title": "An issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + } + ], + "sourceErrors": [], + "sourceFallbacks": [], + "sourcesByRepoId": { + "repo-1": { + "issues": "upstream" + } + } + } + }, + "50edb1eae337": { + "name": "linear.status#1", + "args": [ + { + "name": "method", + "value": "linear.status" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "545c802fdcb4": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "TypeError", + "message": "Cannot read properties of undefined (reading 'connected')", + "isRpcDeliveryUnknown": false + } + }, + "552cce3107ea": { + "name": "linearWorkspaces", + "value": [ + { + "id": "linear-workspace", + "name": "Workspace" + } + ], + "sent": 1 + }, + "578a67ab5d44": { + "name": "linear.status#1", + "args": [ + { + "name": "method", + "value": "linear.status" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "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 + } + } + } + }, + "67b5ebc67646": { + "connected": true, + "selectedTeams": ["team-1"], + "teams": [ + { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + } + ], + "workspaceId": "linear-workspace", + "workspaces": [ + { + "id": "linear-workspace", + "name": "Workspace" + } + ] + }, + "69d74e72326c": { + "name": "linearConnected", + "value": true, + "sent": 1 + }, + "71fb4049425f": { + "name": "linear.status#1", + "args": [ + { + "name": "method", + "value": "linear.status" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "775d7e2fb99d": { + "name": "linear.status#1", + "args": [ + { + "name": "method", + "value": "linear.status" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "connected": true, + "selectedWorkspaceId": "linear-workspace", + "workspaces": [ + { + "id": "linear-workspace", + "name": "Workspace" + } + ] + } + } + } + }, + "7dabd82642ac": { + "name": "github.listWorkItems#1", + "args": [ + { + "name": "method", + "value": "github.listWorkItems" + }, + { + "name": "params", + "value": { + "before": { + "$rpc": "undefined" + }, + "limit": 36, + "query": "is:issue bug", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "items": [ + { + "author": { + "$rpc": "null" + }, + "id": "issue:9", + "labels": [], + "number": 9, + "state": "open", + "title": "An issue", + "type": "issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "" + } + ], + "sources": { + "issues": "upstream" + } + } + } + } + }, + "8832bbbd6cb0": { + "name": "linear.status#1", + "args": [ + { + "name": "method", + "value": "linear.status" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "8e1216596b9c": { + "name": "linearTeams", + "value": [ + { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + } + ], + "sent": 2 + }, + "92d390fd43e3": { + "name": "linear.status#1", + "args": [ + { + "name": "method", + "value": "linear.status" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "978c959625ec": { + "name": "linearConnected", + "value": false, + "sent": 1 + }, + "a6bfe3e8ec00": { + "name": "settings.update#1", + "args": [ + { + "name": "method", + "value": "settings.update" + }, + { + "name": "params", + "value": { + "defaultLinearTeamSelection": ["team-1"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "a9c001a4d8d2": { + "name": "linear.listTeams#1", + "args": [ + { + "name": "method", + "value": "linear.listTeams" + }, + { + "name": "params", + "value": { + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": [ + { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + } + ] + } + } + }, + "ae35286647d6": { + "name": "linearWorkspaces", + "value": [], + "sent": 1 + }, + "b13993ed8b00": { + "name": "settings.update#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"settings.update\",\"params\":{\"defaultLinearTeamSelection\":[\"team-1\"]}}" + }, + "b948e8307e81": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Unknown method", + "isRpcDeliveryUnknown": false + } + }, + "bd7cad199eca": { + "name": "selectedLinearWorkspaceId", + "value": { + "$rpc": "null" + }, + "sent": 1 + }, + "bfba52c22ce2": { + "name": "linear.listTeams#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.listTeams\",\"params\":{\"workspaceId\":\"linear-workspace\"}}" + }, + "c172f642b601": { + "name": "linear.status#1", + "args": [ + { + "name": "method", + "value": "linear.status" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "c1c057249f99": { + "name": "selectedLinearTeamIds", + "value": ["team-1"], + "sent": 2 + }, + "c1e3ae5492e1": { + "name": "github.countWorkItems#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.countWorkItems\",\"params\":{\"repo\":\"id:repo-1\",\"query\":\"is:issue bug\"}}" + }, + "c7584e82c72f": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + }, + "cf53e1835dc8": { + "name": "github.listWorkItems#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.listWorkItems\",\"params\":{\"repo\":\"id:repo-1\",\"limit\":36,\"query\":\"is:issue bug\"}}" + }, + "d538188eba86": { + "name": "github.listWorkItems#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.listWorkItems\",\"params\":{\"repo\":\"id:repo-1\",\"limit\":36,\"query\":\"is:issue bug\"}}" + }, + "d57b111fe4e9": { + "name": "linear.status#1", + "args": [ + { + "name": "method", + "value": "linear.status" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "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 + } + } + }, + "e19509ebde55": { + "name": "linear.status#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" + }, + "e27165f1babf": { + "name": "github.listWorkItems#1", + "args": [ + { + "name": "method", + "value": "github.listWorkItems" + }, + { + "name": "params", + "value": { + "before": { + "$rpc": "undefined" + }, + "limit": 36, + "query": "is:issue bug", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "items": [ + { + "author": { + "$rpc": "null" + }, + "id": "issue:9", + "labels": [], + "number": 9, + "state": "open", + "title": "An issue", + "type": "issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "" + } + ], + "sources": { + "issues": "upstream" + } + } + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f3b516f62081": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": false + } + }, + "f797d088ff86": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "TypeError", + "message": "Cannot read properties of null (reading 'connected')", + "isRpcDeliveryUnknown": false + } + }, + "f7f4c1dee514": { + "name": "linear.status#1", + "args": [ + { + "name": "method", + "value": "linear.status" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + } + }, + "recording": { + "scenario": "matrix-tasks.provider-load-linear.status-1", + "checkpoints": [ + { + "id": "tk-provider-load.normal:linear-context-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2"], + "payloads": ["e19509ebde55", "bfba52c22ce2"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.normal:persist-teams-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2", "a6bfe3e8ec00"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.normal:github-page-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2", "a6bfe3e8ec00", "7dabd82642ac"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00", "cf53e1835dc8"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.normal:github-count-settled", + "observation": { + "sender": [ + "775d7e2fb99d", + "a9c001a4d8d2", + "a6bfe3e8ec00", + "7dabd82642ac", + "0f9c77bd54ee" + ], + "payloads": [ + "e19509ebde55", + "bfba52c22ce2", + "b13993ed8b00", + "cf53e1835dc8", + "c1e3ae5492e1" + ], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816", + "github-count-3": "413e4f429e18" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.result-absent:linear-context-settled", + "observation": { + "sender": ["8832bbbd6cb0"], + "payloads": ["e19509ebde55"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "545c802fdcb4" + }, + "state": "0577812165ed", + "effects": [] + } + }, + { + "id": "tk-provider-load.result-absent:persist-teams-settled", + "observation": { + "sender": ["8832bbbd6cb0", "388e74bd02c8"], + "payloads": ["e19509ebde55", "1fc96e936096"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "545c802fdcb4", + "persist-teams-1": "eb79a9b3682a" + }, + "state": "0577812165ed", + "effects": [] + } + }, + { + "id": "tk-provider-load.result-absent:github-page-settled", + "observation": { + "sender": ["8832bbbd6cb0", "388e74bd02c8", "e27165f1babf"], + "payloads": ["e19509ebde55", "1fc96e936096", "d538188eba86"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "545c802fdcb4", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816" + }, + "state": "0577812165ed", + "effects": [] + } + }, + { + "id": "tk-provider-load.result-absent:github-count-settled", + "observation": { + "sender": ["8832bbbd6cb0", "388e74bd02c8", "e27165f1babf", "14b751028813"], + "payloads": ["e19509ebde55", "1fc96e936096", "d538188eba86", "30b8910febfb"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "545c802fdcb4", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816", + "github-count-3": "413e4f429e18" + }, + "state": "0577812165ed", + "effects": [] + } + }, + { + "id": "tk-provider-load.result-null:linear-context-settled", + "observation": { + "sender": ["71fb4049425f"], + "payloads": ["e19509ebde55"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "f797d088ff86" + }, + "state": "0577812165ed", + "effects": [] + } + }, + { + "id": "tk-provider-load.result-null:persist-teams-settled", + "observation": { + "sender": ["71fb4049425f", "388e74bd02c8"], + "payloads": ["e19509ebde55", "1fc96e936096"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "f797d088ff86", + "persist-teams-1": "eb79a9b3682a" + }, + "state": "0577812165ed", + "effects": [] + } + }, + { + "id": "tk-provider-load.result-null:github-page-settled", + "observation": { + "sender": ["71fb4049425f", "388e74bd02c8", "e27165f1babf"], + "payloads": ["e19509ebde55", "1fc96e936096", "d538188eba86"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "f797d088ff86", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816" + }, + "state": "0577812165ed", + "effects": [] + } + }, + { + "id": "tk-provider-load.result-null:github-count-settled", + "observation": { + "sender": ["71fb4049425f", "388e74bd02c8", "e27165f1babf", "14b751028813"], + "payloads": ["e19509ebde55", "1fc96e936096", "d538188eba86", "30b8910febfb"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "f797d088ff86", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816", + "github-count-3": "413e4f429e18" + }, + "state": "0577812165ed", + "effects": [] + } + }, + { + "id": "tk-provider-load.inner-ok-missing:linear-context-settled", + "observation": { + "sender": ["92d390fd43e3"], + "payloads": ["e19509ebde55"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a" + }, + "state": "0577812165ed", + "effects": [ + "978c959625ec", + "ae35286647d6", + "00598fc4e64c", + "3edb27aad08d", + "bd7cad199eca" + ] + } + }, + { + "id": "tk-provider-load.inner-ok-missing:persist-teams-settled", + "observation": { + "sender": ["92d390fd43e3", "388e74bd02c8"], + "payloads": ["e19509ebde55", "1fc96e936096"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a" + }, + "state": "0577812165ed", + "effects": [ + "978c959625ec", + "ae35286647d6", + "00598fc4e64c", + "3edb27aad08d", + "bd7cad199eca" + ] + } + }, + { + "id": "tk-provider-load.inner-ok-missing:github-page-settled", + "observation": { + "sender": ["92d390fd43e3", "388e74bd02c8", "e27165f1babf"], + "payloads": ["e19509ebde55", "1fc96e936096", "d538188eba86"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816" + }, + "state": "0577812165ed", + "effects": [ + "978c959625ec", + "ae35286647d6", + "00598fc4e64c", + "3edb27aad08d", + "bd7cad199eca" + ] + } + }, + { + "id": "tk-provider-load.inner-ok-missing:github-count-settled", + "observation": { + "sender": ["92d390fd43e3", "388e74bd02c8", "e27165f1babf", "14b751028813"], + "payloads": ["e19509ebde55", "1fc96e936096", "d538188eba86", "30b8910febfb"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816", + "github-count-3": "413e4f429e18" + }, + "state": "0577812165ed", + "effects": [ + "978c959625ec", + "ae35286647d6", + "00598fc4e64c", + "3edb27aad08d", + "bd7cad199eca" + ] + } + }, + { + "id": "tk-provider-load.inner-false-string-error:linear-context-settled", + "observation": { + "sender": ["50edb1eae337"], + "payloads": ["e19509ebde55"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a" + }, + "state": "0577812165ed", + "effects": [ + "978c959625ec", + "ae35286647d6", + "00598fc4e64c", + "3edb27aad08d", + "bd7cad199eca" + ] + } + }, + { + "id": "tk-provider-load.inner-false-string-error:persist-teams-settled", + "observation": { + "sender": ["50edb1eae337", "388e74bd02c8"], + "payloads": ["e19509ebde55", "1fc96e936096"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a" + }, + "state": "0577812165ed", + "effects": [ + "978c959625ec", + "ae35286647d6", + "00598fc4e64c", + "3edb27aad08d", + "bd7cad199eca" + ] + } + }, + { + "id": "tk-provider-load.inner-false-string-error:github-page-settled", + "observation": { + "sender": ["50edb1eae337", "388e74bd02c8", "e27165f1babf"], + "payloads": ["e19509ebde55", "1fc96e936096", "d538188eba86"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816" + }, + "state": "0577812165ed", + "effects": [ + "978c959625ec", + "ae35286647d6", + "00598fc4e64c", + "3edb27aad08d", + "bd7cad199eca" + ] + } + }, + { + "id": "tk-provider-load.inner-false-string-error:github-count-settled", + "observation": { + "sender": ["50edb1eae337", "388e74bd02c8", "e27165f1babf", "14b751028813"], + "payloads": ["e19509ebde55", "1fc96e936096", "d538188eba86", "30b8910febfb"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816", + "github-count-3": "413e4f429e18" + }, + "state": "0577812165ed", + "effects": [ + "978c959625ec", + "ae35286647d6", + "00598fc4e64c", + "3edb27aad08d", + "bd7cad199eca" + ] + } + }, + { + "id": "tk-provider-load.inner-false-object-error:linear-context-settled", + "observation": { + "sender": ["578a67ab5d44"], + "payloads": ["e19509ebde55"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a" + }, + "state": "0577812165ed", + "effects": [ + "978c959625ec", + "ae35286647d6", + "00598fc4e64c", + "3edb27aad08d", + "bd7cad199eca" + ] + } + }, + { + "id": "tk-provider-load.inner-false-object-error:persist-teams-settled", + "observation": { + "sender": ["578a67ab5d44", "388e74bd02c8"], + "payloads": ["e19509ebde55", "1fc96e936096"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a" + }, + "state": "0577812165ed", + "effects": [ + "978c959625ec", + "ae35286647d6", + "00598fc4e64c", + "3edb27aad08d", + "bd7cad199eca" + ] + } + }, + { + "id": "tk-provider-load.inner-false-object-error:github-page-settled", + "observation": { + "sender": ["578a67ab5d44", "388e74bd02c8", "e27165f1babf"], + "payloads": ["e19509ebde55", "1fc96e936096", "d538188eba86"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816" + }, + "state": "0577812165ed", + "effects": [ + "978c959625ec", + "ae35286647d6", + "00598fc4e64c", + "3edb27aad08d", + "bd7cad199eca" + ] + } + }, + { + "id": "tk-provider-load.inner-false-object-error:github-count-settled", + "observation": { + "sender": ["578a67ab5d44", "388e74bd02c8", "e27165f1babf", "14b751028813"], + "payloads": ["e19509ebde55", "1fc96e936096", "d538188eba86", "30b8910febfb"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816", + "github-count-3": "413e4f429e18" + }, + "state": "0577812165ed", + "effects": [ + "978c959625ec", + "ae35286647d6", + "00598fc4e64c", + "3edb27aad08d", + "bd7cad199eca" + ] + } + }, + { + "id": "tk-provider-load.outer-refused:linear-context-settled", + "observation": { + "sender": ["f7f4c1dee514"], + "payloads": ["e19509ebde55"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "32a7c0ae7918" + }, + "state": "0577812165ed", + "effects": [] + } + }, + { + "id": "tk-provider-load.outer-refused:persist-teams-settled", + "observation": { + "sender": ["f7f4c1dee514", "388e74bd02c8"], + "payloads": ["e19509ebde55", "1fc96e936096"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "32a7c0ae7918", + "persist-teams-1": "eb79a9b3682a" + }, + "state": "0577812165ed", + "effects": [] + } + }, + { + "id": "tk-provider-load.outer-refused:github-page-settled", + "observation": { + "sender": ["f7f4c1dee514", "388e74bd02c8", "e27165f1babf"], + "payloads": ["e19509ebde55", "1fc96e936096", "d538188eba86"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "32a7c0ae7918", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816" + }, + "state": "0577812165ed", + "effects": [] + } + }, + { + "id": "tk-provider-load.outer-refused:github-count-settled", + "observation": { + "sender": ["f7f4c1dee514", "388e74bd02c8", "e27165f1babf", "14b751028813"], + "payloads": ["e19509ebde55", "1fc96e936096", "d538188eba86", "30b8910febfb"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "32a7c0ae7918", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816", + "github-count-3": "413e4f429e18" + }, + "state": "0577812165ed", + "effects": [] + } + }, + { + "id": "tk-provider-load.outer-refused-no-message:linear-context-settled", + "observation": { + "sender": ["c172f642b601"], + "payloads": ["e19509ebde55"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "f3b516f62081" + }, + "state": "0577812165ed", + "effects": [] + } + }, + { + "id": "tk-provider-load.outer-refused-no-message:persist-teams-settled", + "observation": { + "sender": ["c172f642b601", "388e74bd02c8"], + "payloads": ["e19509ebde55", "1fc96e936096"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "f3b516f62081", + "persist-teams-1": "eb79a9b3682a" + }, + "state": "0577812165ed", + "effects": [] + } + }, + { + "id": "tk-provider-load.outer-refused-no-message:github-page-settled", + "observation": { + "sender": ["c172f642b601", "388e74bd02c8", "e27165f1babf"], + "payloads": ["e19509ebde55", "1fc96e936096", "d538188eba86"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "f3b516f62081", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816" + }, + "state": "0577812165ed", + "effects": [] + } + }, + { + "id": "tk-provider-load.outer-refused-no-message:github-count-settled", + "observation": { + "sender": ["c172f642b601", "388e74bd02c8", "e27165f1babf", "14b751028813"], + "payloads": ["e19509ebde55", "1fc96e936096", "d538188eba86", "30b8910febfb"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "f3b516f62081", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816", + "github-count-3": "413e4f429e18" + }, + "state": "0577812165ed", + "effects": [] + } + }, + { + "id": "tk-provider-load.method-not-found:linear-context-settled", + "observation": { + "sender": ["d57b111fe4e9"], + "payloads": ["e19509ebde55"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "b948e8307e81" + }, + "state": "0577812165ed", + "effects": [] + } + }, + { + "id": "tk-provider-load.method-not-found:persist-teams-settled", + "observation": { + "sender": ["d57b111fe4e9", "388e74bd02c8"], + "payloads": ["e19509ebde55", "1fc96e936096"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "b948e8307e81", + "persist-teams-1": "eb79a9b3682a" + }, + "state": "0577812165ed", + "effects": [] + } + }, + { + "id": "tk-provider-load.method-not-found:github-page-settled", + "observation": { + "sender": ["d57b111fe4e9", "388e74bd02c8", "e27165f1babf"], + "payloads": ["e19509ebde55", "1fc96e936096", "d538188eba86"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "b948e8307e81", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816" + }, + "state": "0577812165ed", + "effects": [] + } + }, + { + "id": "tk-provider-load.method-not-found:github-count-settled", + "observation": { + "sender": ["d57b111fe4e9", "388e74bd02c8", "e27165f1babf", "14b751028813"], + "payloads": ["e19509ebde55", "1fc96e936096", "d538188eba86", "30b8910febfb"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "b948e8307e81", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816", + "github-count-3": "413e4f429e18" + }, + "state": "0577812165ed", + "effects": [] + } + }, + { + "id": "tk-provider-load.transport-rejection:linear-context-settled", + "observation": { + "sender": ["158449a16852"], + "payloads": ["e19509ebde55"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "a947768bc0ed" + }, + "state": "0577812165ed", + "effects": [] + } + }, + { + "id": "tk-provider-load.transport-rejection:persist-teams-settled", + "observation": { + "sender": ["158449a16852", "388e74bd02c8"], + "payloads": ["e19509ebde55", "1fc96e936096"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "a947768bc0ed", + "persist-teams-1": "eb79a9b3682a" + }, + "state": "0577812165ed", + "effects": [] + } + }, + { + "id": "tk-provider-load.transport-rejection:github-page-settled", + "observation": { + "sender": ["158449a16852", "388e74bd02c8", "e27165f1babf"], + "payloads": ["e19509ebde55", "1fc96e936096", "d538188eba86"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "a947768bc0ed", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816" + }, + "state": "0577812165ed", + "effects": [] + } + }, + { + "id": "tk-provider-load.transport-rejection:github-count-settled", + "observation": { + "sender": ["158449a16852", "388e74bd02c8", "e27165f1babf", "14b751028813"], + "payloads": ["e19509ebde55", "1fc96e936096", "d538188eba86", "30b8910febfb"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "a947768bc0ed", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816", + "github-count-3": "413e4f429e18" + }, + "state": "0577812165ed", + "effects": [] + } + }, + { + "id": "tk-provider-load.transport-rejection-no-message:linear-context-settled", + "observation": { + "sender": ["4620b5cc7ae9"], + "payloads": ["e19509ebde55"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "c7584e82c72f" + }, + "state": "0577812165ed", + "effects": [] + } + }, + { + "id": "tk-provider-load.transport-rejection-no-message:persist-teams-settled", + "observation": { + "sender": ["4620b5cc7ae9", "388e74bd02c8"], + "payloads": ["e19509ebde55", "1fc96e936096"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "c7584e82c72f", + "persist-teams-1": "eb79a9b3682a" + }, + "state": "0577812165ed", + "effects": [] + } + }, + { + "id": "tk-provider-load.transport-rejection-no-message:github-page-settled", + "observation": { + "sender": ["4620b5cc7ae9", "388e74bd02c8", "e27165f1babf"], + "payloads": ["e19509ebde55", "1fc96e936096", "d538188eba86"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "c7584e82c72f", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816" + }, + "state": "0577812165ed", + "effects": [] + } + }, + { + "id": "tk-provider-load.transport-rejection-no-message:github-count-settled", + "observation": { + "sender": ["4620b5cc7ae9", "388e74bd02c8", "e27165f1babf", "14b751028813"], + "payloads": ["e19509ebde55", "1fc96e936096", "d538188eba86", "30b8910febfb"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "c7584e82c72f", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816", + "github-count-3": "413e4f429e18" + }, + "state": "0577812165ed", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.provider-load-settings.update-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.provider-load-settings.update-1.json new file mode 100644 index 00000000000..37728777f83 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.provider-load-settings.update-1.json @@ -0,0 +1,1524 @@ +{ + "operation": "tasks.provider-load", + "family": "tasks.provider-load", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "07a15e900363faa25bc364f5bc1c330f96798abfeaed35210428c2ac558586b8", + "scenarioSha256": "2b3006bfe1e7f3040b86ccc698e58ae19ae1aa11389aee2ec2a8f2dfdb0270f4", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "012ba9c9e5d6": { + "name": "settings.update#1", + "args": [ + { + "name": "method", + "value": "settings.update" + }, + { + "name": "params", + "value": { + "defaultLinearTeamSelection": ["team-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 + } + } + }, + "0f9c77bd54ee": { + "name": "github.countWorkItems#1", + "args": [ + { + "name": "method", + "value": "github.countWorkItems" + }, + { + "name": "params", + "value": { + "query": "is:issue bug", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": 4 + } + } + }, + "0faba633b165": { + "name": "selectedLinearWorkspaceId", + "value": "linear-workspace", + "sent": 1 + }, + "1063fa5ae613": { + "name": "settings.update#1", + "args": [ + { + "name": "method", + "value": "settings.update" + }, + { + "name": "params", + "value": { + "defaultLinearTeamSelection": ["team-1"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "3382ae217088": { + "name": "settings.update#1", + "args": [ + { + "name": "method", + "value": "settings.update" + }, + { + "name": "params", + "value": { + "defaultLinearTeamSelection": ["team-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 + } + } + }, + "413e4f429e18": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": 4 + }, + "470fb30cb7ce": { + "name": "settings.update#1", + "args": [ + { + "name": "method", + "value": "settings.update" + }, + { + "name": "params", + "value": { + "defaultLinearTeamSelection": ["team-1"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "49c5fd241816": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "failedCount": 0, + "items": [ + { + "key": "github:repo-1:issue:9", + "provider": "github", + "source": { + "author": { + "$rpc": "null" + }, + "id": "issue:9", + "labels": [], + "number": 9, + "repoId": "repo-1", + "repoName": "Repo", + "state": "open", + "title": "An issue", + "type": "issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "" + }, + "status": "Open", + "subtitle": "Repo #9", + "title": "An issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + } + ], + "sourceErrors": [], + "sourceFallbacks": [], + "sourcesByRepoId": { + "repo-1": { + "issues": "upstream" + } + } + } + }, + "552cce3107ea": { + "name": "linearWorkspaces", + "value": [ + { + "id": "linear-workspace", + "name": "Workspace" + } + ], + "sent": 1 + }, + "67b5ebc67646": { + "connected": true, + "selectedTeams": ["team-1"], + "teams": [ + { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + } + ], + "workspaceId": "linear-workspace", + "workspaces": [ + { + "id": "linear-workspace", + "name": "Workspace" + } + ] + }, + "69d74e72326c": { + "name": "linearConnected", + "value": true, + "sent": 1 + }, + "775d7e2fb99d": { + "name": "linear.status#1", + "args": [ + { + "name": "method", + "value": "linear.status" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "connected": true, + "selectedWorkspaceId": "linear-workspace", + "workspaces": [ + { + "id": "linear-workspace", + "name": "Workspace" + } + ] + } + } + } + }, + "7dabd82642ac": { + "name": "github.listWorkItems#1", + "args": [ + { + "name": "method", + "value": "github.listWorkItems" + }, + { + "name": "params", + "value": { + "before": { + "$rpc": "undefined" + }, + "limit": 36, + "query": "is:issue bug", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "items": [ + { + "author": { + "$rpc": "null" + }, + "id": "issue:9", + "labels": [], + "number": 9, + "state": "open", + "title": "An issue", + "type": "issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "" + } + ], + "sources": { + "issues": "upstream" + } + } + } + } + }, + "8e1216596b9c": { + "name": "linearTeams", + "value": [ + { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + } + ], + "sent": 2 + }, + "a4eafb8182c6": { + "name": "settings.update#1", + "args": [ + { + "name": "method", + "value": "settings.update" + }, + { + "name": "params", + "value": { + "defaultLinearTeamSelection": ["team-1"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "a6bfe3e8ec00": { + "name": "settings.update#1", + "args": [ + { + "name": "method", + "value": "settings.update" + }, + { + "name": "params", + "value": { + "defaultLinearTeamSelection": ["team-1"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "a9c001a4d8d2": { + "name": "linear.listTeams#1", + "args": [ + { + "name": "method", + "value": "linear.listTeams" + }, + { + "name": "params", + "value": { + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": [ + { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + } + ] + } + } + }, + "b13993ed8b00": { + "name": "settings.update#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"settings.update\",\"params\":{\"defaultLinearTeamSelection\":[\"team-1\"]}}" + }, + "b8c3d8a82464": { + "name": "settings.update#1", + "args": [ + { + "name": "method", + "value": "settings.update" + }, + { + "name": "params", + "value": { + "defaultLinearTeamSelection": ["team-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 + } + } + } + }, + "bfba52c22ce2": { + "name": "linear.listTeams#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.listTeams\",\"params\":{\"workspaceId\":\"linear-workspace\"}}" + }, + "c1c057249f99": { + "name": "selectedLinearTeamIds", + "value": ["team-1"], + "sent": 2 + }, + "c1e3ae5492e1": { + "name": "github.countWorkItems#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.countWorkItems\",\"params\":{\"repo\":\"id:repo-1\",\"query\":\"is:issue bug\"}}" + }, + "cddf8f2121df": { + "name": "settings.update#1", + "args": [ + { + "name": "method", + "value": "settings.update" + }, + { + "name": "params", + "value": { + "defaultLinearTeamSelection": ["team-1"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true + } + } + }, + "cf53e1835dc8": { + "name": "github.listWorkItems#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.listWorkItems\",\"params\":{\"repo\":\"id:repo-1\",\"limit\":36,\"query\":\"is:issue bug\"}}" + }, + "dc2afe927f03": { + "name": "settings.update#1", + "args": [ + { + "name": "method", + "value": "settings.update" + }, + { + "name": "params", + "value": { + "defaultLinearTeamSelection": ["team-1"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-3", + "ok": false + } + } + }, + "e0541755540c": { + "name": "settings.update#1", + "args": [ + { + "name": "method", + "value": "settings.update" + }, + { + "name": "params", + "value": { + "defaultLinearTeamSelection": ["team-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 + } + } + } + }, + "e19509ebde55": { + "name": "linear.status#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f53dbb92bca4": { + "name": "settings.update#1", + "args": [ + { + "name": "method", + "value": "settings.update" + }, + { + "name": "params", + "value": { + "defaultLinearTeamSelection": ["team-1"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + } + }, + "recording": { + "scenario": "matrix-tasks.provider-load-settings.update-1", + "checkpoints": [ + { + "id": "tk-provider-load.prelude:linear-context-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2"], + "payloads": ["e19509ebde55", "bfba52c22ce2"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.normal:persist-teams-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2", "a6bfe3e8ec00"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.normal:github-page-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2", "a6bfe3e8ec00", "7dabd82642ac"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00", "cf53e1835dc8"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.normal:github-count-settled", + "observation": { + "sender": [ + "775d7e2fb99d", + "a9c001a4d8d2", + "a6bfe3e8ec00", + "7dabd82642ac", + "0f9c77bd54ee" + ], + "payloads": [ + "e19509ebde55", + "bfba52c22ce2", + "b13993ed8b00", + "cf53e1835dc8", + "c1e3ae5492e1" + ], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816", + "github-count-3": "413e4f429e18" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.result-absent:persist-teams-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2", "cddf8f2121df"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.result-absent:github-page-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2", "cddf8f2121df", "7dabd82642ac"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00", "cf53e1835dc8"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.result-absent:github-count-settled", + "observation": { + "sender": [ + "775d7e2fb99d", + "a9c001a4d8d2", + "cddf8f2121df", + "7dabd82642ac", + "0f9c77bd54ee" + ], + "payloads": [ + "e19509ebde55", + "bfba52c22ce2", + "b13993ed8b00", + "cf53e1835dc8", + "c1e3ae5492e1" + ], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816", + "github-count-3": "413e4f429e18" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.result-null:persist-teams-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2", "1063fa5ae613"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.result-null:github-page-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2", "1063fa5ae613", "7dabd82642ac"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00", "cf53e1835dc8"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.result-null:github-count-settled", + "observation": { + "sender": [ + "775d7e2fb99d", + "a9c001a4d8d2", + "1063fa5ae613", + "7dabd82642ac", + "0f9c77bd54ee" + ], + "payloads": [ + "e19509ebde55", + "bfba52c22ce2", + "b13993ed8b00", + "cf53e1835dc8", + "c1e3ae5492e1" + ], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816", + "github-count-3": "413e4f429e18" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.inner-ok-missing:persist-teams-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2", "470fb30cb7ce"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.inner-ok-missing:github-page-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2", "470fb30cb7ce", "7dabd82642ac"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00", "cf53e1835dc8"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.inner-ok-missing:github-count-settled", + "observation": { + "sender": [ + "775d7e2fb99d", + "a9c001a4d8d2", + "470fb30cb7ce", + "7dabd82642ac", + "0f9c77bd54ee" + ], + "payloads": [ + "e19509ebde55", + "bfba52c22ce2", + "b13993ed8b00", + "cf53e1835dc8", + "c1e3ae5492e1" + ], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816", + "github-count-3": "413e4f429e18" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.inner-false-string-error:persist-teams-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2", "b8c3d8a82464"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.inner-false-string-error:github-page-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2", "b8c3d8a82464", "7dabd82642ac"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00", "cf53e1835dc8"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.inner-false-string-error:github-count-settled", + "observation": { + "sender": [ + "775d7e2fb99d", + "a9c001a4d8d2", + "b8c3d8a82464", + "7dabd82642ac", + "0f9c77bd54ee" + ], + "payloads": [ + "e19509ebde55", + "bfba52c22ce2", + "b13993ed8b00", + "cf53e1835dc8", + "c1e3ae5492e1" + ], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816", + "github-count-3": "413e4f429e18" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.inner-false-object-error:persist-teams-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2", "e0541755540c"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.inner-false-object-error:github-page-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2", "e0541755540c", "7dabd82642ac"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00", "cf53e1835dc8"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.inner-false-object-error:github-count-settled", + "observation": { + "sender": [ + "775d7e2fb99d", + "a9c001a4d8d2", + "e0541755540c", + "7dabd82642ac", + "0f9c77bd54ee" + ], + "payloads": [ + "e19509ebde55", + "bfba52c22ce2", + "b13993ed8b00", + "cf53e1835dc8", + "c1e3ae5492e1" + ], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816", + "github-count-3": "413e4f429e18" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.outer-refused:persist-teams-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2", "3382ae217088"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.outer-refused:github-page-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2", "3382ae217088", "7dabd82642ac"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00", "cf53e1835dc8"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.outer-refused:github-count-settled", + "observation": { + "sender": [ + "775d7e2fb99d", + "a9c001a4d8d2", + "3382ae217088", + "7dabd82642ac", + "0f9c77bd54ee" + ], + "payloads": [ + "e19509ebde55", + "bfba52c22ce2", + "b13993ed8b00", + "cf53e1835dc8", + "c1e3ae5492e1" + ], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816", + "github-count-3": "413e4f429e18" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.outer-refused-no-message:persist-teams-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2", "dc2afe927f03"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.outer-refused-no-message:github-page-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2", "dc2afe927f03", "7dabd82642ac"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00", "cf53e1835dc8"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.outer-refused-no-message:github-count-settled", + "observation": { + "sender": [ + "775d7e2fb99d", + "a9c001a4d8d2", + "dc2afe927f03", + "7dabd82642ac", + "0f9c77bd54ee" + ], + "payloads": [ + "e19509ebde55", + "bfba52c22ce2", + "b13993ed8b00", + "cf53e1835dc8", + "c1e3ae5492e1" + ], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816", + "github-count-3": "413e4f429e18" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.method-not-found:persist-teams-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2", "012ba9c9e5d6"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.method-not-found:github-page-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2", "012ba9c9e5d6", "7dabd82642ac"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00", "cf53e1835dc8"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.method-not-found:github-count-settled", + "observation": { + "sender": [ + "775d7e2fb99d", + "a9c001a4d8d2", + "012ba9c9e5d6", + "7dabd82642ac", + "0f9c77bd54ee" + ], + "payloads": [ + "e19509ebde55", + "bfba52c22ce2", + "b13993ed8b00", + "cf53e1835dc8", + "c1e3ae5492e1" + ], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816", + "github-count-3": "413e4f429e18" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.transport-rejection:persist-teams-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2", "f53dbb92bca4"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.transport-rejection:github-page-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2", "f53dbb92bca4", "7dabd82642ac"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00", "cf53e1835dc8"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.transport-rejection:github-count-settled", + "observation": { + "sender": [ + "775d7e2fb99d", + "a9c001a4d8d2", + "f53dbb92bca4", + "7dabd82642ac", + "0f9c77bd54ee" + ], + "payloads": [ + "e19509ebde55", + "bfba52c22ce2", + "b13993ed8b00", + "cf53e1835dc8", + "c1e3ae5492e1" + ], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816", + "github-count-3": "413e4f429e18" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.transport-rejection-no-message:persist-teams-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2", "a4eafb8182c6"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.transport-rejection-no-message:github-page-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2", "a4eafb8182c6", "7dabd82642ac"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00", "cf53e1835dc8"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "tk-provider-load.transport-rejection-no-message:github-count-settled", + "observation": { + "sender": [ + "775d7e2fb99d", + "a9c001a4d8d2", + "a4eafb8182c6", + "7dabd82642ac", + "0f9c77bd54ee" + ], + "payloads": [ + "e19509ebde55", + "bfba52c22ce2", + "b13993ed8b00", + "cf53e1835dc8", + "c1e3ae5492e1" + ], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816", + "github-count-3": "413e4f429e18" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.smart-source-search-github.listworkitems-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.smart-source-search-github.listworkitems-1.json index f56d0808fa6..2ed0051f607 100644 --- a/mobile/rpc-foundation/goldens/matrix-tasks.smart-source-search-github.listworkitems-1.json +++ b/mobile/rpc-foundation/goldens/matrix-tasks.smart-source-search-github.listworkitems-1.json @@ -3,9 +3,9 @@ "family": "tasks.smart-source-search", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "343b97826782820b7aecaddd13a4c8cdbbbca057c83021863d577a677934f3a3", "scenarioSha256": "ea5c32c4dbb67aae1ebaf809a28104d52d189e5153d9b28285f4d8a6d78753ea", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.smart-source-search-gitlab.listworkitems-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.smart-source-search-gitlab.listworkitems-1.json index 82a1b00570a..7997179a191 100644 --- a/mobile/rpc-foundation/goldens/matrix-tasks.smart-source-search-gitlab.listworkitems-1.json +++ b/mobile/rpc-foundation/goldens/matrix-tasks.smart-source-search-gitlab.listworkitems-1.json @@ -3,9 +3,9 @@ "family": "tasks.smart-source-search", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "343b97826782820b7aecaddd13a4c8cdbbbca057c83021863d577a677934f3a3", "scenarioSha256": "541a282829d3aa5d6b66eeba06e783368f397178ff0d2bdf3e87bccdc62b690f", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.smart-source-search-linear.listissues-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.smart-source-search-linear.listissues-1.json index ca2c35eb8fe..0ea4a32efc3 100644 --- a/mobile/rpc-foundation/goldens/matrix-tasks.smart-source-search-linear.listissues-1.json +++ b/mobile/rpc-foundation/goldens/matrix-tasks.smart-source-search-linear.listissues-1.json @@ -3,9 +3,9 @@ "family": "tasks.smart-source-search", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "343b97826782820b7aecaddd13a4c8cdbbbca057c83021863d577a677934f3a3", "scenarioSha256": "767044526344237daee0a3f981a10615fbb9ebc3f45c2f6f41f9b8b16d362082", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.smart-source-search-linear.searchissues-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.smart-source-search-linear.searchissues-1.json index 103a2851abd..ec24868d714 100644 --- a/mobile/rpc-foundation/goldens/matrix-tasks.smart-source-search-linear.searchissues-1.json +++ b/mobile/rpc-foundation/goldens/matrix-tasks.smart-source-search-linear.searchissues-1.json @@ -3,9 +3,9 @@ "family": "tasks.smart-source-search", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "343b97826782820b7aecaddd13a4c8cdbbbca057c83021863d577a677934f3a3", "scenarioSha256": "40a8ea6a916d4266bd80148e40fd817bbe80cefa02465b88d37c42cebed44f22", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.smart-source-search-repo.searchrefs-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.smart-source-search-repo.searchrefs-1.json index cdb71469a91..b00d5f52b15 100644 --- a/mobile/rpc-foundation/goldens/matrix-tasks.smart-source-search-repo.searchrefs-1.json +++ b/mobile/rpc-foundation/goldens/matrix-tasks.smart-source-search-repo.searchrefs-1.json @@ -3,9 +3,9 @@ "family": "tasks.smart-source-search", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "343b97826782820b7aecaddd13a4c8cdbbbca057c83021863d577a677934f3a3", "scenarioSha256": "aa06630cd902fd5dde5181bddd38f5478ae5b48044a3105b090728158aa9a621", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.task-create-github-github.createissue-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.task-create-github-github.createissue-1.json new file mode 100644 index 00000000000..b1b0f58928a --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.task-create-github-github.createissue-1.json @@ -0,0 +1,1041 @@ +{ + "operation": "tasks.task-create-github", + "family": "tasks.task-create-github", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "07a15e900363faa25bc364f5bc1c330f96798abfeaed35210428c2ac558586b8", + "scenarioSha256": "014040846f649f3c6ca1175b610ed1b51bae3001e7de103549d7ee1a511a2506", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "04fee07f8d96": { + "name": "github.createIssue#1", + "args": [ + { + "name": "method", + "value": "github.createIssue" + }, + { + "name": "params", + "value": { + "body": "a body", + "repo": "id:repo-1", + "title": "A new task" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "06e1643ed0af": { + "name": "github.createIssue#1", + "args": [ + { + "name": "method", + "value": "github.createIssue" + }, + { + "name": "params", + "value": { + "body": "a body", + "repo": "id:repo-1", + "title": "A new task" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "number": 11, + "ok": true, + "url": "https://github.com/owner/repo/issues/11" + } + } + } + }, + "14be26876a89": { + "name": "github.createIssue#1", + "args": [ + { + "name": "method", + "value": "github.createIssue" + }, + { + "name": "params", + "value": { + "body": "a body", + "repo": "id:repo-1", + "title": "A new task" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "1561684e8ae9": { + "name": "github.createIssue#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.createIssue\",\"params\":{\"repo\":\"id:repo-1\",\"title\":\"A new task\",\"body\":\"a body\"}}" + }, + "198ac889ae28": { + "name": "error", + "value": "transport failure", + "sent": 1 + }, + "19bc740e746a": { + "name": "github.createIssue#1", + "args": [ + { + "name": "method", + "value": "github.createIssue" + }, + { + "name": "params", + "value": { + "body": "a body", + "repo": "id:repo-1", + "title": "A new task" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "2924a6b4c745": { + "composer": true, + "creating": false, + "error": "[object Object]", + "item": { + "$rpc": "null" + } + }, + "449fcef41ecc": { + "composer": true, + "creating": false, + "error": "outer refused", + "item": { + "$rpc": "null" + } + }, + "46bbfadb0481": { + "name": "creatingTask", + "value": true, + "sent": 0 + }, + "56ac6af35c46": { + "composer": true, + "creating": false, + "error": "Cannot read properties of undefined (reading 'ok')", + "item": { + "$rpc": "null" + } + }, + "5a343b47b8b2": { + "name": "github.createIssue#1", + "args": [ + { + "name": "method", + "value": "github.createIssue" + }, + { + "name": "params", + "value": { + "body": "a body", + "repo": "id:repo-1", + "title": "A new task" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "5ab5b62983be": { + "composer": false, + "creating": false, + "error": "", + "item": { + "key": "github:repo-1:issue:11", + "provider": "github", + "source": { + "author": { + "$rpc": "null" + }, + "id": "issue:11", + "labels": [], + "number": 11, + "repoId": "repo-1", + "repoName": "Repo", + "state": "open", + "title": "A new task", + "type": "issue", + "updatedAt": "2026-01-01T00:00:00.000Z", + "url": "https://github.com/owner/repo/issues/11" + }, + "status": "Open", + "subtitle": "Repo #11", + "title": "A new task", + "updatedAt": "2026-01-01T00:00:00.000Z" + } + }, + "6652745ed1c6": { + "name": "createBody", + "value": "", + "sent": 1 + }, + "781721955405": { + "name": "showCreateTask", + "value": false, + "sent": 1 + }, + "7d901d60a01a": { + "name": "error", + "value": "[object Object]", + "sent": 1 + }, + "7db197060e39": { + "composer": true, + "creating": false, + "error": "", + "item": { + "$rpc": "null" + } + }, + "873de7fc7ff8": { + "name": "actionItem", + "value": { + "key": "github:repo-1:issue:11", + "provider": "github", + "source": { + "author": { + "$rpc": "null" + }, + "id": "issue:11", + "labels": [], + "number": 11, + "repoId": "repo-1", + "repoName": "Repo", + "state": "open", + "title": "A new task", + "type": "issue", + "updatedAt": "2026-01-01T00:00:00.000Z", + "url": "https://github.com/owner/repo/issues/11" + }, + "status": "Open", + "subtitle": "Repo #11", + "title": "A new task", + "updatedAt": "2026-01-01T00:00:00.000Z" + }, + "sent": 1 + }, + "907da244f26c": { + "name": "github.createIssue#1", + "args": [ + { + "name": "method", + "value": "github.createIssue" + }, + { + "name": "params", + "value": { + "body": "a body", + "repo": "id:repo-1", + "title": "A new task" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "98e33157a9f2": { + "name": "repo.update#1", + "args": [ + { + "name": "method", + "value": "repo.update" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1", + "updates": { + "issueSourcePreference": "upstream" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "b53c339a3854": { + "name": "error", + "value": "Unknown method", + "sent": 1 + }, + "c0c0f9a6037e": { + "name": "createTitle", + "value": "", + "sent": 1 + }, + "c140f66eca23": { + "composer": true, + "creating": false, + "error": "transport failure", + "item": { + "$rpc": "null" + } + }, + "c41296ee02f7": { + "name": "repo.update#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"repo.update\",\"params\":{\"repo\":\"id:repo-1\",\"updates\":{\"issueSourcePreference\":\"upstream\"}}}" + }, + "c4f585980acf": { + "name": "error", + "value": "inner refused", + "sent": 1 + }, + "c939abf83c6c": { + "name": "error", + "value": "Cannot read properties of undefined (reading 'ok')", + "sent": 1 + }, + "cccb7ee799b9": { + "name": "github.createIssue#1", + "args": [ + { + "name": "method", + "value": "github.createIssue" + }, + { + "name": "params", + "value": { + "body": "a body", + "repo": "id:repo-1", + "title": "A new task" + } + }, + { + "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 + } + } + } + }, + "d24a112e43bf": { + "composer": true, + "creating": false, + "error": "Unknown method", + "item": { + "$rpc": "null" + } + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "d6c61589920d": { + "name": "github.createIssue#1", + "args": [ + { + "name": "method", + "value": "github.createIssue" + }, + { + "name": "params", + "value": { + "body": "a body", + "repo": "id:repo-1", + "title": "A new task" + } + }, + { + "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 + } + } + }, + "dc838deee187": { + "name": "github.createIssue#1", + "args": [ + { + "name": "method", + "value": "github.createIssue" + }, + { + "name": "params", + "value": { + "body": "a body", + "repo": "id:repo-1", + "title": "A new task" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "df5721b34b16": { + "composer": false, + "creating": false, + "error": "", + "item": { + "$rpc": "null" + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ed6dd7582b18": { + "name": "github.createIssue#1", + "args": [ + { + "name": "method", + "value": "github.createIssue" + }, + { + "name": "params", + "value": { + "body": "a body", + "repo": "id:repo-1", + "title": "A new task" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "f3ba4c9e02fb": { + "composer": true, + "creating": false, + "error": "Cannot read properties of null (reading 'ok')", + "item": { + "$rpc": "null" + } + }, + "f66dd3cc48cf": { + "name": "github.createIssue#1", + "args": [ + { + "name": "method", + "value": "github.createIssue" + }, + { + "name": "params", + "value": { + "body": "a body", + "repo": "id:repo-1", + "title": "A new task" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "f791567b212f": { + "name": "error", + "value": "outer refused", + "sent": 1 + }, + "faf0249fca3c": { + "name": "error", + "value": "Cannot read properties of null (reading 'ok')", + "sent": 1 + }, + "fc7f792d6e89": { + "name": "creatingTask", + "value": false, + "sent": 1 + }, + "fdd487d7c0f5": { + "composer": true, + "creating": false, + "error": "inner refused", + "item": { + "$rpc": "null" + } + } + }, + "recording": { + "scenario": "matrix-tasks.task-create-github-github.createissue-1", + "checkpoints": [ + { + "id": "tk-create-github.normal:create-settled", + "observation": { + "sender": ["06e1643ed0af"], + "payloads": ["1561684e8ae9"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a" + }, + "state": "5ab5b62983be", + "effects": [ + "46bbfadb0481", + "9e263f5e91be", + "873de7fc7ff8", + "781721955405", + "c0c0f9a6037e", + "6652745ed1c6", + "fc7f792d6e89" + ] + } + }, + { + "id": "tk-create-github.normal:issue-source-settled", + "observation": { + "sender": ["06e1643ed0af", "98e33157a9f2"], + "payloads": ["1561684e8ae9", "c41296ee02f7"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a", + "issue-source-1": "eb79a9b3682a" + }, + "state": "5ab5b62983be", + "effects": [ + "46bbfadb0481", + "9e263f5e91be", + "873de7fc7ff8", + "781721955405", + "c0c0f9a6037e", + "6652745ed1c6", + "fc7f792d6e89", + "d48d5c49486c" + ] + } + }, + { + "id": "tk-create-github.result-absent:create-settled", + "observation": { + "sender": ["5a343b47b8b2"], + "payloads": ["1561684e8ae9"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a" + }, + "state": "56ac6af35c46", + "effects": ["46bbfadb0481", "9e263f5e91be", "c939abf83c6c", "fc7f792d6e89"] + } + }, + { + "id": "tk-create-github.result-absent:issue-source-settled", + "observation": { + "sender": ["5a343b47b8b2", "98e33157a9f2"], + "payloads": ["1561684e8ae9", "c41296ee02f7"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a", + "issue-source-1": "eb79a9b3682a" + }, + "state": "7db197060e39", + "effects": [ + "46bbfadb0481", + "9e263f5e91be", + "c939abf83c6c", + "fc7f792d6e89", + "d48d5c49486c" + ] + } + }, + { + "id": "tk-create-github.result-null:create-settled", + "observation": { + "sender": ["14be26876a89"], + "payloads": ["1561684e8ae9"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a" + }, + "state": "f3ba4c9e02fb", + "effects": ["46bbfadb0481", "9e263f5e91be", "faf0249fca3c", "fc7f792d6e89"] + } + }, + { + "id": "tk-create-github.result-null:issue-source-settled", + "observation": { + "sender": ["14be26876a89", "98e33157a9f2"], + "payloads": ["1561684e8ae9", "c41296ee02f7"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a", + "issue-source-1": "eb79a9b3682a" + }, + "state": "7db197060e39", + "effects": [ + "46bbfadb0481", + "9e263f5e91be", + "faf0249fca3c", + "fc7f792d6e89", + "d48d5c49486c" + ] + } + }, + { + "id": "tk-create-github.inner-ok-missing:create-settled", + "observation": { + "sender": ["ed6dd7582b18"], + "payloads": ["1561684e8ae9"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a" + }, + "state": "df5721b34b16", + "effects": [ + "46bbfadb0481", + "9e263f5e91be", + "781721955405", + "c0c0f9a6037e", + "6652745ed1c6", + "fc7f792d6e89" + ] + } + }, + { + "id": "tk-create-github.inner-ok-missing:issue-source-settled", + "observation": { + "sender": ["ed6dd7582b18", "98e33157a9f2"], + "payloads": ["1561684e8ae9", "c41296ee02f7"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a", + "issue-source-1": "eb79a9b3682a" + }, + "state": "df5721b34b16", + "effects": [ + "46bbfadb0481", + "9e263f5e91be", + "781721955405", + "c0c0f9a6037e", + "6652745ed1c6", + "fc7f792d6e89", + "d48d5c49486c" + ] + } + }, + { + "id": "tk-create-github.inner-false-string-error:create-settled", + "observation": { + "sender": ["04fee07f8d96"], + "payloads": ["1561684e8ae9"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a" + }, + "state": "fdd487d7c0f5", + "effects": ["46bbfadb0481", "9e263f5e91be", "c4f585980acf", "fc7f792d6e89"] + } + }, + { + "id": "tk-create-github.inner-false-string-error:issue-source-settled", + "observation": { + "sender": ["04fee07f8d96", "98e33157a9f2"], + "payloads": ["1561684e8ae9", "c41296ee02f7"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a", + "issue-source-1": "eb79a9b3682a" + }, + "state": "7db197060e39", + "effects": [ + "46bbfadb0481", + "9e263f5e91be", + "c4f585980acf", + "fc7f792d6e89", + "d48d5c49486c" + ] + } + }, + { + "id": "tk-create-github.inner-false-object-error:create-settled", + "observation": { + "sender": ["cccb7ee799b9"], + "payloads": ["1561684e8ae9"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a" + }, + "state": "2924a6b4c745", + "effects": ["46bbfadb0481", "9e263f5e91be", "7d901d60a01a", "fc7f792d6e89"] + } + }, + { + "id": "tk-create-github.inner-false-object-error:issue-source-settled", + "observation": { + "sender": ["cccb7ee799b9", "98e33157a9f2"], + "payloads": ["1561684e8ae9", "c41296ee02f7"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a", + "issue-source-1": "eb79a9b3682a" + }, + "state": "7db197060e39", + "effects": [ + "46bbfadb0481", + "9e263f5e91be", + "7d901d60a01a", + "fc7f792d6e89", + "d48d5c49486c" + ] + } + }, + { + "id": "tk-create-github.outer-refused:create-settled", + "observation": { + "sender": ["19bc740e746a"], + "payloads": ["1561684e8ae9"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a" + }, + "state": "449fcef41ecc", + "effects": ["46bbfadb0481", "9e263f5e91be", "f791567b212f", "fc7f792d6e89"] + } + }, + { + "id": "tk-create-github.outer-refused:issue-source-settled", + "observation": { + "sender": ["19bc740e746a", "98e33157a9f2"], + "payloads": ["1561684e8ae9", "c41296ee02f7"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a", + "issue-source-1": "eb79a9b3682a" + }, + "state": "7db197060e39", + "effects": [ + "46bbfadb0481", + "9e263f5e91be", + "f791567b212f", + "fc7f792d6e89", + "d48d5c49486c" + ] + } + }, + { + "id": "tk-create-github.outer-refused-no-message:create-settled", + "observation": { + "sender": ["f66dd3cc48cf"], + "payloads": ["1561684e8ae9"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a" + }, + "state": "7db197060e39", + "effects": ["46bbfadb0481", "9e263f5e91be", "d48d5c49486c", "fc7f792d6e89"] + } + }, + { + "id": "tk-create-github.outer-refused-no-message:issue-source-settled", + "observation": { + "sender": ["f66dd3cc48cf", "98e33157a9f2"], + "payloads": ["1561684e8ae9", "c41296ee02f7"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a", + "issue-source-1": "eb79a9b3682a" + }, + "state": "7db197060e39", + "effects": [ + "46bbfadb0481", + "9e263f5e91be", + "d48d5c49486c", + "fc7f792d6e89", + "d48d5c49486c" + ] + } + }, + { + "id": "tk-create-github.method-not-found:create-settled", + "observation": { + "sender": ["d6c61589920d"], + "payloads": ["1561684e8ae9"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a" + }, + "state": "d24a112e43bf", + "effects": ["46bbfadb0481", "9e263f5e91be", "b53c339a3854", "fc7f792d6e89"] + } + }, + { + "id": "tk-create-github.method-not-found:issue-source-settled", + "observation": { + "sender": ["d6c61589920d", "98e33157a9f2"], + "payloads": ["1561684e8ae9", "c41296ee02f7"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a", + "issue-source-1": "eb79a9b3682a" + }, + "state": "7db197060e39", + "effects": [ + "46bbfadb0481", + "9e263f5e91be", + "b53c339a3854", + "fc7f792d6e89", + "d48d5c49486c" + ] + } + }, + { + "id": "tk-create-github.transport-rejection:create-settled", + "observation": { + "sender": ["dc838deee187"], + "payloads": ["1561684e8ae9"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a" + }, + "state": "c140f66eca23", + "effects": ["46bbfadb0481", "9e263f5e91be", "198ac889ae28", "fc7f792d6e89"] + } + }, + { + "id": "tk-create-github.transport-rejection:issue-source-settled", + "observation": { + "sender": ["dc838deee187", "98e33157a9f2"], + "payloads": ["1561684e8ae9", "c41296ee02f7"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a", + "issue-source-1": "eb79a9b3682a" + }, + "state": "7db197060e39", + "effects": [ + "46bbfadb0481", + "9e263f5e91be", + "198ac889ae28", + "fc7f792d6e89", + "d48d5c49486c" + ] + } + }, + { + "id": "tk-create-github.transport-rejection-no-message:create-settled", + "observation": { + "sender": ["907da244f26c"], + "payloads": ["1561684e8ae9"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a" + }, + "state": "7db197060e39", + "effects": ["46bbfadb0481", "9e263f5e91be", "d48d5c49486c", "fc7f792d6e89"] + } + }, + { + "id": "tk-create-github.transport-rejection-no-message:issue-source-settled", + "observation": { + "sender": ["907da244f26c", "98e33157a9f2"], + "payloads": ["1561684e8ae9", "c41296ee02f7"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a", + "issue-source-1": "eb79a9b3682a" + }, + "state": "7db197060e39", + "effects": [ + "46bbfadb0481", + "9e263f5e91be", + "d48d5c49486c", + "fc7f792d6e89", + "d48d5c49486c" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.task-create-github-repo.update-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.task-create-github-repo.update-1.json new file mode 100644 index 00000000000..026cc96e2cc --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.task-create-github-repo.update-1.json @@ -0,0 +1,1007 @@ +{ + "operation": "tasks.task-create-github", + "family": "tasks.task-create-github", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "07a15e900363faa25bc364f5bc1c330f96798abfeaed35210428c2ac558586b8", + "scenarioSha256": "9efe74e5a1b0d92f674e6044edfd534693c15b0a153bcb2c0e283a6cd53fa61b", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "000516aa083b": { + "name": "error", + "value": "outer refused", + "sent": 2 + }, + "06e1643ed0af": { + "name": "github.createIssue#1", + "args": [ + { + "name": "method", + "value": "github.createIssue" + }, + { + "name": "params", + "value": { + "body": "a body", + "repo": "id:repo-1", + "title": "A new task" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "number": 11, + "ok": true, + "url": "https://github.com/owner/repo/issues/11" + } + } + } + }, + "0916041d412c": { + "name": "repo.update#1", + "args": [ + { + "name": "method", + "value": "repo.update" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1", + "updates": { + "issueSourcePreference": "upstream" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "1561684e8ae9": { + "name": "github.createIssue#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.createIssue\",\"params\":{\"repo\":\"id:repo-1\",\"title\":\"A new task\",\"body\":\"a body\"}}" + }, + "46bbfadb0481": { + "name": "creatingTask", + "value": true, + "sent": 0 + }, + "52d25e1f3035": { + "name": "error", + "value": "Connection closed", + "sent": 2 + }, + "5ab5b62983be": { + "composer": false, + "creating": false, + "error": "", + "item": { + "key": "github:repo-1:issue:11", + "provider": "github", + "source": { + "author": { + "$rpc": "null" + }, + "id": "issue:11", + "labels": [], + "number": 11, + "repoId": "repo-1", + "repoName": "Repo", + "state": "open", + "title": "A new task", + "type": "issue", + "updatedAt": "2026-01-01T00:00:00.000Z", + "url": "https://github.com/owner/repo/issues/11" + }, + "status": "Open", + "subtitle": "Repo #11", + "title": "A new task", + "updatedAt": "2026-01-01T00:00:00.000Z" + } + }, + "5c2874ad80bc": { + "name": "error", + "value": "transport failure", + "sent": 2 + }, + "6652745ed1c6": { + "name": "createBody", + "value": "", + "sent": 1 + }, + "686238f6a684": { + "name": "repo.update#1", + "args": [ + { + "name": "method", + "value": "repo.update" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1", + "updates": { + "issueSourcePreference": "upstream" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Connection closed", + "isRpcDeliveryUnknown": true + } + } + }, + "781721955405": { + "name": "showCreateTask", + "value": false, + "sent": 1 + }, + "7e23e14f7a3d": { + "name": "repo.update#1", + "args": [ + { + "name": "method", + "value": "repo.update" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1", + "updates": { + "issueSourcePreference": "upstream" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "80dc3e1dd1b7": { + "name": "repo.update#1", + "args": [ + { + "name": "method", + "value": "repo.update" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1", + "updates": { + "issueSourcePreference": "upstream" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "8690f0cd8ed3": { + "name": "repo.update#1", + "args": [ + { + "name": "method", + "value": "repo.update" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1", + "updates": { + "issueSourcePreference": "upstream" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "873de7fc7ff8": { + "name": "actionItem", + "value": { + "key": "github:repo-1:issue:11", + "provider": "github", + "source": { + "author": { + "$rpc": "null" + }, + "id": "issue:11", + "labels": [], + "number": 11, + "repoId": "repo-1", + "repoName": "Repo", + "state": "open", + "title": "A new task", + "type": "issue", + "updatedAt": "2026-01-01T00:00:00.000Z", + "url": "https://github.com/owner/repo/issues/11" + }, + "status": "Open", + "subtitle": "Repo #11", + "title": "A new task", + "updatedAt": "2026-01-01T00:00:00.000Z" + }, + "sent": 1 + }, + "9546ab40f414": { + "name": "repo.update#1", + "args": [ + { + "name": "method", + "value": "repo.update" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1", + "updates": { + "issueSourcePreference": "upstream" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "96a2fa7faef4": { + "name": "repo.update#1", + "args": [ + { + "name": "method", + "value": "repo.update" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1", + "updates": { + "issueSourcePreference": "upstream" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "98e33157a9f2": { + "name": "repo.update#1", + "args": [ + { + "name": "method", + "value": "repo.update" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1", + "updates": { + "issueSourcePreference": "upstream" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "a795619b2c90": { + "name": "repo.update#1", + "args": [ + { + "name": "method", + "value": "repo.update" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1", + "updates": { + "issueSourcePreference": "upstream" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "b57ded8a3ea3": { + "name": "error", + "value": "", + "sent": 2 + }, + "c0c0f9a6037e": { + "name": "createTitle", + "value": "", + "sent": 1 + }, + "c41296ee02f7": { + "name": "repo.update#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"repo.update\",\"params\":{\"repo\":\"id:repo-1\",\"updates\":{\"issueSourcePreference\":\"upstream\"}}}" + }, + "c7d97f6f2602": { + "composer": false, + "creating": false, + "error": "outer refused", + "item": { + "key": "github:repo-1:issue:11", + "provider": "github", + "source": { + "author": { + "$rpc": "null" + }, + "id": "issue:11", + "labels": [], + "number": 11, + "repoId": "repo-1", + "repoName": "Repo", + "state": "open", + "title": "A new task", + "type": "issue", + "updatedAt": "2026-01-01T00:00:00.000Z", + "url": "https://github.com/owner/repo/issues/11" + }, + "status": "Open", + "subtitle": "Repo #11", + "title": "A new task", + "updatedAt": "2026-01-01T00:00:00.000Z" + } + }, + "ce7357abb281": { + "name": "repo.update#1", + "args": [ + { + "name": "method", + "value": "repo.update" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1", + "updates": { + "issueSourcePreference": "upstream" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "d7dccc1f4a58": { + "name": "repo.update#1", + "args": [ + { + "name": "method", + "value": "repo.update" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1", + "updates": { + "issueSourcePreference": "upstream" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "d98907f962cc": { + "composer": false, + "creating": false, + "error": "transport failure", + "item": { + "key": "github:repo-1:issue:11", + "provider": "github", + "source": { + "author": { + "$rpc": "null" + }, + "id": "issue:11", + "labels": [], + "number": 11, + "repoId": "repo-1", + "repoName": "Repo", + "state": "open", + "title": "A new task", + "type": "issue", + "updatedAt": "2026-01-01T00:00:00.000Z", + "url": "https://github.com/owner/repo/issues/11" + }, + "status": "Open", + "subtitle": "Repo #11", + "title": "A new task", + "updatedAt": "2026-01-01T00:00:00.000Z" + } + }, + "e590ae2d0a40": { + "composer": false, + "creating": false, + "error": "Unknown method", + "item": { + "key": "github:repo-1:issue:11", + "provider": "github", + "source": { + "author": { + "$rpc": "null" + }, + "id": "issue:11", + "labels": [], + "number": 11, + "repoId": "repo-1", + "repoName": "Repo", + "state": "open", + "title": "A new task", + "type": "issue", + "updatedAt": "2026-01-01T00:00:00.000Z", + "url": "https://github.com/owner/repo/issues/11" + }, + "status": "Open", + "subtitle": "Repo #11", + "title": "A new task", + "updatedAt": "2026-01-01T00:00:00.000Z" + } + }, + "e9b75be275af": { + "name": "repo.update#1", + "args": [ + { + "name": "method", + "value": "repo.update" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1", + "updates": { + "issueSourcePreference": "upstream" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f1cfc2d1bcc1": { + "name": "error", + "value": "Unknown method", + "sent": 2 + }, + "fc7f792d6e89": { + "name": "creatingTask", + "value": false, + "sent": 1 + } + }, + "recording": { + "scenario": "matrix-tasks.task-create-github-repo.update-1", + "checkpoints": [ + { + "id": "tk-create-github.prelude:create-settled", + "observation": { + "sender": ["06e1643ed0af"], + "payloads": ["1561684e8ae9"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a" + }, + "state": "5ab5b62983be", + "effects": [ + "46bbfadb0481", + "9e263f5e91be", + "873de7fc7ff8", + "781721955405", + "c0c0f9a6037e", + "6652745ed1c6", + "fc7f792d6e89" + ] + } + }, + { + "id": "tk-create-github.prelude:cleanup", + "observation": { + "sender": ["06e1643ed0af", "686238f6a684"], + "payloads": ["1561684e8ae9", "c41296ee02f7"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a", + "issue-source-1": "eb79a9b3682a" + }, + "state": "5ab5b62983be", + "effects": [ + "46bbfadb0481", + "9e263f5e91be", + "873de7fc7ff8", + "781721955405", + "c0c0f9a6037e", + "6652745ed1c6", + "fc7f792d6e89", + "d48d5c49486c", + "52d25e1f3035" + ] + } + }, + { + "id": "tk-create-github.normal:issue-source-settled", + "observation": { + "sender": ["06e1643ed0af", "98e33157a9f2"], + "payloads": ["1561684e8ae9", "c41296ee02f7"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a", + "issue-source-1": "eb79a9b3682a" + }, + "state": "5ab5b62983be", + "effects": [ + "46bbfadb0481", + "9e263f5e91be", + "873de7fc7ff8", + "781721955405", + "c0c0f9a6037e", + "6652745ed1c6", + "fc7f792d6e89", + "d48d5c49486c" + ] + } + }, + { + "id": "tk-create-github.result-absent:issue-source-settled", + "observation": { + "sender": ["06e1643ed0af", "ce7357abb281"], + "payloads": ["1561684e8ae9", "c41296ee02f7"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a", + "issue-source-1": "eb79a9b3682a" + }, + "state": "5ab5b62983be", + "effects": [ + "46bbfadb0481", + "9e263f5e91be", + "873de7fc7ff8", + "781721955405", + "c0c0f9a6037e", + "6652745ed1c6", + "fc7f792d6e89", + "d48d5c49486c" + ] + } + }, + { + "id": "tk-create-github.result-null:issue-source-settled", + "observation": { + "sender": ["06e1643ed0af", "8690f0cd8ed3"], + "payloads": ["1561684e8ae9", "c41296ee02f7"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a", + "issue-source-1": "eb79a9b3682a" + }, + "state": "5ab5b62983be", + "effects": [ + "46bbfadb0481", + "9e263f5e91be", + "873de7fc7ff8", + "781721955405", + "c0c0f9a6037e", + "6652745ed1c6", + "fc7f792d6e89", + "d48d5c49486c" + ] + } + }, + { + "id": "tk-create-github.inner-ok-missing:issue-source-settled", + "observation": { + "sender": ["06e1643ed0af", "0916041d412c"], + "payloads": ["1561684e8ae9", "c41296ee02f7"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a", + "issue-source-1": "eb79a9b3682a" + }, + "state": "5ab5b62983be", + "effects": [ + "46bbfadb0481", + "9e263f5e91be", + "873de7fc7ff8", + "781721955405", + "c0c0f9a6037e", + "6652745ed1c6", + "fc7f792d6e89", + "d48d5c49486c" + ] + } + }, + { + "id": "tk-create-github.inner-false-string-error:issue-source-settled", + "observation": { + "sender": ["06e1643ed0af", "e9b75be275af"], + "payloads": ["1561684e8ae9", "c41296ee02f7"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a", + "issue-source-1": "eb79a9b3682a" + }, + "state": "5ab5b62983be", + "effects": [ + "46bbfadb0481", + "9e263f5e91be", + "873de7fc7ff8", + "781721955405", + "c0c0f9a6037e", + "6652745ed1c6", + "fc7f792d6e89", + "d48d5c49486c" + ] + } + }, + { + "id": "tk-create-github.inner-false-object-error:issue-source-settled", + "observation": { + "sender": ["06e1643ed0af", "a795619b2c90"], + "payloads": ["1561684e8ae9", "c41296ee02f7"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a", + "issue-source-1": "eb79a9b3682a" + }, + "state": "5ab5b62983be", + "effects": [ + "46bbfadb0481", + "9e263f5e91be", + "873de7fc7ff8", + "781721955405", + "c0c0f9a6037e", + "6652745ed1c6", + "fc7f792d6e89", + "d48d5c49486c" + ] + } + }, + { + "id": "tk-create-github.outer-refused:issue-source-settled", + "observation": { + "sender": ["06e1643ed0af", "80dc3e1dd1b7"], + "payloads": ["1561684e8ae9", "c41296ee02f7"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a", + "issue-source-1": "eb79a9b3682a" + }, + "state": "c7d97f6f2602", + "effects": [ + "46bbfadb0481", + "9e263f5e91be", + "873de7fc7ff8", + "781721955405", + "c0c0f9a6037e", + "6652745ed1c6", + "fc7f792d6e89", + "d48d5c49486c", + "000516aa083b" + ] + } + }, + { + "id": "tk-create-github.outer-refused-no-message:issue-source-settled", + "observation": { + "sender": ["06e1643ed0af", "9546ab40f414"], + "payloads": ["1561684e8ae9", "c41296ee02f7"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a", + "issue-source-1": "eb79a9b3682a" + }, + "state": "5ab5b62983be", + "effects": [ + "46bbfadb0481", + "9e263f5e91be", + "873de7fc7ff8", + "781721955405", + "c0c0f9a6037e", + "6652745ed1c6", + "fc7f792d6e89", + "d48d5c49486c", + "b57ded8a3ea3" + ] + } + }, + { + "id": "tk-create-github.method-not-found:issue-source-settled", + "observation": { + "sender": ["06e1643ed0af", "96a2fa7faef4"], + "payloads": ["1561684e8ae9", "c41296ee02f7"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a", + "issue-source-1": "eb79a9b3682a" + }, + "state": "e590ae2d0a40", + "effects": [ + "46bbfadb0481", + "9e263f5e91be", + "873de7fc7ff8", + "781721955405", + "c0c0f9a6037e", + "6652745ed1c6", + "fc7f792d6e89", + "d48d5c49486c", + "f1cfc2d1bcc1" + ] + } + }, + { + "id": "tk-create-github.transport-rejection:issue-source-settled", + "observation": { + "sender": ["06e1643ed0af", "7e23e14f7a3d"], + "payloads": ["1561684e8ae9", "c41296ee02f7"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a", + "issue-source-1": "eb79a9b3682a" + }, + "state": "d98907f962cc", + "effects": [ + "46bbfadb0481", + "9e263f5e91be", + "873de7fc7ff8", + "781721955405", + "c0c0f9a6037e", + "6652745ed1c6", + "fc7f792d6e89", + "d48d5c49486c", + "5c2874ad80bc" + ] + } + }, + { + "id": "tk-create-github.transport-rejection-no-message:issue-source-settled", + "observation": { + "sender": ["06e1643ed0af", "d7dccc1f4a58"], + "payloads": ["1561684e8ae9", "c41296ee02f7"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a", + "issue-source-1": "eb79a9b3682a" + }, + "state": "5ab5b62983be", + "effects": [ + "46bbfadb0481", + "9e263f5e91be", + "873de7fc7ff8", + "781721955405", + "c0c0f9a6037e", + "6652745ed1c6", + "fc7f792d6e89", + "d48d5c49486c", + "b57ded8a3ea3" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.task-create-gitlab-gitlab.createissue-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.task-create-gitlab-gitlab.createissue-1.json new file mode 100644 index 00000000000..e53df12bf02 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.task-create-gitlab-gitlab.createissue-1.json @@ -0,0 +1,776 @@ +{ + "operation": "tasks.task-create-gitlab", + "family": "tasks.task-create-gitlab", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "07a15e900363faa25bc364f5bc1c330f96798abfeaed35210428c2ac558586b8", + "scenarioSha256": "217a3da50a54c4cbe19a68835ecfa038eae5b350430f0b8fd0a616bb5bdfe32d", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "024ef69854e4": { + "name": "gitlab.createIssue#1", + "args": [ + { + "name": "method", + "value": "gitlab.createIssue" + }, + { + "name": "params", + "value": { + "body": "a body", + "repo": "id:repo-1", + "title": "A new task" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "0d4bd84d9af8": { + "name": "gitlab.createIssue#1", + "args": [ + { + "name": "method", + "value": "gitlab.createIssue" + }, + { + "name": "params", + "value": { + "body": "a body", + "repo": "id:repo-1", + "title": "A new task" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "113a07954bbf": { + "name": "gitlab.createIssue#1", + "args": [ + { + "name": "method", + "value": "gitlab.createIssue" + }, + { + "name": "params", + "value": { + "body": "a body", + "repo": "id:repo-1", + "title": "A new task" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "18a89f207b7d": { + "name": "gitlab.createIssue#1", + "args": [ + { + "name": "method", + "value": "gitlab.createIssue" + }, + { + "name": "params", + "value": { + "body": "a body", + "repo": "id:repo-1", + "title": "A new task" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "198ac889ae28": { + "name": "error", + "value": "transport failure", + "sent": 1 + }, + "2924a6b4c745": { + "composer": true, + "creating": false, + "error": "[object Object]", + "item": { + "$rpc": "null" + } + }, + "30a7797f8856": { + "name": "gitlab.createIssue#1", + "args": [ + { + "name": "method", + "value": "gitlab.createIssue" + }, + { + "name": "params", + "value": { + "body": "a body", + "repo": "id:repo-1", + "title": "A new task" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "449fcef41ecc": { + "composer": true, + "creating": false, + "error": "outer refused", + "item": { + "$rpc": "null" + } + }, + "46bbfadb0481": { + "name": "creatingTask", + "value": true, + "sent": 0 + }, + "4ba7d57a0081": { + "name": "gitlab.createIssue#1", + "args": [ + { + "name": "method", + "value": "gitlab.createIssue" + }, + { + "name": "params", + "value": { + "body": "a body", + "repo": "id:repo-1", + "title": "A new task" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "56ac6af35c46": { + "composer": true, + "creating": false, + "error": "Cannot read properties of undefined (reading 'ok')", + "item": { + "$rpc": "null" + } + }, + "580f3724d37b": { + "composer": false, + "creating": false, + "error": "", + "item": { + "key": "gitlab:repo-1:issue:6", + "provider": "gitlab", + "source": { + "author": { + "$rpc": "null" + }, + "id": "issue:6", + "labels": [], + "number": 6, + "repoId": "repo-1", + "repoName": "Repo", + "state": "opened", + "title": "A new task", + "type": "issue", + "updatedAt": "2026-01-01T00:00:00.000Z", + "url": "https://gitlab.com/group/project/-/issues/6" + }, + "status": "Open", + "subtitle": "Repo #6", + "title": "A new task", + "updatedAt": "2026-01-01T00:00:00.000Z" + } + }, + "6652745ed1c6": { + "name": "createBody", + "value": "", + "sent": 1 + }, + "76d47cfabc48": { + "name": "gitlab.createIssue#1", + "args": [ + { + "name": "method", + "value": "gitlab.createIssue" + }, + { + "name": "params", + "value": { + "body": "a body", + "repo": "id:repo-1", + "title": "A new task" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "781721955405": { + "name": "showCreateTask", + "value": false, + "sent": 1 + }, + "7d901d60a01a": { + "name": "error", + "value": "[object Object]", + "sent": 1 + }, + "7db197060e39": { + "composer": true, + "creating": false, + "error": "", + "item": { + "$rpc": "null" + } + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "b53c339a3854": { + "name": "error", + "value": "Unknown method", + "sent": 1 + }, + "be19567941b0": { + "name": "gitlab.createIssue#1", + "args": [ + { + "name": "method", + "value": "gitlab.createIssue" + }, + { + "name": "params", + "value": { + "body": "a body", + "repo": "id:repo-1", + "title": "A new task" + } + }, + { + "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 + } + } + }, + "c0c0f9a6037e": { + "name": "createTitle", + "value": "", + "sent": 1 + }, + "c140f66eca23": { + "composer": true, + "creating": false, + "error": "transport failure", + "item": { + "$rpc": "null" + } + }, + "c4f585980acf": { + "name": "error", + "value": "inner refused", + "sent": 1 + }, + "c939abf83c6c": { + "name": "error", + "value": "Cannot read properties of undefined (reading 'ok')", + "sent": 1 + }, + "c9c89070b638": { + "name": "gitlab.createIssue#1", + "args": [ + { + "name": "method", + "value": "gitlab.createIssue" + }, + { + "name": "params", + "value": { + "body": "a body", + "repo": "id:repo-1", + "title": "A new task" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "number": 6, + "ok": true, + "url": "https://gitlab.com/group/project/-/issues/6" + } + } + } + }, + "d24a112e43bf": { + "composer": true, + "creating": false, + "error": "Unknown method", + "item": { + "$rpc": "null" + } + }, + "d269cd8bfe58": { + "name": "gitlab.createIssue#1", + "args": [ + { + "name": "method", + "value": "gitlab.createIssue" + }, + { + "name": "params", + "value": { + "body": "a body", + "repo": "id:repo-1", + "title": "A new task" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "df5721b34b16": { + "composer": false, + "creating": false, + "error": "", + "item": { + "$rpc": "null" + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f3a202ca5b7c": { + "name": "gitlab.createIssue#1", + "args": [ + { + "name": "method", + "value": "gitlab.createIssue" + }, + { + "name": "params", + "value": { + "body": "a body", + "repo": "id:repo-1", + "title": "A new task" + } + }, + { + "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 + } + } + } + }, + "f3ba4c9e02fb": { + "composer": true, + "creating": false, + "error": "Cannot read properties of null (reading 'ok')", + "item": { + "$rpc": "null" + } + }, + "f4790c11c55e": { + "name": "actionItem", + "value": { + "key": "gitlab:repo-1:issue:6", + "provider": "gitlab", + "source": { + "author": { + "$rpc": "null" + }, + "id": "issue:6", + "labels": [], + "number": 6, + "repoId": "repo-1", + "repoName": "Repo", + "state": "opened", + "title": "A new task", + "type": "issue", + "updatedAt": "2026-01-01T00:00:00.000Z", + "url": "https://gitlab.com/group/project/-/issues/6" + }, + "status": "Open", + "subtitle": "Repo #6", + "title": "A new task", + "updatedAt": "2026-01-01T00:00:00.000Z" + }, + "sent": 1 + }, + "f5bc6cfd470a": { + "name": "gitlab.createIssue#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"gitlab.createIssue\",\"params\":{\"repo\":\"id:repo-1\",\"title\":\"A new task\",\"body\":\"a body\"}}" + }, + "f791567b212f": { + "name": "error", + "value": "outer refused", + "sent": 1 + }, + "faf0249fca3c": { + "name": "error", + "value": "Cannot read properties of null (reading 'ok')", + "sent": 1 + }, + "fc7f792d6e89": { + "name": "creatingTask", + "value": false, + "sent": 1 + }, + "fdd487d7c0f5": { + "composer": true, + "creating": false, + "error": "inner refused", + "item": { + "$rpc": "null" + } + } + }, + "recording": { + "scenario": "matrix-tasks.task-create-gitlab-gitlab.createissue-1", + "checkpoints": [ + { + "id": "tk-create-gitlab.normal:create-settled", + "observation": { + "sender": ["c9c89070b638"], + "payloads": ["f5bc6cfd470a"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a" + }, + "state": "580f3724d37b", + "effects": [ + "46bbfadb0481", + "9e263f5e91be", + "f4790c11c55e", + "781721955405", + "c0c0f9a6037e", + "6652745ed1c6", + "fc7f792d6e89" + ] + } + }, + { + "id": "tk-create-gitlab.result-absent:create-settled", + "observation": { + "sender": ["4ba7d57a0081"], + "payloads": ["f5bc6cfd470a"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a" + }, + "state": "56ac6af35c46", + "effects": ["46bbfadb0481", "9e263f5e91be", "c939abf83c6c", "fc7f792d6e89"] + } + }, + { + "id": "tk-create-gitlab.result-null:create-settled", + "observation": { + "sender": ["30a7797f8856"], + "payloads": ["f5bc6cfd470a"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a" + }, + "state": "f3ba4c9e02fb", + "effects": ["46bbfadb0481", "9e263f5e91be", "faf0249fca3c", "fc7f792d6e89"] + } + }, + { + "id": "tk-create-gitlab.inner-ok-missing:create-settled", + "observation": { + "sender": ["76d47cfabc48"], + "payloads": ["f5bc6cfd470a"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a" + }, + "state": "df5721b34b16", + "effects": [ + "46bbfadb0481", + "9e263f5e91be", + "781721955405", + "c0c0f9a6037e", + "6652745ed1c6", + "fc7f792d6e89" + ] + } + }, + { + "id": "tk-create-gitlab.inner-false-string-error:create-settled", + "observation": { + "sender": ["18a89f207b7d"], + "payloads": ["f5bc6cfd470a"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a" + }, + "state": "fdd487d7c0f5", + "effects": ["46bbfadb0481", "9e263f5e91be", "c4f585980acf", "fc7f792d6e89"] + } + }, + { + "id": "tk-create-gitlab.inner-false-object-error:create-settled", + "observation": { + "sender": ["f3a202ca5b7c"], + "payloads": ["f5bc6cfd470a"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a" + }, + "state": "2924a6b4c745", + "effects": ["46bbfadb0481", "9e263f5e91be", "7d901d60a01a", "fc7f792d6e89"] + } + }, + { + "id": "tk-create-gitlab.outer-refused:create-settled", + "observation": { + "sender": ["d269cd8bfe58"], + "payloads": ["f5bc6cfd470a"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a" + }, + "state": "449fcef41ecc", + "effects": ["46bbfadb0481", "9e263f5e91be", "f791567b212f", "fc7f792d6e89"] + } + }, + { + "id": "tk-create-gitlab.outer-refused-no-message:create-settled", + "observation": { + "sender": ["113a07954bbf"], + "payloads": ["f5bc6cfd470a"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a" + }, + "state": "7db197060e39", + "effects": ["46bbfadb0481", "9e263f5e91be", "d48d5c49486c", "fc7f792d6e89"] + } + }, + { + "id": "tk-create-gitlab.method-not-found:create-settled", + "observation": { + "sender": ["be19567941b0"], + "payloads": ["f5bc6cfd470a"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a" + }, + "state": "d24a112e43bf", + "effects": ["46bbfadb0481", "9e263f5e91be", "b53c339a3854", "fc7f792d6e89"] + } + }, + { + "id": "tk-create-gitlab.transport-rejection:create-settled", + "observation": { + "sender": ["024ef69854e4"], + "payloads": ["f5bc6cfd470a"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a" + }, + "state": "c140f66eca23", + "effects": ["46bbfadb0481", "9e263f5e91be", "198ac889ae28", "fc7f792d6e89"] + } + }, + { + "id": "tk-create-gitlab.transport-rejection-no-message:create-settled", + "observation": { + "sender": ["0d4bd84d9af8"], + "payloads": ["f5bc6cfd470a"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a" + }, + "state": "7db197060e39", + "effects": ["46bbfadb0481", "9e263f5e91be", "d48d5c49486c", "fc7f792d6e89"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.task-create-linear-linear.createissue-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.task-create-linear-linear.createissue-1.json new file mode 100644 index 00000000000..b330f1c7970 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.task-create-linear-linear.createissue-1.json @@ -0,0 +1,801 @@ +{ + "operation": "tasks.task-create-linear", + "family": "tasks.task-create-linear", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "07a15e900363faa25bc364f5bc1c330f96798abfeaed35210428c2ac558586b8", + "scenarioSha256": "cb4c10cc6401e5b68340bd1fa09381c973348b6e0c7ffef563cde92080c57a15", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "05ff43854493": { + "name": "linear.createIssue#1", + "args": [ + { + "name": "method", + "value": "linear.createIssue" + }, + { + "name": "params", + "value": { + "description": "a body", + "teamId": "team-1", + "title": "A new task", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "11915dfdb24a": { + "name": "linear.createIssue#1", + "args": [ + { + "name": "method", + "value": "linear.createIssue" + }, + { + "name": "params", + "value": { + "description": "a body", + "teamId": "team-1", + "title": "A new task", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "id": "issue-3", + "identifier": "ENG-3", + "ok": true, + "title": "A sub-issue", + "url": "" + } + } + } + }, + "15105be3c6cd": { + "name": "linear.createIssue#1", + "args": [ + { + "name": "method", + "value": "linear.createIssue" + }, + { + "name": "params", + "value": { + "description": "a body", + "teamId": "team-1", + "title": "A new task", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "198ac889ae28": { + "name": "error", + "value": "transport failure", + "sent": 1 + }, + "233381f915af": { + "composer": true, + "creating": false, + "error": "refused", + "item": { + "$rpc": "null" + } + }, + "2924a6b4c745": { + "composer": true, + "creating": false, + "error": "[object Object]", + "item": { + "$rpc": "null" + } + }, + "449fcef41ecc": { + "composer": true, + "creating": false, + "error": "outer refused", + "item": { + "$rpc": "null" + } + }, + "46bbfadb0481": { + "name": "creatingTask", + "value": true, + "sent": 0 + }, + "4ed047d2b01f": { + "name": "linear.createIssue#1", + "args": [ + { + "name": "method", + "value": "linear.createIssue" + }, + { + "name": "params", + "value": { + "description": "a body", + "teamId": "team-1", + "title": "A new task", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "563438e5621b": { + "name": "linear.createIssue#1", + "args": [ + { + "name": "method", + "value": "linear.createIssue" + }, + { + "name": "params", + "value": { + "description": "a body", + "teamId": "team-1", + "title": "A new task", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "56ac6af35c46": { + "composer": true, + "creating": false, + "error": "Cannot read properties of undefined (reading 'ok')", + "item": { + "$rpc": "null" + } + }, + "5d4c402302e6": { + "name": "linear.createIssue#1", + "args": [ + { + "name": "method", + "value": "linear.createIssue" + }, + { + "name": "params", + "value": { + "description": "a body", + "teamId": "team-1", + "title": "A new task", + "workspaceId": "linear-workspace" + } + }, + { + "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 + } + } + }, + "5d540849ade8": { + "name": "linear.createIssue#1", + "args": [ + { + "name": "method", + "value": "linear.createIssue" + }, + { + "name": "params", + "value": { + "description": "a body", + "teamId": "team-1", + "title": "A new task", + "workspaceId": "linear-workspace" + } + }, + { + "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 + } + } + } + }, + "6105e77e3945": { + "name": "linear.createIssue#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"linear.createIssue\",\"params\":{\"teamId\":\"team-1\",\"title\":\"A new task\",\"description\":\"a body\",\"workspaceId\":\"linear-workspace\"}}" + }, + "61b2cb7e4313": { + "composer": false, + "creating": false, + "error": "", + "item": { + "key": "linear:linear-workspace:issue-3", + "provider": "linear", + "source": { + "description": "a body", + "id": "issue-3", + "identifier": "ENG-3", + "labels": [], + "priority": 0, + "state": { + "color": "#3b82f6", + "name": "Open", + "type": "unstarted" + }, + "team": { + "id": "team-1", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A sub-issue", + "updatedAt": "2026-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "status": "Open", + "subtitle": "ENG-3 · undefined", + "title": "A sub-issue", + "updatedAt": "2026-01-01T00:00:00.000Z" + } + }, + "6652745ed1c6": { + "name": "createBody", + "value": "", + "sent": 1 + }, + "781721955405": { + "name": "showCreateTask", + "value": false, + "sent": 1 + }, + "7d901d60a01a": { + "name": "error", + "value": "[object Object]", + "sent": 1 + }, + "7db197060e39": { + "composer": true, + "creating": false, + "error": "", + "item": { + "$rpc": "null" + } + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "a85b3f376be7": { + "name": "linear.createIssue#1", + "args": [ + { + "name": "method", + "value": "linear.createIssue" + }, + { + "name": "params", + "value": { + "description": "a body", + "teamId": "team-1", + "title": "A new task", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "b53c339a3854": { + "name": "error", + "value": "Unknown method", + "sent": 1 + }, + "b83a4bfe6154": { + "name": "actionItem", + "value": { + "key": "linear:linear-workspace:issue-3", + "provider": "linear", + "source": { + "description": "a body", + "id": "issue-3", + "identifier": "ENG-3", + "labels": [], + "priority": 0, + "state": { + "color": "#3b82f6", + "name": "Open", + "type": "unstarted" + }, + "team": { + "id": "team-1", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A sub-issue", + "updatedAt": "2026-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "status": "Open", + "subtitle": "ENG-3 · undefined", + "title": "A sub-issue", + "updatedAt": "2026-01-01T00:00:00.000Z" + }, + "sent": 1 + }, + "c0c0f9a6037e": { + "name": "createTitle", + "value": "", + "sent": 1 + }, + "c140f66eca23": { + "composer": true, + "creating": false, + "error": "transport failure", + "item": { + "$rpc": "null" + } + }, + "c35f2a9a380e": { + "name": "linear.createIssue#1", + "args": [ + { + "name": "method", + "value": "linear.createIssue" + }, + { + "name": "params", + "value": { + "description": "a body", + "teamId": "team-1", + "title": "A new task", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "c4f585980acf": { + "name": "error", + "value": "inner refused", + "sent": 1 + }, + "c939abf83c6c": { + "name": "error", + "value": "Cannot read properties of undefined (reading 'ok')", + "sent": 1 + }, + "c9f4aa70819c": { + "name": "error", + "value": "refused", + "sent": 1 + }, + "cba26069f155": { + "name": "linear.createIssue#1", + "args": [ + { + "name": "method", + "value": "linear.createIssue" + }, + { + "name": "params", + "value": { + "description": "a body", + "teamId": "team-1", + "title": "A new task", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "d24a112e43bf": { + "composer": true, + "creating": false, + "error": "Unknown method", + "item": { + "$rpc": "null" + } + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "d9c763f911ff": { + "name": "linear.createIssue#1", + "args": [ + { + "name": "method", + "value": "linear.createIssue" + }, + { + "name": "params", + "value": { + "description": "a body", + "teamId": "team-1", + "title": "A new task", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f3ba4c9e02fb": { + "composer": true, + "creating": false, + "error": "Cannot read properties of null (reading 'ok')", + "item": { + "$rpc": "null" + } + }, + "f791567b212f": { + "name": "error", + "value": "outer refused", + "sent": 1 + }, + "faf0249fca3c": { + "name": "error", + "value": "Cannot read properties of null (reading 'ok')", + "sent": 1 + }, + "fc7f792d6e89": { + "name": "creatingTask", + "value": false, + "sent": 1 + }, + "fdd487d7c0f5": { + "composer": true, + "creating": false, + "error": "inner refused", + "item": { + "$rpc": "null" + } + } + }, + "recording": { + "scenario": "matrix-tasks.task-create-linear-linear.createissue-1", + "checkpoints": [ + { + "id": "tk-create-linear.normal:create-settled", + "observation": { + "sender": ["11915dfdb24a"], + "payloads": ["6105e77e3945"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a" + }, + "state": "61b2cb7e4313", + "effects": [ + "46bbfadb0481", + "9e263f5e91be", + "b83a4bfe6154", + "781721955405", + "c0c0f9a6037e", + "6652745ed1c6", + "fc7f792d6e89" + ] + } + }, + { + "id": "tk-create-linear.result-absent:create-settled", + "observation": { + "sender": ["a85b3f376be7"], + "payloads": ["6105e77e3945"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a" + }, + "state": "56ac6af35c46", + "effects": ["46bbfadb0481", "9e263f5e91be", "c939abf83c6c", "fc7f792d6e89"] + } + }, + { + "id": "tk-create-linear.result-null:create-settled", + "observation": { + "sender": ["cba26069f155"], + "payloads": ["6105e77e3945"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a" + }, + "state": "f3ba4c9e02fb", + "effects": ["46bbfadb0481", "9e263f5e91be", "faf0249fca3c", "fc7f792d6e89"] + } + }, + { + "id": "tk-create-linear.inner-ok-missing:create-settled", + "observation": { + "sender": ["d9c763f911ff"], + "payloads": ["6105e77e3945"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a" + }, + "state": "233381f915af", + "effects": ["46bbfadb0481", "9e263f5e91be", "c9f4aa70819c", "fc7f792d6e89"] + } + }, + { + "id": "tk-create-linear.inner-false-string-error:create-settled", + "observation": { + "sender": ["563438e5621b"], + "payloads": ["6105e77e3945"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a" + }, + "state": "fdd487d7c0f5", + "effects": ["46bbfadb0481", "9e263f5e91be", "c4f585980acf", "fc7f792d6e89"] + } + }, + { + "id": "tk-create-linear.inner-false-object-error:create-settled", + "observation": { + "sender": ["5d540849ade8"], + "payloads": ["6105e77e3945"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a" + }, + "state": "2924a6b4c745", + "effects": ["46bbfadb0481", "9e263f5e91be", "7d901d60a01a", "fc7f792d6e89"] + } + }, + { + "id": "tk-create-linear.outer-refused:create-settled", + "observation": { + "sender": ["4ed047d2b01f"], + "payloads": ["6105e77e3945"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a" + }, + "state": "449fcef41ecc", + "effects": ["46bbfadb0481", "9e263f5e91be", "f791567b212f", "fc7f792d6e89"] + } + }, + { + "id": "tk-create-linear.outer-refused-no-message:create-settled", + "observation": { + "sender": ["05ff43854493"], + "payloads": ["6105e77e3945"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a" + }, + "state": "7db197060e39", + "effects": ["46bbfadb0481", "9e263f5e91be", "d48d5c49486c", "fc7f792d6e89"] + } + }, + { + "id": "tk-create-linear.method-not-found:create-settled", + "observation": { + "sender": ["5d4c402302e6"], + "payloads": ["6105e77e3945"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a" + }, + "state": "d24a112e43bf", + "effects": ["46bbfadb0481", "9e263f5e91be", "b53c339a3854", "fc7f792d6e89"] + } + }, + { + "id": "tk-create-linear.transport-rejection:create-settled", + "observation": { + "sender": ["c35f2a9a380e"], + "payloads": ["6105e77e3945"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a" + }, + "state": "c140f66eca23", + "effects": ["46bbfadb0481", "9e263f5e91be", "198ac889ae28", "fc7f792d6e89"] + } + }, + { + "id": "tk-create-linear.transport-rejection-no-message:create-settled", + "observation": { + "sender": ["15105be3c6cd"], + "payloads": ["6105e77e3945"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a" + }, + "state": "7db197060e39", + "effects": ["46bbfadb0481", "9e263f5e91be", "d48d5c49486c", "fc7f792d6e89"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.task-list-gitlab-items-gitlab.listworkitems-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.task-list-gitlab-items-gitlab.listworkitems-1.json new file mode 100644 index 00000000000..1d79579640a --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.task-list-gitlab-items-gitlab.listworkitems-1.json @@ -0,0 +1,858 @@ +{ + "operation": "tasks.task-list-gitlab-items", + "family": "tasks.task-list-gitlab-items", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "07a15e900363faa25bc364f5bc1c330f96798abfeaed35210428c2ac558586b8", + "scenarioSha256": "038221907a57f5bb25338f9b07a744dbac3ea0a7ea2ba43281f171912f45a586", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "00249d1f38ac": { + "name": "error", + "value": "Cannot read properties of undefined (reading 'error')", + "sent": 1 + }, + "0d5d9243a0de": { + "name": "loading", + "value": false, + "sent": 1 + }, + "113ccfa73078": { + "name": "refreshing", + "value": false, + "sent": 1 + }, + "198ac889ae28": { + "name": "error", + "value": "transport failure", + "sent": 1 + }, + "1aa0fd318b4d": { + "name": "gitlab.listWorkItems#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"gitlab.listWorkItems\",\"params\":{\"repo\":\"id:repo-1\",\"state\":\"opened\",\"page\":1,\"perPage\":50}}" + }, + "1e54d4dce85b": { + "error": "", + "items": [], + "loading": false, + "refreshing": false + }, + "1e5ed7e432ac": { + "name": "gitlab.listWorkItems#1", + "args": [ + { + "name": "method", + "value": "gitlab.listWorkItems" + }, + { + "name": "params", + "value": { + "page": 1, + "perPage": 50, + "query": { + "$rpc": "undefined" + }, + "repo": "id:repo-1", + "state": "opened" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "2af5bdc42011": { + "error": "", + "items": [ + { + "key": "gitlab:repo-1:issue:4", + "provider": "gitlab", + "source": { + "author": { + "$rpc": "null" + }, + "id": "issue:4", + "labels": [], + "number": 4, + "repoId": "repo-1", + "repoName": "Repo", + "state": "opened", + "title": "A GitLab issue", + "type": "issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "" + }, + "status": "Open", + "subtitle": "Repo #4", + "title": "A GitLab issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + } + ], + "loading": false, + "refreshing": false + }, + "2b983fcbc38d": { + "name": "gitlab.listWorkItems#1", + "args": [ + { + "name": "method", + "value": "gitlab.listWorkItems" + }, + { + "name": "params", + "value": { + "page": 1, + "perPage": 50, + "query": { + "$rpc": "undefined" + }, + "repo": "id:repo-1", + "state": "opened" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "40cf838c0930": { + "error": "transport failure", + "items": [], + "loading": false, + "refreshing": false + }, + "419cb453985c": { + "name": "gitlab.listWorkItems#1", + "args": [ + { + "name": "method", + "value": "gitlab.listWorkItems" + }, + { + "name": "params", + "value": { + "page": 1, + "perPage": 50, + "query": { + "$rpc": "undefined" + }, + "repo": "id:repo-1", + "state": "opened" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "4913662b5375": { + "error": "Cannot read properties of undefined (reading 'error')", + "items": [], + "loading": false, + "refreshing": false + }, + "4e5498a4504d": { + "name": "gitlab.listWorkItems#1", + "args": [ + { + "name": "method", + "value": "gitlab.listWorkItems" + }, + { + "name": "params", + "value": { + "page": 1, + "perPage": 50, + "query": { + "$rpc": "undefined" + }, + "repo": "id:repo-1", + "state": "opened" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "4f894b5fafff": { + "error": "Cannot read properties of null (reading 'error')", + "items": [], + "loading": false, + "refreshing": false + }, + "6376c568d60e": { + "name": "items", + "value": [ + { + "key": "gitlab:repo-1:issue:4", + "provider": "gitlab", + "source": { + "author": { + "$rpc": "null" + }, + "id": "issue:4", + "labels": [], + "number": 4, + "repoId": "repo-1", + "repoName": "Repo", + "state": "opened", + "title": "A GitLab issue", + "type": "issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "" + }, + "status": "Open", + "subtitle": "Repo #4", + "title": "A GitLab issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + } + ], + "sent": 1 + }, + "7004b7a6500d": { + "name": "gitlab.listWorkItems#1", + "args": [ + { + "name": "method", + "value": "gitlab.listWorkItems" + }, + { + "name": "params", + "value": { + "page": 1, + "perPage": 50, + "query": { + "$rpc": "undefined" + }, + "repo": "id:repo-1", + "state": "opened" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "820944a2683d": { + "error": "outer refused", + "items": [], + "loading": false, + "refreshing": false + }, + "840a8ad61602": { + "name": "loading", + "value": true, + "sent": 0 + }, + "8f49ffb9283f": { + "name": "gitlab.listWorkItems#1", + "args": [ + { + "name": "method", + "value": "gitlab.listWorkItems" + }, + { + "name": "params", + "value": { + "page": 1, + "perPage": 50, + "query": { + "$rpc": "undefined" + }, + "repo": "id:repo-1", + "state": "opened" + } + }, + { + "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 + } + } + } + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "a1227cfc5f6f": { + "name": "gitlab.listWorkItems#1", + "args": [ + { + "name": "method", + "value": "gitlab.listWorkItems" + }, + { + "name": "params", + "value": { + "page": 1, + "perPage": 50, + "query": { + "$rpc": "undefined" + }, + "repo": "id:repo-1", + "state": "opened" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "ab719c7d6745": { + "name": "error", + "value": "Cannot read properties of null (reading 'error')", + "sent": 1 + }, + "b53c339a3854": { + "name": "error", + "value": "Unknown method", + "sent": 1 + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "d619074f1bad": { + "name": "gitlab.listWorkItems#1", + "args": [ + { + "name": "method", + "value": "gitlab.listWorkItems" + }, + { + "name": "params", + "value": { + "page": 1, + "perPage": 50, + "query": { + "$rpc": "undefined" + }, + "repo": "id:repo-1", + "state": "opened" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "items": [ + { + "author": { + "$rpc": "null" + }, + "id": "issue:4", + "labels": [], + "number": 4, + "state": "opened", + "title": "A GitLab issue", + "type": "issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "" + } + ] + } + } + } + }, + "de063770d896": { + "name": "gitlab.listWorkItems#1", + "args": [ + { + "name": "method", + "value": "gitlab.listWorkItems" + }, + { + "name": "params", + "value": { + "page": 1, + "perPage": 50, + "query": { + "$rpc": "undefined" + }, + "repo": "id:repo-1", + "state": "opened" + } + }, + { + "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 + } + } + }, + "e05aac477495": { + "name": "gitlab.listWorkItems#1", + "args": [ + { + "name": "method", + "value": "gitlab.listWorkItems" + }, + { + "name": "params", + "value": { + "page": 1, + "perPage": 50, + "query": { + "$rpc": "undefined" + }, + "repo": "id:repo-1", + "state": "opened" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "e14451e7d576": { + "name": "items", + "value": [], + "sent": 1 + }, + "e63d2b109969": { + "name": "error", + "value": "Cannot read properties of undefined (reading 'map')", + "sent": 1 + }, + "ea8f8e0b6ecc": { + "name": "gitlab.listWorkItems#1", + "args": [ + { + "name": "method", + "value": "gitlab.listWorkItems" + }, + { + "name": "params", + "value": { + "page": 1, + "perPage": 50, + "query": { + "$rpc": "undefined" + }, + "repo": "id:repo-1", + "state": "opened" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f11183466799": { + "error": "Unknown method", + "items": [], + "loading": false, + "refreshing": false + }, + "f791567b212f": { + "name": "error", + "value": "outer refused", + "sent": 1 + }, + "f8405106f8fb": { + "error": "Cannot read properties of undefined (reading 'map')", + "items": [], + "loading": false, + "refreshing": false + } + }, + "recording": { + "scenario": "matrix-tasks.task-list-gitlab-items-gitlab.listworkitems-1", + "checkpoints": [ + { + "id": "tk-list-gitlab-items.normal:load-settled", + "observation": { + "sender": ["d619074f1bad"], + "payloads": ["1aa0fd318b4d"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a" + }, + "state": "2af5bdc42011", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "6376c568d60e", + "d48d5c49486c", + "0d5d9243a0de", + "113ccfa73078" + ] + } + }, + { + "id": "tk-list-gitlab-items.result-absent:load-settled", + "observation": { + "sender": ["e05aac477495"], + "payloads": ["1aa0fd318b4d"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a" + }, + "state": "4913662b5375", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "00249d1f38ac", + "0d5d9243a0de", + "113ccfa73078" + ] + } + }, + { + "id": "tk-list-gitlab-items.result-null:load-settled", + "observation": { + "sender": ["419cb453985c"], + "payloads": ["1aa0fd318b4d"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a" + }, + "state": "4f894b5fafff", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "ab719c7d6745", + "0d5d9243a0de", + "113ccfa73078" + ] + } + }, + { + "id": "tk-list-gitlab-items.inner-ok-missing:load-settled", + "observation": { + "sender": ["ea8f8e0b6ecc"], + "payloads": ["1aa0fd318b4d"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a" + }, + "state": "f8405106f8fb", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "e63d2b109969", + "0d5d9243a0de", + "113ccfa73078" + ] + } + }, + { + "id": "tk-list-gitlab-items.inner-false-string-error:load-settled", + "observation": { + "sender": ["1e5ed7e432ac"], + "payloads": ["1aa0fd318b4d"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a" + }, + "state": "f8405106f8fb", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "e63d2b109969", + "0d5d9243a0de", + "113ccfa73078" + ] + } + }, + { + "id": "tk-list-gitlab-items.inner-false-object-error:load-settled", + "observation": { + "sender": ["8f49ffb9283f"], + "payloads": ["1aa0fd318b4d"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a" + }, + "state": "f8405106f8fb", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "e63d2b109969", + "0d5d9243a0de", + "113ccfa73078" + ] + } + }, + { + "id": "tk-list-gitlab-items.outer-refused:load-settled", + "observation": { + "sender": ["4e5498a4504d"], + "payloads": ["1aa0fd318b4d"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a" + }, + "state": "820944a2683d", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "f791567b212f", + "0d5d9243a0de", + "113ccfa73078" + ] + } + }, + { + "id": "tk-list-gitlab-items.outer-refused-no-message:load-settled", + "observation": { + "sender": ["7004b7a6500d"], + "payloads": ["1aa0fd318b4d"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a" + }, + "state": "1e54d4dce85b", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "d48d5c49486c", + "0d5d9243a0de", + "113ccfa73078" + ] + } + }, + { + "id": "tk-list-gitlab-items.method-not-found:load-settled", + "observation": { + "sender": ["de063770d896"], + "payloads": ["1aa0fd318b4d"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a" + }, + "state": "f11183466799", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "b53c339a3854", + "0d5d9243a0de", + "113ccfa73078" + ] + } + }, + { + "id": "tk-list-gitlab-items.transport-rejection:load-settled", + "observation": { + "sender": ["a1227cfc5f6f"], + "payloads": ["1aa0fd318b4d"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a" + }, + "state": "40cf838c0930", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "198ac889ae28", + "0d5d9243a0de", + "113ccfa73078" + ] + } + }, + { + "id": "tk-list-gitlab-items.transport-rejection-no-message:load-settled", + "observation": { + "sender": ["2b983fcbc38d"], + "payloads": ["1aa0fd318b4d"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a" + }, + "state": "1e54d4dce85b", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "d48d5c49486c", + "0d5d9243a0de", + "113ccfa73078" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.task-list-gitlab-todos-gitlab.todos-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.task-list-gitlab-todos-gitlab.todos-1.json new file mode 100644 index 00000000000..1f5c2ef262e --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.task-list-gitlab-todos-gitlab.todos-1.json @@ -0,0 +1,717 @@ +{ + "operation": "tasks.task-list-gitlab-todos", + "family": "tasks.task-list-gitlab-todos", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "07a15e900363faa25bc364f5bc1c330f96798abfeaed35210428c2ac558586b8", + "scenarioSha256": "8b0b64a6a0ef6e1cc6baa28e632fd3394a6c8b825f0835daa9634fa41c8685aa", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0d5d9243a0de": { + "name": "loading", + "value": false, + "sent": 1 + }, + "113ccfa73078": { + "name": "refreshing", + "value": false, + "sent": 1 + }, + "18d425aa3cf4": { + "name": "gitlab.todos#1", + "args": [ + { + "name": "method", + "value": "gitlab.todos" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": [ + { + "id": 1, + "target": { + "id": "gid://1", + "iid": 4, + "state": "opened", + "title": "A GitLab todo", + "updatedAt": "2020-01-01T00:00:00.000Z", + "webUrl": "" + }, + "targetType": "Issue" + } + ] + } + } + }, + "198ac889ae28": { + "name": "error", + "value": "transport failure", + "sent": 1 + }, + "1e54d4dce85b": { + "error": "", + "items": [], + "loading": false, + "refreshing": false + }, + "2208436ca985": { + "name": "gitlab.todos#1", + "args": [ + { + "name": "method", + "value": "gitlab.todos" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "40cf838c0930": { + "error": "transport failure", + "items": [], + "loading": false, + "refreshing": false + }, + "4f3df06d0fe2": { + "name": "gitlab.todos#1", + "args": [ + { + "name": "method", + "value": "gitlab.todos" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "5c350e5e01df": { + "name": "gitlab.todos#1", + "args": [ + { + "name": "method", + "value": "gitlab.todos" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "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 + } + } + }, + "69875bf5c56e": { + "name": "gitlab.todos#1", + "args": [ + { + "name": "method", + "value": "gitlab.todos" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "6b4fc5bbf611": { + "name": "gitlab.todos#1", + "args": [ + { + "name": "method", + "value": "gitlab.todos" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "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 + } + } + } + }, + "6c44b5a8c3d7": { + "name": "error", + "value": "(response.result ?? []).map is not a function", + "sent": 1 + }, + "7568bcd9554a": { + "name": "gitlab.todos#1", + "args": [ + { + "name": "method", + "value": "gitlab.todos" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "7dc14a940033": { + "name": "gitlab.todos#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"gitlab.todos\",\"params\":{\"repo\":\"id:repo-1\"}}" + }, + "820944a2683d": { + "error": "outer refused", + "items": [], + "loading": false, + "refreshing": false + }, + "840a8ad61602": { + "name": "loading", + "value": true, + "sent": 0 + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "a83ece45b46c": { + "name": "gitlab.todos#1", + "args": [ + { + "name": "method", + "value": "gitlab.todos" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "b53c339a3854": { + "name": "error", + "value": "Unknown method", + "sent": 1 + }, + "d42aae748963": { + "name": "error", + "value": "Cannot read properties of undefined (reading 'replace')", + "sent": 1 + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "d906463f9ef4": { + "name": "gitlab.todos#1", + "args": [ + { + "name": "method", + "value": "gitlab.todos" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "dec499c359f8": { + "name": "gitlab.todos#1", + "args": [ + { + "name": "method", + "value": "gitlab.todos" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "e14451e7d576": { + "name": "items", + "value": [], + "sent": 1 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f0df2712eb78": { + "error": "(response.result ?? []).map is not a function", + "items": [], + "loading": false, + "refreshing": false + }, + "f11183466799": { + "error": "Unknown method", + "items": [], + "loading": false, + "refreshing": false + }, + "f3c9c0f2af33": { + "name": "gitlab.todos#1", + "args": [ + { + "name": "method", + "value": "gitlab.todos" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "f791567b212f": { + "name": "error", + "value": "outer refused", + "sent": 1 + }, + "f7da7040be7b": { + "error": "Cannot read properties of undefined (reading 'replace')", + "items": [], + "loading": false, + "refreshing": false + } + }, + "recording": { + "scenario": "matrix-tasks.task-list-gitlab-todos-gitlab.todos-1", + "checkpoints": [ + { + "id": "tk-list-gitlab-todos.normal:load-settled", + "observation": { + "sender": ["18d425aa3cf4"], + "payloads": ["7dc14a940033"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a" + }, + "state": "f7da7040be7b", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "d42aae748963", + "0d5d9243a0de", + "113ccfa73078" + ] + } + }, + { + "id": "tk-list-gitlab-todos.result-absent:load-settled", + "observation": { + "sender": ["d906463f9ef4"], + "payloads": ["7dc14a940033"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a" + }, + "state": "1e54d4dce85b", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "0d5d9243a0de", + "113ccfa73078" + ] + } + }, + { + "id": "tk-list-gitlab-todos.result-null:load-settled", + "observation": { + "sender": ["7568bcd9554a"], + "payloads": ["7dc14a940033"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a" + }, + "state": "1e54d4dce85b", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "0d5d9243a0de", + "113ccfa73078" + ] + } + }, + { + "id": "tk-list-gitlab-todos.inner-ok-missing:load-settled", + "observation": { + "sender": ["2208436ca985"], + "payloads": ["7dc14a940033"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a" + }, + "state": "f0df2712eb78", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "6c44b5a8c3d7", + "0d5d9243a0de", + "113ccfa73078" + ] + } + }, + { + "id": "tk-list-gitlab-todos.inner-false-string-error:load-settled", + "observation": { + "sender": ["a83ece45b46c"], + "payloads": ["7dc14a940033"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a" + }, + "state": "f0df2712eb78", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "6c44b5a8c3d7", + "0d5d9243a0de", + "113ccfa73078" + ] + } + }, + { + "id": "tk-list-gitlab-todos.inner-false-object-error:load-settled", + "observation": { + "sender": ["6b4fc5bbf611"], + "payloads": ["7dc14a940033"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a" + }, + "state": "f0df2712eb78", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "6c44b5a8c3d7", + "0d5d9243a0de", + "113ccfa73078" + ] + } + }, + { + "id": "tk-list-gitlab-todos.outer-refused:load-settled", + "observation": { + "sender": ["69875bf5c56e"], + "payloads": ["7dc14a940033"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a" + }, + "state": "820944a2683d", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "f791567b212f", + "0d5d9243a0de", + "113ccfa73078" + ] + } + }, + { + "id": "tk-list-gitlab-todos.outer-refused-no-message:load-settled", + "observation": { + "sender": ["f3c9c0f2af33"], + "payloads": ["7dc14a940033"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a" + }, + "state": "1e54d4dce85b", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "d48d5c49486c", + "0d5d9243a0de", + "113ccfa73078" + ] + } + }, + { + "id": "tk-list-gitlab-todos.method-not-found:load-settled", + "observation": { + "sender": ["5c350e5e01df"], + "payloads": ["7dc14a940033"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a" + }, + "state": "f11183466799", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "b53c339a3854", + "0d5d9243a0de", + "113ccfa73078" + ] + } + }, + { + "id": "tk-list-gitlab-todos.transport-rejection:load-settled", + "observation": { + "sender": ["dec499c359f8"], + "payloads": ["7dc14a940033"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a" + }, + "state": "40cf838c0930", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "198ac889ae28", + "0d5d9243a0de", + "113ccfa73078" + ] + } + }, + { + "id": "tk-list-gitlab-todos.transport-rejection-no-message:load-settled", + "observation": { + "sender": ["4f3df06d0fe2"], + "payloads": ["7dc14a940033"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a" + }, + "state": "1e54d4dce85b", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "d48d5c49486c", + "0d5d9243a0de", + "113ccfa73078" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.task-list-linear-linear.listissues-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.task-list-linear-linear.listissues-1.json new file mode 100644 index 00000000000..7b6c95cd443 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.task-list-linear-linear.listissues-1.json @@ -0,0 +1,1482 @@ +{ + "operation": "tasks.task-list-linear", + "family": "tasks.task-list-linear", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "07a15e900363faa25bc364f5bc1c330f96798abfeaed35210428c2ac558586b8", + "scenarioSha256": "39ef28af17e4d3774b42bba1555606770667bc9010692fb1a4492413a940c0a0", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0268db3b80ae": { + "name": "error", + "value": "Unexpected Linear tasks response", + "sent": 1 + }, + "0702970f0d11": { + "name": "linear.listIssues#1", + "args": [ + { + "name": "method", + "value": "linear.listIssues" + }, + { + "name": "params", + "value": { + "filter": "all", + "limit": 50, + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "08bef4b19381": { + "name": "linear.listIssues#1", + "args": [ + { + "name": "method", + "value": "linear.listIssues" + }, + { + "name": "params", + "value": { + "filter": "all", + "limit": 50, + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "0d5d9243a0de": { + "name": "loading", + "value": false, + "sent": 1 + }, + "0eeb8394ee6b": { + "name": "linear.listIssues#1", + "args": [ + { + "name": "method", + "value": "linear.listIssues" + }, + { + "name": "params", + "value": { + "filter": "all", + "limit": 50, + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "113ccfa73078": { + "name": "refreshing", + "value": false, + "sent": 1 + }, + "198ac889ae28": { + "name": "error", + "value": "transport failure", + "sent": 1 + }, + "1baae818a7fc": { + "name": "linear.listIssues#1", + "args": [ + { + "name": "method", + "value": "linear.listIssues" + }, + { + "name": "params", + "value": { + "filter": "all", + "limit": 50, + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "1e54d4dce85b": { + "error": "", + "items": [], + "loading": false, + "refreshing": false + }, + "1e90b9de179e": { + "name": "linear.listIssues#1", + "args": [ + { + "name": "method", + "value": "linear.listIssues" + }, + { + "name": "params", + "value": { + "filter": "all", + "limit": 50, + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "2ca7c411bba8": { + "error": "Unexpected Linear tasks response", + "items": [], + "loading": false, + "refreshing": false + }, + "3edde845aed1": { + "error": "", + "items": [ + { + "key": "linear:linear-workspace:issue-2", + "provider": "linear", + "source": { + "description": "", + "id": "issue-2", + "identifier": "ENG-2", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A found issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + }, + "status": "Todo", + "subtitle": "ENG-2 · Engineering", + "title": "A found issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + } + ], + "loading": false, + "refreshing": false + }, + "40cf838c0930": { + "error": "transport failure", + "items": [], + "loading": false, + "refreshing": false + }, + "43741bb75841": { + "name": "linear.listIssues#1", + "args": [ + { + "name": "method", + "value": "linear.listIssues" + }, + { + "name": "params", + "value": { + "filter": "all", + "limit": 50, + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "5494ca4c103e": { + "name": "linear.searchIssues#1", + "args": [ + { + "name": "method", + "value": "linear.searchIssues" + }, + { + "name": "params", + "value": { + "limit": 50, + "query": "bug", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": [ + { + "description": "", + "id": "issue-2", + "identifier": "ENG-2", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A found issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + } + ] + } + } + }, + "558093fad68c": { + "name": "linear.listIssues#1", + "args": [ + { + "name": "method", + "value": "linear.listIssues" + }, + { + "name": "params", + "value": { + "filter": "all", + "limit": 50, + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "5b8a2e3e390d": { + "name": "linear.listIssues#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"linear.listIssues\",\"params\":{\"filter\":\"all\",\"limit\":50,\"workspaceId\":\"linear-workspace\"}}" + }, + "6143a28f5226": { + "name": "loading", + "value": true, + "sent": 1 + }, + "6aef1122a560": { + "name": "linear.listIssues#1", + "args": [ + { + "name": "method", + "value": "linear.listIssues" + }, + { + "name": "params", + "value": { + "filter": "all", + "limit": 50, + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "6fafebd34f71": { + "name": "items", + "value": [ + { + "key": "linear:linear-workspace:issue-2", + "provider": "linear", + "source": { + "description": "", + "id": "issue-2", + "identifier": "ENG-2", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A found issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + }, + "status": "Todo", + "subtitle": "ENG-2 · Engineering", + "title": "A found issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + } + ], + "sent": 2 + }, + "820944a2683d": { + "error": "outer refused", + "items": [], + "loading": false, + "refreshing": false + }, + "840a8ad61602": { + "name": "loading", + "value": true, + "sent": 0 + }, + "86aeb72f48eb": { + "name": "linear.listIssues#1", + "args": [ + { + "name": "method", + "value": "linear.listIssues" + }, + { + "name": "params", + "value": { + "filter": "all", + "limit": 50, + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "items": [ + { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A Linear issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + } + ] + } + } + } + }, + "8780e3ee6661": { + "name": "linear.searchIssues#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.searchIssues\",\"params\":{\"query\":\"bug\",\"limit\":50,\"workspaceId\":\"linear-workspace\"}}" + }, + "92c28468d7be": { + "name": "refreshing", + "value": false, + "sent": 2 + }, + "94f44b229d7d": { + "error": "", + "items": [ + { + "key": "linear:linear-workspace:issue-1", + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A Linear issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + }, + "status": "Todo", + "subtitle": "ENG-1 · Engineering", + "title": "A Linear issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + } + ], + "loading": false, + "refreshing": false + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "b53c339a3854": { + "name": "error", + "value": "Unknown method", + "sent": 1 + }, + "c18939a47320": { + "name": "linear.listIssues#1", + "args": [ + { + "name": "method", + "value": "linear.listIssues" + }, + { + "name": "params", + "value": { + "filter": "all", + "limit": 50, + "workspaceId": "linear-workspace" + } + }, + { + "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 + } + } + } + }, + "c9db7514f5c5": { + "name": "loading", + "value": false, + "sent": 2 + }, + "d38da15695fc": { + "name": "linear.listIssues#1", + "args": [ + { + "name": "method", + "value": "linear.listIssues" + }, + { + "name": "params", + "value": { + "filter": "all", + "limit": 50, + "workspaceId": "linear-workspace" + } + }, + { + "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 + } + } + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "e14451e7d576": { + "name": "items", + "value": [], + "sent": 1 + }, + "e1bd9a521877": { + "name": "items", + "value": [ + { + "key": "linear:linear-workspace:issue-1", + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A Linear issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + }, + "status": "Todo", + "subtitle": "ENG-1 · Engineering", + "title": "A Linear issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + } + ], + "sent": 1 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f11183466799": { + "error": "Unknown method", + "items": [], + "loading": false, + "refreshing": false + }, + "f791567b212f": { + "name": "error", + "value": "outer refused", + "sent": 1 + } + }, + "recording": { + "scenario": "matrix-tasks.task-list-linear-linear.listissues-1", + "checkpoints": [ + { + "id": "tk-list-linear.normal:load-settled", + "observation": { + "sender": ["86aeb72f48eb"], + "payloads": ["5b8a2e3e390d"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a" + }, + "state": "94f44b229d7d", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e1bd9a521877", + "0d5d9243a0de", + "113ccfa73078" + ] + } + }, + { + "id": "tk-list-linear.normal:set-query-done", + "observation": { + "sender": ["86aeb72f48eb"], + "payloads": ["5b8a2e3e390d"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a", + "set-query-1": "eb79a9b3682a" + }, + "state": "94f44b229d7d", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e1bd9a521877", + "0d5d9243a0de", + "113ccfa73078" + ] + } + }, + { + "id": "tk-list-linear.normal:load-settled", + "observation": { + "sender": ["86aeb72f48eb", "5494ca4c103e"], + "payloads": ["5b8a2e3e390d", "8780e3ee6661"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a", + "set-query-1": "eb79a9b3682a", + "load-2": "eb79a9b3682a" + }, + "state": "3edde845aed1", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e1bd9a521877", + "0d5d9243a0de", + "113ccfa73078", + "d48d5c49486c", + "6143a28f5226", + "6fafebd34f71", + "c9db7514f5c5", + "92c28468d7be" + ] + } + }, + { + "id": "tk-list-linear.result-absent:load-settled", + "observation": { + "sender": ["43741bb75841"], + "payloads": ["5b8a2e3e390d"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a" + }, + "state": "2ca7c411bba8", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "0268db3b80ae", + "0d5d9243a0de", + "113ccfa73078" + ] + } + }, + { + "id": "tk-list-linear.result-absent:set-query-done", + "observation": { + "sender": ["43741bb75841"], + "payloads": ["5b8a2e3e390d"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a", + "set-query-1": "eb79a9b3682a" + }, + "state": "2ca7c411bba8", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "0268db3b80ae", + "0d5d9243a0de", + "113ccfa73078" + ] + } + }, + { + "id": "tk-list-linear.result-absent:load-settled", + "observation": { + "sender": ["43741bb75841", "5494ca4c103e"], + "payloads": ["5b8a2e3e390d", "8780e3ee6661"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a", + "set-query-1": "eb79a9b3682a", + "load-2": "eb79a9b3682a" + }, + "state": "3edde845aed1", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "0268db3b80ae", + "0d5d9243a0de", + "113ccfa73078", + "d48d5c49486c", + "6143a28f5226", + "6fafebd34f71", + "c9db7514f5c5", + "92c28468d7be" + ] + } + }, + { + "id": "tk-list-linear.result-null:load-settled", + "observation": { + "sender": ["0eeb8394ee6b"], + "payloads": ["5b8a2e3e390d"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a" + }, + "state": "2ca7c411bba8", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "0268db3b80ae", + "0d5d9243a0de", + "113ccfa73078" + ] + } + }, + { + "id": "tk-list-linear.result-null:set-query-done", + "observation": { + "sender": ["0eeb8394ee6b"], + "payloads": ["5b8a2e3e390d"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a", + "set-query-1": "eb79a9b3682a" + }, + "state": "2ca7c411bba8", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "0268db3b80ae", + "0d5d9243a0de", + "113ccfa73078" + ] + } + }, + { + "id": "tk-list-linear.result-null:load-settled", + "observation": { + "sender": ["0eeb8394ee6b", "5494ca4c103e"], + "payloads": ["5b8a2e3e390d", "8780e3ee6661"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a", + "set-query-1": "eb79a9b3682a", + "load-2": "eb79a9b3682a" + }, + "state": "3edde845aed1", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "0268db3b80ae", + "0d5d9243a0de", + "113ccfa73078", + "d48d5c49486c", + "6143a28f5226", + "6fafebd34f71", + "c9db7514f5c5", + "92c28468d7be" + ] + } + }, + { + "id": "tk-list-linear.inner-ok-missing:load-settled", + "observation": { + "sender": ["558093fad68c"], + "payloads": ["5b8a2e3e390d"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a" + }, + "state": "2ca7c411bba8", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "0268db3b80ae", + "0d5d9243a0de", + "113ccfa73078" + ] + } + }, + { + "id": "tk-list-linear.inner-ok-missing:set-query-done", + "observation": { + "sender": ["558093fad68c"], + "payloads": ["5b8a2e3e390d"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a", + "set-query-1": "eb79a9b3682a" + }, + "state": "2ca7c411bba8", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "0268db3b80ae", + "0d5d9243a0de", + "113ccfa73078" + ] + } + }, + { + "id": "tk-list-linear.inner-ok-missing:load-settled", + "observation": { + "sender": ["558093fad68c", "5494ca4c103e"], + "payloads": ["5b8a2e3e390d", "8780e3ee6661"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a", + "set-query-1": "eb79a9b3682a", + "load-2": "eb79a9b3682a" + }, + "state": "3edde845aed1", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "0268db3b80ae", + "0d5d9243a0de", + "113ccfa73078", + "d48d5c49486c", + "6143a28f5226", + "6fafebd34f71", + "c9db7514f5c5", + "92c28468d7be" + ] + } + }, + { + "id": "tk-list-linear.inner-false-string-error:load-settled", + "observation": { + "sender": ["08bef4b19381"], + "payloads": ["5b8a2e3e390d"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a" + }, + "state": "2ca7c411bba8", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "0268db3b80ae", + "0d5d9243a0de", + "113ccfa73078" + ] + } + }, + { + "id": "tk-list-linear.inner-false-string-error:set-query-done", + "observation": { + "sender": ["08bef4b19381"], + "payloads": ["5b8a2e3e390d"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a", + "set-query-1": "eb79a9b3682a" + }, + "state": "2ca7c411bba8", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "0268db3b80ae", + "0d5d9243a0de", + "113ccfa73078" + ] + } + }, + { + "id": "tk-list-linear.inner-false-string-error:load-settled", + "observation": { + "sender": ["08bef4b19381", "5494ca4c103e"], + "payloads": ["5b8a2e3e390d", "8780e3ee6661"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a", + "set-query-1": "eb79a9b3682a", + "load-2": "eb79a9b3682a" + }, + "state": "3edde845aed1", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "0268db3b80ae", + "0d5d9243a0de", + "113ccfa73078", + "d48d5c49486c", + "6143a28f5226", + "6fafebd34f71", + "c9db7514f5c5", + "92c28468d7be" + ] + } + }, + { + "id": "tk-list-linear.inner-false-object-error:load-settled", + "observation": { + "sender": ["c18939a47320"], + "payloads": ["5b8a2e3e390d"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a" + }, + "state": "2ca7c411bba8", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "0268db3b80ae", + "0d5d9243a0de", + "113ccfa73078" + ] + } + }, + { + "id": "tk-list-linear.inner-false-object-error:set-query-done", + "observation": { + "sender": ["c18939a47320"], + "payloads": ["5b8a2e3e390d"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a", + "set-query-1": "eb79a9b3682a" + }, + "state": "2ca7c411bba8", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "0268db3b80ae", + "0d5d9243a0de", + "113ccfa73078" + ] + } + }, + { + "id": "tk-list-linear.inner-false-object-error:load-settled", + "observation": { + "sender": ["c18939a47320", "5494ca4c103e"], + "payloads": ["5b8a2e3e390d", "8780e3ee6661"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a", + "set-query-1": "eb79a9b3682a", + "load-2": "eb79a9b3682a" + }, + "state": "3edde845aed1", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "0268db3b80ae", + "0d5d9243a0de", + "113ccfa73078", + "d48d5c49486c", + "6143a28f5226", + "6fafebd34f71", + "c9db7514f5c5", + "92c28468d7be" + ] + } + }, + { + "id": "tk-list-linear.outer-refused:load-settled", + "observation": { + "sender": ["1baae818a7fc"], + "payloads": ["5b8a2e3e390d"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a" + }, + "state": "820944a2683d", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "f791567b212f", + "0d5d9243a0de", + "113ccfa73078" + ] + } + }, + { + "id": "tk-list-linear.outer-refused:set-query-done", + "observation": { + "sender": ["1baae818a7fc"], + "payloads": ["5b8a2e3e390d"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a", + "set-query-1": "eb79a9b3682a" + }, + "state": "820944a2683d", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "f791567b212f", + "0d5d9243a0de", + "113ccfa73078" + ] + } + }, + { + "id": "tk-list-linear.outer-refused:load-settled", + "observation": { + "sender": ["1baae818a7fc", "5494ca4c103e"], + "payloads": ["5b8a2e3e390d", "8780e3ee6661"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a", + "set-query-1": "eb79a9b3682a", + "load-2": "eb79a9b3682a" + }, + "state": "3edde845aed1", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "f791567b212f", + "0d5d9243a0de", + "113ccfa73078", + "d48d5c49486c", + "6143a28f5226", + "6fafebd34f71", + "c9db7514f5c5", + "92c28468d7be" + ] + } + }, + { + "id": "tk-list-linear.outer-refused-no-message:load-settled", + "observation": { + "sender": ["1e90b9de179e"], + "payloads": ["5b8a2e3e390d"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a" + }, + "state": "1e54d4dce85b", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "d48d5c49486c", + "0d5d9243a0de", + "113ccfa73078" + ] + } + }, + { + "id": "tk-list-linear.outer-refused-no-message:set-query-done", + "observation": { + "sender": ["1e90b9de179e"], + "payloads": ["5b8a2e3e390d"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a", + "set-query-1": "eb79a9b3682a" + }, + "state": "1e54d4dce85b", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "d48d5c49486c", + "0d5d9243a0de", + "113ccfa73078" + ] + } + }, + { + "id": "tk-list-linear.outer-refused-no-message:load-settled", + "observation": { + "sender": ["1e90b9de179e", "5494ca4c103e"], + "payloads": ["5b8a2e3e390d", "8780e3ee6661"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a", + "set-query-1": "eb79a9b3682a", + "load-2": "eb79a9b3682a" + }, + "state": "3edde845aed1", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "d48d5c49486c", + "0d5d9243a0de", + "113ccfa73078", + "d48d5c49486c", + "6143a28f5226", + "6fafebd34f71", + "c9db7514f5c5", + "92c28468d7be" + ] + } + }, + { + "id": "tk-list-linear.method-not-found:load-settled", + "observation": { + "sender": ["d38da15695fc"], + "payloads": ["5b8a2e3e390d"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a" + }, + "state": "f11183466799", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "b53c339a3854", + "0d5d9243a0de", + "113ccfa73078" + ] + } + }, + { + "id": "tk-list-linear.method-not-found:set-query-done", + "observation": { + "sender": ["d38da15695fc"], + "payloads": ["5b8a2e3e390d"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a", + "set-query-1": "eb79a9b3682a" + }, + "state": "f11183466799", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "b53c339a3854", + "0d5d9243a0de", + "113ccfa73078" + ] + } + }, + { + "id": "tk-list-linear.method-not-found:load-settled", + "observation": { + "sender": ["d38da15695fc", "5494ca4c103e"], + "payloads": ["5b8a2e3e390d", "8780e3ee6661"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a", + "set-query-1": "eb79a9b3682a", + "load-2": "eb79a9b3682a" + }, + "state": "3edde845aed1", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "b53c339a3854", + "0d5d9243a0de", + "113ccfa73078", + "d48d5c49486c", + "6143a28f5226", + "6fafebd34f71", + "c9db7514f5c5", + "92c28468d7be" + ] + } + }, + { + "id": "tk-list-linear.transport-rejection:load-settled", + "observation": { + "sender": ["6aef1122a560"], + "payloads": ["5b8a2e3e390d"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a" + }, + "state": "40cf838c0930", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "198ac889ae28", + "0d5d9243a0de", + "113ccfa73078" + ] + } + }, + { + "id": "tk-list-linear.transport-rejection:set-query-done", + "observation": { + "sender": ["6aef1122a560"], + "payloads": ["5b8a2e3e390d"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a", + "set-query-1": "eb79a9b3682a" + }, + "state": "40cf838c0930", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "198ac889ae28", + "0d5d9243a0de", + "113ccfa73078" + ] + } + }, + { + "id": "tk-list-linear.transport-rejection:load-settled", + "observation": { + "sender": ["6aef1122a560", "5494ca4c103e"], + "payloads": ["5b8a2e3e390d", "8780e3ee6661"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a", + "set-query-1": "eb79a9b3682a", + "load-2": "eb79a9b3682a" + }, + "state": "3edde845aed1", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "198ac889ae28", + "0d5d9243a0de", + "113ccfa73078", + "d48d5c49486c", + "6143a28f5226", + "6fafebd34f71", + "c9db7514f5c5", + "92c28468d7be" + ] + } + }, + { + "id": "tk-list-linear.transport-rejection-no-message:load-settled", + "observation": { + "sender": ["0702970f0d11"], + "payloads": ["5b8a2e3e390d"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a" + }, + "state": "1e54d4dce85b", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "d48d5c49486c", + "0d5d9243a0de", + "113ccfa73078" + ] + } + }, + { + "id": "tk-list-linear.transport-rejection-no-message:set-query-done", + "observation": { + "sender": ["0702970f0d11"], + "payloads": ["5b8a2e3e390d"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a", + "set-query-1": "eb79a9b3682a" + }, + "state": "1e54d4dce85b", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "d48d5c49486c", + "0d5d9243a0de", + "113ccfa73078" + ] + } + }, + { + "id": "tk-list-linear.transport-rejection-no-message:load-settled", + "observation": { + "sender": ["0702970f0d11", "5494ca4c103e"], + "payloads": ["5b8a2e3e390d", "8780e3ee6661"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a", + "set-query-1": "eb79a9b3682a", + "load-2": "eb79a9b3682a" + }, + "state": "3edde845aed1", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "d48d5c49486c", + "0d5d9243a0de", + "113ccfa73078", + "d48d5c49486c", + "6143a28f5226", + "6fafebd34f71", + "c9db7514f5c5", + "92c28468d7be" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.task-list-linear-linear.searchissues-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.task-list-linear-linear.searchissues-1.json new file mode 100644 index 00000000000..37a61562cfb --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-tasks.task-list-linear-linear.searchissues-1.json @@ -0,0 +1,1178 @@ +{ + "operation": "tasks.task-list-linear", + "family": "tasks.task-list-linear", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "07a15e900363faa25bc364f5bc1c330f96798abfeaed35210428c2ac558586b8", + "scenarioSha256": "c589700af145f58c37292dafb891b3b7d50302fd4ec044155c044ccd48f79c74", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "000516aa083b": { + "name": "error", + "value": "outer refused", + "sent": 2 + }, + "0914e9c666b1": { + "name": "linear.searchIssues#1", + "args": [ + { + "name": "method", + "value": "linear.searchIssues" + }, + { + "name": "params", + "value": { + "limit": 50, + "query": "bug", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "0d2639e26cc5": { + "name": "linear.searchIssues#1", + "args": [ + { + "name": "method", + "value": "linear.searchIssues" + }, + { + "name": "params", + "value": { + "limit": 50, + "query": "bug", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Connection closed", + "isRpcDeliveryUnknown": true + } + } + }, + "0d5d9243a0de": { + "name": "loading", + "value": false, + "sent": 1 + }, + "0f4daa370be3": { + "name": "linear.searchIssues#1", + "args": [ + { + "name": "method", + "value": "linear.searchIssues" + }, + { + "name": "params", + "value": { + "limit": 50, + "query": "bug", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "113ccfa73078": { + "name": "refreshing", + "value": false, + "sent": 1 + }, + "14b2c61abd6c": { + "name": "linear.searchIssues#1", + "args": [ + { + "name": "method", + "value": "linear.searchIssues" + }, + { + "name": "params", + "value": { + "limit": 50, + "query": "bug", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "1e54d4dce85b": { + "error": "", + "items": [], + "loading": false, + "refreshing": false + }, + "2c8d737b5665": { + "name": "linear.searchIssues#1", + "args": [ + { + "name": "method", + "value": "linear.searchIssues" + }, + { + "name": "params", + "value": { + "limit": 50, + "query": "bug", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "2ca7c411bba8": { + "error": "Unexpected Linear tasks response", + "items": [], + "loading": false, + "refreshing": false + }, + "3133fa990514": { + "name": "items", + "value": [], + "sent": 2 + }, + "3edde845aed1": { + "error": "", + "items": [ + { + "key": "linear:linear-workspace:issue-2", + "provider": "linear", + "source": { + "description": "", + "id": "issue-2", + "identifier": "ENG-2", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A found issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + }, + "status": "Todo", + "subtitle": "ENG-2 · Engineering", + "title": "A found issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + } + ], + "loading": false, + "refreshing": false + }, + "40cf838c0930": { + "error": "transport failure", + "items": [], + "loading": false, + "refreshing": false + }, + "52d25e1f3035": { + "name": "error", + "value": "Connection closed", + "sent": 2 + }, + "5494ca4c103e": { + "name": "linear.searchIssues#1", + "args": [ + { + "name": "method", + "value": "linear.searchIssues" + }, + { + "name": "params", + "value": { + "limit": 50, + "query": "bug", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": [ + { + "description": "", + "id": "issue-2", + "identifier": "ENG-2", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A found issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + } + ] + } + } + }, + "5b8a2e3e390d": { + "name": "linear.listIssues#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"linear.listIssues\",\"params\":{\"filter\":\"all\",\"limit\":50,\"workspaceId\":\"linear-workspace\"}}" + }, + "5c2874ad80bc": { + "name": "error", + "value": "transport failure", + "sent": 2 + }, + "6143a28f5226": { + "name": "loading", + "value": true, + "sent": 1 + }, + "6fafebd34f71": { + "name": "items", + "value": [ + { + "key": "linear:linear-workspace:issue-2", + "provider": "linear", + "source": { + "description": "", + "id": "issue-2", + "identifier": "ENG-2", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A found issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + }, + "status": "Todo", + "subtitle": "ENG-2 · Engineering", + "title": "A found issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + } + ], + "sent": 2 + }, + "820944a2683d": { + "error": "outer refused", + "items": [], + "loading": false, + "refreshing": false + }, + "840a8ad61602": { + "name": "loading", + "value": true, + "sent": 0 + }, + "86aeb72f48eb": { + "name": "linear.listIssues#1", + "args": [ + { + "name": "method", + "value": "linear.listIssues" + }, + { + "name": "params", + "value": { + "filter": "all", + "limit": 50, + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "items": [ + { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A Linear issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + } + ] + } + } + } + }, + "8780e3ee6661": { + "name": "linear.searchIssues#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.searchIssues\",\"params\":{\"query\":\"bug\",\"limit\":50,\"workspaceId\":\"linear-workspace\"}}" + }, + "8fc99972bdd2": { + "name": "linear.searchIssues#1", + "args": [ + { + "name": "method", + "value": "linear.searchIssues" + }, + { + "name": "params", + "value": { + "limit": 50, + "query": "bug", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "92c28468d7be": { + "name": "refreshing", + "value": false, + "sent": 2 + }, + "94a885e6f790": { + "name": "linear.searchIssues#1", + "args": [ + { + "name": "method", + "value": "linear.searchIssues" + }, + { + "name": "params", + "value": { + "limit": 50, + "query": "bug", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "94f44b229d7d": { + "error": "", + "items": [ + { + "key": "linear:linear-workspace:issue-1", + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A Linear issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + }, + "status": "Todo", + "subtitle": "ENG-1 · Engineering", + "title": "A Linear issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + } + ], + "loading": false, + "refreshing": false + }, + "99e5be0a1b11": { + "name": "linear.searchIssues#1", + "args": [ + { + "name": "method", + "value": "linear.searchIssues" + }, + { + "name": "params", + "value": { + "limit": 50, + "query": "bug", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "99f1aeb70deb": { + "error": "", + "items": [ + { + "key": "linear:linear-workspace:issue-1", + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A Linear issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + }, + "status": "Todo", + "subtitle": "ENG-1 · Engineering", + "title": "A Linear issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + } + ], + "loading": true, + "refreshing": false + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "a45f546835a8": { + "name": "linear.searchIssues#1", + "args": [ + { + "name": "method", + "value": "linear.searchIssues" + }, + { + "name": "params", + "value": { + "limit": 50, + "query": "bug", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "ad3c905e6ecc": { + "name": "linear.searchIssues#1", + "args": [ + { + "name": "method", + "value": "linear.searchIssues" + }, + { + "name": "params", + "value": { + "limit": 50, + "query": "bug", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "b57ded8a3ea3": { + "name": "error", + "value": "", + "sent": 2 + }, + "be487c948252": { + "name": "error", + "value": "Unexpected Linear tasks response", + "sent": 2 + }, + "c9db7514f5c5": { + "name": "loading", + "value": false, + "sent": 2 + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "e04d208486e7": { + "name": "linear.searchIssues#1", + "args": [ + { + "name": "method", + "value": "linear.searchIssues" + }, + { + "name": "params", + "value": { + "limit": 50, + "query": "bug", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "e1bd9a521877": { + "name": "items", + "value": [ + { + "key": "linear:linear-workspace:issue-1", + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A Linear issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + }, + "status": "Todo", + "subtitle": "ENG-1 · Engineering", + "title": "A Linear issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + } + ], + "sent": 1 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f11183466799": { + "error": "Unknown method", + "items": [], + "loading": false, + "refreshing": false + }, + "f1cfc2d1bcc1": { + "name": "error", + "value": "Unknown method", + "sent": 2 + } + }, + "recording": { + "scenario": "matrix-tasks.task-list-linear-linear.searchissues-1", + "checkpoints": [ + { + "id": "tk-list-linear.prelude:load-settled", + "observation": { + "sender": ["86aeb72f48eb"], + "payloads": ["5b8a2e3e390d"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a" + }, + "state": "94f44b229d7d", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e1bd9a521877", + "0d5d9243a0de", + "113ccfa73078" + ] + } + }, + { + "id": "tk-list-linear.prelude:set-query-done", + "observation": { + "sender": ["86aeb72f48eb"], + "payloads": ["5b8a2e3e390d"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a", + "set-query-1": "eb79a9b3682a" + }, + "state": "94f44b229d7d", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e1bd9a521877", + "0d5d9243a0de", + "113ccfa73078" + ] + } + }, + { + "id": "tk-list-linear.prelude:cleanup", + "observation": { + "sender": ["86aeb72f48eb", "0d2639e26cc5"], + "payloads": ["5b8a2e3e390d", "8780e3ee6661"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a", + "set-query-1": "eb79a9b3682a", + "load-2": "eb79a9b3682a" + }, + "state": "99f1aeb70deb", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e1bd9a521877", + "0d5d9243a0de", + "113ccfa73078", + "d48d5c49486c", + "6143a28f5226", + "3133fa990514", + "52d25e1f3035", + "c9db7514f5c5", + "92c28468d7be" + ] + } + }, + { + "id": "tk-list-linear.normal:load-settled", + "observation": { + "sender": ["86aeb72f48eb", "5494ca4c103e"], + "payloads": ["5b8a2e3e390d", "8780e3ee6661"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a", + "set-query-1": "eb79a9b3682a", + "load-2": "eb79a9b3682a" + }, + "state": "3edde845aed1", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e1bd9a521877", + "0d5d9243a0de", + "113ccfa73078", + "d48d5c49486c", + "6143a28f5226", + "6fafebd34f71", + "c9db7514f5c5", + "92c28468d7be" + ] + } + }, + { + "id": "tk-list-linear.result-absent:load-settled", + "observation": { + "sender": ["86aeb72f48eb", "a45f546835a8"], + "payloads": ["5b8a2e3e390d", "8780e3ee6661"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a", + "set-query-1": "eb79a9b3682a", + "load-2": "eb79a9b3682a" + }, + "state": "2ca7c411bba8", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e1bd9a521877", + "0d5d9243a0de", + "113ccfa73078", + "d48d5c49486c", + "6143a28f5226", + "3133fa990514", + "be487c948252", + "c9db7514f5c5", + "92c28468d7be" + ] + } + }, + { + "id": "tk-list-linear.result-null:load-settled", + "observation": { + "sender": ["86aeb72f48eb", "e04d208486e7"], + "payloads": ["5b8a2e3e390d", "8780e3ee6661"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a", + "set-query-1": "eb79a9b3682a", + "load-2": "eb79a9b3682a" + }, + "state": "2ca7c411bba8", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e1bd9a521877", + "0d5d9243a0de", + "113ccfa73078", + "d48d5c49486c", + "6143a28f5226", + "3133fa990514", + "be487c948252", + "c9db7514f5c5", + "92c28468d7be" + ] + } + }, + { + "id": "tk-list-linear.inner-ok-missing:load-settled", + "observation": { + "sender": ["86aeb72f48eb", "8fc99972bdd2"], + "payloads": ["5b8a2e3e390d", "8780e3ee6661"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a", + "set-query-1": "eb79a9b3682a", + "load-2": "eb79a9b3682a" + }, + "state": "2ca7c411bba8", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e1bd9a521877", + "0d5d9243a0de", + "113ccfa73078", + "d48d5c49486c", + "6143a28f5226", + "3133fa990514", + "be487c948252", + "c9db7514f5c5", + "92c28468d7be" + ] + } + }, + { + "id": "tk-list-linear.inner-false-string-error:load-settled", + "observation": { + "sender": ["86aeb72f48eb", "0f4daa370be3"], + "payloads": ["5b8a2e3e390d", "8780e3ee6661"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a", + "set-query-1": "eb79a9b3682a", + "load-2": "eb79a9b3682a" + }, + "state": "2ca7c411bba8", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e1bd9a521877", + "0d5d9243a0de", + "113ccfa73078", + "d48d5c49486c", + "6143a28f5226", + "3133fa990514", + "be487c948252", + "c9db7514f5c5", + "92c28468d7be" + ] + } + }, + { + "id": "tk-list-linear.inner-false-object-error:load-settled", + "observation": { + "sender": ["86aeb72f48eb", "ad3c905e6ecc"], + "payloads": ["5b8a2e3e390d", "8780e3ee6661"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a", + "set-query-1": "eb79a9b3682a", + "load-2": "eb79a9b3682a" + }, + "state": "2ca7c411bba8", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e1bd9a521877", + "0d5d9243a0de", + "113ccfa73078", + "d48d5c49486c", + "6143a28f5226", + "3133fa990514", + "be487c948252", + "c9db7514f5c5", + "92c28468d7be" + ] + } + }, + { + "id": "tk-list-linear.outer-refused:load-settled", + "observation": { + "sender": ["86aeb72f48eb", "2c8d737b5665"], + "payloads": ["5b8a2e3e390d", "8780e3ee6661"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a", + "set-query-1": "eb79a9b3682a", + "load-2": "eb79a9b3682a" + }, + "state": "820944a2683d", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e1bd9a521877", + "0d5d9243a0de", + "113ccfa73078", + "d48d5c49486c", + "6143a28f5226", + "3133fa990514", + "000516aa083b", + "c9db7514f5c5", + "92c28468d7be" + ] + } + }, + { + "id": "tk-list-linear.outer-refused-no-message:load-settled", + "observation": { + "sender": ["86aeb72f48eb", "14b2c61abd6c"], + "payloads": ["5b8a2e3e390d", "8780e3ee6661"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a", + "set-query-1": "eb79a9b3682a", + "load-2": "eb79a9b3682a" + }, + "state": "1e54d4dce85b", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e1bd9a521877", + "0d5d9243a0de", + "113ccfa73078", + "d48d5c49486c", + "6143a28f5226", + "3133fa990514", + "b57ded8a3ea3", + "c9db7514f5c5", + "92c28468d7be" + ] + } + }, + { + "id": "tk-list-linear.method-not-found:load-settled", + "observation": { + "sender": ["86aeb72f48eb", "94a885e6f790"], + "payloads": ["5b8a2e3e390d", "8780e3ee6661"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a", + "set-query-1": "eb79a9b3682a", + "load-2": "eb79a9b3682a" + }, + "state": "f11183466799", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e1bd9a521877", + "0d5d9243a0de", + "113ccfa73078", + "d48d5c49486c", + "6143a28f5226", + "3133fa990514", + "f1cfc2d1bcc1", + "c9db7514f5c5", + "92c28468d7be" + ] + } + }, + { + "id": "tk-list-linear.transport-rejection:load-settled", + "observation": { + "sender": ["86aeb72f48eb", "99e5be0a1b11"], + "payloads": ["5b8a2e3e390d", "8780e3ee6661"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a", + "set-query-1": "eb79a9b3682a", + "load-2": "eb79a9b3682a" + }, + "state": "40cf838c0930", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e1bd9a521877", + "0d5d9243a0de", + "113ccfa73078", + "d48d5c49486c", + "6143a28f5226", + "3133fa990514", + "5c2874ad80bc", + "c9db7514f5c5", + "92c28468d7be" + ] + } + }, + { + "id": "tk-list-linear.transport-rejection-no-message:load-settled", + "observation": { + "sender": ["86aeb72f48eb", "0914e9c666b1"], + "payloads": ["5b8a2e3e390d", "8780e3ee6661"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a", + "set-query-1": "eb79a9b3682a", + "load-2": "eb79a9b3682a" + }, + "state": "1e54d4dce85b", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e1bd9a521877", + "0d5d9243a0de", + "113ccfa73078", + "d48d5c49486c", + "6143a28f5226", + "3133fa990514", + "b57ded8a3ea3", + "c9db7514f5c5", + "92c28468d7be" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.workspace-source-repo.searchrefs-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.workspace-source-repo.searchrefs-1.json index abd0097c78e..73995204869 100644 --- a/mobile/rpc-foundation/goldens/matrix-tasks.workspace-source-repo.searchrefs-1.json +++ b/mobile/rpc-foundation/goldens/matrix-tasks.workspace-source-repo.searchrefs-1.json @@ -3,9 +3,9 @@ "family": "tasks.workspace-source", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "4e567302ac8acffcfd602c9b323ecf8b5b7c0c4692bda1a4c881011a91d98979", "scenarioSha256": "9e91d46870cd69279cc7d8ebfd317ab8b13136ccff9662876c7601a3a83ecafe", "platform": "darwin", @@ -26,13 +26,26 @@ "presetsError": "", "presetsLoaded": true }, - "1d9a7d969446": { - "name": "workspaceSparsePresetsLoaded", - "value": true + "0522501c6443": { + "name": "workspaceSparsePresets", + "value": [ + { + "directories": ["docs"], + "id": "p1", + "name": "docs" + } + ], + "sent": 1 }, - "273f4074a9b5": { - "name": "workspaceSparsePresetsLoaded", - "value": false + "185868e61f0d": { + "name": "workspaceBaseBranchError", + "value": "Cannot read properties of undefined (reading 'refDetails')", + "sent": 2 + }, + "1f03192052c0": { + "name": "workspaceSparsePresetsLoading", + "value": false, + "sent": 1 }, "28f23529596e": { "name": "repo.searchRefs#1", @@ -95,10 +108,6 @@ "presetsError": "", "presetsLoaded": true }, - "35afa5cb107f": { - "name": "workspaceBaseBranchLoading", - "value": false - }, "395368dea8ff": { "name": "repo.searchRefs#1", "args": [ @@ -138,19 +147,10 @@ "name": "repo.searchRefs#1", "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"repo.searchRefs\",\"params\":{\"repo\":\"id:repo-1\",\"query\":\"main\",\"limit\":20}}" }, - "46f2f1c9bc6a": { + "469b68abd6bf": { "name": "workspaceBaseBranchError", - "value": "transport failure" - }, - "4856f62b3650": { - "name": "workspaceSparsePresets", - "value": [ - { - "directories": ["docs"], - "id": "p1", - "name": "docs" - } - ] + "value": "Cannot read properties of null (reading 'refDetails')", + "sent": 2 }, "4cedb91a2f7a": { "name": "repo.sparsePresets#1", @@ -189,6 +189,11 @@ } } }, + "539a8c80071f": { + "name": "workspaceSparsePresetsLoaded", + "value": false, + "sent": 0 + }, "5485811c08ca": { "name": "repo.searchRefs#1", "args": [ @@ -237,10 +242,6 @@ "presetsError": "", "presetsLoaded": true }, - "58cb95babab2": { - "name": "workspaceBaseBranchLoading", - "value": true - }, "5b0e628f442c": { "name": "repo.searchRefs#1", "args": [ @@ -274,13 +275,15 @@ } } }, - "5f1c84e00d4f": { - "name": "workspaceBaseBranchResults", - "value": [] - }, - "6c344c5f4ac0": { + "61a9907d4e25": { "name": "workspaceBaseBranchError", - "value": "" + "value": "", + "sent": 2 + }, + "66f7aa09c444": { + "name": "workspaceBaseBranchLoading", + "value": false, + "sent": 1 }, "7444e76d58f7": { "name": "repo.searchRefs#1", @@ -318,9 +321,10 @@ } } }, - "8353b8e1a426": { - "name": "workspaceSparsePresetsLoading", - "value": true + "78f4c8d53e98": { + "name": "workspaceBaseBranchLoading", + "value": true, + "sent": 1 }, "846e910f6579": { "name": "repo.searchRefs#1", @@ -354,24 +358,20 @@ } } }, - "8dbe7ea87a41": { + "8a621ac1da52": { "name": "workspaceBaseBranchResults", "value": [ { "localBranchName": "main", "refName": "main" } - ] + ], + "sent": 2 }, - "914268bb0636": { - "name": "workspaceBaseBranchError", - "value": "outer refused" - }, - "9357f7ea8445": { - "name": "workspaceSparsePresetId", - "value": { - "$rpc": "null" - } + "8c08bfbbb957": { + "name": "workspaceSparsePresetsLoaded", + "value": true, + "sent": 1 }, "94cafc85a34d": { "name": "repo.searchRefs#1", @@ -411,6 +411,21 @@ } } }, + "96f470cee43b": { + "name": "workspaceBaseBranchError", + "value": "", + "sent": 1 + }, + "a3dae49d6976": { + "name": "workspaceBaseBranchError", + "value": "Unknown method", + "sent": 2 + }, + "a81d1426bf3c": { + "name": "workspaceBaseBranchLoading", + "value": false, + "sent": 2 + }, "b78bcf7ca596": { "branchError": "", "branches": [ @@ -514,6 +529,11 @@ "presetsError": "", "presetsLoaded": true }, + "c44ace4a8d63": { + "name": "workspaceBaseBranchError", + "value": "transport failure", + "sent": 2 + }, "c8d4d05367d6": { "name": "repo.sparsePresets#1", "args": [ @@ -553,13 +573,15 @@ } } }, - "cfc8af2a7169": { - "name": "workspaceSparsePresetsLoading", - "value": false + "ca6dda44e51a": { + "name": "workspaceBaseBranchError", + "value": "outer refused", + "sent": 2 }, - "dba381378b08": { - "name": "workspaceSparsePresetsError", - "value": "" + "d74e7c93c5be": { + "name": "workspaceBaseBranchResults", + "value": [], + "sent": 1 }, "e4bad139cb5f": { "branchError": "Cannot read properties of undefined (reading 'refDetails')", @@ -574,10 +596,6 @@ "presetsError": "", "presetsLoaded": true }, - "e883c3f737f1": { - "name": "workspaceBaseBranchError", - "value": "Unknown method" - }, "eb79a9b3682a": { "status": "fulfilled", "startedAt": 0, @@ -586,9 +604,22 @@ "$rpc": "undefined" } }, - "ec51e489da58": { - "name": "workspaceBaseBranchError", - "value": "Cannot read properties of null (reading 'refDetails')" + "f0ea20e86c2f": { + "name": "workspaceBaseBranchResults", + "value": [], + "sent": 2 + }, + "f359ebae96d2": { + "name": "workspaceSparsePresetId", + "value": { + "$rpc": "null" + }, + "sent": 1 + }, + "f68a2eba2c59": { + "name": "workspaceSparsePresetsLoading", + "value": true, + "sent": 0 }, "f6f9a9765c0c": { "name": "repo.searchRefs#1", @@ -626,9 +657,10 @@ } } }, - "fcca5f73b480": { - "name": "workspaceBaseBranchError", - "value": "Cannot read properties of undefined (reading 'refDetails')" + "ff042d71c647": { + "name": "workspaceSparsePresetsError", + "value": "", + "sent": 0 } }, "recording": { @@ -644,16 +676,16 @@ }, "state": "57f06e6e349e", "effects": [ - "8353b8e1a426", - "273f4074a9b5", - "dba381378b08", - "5f1c84e00d4f", - "35afa5cb107f", - "6c344c5f4ac0", - "4856f62b3650", - "1d9a7d969446", - "9357f7ea8445", - "cfc8af2a7169" + "f68a2eba2c59", + "539a8c80071f", + "ff042d71c647", + "d74e7c93c5be", + "66f7aa09c444", + "96f470cee43b", + "0522501c6443", + "8c08bfbbb957", + "f359ebae96d2", + "1f03192052c0" ] } }, @@ -668,20 +700,20 @@ }, "state": "b78bcf7ca596", "effects": [ - "8353b8e1a426", - "273f4074a9b5", - "dba381378b08", - "5f1c84e00d4f", - "35afa5cb107f", - "6c344c5f4ac0", - "4856f62b3650", - "1d9a7d969446", - "9357f7ea8445", - "cfc8af2a7169", - "58cb95babab2", - "6c344c5f4ac0", - "8dbe7ea87a41", - "35afa5cb107f" + "f68a2eba2c59", + "539a8c80071f", + "ff042d71c647", + "d74e7c93c5be", + "66f7aa09c444", + "96f470cee43b", + "0522501c6443", + "8c08bfbbb957", + "f359ebae96d2", + "1f03192052c0", + "78f4c8d53e98", + "96f470cee43b", + "8a621ac1da52", + "a81d1426bf3c" ] } }, @@ -696,21 +728,21 @@ }, "state": "e4bad139cb5f", "effects": [ - "8353b8e1a426", - "273f4074a9b5", - "dba381378b08", - "5f1c84e00d4f", - "35afa5cb107f", - "6c344c5f4ac0", - "4856f62b3650", - "1d9a7d969446", - "9357f7ea8445", - "cfc8af2a7169", - "58cb95babab2", - "6c344c5f4ac0", - "5f1c84e00d4f", - "fcca5f73b480", - "35afa5cb107f" + "f68a2eba2c59", + "539a8c80071f", + "ff042d71c647", + "d74e7c93c5be", + "66f7aa09c444", + "96f470cee43b", + "0522501c6443", + "8c08bfbbb957", + "f359ebae96d2", + "1f03192052c0", + "78f4c8d53e98", + "96f470cee43b", + "f0ea20e86c2f", + "185868e61f0d", + "a81d1426bf3c" ] } }, @@ -725,21 +757,21 @@ }, "state": "0045016f4149", "effects": [ - "8353b8e1a426", - "273f4074a9b5", - "dba381378b08", - "5f1c84e00d4f", - "35afa5cb107f", - "6c344c5f4ac0", - "4856f62b3650", - "1d9a7d969446", - "9357f7ea8445", - "cfc8af2a7169", - "58cb95babab2", - "6c344c5f4ac0", - "5f1c84e00d4f", - "ec51e489da58", - "35afa5cb107f" + "f68a2eba2c59", + "539a8c80071f", + "ff042d71c647", + "d74e7c93c5be", + "66f7aa09c444", + "96f470cee43b", + "0522501c6443", + "8c08bfbbb957", + "f359ebae96d2", + "1f03192052c0", + "78f4c8d53e98", + "96f470cee43b", + "f0ea20e86c2f", + "469b68abd6bf", + "a81d1426bf3c" ] } }, @@ -754,20 +786,20 @@ }, "state": "57f06e6e349e", "effects": [ - "8353b8e1a426", - "273f4074a9b5", - "dba381378b08", - "5f1c84e00d4f", - "35afa5cb107f", - "6c344c5f4ac0", - "4856f62b3650", - "1d9a7d969446", - "9357f7ea8445", - "cfc8af2a7169", - "58cb95babab2", - "6c344c5f4ac0", - "5f1c84e00d4f", - "35afa5cb107f" + "f68a2eba2c59", + "539a8c80071f", + "ff042d71c647", + "d74e7c93c5be", + "66f7aa09c444", + "96f470cee43b", + "0522501c6443", + "8c08bfbbb957", + "f359ebae96d2", + "1f03192052c0", + "78f4c8d53e98", + "96f470cee43b", + "f0ea20e86c2f", + "a81d1426bf3c" ] } }, @@ -782,20 +814,20 @@ }, "state": "57f06e6e349e", "effects": [ - "8353b8e1a426", - "273f4074a9b5", - "dba381378b08", - "5f1c84e00d4f", - "35afa5cb107f", - "6c344c5f4ac0", - "4856f62b3650", - "1d9a7d969446", - "9357f7ea8445", - "cfc8af2a7169", - "58cb95babab2", - "6c344c5f4ac0", - "5f1c84e00d4f", - "35afa5cb107f" + "f68a2eba2c59", + "539a8c80071f", + "ff042d71c647", + "d74e7c93c5be", + "66f7aa09c444", + "96f470cee43b", + "0522501c6443", + "8c08bfbbb957", + "f359ebae96d2", + "1f03192052c0", + "78f4c8d53e98", + "96f470cee43b", + "f0ea20e86c2f", + "a81d1426bf3c" ] } }, @@ -810,20 +842,20 @@ }, "state": "57f06e6e349e", "effects": [ - "8353b8e1a426", - "273f4074a9b5", - "dba381378b08", - "5f1c84e00d4f", - "35afa5cb107f", - "6c344c5f4ac0", - "4856f62b3650", - "1d9a7d969446", - "9357f7ea8445", - "cfc8af2a7169", - "58cb95babab2", - "6c344c5f4ac0", - "5f1c84e00d4f", - "35afa5cb107f" + "f68a2eba2c59", + "539a8c80071f", + "ff042d71c647", + "d74e7c93c5be", + "66f7aa09c444", + "96f470cee43b", + "0522501c6443", + "8c08bfbbb957", + "f359ebae96d2", + "1f03192052c0", + "78f4c8d53e98", + "96f470cee43b", + "f0ea20e86c2f", + "a81d1426bf3c" ] } }, @@ -838,21 +870,21 @@ }, "state": "2bd164983c10", "effects": [ - "8353b8e1a426", - "273f4074a9b5", - "dba381378b08", - "5f1c84e00d4f", - "35afa5cb107f", - "6c344c5f4ac0", - "4856f62b3650", - "1d9a7d969446", - "9357f7ea8445", - "cfc8af2a7169", - "58cb95babab2", - "6c344c5f4ac0", - "5f1c84e00d4f", - "914268bb0636", - "35afa5cb107f" + "f68a2eba2c59", + "539a8c80071f", + "ff042d71c647", + "d74e7c93c5be", + "66f7aa09c444", + "96f470cee43b", + "0522501c6443", + "8c08bfbbb957", + "f359ebae96d2", + "1f03192052c0", + "78f4c8d53e98", + "96f470cee43b", + "f0ea20e86c2f", + "ca6dda44e51a", + "a81d1426bf3c" ] } }, @@ -867,21 +899,21 @@ }, "state": "57f06e6e349e", "effects": [ - "8353b8e1a426", - "273f4074a9b5", - "dba381378b08", - "5f1c84e00d4f", - "35afa5cb107f", - "6c344c5f4ac0", - "4856f62b3650", - "1d9a7d969446", - "9357f7ea8445", - "cfc8af2a7169", - "58cb95babab2", - "6c344c5f4ac0", - "5f1c84e00d4f", - "6c344c5f4ac0", - "35afa5cb107f" + "f68a2eba2c59", + "539a8c80071f", + "ff042d71c647", + "d74e7c93c5be", + "66f7aa09c444", + "96f470cee43b", + "0522501c6443", + "8c08bfbbb957", + "f359ebae96d2", + "1f03192052c0", + "78f4c8d53e98", + "96f470cee43b", + "f0ea20e86c2f", + "61a9907d4e25", + "a81d1426bf3c" ] } }, @@ -896,21 +928,21 @@ }, "state": "bd93f3a9862f", "effects": [ - "8353b8e1a426", - "273f4074a9b5", - "dba381378b08", - "5f1c84e00d4f", - "35afa5cb107f", - "6c344c5f4ac0", - "4856f62b3650", - "1d9a7d969446", - "9357f7ea8445", - "cfc8af2a7169", - "58cb95babab2", - "6c344c5f4ac0", - "5f1c84e00d4f", - "e883c3f737f1", - "35afa5cb107f" + "f68a2eba2c59", + "539a8c80071f", + "ff042d71c647", + "d74e7c93c5be", + "66f7aa09c444", + "96f470cee43b", + "0522501c6443", + "8c08bfbbb957", + "f359ebae96d2", + "1f03192052c0", + "78f4c8d53e98", + "96f470cee43b", + "f0ea20e86c2f", + "a3dae49d6976", + "a81d1426bf3c" ] } }, @@ -925,21 +957,21 @@ }, "state": "2e554aeab5d0", "effects": [ - "8353b8e1a426", - "273f4074a9b5", - "dba381378b08", - "5f1c84e00d4f", - "35afa5cb107f", - "6c344c5f4ac0", - "4856f62b3650", - "1d9a7d969446", - "9357f7ea8445", - "cfc8af2a7169", - "58cb95babab2", - "6c344c5f4ac0", - "5f1c84e00d4f", - "46f2f1c9bc6a", - "35afa5cb107f" + "f68a2eba2c59", + "539a8c80071f", + "ff042d71c647", + "d74e7c93c5be", + "66f7aa09c444", + "96f470cee43b", + "0522501c6443", + "8c08bfbbb957", + "f359ebae96d2", + "1f03192052c0", + "78f4c8d53e98", + "96f470cee43b", + "f0ea20e86c2f", + "c44ace4a8d63", + "a81d1426bf3c" ] } }, @@ -954,21 +986,21 @@ }, "state": "57f06e6e349e", "effects": [ - "8353b8e1a426", - "273f4074a9b5", - "dba381378b08", - "5f1c84e00d4f", - "35afa5cb107f", - "6c344c5f4ac0", - "4856f62b3650", - "1d9a7d969446", - "9357f7ea8445", - "cfc8af2a7169", - "58cb95babab2", - "6c344c5f4ac0", - "5f1c84e00d4f", - "6c344c5f4ac0", - "35afa5cb107f" + "f68a2eba2c59", + "539a8c80071f", + "ff042d71c647", + "d74e7c93c5be", + "66f7aa09c444", + "96f470cee43b", + "0522501c6443", + "8c08bfbbb957", + "f359ebae96d2", + "1f03192052c0", + "78f4c8d53e98", + "96f470cee43b", + "f0ea20e86c2f", + "61a9907d4e25", + "a81d1426bf3c" ] } } diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.workspace-source-repo.sparsepresets-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.workspace-source-repo.sparsepresets-1.json index 81996baa630..51d2afa65f9 100644 --- a/mobile/rpc-foundation/goldens/matrix-tasks.workspace-source-repo.sparsepresets-1.json +++ b/mobile/rpc-foundation/goldens/matrix-tasks.workspace-source-repo.sparsepresets-1.json @@ -3,9 +3,9 @@ "family": "tasks.workspace-source", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "4e567302ac8acffcfd602c9b323ecf8b5b7c0c4692bda1a4c881011a91d98979", "scenarioSha256": "2d4a681bffbc5ff9d3040ea0d6bb2603ee940c3c497269d0b63caca564fb25e1", "platform": "darwin", @@ -13,6 +13,22 @@ "projectionVersion": 2, "goldenFormatVersion": 5, "values": { + "0522501c6443": { + "name": "workspaceSparsePresets", + "value": [ + { + "directories": ["docs"], + "id": "p1", + "name": "docs" + } + ], + "sent": 1 + }, + "096e46a703cd": { + "name": "workspaceSparsePresetsError", + "value": "transport failure", + "sent": 1 + }, "0e0e1c74c796": { "branchError": "", "branches": [], @@ -20,17 +36,10 @@ "presetsError": "transport failure", "presetsLoaded": false }, - "1d9a7d969446": { - "name": "workspaceSparsePresetsLoaded", - "value": true - }, - "2399e995a370": { - "name": "workspaceSparsePresets", - "value": [] - }, - "273f4074a9b5": { - "name": "workspaceSparsePresetsLoaded", - "value": false + "1f03192052c0": { + "name": "workspaceSparsePresetsLoading", + "value": false, + "sent": 1 }, "2d69fe330484": { "name": "repo.sparsePresets#1", @@ -63,10 +72,6 @@ } } }, - "35afa5cb107f": { - "name": "workspaceBaseBranchLoading", - "value": false - }, "395368dea8ff": { "name": "repo.searchRefs#1", "args": [ @@ -102,6 +107,11 @@ } } }, + "3d9625837af9": { + "name": "workspaceSparsePresetsError", + "value": "outer refused", + "sent": 1 + }, "3dcbacca6ef0": { "name": "repo.sparsePresets#1", "args": [ @@ -139,28 +149,10 @@ "name": "repo.searchRefs#1", "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"repo.searchRefs\",\"params\":{\"repo\":\"id:repo-1\",\"query\":\"main\",\"limit\":20}}" }, - "4856f62b3650": { - "name": "workspaceSparsePresets", - "value": [ - { - "directories": ["docs"], - "id": "p1", - "name": "docs" - } - ] - }, - "4c7522c66d03": { - "name": "workspaceSparsePresetsError", - "value": "transport failure" - }, "4cedb91a2f7a": { "name": "repo.sparsePresets#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"repo.sparsePresets\",\"params\":{\"repo\":\"id:repo-1\"}}" }, - "51396e45f193": { - "name": "workspaceSparsePresetsError", - "value": "Cannot read properties of undefined (reading 'presets')" - }, "513bb01f2f25": { "branchError": "", "branches": [ @@ -173,6 +165,11 @@ "presetsError": "", "presetsLoaded": true }, + "539a8c80071f": { + "name": "workspaceSparsePresetsLoaded", + "value": false, + "sent": 0 + }, "57f06e6e349e": { "branchError": "", "branches": [], @@ -186,9 +183,10 @@ "presetsError": "", "presetsLoaded": true }, - "58cb95babab2": { - "name": "workspaceBaseBranchLoading", - "value": true + "594fac1293d4": { + "name": "workspaceSparsePresetsError", + "value": "", + "sent": 1 }, "5cc2ef1617e8": { "name": "repo.sparsePresets#1", @@ -236,10 +234,6 @@ "presetsError": "transport failure", "presetsLoaded": false }, - "5f1c84e00d4f": { - "name": "workspaceBaseBranchResults", - "value": [] - }, "62bc28c39ffc": { "branchError": "", "branches": [], @@ -247,9 +241,30 @@ "presetsError": "", "presetsLoaded": false }, - "6c344c5f4ac0": { - "name": "workspaceBaseBranchError", - "value": "" + "648935ecca5d": { + "name": "workspaceSparsePresets", + "value": [], + "sent": 1 + }, + "66f7aa09c444": { + "name": "workspaceBaseBranchLoading", + "value": false, + "sent": 1 + }, + "6eed948cb75c": { + "name": "workspaceSparsePresetsError", + "value": "Unknown method", + "sent": 1 + }, + "78f4c8d53e98": { + "name": "workspaceBaseBranchLoading", + "value": true, + "sent": 1 + }, + "793481621476": { + "name": "workspaceSparsePresetsError", + "value": "Cannot read properties of undefined (reading 'presets')", + "sent": 1 }, "83043f6bd49a": { "name": "repo.sparsePresets#1", @@ -285,14 +300,6 @@ } } }, - "8353b8e1a426": { - "name": "workspaceSparsePresetsLoading", - "value": true - }, - "841927d71fc6": { - "name": "workspaceSparsePresetsError", - "value": "outer refused" - }, "844c1ccf1f9a": { "branchError": "", "branches": [ @@ -305,6 +312,16 @@ "presetsError": "Cannot read properties of undefined (reading 'presets')", "presetsLoaded": false }, + "8a621ac1da52": { + "name": "workspaceBaseBranchResults", + "value": [ + { + "localBranchName": "main", + "refName": "main" + } + ], + "sent": 2 + }, "8b4d034d6e9e": { "name": "repo.sparsePresets#1", "args": [ @@ -341,14 +358,10 @@ } } }, - "8dbe7ea87a41": { - "name": "workspaceBaseBranchResults", - "value": [ - { - "localBranchName": "main", - "refName": "main" - } - ] + "8c08bfbbb957": { + "name": "workspaceSparsePresetsLoaded", + "value": true, + "sent": 1 }, "90bd9a937fe0": { "branchError": "", @@ -362,11 +375,10 @@ "presetsError": "", "presetsLoaded": false }, - "9357f7ea8445": { - "name": "workspaceSparsePresetId", - "value": { - "$rpc": "null" - } + "96f470cee43b": { + "name": "workspaceBaseBranchError", + "value": "", + "sent": 1 }, "96f5a578e45b": { "name": "repo.sparsePresets#1", @@ -463,6 +475,11 @@ } } }, + "99b93f410369": { + "name": "workspaceSparsePresetsLoaded", + "value": false, + "sent": 1 + }, "a18f0cdbc6fe": { "name": "repo.sparsePresets#1", "args": [ @@ -496,9 +513,15 @@ } } }, - "aaaeee84b4d2": { + "a81d1426bf3c": { + "name": "workspaceBaseBranchLoading", + "value": false, + "sent": 2 + }, + "b4cf1db64faf": { "name": "workspaceSparsePresetsError", - "value": "Cannot read properties of null (reading 'presets')" + "value": "Cannot read properties of null (reading 'presets')", + "sent": 1 }, "b78bcf7ca596": { "branchError": "", @@ -616,10 +639,6 @@ "presetsError": "Unknown method", "presetsLoaded": false }, - "cfc8af2a7169": { - "name": "workspaceSparsePresetsLoading", - "value": false - }, "d075e587b820": { "branchError": "", "branches": [ @@ -632,6 +651,11 @@ "presetsError": "outer refused", "presetsLoaded": false }, + "d74e7c93c5be": { + "name": "workspaceBaseBranchResults", + "value": [], + "sent": 1 + }, "db27fad68ce2": { "name": "repo.sparsePresets#1", "args": [ @@ -666,14 +690,6 @@ } } }, - "dba381378b08": { - "name": "workspaceSparsePresetsError", - "value": "" - }, - "ea260eacb1db": { - "name": "workspaceSparsePresetsError", - "value": "Unknown method" - }, "eb79a9b3682a": { "status": "fulfilled", "startedAt": 0, @@ -681,6 +697,23 @@ "value": { "$rpc": "undefined" } + }, + "f359ebae96d2": { + "name": "workspaceSparsePresetId", + "value": { + "$rpc": "null" + }, + "sent": 1 + }, + "f68a2eba2c59": { + "name": "workspaceSparsePresetsLoading", + "value": true, + "sent": 0 + }, + "ff042d71c647": { + "name": "workspaceSparsePresetsError", + "value": "", + "sent": 0 } }, "recording": { @@ -696,16 +729,16 @@ }, "state": "57f06e6e349e", "effects": [ - "8353b8e1a426", - "273f4074a9b5", - "dba381378b08", - "5f1c84e00d4f", - "35afa5cb107f", - "6c344c5f4ac0", - "4856f62b3650", - "1d9a7d969446", - "9357f7ea8445", - "cfc8af2a7169" + "f68a2eba2c59", + "539a8c80071f", + "ff042d71c647", + "d74e7c93c5be", + "66f7aa09c444", + "96f470cee43b", + "0522501c6443", + "8c08bfbbb957", + "f359ebae96d2", + "1f03192052c0" ] } }, @@ -720,20 +753,20 @@ }, "state": "b78bcf7ca596", "effects": [ - "8353b8e1a426", - "273f4074a9b5", - "dba381378b08", - "5f1c84e00d4f", - "35afa5cb107f", - "6c344c5f4ac0", - "4856f62b3650", - "1d9a7d969446", - "9357f7ea8445", - "cfc8af2a7169", - "58cb95babab2", - "6c344c5f4ac0", - "8dbe7ea87a41", - "35afa5cb107f" + "f68a2eba2c59", + "539a8c80071f", + "ff042d71c647", + "d74e7c93c5be", + "66f7aa09c444", + "96f470cee43b", + "0522501c6443", + "8c08bfbbb957", + "f359ebae96d2", + "1f03192052c0", + "78f4c8d53e98", + "96f470cee43b", + "8a621ac1da52", + "a81d1426bf3c" ] } }, @@ -747,17 +780,17 @@ }, "state": "c909c6a474d9", "effects": [ - "8353b8e1a426", - "273f4074a9b5", - "dba381378b08", - "5f1c84e00d4f", - "35afa5cb107f", - "6c344c5f4ac0", - "2399e995a370", - "273f4074a9b5", - "9357f7ea8445", - "51396e45f193", - "cfc8af2a7169" + "f68a2eba2c59", + "539a8c80071f", + "ff042d71c647", + "d74e7c93c5be", + "66f7aa09c444", + "96f470cee43b", + "648935ecca5d", + "99b93f410369", + "f359ebae96d2", + "793481621476", + "1f03192052c0" ] } }, @@ -772,21 +805,21 @@ }, "state": "844c1ccf1f9a", "effects": [ - "8353b8e1a426", - "273f4074a9b5", - "dba381378b08", - "5f1c84e00d4f", - "35afa5cb107f", - "6c344c5f4ac0", - "2399e995a370", - "273f4074a9b5", - "9357f7ea8445", - "51396e45f193", - "cfc8af2a7169", - "58cb95babab2", - "6c344c5f4ac0", - "8dbe7ea87a41", - "35afa5cb107f" + "f68a2eba2c59", + "539a8c80071f", + "ff042d71c647", + "d74e7c93c5be", + "66f7aa09c444", + "96f470cee43b", + "648935ecca5d", + "99b93f410369", + "f359ebae96d2", + "793481621476", + "1f03192052c0", + "78f4c8d53e98", + "96f470cee43b", + "8a621ac1da52", + "a81d1426bf3c" ] } }, @@ -800,17 +833,17 @@ }, "state": "c9e6bb8f5e61", "effects": [ - "8353b8e1a426", - "273f4074a9b5", - "dba381378b08", - "5f1c84e00d4f", - "35afa5cb107f", - "6c344c5f4ac0", - "2399e995a370", - "273f4074a9b5", - "9357f7ea8445", - "aaaeee84b4d2", - "cfc8af2a7169" + "f68a2eba2c59", + "539a8c80071f", + "ff042d71c647", + "d74e7c93c5be", + "66f7aa09c444", + "96f470cee43b", + "648935ecca5d", + "99b93f410369", + "f359ebae96d2", + "b4cf1db64faf", + "1f03192052c0" ] } }, @@ -825,21 +858,21 @@ }, "state": "bf004df2bf3d", "effects": [ - "8353b8e1a426", - "273f4074a9b5", - "dba381378b08", - "5f1c84e00d4f", - "35afa5cb107f", - "6c344c5f4ac0", - "2399e995a370", - "273f4074a9b5", - "9357f7ea8445", - "aaaeee84b4d2", - "cfc8af2a7169", - "58cb95babab2", - "6c344c5f4ac0", - "8dbe7ea87a41", - "35afa5cb107f" + "f68a2eba2c59", + "539a8c80071f", + "ff042d71c647", + "d74e7c93c5be", + "66f7aa09c444", + "96f470cee43b", + "648935ecca5d", + "99b93f410369", + "f359ebae96d2", + "b4cf1db64faf", + "1f03192052c0", + "78f4c8d53e98", + "96f470cee43b", + "8a621ac1da52", + "a81d1426bf3c" ] } }, @@ -853,16 +886,16 @@ }, "state": "c58cdfec29bd", "effects": [ - "8353b8e1a426", - "273f4074a9b5", - "dba381378b08", - "5f1c84e00d4f", - "35afa5cb107f", - "6c344c5f4ac0", - "2399e995a370", - "1d9a7d969446", - "9357f7ea8445", - "cfc8af2a7169" + "f68a2eba2c59", + "539a8c80071f", + "ff042d71c647", + "d74e7c93c5be", + "66f7aa09c444", + "96f470cee43b", + "648935ecca5d", + "8c08bfbbb957", + "f359ebae96d2", + "1f03192052c0" ] } }, @@ -877,20 +910,20 @@ }, "state": "513bb01f2f25", "effects": [ - "8353b8e1a426", - "273f4074a9b5", - "dba381378b08", - "5f1c84e00d4f", - "35afa5cb107f", - "6c344c5f4ac0", - "2399e995a370", - "1d9a7d969446", - "9357f7ea8445", - "cfc8af2a7169", - "58cb95babab2", - "6c344c5f4ac0", - "8dbe7ea87a41", - "35afa5cb107f" + "f68a2eba2c59", + "539a8c80071f", + "ff042d71c647", + "d74e7c93c5be", + "66f7aa09c444", + "96f470cee43b", + "648935ecca5d", + "8c08bfbbb957", + "f359ebae96d2", + "1f03192052c0", + "78f4c8d53e98", + "96f470cee43b", + "8a621ac1da52", + "a81d1426bf3c" ] } }, @@ -904,16 +937,16 @@ }, "state": "c58cdfec29bd", "effects": [ - "8353b8e1a426", - "273f4074a9b5", - "dba381378b08", - "5f1c84e00d4f", - "35afa5cb107f", - "6c344c5f4ac0", - "2399e995a370", - "1d9a7d969446", - "9357f7ea8445", - "cfc8af2a7169" + "f68a2eba2c59", + "539a8c80071f", + "ff042d71c647", + "d74e7c93c5be", + "66f7aa09c444", + "96f470cee43b", + "648935ecca5d", + "8c08bfbbb957", + "f359ebae96d2", + "1f03192052c0" ] } }, @@ -928,20 +961,20 @@ }, "state": "513bb01f2f25", "effects": [ - "8353b8e1a426", - "273f4074a9b5", - "dba381378b08", - "5f1c84e00d4f", - "35afa5cb107f", - "6c344c5f4ac0", - "2399e995a370", - "1d9a7d969446", - "9357f7ea8445", - "cfc8af2a7169", - "58cb95babab2", - "6c344c5f4ac0", - "8dbe7ea87a41", - "35afa5cb107f" + "f68a2eba2c59", + "539a8c80071f", + "ff042d71c647", + "d74e7c93c5be", + "66f7aa09c444", + "96f470cee43b", + "648935ecca5d", + "8c08bfbbb957", + "f359ebae96d2", + "1f03192052c0", + "78f4c8d53e98", + "96f470cee43b", + "8a621ac1da52", + "a81d1426bf3c" ] } }, @@ -955,16 +988,16 @@ }, "state": "c58cdfec29bd", "effects": [ - "8353b8e1a426", - "273f4074a9b5", - "dba381378b08", - "5f1c84e00d4f", - "35afa5cb107f", - "6c344c5f4ac0", - "2399e995a370", - "1d9a7d969446", - "9357f7ea8445", - "cfc8af2a7169" + "f68a2eba2c59", + "539a8c80071f", + "ff042d71c647", + "d74e7c93c5be", + "66f7aa09c444", + "96f470cee43b", + "648935ecca5d", + "8c08bfbbb957", + "f359ebae96d2", + "1f03192052c0" ] } }, @@ -979,20 +1012,20 @@ }, "state": "513bb01f2f25", "effects": [ - "8353b8e1a426", - "273f4074a9b5", - "dba381378b08", - "5f1c84e00d4f", - "35afa5cb107f", - "6c344c5f4ac0", - "2399e995a370", - "1d9a7d969446", - "9357f7ea8445", - "cfc8af2a7169", - "58cb95babab2", - "6c344c5f4ac0", - "8dbe7ea87a41", - "35afa5cb107f" + "f68a2eba2c59", + "539a8c80071f", + "ff042d71c647", + "d74e7c93c5be", + "66f7aa09c444", + "96f470cee43b", + "648935ecca5d", + "8c08bfbbb957", + "f359ebae96d2", + "1f03192052c0", + "78f4c8d53e98", + "96f470cee43b", + "8a621ac1da52", + "a81d1426bf3c" ] } }, @@ -1006,17 +1039,17 @@ }, "state": "c9379c8a3ba8", "effects": [ - "8353b8e1a426", - "273f4074a9b5", - "dba381378b08", - "5f1c84e00d4f", - "35afa5cb107f", - "6c344c5f4ac0", - "2399e995a370", - "273f4074a9b5", - "9357f7ea8445", - "841927d71fc6", - "cfc8af2a7169" + "f68a2eba2c59", + "539a8c80071f", + "ff042d71c647", + "d74e7c93c5be", + "66f7aa09c444", + "96f470cee43b", + "648935ecca5d", + "99b93f410369", + "f359ebae96d2", + "3d9625837af9", + "1f03192052c0" ] } }, @@ -1031,21 +1064,21 @@ }, "state": "d075e587b820", "effects": [ - "8353b8e1a426", - "273f4074a9b5", - "dba381378b08", - "5f1c84e00d4f", - "35afa5cb107f", - "6c344c5f4ac0", - "2399e995a370", - "273f4074a9b5", - "9357f7ea8445", - "841927d71fc6", - "cfc8af2a7169", - "58cb95babab2", - "6c344c5f4ac0", - "8dbe7ea87a41", - "35afa5cb107f" + "f68a2eba2c59", + "539a8c80071f", + "ff042d71c647", + "d74e7c93c5be", + "66f7aa09c444", + "96f470cee43b", + "648935ecca5d", + "99b93f410369", + "f359ebae96d2", + "3d9625837af9", + "1f03192052c0", + "78f4c8d53e98", + "96f470cee43b", + "8a621ac1da52", + "a81d1426bf3c" ] } }, @@ -1059,17 +1092,17 @@ }, "state": "62bc28c39ffc", "effects": [ - "8353b8e1a426", - "273f4074a9b5", - "dba381378b08", - "5f1c84e00d4f", - "35afa5cb107f", - "6c344c5f4ac0", - "2399e995a370", - "273f4074a9b5", - "9357f7ea8445", - "dba381378b08", - "cfc8af2a7169" + "f68a2eba2c59", + "539a8c80071f", + "ff042d71c647", + "d74e7c93c5be", + "66f7aa09c444", + "96f470cee43b", + "648935ecca5d", + "99b93f410369", + "f359ebae96d2", + "594fac1293d4", + "1f03192052c0" ] } }, @@ -1084,21 +1117,21 @@ }, "state": "90bd9a937fe0", "effects": [ - "8353b8e1a426", - "273f4074a9b5", - "dba381378b08", - "5f1c84e00d4f", - "35afa5cb107f", - "6c344c5f4ac0", - "2399e995a370", - "273f4074a9b5", - "9357f7ea8445", - "dba381378b08", - "cfc8af2a7169", - "58cb95babab2", - "6c344c5f4ac0", - "8dbe7ea87a41", - "35afa5cb107f" + "f68a2eba2c59", + "539a8c80071f", + "ff042d71c647", + "d74e7c93c5be", + "66f7aa09c444", + "96f470cee43b", + "648935ecca5d", + "99b93f410369", + "f359ebae96d2", + "594fac1293d4", + "1f03192052c0", + "78f4c8d53e98", + "96f470cee43b", + "8a621ac1da52", + "a81d1426bf3c" ] } }, @@ -1112,17 +1145,17 @@ }, "state": "ce4aab89eed0", "effects": [ - "8353b8e1a426", - "273f4074a9b5", - "dba381378b08", - "5f1c84e00d4f", - "35afa5cb107f", - "6c344c5f4ac0", - "2399e995a370", - "273f4074a9b5", - "9357f7ea8445", - "ea260eacb1db", - "cfc8af2a7169" + "f68a2eba2c59", + "539a8c80071f", + "ff042d71c647", + "d74e7c93c5be", + "66f7aa09c444", + "96f470cee43b", + "648935ecca5d", + "99b93f410369", + "f359ebae96d2", + "6eed948cb75c", + "1f03192052c0" ] } }, @@ -1137,21 +1170,21 @@ }, "state": "ce7d06abf495", "effects": [ - "8353b8e1a426", - "273f4074a9b5", - "dba381378b08", - "5f1c84e00d4f", - "35afa5cb107f", - "6c344c5f4ac0", - "2399e995a370", - "273f4074a9b5", - "9357f7ea8445", - "ea260eacb1db", - "cfc8af2a7169", - "58cb95babab2", - "6c344c5f4ac0", - "8dbe7ea87a41", - "35afa5cb107f" + "f68a2eba2c59", + "539a8c80071f", + "ff042d71c647", + "d74e7c93c5be", + "66f7aa09c444", + "96f470cee43b", + "648935ecca5d", + "99b93f410369", + "f359ebae96d2", + "6eed948cb75c", + "1f03192052c0", + "78f4c8d53e98", + "96f470cee43b", + "8a621ac1da52", + "a81d1426bf3c" ] } }, @@ -1165,17 +1198,17 @@ }, "state": "0e0e1c74c796", "effects": [ - "8353b8e1a426", - "273f4074a9b5", - "dba381378b08", - "5f1c84e00d4f", - "35afa5cb107f", - "6c344c5f4ac0", - "2399e995a370", - "273f4074a9b5", - "9357f7ea8445", - "4c7522c66d03", - "cfc8af2a7169" + "f68a2eba2c59", + "539a8c80071f", + "ff042d71c647", + "d74e7c93c5be", + "66f7aa09c444", + "96f470cee43b", + "648935ecca5d", + "99b93f410369", + "f359ebae96d2", + "096e46a703cd", + "1f03192052c0" ] } }, @@ -1190,21 +1223,21 @@ }, "state": "5e895d7d4949", "effects": [ - "8353b8e1a426", - "273f4074a9b5", - "dba381378b08", - "5f1c84e00d4f", - "35afa5cb107f", - "6c344c5f4ac0", - "2399e995a370", - "273f4074a9b5", - "9357f7ea8445", - "4c7522c66d03", - "cfc8af2a7169", - "58cb95babab2", - "6c344c5f4ac0", - "8dbe7ea87a41", - "35afa5cb107f" + "f68a2eba2c59", + "539a8c80071f", + "ff042d71c647", + "d74e7c93c5be", + "66f7aa09c444", + "96f470cee43b", + "648935ecca5d", + "99b93f410369", + "f359ebae96d2", + "096e46a703cd", + "1f03192052c0", + "78f4c8d53e98", + "96f470cee43b", + "8a621ac1da52", + "a81d1426bf3c" ] } }, @@ -1218,17 +1251,17 @@ }, "state": "62bc28c39ffc", "effects": [ - "8353b8e1a426", - "273f4074a9b5", - "dba381378b08", - "5f1c84e00d4f", - "35afa5cb107f", - "6c344c5f4ac0", - "2399e995a370", - "273f4074a9b5", - "9357f7ea8445", - "dba381378b08", - "cfc8af2a7169" + "f68a2eba2c59", + "539a8c80071f", + "ff042d71c647", + "d74e7c93c5be", + "66f7aa09c444", + "96f470cee43b", + "648935ecca5d", + "99b93f410369", + "f359ebae96d2", + "594fac1293d4", + "1f03192052c0" ] } }, @@ -1243,21 +1276,21 @@ }, "state": "90bd9a937fe0", "effects": [ - "8353b8e1a426", - "273f4074a9b5", - "dba381378b08", - "5f1c84e00d4f", - "35afa5cb107f", - "6c344c5f4ac0", - "2399e995a370", - "273f4074a9b5", - "9357f7ea8445", - "dba381378b08", - "cfc8af2a7169", - "58cb95babab2", - "6c344c5f4ac0", - "8dbe7ea87a41", - "35afa5cb107f" + "f68a2eba2c59", + "539a8c80071f", + "ff042d71c647", + "d74e7c93c5be", + "66f7aa09c444", + "96f470cee43b", + "648935ecca5d", + "99b93f410369", + "f359ebae96d2", + "594fac1293d4", + "1f03192052c0", + "78f4c8d53e98", + "96f470cee43b", + "8a621ac1da52", + "a81d1426bf3c" ] } } diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.workspace-sparse-repo.savesparsepreset-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.workspace-sparse-repo.savesparsepreset-1.json index 8168589cfe0..8efe582dda3 100644 --- a/mobile/rpc-foundation/goldens/matrix-tasks.workspace-sparse-repo.savesparsepreset-1.json +++ b/mobile/rpc-foundation/goldens/matrix-tasks.workspace-sparse-repo.savesparsepreset-1.json @@ -3,9 +3,9 @@ "family": "tasks.workspace-sparse", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "4e567302ac8acffcfd602c9b323ecf8b5b7c0c4692bda1a4c881011a91d98979", "scenarioSha256": "3d4637406e2d658b72f73153f0a5e176cb8b143593b72bce0cdf979bc6e4cbdd", "platform": "darwin", @@ -13,6 +13,11 @@ "projectionVersion": 2, "goldenFormatVersion": 5, "values": { + "0a30edace604": { + "name": "workspaceSparsePresetsError", + "value": "Failed to save sparse preset.", + "sent": 2 + }, "1923ab7dba76": { "name": "repo.saveSparsePreset#1", "args": [ @@ -49,10 +54,6 @@ } } }, - "1d9a7d969446": { - "name": "workspaceSparsePresetsLoaded", - "value": true - }, "1f453ea83df7": { "presets": [], "presetsError": "transport failure", @@ -66,6 +67,11 @@ "targetId": "ssh-1" } }, + "23c24a8bc04b": { + "name": "workspaceSparsePresetsError", + "value": "Connection closed", + "sent": 2 + }, "23e798f4b47c": { "name": "repo.saveSparsePreset#1", "args": [ @@ -99,9 +105,15 @@ } } }, - "312ed3cbf468": { - "name": "workspaceSparsePresetId", - "value": "p1" + "3dea8cd23ff6": { + "name": "workspaceSparsePresetsError", + "value": "outer refused", + "sent": 2 + }, + "3f2baafe9f80": { + "name": "workspaceSparseSaving", + "value": false, + "sent": 2 }, "404305aa2e3a": { "presets": [ @@ -122,25 +134,17 @@ "targetId": "ssh-1" } }, - "42bbd034563e": { - "name": "workspaceSparseDraft", + "452edc62bce0": { + "name": "workspaceSshState", "value": { - "$rpc": "null" - } - }, - "4856f62b3650": { - "name": "workspaceSparsePresets", - "value": [ - { - "directories": ["docs"], - "id": "p1", - "name": "docs" - } - ] - }, - "4c7522c66d03": { - "name": "workspaceSparsePresetsError", - "value": "transport failure" + "error": { + "$rpc": "null" + }, + "reconnectAttempt": 0, + "status": "connected", + "targetId": "ssh-1" + }, + "sent": 1 }, "4d66e995ff47": { "name": "repo.saveSparsePreset#1", @@ -175,9 +179,20 @@ } } }, - "4e1228f5e0a8": { + "50299594248a": { "name": "workspaceSparsePresetsError", - "value": "Cannot read properties of null (reading 'preset')" + "value": "", + "sent": 2 + }, + "594fac1293d4": { + "name": "workspaceSparsePresetsError", + "value": "", + "sent": 1 + }, + "5b8f6c626989": { + "name": "workspaceSparsePresetId", + "value": "p1", + "sent": 2 }, "5c44ff5f6877": { "name": "repo.saveSparsePreset#1", @@ -254,17 +269,10 @@ } } }, - "7993762437ad": { + "7c00933f99aa": { "name": "workspaceSparsePresetsError", - "value": "Connection closed" - }, - "7fd0cde62993": { - "name": "workspaceSparseSaving", - "value": false - }, - "841927d71fc6": { - "name": "workspaceSparsePresetsError", - "value": "outer refused" + "value": "Cannot read properties of null (reading 'preset')", + "sent": 2 }, "89aa7a3bd619": { "name": "ssh.getState#1", @@ -306,6 +314,17 @@ } } }, + "8a48f96e40fe": { + "name": "workspaceSparsePresets", + "value": [ + { + "directories": ["docs"], + "id": "p1", + "name": "docs" + } + ], + "sent": 2 + }, "8e410711e308": { "presets": [], "presetsError": "Cannot read properties of undefined (reading 'preset')", @@ -319,16 +338,10 @@ "targetId": "ssh-1" } }, - "921f72d7827e": { - "name": "workspaceSshState", - "value": { - "error": { - "$rpc": "null" - }, - "reconnectAttempt": 0, - "status": "connected", - "targetId": "ssh-1" - } + "8ff2b79a90fb": { + "name": "workspaceSparsePresetsLoaded", + "value": true, + "sent": 2 }, "92b857799ffd": { "name": "repo.saveSparsePreset#1", @@ -495,6 +508,11 @@ "targetId": "ssh-1" } }, + "bf4ab087f5b3": { + "name": "workspaceSparsePresetsError", + "value": "Cannot read properties of undefined (reading 'preset')", + "sent": 2 + }, "c33fee0d8294": { "presets": [], "presetsError": "Unknown method", @@ -546,9 +564,10 @@ } } }, - "cea9d7e8986e": { + "c74f5fe12440": { "name": "workspaceSparseSaving", - "value": true + "value": true, + "sent": 1 }, "d14de7ce4d84": { "name": "repo.saveSparsePreset#1", @@ -598,17 +617,10 @@ "targetId": "ssh-1" } }, - "da3a01640280": { + "df20e67660fc": { "name": "workspaceSparsePresetsError", - "value": "Failed to save sparse preset." - }, - "dba381378b08": { - "name": "workspaceSparsePresetsError", - "value": "" - }, - "dd63325a7802": { - "name": "workspaceSparsePresetsError", - "value": "Cannot read properties of undefined (reading 'preset')" + "value": "Unknown method", + "sent": 2 }, "e52233a9ff71": { "presets": [], @@ -623,10 +635,6 @@ "targetId": "ssh-1" } }, - "ea260eacb1db": { - "name": "workspaceSparsePresetsError", - "value": "Unknown method" - }, "eb79a9b3682a": { "status": "fulfilled", "startedAt": 0, @@ -648,6 +656,13 @@ "targetId": "ssh-1" } }, + "ef39f35afb7f": { + "name": "workspaceSparseDraft", + "value": { + "$rpc": "null" + }, + "sent": 2 + }, "f4d4ba362712": { "name": "repo.saveSparsePreset#1", "args": [ @@ -681,6 +696,11 @@ } } }, + "f77e22eef962": { + "name": "workspaceSparsePresetsError", + "value": "transport failure", + "sent": 2 + }, "f9dfbe0c0ea7": { "name": "ssh.getState#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.getState\",\"params\":{\"targetId\":\"ssh-1\"}}" @@ -702,7 +722,7 @@ "mount": "eb79a9b3682a" }, "state": "ee3a941d5e9c", - "effects": ["921f72d7827e"] + "effects": ["452edc62bce0"] } }, { @@ -716,11 +736,11 @@ }, "state": "bcfc7df6e4f2", "effects": [ - "921f72d7827e", - "cea9d7e8986e", - "dba381378b08", - "7993762437ad", - "7fd0cde62993" + "452edc62bce0", + "c74f5fe12440", + "594fac1293d4", + "23c24a8bc04b", + "3f2baafe9f80" ] } }, @@ -735,14 +755,14 @@ }, "state": "404305aa2e3a", "effects": [ - "921f72d7827e", - "cea9d7e8986e", - "dba381378b08", - "4856f62b3650", - "1d9a7d969446", - "312ed3cbf468", - "42bbd034563e", - "7fd0cde62993" + "452edc62bce0", + "c74f5fe12440", + "594fac1293d4", + "8a48f96e40fe", + "8ff2b79a90fb", + "5b8f6c626989", + "ef39f35afb7f", + "3f2baafe9f80" ] } }, @@ -757,11 +777,11 @@ }, "state": "8e410711e308", "effects": [ - "921f72d7827e", - "cea9d7e8986e", - "dba381378b08", - "dd63325a7802", - "7fd0cde62993" + "452edc62bce0", + "c74f5fe12440", + "594fac1293d4", + "bf4ab087f5b3", + "3f2baafe9f80" ] } }, @@ -776,11 +796,11 @@ }, "state": "e52233a9ff71", "effects": [ - "921f72d7827e", - "cea9d7e8986e", - "dba381378b08", - "4e1228f5e0a8", - "7fd0cde62993" + "452edc62bce0", + "c74f5fe12440", + "594fac1293d4", + "7c00933f99aa", + "3f2baafe9f80" ] } }, @@ -795,11 +815,11 @@ }, "state": "befb68fa6c76", "effects": [ - "921f72d7827e", - "cea9d7e8986e", - "dba381378b08", - "da3a01640280", - "7fd0cde62993" + "452edc62bce0", + "c74f5fe12440", + "594fac1293d4", + "0a30edace604", + "3f2baafe9f80" ] } }, @@ -814,11 +834,11 @@ }, "state": "befb68fa6c76", "effects": [ - "921f72d7827e", - "cea9d7e8986e", - "dba381378b08", - "da3a01640280", - "7fd0cde62993" + "452edc62bce0", + "c74f5fe12440", + "594fac1293d4", + "0a30edace604", + "3f2baafe9f80" ] } }, @@ -833,11 +853,11 @@ }, "state": "befb68fa6c76", "effects": [ - "921f72d7827e", - "cea9d7e8986e", - "dba381378b08", - "da3a01640280", - "7fd0cde62993" + "452edc62bce0", + "c74f5fe12440", + "594fac1293d4", + "0a30edace604", + "3f2baafe9f80" ] } }, @@ -852,11 +872,11 @@ }, "state": "d74bc3778ca8", "effects": [ - "921f72d7827e", - "cea9d7e8986e", - "dba381378b08", - "841927d71fc6", - "7fd0cde62993" + "452edc62bce0", + "c74f5fe12440", + "594fac1293d4", + "3dea8cd23ff6", + "3f2baafe9f80" ] } }, @@ -871,11 +891,11 @@ }, "state": "ee3a941d5e9c", "effects": [ - "921f72d7827e", - "cea9d7e8986e", - "dba381378b08", - "dba381378b08", - "7fd0cde62993" + "452edc62bce0", + "c74f5fe12440", + "594fac1293d4", + "50299594248a", + "3f2baafe9f80" ] } }, @@ -890,11 +910,11 @@ }, "state": "c33fee0d8294", "effects": [ - "921f72d7827e", - "cea9d7e8986e", - "dba381378b08", - "ea260eacb1db", - "7fd0cde62993" + "452edc62bce0", + "c74f5fe12440", + "594fac1293d4", + "df20e67660fc", + "3f2baafe9f80" ] } }, @@ -909,11 +929,11 @@ }, "state": "1f453ea83df7", "effects": [ - "921f72d7827e", - "cea9d7e8986e", - "dba381378b08", - "4c7522c66d03", - "7fd0cde62993" + "452edc62bce0", + "c74f5fe12440", + "594fac1293d4", + "f77e22eef962", + "3f2baafe9f80" ] } }, @@ -928,11 +948,11 @@ }, "state": "ee3a941d5e9c", "effects": [ - "921f72d7827e", - "cea9d7e8986e", - "dba381378b08", - "dba381378b08", - "7fd0cde62993" + "452edc62bce0", + "c74f5fe12440", + "594fac1293d4", + "50299594248a", + "3f2baafe9f80" ] } } diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.workspace-sparse-ssh.getstate-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.workspace-sparse-ssh.getstate-1.json index 0b9326b05ca..34014f55428 100644 --- a/mobile/rpc-foundation/goldens/matrix-tasks.workspace-sparse-ssh.getstate-1.json +++ b/mobile/rpc-foundation/goldens/matrix-tasks.workspace-sparse-ssh.getstate-1.json @@ -3,9 +3,9 @@ "family": "tasks.workspace-sparse", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "4e567302ac8acffcfd602c9b323ecf8b5b7c0c4692bda1a4c881011a91d98979", "scenarioSha256": "3453024581230908d1e0e9335f5310e7b4ae03faf50d93654b9ff28c464fb95f", "platform": "darwin", @@ -46,6 +46,16 @@ } } }, + "0c138770731d": { + "name": "workspaceSshState", + "value": { + "error": "Cannot read properties of null (reading 'state')", + "reconnectAttempt": 0, + "status": "error", + "targetId": "ssh-1" + }, + "sent": 1 + }, "0eabd872f405": { "name": "ssh.getState#1", "args": [ @@ -109,29 +119,15 @@ } } }, - "1703db1e81e4": { + "1db4236fbf9f": { "name": "workspaceSshState", "value": { - "error": "Cannot read properties of undefined (reading 'state')", + "error": "", "reconnectAttempt": 0, "status": "error", "targetId": "ssh-1" - } - }, - "1d9a7d969446": { - "name": "workspaceSparsePresetsLoaded", - "value": true - }, - "25352a4de532": { - "name": "workspaceSshState", - "value": { - "error": { - "$rpc": "null" - }, - "reconnectAttempt": 0, - "status": "disconnected", - "targetId": "ssh-1" - } + }, + "sent": 1 }, "2d910059043a": { "name": "ssh.getState#1", @@ -164,9 +160,20 @@ } } }, - "312ed3cbf468": { - "name": "workspaceSparsePresetId", - "value": "p1" + "370294f90804": { + "name": "workspaceSshState", + "value": { + "error": "outer refused", + "reconnectAttempt": 0, + "status": "error", + "targetId": "ssh-1" + }, + "sent": 1 + }, + "3f2baafe9f80": { + "name": "workspaceSparseSaving", + "value": false, + "sent": 2 }, "404305aa2e3a": { "presets": [ @@ -187,12 +194,6 @@ "targetId": "ssh-1" } }, - "42bbd034563e": { - "name": "workspaceSparseDraft", - "value": { - "$rpc": "null" - } - }, "44ca8518769a": { "presets": [], "presetsError": "", @@ -204,15 +205,17 @@ "targetId": "ssh-1" } }, - "4856f62b3650": { - "name": "workspaceSparsePresets", - "value": [ - { - "directories": ["docs"], - "id": "p1", - "name": "docs" - } - ] + "452edc62bce0": { + "name": "workspaceSshState", + "value": { + "error": { + "$rpc": "null" + }, + "reconnectAttempt": 0, + "status": "connected", + "targetId": "ssh-1" + }, + "sent": 1 }, "57be9babbecd": { "presets": [ @@ -231,6 +234,16 @@ "targetId": "ssh-1" } }, + "594fac1293d4": { + "name": "workspaceSparsePresetsError", + "value": "", + "sent": 1 + }, + "5b8f6c626989": { + "name": "workspaceSparsePresetId", + "value": "p1", + "sent": 2 + }, "5c44ff5f6877": { "name": "repo.saveSparsePreset#1", "args": [ @@ -270,6 +283,16 @@ } } }, + "5f1454731b28": { + "name": "workspaceSshState", + "value": { + "error": "Unknown method", + "reconnectAttempt": 0, + "status": "error", + "targetId": "ssh-1" + }, + "sent": 1 + }, "68ca812c8120": { "presets": [], "presetsError": "", @@ -283,6 +306,16 @@ "targetId": "ssh-1" } }, + "6afb106ee68e": { + "name": "workspaceSshState", + "value": { + "error": "Cannot read properties of undefined (reading 'state')", + "reconnectAttempt": 0, + "status": "error", + "targetId": "ssh-1" + }, + "sent": 1 + }, "6daeb33f37f8": { "presets": [], "presetsError": "", @@ -322,10 +355,6 @@ "targetId": "ssh-1" } }, - "7fd0cde62993": { - "name": "workspaceSparseSaving", - "value": false - }, "80431b2fc9cd": { "presets": [ { @@ -365,14 +394,27 @@ "targetId": "ssh-1" } }, - "86cc01b1e541": { + "82748a6e3f42": { "name": "workspaceSshState", "value": { - "error": "", + "error": { + "$rpc": "null" + }, + "reconnectAttempt": 0, + "status": "disconnected", + "targetId": "ssh-1" + }, + "sent": 1 + }, + "88164d04dbe0": { + "name": "workspaceSshState", + "value": { + "error": "transport failure", "reconnectAttempt": 0, "status": "error", "targetId": "ssh-1" - } + }, + "sent": 1 }, "89aa7a3bd619": { "name": "ssh.getState#1", @@ -414,25 +456,21 @@ } } }, - "9164e806ca12": { - "name": "workspaceSshState", - "value": { - "error": "Cannot read properties of null (reading 'state')", - "reconnectAttempt": 0, - "status": "error", - "targetId": "ssh-1" - } + "8a48f96e40fe": { + "name": "workspaceSparsePresets", + "value": [ + { + "directories": ["docs"], + "id": "p1", + "name": "docs" + } + ], + "sent": 2 }, - "921f72d7827e": { - "name": "workspaceSshState", - "value": { - "error": { - "$rpc": "null" - }, - "reconnectAttempt": 0, - "status": "connected", - "targetId": "ssh-1" - } + "8ff2b79a90fb": { + "name": "workspaceSparsePresetsLoaded", + "value": true, + "sent": 2 }, "9367b086d487": { "presets": [ @@ -451,15 +489,6 @@ "targetId": "ssh-1" } }, - "93dfd351c771": { - "name": "workspaceSshState", - "value": { - "error": "outer refused", - "reconnectAttempt": 0, - "status": "error", - "targetId": "ssh-1" - } - }, "a16210531185": { "presets": [], "presetsError": "", @@ -471,15 +500,6 @@ "targetId": "ssh-1" } }, - "a209f2c7160e": { - "name": "workspaceSshState", - "value": { - "error": "Unknown method", - "reconnectAttempt": 0, - "status": "error", - "targetId": "ssh-1" - } - }, "b09dd4915f43": { "name": "ssh.getState#1", "args": [ @@ -548,14 +568,10 @@ } } }, - "b7fa4557dcfa": { - "name": "workspaceSshState", - "value": { - "error": "transport failure", - "reconnectAttempt": 0, - "status": "error", - "targetId": "ssh-1" - } + "c74f5fe12440": { + "name": "workspaceSparseSaving", + "value": true, + "sent": 1 }, "cd050477e049": { "presets": [ @@ -574,10 +590,6 @@ "targetId": "ssh-1" } }, - "cea9d7e8986e": { - "name": "workspaceSparseSaving", - "value": true - }, "d0fad8f739ca": { "name": "ssh.getState#1", "args": [ @@ -612,10 +624,6 @@ } } }, - "dba381378b08": { - "name": "workspaceSparsePresetsError", - "value": "" - }, "e18278fce524": { "name": "ssh.getState#1", "args": [ @@ -690,6 +698,13 @@ "targetId": "ssh-1" } }, + "ef39f35afb7f": { + "name": "workspaceSparseDraft", + "value": { + "$rpc": "null" + }, + "sent": 2 + }, "f36f17f8d448": { "name": "ssh.getState#1", "args": [ @@ -795,7 +810,7 @@ "mount": "eb79a9b3682a" }, "state": "ee3a941d5e9c", - "effects": ["921f72d7827e"] + "effects": ["452edc62bce0"] } }, { @@ -809,14 +824,14 @@ }, "state": "404305aa2e3a", "effects": [ - "921f72d7827e", - "cea9d7e8986e", - "dba381378b08", - "4856f62b3650", - "1d9a7d969446", - "312ed3cbf468", - "42bbd034563e", - "7fd0cde62993" + "452edc62bce0", + "c74f5fe12440", + "594fac1293d4", + "8a48f96e40fe", + "8ff2b79a90fb", + "5b8f6c626989", + "ef39f35afb7f", + "3f2baafe9f80" ] } }, @@ -829,7 +844,7 @@ "mount": "eb79a9b3682a" }, "state": "44ca8518769a", - "effects": ["1703db1e81e4"] + "effects": ["6afb106ee68e"] } }, { @@ -843,14 +858,14 @@ }, "state": "7a26c9dceb4c", "effects": [ - "1703db1e81e4", - "cea9d7e8986e", - "dba381378b08", - "4856f62b3650", - "1d9a7d969446", - "312ed3cbf468", - "42bbd034563e", - "7fd0cde62993" + "6afb106ee68e", + "c74f5fe12440", + "594fac1293d4", + "8a48f96e40fe", + "8ff2b79a90fb", + "5b8f6c626989", + "ef39f35afb7f", + "3f2baafe9f80" ] } }, @@ -863,7 +878,7 @@ "mount": "eb79a9b3682a" }, "state": "81af687a998a", - "effects": ["9164e806ca12"] + "effects": ["0c138770731d"] } }, { @@ -877,14 +892,14 @@ }, "state": "80431b2fc9cd", "effects": [ - "9164e806ca12", - "cea9d7e8986e", - "dba381378b08", - "4856f62b3650", - "1d9a7d969446", - "312ed3cbf468", - "42bbd034563e", - "7fd0cde62993" + "0c138770731d", + "c74f5fe12440", + "594fac1293d4", + "8a48f96e40fe", + "8ff2b79a90fb", + "5b8f6c626989", + "ef39f35afb7f", + "3f2baafe9f80" ] } }, @@ -897,7 +912,7 @@ "mount": "eb79a9b3682a" }, "state": "68ca812c8120", - "effects": ["25352a4de532"] + "effects": ["82748a6e3f42"] } }, { @@ -911,14 +926,14 @@ }, "state": "f7885da6b9c0", "effects": [ - "25352a4de532", - "cea9d7e8986e", - "dba381378b08", - "4856f62b3650", - "1d9a7d969446", - "312ed3cbf468", - "42bbd034563e", - "7fd0cde62993" + "82748a6e3f42", + "c74f5fe12440", + "594fac1293d4", + "8a48f96e40fe", + "8ff2b79a90fb", + "5b8f6c626989", + "ef39f35afb7f", + "3f2baafe9f80" ] } }, @@ -931,7 +946,7 @@ "mount": "eb79a9b3682a" }, "state": "68ca812c8120", - "effects": ["25352a4de532"] + "effects": ["82748a6e3f42"] } }, { @@ -945,14 +960,14 @@ }, "state": "f7885da6b9c0", "effects": [ - "25352a4de532", - "cea9d7e8986e", - "dba381378b08", - "4856f62b3650", - "1d9a7d969446", - "312ed3cbf468", - "42bbd034563e", - "7fd0cde62993" + "82748a6e3f42", + "c74f5fe12440", + "594fac1293d4", + "8a48f96e40fe", + "8ff2b79a90fb", + "5b8f6c626989", + "ef39f35afb7f", + "3f2baafe9f80" ] } }, @@ -965,7 +980,7 @@ "mount": "eb79a9b3682a" }, "state": "68ca812c8120", - "effects": ["25352a4de532"] + "effects": ["82748a6e3f42"] } }, { @@ -979,14 +994,14 @@ }, "state": "f7885da6b9c0", "effects": [ - "25352a4de532", - "cea9d7e8986e", - "dba381378b08", - "4856f62b3650", - "1d9a7d969446", - "312ed3cbf468", - "42bbd034563e", - "7fd0cde62993" + "82748a6e3f42", + "c74f5fe12440", + "594fac1293d4", + "8a48f96e40fe", + "8ff2b79a90fb", + "5b8f6c626989", + "ef39f35afb7f", + "3f2baafe9f80" ] } }, @@ -999,7 +1014,7 @@ "mount": "eb79a9b3682a" }, "state": "a16210531185", - "effects": ["93dfd351c771"] + "effects": ["370294f90804"] } }, { @@ -1013,14 +1028,14 @@ }, "state": "9367b086d487", "effects": [ - "93dfd351c771", - "cea9d7e8986e", - "dba381378b08", - "4856f62b3650", - "1d9a7d969446", - "312ed3cbf468", - "42bbd034563e", - "7fd0cde62993" + "370294f90804", + "c74f5fe12440", + "594fac1293d4", + "8a48f96e40fe", + "8ff2b79a90fb", + "5b8f6c626989", + "ef39f35afb7f", + "3f2baafe9f80" ] } }, @@ -1033,7 +1048,7 @@ "mount": "eb79a9b3682a" }, "state": "813df5a46a4a", - "effects": ["86cc01b1e541"] + "effects": ["1db4236fbf9f"] } }, { @@ -1047,14 +1062,14 @@ }, "state": "cd050477e049", "effects": [ - "86cc01b1e541", - "cea9d7e8986e", - "dba381378b08", - "4856f62b3650", - "1d9a7d969446", - "312ed3cbf468", - "42bbd034563e", - "7fd0cde62993" + "1db4236fbf9f", + "c74f5fe12440", + "594fac1293d4", + "8a48f96e40fe", + "8ff2b79a90fb", + "5b8f6c626989", + "ef39f35afb7f", + "3f2baafe9f80" ] } }, @@ -1067,7 +1082,7 @@ "mount": "eb79a9b3682a" }, "state": "7e5ba73897a1", - "effects": ["a209f2c7160e"] + "effects": ["5f1454731b28"] } }, { @@ -1081,14 +1096,14 @@ }, "state": "57be9babbecd", "effects": [ - "a209f2c7160e", - "cea9d7e8986e", - "dba381378b08", - "4856f62b3650", - "1d9a7d969446", - "312ed3cbf468", - "42bbd034563e", - "7fd0cde62993" + "5f1454731b28", + "c74f5fe12440", + "594fac1293d4", + "8a48f96e40fe", + "8ff2b79a90fb", + "5b8f6c626989", + "ef39f35afb7f", + "3f2baafe9f80" ] } }, @@ -1101,7 +1116,7 @@ "mount": "eb79a9b3682a" }, "state": "6daeb33f37f8", - "effects": ["b7fa4557dcfa"] + "effects": ["88164d04dbe0"] } }, { @@ -1115,14 +1130,14 @@ }, "state": "ef27a7ecb258", "effects": [ - "b7fa4557dcfa", - "cea9d7e8986e", - "dba381378b08", - "4856f62b3650", - "1d9a7d969446", - "312ed3cbf468", - "42bbd034563e", - "7fd0cde62993" + "88164d04dbe0", + "c74f5fe12440", + "594fac1293d4", + "8a48f96e40fe", + "8ff2b79a90fb", + "5b8f6c626989", + "ef39f35afb7f", + "3f2baafe9f80" ] } }, @@ -1135,7 +1150,7 @@ "mount": "eb79a9b3682a" }, "state": "813df5a46a4a", - "effects": ["86cc01b1e541"] + "effects": ["1db4236fbf9f"] } }, { @@ -1149,14 +1164,14 @@ }, "state": "cd050477e049", "effects": [ - "86cc01b1e541", - "cea9d7e8986e", - "dba381378b08", - "4856f62b3650", - "1d9a7d969446", - "312ed3cbf468", - "42bbd034563e", - "7fd0cde62993" + "1db4236fbf9f", + "c74f5fe12440", + "594fac1293d4", + "8a48f96e40fe", + "8ff2b79a90fb", + "5b8f6c626989", + "ef39f35afb7f", + "3f2baafe9f80" ] } } diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.workspace-ssh-local-preflight.detectagents-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.workspace-ssh-local-preflight.detectagents-1.json index 8e8383f860d..bd0d8149092 100644 --- a/mobile/rpc-foundation/goldens/matrix-tasks.workspace-ssh-local-preflight.detectagents-1.json +++ b/mobile/rpc-foundation/goldens/matrix-tasks.workspace-ssh-local-preflight.detectagents-1.json @@ -3,9 +3,9 @@ "family": "tasks.workspace-ssh-local", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "4e567302ac8acffcfd602c9b323ecf8b5b7c0c4692bda1a4c881011a91d98979", "scenarioSha256": "28f7ba289c188bfc121ef7b969133711189e887fbfc7b37c8a5401ea7f30b56a", "platform": "darwin", @@ -83,6 +83,11 @@ } } }, + "0c2cba5f3708": { + "name": "workspaceAgent", + "value": "claude", + "sent": 0 + }, "1317fc33bdbe": { "name": "preflight.detectAgents#1", "args": [ @@ -183,12 +188,6 @@ } } }, - "41b0d115f434": { - "name": "workspaceDetectedAgentIds", - "value": { - "$rpc": "null" - } - }, "6e5fcf24648d": { "name": "preflight.detectAgents#1", "args": [ @@ -268,6 +267,11 @@ "$rpc": "null" } }, + "77b6cedadbe8": { + "name": "workspaceAgentOverridden", + "value": false, + "sent": 0 + }, "87d7d24a30d2": { "name": "preflight.detectAgents#1", "args": [ @@ -302,9 +306,10 @@ } } }, - "9f152ed6e897": { + "a88df8f43f70": { "name": "workspaceDetectedAgentIds", - "value": [] + "value": [], + "sent": 1 }, "cb93b17470e8": { "name": "preflight.detectAgents#1", @@ -337,17 +342,21 @@ } } }, - "cbb858a786ac": { - "name": "workspaceDetectedAgentIds", - "value": ["codex", "claude"] - }, "cf32edc950ac": { "name": "preflight.detectAgents#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectAgents\"}" }, - "ea709e13f0f0": { - "name": "workspaceAgentOverridden", - "value": false + "d00f9527d4f2": { + "name": "workspaceDetectedAgentIds", + "value": ["codex", "claude"], + "sent": 1 + }, + "dd9d8bf76a0e": { + "name": "workspaceDetectedAgentIds", + "value": { + "$rpc": "null" + }, + "sent": 0 }, "eb79a9b3682a": { "status": "fulfilled", @@ -357,10 +366,6 @@ "$rpc": "undefined" } }, - "ed6189938d78": { - "name": "workspaceAgent", - "value": "claude" - }, "fb640b2bca4c": { "name": "preflight.detectAgents#1", "args": [ @@ -439,7 +444,7 @@ "mount": "eb79a9b3682a" }, "state": "7400f4eebe66", - "effects": ["ed6189938d78", "ea709e13f0f0", "41b0d115f434", "cbb858a786ac"] + "effects": ["0c2cba5f3708", "77b6cedadbe8", "dd9d8bf76a0e", "d00f9527d4f2"] } }, { @@ -451,7 +456,7 @@ "mount": "eb79a9b3682a" }, "state": "71225024ccf5", - "effects": ["ed6189938d78", "ea709e13f0f0", "41b0d115f434", "9f152ed6e897"] + "effects": ["0c2cba5f3708", "77b6cedadbe8", "dd9d8bf76a0e", "a88df8f43f70"] } }, { @@ -463,7 +468,7 @@ "mount": "eb79a9b3682a" }, "state": "71225024ccf5", - "effects": ["ed6189938d78", "ea709e13f0f0", "41b0d115f434", "9f152ed6e897"] + "effects": ["0c2cba5f3708", "77b6cedadbe8", "dd9d8bf76a0e", "a88df8f43f70"] } }, { @@ -475,7 +480,7 @@ "mount": "eb79a9b3682a" }, "state": "71225024ccf5", - "effects": ["ed6189938d78", "ea709e13f0f0", "41b0d115f434", "9f152ed6e897"] + "effects": ["0c2cba5f3708", "77b6cedadbe8", "dd9d8bf76a0e", "a88df8f43f70"] } }, { @@ -487,7 +492,7 @@ "mount": "eb79a9b3682a" }, "state": "71225024ccf5", - "effects": ["ed6189938d78", "ea709e13f0f0", "41b0d115f434", "9f152ed6e897"] + "effects": ["0c2cba5f3708", "77b6cedadbe8", "dd9d8bf76a0e", "a88df8f43f70"] } }, { @@ -499,7 +504,7 @@ "mount": "eb79a9b3682a" }, "state": "71225024ccf5", - "effects": ["ed6189938d78", "ea709e13f0f0", "41b0d115f434", "9f152ed6e897"] + "effects": ["0c2cba5f3708", "77b6cedadbe8", "dd9d8bf76a0e", "a88df8f43f70"] } }, { @@ -511,7 +516,7 @@ "mount": "eb79a9b3682a" }, "state": "71225024ccf5", - "effects": ["ed6189938d78", "ea709e13f0f0", "41b0d115f434", "9f152ed6e897"] + "effects": ["0c2cba5f3708", "77b6cedadbe8", "dd9d8bf76a0e", "a88df8f43f70"] } }, { @@ -523,7 +528,7 @@ "mount": "eb79a9b3682a" }, "state": "71225024ccf5", - "effects": ["ed6189938d78", "ea709e13f0f0", "41b0d115f434", "9f152ed6e897"] + "effects": ["0c2cba5f3708", "77b6cedadbe8", "dd9d8bf76a0e", "a88df8f43f70"] } }, { @@ -535,7 +540,7 @@ "mount": "eb79a9b3682a" }, "state": "71225024ccf5", - "effects": ["ed6189938d78", "ea709e13f0f0", "41b0d115f434", "9f152ed6e897"] + "effects": ["0c2cba5f3708", "77b6cedadbe8", "dd9d8bf76a0e", "a88df8f43f70"] } }, { @@ -547,7 +552,7 @@ "mount": "eb79a9b3682a" }, "state": "71225024ccf5", - "effects": ["ed6189938d78", "ea709e13f0f0", "41b0d115f434", "9f152ed6e897"] + "effects": ["0c2cba5f3708", "77b6cedadbe8", "dd9d8bf76a0e", "a88df8f43f70"] } }, { @@ -559,7 +564,7 @@ "mount": "eb79a9b3682a" }, "state": "71225024ccf5", - "effects": ["ed6189938d78", "ea709e13f0f0", "41b0d115f434", "9f152ed6e897"] + "effects": ["0c2cba5f3708", "77b6cedadbe8", "dd9d8bf76a0e", "a88df8f43f70"] } } ] diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.workspace-ssh-preflight.detectremoteagents-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.workspace-ssh-preflight.detectremoteagents-1.json index 72d178b7168..d3293456de6 100644 --- a/mobile/rpc-foundation/goldens/matrix-tasks.workspace-ssh-preflight.detectremoteagents-1.json +++ b/mobile/rpc-foundation/goldens/matrix-tasks.workspace-ssh-preflight.detectremoteagents-1.json @@ -3,9 +3,9 @@ "family": "tasks.workspace-ssh", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "4e567302ac8acffcfd602c9b323ecf8b5b7c0c4692bda1a4c881011a91d98979", "scenarioSha256": "35771ab92d0d4ff44a1dd6e5f1e5d3137570a2e013bddea5ca77ecac7989ed53", "platform": "darwin", @@ -91,6 +91,11 @@ "source": "repo" } }, + "0c2cba5f3708": { + "name": "workspaceAgent", + "value": "claude", + "sent": 0 + }, "162a699815c1": { "name": "preflight.detectRemoteAgents#1", "args": [ @@ -127,10 +132,6 @@ } } }, - "1739575ac53e": { - "name": "workspaceSshConnecting", - "value": true - }, "17e35b25d15d": { "name": "preflight.detectRemoteAgents#1", "args": [ @@ -238,20 +239,22 @@ } } }, - "3571f351281f": { - "name": "workspaceDetectedAgentIds", - "value": ["codex"] + "2dcd5a3a771d": { + "name": "workspaceSshState", + "value": { + "error": { + "$rpc": "null" + }, + "reconnectAttempt": 0, + "status": "connected", + "targetId": "ssh-1" + }, + "sent": 2 }, "37921d9fdeb7": { "name": "preflight.detectRemoteAgents#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectRemoteAgents\",\"params\":{\"connectionId\":\"ssh-1\"}}" }, - "41b0d115f434": { - "name": "workspaceDetectedAgentIds", - "value": { - "$rpc": "null" - } - }, "43ead075ce12": { "agent": "claude", "connecting": false, @@ -274,10 +277,6 @@ "targetId": "ssh-1" } }, - "43fd3e2f4b53": { - "name": "workspaceSshConnecting", - "value": false - }, "71225024ccf5": { "agent": "claude", "connecting": false, @@ -327,6 +326,11 @@ } } }, + "77b6cedadbe8": { + "name": "workspaceAgentOverridden", + "value": false, + "sent": 0 + }, "7a1b524f17d0": { "agent": "claude", "connecting": false, @@ -430,6 +434,28 @@ } } }, + "86149ccb0853": { + "name": "workspaceSshConnecting", + "value": true, + "sent": 1 + }, + "8967d4751aaf": { + "name": "workspaceSshState", + "value": { + "error": { + "$rpc": "null" + }, + "reconnectAttempt": 0, + "status": "connecting", + "targetId": "ssh-1" + }, + "sent": 1 + }, + "8d99fc90d0b0": { + "name": "workspaceDetectedAgentIds", + "value": ["codex"], + "sent": 1 + }, "90dce4861972": { "name": "preflight.detectRemoteAgents#1", "args": [ @@ -460,17 +486,6 @@ } } }, - "921f72d7827e": { - "name": "workspaceSshState", - "value": { - "error": { - "$rpc": "null" - }, - "reconnectAttempt": 0, - "status": "connected", - "targetId": "ssh-1" - } - }, "95dee1165f95": { "name": "preflight.detectRemoteAgents#1", "args": [ @@ -516,10 +531,6 @@ "targetId": "ssh-1" } }, - "9f152ed6e897": { - "name": "workspaceDetectedAgentIds", - "value": [] - }, "a1f755a38636": { "agent": "claude", "connecting": false, @@ -534,6 +545,11 @@ "targetId": "ssh-1" } }, + "a88df8f43f70": { + "name": "workspaceDetectedAgentIds", + "value": [], + "sent": 1 + }, "c5eeac27af29": { "name": "preflight.detectRemoteAgents#1", "args": [ @@ -568,9 +584,17 @@ } } }, - "ea709e13f0f0": { - "name": "workspaceAgentOverridden", - "value": false + "db1cde7aa6f5": { + "name": "workspaceSshConnecting", + "value": false, + "sent": 2 + }, + "dd9d8bf76a0e": { + "name": "workspaceDetectedAgentIds", + "value": { + "$rpc": "null" + }, + "sent": 0 }, "eb79a9b3682a": { "status": "fulfilled", @@ -580,25 +604,10 @@ "$rpc": "undefined" } }, - "ed6189938d78": { - "name": "workspaceAgent", - "value": "claude" - }, "f0a9f62da106": { "name": "repo.hooks#1", "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"repo.hooks\",\"params\":{\"repo\":\"id:repo-1\"}}" }, - "fbfdbb919268": { - "name": "workspaceSshState", - "value": { - "error": { - "$rpc": "null" - }, - "reconnectAttempt": 0, - "status": "connecting", - "targetId": "ssh-1" - } - }, "fd04a7852302": { "name": "preflight.detectRemoteAgents#1", "args": [ @@ -646,7 +655,7 @@ "mount": "eb79a9b3682a" }, "state": "18e6a3ac6471", - "effects": ["ed6189938d78", "ea709e13f0f0", "41b0d115f434", "3571f351281f"] + "effects": ["0c2cba5f3708", "77b6cedadbe8", "dd9d8bf76a0e", "8d99fc90d0b0"] } }, { @@ -660,14 +669,14 @@ }, "state": "a1f755a38636", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "3571f351281f", - "1739575ac53e", - "fbfdbb919268", - "921f72d7827e", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "8d99fc90d0b0", + "86149ccb0853", + "8967d4751aaf", + "2dcd5a3a771d", + "db1cde7aa6f5" ] } }, @@ -683,14 +692,14 @@ }, "state": "43ead075ce12", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "3571f351281f", - "1739575ac53e", - "fbfdbb919268", - "921f72d7827e", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "8d99fc90d0b0", + "86149ccb0853", + "8967d4751aaf", + "2dcd5a3a771d", + "db1cde7aa6f5" ] } }, @@ -703,7 +712,7 @@ "mount": "eb79a9b3682a" }, "state": "71225024ccf5", - "effects": ["ed6189938d78", "ea709e13f0f0", "41b0d115f434", "9f152ed6e897"] + "effects": ["0c2cba5f3708", "77b6cedadbe8", "dd9d8bf76a0e", "a88df8f43f70"] } }, { @@ -717,14 +726,14 @@ }, "state": "9f0676ba0d67", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "9f152ed6e897", - "1739575ac53e", - "fbfdbb919268", - "921f72d7827e", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "a88df8f43f70", + "86149ccb0853", + "8967d4751aaf", + "2dcd5a3a771d", + "db1cde7aa6f5" ] } }, @@ -740,14 +749,14 @@ }, "state": "7a1b524f17d0", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "9f152ed6e897", - "1739575ac53e", - "fbfdbb919268", - "921f72d7827e", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "a88df8f43f70", + "86149ccb0853", + "8967d4751aaf", + "2dcd5a3a771d", + "db1cde7aa6f5" ] } }, @@ -760,7 +769,7 @@ "mount": "eb79a9b3682a" }, "state": "71225024ccf5", - "effects": ["ed6189938d78", "ea709e13f0f0", "41b0d115f434", "9f152ed6e897"] + "effects": ["0c2cba5f3708", "77b6cedadbe8", "dd9d8bf76a0e", "a88df8f43f70"] } }, { @@ -774,14 +783,14 @@ }, "state": "9f0676ba0d67", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "9f152ed6e897", - "1739575ac53e", - "fbfdbb919268", - "921f72d7827e", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "a88df8f43f70", + "86149ccb0853", + "8967d4751aaf", + "2dcd5a3a771d", + "db1cde7aa6f5" ] } }, @@ -797,14 +806,14 @@ }, "state": "7a1b524f17d0", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "9f152ed6e897", - "1739575ac53e", - "fbfdbb919268", - "921f72d7827e", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "a88df8f43f70", + "86149ccb0853", + "8967d4751aaf", + "2dcd5a3a771d", + "db1cde7aa6f5" ] } }, @@ -817,7 +826,7 @@ "mount": "eb79a9b3682a" }, "state": "71225024ccf5", - "effects": ["ed6189938d78", "ea709e13f0f0", "41b0d115f434", "9f152ed6e897"] + "effects": ["0c2cba5f3708", "77b6cedadbe8", "dd9d8bf76a0e", "a88df8f43f70"] } }, { @@ -831,14 +840,14 @@ }, "state": "9f0676ba0d67", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "9f152ed6e897", - "1739575ac53e", - "fbfdbb919268", - "921f72d7827e", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "a88df8f43f70", + "86149ccb0853", + "8967d4751aaf", + "2dcd5a3a771d", + "db1cde7aa6f5" ] } }, @@ -854,14 +863,14 @@ }, "state": "7a1b524f17d0", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "9f152ed6e897", - "1739575ac53e", - "fbfdbb919268", - "921f72d7827e", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "a88df8f43f70", + "86149ccb0853", + "8967d4751aaf", + "2dcd5a3a771d", + "db1cde7aa6f5" ] } }, @@ -874,7 +883,7 @@ "mount": "eb79a9b3682a" }, "state": "71225024ccf5", - "effects": ["ed6189938d78", "ea709e13f0f0", "41b0d115f434", "9f152ed6e897"] + "effects": ["0c2cba5f3708", "77b6cedadbe8", "dd9d8bf76a0e", "a88df8f43f70"] } }, { @@ -888,14 +897,14 @@ }, "state": "9f0676ba0d67", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "9f152ed6e897", - "1739575ac53e", - "fbfdbb919268", - "921f72d7827e", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "a88df8f43f70", + "86149ccb0853", + "8967d4751aaf", + "2dcd5a3a771d", + "db1cde7aa6f5" ] } }, @@ -911,14 +920,14 @@ }, "state": "7a1b524f17d0", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "9f152ed6e897", - "1739575ac53e", - "fbfdbb919268", - "921f72d7827e", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "a88df8f43f70", + "86149ccb0853", + "8967d4751aaf", + "2dcd5a3a771d", + "db1cde7aa6f5" ] } }, @@ -931,7 +940,7 @@ "mount": "eb79a9b3682a" }, "state": "71225024ccf5", - "effects": ["ed6189938d78", "ea709e13f0f0", "41b0d115f434", "9f152ed6e897"] + "effects": ["0c2cba5f3708", "77b6cedadbe8", "dd9d8bf76a0e", "a88df8f43f70"] } }, { @@ -945,14 +954,14 @@ }, "state": "9f0676ba0d67", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "9f152ed6e897", - "1739575ac53e", - "fbfdbb919268", - "921f72d7827e", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "a88df8f43f70", + "86149ccb0853", + "8967d4751aaf", + "2dcd5a3a771d", + "db1cde7aa6f5" ] } }, @@ -968,14 +977,14 @@ }, "state": "7a1b524f17d0", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "9f152ed6e897", - "1739575ac53e", - "fbfdbb919268", - "921f72d7827e", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "a88df8f43f70", + "86149ccb0853", + "8967d4751aaf", + "2dcd5a3a771d", + "db1cde7aa6f5" ] } }, @@ -988,7 +997,7 @@ "mount": "eb79a9b3682a" }, "state": "71225024ccf5", - "effects": ["ed6189938d78", "ea709e13f0f0", "41b0d115f434", "9f152ed6e897"] + "effects": ["0c2cba5f3708", "77b6cedadbe8", "dd9d8bf76a0e", "a88df8f43f70"] } }, { @@ -1002,14 +1011,14 @@ }, "state": "9f0676ba0d67", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "9f152ed6e897", - "1739575ac53e", - "fbfdbb919268", - "921f72d7827e", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "a88df8f43f70", + "86149ccb0853", + "8967d4751aaf", + "2dcd5a3a771d", + "db1cde7aa6f5" ] } }, @@ -1025,14 +1034,14 @@ }, "state": "7a1b524f17d0", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "9f152ed6e897", - "1739575ac53e", - "fbfdbb919268", - "921f72d7827e", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "a88df8f43f70", + "86149ccb0853", + "8967d4751aaf", + "2dcd5a3a771d", + "db1cde7aa6f5" ] } }, @@ -1045,7 +1054,7 @@ "mount": "eb79a9b3682a" }, "state": "71225024ccf5", - "effects": ["ed6189938d78", "ea709e13f0f0", "41b0d115f434", "9f152ed6e897"] + "effects": ["0c2cba5f3708", "77b6cedadbe8", "dd9d8bf76a0e", "a88df8f43f70"] } }, { @@ -1059,14 +1068,14 @@ }, "state": "9f0676ba0d67", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "9f152ed6e897", - "1739575ac53e", - "fbfdbb919268", - "921f72d7827e", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "a88df8f43f70", + "86149ccb0853", + "8967d4751aaf", + "2dcd5a3a771d", + "db1cde7aa6f5" ] } }, @@ -1082,14 +1091,14 @@ }, "state": "7a1b524f17d0", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "9f152ed6e897", - "1739575ac53e", - "fbfdbb919268", - "921f72d7827e", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "a88df8f43f70", + "86149ccb0853", + "8967d4751aaf", + "2dcd5a3a771d", + "db1cde7aa6f5" ] } }, @@ -1102,7 +1111,7 @@ "mount": "eb79a9b3682a" }, "state": "71225024ccf5", - "effects": ["ed6189938d78", "ea709e13f0f0", "41b0d115f434", "9f152ed6e897"] + "effects": ["0c2cba5f3708", "77b6cedadbe8", "dd9d8bf76a0e", "a88df8f43f70"] } }, { @@ -1116,14 +1125,14 @@ }, "state": "9f0676ba0d67", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "9f152ed6e897", - "1739575ac53e", - "fbfdbb919268", - "921f72d7827e", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "a88df8f43f70", + "86149ccb0853", + "8967d4751aaf", + "2dcd5a3a771d", + "db1cde7aa6f5" ] } }, @@ -1139,14 +1148,14 @@ }, "state": "7a1b524f17d0", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "9f152ed6e897", - "1739575ac53e", - "fbfdbb919268", - "921f72d7827e", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "a88df8f43f70", + "86149ccb0853", + "8967d4751aaf", + "2dcd5a3a771d", + "db1cde7aa6f5" ] } }, @@ -1159,7 +1168,7 @@ "mount": "eb79a9b3682a" }, "state": "71225024ccf5", - "effects": ["ed6189938d78", "ea709e13f0f0", "41b0d115f434", "9f152ed6e897"] + "effects": ["0c2cba5f3708", "77b6cedadbe8", "dd9d8bf76a0e", "a88df8f43f70"] } }, { @@ -1173,14 +1182,14 @@ }, "state": "9f0676ba0d67", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "9f152ed6e897", - "1739575ac53e", - "fbfdbb919268", - "921f72d7827e", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "a88df8f43f70", + "86149ccb0853", + "8967d4751aaf", + "2dcd5a3a771d", + "db1cde7aa6f5" ] } }, @@ -1196,14 +1205,14 @@ }, "state": "7a1b524f17d0", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "9f152ed6e897", - "1739575ac53e", - "fbfdbb919268", - "921f72d7827e", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "a88df8f43f70", + "86149ccb0853", + "8967d4751aaf", + "2dcd5a3a771d", + "db1cde7aa6f5" ] } }, @@ -1216,7 +1225,7 @@ "mount": "eb79a9b3682a" }, "state": "71225024ccf5", - "effects": ["ed6189938d78", "ea709e13f0f0", "41b0d115f434", "9f152ed6e897"] + "effects": ["0c2cba5f3708", "77b6cedadbe8", "dd9d8bf76a0e", "a88df8f43f70"] } }, { @@ -1230,14 +1239,14 @@ }, "state": "9f0676ba0d67", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "9f152ed6e897", - "1739575ac53e", - "fbfdbb919268", - "921f72d7827e", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "a88df8f43f70", + "86149ccb0853", + "8967d4751aaf", + "2dcd5a3a771d", + "db1cde7aa6f5" ] } }, @@ -1253,14 +1262,14 @@ }, "state": "7a1b524f17d0", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "9f152ed6e897", - "1739575ac53e", - "fbfdbb919268", - "921f72d7827e", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "a88df8f43f70", + "86149ccb0853", + "8967d4751aaf", + "2dcd5a3a771d", + "db1cde7aa6f5" ] } } diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.workspace-ssh-repo.hooks-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.workspace-ssh-repo.hooks-1.json index 81ce3956258..e80a48e99d7 100644 --- a/mobile/rpc-foundation/goldens/matrix-tasks.workspace-ssh-repo.hooks-1.json +++ b/mobile/rpc-foundation/goldens/matrix-tasks.workspace-ssh-repo.hooks-1.json @@ -3,9 +3,9 @@ "family": "tasks.workspace-ssh", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "4e567302ac8acffcfd602c9b323ecf8b5b7c0c4692bda1a4c881011a91d98979", "scenarioSha256": "39451d3c811068754f91ac243fe1208f4ce742df53261314345d8209ba761e94", "platform": "darwin", @@ -61,6 +61,11 @@ "source": "repo" } }, + "0c2cba5f3708": { + "name": "workspaceAgent", + "value": "claude", + "sent": 0 + }, "1712c415bebf": { "status": "fulfilled", "startedAt": 0, @@ -70,10 +75,6 @@ "kind": "decision" } }, - "1739575ac53e": { - "name": "workspaceSshConnecting", - "value": true - }, "17e35b25d15d": { "name": "preflight.detectRemoteAgents#1", "args": [ @@ -148,6 +149,18 @@ } } }, + "2dcd5a3a771d": { + "name": "workspaceSshState", + "value": { + "error": { + "$rpc": "null" + }, + "reconnectAttempt": 0, + "status": "connected", + "targetId": "ssh-1" + }, + "sent": 2 + }, "32a7c0ae7918": { "status": "rejected", "startedAt": 0, @@ -189,20 +202,10 @@ } } }, - "3571f351281f": { - "name": "workspaceDetectedAgentIds", - "value": ["codex"] - }, "37921d9fdeb7": { "name": "preflight.detectRemoteAgents#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectRemoteAgents\",\"params\":{\"connectionId\":\"ssh-1\"}}" }, - "41b0d115f434": { - "name": "workspaceDetectedAgentIds", - "value": { - "$rpc": "null" - } - }, "43ead075ce12": { "agent": "claude", "connecting": false, @@ -225,10 +228,6 @@ "targetId": "ssh-1" } }, - "43fd3e2f4b53": { - "name": "workspaceSshConnecting", - "value": false - }, "5278c299d57a": { "name": "repo.hooks#1", "args": [ @@ -346,6 +345,11 @@ } } }, + "77b6cedadbe8": { + "name": "workspaceAgentOverridden", + "value": false, + "sent": 0 + }, "7c7a826833e0": { "name": "repo.hooks#1", "args": [ @@ -444,6 +448,23 @@ } } }, + "86149ccb0853": { + "name": "workspaceSshConnecting", + "value": true, + "sent": 1 + }, + "8967d4751aaf": { + "name": "workspaceSshState", + "value": { + "error": { + "$rpc": "null" + }, + "reconnectAttempt": 0, + "status": "connecting", + "targetId": "ssh-1" + }, + "sent": 1 + }, "8c3bb432df5b": { "name": "repo.hooks#1", "args": [ @@ -480,16 +501,10 @@ } } }, - "921f72d7827e": { - "name": "workspaceSshState", - "value": { - "error": { - "$rpc": "null" - }, - "reconnectAttempt": 0, - "status": "connected", - "targetId": "ssh-1" - } + "8d99fc90d0b0": { + "name": "workspaceDetectedAgentIds", + "value": ["codex"], + "sent": 1 }, "941b6aeb0d6f": { "name": "repo.hooks#1", @@ -566,9 +581,17 @@ "isRpcDeliveryUnknown": true } }, - "ea709e13f0f0": { - "name": "workspaceAgentOverridden", - "value": false + "db1cde7aa6f5": { + "name": "workspaceSshConnecting", + "value": false, + "sent": 2 + }, + "dd9d8bf76a0e": { + "name": "workspaceDetectedAgentIds", + "value": { + "$rpc": "null" + }, + "sent": 0 }, "eb79a9b3682a": { "status": "fulfilled", @@ -578,10 +601,6 @@ "$rpc": "undefined" } }, - "ed6189938d78": { - "name": "workspaceAgent", - "value": "claude" - }, "f0a9f62da106": { "name": "repo.hooks#1", "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"repo.hooks\",\"params\":{\"repo\":\"id:repo-1\"}}" @@ -636,17 +655,6 @@ } } }, - "fbfdbb919268": { - "name": "workspaceSshState", - "value": { - "error": { - "$rpc": "null" - }, - "reconnectAttempt": 0, - "status": "connecting", - "targetId": "ssh-1" - } - }, "ff43290f6836": { "name": "repo.hooks#1", "args": [ @@ -693,7 +701,7 @@ "mount": "eb79a9b3682a" }, "state": "18e6a3ac6471", - "effects": ["ed6189938d78", "ea709e13f0f0", "41b0d115f434", "3571f351281f"] + "effects": ["0c2cba5f3708", "77b6cedadbe8", "dd9d8bf76a0e", "8d99fc90d0b0"] } }, { @@ -707,14 +715,14 @@ }, "state": "a1f755a38636", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "3571f351281f", - "1739575ac53e", - "fbfdbb919268", - "921f72d7827e", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "8d99fc90d0b0", + "86149ccb0853", + "8967d4751aaf", + "2dcd5a3a771d", + "db1cde7aa6f5" ] } }, @@ -730,14 +738,14 @@ }, "state": "43ead075ce12", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "3571f351281f", - "1739575ac53e", - "fbfdbb919268", - "921f72d7827e", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "8d99fc90d0b0", + "86149ccb0853", + "8967d4751aaf", + "2dcd5a3a771d", + "db1cde7aa6f5" ] } }, @@ -753,14 +761,14 @@ }, "state": "a1f755a38636", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "3571f351281f", - "1739575ac53e", - "fbfdbb919268", - "921f72d7827e", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "8d99fc90d0b0", + "86149ccb0853", + "8967d4751aaf", + "2dcd5a3a771d", + "db1cde7aa6f5" ] } }, @@ -776,14 +784,14 @@ }, "state": "a1f755a38636", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "3571f351281f", - "1739575ac53e", - "fbfdbb919268", - "921f72d7827e", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "8d99fc90d0b0", + "86149ccb0853", + "8967d4751aaf", + "2dcd5a3a771d", + "db1cde7aa6f5" ] } }, @@ -799,14 +807,14 @@ }, "state": "7e1d82e5b5ed", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "3571f351281f", - "1739575ac53e", - "fbfdbb919268", - "921f72d7827e", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "8d99fc90d0b0", + "86149ccb0853", + "8967d4751aaf", + "2dcd5a3a771d", + "db1cde7aa6f5" ] } }, @@ -822,14 +830,14 @@ }, "state": "7e1d82e5b5ed", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "3571f351281f", - "1739575ac53e", - "fbfdbb919268", - "921f72d7827e", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "8d99fc90d0b0", + "86149ccb0853", + "8967d4751aaf", + "2dcd5a3a771d", + "db1cde7aa6f5" ] } }, @@ -845,14 +853,14 @@ }, "state": "7e1d82e5b5ed", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "3571f351281f", - "1739575ac53e", - "fbfdbb919268", - "921f72d7827e", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "8d99fc90d0b0", + "86149ccb0853", + "8967d4751aaf", + "2dcd5a3a771d", + "db1cde7aa6f5" ] } }, @@ -868,14 +876,14 @@ }, "state": "a1f755a38636", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "3571f351281f", - "1739575ac53e", - "fbfdbb919268", - "921f72d7827e", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "8d99fc90d0b0", + "86149ccb0853", + "8967d4751aaf", + "2dcd5a3a771d", + "db1cde7aa6f5" ] } }, @@ -891,14 +899,14 @@ }, "state": "a1f755a38636", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "3571f351281f", - "1739575ac53e", - "fbfdbb919268", - "921f72d7827e", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "8d99fc90d0b0", + "86149ccb0853", + "8967d4751aaf", + "2dcd5a3a771d", + "db1cde7aa6f5" ] } }, @@ -914,14 +922,14 @@ }, "state": "a1f755a38636", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "3571f351281f", - "1739575ac53e", - "fbfdbb919268", - "921f72d7827e", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "8d99fc90d0b0", + "86149ccb0853", + "8967d4751aaf", + "2dcd5a3a771d", + "db1cde7aa6f5" ] } }, @@ -937,14 +945,14 @@ }, "state": "a1f755a38636", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "3571f351281f", - "1739575ac53e", - "fbfdbb919268", - "921f72d7827e", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "8d99fc90d0b0", + "86149ccb0853", + "8967d4751aaf", + "2dcd5a3a771d", + "db1cde7aa6f5" ] } }, @@ -960,14 +968,14 @@ }, "state": "a1f755a38636", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "3571f351281f", - "1739575ac53e", - "fbfdbb919268", - "921f72d7827e", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "8d99fc90d0b0", + "86149ccb0853", + "8967d4751aaf", + "2dcd5a3a771d", + "db1cde7aa6f5" ] } } diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.workspace-ssh-ssh.connect-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.workspace-ssh-ssh.connect-1.json index 9649d6671ef..7746eb62867 100644 --- a/mobile/rpc-foundation/goldens/matrix-tasks.workspace-ssh-ssh.connect-1.json +++ b/mobile/rpc-foundation/goldens/matrix-tasks.workspace-ssh-ssh.connect-1.json @@ -3,9 +3,9 @@ "family": "tasks.workspace-ssh", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "4e567302ac8acffcfd602c9b323ecf8b5b7c0c4692bda1a4c881011a91d98979", "scenarioSha256": "5cc1773d06d49d2616da72f2790753322edda6d67e12b5e41116971d34787391", "platform": "darwin", @@ -60,6 +60,11 @@ "source": "repo" } }, + "0c2cba5f3708": { + "name": "workspaceAgent", + "value": "claude", + "sent": 0 + }, "11181309201b": { "name": "ssh.connect#1", "args": [ @@ -93,19 +98,6 @@ } } }, - "1703db1e81e4": { - "name": "workspaceSshState", - "value": { - "error": "Cannot read properties of undefined (reading 'state')", - "reconnectAttempt": 0, - "status": "error", - "targetId": "ssh-1" - } - }, - "1739575ac53e": { - "name": "workspaceSshConnecting", - "value": true - }, "17e35b25d15d": { "name": "preflight.detectRemoteAgents#1", "args": [ @@ -146,20 +138,52 @@ "$rpc": "null" } }, - "3571f351281f": { - "name": "workspaceDetectedAgentIds", - "value": ["codex"] + "1d7499d6b3ac": { + "name": "workspaceSshState", + "value": { + "error": "Connection closed", + "reconnectAttempt": 0, + "status": "error", + "targetId": "ssh-1" + }, + "sent": 2 + }, + "22ae1e1ae0dd": { + "name": "workspaceSshState", + "value": { + "error": "Unknown method", + "reconnectAttempt": 0, + "status": "error", + "targetId": "ssh-1" + }, + "sent": 2 + }, + "2dcd5a3a771d": { + "name": "workspaceSshState", + "value": { + "error": { + "$rpc": "null" + }, + "reconnectAttempt": 0, + "status": "connected", + "targetId": "ssh-1" + }, + "sent": 2 + }, + "2f8e03179edb": { + "name": "workspaceSshState", + "value": { + "error": "Cannot read properties of undefined (reading 'state')", + "reconnectAttempt": 0, + "status": "error", + "targetId": "ssh-1" + }, + "sent": 2 }, "37921d9fdeb7": { "name": "preflight.detectRemoteAgents#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectRemoteAgents\",\"params\":{\"connectionId\":\"ssh-1\"}}" }, - "41b0d115f434": { - "name": "workspaceDetectedAgentIds", - "value": { - "$rpc": "null" - } - }, "42fb94e15a80": { "agent": "claude", "connecting": false, @@ -202,10 +226,6 @@ "targetId": "ssh-1" } }, - "43fd3e2f4b53": { - "name": "workspaceSshConnecting", - "value": false - }, "4a24b4b276fa": { "agent": "claude", "connecting": false, @@ -280,6 +300,16 @@ "targetId": "ssh-1" } }, + "610b87531639": { + "name": "workspaceSshState", + "value": { + "error": "outer refused", + "reconnectAttempt": 0, + "status": "error", + "targetId": "ssh-1" + }, + "sent": 2 + }, "654de1224bc2": { "name": "ssh.connect#1", "args": [ @@ -394,6 +424,11 @@ } } }, + "77b6cedadbe8": { + "name": "workspaceAgentOverridden", + "value": false, + "sent": 0 + }, "7c9498659f58": { "name": "ssh.connect#1", "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.connect\",\"params\":{\"targetId\":\"ssh-1\"}}" @@ -441,14 +476,22 @@ } } }, - "86cc01b1e541": { + "86149ccb0853": { + "name": "workspaceSshConnecting", + "value": true, + "sent": 1 + }, + "8967d4751aaf": { "name": "workspaceSshState", "value": { - "error": "", + "error": { + "$rpc": "null" + }, "reconnectAttempt": 0, - "status": "error", + "status": "connecting", "targetId": "ssh-1" - } + }, + "sent": 1 }, "8a5755fd3ffa": { "name": "ssh.connect#1", @@ -484,6 +527,11 @@ } } }, + "8d99fc90d0b0": { + "name": "workspaceDetectedAgentIds", + "value": ["codex"], + "sent": 1 + }, "8dc4620dc1de": { "agent": "claude", "connecting": false, @@ -496,34 +544,25 @@ "targetId": "ssh-1" } }, - "9164e806ca12": { + "8e62c4ea1c58": { + "name": "workspaceSshState", + "value": { + "error": "transport failure", + "reconnectAttempt": 0, + "status": "error", + "targetId": "ssh-1" + }, + "sent": 2 + }, + "9e66199bd252": { "name": "workspaceSshState", "value": { "error": "Cannot read properties of null (reading 'state')", "reconnectAttempt": 0, "status": "error", "targetId": "ssh-1" - } - }, - "921f72d7827e": { - "name": "workspaceSshState", - "value": { - "error": { - "$rpc": "null" - }, - "reconnectAttempt": 0, - "status": "connected", - "targetId": "ssh-1" - } - }, - "93dfd351c771": { - "name": "workspaceSshState", - "value": { - "error": "outer refused", - "reconnectAttempt": 0, - "status": "error", - "targetId": "ssh-1" - } + }, + "sent": 2 }, "9eb40e943577": { "agent": "claude", @@ -559,14 +598,15 @@ "targetId": "ssh-1" } }, - "a209f2c7160e": { + "a745d7e1dd70": { "name": "workspaceSshState", "value": { - "error": "Unknown method", + "error": "", "reconnectAttempt": 0, "status": "error", "targetId": "ssh-1" - } + }, + "sent": 2 }, "aa15b77aca73": { "agent": "claude", @@ -622,15 +662,6 @@ } } }, - "b7fa4557dcfa": { - "name": "workspaceSshState", - "value": { - "error": "transport failure", - "reconnectAttempt": 0, - "status": "error", - "targetId": "ssh-1" - } - }, "c5608f9dd27c": { "name": "ssh.connect#1", "args": [ @@ -708,15 +739,6 @@ "targetId": "ssh-1" } }, - "ce4a98c7ed2f": { - "name": "workspaceSshState", - "value": { - "error": "Connection closed", - "reconnectAttempt": 0, - "status": "error", - "targetId": "ssh-1" - } - }, "ce5554d7557b": { "agent": "claude", "connecting": false, @@ -751,6 +773,18 @@ "targetId": "ssh-1" } }, + "db1cde7aa6f5": { + "name": "workspaceSshConnecting", + "value": false, + "sent": 2 + }, + "dd9d8bf76a0e": { + "name": "workspaceDetectedAgentIds", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, "e17430747d93": { "agent": "claude", "connecting": false, @@ -841,10 +875,6 @@ } } }, - "ea709e13f0f0": { - "name": "workspaceAgentOverridden", - "value": false - }, "eb79a9b3682a": { "status": "fulfilled", "startedAt": 0, @@ -853,10 +883,6 @@ "$rpc": "undefined" } }, - "ed6189938d78": { - "name": "workspaceAgent", - "value": "claude" - }, "f066aa754e25": { "agent": "claude", "connecting": false, @@ -872,17 +898,6 @@ "f0a9f62da106": { "name": "repo.hooks#1", "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"repo.hooks\",\"params\":{\"repo\":\"id:repo-1\"}}" - }, - "fbfdbb919268": { - "name": "workspaceSshState", - "value": { - "error": { - "$rpc": "null" - }, - "reconnectAttempt": 0, - "status": "connecting", - "targetId": "ssh-1" - } } }, "recording": { @@ -897,7 +912,7 @@ "mount": "eb79a9b3682a" }, "state": "18e6a3ac6471", - "effects": ["ed6189938d78", "ea709e13f0f0", "41b0d115f434", "3571f351281f"] + "effects": ["0c2cba5f3708", "77b6cedadbe8", "dd9d8bf76a0e", "8d99fc90d0b0"] } }, { @@ -911,14 +926,14 @@ }, "state": "d86f0ed68c40", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "3571f351281f", - "1739575ac53e", - "fbfdbb919268", - "ce4a98c7ed2f", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "8d99fc90d0b0", + "86149ccb0853", + "8967d4751aaf", + "1d7499d6b3ac", + "db1cde7aa6f5" ] } }, @@ -933,14 +948,14 @@ }, "state": "a1f755a38636", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "3571f351281f", - "1739575ac53e", - "fbfdbb919268", - "921f72d7827e", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "8d99fc90d0b0", + "86149ccb0853", + "8967d4751aaf", + "2dcd5a3a771d", + "db1cde7aa6f5" ] } }, @@ -956,14 +971,14 @@ }, "state": "43ead075ce12", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "3571f351281f", - "1739575ac53e", - "fbfdbb919268", - "921f72d7827e", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "8d99fc90d0b0", + "86149ccb0853", + "8967d4751aaf", + "2dcd5a3a771d", + "db1cde7aa6f5" ] } }, @@ -978,14 +993,14 @@ }, "state": "f066aa754e25", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "3571f351281f", - "1739575ac53e", - "fbfdbb919268", - "1703db1e81e4", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "8d99fc90d0b0", + "86149ccb0853", + "8967d4751aaf", + "2f8e03179edb", + "db1cde7aa6f5" ] } }, @@ -1001,14 +1016,14 @@ }, "state": "ce5554d7557b", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "3571f351281f", - "1739575ac53e", - "fbfdbb919268", - "1703db1e81e4", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "8d99fc90d0b0", + "86149ccb0853", + "8967d4751aaf", + "2f8e03179edb", + "db1cde7aa6f5" ] } }, @@ -1023,14 +1038,14 @@ }, "state": "cabfead2f0ff", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "3571f351281f", - "1739575ac53e", - "fbfdbb919268", - "9164e806ca12", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "8d99fc90d0b0", + "86149ccb0853", + "8967d4751aaf", + "9e66199bd252", + "db1cde7aa6f5" ] } }, @@ -1046,14 +1061,14 @@ }, "state": "e17430747d93", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "3571f351281f", - "1739575ac53e", - "fbfdbb919268", - "9164e806ca12", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "8d99fc90d0b0", + "86149ccb0853", + "8967d4751aaf", + "9e66199bd252", + "db1cde7aa6f5" ] } }, @@ -1068,14 +1083,14 @@ }, "state": "a1f755a38636", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "3571f351281f", - "1739575ac53e", - "fbfdbb919268", - "921f72d7827e", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "8d99fc90d0b0", + "86149ccb0853", + "8967d4751aaf", + "2dcd5a3a771d", + "db1cde7aa6f5" ] } }, @@ -1091,14 +1106,14 @@ }, "state": "43ead075ce12", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "3571f351281f", - "1739575ac53e", - "fbfdbb919268", - "921f72d7827e", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "8d99fc90d0b0", + "86149ccb0853", + "8967d4751aaf", + "2dcd5a3a771d", + "db1cde7aa6f5" ] } }, @@ -1113,14 +1128,14 @@ }, "state": "a1f755a38636", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "3571f351281f", - "1739575ac53e", - "fbfdbb919268", - "921f72d7827e", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "8d99fc90d0b0", + "86149ccb0853", + "8967d4751aaf", + "2dcd5a3a771d", + "db1cde7aa6f5" ] } }, @@ -1136,14 +1151,14 @@ }, "state": "43ead075ce12", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "3571f351281f", - "1739575ac53e", - "fbfdbb919268", - "921f72d7827e", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "8d99fc90d0b0", + "86149ccb0853", + "8967d4751aaf", + "2dcd5a3a771d", + "db1cde7aa6f5" ] } }, @@ -1158,14 +1173,14 @@ }, "state": "a1f755a38636", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "3571f351281f", - "1739575ac53e", - "fbfdbb919268", - "921f72d7827e", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "8d99fc90d0b0", + "86149ccb0853", + "8967d4751aaf", + "2dcd5a3a771d", + "db1cde7aa6f5" ] } }, @@ -1181,14 +1196,14 @@ }, "state": "43ead075ce12", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "3571f351281f", - "1739575ac53e", - "fbfdbb919268", - "921f72d7827e", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "8d99fc90d0b0", + "86149ccb0853", + "8967d4751aaf", + "2dcd5a3a771d", + "db1cde7aa6f5" ] } }, @@ -1203,14 +1218,14 @@ }, "state": "4ca864d39d04", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "3571f351281f", - "1739575ac53e", - "fbfdbb919268", - "93dfd351c771", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "8d99fc90d0b0", + "86149ccb0853", + "8967d4751aaf", + "610b87531639", + "db1cde7aa6f5" ] } }, @@ -1226,14 +1241,14 @@ }, "state": "4a24b4b276fa", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "3571f351281f", - "1739575ac53e", - "fbfdbb919268", - "93dfd351c771", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "8d99fc90d0b0", + "86149ccb0853", + "8967d4751aaf", + "610b87531639", + "db1cde7aa6f5" ] } }, @@ -1248,14 +1263,14 @@ }, "state": "5313715e0fbb", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "3571f351281f", - "1739575ac53e", - "fbfdbb919268", - "86cc01b1e541", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "8d99fc90d0b0", + "86149ccb0853", + "8967d4751aaf", + "a745d7e1dd70", + "db1cde7aa6f5" ] } }, @@ -1271,14 +1286,14 @@ }, "state": "aa15b77aca73", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "3571f351281f", - "1739575ac53e", - "fbfdbb919268", - "86cc01b1e541", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "8d99fc90d0b0", + "86149ccb0853", + "8967d4751aaf", + "a745d7e1dd70", + "db1cde7aa6f5" ] } }, @@ -1293,14 +1308,14 @@ }, "state": "8dc4620dc1de", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "3571f351281f", - "1739575ac53e", - "fbfdbb919268", - "a209f2c7160e", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "8d99fc90d0b0", + "86149ccb0853", + "8967d4751aaf", + "22ae1e1ae0dd", + "db1cde7aa6f5" ] } }, @@ -1316,14 +1331,14 @@ }, "state": "9eb40e943577", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "3571f351281f", - "1739575ac53e", - "fbfdbb919268", - "a209f2c7160e", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "8d99fc90d0b0", + "86149ccb0853", + "8967d4751aaf", + "22ae1e1ae0dd", + "db1cde7aa6f5" ] } }, @@ -1338,14 +1353,14 @@ }, "state": "6d2db0d7fee0", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "3571f351281f", - "1739575ac53e", - "fbfdbb919268", - "b7fa4557dcfa", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "8d99fc90d0b0", + "86149ccb0853", + "8967d4751aaf", + "8e62c4ea1c58", + "db1cde7aa6f5" ] } }, @@ -1361,14 +1376,14 @@ }, "state": "42fb94e15a80", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "3571f351281f", - "1739575ac53e", - "fbfdbb919268", - "b7fa4557dcfa", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "8d99fc90d0b0", + "86149ccb0853", + "8967d4751aaf", + "8e62c4ea1c58", + "db1cde7aa6f5" ] } }, @@ -1383,14 +1398,14 @@ }, "state": "5313715e0fbb", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "3571f351281f", - "1739575ac53e", - "fbfdbb919268", - "86cc01b1e541", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "8d99fc90d0b0", + "86149ccb0853", + "8967d4751aaf", + "a745d7e1dd70", + "db1cde7aa6f5" ] } }, @@ -1406,14 +1421,14 @@ }, "state": "aa15b77aca73", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "3571f351281f", - "1739575ac53e", - "fbfdbb919268", - "86cc01b1e541", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "8d99fc90d0b0", + "86149ccb0853", + "8967d4751aaf", + "a745d7e1dd70", + "db1cde7aa6f5" ] } } diff --git a/mobile/rpc-foundation/goldens/matrix-terminal.query-reply-terminal.send-1.json b/mobile/rpc-foundation/goldens/matrix-terminal.query-reply-terminal.send-1.json new file mode 100644 index 00000000000..4d98d857f47 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-terminal.query-reply-terminal.send-1.json @@ -0,0 +1,618 @@ +{ + "operation": "terminal.query-reply", + "family": "terminal.query-reply", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "7588d30f33a8bb846c48f160aa9a4a8138176662bb2fb6be7bbdf352f553d05f", + "scenarioSha256": "15b5694a63d54aeb4f4d9a861729e7e3b42ce06b15af6784fcb1afab744ed18b", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "11a49f853eb8": { + "accepted": true + }, + "13a2535cdcfb": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "inputKind": "query-reply", + "terminal": "terminal-1", + "text": "\u001b[0n" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "22ecc0da8593": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "inputKind": "query-reply", + "terminal": "terminal-1", + "text": "\u001b[0n" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "3290e88f844f": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "inputKind": "query-reply", + "terminal": "terminal-1", + "text": "\u001b[0n" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "4ed60727a7ff": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "inputKind": "query-reply", + "terminal": "terminal-1", + "text": "\u001b[0n" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + } + }, + "5871998f69af": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "inputKind": "query-reply", + "terminal": "terminal-1", + "text": "\u001b[0n" + } + }, + { + "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 + } + } + }, + "62a266491834": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "inputKind": "query-reply", + "terminal": "terminal-1", + "text": "\u001b[0n" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "672329e62a64": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "inputKind": "query-reply", + "terminal": "terminal-1", + "text": "\u001b[0n" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "77094de33a4f": { + "name": "terminal.send#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u001b[0n\",\"enter\":false,\"inputKind\":\"query-reply\",\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" + }, + "7c12e14c2dd9": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "inputKind": "query-reply", + "terminal": "terminal-1", + "text": "\u001b[0n" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "7ed3d39f0607": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": false + }, + "84e5ca07cb7a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": true + }, + "88cfdbfbe02c": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "inputKind": "query-reply", + "terminal": "terminal-1", + "text": "\u001b[0n" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "954da0737971": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "inputKind": "query-reply", + "terminal": "terminal-1", + "text": "\u001b[0n" + } + }, + { + "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 + } + } + } + }, + "9b8953212260": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "inputKind": "query-reply", + "terminal": "terminal-1", + "text": "\u001b[0n" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "f043bb99cc1d": { + "accepted": false + } + }, + "recording": { + "scenario": "matrix-terminal.query-reply-terminal.send-1", + "checkpoints": [ + { + "id": "terminal-query-reply-accepted.normal:accepted", + "observation": { + "sender": ["4ed60727a7ff"], + "payloads": ["77094de33a4f"], + "settlements": { + "send": "84e5ca07cb7a" + }, + "state": "11a49f853eb8", + "effects": [] + } + }, + { + "id": "terminal-query-reply-accepted.result-absent:accepted", + "observation": { + "sender": ["88cfdbfbe02c"], + "payloads": ["77094de33a4f"], + "settlements": { + "send": "7ed3d39f0607" + }, + "state": "f043bb99cc1d", + "effects": [] + } + }, + { + "id": "terminal-query-reply-accepted.result-null:accepted", + "observation": { + "sender": ["22ecc0da8593"], + "payloads": ["77094de33a4f"], + "settlements": { + "send": "7ed3d39f0607" + }, + "state": "f043bb99cc1d", + "effects": [] + } + }, + { + "id": "terminal-query-reply-accepted.inner-ok-missing:accepted", + "observation": { + "sender": ["62a266491834"], + "payloads": ["77094de33a4f"], + "settlements": { + "send": "7ed3d39f0607" + }, + "state": "f043bb99cc1d", + "effects": [] + } + }, + { + "id": "terminal-query-reply-accepted.inner-false-string-error:accepted", + "observation": { + "sender": ["9b8953212260"], + "payloads": ["77094de33a4f"], + "settlements": { + "send": "7ed3d39f0607" + }, + "state": "f043bb99cc1d", + "effects": [] + } + }, + { + "id": "terminal-query-reply-accepted.inner-false-object-error:accepted", + "observation": { + "sender": ["954da0737971"], + "payloads": ["77094de33a4f"], + "settlements": { + "send": "7ed3d39f0607" + }, + "state": "f043bb99cc1d", + "effects": [] + } + }, + { + "id": "terminal-query-reply-accepted.outer-refused:accepted", + "observation": { + "sender": ["672329e62a64"], + "payloads": ["77094de33a4f"], + "settlements": { + "send": "7ed3d39f0607" + }, + "state": "f043bb99cc1d", + "effects": [] + } + }, + { + "id": "terminal-query-reply-accepted.outer-refused-no-message:accepted", + "observation": { + "sender": ["3290e88f844f"], + "payloads": ["77094de33a4f"], + "settlements": { + "send": "7ed3d39f0607" + }, + "state": "f043bb99cc1d", + "effects": [] + } + }, + { + "id": "terminal-query-reply-accepted.method-not-found:accepted", + "observation": { + "sender": ["5871998f69af"], + "payloads": ["77094de33a4f"], + "settlements": { + "send": "7ed3d39f0607" + }, + "state": "f043bb99cc1d", + "effects": [] + } + }, + { + "id": "terminal-query-reply-accepted.transport-rejection:accepted", + "observation": { + "sender": ["13a2535cdcfb"], + "payloads": ["77094de33a4f"], + "settlements": { + "send": "7ed3d39f0607" + }, + "state": "f043bb99cc1d", + "effects": [] + } + }, + { + "id": "terminal-query-reply-accepted.transport-rejection-no-message:accepted", + "observation": { + "sender": ["7c12e14c2dd9"], + "payloads": ["77094de33a4f"], + "settlements": { + "send": "7ed3d39f0607" + }, + "state": "f043bb99cc1d", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-terminal.raw-input-orchestration.workerterminaluserinput-1.json b/mobile/rpc-foundation/goldens/matrix-terminal.raw-input-orchestration.workerterminaluserinput-1.json new file mode 100644 index 00000000000..29213197dd5 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-terminal.raw-input-orchestration.workerterminaluserinput-1.json @@ -0,0 +1,597 @@ +{ + "operation": "terminal.accessory-raw-send", + "family": "terminal.raw-input", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "7588d30f33a8bb846c48f160aa9a4a8138176662bb2fb6be7bbdf352f553d05f", + "scenarioSha256": "68c039f74da08523d67d8d5b0a178c1d12507ec88d25891cd1377cd3fb40205c", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0203262b5432": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "093b7147f9b0": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "changed": 1 + } + } + } + }, + "0a0137383ed3": { + "name": "terminal.send#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"ls\",\"enter\":false,\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" + }, + "11a49f853eb8": { + "accepted": true + }, + "191580ba859d": { + "name": "orchestration.workerTerminalUserInput#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"orchestration.workerTerminalUserInput\",\"params\":{\"terminal\":\"terminal-1\"}}" + }, + "34a453846d11": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "4dbb5ea36ed2": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "ls" + } + }, + { + "name": "options", + "value": { + "failWhenDisconnected": true + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + } + }, + "4f58026b7877": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "6aad8cc2e655": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "84777d7d765a": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "84e5ca07cb7a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": true + }, + "ad01b4d8b4de": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "bca437e23d8a": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "cb9a9683ab1e": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "d642e739823d": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "dc19ad107e96": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + } + }, + "recording": { + "scenario": "matrix-terminal.raw-input-orchestration.workerterminaluserinput-1", + "checkpoints": [ + { + "id": "terminal-raw-input-reported.normal:reported", + "observation": { + "sender": ["4dbb5ea36ed2", "093b7147f9b0"], + "payloads": ["0a0137383ed3", "191580ba859d"], + "settlements": { + "send": "84e5ca07cb7a" + }, + "state": "11a49f853eb8", + "effects": [] + } + }, + { + "id": "terminal-raw-input-reported.result-absent:reported", + "observation": { + "sender": ["4dbb5ea36ed2", "bca437e23d8a"], + "payloads": ["0a0137383ed3", "191580ba859d"], + "settlements": { + "send": "84e5ca07cb7a" + }, + "state": "11a49f853eb8", + "effects": [] + } + }, + { + "id": "terminal-raw-input-reported.result-null:reported", + "observation": { + "sender": ["4dbb5ea36ed2", "d642e739823d"], + "payloads": ["0a0137383ed3", "191580ba859d"], + "settlements": { + "send": "84e5ca07cb7a" + }, + "state": "11a49f853eb8", + "effects": [] + } + }, + { + "id": "terminal-raw-input-reported.inner-ok-missing:reported", + "observation": { + "sender": ["4dbb5ea36ed2", "6aad8cc2e655"], + "payloads": ["0a0137383ed3", "191580ba859d"], + "settlements": { + "send": "84e5ca07cb7a" + }, + "state": "11a49f853eb8", + "effects": [] + } + }, + { + "id": "terminal-raw-input-reported.inner-false-string-error:reported", + "observation": { + "sender": ["4dbb5ea36ed2", "cb9a9683ab1e"], + "payloads": ["0a0137383ed3", "191580ba859d"], + "settlements": { + "send": "84e5ca07cb7a" + }, + "state": "11a49f853eb8", + "effects": [] + } + }, + { + "id": "terminal-raw-input-reported.inner-false-object-error:reported", + "observation": { + "sender": ["4dbb5ea36ed2", "34a453846d11"], + "payloads": ["0a0137383ed3", "191580ba859d"], + "settlements": { + "send": "84e5ca07cb7a" + }, + "state": "11a49f853eb8", + "effects": [] + } + }, + { + "id": "terminal-raw-input-reported.outer-refused:reported", + "observation": { + "sender": ["4dbb5ea36ed2", "84777d7d765a"], + "payloads": ["0a0137383ed3", "191580ba859d"], + "settlements": { + "send": "84e5ca07cb7a" + }, + "state": "11a49f853eb8", + "effects": [] + } + }, + { + "id": "terminal-raw-input-reported.outer-refused-no-message:reported", + "observation": { + "sender": ["4dbb5ea36ed2", "dc19ad107e96"], + "payloads": ["0a0137383ed3", "191580ba859d"], + "settlements": { + "send": "84e5ca07cb7a" + }, + "state": "11a49f853eb8", + "effects": [] + } + }, + { + "id": "terminal-raw-input-reported.method-not-found:reported", + "observation": { + "sender": ["4dbb5ea36ed2", "ad01b4d8b4de"], + "payloads": ["0a0137383ed3", "191580ba859d"], + "settlements": { + "send": "84e5ca07cb7a" + }, + "state": "11a49f853eb8", + "effects": [] + } + }, + { + "id": "terminal-raw-input-reported.transport-rejection:reported", + "observation": { + "sender": ["4dbb5ea36ed2", "0203262b5432"], + "payloads": ["0a0137383ed3", "191580ba859d"], + "settlements": { + "send": "84e5ca07cb7a" + }, + "state": "11a49f853eb8", + "effects": [] + } + }, + { + "id": "terminal-raw-input-reported.transport-rejection-no-message:reported", + "observation": { + "sender": ["4dbb5ea36ed2", "4f58026b7877"], + "payloads": ["0a0137383ed3", "191580ba859d"], + "settlements": { + "send": "84e5ca07cb7a" + }, + "state": "11a49f853eb8", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-terminal.raw-input-terminal.send-1.json b/mobile/rpc-foundation/goldens/matrix-terminal.raw-input-terminal.send-1.json new file mode 100644 index 00000000000..39adb2ae774 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-terminal.raw-input-terminal.send-1.json @@ -0,0 +1,646 @@ +{ + "operation": "terminal.accessory-raw-send", + "family": "terminal.raw-input", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "7588d30f33a8bb846c48f160aa9a4a8138176662bb2fb6be7bbdf352f553d05f", + "scenarioSha256": "19d55a77e9c2f64f062070c9985f756e0ba72f3ccc3c884a80843fe888f42a47", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "093b7147f9b0": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "changed": 1 + } + } + } + }, + "0a0137383ed3": { + "name": "terminal.send#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"ls\",\"enter\":false,\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" + }, + "0f86dd69448c": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "ls" + } + }, + { + "name": "options", + "value": { + "failWhenDisconnected": true + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "11a49f853eb8": { + "accepted": true + }, + "191580ba859d": { + "name": "orchestration.workerTerminalUserInput#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"orchestration.workerTerminalUserInput\",\"params\":{\"terminal\":\"terminal-1\"}}" + }, + "2638782fdff1": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "ls" + } + }, + { + "name": "options", + "value": { + "failWhenDisconnected": true + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "4dbb5ea36ed2": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "ls" + } + }, + { + "name": "options", + "value": { + "failWhenDisconnected": true + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + } + }, + "6d223e9c6727": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "ls" + } + }, + { + "name": "options", + "value": { + "failWhenDisconnected": true + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-1", + "ok": false + } + } + }, + "6f81ca41dbcf": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "ls" + } + }, + { + "name": "options", + "value": { + "failWhenDisconnected": true + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "7b6ba38169d9": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "ls" + } + }, + { + "name": "options", + "value": { + "failWhenDisconnected": true + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "7ed3d39f0607": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": false + }, + "80e6ae38e612": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "ls" + } + }, + { + "name": "options", + "value": { + "failWhenDisconnected": true + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "84e5ca07cb7a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": true + }, + "8e79300038ac": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "ls" + } + }, + { + "name": "options", + "value": { + "failWhenDisconnected": true + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "a944d85eac60": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "ls" + } + }, + { + "name": "options", + "value": { + "failWhenDisconnected": true + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "d156eef40d6a": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "ls" + } + }, + { + "name": "options", + "value": { + "failWhenDisconnected": true + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "de23a95594f0": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "ls" + } + }, + { + "name": "options", + "value": { + "failWhenDisconnected": true + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "f043bb99cc1d": { + "accepted": false + } + }, + "recording": { + "scenario": "matrix-terminal.raw-input-terminal.send-1", + "checkpoints": [ + { + "id": "terminal-raw-input-reported.normal:reported", + "observation": { + "sender": ["4dbb5ea36ed2", "093b7147f9b0"], + "payloads": ["0a0137383ed3", "191580ba859d"], + "settlements": { + "send": "84e5ca07cb7a" + }, + "state": "11a49f853eb8", + "effects": [] + } + }, + { + "id": "terminal-raw-input-reported.result-absent:reported", + "observation": { + "sender": ["6f81ca41dbcf"], + "payloads": ["0a0137383ed3"], + "settlements": { + "send": "7ed3d39f0607" + }, + "state": "f043bb99cc1d", + "effects": [] + } + }, + { + "id": "terminal-raw-input-reported.result-null:reported", + "observation": { + "sender": ["80e6ae38e612"], + "payloads": ["0a0137383ed3"], + "settlements": { + "send": "7ed3d39f0607" + }, + "state": "f043bb99cc1d", + "effects": [] + } + }, + { + "id": "terminal-raw-input-reported.inner-ok-missing:reported", + "observation": { + "sender": ["a944d85eac60"], + "payloads": ["0a0137383ed3"], + "settlements": { + "send": "7ed3d39f0607" + }, + "state": "f043bb99cc1d", + "effects": [] + } + }, + { + "id": "terminal-raw-input-reported.inner-false-string-error:reported", + "observation": { + "sender": ["2638782fdff1"], + "payloads": ["0a0137383ed3"], + "settlements": { + "send": "7ed3d39f0607" + }, + "state": "f043bb99cc1d", + "effects": [] + } + }, + { + "id": "terminal-raw-input-reported.inner-false-object-error:reported", + "observation": { + "sender": ["de23a95594f0"], + "payloads": ["0a0137383ed3"], + "settlements": { + "send": "7ed3d39f0607" + }, + "state": "f043bb99cc1d", + "effects": [] + } + }, + { + "id": "terminal-raw-input-reported.outer-refused:reported", + "observation": { + "sender": ["7b6ba38169d9"], + "payloads": ["0a0137383ed3"], + "settlements": { + "send": "7ed3d39f0607" + }, + "state": "f043bb99cc1d", + "effects": [] + } + }, + { + "id": "terminal-raw-input-reported.outer-refused-no-message:reported", + "observation": { + "sender": ["0f86dd69448c"], + "payloads": ["0a0137383ed3"], + "settlements": { + "send": "7ed3d39f0607" + }, + "state": "f043bb99cc1d", + "effects": [] + } + }, + { + "id": "terminal-raw-input-reported.method-not-found:reported", + "observation": { + "sender": ["6d223e9c6727"], + "payloads": ["0a0137383ed3"], + "settlements": { + "send": "7ed3d39f0607" + }, + "state": "f043bb99cc1d", + "effects": [] + } + }, + { + "id": "terminal-raw-input-reported.transport-rejection:reported", + "observation": { + "sender": ["d156eef40d6a"], + "payloads": ["0a0137383ed3"], + "settlements": { + "send": "7ed3d39f0607" + }, + "state": "f043bb99cc1d", + "effects": [] + } + }, + { + "id": "terminal-raw-input-reported.transport-rejection-no-message:reported", + "observation": { + "sender": ["8e79300038ac"], + "payloads": ["0a0137383ed3"], + "settlements": { + "send": "7ed3d39f0607" + }, + "state": "f043bb99cc1d", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-terminal.takeover-report-orchestration.workerterminaluserinput-1.json b/mobile/rpc-foundation/goldens/matrix-terminal.takeover-report-orchestration.workerterminaluserinput-1.json new file mode 100644 index 00000000000..3166f7bffff --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-terminal.takeover-report-orchestration.workerterminaluserinput-1.json @@ -0,0 +1,591 @@ +{ + "operation": "terminal.takeover-report", + "family": "terminal.takeover-report", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "7588d30f33a8bb846c48f160aa9a4a8138176662bb2fb6be7bbdf352f553d05f", + "scenarioSha256": "6913de3f553b47a7e6663e21b0b93e97df26405c210db876f0b9593bd38936be", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "002261d201ea": { + "name": "orchestration.workerTerminalUserInput#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"orchestration.workerTerminalUserInput\",\"params\":{\"terminal\":\"terminal-1\"}}" + }, + "0203262b5432": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "022b9ce8ac66": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "119211148b44": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "14ce070cad1b": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "changed": 1 + } + } + } + }, + "44136fa355b3": {}, + "45e7c7d3167f": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "48f55b70e1c2": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "4f58026b7877": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "6c2d0a45ffab": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "789b4e1c4a4e": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "797d27f8307a": { + "name": "orchestration.workerTerminalUserInput#2", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"orchestration.workerTerminalUserInput\",\"params\":{\"terminal\":\"terminal-1\"}}" + }, + "880e2feac97b": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-1", + "ok": false + } + } + }, + "cd393aacf981": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "db9815351ccf": { + "name": "orchestration.workerTerminalUserInput#2", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 250, + "settledAt": 250, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "changed": 1 + } + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "matrix-terminal.takeover-report-orchestration.workerterminaluserinput-1", + "checkpoints": [ + { + "id": "terminal-takeover-report-retried.normal:reported-on-retry", + "observation": { + "sender": ["14ce070cad1b"], + "payloads": ["002261d201ea"], + "settlements": { + "report": "eb79a9b3682a" + }, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "terminal-takeover-report-retried.result-absent:reported-on-retry", + "observation": { + "sender": ["45e7c7d3167f"], + "payloads": ["002261d201ea"], + "settlements": { + "report": "eb79a9b3682a" + }, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "terminal-takeover-report-retried.result-null:reported-on-retry", + "observation": { + "sender": ["022b9ce8ac66"], + "payloads": ["002261d201ea"], + "settlements": { + "report": "eb79a9b3682a" + }, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "terminal-takeover-report-retried.inner-ok-missing:reported-on-retry", + "observation": { + "sender": ["48f55b70e1c2"], + "payloads": ["002261d201ea"], + "settlements": { + "report": "eb79a9b3682a" + }, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "terminal-takeover-report-retried.inner-false-string-error:reported-on-retry", + "observation": { + "sender": ["119211148b44"], + "payloads": ["002261d201ea"], + "settlements": { + "report": "eb79a9b3682a" + }, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "terminal-takeover-report-retried.inner-false-object-error:reported-on-retry", + "observation": { + "sender": ["6c2d0a45ffab"], + "payloads": ["002261d201ea"], + "settlements": { + "report": "eb79a9b3682a" + }, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "terminal-takeover-report-retried.outer-refused:reported-on-retry", + "observation": { + "sender": ["789b4e1c4a4e", "db9815351ccf"], + "payloads": ["002261d201ea", "797d27f8307a"], + "settlements": { + "report": "eb79a9b3682a" + }, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "terminal-takeover-report-retried.outer-refused-no-message:reported-on-retry", + "observation": { + "sender": ["cd393aacf981", "db9815351ccf"], + "payloads": ["002261d201ea", "797d27f8307a"], + "settlements": { + "report": "eb79a9b3682a" + }, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "terminal-takeover-report-retried.method-not-found:reported-on-retry", + "observation": { + "sender": ["880e2feac97b", "db9815351ccf"], + "payloads": ["002261d201ea", "797d27f8307a"], + "settlements": { + "report": "eb79a9b3682a" + }, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "terminal-takeover-report-retried.transport-rejection:reported-on-retry", + "observation": { + "sender": ["0203262b5432", "db9815351ccf"], + "payloads": ["002261d201ea", "797d27f8307a"], + "settlements": { + "report": "eb79a9b3682a" + }, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "terminal-takeover-report-retried.transport-rejection-no-message:reported-on-retry", + "observation": { + "sender": ["4f58026b7877", "db9815351ccf"], + "payloads": ["002261d201ea", "797d27f8307a"], + "settlements": { + "report": "eb79a9b3682a" + }, + "state": "44136fa355b3", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-terminal.takeover-report-orchestration.workerterminaluserinput-2.json b/mobile/rpc-foundation/goldens/matrix-terminal.takeover-report-orchestration.workerterminaluserinput-2.json new file mode 100644 index 00000000000..d9729f4528e --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-terminal.takeover-report-orchestration.workerterminaluserinput-2.json @@ -0,0 +1,592 @@ +{ + "operation": "terminal.takeover-report", + "family": "terminal.takeover-report", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "7588d30f33a8bb846c48f160aa9a4a8138176662bb2fb6be7bbdf352f553d05f", + "scenarioSha256": "da13ec556c0f672371a8cd2aabd4dcc68001c0f9aa47015dfa4b5937355c4c2c", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "002261d201ea": { + "name": "orchestration.workerTerminalUserInput#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"orchestration.workerTerminalUserInput\",\"params\":{\"terminal\":\"terminal-1\"}}" + }, + "0e475418cc7e": { + "name": "orchestration.workerTerminalUserInput#2", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 250, + "settledAt": 250, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + }, + "44136fa355b3": {}, + "63d1194a49c6": { + "name": "orchestration.workerTerminalUserInput#2", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 250, + "settledAt": 250, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "797d27f8307a": { + "name": "orchestration.workerTerminalUserInput#2", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"orchestration.workerTerminalUserInput\",\"params\":{\"terminal\":\"terminal-1\"}}" + }, + "7b2f86f125fc": { + "name": "orchestration.workerTerminalUserInput#2", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 250, + "settledAt": 250, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "7d714b619f7a": { + "name": "orchestration.workerTerminalUserInput#2", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 250, + "settledAt": 250, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "869f520d1465": { + "name": "orchestration.workerTerminalUserInput#2", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 250, + "settledAt": 250, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "d3aafbe91b9c": { + "name": "orchestration.workerTerminalUserInput#2", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 250, + "settledAt": 250, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "db85d298e01e": { + "name": "orchestration.workerTerminalUserInput#2", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 250, + "settledAt": 250, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "db9815351ccf": { + "name": "orchestration.workerTerminalUserInput#2", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 250, + "settledAt": 250, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "changed": 1 + } + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ebe47458b1bb": { + "name": "orchestration.workerTerminalUserInput#2", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 250, + "settledAt": 250, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "ede5c5529f4c": { + "name": "orchestration.workerTerminalUserInput#2", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 250, + "settledAt": 250, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "f3349fb58cad": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "busy" + }, + "id": "frame-1", + "ok": false + } + } + }, + "fe12b8e22d0c": { + "name": "orchestration.workerTerminalUserInput#2", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 250, + "settledAt": 250, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + } + }, + "recording": { + "scenario": "matrix-terminal.takeover-report-orchestration.workerterminaluserinput-2", + "checkpoints": [ + { + "id": "terminal-takeover-report-retried.normal:reported-on-retry", + "observation": { + "sender": ["f3349fb58cad", "db9815351ccf"], + "payloads": ["002261d201ea", "797d27f8307a"], + "settlements": { + "report": "eb79a9b3682a" + }, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "terminal-takeover-report-retried.result-absent:reported-on-retry", + "observation": { + "sender": ["f3349fb58cad", "db85d298e01e"], + "payloads": ["002261d201ea", "797d27f8307a"], + "settlements": { + "report": "eb79a9b3682a" + }, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "terminal-takeover-report-retried.result-null:reported-on-retry", + "observation": { + "sender": ["f3349fb58cad", "fe12b8e22d0c"], + "payloads": ["002261d201ea", "797d27f8307a"], + "settlements": { + "report": "eb79a9b3682a" + }, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "terminal-takeover-report-retried.inner-ok-missing:reported-on-retry", + "observation": { + "sender": ["f3349fb58cad", "d3aafbe91b9c"], + "payloads": ["002261d201ea", "797d27f8307a"], + "settlements": { + "report": "eb79a9b3682a" + }, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "terminal-takeover-report-retried.inner-false-string-error:reported-on-retry", + "observation": { + "sender": ["f3349fb58cad", "7b2f86f125fc"], + "payloads": ["002261d201ea", "797d27f8307a"], + "settlements": { + "report": "eb79a9b3682a" + }, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "terminal-takeover-report-retried.inner-false-object-error:reported-on-retry", + "observation": { + "sender": ["f3349fb58cad", "869f520d1465"], + "payloads": ["002261d201ea", "797d27f8307a"], + "settlements": { + "report": "eb79a9b3682a" + }, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "terminal-takeover-report-retried.outer-refused:reported-on-retry", + "observation": { + "sender": ["f3349fb58cad", "7d714b619f7a"], + "payloads": ["002261d201ea", "797d27f8307a"], + "settlements": { + "report": "eb79a9b3682a" + }, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "terminal-takeover-report-retried.outer-refused-no-message:reported-on-retry", + "observation": { + "sender": ["f3349fb58cad", "ede5c5529f4c"], + "payloads": ["002261d201ea", "797d27f8307a"], + "settlements": { + "report": "eb79a9b3682a" + }, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "terminal-takeover-report-retried.method-not-found:reported-on-retry", + "observation": { + "sender": ["f3349fb58cad", "0e475418cc7e"], + "payloads": ["002261d201ea", "797d27f8307a"], + "settlements": { + "report": "eb79a9b3682a" + }, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "terminal-takeover-report-retried.transport-rejection:reported-on-retry", + "observation": { + "sender": ["f3349fb58cad", "ebe47458b1bb"], + "payloads": ["002261d201ea", "797d27f8307a"], + "settlements": { + "report": "eb79a9b3682a" + }, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "terminal-takeover-report-retried.transport-rejection-no-message:reported-on-retry", + "observation": { + "sender": ["f3349fb58cad", "63d1194a49c6"], + "payloads": ["002261d201ea", "797d27f8307a"], + "settlements": { + "report": "eb79a9b3682a" + }, + "state": "44136fa355b3", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-terminal.viewport-refit-terminal.updateviewport-1.json b/mobile/rpc-foundation/goldens/matrix-terminal.viewport-refit-terminal.updateviewport-1.json new file mode 100644 index 00000000000..f1baaa3f994 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-terminal.viewport-refit-terminal.updateviewport-1.json @@ -0,0 +1,665 @@ +{ + "operation": "terminal.viewport-refit", + "family": "terminal.viewport-refit", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "7588d30f33a8bb846c48f160aa9a4a8138176662bb2fb6be7bbdf352f553d05f", + "scenarioSha256": "bde05ca916393d7f5ccd48686cf13a52fb2dfa599ea874b084c58bd59adb7e7f", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "121036dfcf5a": { + "name": "terminal.updateViewport#1", + "args": [ + { + "name": "method", + "value": "terminal.updateViewport" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "viewport": { + "cols": 100, + "rows": 30 + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 150, + "settledAt": 150, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "applied": true, + "updated": true + } + } + } + }, + "1c67fe61e3e6": { + "name": "terminal.updateViewport#1", + "args": [ + { + "name": "method", + "value": "terminal.updateViewport" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "viewport": { + "cols": 100, + "rows": 30 + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 150, + "settledAt": 150, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "37024426b62f": { + "name": "subscribe-terminal", + "value": { + "handle": "terminal-1" + }, + "sent": 1 + }, + "3c255f83f3e1": { + "name": "reflow", + "value": { + "cols": 100, + "rows": 30 + }, + "sent": 1 + }, + "3f6a9fc794e0": { + "name": "terminal.updateViewport#1", + "args": [ + { + "name": "method", + "value": "terminal.updateViewport" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "viewport": { + "cols": 100, + "rows": 30 + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 150, + "settledAt": 150, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "43d05571e0f1": { + "name": "terminal.updateViewport#1", + "args": [ + { + "name": "method", + "value": "terminal.updateViewport" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "viewport": { + "cols": 100, + "rows": 30 + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 150, + "settledAt": 150, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "43ede4e0a03a": { + "name": "terminal.updateViewport#1", + "args": [ + { + "name": "method", + "value": "terminal.updateViewport" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "viewport": { + "cols": 100, + "rows": 30 + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 150, + "settledAt": 150, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "7e0619ad636f": { + "measured": true, + "viewport": { + "cols": 100, + "rows": 30 + } + }, + "90e3c020eef5": { + "name": "terminal.updateViewport#1", + "args": [ + { + "name": "method", + "value": "terminal.updateViewport" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "viewport": { + "cols": 100, + "rows": 30 + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 150, + "settledAt": 150, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "9c584ebc4a0f": { + "name": "terminal.updateViewport#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.updateViewport\",\"params\":{\"terminal\":\"terminal-1\",\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"},\"viewport\":{\"cols\":100,\"rows\":30}}}" + }, + "a056a0c8d9d3": { + "name": "terminal.updateViewport#1", + "args": [ + { + "name": "method", + "value": "terminal.updateViewport" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "viewport": { + "cols": 100, + "rows": 30 + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 150, + "settledAt": 150, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-1", + "ok": false + } + } + }, + "a1305ea259dd": { + "name": "terminal.updateViewport#1", + "args": [ + { + "name": "method", + "value": "terminal.updateViewport" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "viewport": { + "cols": 100, + "rows": 30 + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 150, + "settledAt": 150, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "a1c0c7168922": { + "name": "unsubscribe-terminal", + "value": { + "handle": "terminal-1" + }, + "sent": 1 + }, + "a993d0d38252": { + "name": "measure-fit", + "value": { + "frameHeight": 600 + }, + "sent": 0 + }, + "ba81b169e3b7": { + "name": "terminal.updateViewport#1", + "args": [ + { + "name": "method", + "value": "terminal.updateViewport" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "viewport": { + "cols": 100, + "rows": 30 + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 150, + "settledAt": 150, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "c0619ddc2d8f": { + "name": "terminal.updateViewport#1", + "args": [ + { + "name": "method", + "value": "terminal.updateViewport" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "viewport": { + "cols": 100, + "rows": 30 + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 150, + "settledAt": 150, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "e578c2bcde04": { + "name": "terminal.updateViewport#1", + "args": [ + { + "name": "method", + "value": "terminal.updateViewport" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "viewport": { + "cols": 100, + "rows": 30 + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 150, + "settledAt": 150, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "matrix-terminal.viewport-refit-terminal.updateviewport-1", + "checkpoints": [ + { + "id": "terminal-viewport-refit-applied.normal:reflowed", + "observation": { + "sender": ["121036dfcf5a"], + "payloads": ["9c584ebc4a0f"], + "settlements": { + "mount": "eb79a9b3682a", + "height": "eb79a9b3682a" + }, + "state": "7e0619ad636f", + "effects": ["a993d0d38252", "3c255f83f3e1"] + } + }, + { + "id": "terminal-viewport-refit-applied.result-absent:reflowed", + "observation": { + "sender": ["43ede4e0a03a"], + "payloads": ["9c584ebc4a0f"], + "settlements": { + "mount": "eb79a9b3682a", + "height": "eb79a9b3682a" + }, + "state": "7e0619ad636f", + "effects": ["a993d0d38252", "a1c0c7168922", "37024426b62f"] + } + }, + { + "id": "terminal-viewport-refit-applied.result-null:reflowed", + "observation": { + "sender": ["a1305ea259dd"], + "payloads": ["9c584ebc4a0f"], + "settlements": { + "mount": "eb79a9b3682a", + "height": "eb79a9b3682a" + }, + "state": "7e0619ad636f", + "effects": ["a993d0d38252", "a1c0c7168922", "37024426b62f"] + } + }, + { + "id": "terminal-viewport-refit-applied.inner-ok-missing:reflowed", + "observation": { + "sender": ["ba81b169e3b7"], + "payloads": ["9c584ebc4a0f"], + "settlements": { + "mount": "eb79a9b3682a", + "height": "eb79a9b3682a" + }, + "state": "7e0619ad636f", + "effects": ["a993d0d38252", "a1c0c7168922", "37024426b62f"] + } + }, + { + "id": "terminal-viewport-refit-applied.inner-false-string-error:reflowed", + "observation": { + "sender": ["1c67fe61e3e6"], + "payloads": ["9c584ebc4a0f"], + "settlements": { + "mount": "eb79a9b3682a", + "height": "eb79a9b3682a" + }, + "state": "7e0619ad636f", + "effects": ["a993d0d38252", "a1c0c7168922", "37024426b62f"] + } + }, + { + "id": "terminal-viewport-refit-applied.inner-false-object-error:reflowed", + "observation": { + "sender": ["90e3c020eef5"], + "payloads": ["9c584ebc4a0f"], + "settlements": { + "mount": "eb79a9b3682a", + "height": "eb79a9b3682a" + }, + "state": "7e0619ad636f", + "effects": ["a993d0d38252", "a1c0c7168922", "37024426b62f"] + } + }, + { + "id": "terminal-viewport-refit-applied.outer-refused:reflowed", + "observation": { + "sender": ["e578c2bcde04"], + "payloads": ["9c584ebc4a0f"], + "settlements": { + "mount": "eb79a9b3682a", + "height": "eb79a9b3682a" + }, + "state": "7e0619ad636f", + "effects": ["a993d0d38252", "a1c0c7168922", "37024426b62f"] + } + }, + { + "id": "terminal-viewport-refit-applied.outer-refused-no-message:reflowed", + "observation": { + "sender": ["c0619ddc2d8f"], + "payloads": ["9c584ebc4a0f"], + "settlements": { + "mount": "eb79a9b3682a", + "height": "eb79a9b3682a" + }, + "state": "7e0619ad636f", + "effects": ["a993d0d38252", "a1c0c7168922", "37024426b62f"] + } + }, + { + "id": "terminal-viewport-refit-applied.method-not-found:reflowed", + "observation": { + "sender": ["a056a0c8d9d3"], + "payloads": ["9c584ebc4a0f"], + "settlements": { + "mount": "eb79a9b3682a", + "height": "eb79a9b3682a" + }, + "state": "7e0619ad636f", + "effects": ["a993d0d38252", "a1c0c7168922", "37024426b62f"] + } + }, + { + "id": "terminal-viewport-refit-applied.transport-rejection:reflowed", + "observation": { + "sender": ["43d05571e0f1"], + "payloads": ["9c584ebc4a0f"], + "settlements": { + "mount": "eb79a9b3682a", + "height": "eb79a9b3682a" + }, + "state": "7e0619ad636f", + "effects": ["a993d0d38252", "a1c0c7168922", "37024426b62f"] + } + }, + { + "id": "terminal-viewport-refit-applied.transport-rejection-no-message:reflowed", + "observation": { + "sender": ["3f6a9fc794e0"], + "payloads": ["9c584ebc4a0f"], + "settlements": { + "mount": "eb79a9b3682a", + "height": "eb79a9b3682a" + }, + "state": "7e0619ad636f", + "effects": ["a993d0d38252", "a1c0c7168922", "37024426b62f"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-transport.capability-probe-status.get-1.json b/mobile/rpc-foundation/goldens/matrix-transport.capability-probe-status.get-1.json new file mode 100644 index 00000000000..ebd7afc6ef6 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-transport.capability-probe-status.get-1.json @@ -0,0 +1,538 @@ +{ + "operation": "transport.capability-probe", + "family": "transport.capability-probe", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "34b382b13fe75e8ef4002325287c95b3c4db62eeaaf3762af7fbaf6f836c2fa1", + "scenarioSha256": "874b1a120443ee679e2f4b3974762fd84fc929e93a2117b20bbb0cf373316616", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "16cd464bf664": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "1e5b32902af7": { + "name": "status.get#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "2698c9770ad3": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "2c76473bef66": { + "published": [] + }, + "4451bb95a76e": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "7d3dd7f9381b": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "88200d49083c": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "89236e432861": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "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 + } + } + } + }, + "944bf432f199": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "9cdf3c107e7b": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "b4584cf1e1a9": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "capabilities": ["push.v1", "codex.reset-credit"] + } + } + } + }, + "bd96613904d8": { + "published": [["push.v1", "codex.reset-credit"]] + }, + "c71b2f8a6993": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "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 + } + } + }, + "cc97c2cd21f1": { + "published": [[]] + }, + "de87f6266897": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "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" + } + } + }, + "recording": { + "scenario": "matrix-transport.capability-probe-status.get-1", + "checkpoints": [ + { + "id": "transport-capability-probe-publishes.normal:capabilities-published", + "observation": { + "sender": ["b4584cf1e1a9"], + "payloads": ["1e5b32902af7"], + "settlements": { + "start": "eb79a9b3682a" + }, + "state": "bd96613904d8", + "effects": [] + } + }, + { + "id": "transport-capability-probe-publishes.result-absent:capabilities-published", + "observation": { + "sender": ["7d3dd7f9381b"], + "payloads": ["1e5b32902af7"], + "settlements": { + "start": "eb79a9b3682a" + }, + "state": "cc97c2cd21f1", + "effects": [] + } + }, + { + "id": "transport-capability-probe-publishes.result-null:capabilities-published", + "observation": { + "sender": ["88200d49083c"], + "payloads": ["1e5b32902af7"], + "settlements": { + "start": "eb79a9b3682a" + }, + "state": "cc97c2cd21f1", + "effects": [] + } + }, + { + "id": "transport-capability-probe-publishes.inner-ok-missing:capabilities-published", + "observation": { + "sender": ["4451bb95a76e"], + "payloads": ["1e5b32902af7"], + "settlements": { + "start": "eb79a9b3682a" + }, + "state": "cc97c2cd21f1", + "effects": [] + } + }, + { + "id": "transport-capability-probe-publishes.inner-false-string-error:capabilities-published", + "observation": { + "sender": ["944bf432f199"], + "payloads": ["1e5b32902af7"], + "settlements": { + "start": "eb79a9b3682a" + }, + "state": "cc97c2cd21f1", + "effects": [] + } + }, + { + "id": "transport-capability-probe-publishes.inner-false-object-error:capabilities-published", + "observation": { + "sender": ["89236e432861"], + "payloads": ["1e5b32902af7"], + "settlements": { + "start": "eb79a9b3682a" + }, + "state": "cc97c2cd21f1", + "effects": [] + } + }, + { + "id": "transport-capability-probe-publishes.outer-refused:capabilities-published", + "observation": { + "sender": ["16cd464bf664"], + "payloads": ["1e5b32902af7"], + "settlements": { + "start": "eb79a9b3682a" + }, + "state": "2c76473bef66", + "effects": [] + } + }, + { + "id": "transport-capability-probe-publishes.outer-refused-no-message:capabilities-published", + "observation": { + "sender": ["9cdf3c107e7b"], + "payloads": ["1e5b32902af7"], + "settlements": { + "start": "eb79a9b3682a" + }, + "state": "2c76473bef66", + "effects": [] + } + }, + { + "id": "transport-capability-probe-publishes.method-not-found:capabilities-published", + "observation": { + "sender": ["c71b2f8a6993"], + "payloads": ["1e5b32902af7"], + "settlements": { + "start": "eb79a9b3682a" + }, + "state": "2c76473bef66", + "effects": [] + } + }, + { + "id": "transport-capability-probe-publishes.transport-rejection:capabilities-published", + "observation": { + "sender": ["de87f6266897"], + "payloads": ["1e5b32902af7"], + "settlements": { + "start": "eb79a9b3682a" + }, + "state": "2c76473bef66", + "effects": [] + } + }, + { + "id": "transport-capability-probe-publishes.transport-rejection-no-message:capabilities-published", + "observation": { + "sender": ["2698c9770ad3"], + "payloads": ["1e5b32902af7"], + "settlements": { + "start": "eb79a9b3682a" + }, + "state": "2c76473bef66", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-transport.host-status-gates-status.get-1.json b/mobile/rpc-foundation/goldens/matrix-transport.host-status-gates-status.get-1.json new file mode 100644 index 00000000000..b04b4063aea --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-transport.host-status-gates-status.get-1.json @@ -0,0 +1,567 @@ +{ + "operation": "transport.host-status-gates", + "family": "transport.host-status-gates", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "34b382b13fe75e8ef4002325287c95b3c4db62eeaaf3762af7fbaf6f836c2fa1", + "scenarioSha256": "d6be62e5eb2737d75634c053098d06a4bb175c64ff915cec6ead79922492a068", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "16cd464bf664": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "1e5b32902af7": { + "name": "status.get#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "2698c9770ad3": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "3494eeb65d3d": { + "appVersion": { + "$rpc": "null" + }, + "capabilities": [], + "floatingWorkspace": false, + "pending": false, + "verdict": { + "desktopVersion": 0, + "kind": "blocked", + "reason": "desktop-too-old", + "requiredDesktopVersion": 2 + } + }, + "36d81979cef2": { + "appVersion": "1.4.200", + "capabilities": ["mobile.tasks.v1", "push.v1"], + "floatingWorkspace": true, + "pending": false, + "verdict": { + "kind": "ok" + } + }, + "4451bb95a76e": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "7d3dd7f9381b": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "88200d49083c": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "89236e432861": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "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 + } + } + } + }, + "944bf432f199": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "9cdf3c107e7b": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "c71b2f8a6993": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "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 + } + } + }, + "de87f6266897": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "df2c10616b5e": { + "appVersion": { + "$rpc": "null" + }, + "capabilities": [], + "floatingWorkspace": false, + "pending": false, + "verdict": { + "kind": "ok" + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "eed0ae8cfbd7": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "appVersion": "1.4.200", + "capabilities": ["mobile.tasks.v1", "push.v1"], + "floatingWorkspaceEnabled": true, + "minCompatibleMobileVersion": 1, + "protocolVersion": 5 + } + } + } + } + }, + "recording": { + "scenario": "matrix-transport.host-status-gates-status.get-1", + "checkpoints": [ + { + "id": "transport-host-status-gates-ready.normal:gates-proven", + "observation": { + "sender": ["eed0ae8cfbd7"], + "payloads": ["1e5b32902af7"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "36d81979cef2", + "effects": [] + } + }, + { + "id": "transport-host-status-gates-ready.result-absent:gates-proven", + "observation": { + "sender": ["7d3dd7f9381b"], + "payloads": ["1e5b32902af7"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "df2c10616b5e", + "effects": [] + } + }, + { + "id": "transport-host-status-gates-ready.result-null:gates-proven", + "observation": { + "sender": ["88200d49083c"], + "payloads": ["1e5b32902af7"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "df2c10616b5e", + "effects": [] + } + }, + { + "id": "transport-host-status-gates-ready.inner-ok-missing:gates-proven", + "observation": { + "sender": ["4451bb95a76e"], + "payloads": ["1e5b32902af7"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "3494eeb65d3d", + "effects": [] + } + }, + { + "id": "transport-host-status-gates-ready.inner-false-string-error:gates-proven", + "observation": { + "sender": ["944bf432f199"], + "payloads": ["1e5b32902af7"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "3494eeb65d3d", + "effects": [] + } + }, + { + "id": "transport-host-status-gates-ready.inner-false-object-error:gates-proven", + "observation": { + "sender": ["89236e432861"], + "payloads": ["1e5b32902af7"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "3494eeb65d3d", + "effects": [] + } + }, + { + "id": "transport-host-status-gates-ready.outer-refused:gates-proven", + "observation": { + "sender": ["16cd464bf664"], + "payloads": ["1e5b32902af7"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "df2c10616b5e", + "effects": [] + } + }, + { + "id": "transport-host-status-gates-ready.outer-refused-no-message:gates-proven", + "observation": { + "sender": ["9cdf3c107e7b"], + "payloads": ["1e5b32902af7"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "df2c10616b5e", + "effects": [] + } + }, + { + "id": "transport-host-status-gates-ready.method-not-found:gates-proven", + "observation": { + "sender": ["c71b2f8a6993"], + "payloads": ["1e5b32902af7"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "df2c10616b5e", + "effects": [] + } + }, + { + "id": "transport-host-status-gates-ready.transport-rejection:gates-proven", + "observation": { + "sender": ["de87f6266897"], + "payloads": ["1e5b32902af7"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "df2c10616b5e", + "effects": [] + } + }, + { + "id": "transport-host-status-gates-ready.transport-rejection-no-message:gates-proven", + "observation": { + "sender": ["2698c9770ad3"], + "payloads": ["1e5b32902af7"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "df2c10616b5e", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-transport.pairing-race-direct-status.json b/mobile/rpc-foundation/goldens/matrix-transport.pairing-race-direct-status.json new file mode 100644 index 00000000000..0bafe892b58 --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-transport.pairing-race-direct-status.json @@ -0,0 +1,572 @@ +{ + "operation": "transport.pairing-race", + "family": "transport.pairing-race", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "34b382b13fe75e8ef4002325287c95b3c4db62eeaaf3762af7fbaf6f836c2fa1", + "scenarioSha256": "1d032c86e7cc12efa3d5044339cb990bd258d830119d0e7b61d1b995b4df29a3", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "16cd464bf664": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "1e5b32902af7": { + "name": "status.get#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "2698c9770ad3": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "26f802fad080": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "capabilities": [] + } + } + } + }, + "36caf183b988": { + "name": "status.get#2", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "capabilities": [] + } + } + } + }, + "416024b9c436": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": "relay" + }, + "4451bb95a76e": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "7d3dd7f9381b": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "88200d49083c": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "89236e432861": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "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 + } + } + } + }, + "944bf432f199": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "9cdf3c107e7b": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "a7d5becc0aed": { + "outcome": "relay" + }, + "b2a8517fe750": { + "name": "candidate-closed", + "value": "direct", + "sent": 2 + }, + "c0c86e67c300": { + "name": "status.get#2", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "c71b2f8a6993": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "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 + } + } + }, + "de87f6266897": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + } + }, + "recording": { + "scenario": "matrix-transport.pairing-race-direct-status", + "checkpoints": [ + { + "id": "transport-pairing-race-relay-completes-first.normal:relay-wins-when-it-completes-first", + "observation": { + "sender": ["26f802fad080", "36caf183b988"], + "payloads": ["1e5b32902af7", "c0c86e67c300"], + "settlements": { + "race": "416024b9c436" + }, + "state": "a7d5becc0aed", + "effects": ["b2a8517fe750"] + } + }, + { + "id": "transport-pairing-race-relay-completes-first.result-absent:relay-wins-when-it-completes-first", + "observation": { + "sender": ["7d3dd7f9381b", "36caf183b988"], + "payloads": ["1e5b32902af7", "c0c86e67c300"], + "settlements": { + "race": "416024b9c436" + }, + "state": "a7d5becc0aed", + "effects": ["b2a8517fe750"] + } + }, + { + "id": "transport-pairing-race-relay-completes-first.result-null:relay-wins-when-it-completes-first", + "observation": { + "sender": ["88200d49083c", "36caf183b988"], + "payloads": ["1e5b32902af7", "c0c86e67c300"], + "settlements": { + "race": "416024b9c436" + }, + "state": "a7d5becc0aed", + "effects": ["b2a8517fe750"] + } + }, + { + "id": "transport-pairing-race-relay-completes-first.inner-ok-missing:relay-wins-when-it-completes-first", + "observation": { + "sender": ["4451bb95a76e", "36caf183b988"], + "payloads": ["1e5b32902af7", "c0c86e67c300"], + "settlements": { + "race": "416024b9c436" + }, + "state": "a7d5becc0aed", + "effects": ["b2a8517fe750"] + } + }, + { + "id": "transport-pairing-race-relay-completes-first.inner-false-string-error:relay-wins-when-it-completes-first", + "observation": { + "sender": ["944bf432f199", "36caf183b988"], + "payloads": ["1e5b32902af7", "c0c86e67c300"], + "settlements": { + "race": "416024b9c436" + }, + "state": "a7d5becc0aed", + "effects": ["b2a8517fe750"] + } + }, + { + "id": "transport-pairing-race-relay-completes-first.inner-false-object-error:relay-wins-when-it-completes-first", + "observation": { + "sender": ["89236e432861", "36caf183b988"], + "payloads": ["1e5b32902af7", "c0c86e67c300"], + "settlements": { + "race": "416024b9c436" + }, + "state": "a7d5becc0aed", + "effects": ["b2a8517fe750"] + } + }, + { + "id": "transport-pairing-race-relay-completes-first.outer-refused:relay-wins-when-it-completes-first", + "observation": { + "sender": ["16cd464bf664", "36caf183b988"], + "payloads": ["1e5b32902af7", "c0c86e67c300"], + "settlements": { + "race": "416024b9c436" + }, + "state": "a7d5becc0aed", + "effects": ["b2a8517fe750"] + } + }, + { + "id": "transport-pairing-race-relay-completes-first.outer-refused-no-message:relay-wins-when-it-completes-first", + "observation": { + "sender": ["9cdf3c107e7b", "36caf183b988"], + "payloads": ["1e5b32902af7", "c0c86e67c300"], + "settlements": { + "race": "416024b9c436" + }, + "state": "a7d5becc0aed", + "effects": ["b2a8517fe750"] + } + }, + { + "id": "transport-pairing-race-relay-completes-first.method-not-found:relay-wins-when-it-completes-first", + "observation": { + "sender": ["c71b2f8a6993", "36caf183b988"], + "payloads": ["1e5b32902af7", "c0c86e67c300"], + "settlements": { + "race": "416024b9c436" + }, + "state": "a7d5becc0aed", + "effects": ["b2a8517fe750"] + } + }, + { + "id": "transport-pairing-race-relay-completes-first.transport-rejection:relay-wins-when-it-completes-first", + "observation": { + "sender": ["de87f6266897", "36caf183b988"], + "payloads": ["1e5b32902af7", "c0c86e67c300"], + "settlements": { + "race": "416024b9c436" + }, + "state": "a7d5becc0aed", + "effects": ["b2a8517fe750"] + } + }, + { + "id": "transport-pairing-race-relay-completes-first.transport-rejection-no-message:relay-wins-when-it-completes-first", + "observation": { + "sender": ["2698c9770ad3", "36caf183b988"], + "payloads": ["1e5b32902af7", "c0c86e67c300"], + "settlements": { + "race": "416024b9c436" + }, + "state": "a7d5becc0aed", + "effects": ["b2a8517fe750"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-transport.pairing-race-relay-status.json b/mobile/rpc-foundation/goldens/matrix-transport.pairing-race-relay-status.json new file mode 100644 index 00000000000..58ed79961fb --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-transport.pairing-race-relay-status.json @@ -0,0 +1,586 @@ +{ + "operation": "transport.pairing-race", + "family": "transport.pairing-race", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "34b382b13fe75e8ef4002325287c95b3c4db62eeaaf3762af7fbaf6f836c2fa1", + "scenarioSha256": "048ee6d7848e0e4b8d6463ff9dc4124bfd478114ab87f6b52ff82a1dfd6ebc04", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "03b8b5bae048": { + "name": "status.get#2", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "18c1e8ee98a9": { + "name": "status.get#2", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "1ca2b2b151f0": { + "name": "status.get#2", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "1e5b32902af7": { + "name": "status.get#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "218c5005ac65": { + "name": "status.get#2", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "26f802fad080": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "capabilities": [] + } + } + } + }, + "36caf183b988": { + "name": "status.get#2", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "capabilities": [] + } + } + } + }, + "416024b9c436": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": "relay" + }, + "87a315fe2862": { + "name": "status.get#2", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + }, + "93edac3a1c3e": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": "direct" + }, + "a10980da78f2": { + "name": "status.get#2", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "inner refused" + }, + "ok": false + } + } + } + }, + "a7d5becc0aed": { + "outcome": "relay" + }, + "b2a8517fe750": { + "name": "candidate-closed", + "value": "direct", + "sent": 2 + }, + "b8e45ac26312": { + "name": "status.get#2", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "bf57ada87e10": { + "name": "status.get#2", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "c0c86e67c300": { + "name": "status.get#2", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "d433a326314e": { + "name": "candidate-closed", + "value": "relay", + "sent": 2 + }, + "d9b301beff12": { + "outcome": "direct" + }, + "e9d16781a690": { + "name": "status.get#2", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "f699294abe81": { + "name": "status.get#2", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method" + }, + "id": "frame-2", + "ok": false + } + } + } + }, + "recording": { + "scenario": "matrix-transport.pairing-race-relay-status", + "checkpoints": [ + { + "id": "transport-pairing-race-relay-completes-first.normal:relay-wins-when-it-completes-first", + "observation": { + "sender": ["26f802fad080", "36caf183b988"], + "payloads": ["1e5b32902af7", "c0c86e67c300"], + "settlements": { + "race": "416024b9c436" + }, + "state": "a7d5becc0aed", + "effects": ["b2a8517fe750"] + } + }, + { + "id": "transport-pairing-race-relay-completes-first.result-absent:relay-wins-when-it-completes-first", + "observation": { + "sender": ["26f802fad080", "e9d16781a690"], + "payloads": ["1e5b32902af7", "c0c86e67c300"], + "settlements": { + "race": "416024b9c436" + }, + "state": "a7d5becc0aed", + "effects": ["b2a8517fe750"] + } + }, + { + "id": "transport-pairing-race-relay-completes-first.result-null:relay-wins-when-it-completes-first", + "observation": { + "sender": ["26f802fad080", "03b8b5bae048"], + "payloads": ["1e5b32902af7", "c0c86e67c300"], + "settlements": { + "race": "416024b9c436" + }, + "state": "a7d5becc0aed", + "effects": ["b2a8517fe750"] + } + }, + { + "id": "transport-pairing-race-relay-completes-first.inner-ok-missing:relay-wins-when-it-completes-first", + "observation": { + "sender": ["26f802fad080", "bf57ada87e10"], + "payloads": ["1e5b32902af7", "c0c86e67c300"], + "settlements": { + "race": "416024b9c436" + }, + "state": "a7d5becc0aed", + "effects": ["b2a8517fe750"] + } + }, + { + "id": "transport-pairing-race-relay-completes-first.inner-false-string-error:relay-wins-when-it-completes-first", + "observation": { + "sender": ["26f802fad080", "218c5005ac65"], + "payloads": ["1e5b32902af7", "c0c86e67c300"], + "settlements": { + "race": "416024b9c436" + }, + "state": "a7d5becc0aed", + "effects": ["b2a8517fe750"] + } + }, + { + "id": "transport-pairing-race-relay-completes-first.inner-false-object-error:relay-wins-when-it-completes-first", + "observation": { + "sender": ["26f802fad080", "a10980da78f2"], + "payloads": ["1e5b32902af7", "c0c86e67c300"], + "settlements": { + "race": "416024b9c436" + }, + "state": "a7d5becc0aed", + "effects": ["b2a8517fe750"] + } + }, + { + "id": "transport-pairing-race-relay-completes-first.outer-refused:relay-wins-when-it-completes-first", + "observation": { + "sender": ["26f802fad080", "b8e45ac26312"], + "payloads": ["1e5b32902af7", "c0c86e67c300"], + "settlements": { + "race": "93edac3a1c3e" + }, + "state": "d9b301beff12", + "effects": ["d433a326314e"] + } + }, + { + "id": "transport-pairing-race-relay-completes-first.outer-refused-no-message:relay-wins-when-it-completes-first", + "observation": { + "sender": ["26f802fad080", "87a315fe2862"], + "payloads": ["1e5b32902af7", "c0c86e67c300"], + "settlements": { + "race": "93edac3a1c3e" + }, + "state": "d9b301beff12", + "effects": ["d433a326314e"] + } + }, + { + "id": "transport-pairing-race-relay-completes-first.method-not-found:relay-wins-when-it-completes-first", + "observation": { + "sender": ["26f802fad080", "f699294abe81"], + "payloads": ["1e5b32902af7", "c0c86e67c300"], + "settlements": { + "race": "93edac3a1c3e" + }, + "state": "d9b301beff12", + "effects": ["d433a326314e"] + } + }, + { + "id": "transport-pairing-race-relay-completes-first.transport-rejection:relay-wins-when-it-completes-first", + "observation": { + "sender": ["26f802fad080", "18c1e8ee98a9"], + "payloads": ["1e5b32902af7", "c0c86e67c300"], + "settlements": { + "race": "93edac3a1c3e" + }, + "state": "d9b301beff12", + "effects": ["d433a326314e"] + } + }, + { + "id": "transport-pairing-race-relay-completes-first.transport-rejection-no-message:relay-wins-when-it-completes-first", + "observation": { + "sender": ["26f802fad080", "1ca2b2b151f0"], + "payloads": ["1e5b32902af7", "c0c86e67c300"], + "settlements": { + "race": "93edac3a1c3e" + }, + "state": "d9b301beff12", + "effects": ["d433a326314e"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-worktree.catalog-snapshot-worktree.ps-1.json b/mobile/rpc-foundation/goldens/matrix-worktree.catalog-snapshot-worktree.ps-1.json new file mode 100644 index 00000000000..09157dc8b7c --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-worktree.catalog-snapshot-worktree.ps-1.json @@ -0,0 +1,745 @@ +{ + "operation": "worktree.catalog-snapshot", + "family": "worktree.catalog-snapshot", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "4e942ddfbaa0ba6bfc2993969276987f6528ac53765d125e99a830e261f93a8e", + "scenarioSha256": "95ca47f382997c412da974e564a46b1ae0c20d6e0f3ca14258d33c8d8b51a160", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "08dde29706df": { + "name": "worktree.ps#1", + "args": [ + { + "name": "method", + "value": "worktree.ps" + }, + { + "name": "params", + "value": { + "afterSnapshotId": { + "$rpc": "null" + }, + "limit": 10000 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "0ce4a7117a8d": { + "admitted": { + "$rpc": "null" + }, + "fetched": { + "code": "refused", + "kind": "request_failed" + } + }, + "0d9bf2f46a5e": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "code": "refused", + "kind": "request_failed" + } + }, + "227f9e3de4fa": { + "name": "worktree.ps#1", + "args": [ + { + "name": "method", + "value": "worktree.ps" + }, + { + "name": "params", + "value": { + "afterSnapshotId": { + "$rpc": "null" + }, + "limit": 10000 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "snapshotId": "snapshot-1", + "worktrees": [ + { + "displayName": "One", + "repo": "Repo", + "worktreeId": "w-1" + } + ] + } + } + } + }, + "253b98015b8d": { + "admitted": "unadmitted", + "fetched": "unfetched" + }, + "3ef9b57ea9ad": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "kind": "response", + "pending": { + "admission": { + "kind": "invalid" + }, + "client": "logical-client", + "hostId": "host-1" + } + } + }, + "4262ba495b1b": { + "name": "worktree.ps#1", + "args": [ + { + "name": "method", + "value": "worktree.ps" + }, + { + "name": "params", + "value": { + "afterSnapshotId": { + "$rpc": "null" + }, + "limit": 10000 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "50c4271e912d": { + "admitted": { + "$rpc": "null" + }, + "fetched": { + "kind": "response", + "pending": { + "admission": { + "kind": "invalid" + }, + "client": "logical-client", + "hostId": "host-1" + } + } + }, + "5a288976750e": { + "name": "worktree.ps#1", + "args": [ + { + "name": "method", + "value": "worktree.ps" + }, + { + "name": "params", + "value": { + "afterSnapshotId": { + "$rpc": "null" + }, + "limit": 10000 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "5d54bccfc557": { + "name": "worktree.ps#1", + "args": [ + { + "name": "method", + "value": "worktree.ps" + }, + { + "name": "params", + "value": { + "afterSnapshotId": { + "$rpc": "null" + }, + "limit": 10000 + } + }, + { + "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 + } + } + }, + "8e2c2fbe7e94": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "code": "method_not_found", + "kind": "request_failed" + } + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "9948855e8b8d": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "kind": "response", + "pending": { + "admission": { + "kind": "full", + "snapshotId": "snapshot-1", + "worktrees": [ + { + "displayName": "One", + "repo": "Repo", + "worktreeId": "w-1" + } + ] + }, + "client": "logical-client", + "hostId": "host-1" + } + } + }, + "a0fab6bf1fb0": { + "name": "worktree.ps#1", + "args": [ + { + "name": "method", + "value": "worktree.ps" + }, + { + "name": "params", + "value": { + "afterSnapshotId": { + "$rpc": "null" + }, + "limit": 10000 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "a87f1f91dc98": { + "name": "worktree.ps#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.ps\",\"params\":{\"limit\":10000,\"afterSnapshotId\":null,\"supportsWorktreeVisibilitySourceDefaults\":true}}" + }, + "a947768bc0ed": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + }, + "ab1a9ba6301c": { + "admitted": [ + { + "displayName": "One", + "repo": "Repo", + "worktreeId": "w-1" + } + ], + "fetched": { + "kind": "response", + "pending": { + "admission": { + "kind": "full", + "snapshotId": "snapshot-1", + "worktrees": [ + { + "displayName": "One", + "repo": "Repo", + "worktreeId": "w-1" + } + ] + }, + "client": "logical-client", + "hostId": "host-1" + } + } + }, + "ad584cc963bb": { + "name": "worktree.ps#1", + "args": [ + { + "name": "method", + "value": "worktree.ps" + }, + { + "name": "params", + "value": { + "afterSnapshotId": { + "$rpc": "null" + }, + "limit": 10000 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "b14360b67647": { + "name": "worktree.ps#1", + "args": [ + { + "name": "method", + "value": "worktree.ps" + }, + { + "name": "params", + "value": { + "afterSnapshotId": { + "$rpc": "null" + }, + "limit": 10000 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "b1ae1170d95b": { + "name": "worktree.ps#1", + "args": [ + { + "name": "method", + "value": "worktree.ps" + }, + { + "name": "params", + "value": { + "afterSnapshotId": { + "$rpc": "null" + }, + "limit": 10000 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "b670d230caf2": { + "name": "worktree.ps#1", + "args": [ + { + "name": "method", + "value": "worktree.ps" + }, + { + "name": "params", + "value": { + "afterSnapshotId": { + "$rpc": "null" + }, + "limit": 10000 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "ba9be29baf40": { + "admitted": { + "$rpc": "null" + }, + "fetched": { + "code": "method_not_found", + "kind": "request_failed" + } + }, + "c7584e82c72f": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + }, + "f5d207eddd1d": { + "name": "worktree.ps#1", + "args": [ + { + "name": "method", + "value": "worktree.ps" + }, + { + "name": "params", + "value": { + "afterSnapshotId": { + "$rpc": "null" + }, + "limit": 10000 + } + }, + { + "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 + } + } + } + }, + "f97b6b46b1d5": { + "name": "worktree.ps#1", + "args": [ + { + "name": "method", + "value": "worktree.ps" + }, + { + "name": "params", + "value": { + "afterSnapshotId": { + "$rpc": "null" + }, + "limit": 10000 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + } + }, + "recording": { + "scenario": "matrix-worktree.catalog-snapshot-worktree.ps-1", + "checkpoints": [ + { + "id": "worktree-catalog-snapshot.prelude:catalog-pending", + "observation": { + "sender": ["f97b6b46b1d5"], + "payloads": ["a87f1f91dc98"], + "settlements": { + "fetch": "9270aeb7d9c6" + }, + "state": "253b98015b8d", + "effects": [] + } + }, + { + "id": "worktree-catalog-snapshot.normal:settled", + "observation": { + "sender": ["227f9e3de4fa"], + "payloads": ["a87f1f91dc98"], + "settlements": { + "fetch": "9948855e8b8d" + }, + "state": "ab1a9ba6301c", + "effects": [] + } + }, + { + "id": "worktree-catalog-snapshot.result-absent:settled", + "observation": { + "sender": ["ad584cc963bb"], + "payloads": ["a87f1f91dc98"], + "settlements": { + "fetch": "3ef9b57ea9ad" + }, + "state": "50c4271e912d", + "effects": [] + } + }, + { + "id": "worktree-catalog-snapshot.result-null:settled", + "observation": { + "sender": ["b670d230caf2"], + "payloads": ["a87f1f91dc98"], + "settlements": { + "fetch": "3ef9b57ea9ad" + }, + "state": "50c4271e912d", + "effects": [] + } + }, + { + "id": "worktree-catalog-snapshot.inner-ok-missing:settled", + "observation": { + "sender": ["4262ba495b1b"], + "payloads": ["a87f1f91dc98"], + "settlements": { + "fetch": "3ef9b57ea9ad" + }, + "state": "50c4271e912d", + "effects": [] + } + }, + { + "id": "worktree-catalog-snapshot.inner-false-string-error:settled", + "observation": { + "sender": ["5a288976750e"], + "payloads": ["a87f1f91dc98"], + "settlements": { + "fetch": "3ef9b57ea9ad" + }, + "state": "50c4271e912d", + "effects": [] + } + }, + { + "id": "worktree-catalog-snapshot.inner-false-object-error:settled", + "observation": { + "sender": ["f5d207eddd1d"], + "payloads": ["a87f1f91dc98"], + "settlements": { + "fetch": "3ef9b57ea9ad" + }, + "state": "50c4271e912d", + "effects": [] + } + }, + { + "id": "worktree-catalog-snapshot.outer-refused:settled", + "observation": { + "sender": ["b14360b67647"], + "payloads": ["a87f1f91dc98"], + "settlements": { + "fetch": "0d9bf2f46a5e" + }, + "state": "0ce4a7117a8d", + "effects": [] + } + }, + { + "id": "worktree-catalog-snapshot.outer-refused-no-message:settled", + "observation": { + "sender": ["a0fab6bf1fb0"], + "payloads": ["a87f1f91dc98"], + "settlements": { + "fetch": "0d9bf2f46a5e" + }, + "state": "0ce4a7117a8d", + "effects": [] + } + }, + { + "id": "worktree-catalog-snapshot.method-not-found:settled", + "observation": { + "sender": ["5d54bccfc557"], + "payloads": ["a87f1f91dc98"], + "settlements": { + "fetch": "8e2c2fbe7e94" + }, + "state": "ba9be29baf40", + "effects": [] + } + }, + { + "id": "worktree-catalog-snapshot.transport-rejection:settled", + "observation": { + "sender": ["b1ae1170d95b"], + "payloads": ["a87f1f91dc98"], + "settlements": { + "fetch": "a947768bc0ed" + }, + "state": "253b98015b8d", + "effects": [] + } + }, + { + "id": "worktree-catalog-snapshot.transport-rejection-no-message:settled", + "observation": { + "sender": ["08dde29706df"], + "payloads": ["a87f1f91dc98"], + "settlements": { + "fetch": "c7584e82c72f" + }, + "state": "253b98015b8d", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-worktree.create-retry-worktree.create-1.json b/mobile/rpc-foundation/goldens/matrix-worktree.create-retry-worktree.create-1.json index 500f6774271..246a6130694 100644 --- a/mobile/rpc-foundation/goldens/matrix-worktree.create-retry-worktree.create-1.json +++ b/mobile/rpc-foundation/goldens/matrix-worktree.create-retry-worktree.create-1.json @@ -3,9 +3,9 @@ "family": "worktree.create-retry", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "343b97826782820b7aecaddd13a4c8cdbbbca057c83021863d577a677934f3a3", "scenarioSha256": "e93a36ef900de27e1a566cdb2389ba4f900a330eadbb476b9bfb1ef05707b352", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/matrix-worktree.home-catalog-worktree.ps-1.json b/mobile/rpc-foundation/goldens/matrix-worktree.home-catalog-worktree.ps-1.json new file mode 100644 index 00000000000..0d7b984a6aa --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-worktree.home-catalog-worktree.ps-1.json @@ -0,0 +1,668 @@ +{ + "operation": "worktree.home-catalog", + "family": "worktree.home-catalog", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "4e942ddfbaa0ba6bfc2993969276987f6528ac53765d125e99a830e261f93a8e", + "scenarioSha256": "fa0e28a167a5fba6fe7ffebb9f4ad28dd413d601c07116a24a7781d156f54beb", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "111018d23b6c": { + "name": "worktree.ps#1", + "args": [ + { + "name": "method", + "value": "worktree.ps" + }, + { + "name": "params", + "value": { + "limit": 10000 + } + }, + { + "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 + } + } + }, + "2e82f8bbb1f1": { + "name": "worktree.ps#1", + "args": [ + { + "name": "method", + "value": "worktree.ps" + }, + { + "name": "params", + "value": { + "limit": 10000 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "worktrees": [ + { + "displayName": "One", + "repo": "Repo", + "status": "working", + "worktreeId": "w-1" + }, + { + "displayName": "Two", + "repo": "Repo", + "status": "idle", + "worktreeId": "w-2" + } + ] + } + } + } + }, + "39b7354b00f4": { + "host-1": { + "activeCount": 1, + "countsProvenAt": 1767225600000, + "hostId": "host-1", + "lastActiveWorktree": { + "displayName": "One", + "repo": "Repo", + "status": "working", + "worktreeId": "w-1" + }, + "totalWorktrees": 2 + } + }, + "430d32843438": { + "name": "worktree.ps#1", + "args": [ + { + "name": "method", + "value": "worktree.ps" + }, + { + "name": "params", + "value": { + "limit": 10000 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "44136fa355b3": {}, + "481a5e96b319": { + "name": "worktree.ps#1", + "args": [ + { + "name": "method", + "value": "worktree.ps" + }, + { + "name": "params", + "value": { + "limit": 10000 + } + }, + { + "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 + } + } + } + }, + "4912be5d956f": { + "name": "worktree.ps#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.ps\",\"params\":{\"limit\":10000,\"supportsWorktreeVisibilitySourceDefaults\":true}}" + }, + "4fa9e403a3c8": { + "name": "worktree.ps#1", + "args": [ + { + "name": "method", + "value": "worktree.ps" + }, + { + "name": "params", + "value": { + "limit": 10000 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "transport failure", + "isRpcDeliveryUnknown": true + } + } + }, + "51d64b49c1ab": { + "host-1": { + "activeCount": 0, + "catalogUnavailable": true, + "hostId": "host-1", + "lastActiveWorktree": { + "$rpc": "null" + }, + "totalWorktrees": 0 + } + }, + "6ed6d686b491": { + "name": "worktree.ps#1", + "args": [ + { + "name": "method", + "value": "worktree.ps" + }, + { + "name": "params", + "value": { + "limit": 10000 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "86091b4d2b73": { + "name": "info", + "value": { + "host-1": { + "activeCount": 1, + "countsProvenAt": 1767225600000, + "hostId": "host-1", + "lastActiveWorktree": { + "displayName": "One", + "repo": "Repo", + "status": "working", + "worktreeId": "w-1" + }, + "totalWorktrees": 2 + } + }, + "sent": 1 + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "97177805ceb8": { + "name": "worktree.ps#1", + "args": [ + { + "name": "method", + "value": "worktree.ps" + }, + { + "name": "params", + "value": { + "limit": 10000 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "993fb2bd3f3e": { + "name": "worktree.ps#1", + "args": [ + { + "name": "method", + "value": "worktree.ps" + }, + { + "name": "params", + "value": { + "limit": 10000 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "9f1a49cd671e": { + "name": "worktree.ps#1", + "args": [ + { + "name": "method", + "value": "worktree.ps" + }, + { + "name": "params", + "value": { + "limit": 10000 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "a12f66e6b7a8": { + "name": "info", + "value": { + "host-1": { + "activeCount": 0, + "countsProvenAt": 1767225600000, + "hostId": "host-1", + "lastActiveWorktree": { + "$rpc": "null" + }, + "totalWorktrees": 0 + } + }, + "sent": 1 + }, + "b2b1fae7e3de": { + "name": "info", + "value": { + "host-1": { + "activeCount": 0, + "catalogUnavailable": true, + "hostId": "host-1", + "lastActiveWorktree": { + "$rpc": "null" + }, + "totalWorktrees": 0 + } + }, + "sent": 1 + }, + "bc1a8e138f82": { + "name": "worktree.ps#1", + "args": [ + { + "name": "method", + "value": "worktree.ps" + }, + { + "name": "params", + "value": { + "limit": 10000 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "d0ec31ab66d5": { + "host-1": { + "activeCount": 0, + "countsProvenAt": 1767225600000, + "hostId": "host-1", + "lastActiveWorktree": { + "$rpc": "null" + }, + "totalWorktrees": 0 + } + }, + "e904502f2359": { + "name": "worktree.ps#1", + "args": [ + { + "name": "method", + "value": "worktree.ps" + }, + { + "name": "params", + "value": { + "limit": 10000 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f2257f595504": { + "name": "worktree.ps#1", + "args": [ + { + "name": "method", + "value": "worktree.ps" + }, + { + "name": "params", + "value": { + "limit": 10000 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + } + }, + "recording": { + "scenario": "matrix-worktree.home-catalog-worktree.ps-1", + "checkpoints": [ + { + "id": "worktree-home-catalog.prelude:catalog-pending", + "observation": { + "sender": ["bc1a8e138f82"], + "payloads": ["4912be5d956f"], + "settlements": { + "load": "9270aeb7d9c6" + }, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "worktree-home-catalog.normal:settled", + "observation": { + "sender": ["2e82f8bbb1f1"], + "payloads": ["4912be5d956f"], + "settlements": { + "load": "eb79a9b3682a" + }, + "state": "39b7354b00f4", + "effects": ["86091b4d2b73"] + } + }, + { + "id": "worktree-home-catalog.result-absent:settled", + "observation": { + "sender": ["6ed6d686b491"], + "payloads": ["4912be5d956f"], + "settlements": { + "load": "eb79a9b3682a" + }, + "state": "51d64b49c1ab", + "effects": ["b2b1fae7e3de"] + } + }, + { + "id": "worktree-home-catalog.result-null:settled", + "observation": { + "sender": ["430d32843438"], + "payloads": ["4912be5d956f"], + "settlements": { + "load": "eb79a9b3682a" + }, + "state": "51d64b49c1ab", + "effects": ["b2b1fae7e3de"] + } + }, + { + "id": "worktree-home-catalog.inner-ok-missing:settled", + "observation": { + "sender": ["e904502f2359"], + "payloads": ["4912be5d956f"], + "settlements": { + "load": "eb79a9b3682a" + }, + "state": "d0ec31ab66d5", + "effects": ["a12f66e6b7a8"] + } + }, + { + "id": "worktree-home-catalog.inner-false-string-error:settled", + "observation": { + "sender": ["f2257f595504"], + "payloads": ["4912be5d956f"], + "settlements": { + "load": "eb79a9b3682a" + }, + "state": "d0ec31ab66d5", + "effects": ["a12f66e6b7a8"] + } + }, + { + "id": "worktree-home-catalog.inner-false-object-error:settled", + "observation": { + "sender": ["481a5e96b319"], + "payloads": ["4912be5d956f"], + "settlements": { + "load": "eb79a9b3682a" + }, + "state": "d0ec31ab66d5", + "effects": ["a12f66e6b7a8"] + } + }, + { + "id": "worktree-home-catalog.outer-refused:settled", + "observation": { + "sender": ["993fb2bd3f3e"], + "payloads": ["4912be5d956f"], + "settlements": { + "load": "eb79a9b3682a" + }, + "state": "51d64b49c1ab", + "effects": ["b2b1fae7e3de"] + } + }, + { + "id": "worktree-home-catalog.outer-refused-no-message:settled", + "observation": { + "sender": ["97177805ceb8"], + "payloads": ["4912be5d956f"], + "settlements": { + "load": "eb79a9b3682a" + }, + "state": "51d64b49c1ab", + "effects": ["b2b1fae7e3de"] + } + }, + { + "id": "worktree-home-catalog.method-not-found:settled", + "observation": { + "sender": ["111018d23b6c"], + "payloads": ["4912be5d956f"], + "settlements": { + "load": "eb79a9b3682a" + }, + "state": "51d64b49c1ab", + "effects": ["b2b1fae7e3de"] + } + }, + { + "id": "worktree-home-catalog.transport-rejection:settled", + "observation": { + "sender": ["4fa9e403a3c8"], + "payloads": ["4912be5d956f"], + "settlements": { + "load": "eb79a9b3682a" + }, + "state": "51d64b49c1ab", + "effects": ["b2b1fae7e3de"] + } + }, + { + "id": "worktree-home-catalog.transport-rejection-no-message:settled", + "observation": { + "sender": ["9f1a49cd671e"], + "payloads": ["4912be5d956f"], + "settlements": { + "load": "eb79a9b3682a" + }, + "state": "51d64b49c1ab", + "effects": ["b2b1fae7e3de"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-worktree.hosted-base-worktree.resolvemrbase-1.json b/mobile/rpc-foundation/goldens/matrix-worktree.hosted-base-worktree.resolvemrbase-1.json index 13dc5e4d143..5b6c488132d 100644 --- a/mobile/rpc-foundation/goldens/matrix-worktree.hosted-base-worktree.resolvemrbase-1.json +++ b/mobile/rpc-foundation/goldens/matrix-worktree.hosted-base-worktree.resolvemrbase-1.json @@ -3,9 +3,9 @@ "family": "worktree.hosted-base", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "343b97826782820b7aecaddd13a4c8cdbbbca057c83021863d577a677934f3a3", "scenarioSha256": "a84f8a5acfd428eb77b5c02a3de0fa8b780c666db31bbe574ecf76cdf84adeb2", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/matrix-worktree.hosted-base-worktree.resolveprbase-1.json b/mobile/rpc-foundation/goldens/matrix-worktree.hosted-base-worktree.resolveprbase-1.json index f1c90037fcd..c5327761ea9 100644 --- a/mobile/rpc-foundation/goldens/matrix-worktree.hosted-base-worktree.resolveprbase-1.json +++ b/mobile/rpc-foundation/goldens/matrix-worktree.hosted-base-worktree.resolveprbase-1.json @@ -3,9 +3,9 @@ "family": "worktree.hosted-base", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "343b97826782820b7aecaddd13a4c8cdbbbca057c83021863d577a677934f3a3", "scenarioSha256": "45783a7cbb44b04dbbd6bfd6735799bb4c75e503f43f1821cf8640d11f7464ad", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/matrix-worktree.retired-names-worktree.listretirednames-1.json b/mobile/rpc-foundation/goldens/matrix-worktree.retired-names-worktree.listretirednames-1.json new file mode 100644 index 00000000000..16f55c82ade --- /dev/null +++ b/mobile/rpc-foundation/goldens/matrix-worktree.retired-names-worktree.listretirednames-1.json @@ -0,0 +1,583 @@ +{ + "operation": "worktree.retired-names", + "family": "worktree.retired-names", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "4e942ddfbaa0ba6bfc2993969276987f6528ac53765d125e99a830e261f93a8e", + "scenarioSha256": "d321d6c17e67ae90f6ceefb775495ff765a86a35423ed33a212e71ec5e9e94aa", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "02fe07399476": { + "name": "worktree.listRetiredNames#1", + "args": [ + { + "name": "method", + "value": "worktree.listRetiredNames" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "", + "isRpcDeliveryUnknown": true + } + } + }, + "097832ba0321": { + "name": "worktree.listRetiredNames#1", + "args": [ + { + "name": "method", + "value": "worktree.listRetiredNames" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "0c1342cbe912": { + "name": "worktree.listRetiredNames#1", + "args": [ + { + "name": "method", + "value": "worktree.listRetiredNames" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "refused" + } + } + } + }, + "2b135054eb20": { + "name": "worktree.listRetiredNames#1", + "args": [ + { + "name": "method", + "value": "worktree.listRetiredNames" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "inner refused", + "ok": false + } + } + } + }, + "569633c0c5c5": { + "name": "worktree.listRetiredNames#1", + "args": [ + { + "name": "method", + "value": "worktree.listRetiredNames" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "5e2e60e145d8": { + "name": "worktree.listRetiredNames#1", + "args": [ + { + "name": "method", + "value": "worktree.listRetiredNames" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "retiredNameTiersByRepo": { + "repo-1": 2 + }, + "retiredNamesByRepo": { + "repo-1": ["marlin", "orca"] + } + } + } + } + }, + "62049c27970e": { + "name": "worktree.listRetiredNames#1", + "args": [ + { + "name": "method", + "value": "worktree.listRetiredNames" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true + } + } + }, + "65d2ebb48892": { + "name": "worktree.listRetiredNames#1", + "args": [ + { + "name": "method", + "value": "worktree.listRetiredNames" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "outer refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "85d826c606ff": { + "registry": { + "exhaustedTiers": 2, + "names": ["marlin", "orca"] + } + }, + "ba7d8283433b": { + "name": "worktree.listRetiredNames#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.listRetiredNames\",\"params\":{\"repo\":\"id:repo-1\"}}" + }, + "be9540321e8c": { + "name": "worktree.listRetiredNames#1", + "args": [ + { + "name": "method", + "value": "worktree.listRetiredNames" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-1", + "ok": false + } + } + }, + "cb76d0017b96": { + "registry": { + "exhaustedTiers": 0, + "names": [] + } + }, + "dfdfe583f72c": { + "name": "worktree.listRetiredNames#1", + "args": [ + { + "name": "method", + "value": "worktree.listRetiredNames" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "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 + } + } + } + }, + "e30ddb3bb2da": { + "name": "worktree.listRetiredNames#1", + "args": [ + { + "name": "method", + "value": "worktree.listRetiredNames" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "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 + } + } + }, + "ea14357ab74a": { + "name": "worktree.listRetiredNames#1", + "args": [ + { + "name": "method", + "value": "worktree.listRetiredNames" + }, + { + "name": "params", + "value": { + "repo": "id:repo-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" + } + } + }, + "recording": { + "scenario": "matrix-worktree.retired-names-worktree.listretirednames-1", + "checkpoints": [ + { + "id": "worktree-retired-names.prelude:names-pending", + "observation": { + "sender": ["569633c0c5c5"], + "payloads": ["ba7d8283433b"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "cb76d0017b96", + "effects": [] + } + }, + { + "id": "worktree-retired-names.normal:settled", + "observation": { + "sender": ["5e2e60e145d8"], + "payloads": ["ba7d8283433b"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "85d826c606ff", + "effects": [] + } + }, + { + "id": "worktree-retired-names.result-absent:settled", + "observation": { + "sender": ["62049c27970e"], + "payloads": ["ba7d8283433b"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "cb76d0017b96", + "effects": [] + } + }, + { + "id": "worktree-retired-names.result-null:settled", + "observation": { + "sender": ["097832ba0321"], + "payloads": ["ba7d8283433b"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "cb76d0017b96", + "effects": [] + } + }, + { + "id": "worktree-retired-names.inner-ok-missing:settled", + "observation": { + "sender": ["0c1342cbe912"], + "payloads": ["ba7d8283433b"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "cb76d0017b96", + "effects": [] + } + }, + { + "id": "worktree-retired-names.inner-false-string-error:settled", + "observation": { + "sender": ["2b135054eb20"], + "payloads": ["ba7d8283433b"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "cb76d0017b96", + "effects": [] + } + }, + { + "id": "worktree-retired-names.inner-false-object-error:settled", + "observation": { + "sender": ["dfdfe583f72c"], + "payloads": ["ba7d8283433b"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "cb76d0017b96", + "effects": [] + } + }, + { + "id": "worktree-retired-names.outer-refused:settled", + "observation": { + "sender": ["65d2ebb48892"], + "payloads": ["ba7d8283433b"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "cb76d0017b96", + "effects": [] + } + }, + { + "id": "worktree-retired-names.outer-refused-no-message:settled", + "observation": { + "sender": ["be9540321e8c"], + "payloads": ["ba7d8283433b"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "cb76d0017b96", + "effects": [] + } + }, + { + "id": "worktree-retired-names.method-not-found:settled", + "observation": { + "sender": ["e30ddb3bb2da"], + "payloads": ["ba7d8283433b"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "cb76d0017b96", + "effects": [] + } + }, + { + "id": "worktree-retired-names.transport-rejection:settled", + "observation": { + "sender": ["ea14357ab74a"], + "payloads": ["ba7d8283433b"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "cb76d0017b96", + "effects": [] + } + }, + { + "id": "worktree-retired-names.transport-rejection-no-message:settled", + "observation": { + "sender": ["02fe07399476"], + "payloads": ["ba7d8283433b"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "cb76d0017b96", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/matrix-worktree.review-link-worktree.set-1.json b/mobile/rpc-foundation/goldens/matrix-worktree.review-link-worktree.set-1.json index b792a3eaf66..b3708de7e4e 100644 --- a/mobile/rpc-foundation/goldens/matrix-worktree.review-link-worktree.set-1.json +++ b/mobile/rpc-foundation/goldens/matrix-worktree.review-link-worktree.set-1.json @@ -3,9 +3,9 @@ "family": "worktree.review-link", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "5e47c7960b9352753f0751d4ccf5e3ff7fb7b74a63cc4e4df3c3ffdcc6c1e66b", "scenarioSha256": "2fc093ec505bfac04a4ff0adab991baeba985253486dbe9e3ec9884b8d5f0920", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/matrix-worktree.runtime-capabilities-status.get-1.json b/mobile/rpc-foundation/goldens/matrix-worktree.runtime-capabilities-status.get-1.json index 550750f9c6c..14045696de2 100644 --- a/mobile/rpc-foundation/goldens/matrix-worktree.runtime-capabilities-status.get-1.json +++ b/mobile/rpc-foundation/goldens/matrix-worktree.runtime-capabilities-status.get-1.json @@ -3,9 +3,9 @@ "family": "worktree.runtime-capabilities", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "343b97826782820b7aecaddd13a4c8cdbbbca057c83021863d577a677934f3a3", "scenarioSha256": "f70c6b1753377b5a502bf7d1e69dc95617f24c42137471320eb393567efbe735", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/matrix-worktree.setup-hook-trust-ui.set-1.json b/mobile/rpc-foundation/goldens/matrix-worktree.setup-hook-trust-ui.set-1.json index 34c5923d693..a84923cddcf 100644 --- a/mobile/rpc-foundation/goldens/matrix-worktree.setup-hook-trust-ui.set-1.json +++ b/mobile/rpc-foundation/goldens/matrix-worktree.setup-hook-trust-ui.set-1.json @@ -3,9 +3,9 @@ "family": "worktree.setup-hook-trust", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "343b97826782820b7aecaddd13a4c8cdbbbca057c83021863d577a677934f3a3", "scenarioSha256": "8487fd14ed779708415b264e2b80b26b0d5094e379a04f4f32c2cd75ec469182", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/native-chat-image-paste-single.json b/mobile/rpc-foundation/goldens/native-chat-image-paste-single.json new file mode 100644 index 00000000000..10cb836769f --- /dev/null +++ b/mobile/rpc-foundation/goldens/native-chat-image-paste-single.json @@ -0,0 +1,138 @@ +{ + "operation": "nativeChat.image-paste", + "family": "nativeChat.image-paste", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "16779b663f4faec8cbccdb42efd7b568a2912845b161f8a4827754687eb4235c", + "scenarioSha256": "a330bd18a22c002ac04d0fa043561740c5cea627516bbf965fc1bd52533c2e35", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "242d9ae1137d": { + "name": "terminal.send#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u0015\",\"enter\":false,\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" + }, + "47a22f9d0047": { + "failure": { + "$rpc": "null" + }, + "pasted": true + }, + "518651fd2840": { + "name": "terminal.send#2", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "\u001b[200~/tmp/a.png\u001b[201~ " + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + } + }, + "52ae659a3d36": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "\u0015" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + } + }, + "84e5ca07cb7a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": true + }, + "b83e56a4ec7e": { + "name": "terminal.send#2", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u001b[200~/tmp/a.png\\u001b[201~ \",\"enter\":false,\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" + } + }, + "recording": { + "scenario": "native-chat-image-paste-single", + "checkpoints": [ + { + "id": "pasted", + "observation": { + "sender": ["52ae659a3d36", "518651fd2840"], + "payloads": ["242d9ae1137d", "b83e56a4ec7e"], + "settlements": { + "one": "84e5ca07cb7a" + }, + "state": "47a22f9d0047", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/native-chat-image-paste-stops-on-rejection.json b/mobile/rpc-foundation/goldens/native-chat-image-paste-stops-on-rejection.json new file mode 100644 index 00000000000..47a1c2cc14e --- /dev/null +++ b/mobile/rpc-foundation/goldens/native-chat-image-paste-stops-on-rejection.json @@ -0,0 +1,138 @@ +{ + "operation": "nativeChat.image-paste", + "family": "nativeChat.image-paste", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "16779b663f4faec8cbccdb42efd7b568a2912845b161f8a4827754687eb4235c", + "scenarioSha256": "77fd03130dc2faf4d17b018c6c3314076a02b5fe9c531921ffb1a43e8a150d2f", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "242d9ae1137d": { + "name": "terminal.send#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u0015\",\"enter\":false,\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" + }, + "52ae659a3d36": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "\u0015" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + } + }, + "748c76b444c4": { + "name": "terminal.send#2", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "\u001b[200~/tmp/a.png\u001b[201~" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "send": { + "accepted": false + } + } + } + } + }, + "7ed3d39f0607": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": false + }, + "c299c7a89e41": { + "failure": { + "$rpc": "null" + }, + "pasted": false + }, + "ee5ea32bdaf0": { + "name": "terminal.send#2", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u001b[200~/tmp/a.png\\u001b[201~\",\"enter\":false,\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" + } + }, + "recording": { + "scenario": "native-chat-image-paste-stops-on-rejection", + "checkpoints": [ + { + "id": "stopped", + "observation": { + "sender": ["52ae659a3d36", "748c76b444c4"], + "payloads": ["242d9ae1137d", "ee5ea32bdaf0"], + "settlements": { + "two": "7ed3d39f0607" + }, + "state": "c299c7a89e41", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/native-chat-image-paste-trailing-image.json b/mobile/rpc-foundation/goldens/native-chat-image-paste-trailing-image.json new file mode 100644 index 00000000000..86afbf9bc6c --- /dev/null +++ b/mobile/rpc-foundation/goldens/native-chat-image-paste-trailing-image.json @@ -0,0 +1,138 @@ +{ + "operation": "nativeChat.image-paste", + "family": "nativeChat.image-paste", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "16779b663f4faec8cbccdb42efd7b568a2912845b161f8a4827754687eb4235c", + "scenarioSha256": "ebf9397271bfd5462403e60748f5bd505d554eba5f74ce79a8c40550e9719dcc", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "242d9ae1137d": { + "name": "terminal.send#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u0015\",\"enter\":false,\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" + }, + "47a22f9d0047": { + "failure": { + "$rpc": "null" + }, + "pasted": true + }, + "52ae659a3d36": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "\u0015" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + } + }, + "84e5ca07cb7a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": true + }, + "ee5ea32bdaf0": { + "name": "terminal.send#2", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u001b[200~/tmp/a.png\\u001b[201~\",\"enter\":false,\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" + }, + "ff84951eb090": { + "name": "terminal.send#2", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "\u001b[200~/tmp/a.png\u001b[201~" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + } + } + }, + "recording": { + "scenario": "native-chat-image-paste-trailing-image", + "checkpoints": [ + { + "id": "pasted", + "observation": { + "sender": ["52ae659a3d36", "ff84951eb090"], + "payloads": ["242d9ae1137d", "ee5ea32bdaf0"], + "settlements": { + "trailing": "84e5ca07cb7a" + }, + "state": "47a22f9d0047", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/native-chat-image-paste-two-images.json b/mobile/rpc-foundation/goldens/native-chat-image-paste-two-images.json new file mode 100644 index 00000000000..d2c7ff1ebc1 --- /dev/null +++ b/mobile/rpc-foundation/goldens/native-chat-image-paste-two-images.json @@ -0,0 +1,184 @@ +{ + "operation": "nativeChat.image-paste", + "family": "nativeChat.image-paste", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "16779b663f4faec8cbccdb42efd7b568a2912845b161f8a4827754687eb4235c", + "scenarioSha256": "b6595de485ed071674051ce0d2b44a604ec21d2614b646d8917a9130a58a48cf", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "15497aafcc27": { + "name": "terminal.send#3", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u001b[200~/tmp/b.png\\u001b[201~ \",\"enter\":false,\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" + }, + "242d9ae1137d": { + "name": "terminal.send#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u0015\",\"enter\":false,\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" + }, + "2787a9ee5adc": { + "name": "terminal.send#3", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "\u001b[200~/tmp/b.png\u001b[201~ " + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + } + }, + "47a22f9d0047": { + "failure": { + "$rpc": "null" + }, + "pasted": true + }, + "52ae659a3d36": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "\u0015" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + } + }, + "84e5ca07cb7a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": true + }, + "ee5ea32bdaf0": { + "name": "terminal.send#2", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u001b[200~/tmp/a.png\\u001b[201~\",\"enter\":false,\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" + }, + "ff84951eb090": { + "name": "terminal.send#2", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "\u001b[200~/tmp/a.png\u001b[201~" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + } + } + }, + "recording": { + "scenario": "native-chat-image-paste-two-images", + "checkpoints": [ + { + "id": "pasted-both", + "observation": { + "sender": ["52ae659a3d36", "ff84951eb090", "2787a9ee5adc"], + "payloads": ["242d9ae1137d", "ee5ea32bdaf0", "15497aafcc27"], + "settlements": { + "two": "84e5ca07cb7a" + }, + "state": "47a22f9d0047", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/native-chat-image-upload-cancelled.json b/mobile/rpc-foundation/goldens/native-chat-image-upload-cancelled.json new file mode 100644 index 00000000000..89bdc32b170 --- /dev/null +++ b/mobile/rpc-foundation/goldens/native-chat-image-upload-cancelled.json @@ -0,0 +1,46 @@ +{ + "operation": "nativeChat.image-upload", + "family": "nativeChat.image-upload", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "16779b663f4faec8cbccdb42efd7b568a2912845b161f8a4827754687eb4235c", + "scenarioSha256": "1f513883eb62cdd1673eb58809817e2b2f5fd64b74f80ed6e3b9d8c2ef2d33e9", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "25716369cd8f": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": [] + }, + "4ea1010bf65b": { + "failure": { + "$rpc": "null" + }, + "uploaded": [] + } + }, + "recording": { + "scenario": "native-chat-image-upload-cancelled", + "checkpoints": [ + { + "id": "no-wire", + "observation": { + "sender": [], + "payloads": [], + "settlements": { + "cancelled": "25716369cd8f" + }, + "state": "4ea1010bf65b", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/native-chat-image-upload-second-fails.json b/mobile/rpc-foundation/goldens/native-chat-image-upload-second-fails.json new file mode 100644 index 00000000000..87b1a7e9bfd --- /dev/null +++ b/mobile/rpc-foundation/goldens/native-chat-image-upload-second-fails.json @@ -0,0 +1,213 @@ +{ + "operation": "nativeChat.image-upload", + "family": "nativeChat.image-upload", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "16779b663f4faec8cbccdb42efd7b568a2912845b161f8a4827754687eb4235c", + "scenarioSha256": "181b02243b1ecf98364473ee0b3f4c82a6037b5f5bae33703ab4f611cc050db4", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "520b3fe0fb07": { + "name": "clipboard.startImageUpload#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.startImageUpload\",\"params\":{\"expectedBase64Length\":32,\"connectionId\":\"connection-1\"}}" + }, + "5a2c5dc0b29f": { + "name": "clipboard.commitImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.commitImageUpload" + }, + { + "name": "params", + "value": { + "uploadId": "upload-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": "/tmp/img-1.png" + } + } + }, + "5f71b4d3d25c": { + "name": "upload-start", + "value": {}, + "sent": 0 + }, + "765ab192e1a5": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Image is too large", + "isRpcDeliveryUnknown": false + } + }, + "7e48c58139e5": { + "name": "clipboard.startImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "uploadId": "upload-1" + } + } + } + }, + "972fbf8b960e": { + "name": "clipboard.commitImageUpload#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.commitImageUpload\",\"params\":{\"uploadId\":\"upload-1\"}}" + }, + "b2b1a4389f58": { + "failure": "Image is too large", + "uploaded": "unuploaded" + }, + "b69a955ea891": { + "name": "clipboard.appendImageUploadChunk#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.appendImageUploadChunk\",\"params\":{\"uploadId\":\"upload-1\",\"offset\":0,\"contentBase64\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\"}}" + }, + "b8a4b7e04786": { + "name": "clipboard.startImageUpload#2", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "too_large", + "message": "Image is too large" + }, + "id": "frame-4", + "ok": false + } + } + }, + "f0a3d28c980b": { + "name": "image-uploaded", + "value": { + "contentFingerprint": "f75f583c67e2aaf12284c94d09b56e3caa9d7b93b71565d2fd3e09ef635cef8d", + "path": "/tmp/img-1.png", + "previewUri": "data:image/png;base64,AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "sent": 3 + }, + "f1a3d38271bc": { + "name": "clipboard.appendImageUploadChunk#1", + "args": [ + { + "name": "method", + "value": "clipboard.appendImageUploadChunk" + }, + { + "name": "params", + "value": { + "contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "offset": 0, + "uploadId": "upload-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "received": 32 + } + } + } + }, + "f7c8687f65d7": { + "name": "clipboard.startImageUpload#2", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.startImageUpload\",\"params\":{\"expectedBase64Length\":32,\"connectionId\":\"connection-1\"}}" + } + }, + "recording": { + "scenario": "native-chat-image-upload-second-fails", + "checkpoints": [ + { + "id": "partial", + "observation": { + "sender": ["7e48c58139e5", "f1a3d38271bc", "5a2c5dc0b29f", "b8a4b7e04786"], + "payloads": ["520b3fe0fb07", "b69a955ea891", "972fbf8b960e", "f7c8687f65d7"], + "settlements": { + "two": "765ab192e1a5" + }, + "state": "b2b1a4389f58", + "effects": ["5f71b4d3d25c", "f0a3d28c980b"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/native-chat-image-upload-single.json b/mobile/rpc-foundation/goldens/native-chat-image-upload-single.json new file mode 100644 index 00000000000..53018828988 --- /dev/null +++ b/mobile/rpc-foundation/goldens/native-chat-image-upload-single.json @@ -0,0 +1,184 @@ +{ + "operation": "nativeChat.image-upload", + "family": "nativeChat.image-upload", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "16779b663f4faec8cbccdb42efd7b568a2912845b161f8a4827754687eb4235c", + "scenarioSha256": "d7dca3742c4086f9ced0ba4b2f6c32ee9fa9272a5a955e8623fdc9cdb4c71528", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "2b1dce5b8532": { + "name": "image-uploaded", + "value": { + "contentFingerprint": "f75f583c67e2aaf12284c94d09b56e3caa9d7b93b71565d2fd3e09ef635cef8d", + "path": "/tmp/img-1.png", + "previewUri": "file:///a.png" + }, + "sent": 3 + }, + "520b3fe0fb07": { + "name": "clipboard.startImageUpload#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.startImageUpload\",\"params\":{\"expectedBase64Length\":32,\"connectionId\":\"connection-1\"}}" + }, + "5a2c5dc0b29f": { + "name": "clipboard.commitImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.commitImageUpload" + }, + { + "name": "params", + "value": { + "uploadId": "upload-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": "/tmp/img-1.png" + } + } + }, + "5c7ed03288e6": { + "failure": { + "$rpc": "null" + }, + "uploaded": [ + { + "contentFingerprint": "f75f583c67e2aaf12284c94d09b56e3caa9d7b93b71565d2fd3e09ef635cef8d", + "path": "/tmp/img-1.png", + "previewUri": "file:///a.png" + } + ] + }, + "5f71b4d3d25c": { + "name": "upload-start", + "value": {}, + "sent": 0 + }, + "7e48c58139e5": { + "name": "clipboard.startImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "uploadId": "upload-1" + } + } + } + }, + "972fbf8b960e": { + "name": "clipboard.commitImageUpload#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.commitImageUpload\",\"params\":{\"uploadId\":\"upload-1\"}}" + }, + "9a61808dee44": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": [ + { + "contentFingerprint": "f75f583c67e2aaf12284c94d09b56e3caa9d7b93b71565d2fd3e09ef635cef8d", + "path": "/tmp/img-1.png", + "previewUri": "file:///a.png" + } + ] + }, + "b69a955ea891": { + "name": "clipboard.appendImageUploadChunk#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.appendImageUploadChunk\",\"params\":{\"uploadId\":\"upload-1\",\"offset\":0,\"contentBase64\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\"}}" + }, + "f1a3d38271bc": { + "name": "clipboard.appendImageUploadChunk#1", + "args": [ + { + "name": "method", + "value": "clipboard.appendImageUploadChunk" + }, + { + "name": "params", + "value": { + "contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "offset": 0, + "uploadId": "upload-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "received": 32 + } + } + } + } + }, + "recording": { + "scenario": "native-chat-image-upload-single", + "checkpoints": [ + { + "id": "uploaded", + "observation": { + "sender": ["7e48c58139e5", "f1a3d38271bc", "5a2c5dc0b29f"], + "payloads": ["520b3fe0fb07", "b69a955ea891", "972fbf8b960e"], + "settlements": { + "normal": "9a61808dee44" + }, + "state": "5c7ed03288e6", + "effects": ["5f71b4d3d25c", "2b1dce5b8532"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/native-chat-image-upload-start-refused.json b/mobile/rpc-foundation/goldens/native-chat-image-upload-start-refused.json new file mode 100644 index 00000000000..06793d22952 --- /dev/null +++ b/mobile/rpc-foundation/goldens/native-chat-image-upload-start-refused.json @@ -0,0 +1,92 @@ +{ + "operation": "nativeChat.image-upload", + "family": "nativeChat.image-upload", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "16779b663f4faec8cbccdb42efd7b568a2912845b161f8a4827754687eb4235c", + "scenarioSha256": "09fd9bf97a4da7313e24f8c333b66c7c1af927bbea0a6d9fef9803856a608c78", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "520b3fe0fb07": { + "name": "clipboard.startImageUpload#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.startImageUpload\",\"params\":{\"expectedBase64Length\":32,\"connectionId\":\"connection-1\"}}" + }, + "5f71b4d3d25c": { + "name": "upload-start", + "value": {}, + "sent": 0 + }, + "765ab192e1a5": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Image is too large", + "isRpcDeliveryUnknown": false + } + }, + "b2b1a4389f58": { + "failure": "Image is too large", + "uploaded": "unuploaded" + }, + "ec6fd7f06461": { + "name": "clipboard.startImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "too_large", + "message": "Image is too large" + }, + "id": "frame-1", + "ok": false + } + } + } + }, + "recording": { + "scenario": "native-chat-image-upload-start-refused", + "checkpoints": [ + { + "id": "refused", + "observation": { + "sender": ["ec6fd7f06461"], + "payloads": ["520b3fe0fb07"], + "settlements": { + "normal": "765ab192e1a5" + }, + "state": "b2b1a4389f58", + "effects": ["5f71b4d3d25c"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/native-chat-image-upload-two.json b/mobile/rpc-foundation/goldens/native-chat-image-upload-two.json new file mode 100644 index 00000000000..0058c4f6d7f --- /dev/null +++ b/mobile/rpc-foundation/goldens/native-chat-image-upload-two.json @@ -0,0 +1,329 @@ +{ + "operation": "nativeChat.image-upload", + "family": "nativeChat.image-upload", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "16779b663f4faec8cbccdb42efd7b568a2912845b161f8a4827754687eb4235c", + "scenarioSha256": "db0397f8f6ae28de0cc7afd91552ee9416d7f7054a76a42aac02f480c6f363d5", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "10af51833249": { + "name": "clipboard.startImageUpload#2", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "uploadId": "upload-2" + } + } + } + }, + "2c9004a8efb6": { + "name": "clipboard.commitImageUpload#2", + "args": [ + { + "name": "method", + "value": "clipboard.commitImageUpload" + }, + { + "name": "params", + "value": { + "uploadId": "upload-2" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-6", + "ok": true, + "result": "/tmp/img-2.png" + } + } + }, + "4a3413975ca6": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": [ + { + "contentFingerprint": "f75f583c67e2aaf12284c94d09b56e3caa9d7b93b71565d2fd3e09ef635cef8d", + "path": "/tmp/img-1.png", + "previewUri": "data:image/png;base64,AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "contentFingerprint": "f75f583c67e2aaf12284c94d09b56e3caa9d7b93b71565d2fd3e09ef635cef8d", + "path": "/tmp/img-2.png", + "previewUri": "file:///b.png" + } + ] + }, + "520b3fe0fb07": { + "name": "clipboard.startImageUpload#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.startImageUpload\",\"params\":{\"expectedBase64Length\":32,\"connectionId\":\"connection-1\"}}" + }, + "5a2c5dc0b29f": { + "name": "clipboard.commitImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.commitImageUpload" + }, + { + "name": "params", + "value": { + "uploadId": "upload-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": "/tmp/img-1.png" + } + } + }, + "5f71b4d3d25c": { + "name": "upload-start", + "value": {}, + "sent": 0 + }, + "7e266c7cadbb": { + "name": "clipboard.commitImageUpload#2", + "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.commitImageUpload\",\"params\":{\"uploadId\":\"upload-2\"}}" + }, + "7e48c58139e5": { + "name": "clipboard.startImageUpload#1", + "args": [ + { + "name": "method", + "value": "clipboard.startImageUpload" + }, + { + "name": "params", + "value": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "uploadId": "upload-1" + } + } + } + }, + "8990f369e5a4": { + "name": "clipboard.appendImageUploadChunk#2", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.appendImageUploadChunk\",\"params\":{\"uploadId\":\"upload-2\",\"offset\":0,\"contentBase64\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\"}}" + }, + "8d51e9899739": { + "failure": { + "$rpc": "null" + }, + "uploaded": [ + { + "contentFingerprint": "f75f583c67e2aaf12284c94d09b56e3caa9d7b93b71565d2fd3e09ef635cef8d", + "path": "/tmp/img-1.png", + "previewUri": "data:image/png;base64,AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "contentFingerprint": "f75f583c67e2aaf12284c94d09b56e3caa9d7b93b71565d2fd3e09ef635cef8d", + "path": "/tmp/img-2.png", + "previewUri": "file:///b.png" + } + ] + }, + "8ea238c571c4": { + "name": "clipboard.appendImageUploadChunk#2", + "args": [ + { + "name": "method", + "value": "clipboard.appendImageUploadChunk" + }, + { + "name": "params", + "value": { + "contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "offset": 0, + "uploadId": "upload-2" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "received": 32 + } + } + } + }, + "972fbf8b960e": { + "name": "clipboard.commitImageUpload#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.commitImageUpload\",\"params\":{\"uploadId\":\"upload-1\"}}" + }, + "a9cb5eed1060": { + "name": "image-uploaded", + "value": { + "contentFingerprint": "f75f583c67e2aaf12284c94d09b56e3caa9d7b93b71565d2fd3e09ef635cef8d", + "path": "/tmp/img-2.png", + "previewUri": "file:///b.png" + }, + "sent": 6 + }, + "b69a955ea891": { + "name": "clipboard.appendImageUploadChunk#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.appendImageUploadChunk\",\"params\":{\"uploadId\":\"upload-1\",\"offset\":0,\"contentBase64\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\"}}" + }, + "f0a3d28c980b": { + "name": "image-uploaded", + "value": { + "contentFingerprint": "f75f583c67e2aaf12284c94d09b56e3caa9d7b93b71565d2fd3e09ef635cef8d", + "path": "/tmp/img-1.png", + "previewUri": "data:image/png;base64,AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "sent": 3 + }, + "f1a3d38271bc": { + "name": "clipboard.appendImageUploadChunk#1", + "args": [ + { + "name": "method", + "value": "clipboard.appendImageUploadChunk" + }, + { + "name": "params", + "value": { + "contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "offset": 0, + "uploadId": "upload-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "received": 32 + } + } + } + }, + "f7c8687f65d7": { + "name": "clipboard.startImageUpload#2", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.startImageUpload\",\"params\":{\"expectedBase64Length\":32,\"connectionId\":\"connection-1\"}}" + } + }, + "recording": { + "scenario": "native-chat-image-upload-two", + "checkpoints": [ + { + "id": "uploaded-both", + "observation": { + "sender": [ + "7e48c58139e5", + "f1a3d38271bc", + "5a2c5dc0b29f", + "10af51833249", + "8ea238c571c4", + "2c9004a8efb6" + ], + "payloads": [ + "520b3fe0fb07", + "b69a955ea891", + "972fbf8b960e", + "f7c8687f65d7", + "8990f369e5a4", + "7e266c7cadbb" + ], + "settlements": { + "two": "4a3413975ca6" + }, + "state": "8d51e9899739", + "effects": ["5f71b4d3d25c", "f0a3d28c980b", "a9cb5eed1060"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/native-chat-readability-local-repo.json b/mobile/rpc-foundation/goldens/native-chat-readability-local-repo.json new file mode 100644 index 00000000000..7f326b91250 --- /dev/null +++ b/mobile/rpc-foundation/goldens/native-chat-readability-local-repo.json @@ -0,0 +1,90 @@ +{ + "operation": "session.native-chat-readability", + "family": "session.native-chat-readability", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "a3daf9a05d05424959baf77feb45cb0c076d77d8c49e877941ed612cc1e5ce95", + "scenarioSha256": "46d80cfd496b06ce42ff1ed985e513bbf49b5188bc1128c6d01a74675741935a", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0f1ed2b7a695": { + "name": "repo.list#1", + "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-1", + "ok": true, + "result": { + "repos": [ + { + "connectionId": { + "$rpc": "null" + }, + "id": "repo-1" + } + ] + } + } + } + }, + "6bdbf70bafa2": { + "name": "repo.list#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" + }, + "dcf89ce6b4ca": { + "readable": true, + "worktreeId": "repo-1::/w" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "native-chat-readability-local-repo", + "checkpoints": [ + { + "id": "readable", + "observation": { + "sender": ["0f1ed2b7a695"], + "payloads": ["6bdbf70bafa2"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "dcf89ce6b4ca", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/native-chat-readability-refused.json b/mobile/rpc-foundation/goldens/native-chat-readability-refused.json new file mode 100644 index 00000000000..a2ef47d4af5 --- /dev/null +++ b/mobile/rpc-foundation/goldens/native-chat-readability-refused.json @@ -0,0 +1,84 @@ +{ + "operation": "session.native-chat-readability", + "family": "session.native-chat-readability", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "a3daf9a05d05424959baf77feb45cb0c076d77d8c49e877941ed612cc1e5ce95", + "scenarioSha256": "08a9ab4f180f2d6bb44d2a23f87be0443e8dfdde15f966458270a1bb6f131e0b", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0b8777edb86c": { + "readable": false, + "worktreeId": "repo-1::/w" + }, + "67f6f11ff64a": { + "name": "repo.list#1", + "args": [ + { + "name": "method", + "value": "repo.list" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "internal", + "message": "Scan failed" + }, + "id": "frame-1", + "ok": false + } + } + }, + "6bdbf70bafa2": { + "name": "repo.list#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "native-chat-readability-refused", + "checkpoints": [ + { + "id": "unreadable", + "observation": { + "sender": ["67f6f11ff64a"], + "payloads": ["6bdbf70bafa2"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "0b8777edb86c", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/native-chat-readability-remote-repo.json b/mobile/rpc-foundation/goldens/native-chat-readability-remote-repo.json new file mode 100644 index 00000000000..1a0f442d965 --- /dev/null +++ b/mobile/rpc-foundation/goldens/native-chat-readability-remote-repo.json @@ -0,0 +1,88 @@ +{ + "operation": "session.native-chat-readability", + "family": "session.native-chat-readability", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "a3daf9a05d05424959baf77feb45cb0c076d77d8c49e877941ed612cc1e5ce95", + "scenarioSha256": "0c6afb12dce2c402dfd7ac24eb4a306e09fcacc78415ecb47b5320b2fe8102b5", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0b8777edb86c": { + "readable": false, + "worktreeId": "repo-1::/w" + }, + "6bdbf70bafa2": { + "name": "repo.list#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" + }, + "bae1ab4f96f9": { + "name": "repo.list#1", + "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-1", + "ok": true, + "result": { + "repos": [ + { + "connectionId": "ssh-1", + "id": "repo-1" + } + ] + } + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "native-chat-readability-remote-repo", + "checkpoints": [ + { + "id": "unreadable", + "observation": { + "sender": ["bae1ab4f96f9"], + "payloads": ["6bdbf70bafa2"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "0b8777edb86c", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/native-chat-session-option-pick-empty.json b/mobile/rpc-foundation/goldens/native-chat-session-option-pick-empty.json new file mode 100644 index 00000000000..6cb77130490 --- /dev/null +++ b/mobile/rpc-foundation/goldens/native-chat-session-option-pick-empty.json @@ -0,0 +1,45 @@ +{ + "operation": "nativeChat.session-option-pick", + "family": "nativeChat.session-option-pick", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "b98a3ca3818678b88cf629bc4635300a103637126a136f025a1600dc16f08008", + "scenarioSha256": "55f675f7d3f380db10dd966ae6d011927dbc7eb8f3abd36e09edf5043ad1131c", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0aa1124bf746": { + "settled": "settled" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "native-chat-session-option-pick-empty", + "checkpoints": [ + { + "id": "no-wire", + "observation": { + "sender": [], + "payloads": [], + "settlements": { + "empty": "eb79a9b3682a" + }, + "state": "0aa1124bf746", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/native-chat-session-option-pick-refused.json b/mobile/rpc-foundation/goldens/native-chat-session-option-pick-refused.json new file mode 100644 index 00000000000..fb356b5db39 --- /dev/null +++ b/mobile/rpc-foundation/goldens/native-chat-session-option-pick-refused.json @@ -0,0 +1,91 @@ +{ + "operation": "nativeChat.session-option-pick", + "family": "nativeChat.session-option-pick", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "b98a3ca3818678b88cf629bc4635300a103637126a136f025a1600dc16f08008", + "scenarioSha256": "57b60064eca4526e5d533de5862e7e86ba69b6722cd04692228bdc768486cd76", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "087f0393107f": { + "name": "settings.mutateNativeChatSessionOptions#1", + "args": [ + { + "name": "method", + "value": "settings.mutateNativeChatSessionOptions" + }, + { + "name": "params", + "value": { + "agent": "claude", + "picks": [ + { + "modelId": "opus", + "optionId": "model", + "value": "opus" + } + ], + "type": "apply-picks" + } + }, + { + "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 + } + } + }, + "0aa1124bf746": { + "settled": "settled" + }, + "9c0980cfe789": { + "name": "settings.mutateNativeChatSessionOptions#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"settings.mutateNativeChatSessionOptions\",\"params\":{\"type\":\"apply-picks\",\"agent\":\"claude\",\"picks\":[{\"modelId\":\"opus\",\"optionId\":\"model\",\"value\":\"opus\"}]}}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "native-chat-session-option-pick-refused", + "checkpoints": [ + { + "id": "refusal-swallowed", + "observation": { + "sender": ["087f0393107f"], + "payloads": ["9c0980cfe789"], + "settlements": { + "pick": "eb79a9b3682a" + }, + "state": "0aa1124bf746", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/native-chat-session-option-pick-written.json b/mobile/rpc-foundation/goldens/native-chat-session-option-pick-written.json new file mode 100644 index 00000000000..c3a8cfe1a9b --- /dev/null +++ b/mobile/rpc-foundation/goldens/native-chat-session-option-pick-written.json @@ -0,0 +1,90 @@ +{ + "operation": "nativeChat.session-option-pick", + "family": "nativeChat.session-option-pick", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "b98a3ca3818678b88cf629bc4635300a103637126a136f025a1600dc16f08008", + "scenarioSha256": "a180b7ae1f84bc69d7819c7c17b1e2915cb380e8ea8543d68fe6777feb90d0bd", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0aa1124bf746": { + "settled": "settled" + }, + "738c95d85c66": { + "name": "settings.mutateNativeChatSessionOptions#1", + "args": [ + { + "name": "method", + "value": "settings.mutateNativeChatSessionOptions" + }, + { + "name": "params", + "value": { + "agent": "claude", + "picks": [ + { + "modelId": "opus", + "optionId": "model", + "value": "opus" + } + ], + "type": "apply-picks" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "applied": true + } + } + } + }, + "9c0980cfe789": { + "name": "settings.mutateNativeChatSessionOptions#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"settings.mutateNativeChatSessionOptions\",\"params\":{\"type\":\"apply-picks\",\"agent\":\"claude\",\"picks\":[{\"modelId\":\"opus\",\"optionId\":\"model\",\"value\":\"opus\"}]}}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "native-chat-session-option-pick-written", + "checkpoints": [ + { + "id": "written", + "observation": { + "sender": ["738c95d85c66"], + "payloads": ["9c0980cfe789"], + "settlements": { + "pick": "eb79a9b3682a" + }, + "state": "0aa1124bf746", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/native-chat-stop-accepted.json b/mobile/rpc-foundation/goldens/native-chat-stop-accepted.json new file mode 100644 index 00000000000..5cc91781681 --- /dev/null +++ b/mobile/rpc-foundation/goldens/native-chat-stop-accepted.json @@ -0,0 +1,191 @@ +{ + "operation": "session.native-chat-stop", + "family": "session.native-chat-stop", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "a3daf9a05d05424959baf77feb45cb0c076d77d8c49e877941ed612cc1e5ce95", + "scenarioSha256": "a72f08c12c244912912be34deb3ec12bada6b74f1bc29c0034b347dcba9ddb10", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "191580ba859d": { + "name": "orchestration.workerTerminalUserInput#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"orchestration.workerTerminalUserInput\",\"params\":{\"terminal\":\"terminal-1\"}}" + }, + "1a91fe5e4856": { + "name": "terminal.send#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u001b\",\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" + }, + "1d3e6369460d": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "text": "\u001b" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + } + }, + "538133eba781": { + "name": "terminal.send#2", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u001b\",\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" + }, + "60fbbfd9bd11": { + "name": "cancel-pending", + "value": {}, + "sent": 0 + }, + "86ab67d60a77": { + "name": "terminal.send#2", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "text": "\u001b" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 14920 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 80, + "settledAt": 120, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + } + }, + "960f67ee14e2": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "reported": true + } + } + } + }, + "debf84af8d66": { + "errors": [] + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "native-chat-stop-accepted", + "checkpoints": [ + { + "id": "first-accepted", + "observation": { + "sender": ["1d3e6369460d", "960f67ee14e2"], + "payloads": ["1a91fe5e4856", "191580ba859d"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + }, + { + "id": "settled", + "observation": { + "sender": ["1d3e6369460d", "960f67ee14e2", "86ab67d60a77"], + "payloads": ["1a91fe5e4856", "191580ba859d", "538133eba781"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "debf84af8d66", + "effects": ["60fbbfd9bd11"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/native-chat-stop-both-rejected.json b/mobile/rpc-foundation/goldens/native-chat-stop-both-rejected.json new file mode 100644 index 00000000000..544677d255c --- /dev/null +++ b/mobile/rpc-foundation/goldens/native-chat-stop-both-rejected.json @@ -0,0 +1,140 @@ +{ + "operation": "session.native-chat-stop", + "family": "session.native-chat-stop", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "a3daf9a05d05424959baf77feb45cb0c076d77d8c49e877941ed612cc1e5ce95", + "scenarioSha256": "a7419d4b3e00d49ebdac7db4fa97ad9d3af9516201f9102beed0376b181e74a5", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "161bbe9b0076": { + "name": "terminal.send#2", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u001b\",\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" + }, + "1a91fe5e4856": { + "name": "terminal.send#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u001b\",\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" + }, + "492369cdce20": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "text": "\u001b" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "send": { + "accepted": false + } + } + } + } + }, + "60fbbfd9bd11": { + "name": "cancel-pending", + "value": {}, + "sent": 0 + }, + "63cd34a91124": { + "name": "terminal.send#2", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "text": "\u001b" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 14920 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 80, + "settledAt": 120, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "send": { + "accepted": false + } + } + } + } + }, + "e6e087b39540": { + "errors": ["Stop not sent"] + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "native-chat-stop-both-rejected", + "checkpoints": [ + { + "id": "reported", + "observation": { + "sender": ["492369cdce20", "63cd34a91124"], + "payloads": ["1a91fe5e4856", "161bbe9b0076"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "e6e087b39540", + "effects": ["60fbbfd9bd11"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/native-chat-stop-delivery-unknown.json b/mobile/rpc-foundation/goldens/native-chat-stop-delivery-unknown.json new file mode 100644 index 00000000000..d1ccf8bffb7 --- /dev/null +++ b/mobile/rpc-foundation/goldens/native-chat-stop-delivery-unknown.json @@ -0,0 +1,132 @@ +{ + "operation": "session.native-chat-stop", + "family": "session.native-chat-stop", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "a3daf9a05d05424959baf77feb45cb0c076d77d8c49e877941ed612cc1e5ce95", + "scenarioSha256": "977ee5602e3a612d537686d17d15312f8b0e775df8800b27bb0d42b8642b4675", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "161bbe9b0076": { + "name": "terminal.send#2", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u001b\",\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" + }, + "1a91fe5e4856": { + "name": "terminal.send#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u001b\",\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" + }, + "60fbbfd9bd11": { + "name": "cancel-pending", + "value": {}, + "sent": 0 + }, + "9fe5713ca2d1": { + "errors": ["Stop unconfirmed — check chat before retrying"] + }, + "a60dea16497c": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "text": "\u001b" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Connection lost", + "isRpcDeliveryUnknown": true + } + } + }, + "c7ad8e4bd48f": { + "name": "terminal.send#2", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "text": "\u001b" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 14920 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 80, + "settledAt": 120, + "error": { + "category": "Error", + "message": "Connection lost", + "isRpcDeliveryUnknown": true + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "native-chat-stop-delivery-unknown", + "checkpoints": [ + { + "id": "unconfirmed", + "observation": { + "sender": ["a60dea16497c", "c7ad8e4bd48f"], + "payloads": ["1a91fe5e4856", "161bbe9b0076"], + "settlements": { + "stop": "eb79a9b3682a" + }, + "state": "9fe5713ca2d1", + "effects": ["60fbbfd9bd11"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/native-chat-write-accepted.json b/mobile/rpc-foundation/goldens/native-chat-write-accepted.json new file mode 100644 index 00000000000..dc4bffa108d --- /dev/null +++ b/mobile/rpc-foundation/goldens/native-chat-write-accepted.json @@ -0,0 +1,128 @@ +{ + "operation": "nativeChat.terminal-write", + "family": "nativeChat.terminal-write", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "b98a3ca3818678b88cf629bc4635300a103637126a136f025a1600dc16f08008", + "scenarioSha256": "3e8804f21d32370bb0bc48c4ea3d182748d48dc19d73de1b50005f18368566ba", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "191580ba859d": { + "name": "orchestration.workerTerminalUserInput#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"orchestration.workerTerminalUserInput\",\"params\":{\"terminal\":\"terminal-1\"}}" + }, + "46771288e046": { + "body": "accepted" + }, + "6bb5bb25e4d4": { + "name": "terminal.send#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"hello\",\"enter\":true,\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" + }, + "7291a73df186": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": "accepted" + }, + "960f67ee14e2": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "reported": true + } + } + } + }, + "c7c300e28254": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": true, + "terminal": "terminal-1", + "text": "hello" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + } + } + }, + "recording": { + "scenario": "native-chat-write-accepted", + "checkpoints": [ + { + "id": "accepted", + "observation": { + "sender": ["c7c300e28254", "960f67ee14e2"], + "payloads": ["6bb5bb25e4d4", "191580ba859d"], + "settlements": { + "body": "7291a73df186" + }, + "state": "46771288e046", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/native-chat-write-clear-line.json b/mobile/rpc-foundation/goldens/native-chat-write-clear-line.json new file mode 100644 index 00000000000..48a534f7025 --- /dev/null +++ b/mobile/rpc-foundation/goldens/native-chat-write-clear-line.json @@ -0,0 +1,89 @@ +{ + "operation": "nativeChat.terminal-write", + "family": "nativeChat.terminal-write", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "b98a3ca3818678b88cf629bc4635300a103637126a136f025a1600dc16f08008", + "scenarioSha256": "b8265928eefc167de59c64dc62ebe40635007a5f73c87ec8b6eb5e0f6dc0ce00", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "242d9ae1137d": { + "name": "terminal.send#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u0015\",\"enter\":false,\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" + }, + "52ae659a3d36": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "\u0015" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + } + }, + "84e5ca07cb7a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": true + }, + "e8cd309e2293": { + "clear": true + } + }, + "recording": { + "scenario": "native-chat-write-clear-line", + "checkpoints": [ + { + "id": "cleared", + "observation": { + "sender": ["52ae659a3d36"], + "payloads": ["242d9ae1137d"], + "settlements": { + "clear": "84e5ca07cb7a" + }, + "state": "e8cd309e2293", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/native-chat-write-delivery-unknown.json b/mobile/rpc-foundation/goldens/native-chat-write-delivery-unknown.json new file mode 100644 index 00000000000..ab06f7620b5 --- /dev/null +++ b/mobile/rpc-foundation/goldens/native-chat-write-delivery-unknown.json @@ -0,0 +1,85 @@ +{ + "operation": "nativeChat.terminal-write", + "family": "nativeChat.terminal-write", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "b98a3ca3818678b88cf629bc4635300a103637126a136f025a1600dc16f08008", + "scenarioSha256": "22f7711ed82a4d56f1886a746838e3eb85c555c9069694ba3aa958e121cc1ee9", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "44d966fae591": { + "body": "unknown" + }, + "6bb5bb25e4d4": { + "name": "terminal.send#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"hello\",\"enter\":true,\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" + }, + "ed1d171deda5": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": "unknown" + }, + "f1e77c2f84bd": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": true, + "terminal": "terminal-1", + "text": "hello" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Connection lost", + "isRpcDeliveryUnknown": true + } + } + } + }, + "recording": { + "scenario": "native-chat-write-delivery-unknown", + "checkpoints": [ + { + "id": "unknown", + "observation": { + "sender": ["f1e77c2f84bd"], + "payloads": ["6bb5bb25e4d4"], + "settlements": { + "body": "ed1d171deda5" + }, + "state": "44d966fae591", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/native-chat-write-rejected.json b/mobile/rpc-foundation/goldens/native-chat-write-rejected.json new file mode 100644 index 00000000000..91f97dabb41 --- /dev/null +++ b/mobile/rpc-foundation/goldens/native-chat-write-rejected.json @@ -0,0 +1,89 @@ +{ + "operation": "nativeChat.terminal-write", + "family": "nativeChat.terminal-write", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "b98a3ca3818678b88cf629bc4635300a103637126a136f025a1600dc16f08008", + "scenarioSha256": "7e05773966a18123aaae297aed9ac44bd841713de88c8a1fa30c31b324118f6f", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "19f53fb21e4e": { + "body": "rejected" + }, + "6bb5bb25e4d4": { + "name": "terminal.send#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"hello\",\"enter\":true,\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" + }, + "8b7ac879220d": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": true, + "terminal": "terminal-1", + "text": "hello" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "send": { + "accepted": false + } + } + } + } + }, + "9bd3ea1ff2bb": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": "rejected" + } + }, + "recording": { + "scenario": "native-chat-write-rejected", + "checkpoints": [ + { + "id": "rejected", + "observation": { + "sender": ["8b7ac879220d"], + "payloads": ["6bb5bb25e4d4"], + "settlements": { + "body": "9bd3ea1ff2bb" + }, + "state": "19f53fb21e4e", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/native-chat-write-typed-command.json b/mobile/rpc-foundation/goldens/native-chat-write-typed-command.json new file mode 100644 index 00000000000..f9bcb198514 --- /dev/null +++ b/mobile/rpc-foundation/goldens/native-chat-write-typed-command.json @@ -0,0 +1,278 @@ +{ + "operation": "nativeChat.terminal-write", + "family": "nativeChat.terminal-write", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "b98a3ca3818678b88cf629bc4635300a103637126a136f025a1600dc16f08008", + "scenarioSha256": "a89ff803859c60e5645126de8b0f423807c435dcd856fe8825721f71f3b5bec5", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "191580ba859d": { + "name": "orchestration.workerTerminalUserInput#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"orchestration.workerTerminalUserInput\",\"params\":{\"terminal\":\"terminal-1\"}}" + }, + "1c80024cfa2c": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 48, + "value": "accepted" + }, + "242d9ae1137d": { + "name": "terminal.send#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u0015\",\"enter\":false,\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" + }, + "3a5d777418c3": { + "name": "terminal.send#4", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\r\",\"enter\":false,\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" + }, + "3d0cd6be0408": { + "name": "terminal.send#2", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"o\",\"enter\":false,\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" + }, + "52ae659a3d36": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "\u0015" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + } + }, + "6cdf69ee833e": { + "name": "terminal.send#3", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "k" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 32, + "settledAt": 32, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + } + }, + "960f67ee14e2": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "reported": true + } + } + } + }, + "b105f94ddf4f": { + "name": "terminal.send#2", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "o" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 16, + "settledAt": 16, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + } + }, + "bf797abab699": { + "command": "accepted" + }, + "ce10d21caab1": { + "name": "terminal.send#3", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"k\",\"enter\":false,\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" + }, + "cffc885c4847": { + "name": "terminal.send#4", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "\r" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 48, + "settledAt": 48, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + } + } + }, + "recording": { + "scenario": "native-chat-write-typed-command", + "checkpoints": [ + { + "id": "typed", + "observation": { + "sender": [ + "52ae659a3d36", + "960f67ee14e2", + "b105f94ddf4f", + "6cdf69ee833e", + "cffc885c4847" + ], + "payloads": [ + "242d9ae1137d", + "191580ba859d", + "3d0cd6be0408", + "ce10d21caab1", + "3a5d777418c3" + ], + "settlements": { + "command": "1c80024cfa2c" + }, + "state": "bf797abab699", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/new-workspace-repositories-fulfilled.json b/mobile/rpc-foundation/goldens/new-workspace-repositories-fulfilled.json new file mode 100644 index 00000000000..4b8aac20e5d --- /dev/null +++ b/mobile/rpc-foundation/goldens/new-workspace-repositories-fulfilled.json @@ -0,0 +1,145 @@ +{ + "operation": "workspace.repositories", + "family": "components.new-workspace-repositories", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "64c1772f0f95a3c43fbb14398a8804b2b4784f7f18874e4fd79767ae634c7faa", + "scenarioSha256": "41ac47445191a24de5e48877478bdab6fd9c030f48024ea43e053de7b6b68bb5", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "26accd69bc48": { + "name": "repo.list#1", + "args": [ + { + "name": "method", + "value": "repo.list" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "288dd3529eaf": { + "name": "repo.list#1", + "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-1", + "ok": true, + "result": { + "repos": [ + { + "displayName": "alpha", + "id": "repo-a", + "path": "/tmp/repo-a" + }, + { + "displayName": "beta", + "id": "repo-b", + "path": "/tmp/repo-b" + } + ] + } + } + } + }, + "4e8b4e3e814f": { + "crash": { + "$rpc": "null" + }, + "loading": true, + "repos": [], + "selected": { + "$rpc": "null" + } + }, + "6bdbf70bafa2": { + "name": "repo.list#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" + }, + "eac6e56c2d2c": { + "crash": { + "$rpc": "null" + }, + "loading": false, + "repos": ["repo-a", "repo-b"], + "selected": "repo-b" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "new-workspace-repositories-fulfilled", + "checkpoints": [ + { + "id": "loading", + "observation": { + "sender": ["26accd69bc48"], + "payloads": ["6bdbf70bafa2"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "4e8b4e3e814f", + "effects": [] + } + }, + { + "id": "selected", + "observation": { + "sender": ["288dd3529eaf"], + "payloads": ["6bdbf70bafa2"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "eac6e56c2d2c", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/notifications-push-gateway-rejected.json b/mobile/rpc-foundation/goldens/notifications-push-gateway-rejected.json new file mode 100644 index 00000000000..da7287ac416 --- /dev/null +++ b/mobile/rpc-foundation/goldens/notifications-push-gateway-rejected.json @@ -0,0 +1,87 @@ +{ + "operation": "notifications.push-registration", + "family": "notifications.push-registration", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "2e3d939dc162dbc5a38d8a7207111688204a825fd70348721917b3016e1c9470", + "scenarioSha256": "ac2b214ece34dc25aef2b73d020e04343f81cd48b3d243508be92cfdba01eb45", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "2e71f48d7fa1": { + "register": false + }, + "50a69e8e4ac9": { + "name": "notifications.registerPush#1", + "args": [ + { + "name": "method", + "value": "notifications.registerPush" + }, + { + "name": "params", + "value": { + "filter": { + "onlyWhenDesktopAway": true, + "sound": true + }, + "platform": "ios", + "token": "apns-token-1" + } + }, + { + "name": "options", + "value": { + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "reason": "gateway_rejected", + "registered": false + } + } + } + }, + "7ed3d39f0607": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": false + }, + "95f8386a206f": { + "name": "notifications.registerPush#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"notifications.registerPush\",\"params\":{\"platform\":\"ios\",\"token\":\"apns-token-1\",\"filter\":{\"onlyWhenDesktopAway\":true,\"sound\":true}}}" + } + }, + "recording": { + "scenario": "notifications-push-gateway-rejected", + "checkpoints": [ + { + "id": "not-registered", + "observation": { + "sender": ["50a69e8e4ac9"], + "payloads": ["95f8386a206f"], + "settlements": { + "register": "7ed3d39f0607" + }, + "state": "2e71f48d7fa1", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/notifications-push-registered.json b/mobile/rpc-foundation/goldens/notifications-push-registered.json new file mode 100644 index 00000000000..a676fdcb35f --- /dev/null +++ b/mobile/rpc-foundation/goldens/notifications-push-registered.json @@ -0,0 +1,127 @@ +{ + "operation": "notifications.push-registration", + "family": "notifications.push-registration", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "2e3d939dc162dbc5a38d8a7207111688204a825fd70348721917b3016e1c9470", + "scenarioSha256": "90f49e430518bfc6e662da1d0c55b0084f30ab54dabdd15293b1f8ad9d2fa592", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "84e5ca07cb7a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": true + }, + "95f8386a206f": { + "name": "notifications.registerPush#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"notifications.registerPush\",\"params\":{\"platform\":\"ios\",\"token\":\"apns-token-1\",\"filter\":{\"onlyWhenDesktopAway\":true,\"sound\":true}}}" + }, + "acb7d3830175": { + "name": "notifications.unregisterPush#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"notifications.unregisterPush\",\"params\":null}" + }, + "b39a27f847f4": { + "name": "notifications.unregisterPush#1", + "args": [ + { + "name": "method", + "value": "notifications.unregisterPush" + }, + { + "name": "params", + "value": { + "$rpc": "null" + } + }, + { + "name": "options", + "value": { + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "unregistered": true + } + } + } + }, + "d30fd4b61f0c": { + "name": "notifications.registerPush#1", + "args": [ + { + "name": "method", + "value": "notifications.registerPush" + }, + { + "name": "params", + "value": { + "filter": { + "onlyWhenDesktopAway": true, + "sound": true + }, + "platform": "ios", + "token": "apns-token-1" + } + }, + { + "name": "options", + "value": { + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "registered": true, + "registrationId": "registration-1" + } + } + } + }, + "deec5cecd49f": { + "register": true, + "unregister": true + } + }, + "recording": { + "scenario": "notifications-push-registered", + "checkpoints": [ + { + "id": "settled", + "observation": { + "sender": ["d30fd4b61f0c", "b39a27f847f4"], + "payloads": ["95f8386a206f", "acb7d3830175"], + "settlements": { + "register": "84e5ca07cb7a", + "unregister": "84e5ca07cb7a" + }, + "state": "deec5cecd49f", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/pairing-pre-profile-direct-wins-and-provisions.json b/mobile/rpc-foundation/goldens/pairing-pre-profile-direct-wins-and-provisions.json new file mode 100644 index 00000000000..242b1951a99 --- /dev/null +++ b/mobile/rpc-foundation/goldens/pairing-pre-profile-direct-wins-and-provisions.json @@ -0,0 +1,271 @@ +{ + "operation": "pairing.pre-profile", + "family": "pairing.pre-profile", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "e33d584229530c716ecdc44d198b95fcfb4dfd9468fba7d5222ee3f122950197", + "scenarioSha256": "e4fb7aa3b071c1207f206adcc0f31e92b6bb98a80f86a0772e48b5cebcab24ff", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0b595cd54ac3": { + "name": "journal-saved", + "value": "pair-fixture-1", + "sent": 0 + }, + "12869cc488be": { + "name": "host-saved", + "value": "relay-host-0001x", + "sent": 4 + }, + "1e5b32902af7": { + "name": "status.get#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "1f4d3b93dbcb": { + "name": "pairing.getEndpoints#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.getEndpoints\",\"params\":{\"installReqId\":\"install-l99UBPM71AZiC1ghz2glnA\"}}" + }, + "26f802fad080": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "capabilities": [] + } + } + } + }, + "3c9308d9b7be": { + "name": "pairing.provisionRelay#1", + "args": [ + { + "name": "method", + "value": "pairing.provisionRelay" + }, + { + "name": "params", + "value": { + "newResumeTokenHash": "yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU", + "reqId": "install-l99UBPM71AZiC1ghz2glnA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "authorizationMode": "authenticated-direct", + "currentVersion": 4, + "reqId": "install-l99UBPM71AZiC1ghz2glnA", + "resumeExpiresAt": 1767830400000, + "v": 1 + } + } + } + }, + "477b001b0374": { + "name": "candidate-closed", + "value": "direct", + "sent": 4 + }, + "47dedea61355": { + "name": "journal-cleared", + "value": "pair-fixture-1", + "sent": 4 + }, + "53412dd89894": { + "name": "pairing.provisionRelay#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.provisionRelay\",\"params\":{\"reqId\":\"install-l99UBPM71AZiC1ghz2glnA\",\"newResumeTokenHash\":\"yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU\"}}" + }, + "56266d1e7340": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-l99UBPM71AZiC1ghz2glnA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "installStatus": { + "reqId": "install-l99UBPM71AZiC1ghz2glnA", + "result": { + "authorizationMode": "authenticated-direct", + "currentVersion": 4, + "reqId": "install-l99UBPM71AZiC1ghz2glnA", + "resumeExpiresAt": 1767830400000, + "v": 1 + }, + "state": "committed", + "v": 1 + }, + "relay": { + "assignmentEpoch": 1, + "cellUrl": "https://cell.example", + "directorUrl": "https://director.example", + "e2eeFraming": 2, + "relayHostId": "relay-host-0001x", + "v": 1 + }, + "v": 1 + } + } + } + }, + "6b9f1bf73e55": { + "name": "bundle-written", + "value": { + "version": 4 + }, + "sent": 4 + }, + "6cb74a535419": { + "name": "status.get#2", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "capabilities": [] + } + } + } + }, + "9b50435fa2f8": { + "outcome": "host-1", + "savedHost": "relay-host-0001x", + "timedOut": false + }, + "b96f13a39e18": { + "name": "journal-updated", + "value": "pair-fixture-1", + "sent": 2 + }, + "c0c86e67c300": { + "name": "status.get#2", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "ca7cb1785a59": { + "name": "candidate-closed", + "value": "relay", + "sent": 4 + }, + "d1b2eddf66f4": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "hostId": "host-1" + } + }, + "d433a326314e": { + "name": "candidate-closed", + "value": "relay", + "sent": 2 + } + }, + "recording": { + "scenario": "pairing-pre-profile-direct-wins-and-provisions", + "checkpoints": [ + { + "id": "paired-over-direct", + "observation": { + "sender": ["26f802fad080", "6cb74a535419", "3c9308d9b7be", "56266d1e7340"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "53412dd89894", "1f4d3b93dbcb"], + "settlements": { + "pair": "d1b2eddf66f4" + }, + "state": "9b50435fa2f8", + "effects": [ + "0b595cd54ac3", + "d433a326314e", + "b96f13a39e18", + "6b9f1bf73e55", + "12869cc488be", + "47dedea61355", + "477b001b0374", + "ca7cb1785a59" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/pairing-pre-profile-provision-unsupported-saves-direct-host.json b/mobile/rpc-foundation/goldens/pairing-pre-profile-provision-unsupported-saves-direct-host.json new file mode 100644 index 00000000000..f354afabc4a --- /dev/null +++ b/mobile/rpc-foundation/goldens/pairing-pre-profile-provision-unsupported-saves-direct-host.json @@ -0,0 +1,203 @@ +{ + "operation": "pairing.pre-profile", + "family": "pairing.pre-profile", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "e33d584229530c716ecdc44d198b95fcfb4dfd9468fba7d5222ee3f122950197", + "scenarioSha256": "5696ea2a62bb3f24902305f8bac0c4ae8f1e505f359db76fd69aabe353adae86", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0b595cd54ac3": { + "name": "journal-saved", + "value": "pair-fixture-1", + "sent": 0 + }, + "1e5b32902af7": { + "name": "status.get#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "26f802fad080": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "capabilities": [] + } + } + } + }, + "4663b0f6e580": { + "name": "host-saved", + "value": "direct-only", + "sent": 3 + }, + "4a54bf2090c8": { + "outcome": "host-1", + "savedHost": "direct-only", + "timedOut": false + }, + "4cb6216cee5a": { + "name": "candidate-closed", + "value": "relay", + "sent": 3 + }, + "53412dd89894": { + "name": "pairing.provisionRelay#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.provisionRelay\",\"params\":{\"reqId\":\"install-l99UBPM71AZiC1ghz2glnA\",\"newResumeTokenHash\":\"yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU\"}}" + }, + "6cb74a535419": { + "name": "status.get#2", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "capabilities": [] + } + } + } + }, + "8eb785974a39": { + "name": "candidate-closed", + "value": "direct", + "sent": 3 + }, + "afe249bdfa5f": { + "name": "pairing.provisionRelay#1", + "args": [ + { + "name": "method", + "value": "pairing.provisionRelay" + }, + { + "name": "params", + "value": { + "newResumeTokenHash": "yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU", + "reqId": "install-l99UBPM71AZiC1ghz2glnA" + } + }, + { + "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 + } + } + }, + "b96f13a39e18": { + "name": "journal-updated", + "value": "pair-fixture-1", + "sent": 2 + }, + "c0c86e67c300": { + "name": "status.get#2", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "d1b2eddf66f4": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "hostId": "host-1" + } + }, + "d433a326314e": { + "name": "candidate-closed", + "value": "relay", + "sent": 2 + }, + "f4232b7673ea": { + "name": "journal-cleared", + "value": "pair-fixture-1", + "sent": 3 + } + }, + "recording": { + "scenario": "pairing-pre-profile-provision-unsupported-saves-direct-host", + "checkpoints": [ + { + "id": "direct-host-saved", + "observation": { + "sender": ["26f802fad080", "6cb74a535419", "afe249bdfa5f"], + "payloads": ["1e5b32902af7", "c0c86e67c300", "53412dd89894"], + "settlements": { + "pair": "d1b2eddf66f4" + }, + "state": "4a54bf2090c8", + "effects": [ + "0b595cd54ac3", + "d433a326314e", + "b96f13a39e18", + "4663b0f6e580", + "f4232b7673ea", + "8eb785974a39", + "4cb6216cee5a" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/pairing-pre-profile-times-out.json b/mobile/rpc-foundation/goldens/pairing-pre-profile-times-out.json new file mode 100644 index 00000000000..6a828951985 --- /dev/null +++ b/mobile/rpc-foundation/goldens/pairing-pre-profile-times-out.json @@ -0,0 +1,137 @@ +{ + "operation": "pairing.pre-profile", + "family": "pairing.pre-profile", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "e33d584229530c716ecdc44d198b95fcfb4dfd9468fba7d5222ee3f122950197", + "scenarioSha256": "9ab72231bf97fbe7eed232019c56568a9411433835eae424628af62c7c6a10c1", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0b595cd54ac3": { + "name": "journal-saved", + "value": "pair-fixture-1", + "sent": 0 + }, + "1e5b32902af7": { + "name": "status.get#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "86d361a0bf7c": { + "outcome": "unpaired", + "savedHost": { + "$rpc": "null" + }, + "timedOut": false + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "b2a8517fe750": { + "name": "candidate-closed", + "value": "direct", + "sent": 2 + }, + "ba9fd57319d3": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "c0c86e67c300": { + "name": "status.get#2", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "ccefc12fda27": { + "outcome": "unpaired", + "savedHost": { + "$rpc": "null" + }, + "timedOut": true + }, + "d433a326314e": { + "name": "candidate-closed", + "value": "relay", + "sent": 2 + }, + "f6c99f740e75": { + "name": "status.get#2", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + } + }, + "recording": { + "scenario": "pairing-pre-profile-times-out", + "checkpoints": [ + { + "id": "racing", + "observation": { + "sender": ["ba9fd57319d3", "f6c99f740e75"], + "payloads": ["1e5b32902af7", "c0c86e67c300"], + "settlements": { + "pair": "9270aeb7d9c6" + }, + "state": "86d361a0bf7c", + "effects": ["0b595cd54ac3"] + } + }, + { + "id": "timed-out", + "observation": { + "sender": ["ba9fd57319d3", "f6c99f740e75"], + "payloads": ["1e5b32902af7", "c0c86e67c300"], + "settlements": { + "pair": "9270aeb7d9c6" + }, + "state": "ccefc12fda27", + "effects": ["0b595cd54ac3", "b2a8517fe750", "d433a326314e"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/pr-branch-identity.json b/mobile/rpc-foundation/goldens/pr-branch-identity.json new file mode 100644 index 00000000000..7bff1a54573 --- /dev/null +++ b/mobile/rpc-foundation/goldens/pr-branch-identity.json @@ -0,0 +1,413 @@ +{ + "operation": "session.pr-branch-context", + "family": "session.pr-branch-context", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "f560ff1582487c118756c527faa1fb1f65e37ce22ca9573491fd4b2dbcedf38d", + "scenarioSha256": "d1b208a7bee947a603949fdc1f0d145e8c5576926f89f3e32330585f3a115290", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "2432ad799433": { + "name": "repo.list#1", + "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" + } + ] + } + } + } + }, + "26accd69bc48": { + "name": "repo.list#1", + "args": [ + { + "name": "method", + "value": "repo.list" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "3179b4e89c80": { + "name": "repo.list#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" + }, + "317a243394fa": { + "name": "git.status#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" + }, + "3ec8052ccdb3": { + "name": "worktree.show#1", + "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", + "linkedPR": 12 + } + } + } + } + }, + "3fa5df34c660": { + "name": "worktree.show#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" + }, + "3feccf790548": { + "name": "git.status#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 + } + } + } + } + }, + "64ad9a7ea2cd": { + "name": "git.branchCompare#1", + "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": "base-oid", + "baseRef": "origin/main", + "changedFiles": 1, + "compareRef": "feature", + "headOid": "head-oid", + "mergeBase": "merge-base", + "status": "ready" + } + } + } + } + }, + "6da1f95af186": { + "identity": "unread", + "repoContext": "unread" + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "b8b93d3f8005": { + "name": "git.status#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 + } + }, + "c70359272e10": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:repo-9::/w" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "da6855b5e2bf": { + "name": "git.branchCompare#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"git.branchCompare\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"baseRef\":\"origin/main\"}}" + }, + "f0e28a4b20aa": { + "identity": { + "branch": "feature", + "headSha": "head-sha-1", + "status": { + "branch": "feature", + "conflictOperation": "unknown", + "entries": [ + { + "added": 3, + "area": "unstaged", + "conflictKind": { + "$rpc": "undefined" + }, + "conflictStatus": { + "$rpc": "undefined" + }, + "conflictStatusSource": { + "$rpc": "undefined" + }, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/app.ts", + "removed": 1, + "status": "modified" + } + ], + "head": "head-sha-1", + "upstreamStatus": { + "ahead": 1, + "behind": 0, + "behindCommitsArePatchEquivalent": { + "$rpc": "undefined" + }, + "hasConfiguredPushTarget": { + "$rpc": "undefined" + }, + "hasUpstream": true, + "upstreamName": { + "$rpc": "undefined" + } + } + } + }, + "repoContext": "unread" + }, + "ffc37850babd": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "branch": "feature", + "headSha": "head-sha-1", + "status": { + "branch": "feature", + "conflictOperation": "unknown", + "entries": [ + { + "added": 3, + "area": "unstaged", + "conflictKind": { + "$rpc": "undefined" + }, + "conflictStatus": { + "$rpc": "undefined" + }, + "conflictStatusSource": { + "$rpc": "undefined" + }, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/app.ts", + "removed": 1, + "status": "modified" + } + ], + "head": "head-sha-1", + "upstreamStatus": { + "ahead": 1, + "behind": 0, + "behindCommitsArePatchEquivalent": { + "$rpc": "undefined" + }, + "hasConfiguredPushTarget": { + "$rpc": "undefined" + }, + "hasUpstream": true, + "upstreamName": { + "$rpc": "undefined" + } + } + } + } + } + }, + "recording": { + "scenario": "pr-branch-identity", + "checkpoints": [ + { + "id": "pending", + "observation": { + "sender": ["b8b93d3f8005", "c70359272e10", "26accd69bc48"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80"], + "settlements": { + "identity": "9270aeb7d9c6" + }, + "state": "6da1f95af186", + "effects": [] + } + }, + { + "id": "identity", + "observation": { + "sender": ["3feccf790548", "3ec8052ccdb3", "2432ad799433", "64ad9a7ea2cd"], + "payloads": ["317a243394fa", "3fa5df34c660", "3179b4e89c80", "da6855b5e2bf"], + "settlements": { + "identity": "ffc37850babd" + }, + "state": "f0e28a4b20aa", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/pr-branch-repo-context.json b/mobile/rpc-foundation/goldens/pr-branch-repo-context.json new file mode 100644 index 00000000000..4f17928436c --- /dev/null +++ b/mobile/rpc-foundation/goldens/pr-branch-repo-context.json @@ -0,0 +1,87 @@ +{ + "operation": "session.pr-branch-context", + "family": "session.pr-branch-context", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "f560ff1582487c118756c527faa1fb1f65e37ce22ca9573491fd4b2dbcedf38d", + "scenarioSha256": "bd715681a856254e0c374b504cece07e5df4c9a75fa2b97c35498df12210fbab", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "2638b3063bb1": { + "name": "github.repoSlug#1", + "args": [ + { + "name": "method", + "value": "github.repoSlug" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + } + }, + "364d823c309f": { + "identity": "unread", + "repoContext": { + "isGithubRepo": true + } + }, + "79c69a644fe2": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "isGithubRepo": true + } + }, + "eb6a2b2f507e": { + "name": "github.repoSlug#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.repoSlug\",\"params\":{\"repo\":\"id:repo-9\"}}" + } + }, + "recording": { + "scenario": "pr-branch-repo-context", + "checkpoints": [ + { + "id": "repo-context", + "observation": { + "sender": ["2638b3063bb1"], + "payloads": ["eb6a2b2f507e"], + "settlements": { + "repo-context": "79c69a644fe2" + }, + "state": "364d823c309f", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/pr-comment-mutation.json b/mobile/rpc-foundation/goldens/pr-comment-mutation.json new file mode 100644 index 00000000000..b7974418130 --- /dev/null +++ b/mobile/rpc-foundation/goldens/pr-comment-mutation.json @@ -0,0 +1,383 @@ +{ + "operation": "session.pr-mutations", + "family": "github.pr-comment-mutation", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "f560ff1582487c118756c527faa1fb1f65e37ce22ca9573491fd4b2dbcedf38d", + "scenarioSha256": "73cc5da2649b9687bb0d8247fa4ecf3c085746cf398515e8d2b40be2ed0da688", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "2dd1ced3c6e3": { + "edit-comment": { + "ok": true + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "44136fa355b3": {}, + "478fd4bcbb87": { + "name": "github.addIssueComment#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.addIssueComment\",\"params\":{\"repo\":\"id:repo-9\",\"number\":12,\"body\":\"recorded comment\",\"type\":\"pr\"}}" + }, + "720507281e9c": { + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "7d998237c7b0": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": true + } + } + }, + "8108c9f604fb": { + "name": "github.addPRReviewCommentReply#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.addPRReviewCommentReply\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"commentId\":55,\"body\":\"recorded reply\",\"threadId\":\"thread-1\",\"path\":\"src/app.ts\",\"line\":3}}" + }, + "a03244774599": { + "reply": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "a09b7d2d7c5a": { + "name": "github.project.deleteIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.deleteIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "commentId": 55, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "af688481a64e": { + "name": "github.project.deleteIssueCommentBySlug#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.deleteIssueCommentBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"commentId\":55}}" + }, + "b72d1b08ed71": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "recorded reply", + "commentId": 55, + "line": 3, + "path": "src/app.ts", + "prNumber": 12, + "repo": "id:repo-9", + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "comment": { + "id": 56 + }, + "ok": true + } + } + } + }, + "c809528f892d": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "recorded comment", + "number": 12, + "repo": "id:repo-9", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "comment": { + "id": 57 + }, + "ok": true + } + } + } + }, + "cb0ebf3e3df2": { + "name": "github.project.updateIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "body": "edited", + "commentId": 55, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "d65744cb322a": { + "delete-comment": { + "ok": true + }, + "edit-comment": { + "ok": true + }, + "reply": { + "ok": true + }, + "resolve-thread": { + "ok": true + }, + "root-comment": { + "ok": true + } + }, + "d7020c20297f": { + "reply": { + "ok": true + } + }, + "d9b62b144917": { + "name": "github.resolveReviewThread#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.resolveReviewThread\",\"params\":{\"repo\":\"id:repo-9\",\"threadId\":\"thread-1\",\"resolve\":true}}" + }, + "e8277b2fbe2f": { + "name": "github.project.updateIssueCommentBySlug#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.updateIssueCommentBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"commentId\":55,\"body\":\"edited\"}}" + }, + "fbc958e4d46e": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true + } + } + }, + "recording": { + "scenario": "pr-comment-mutation", + "checkpoints": [ + { + "id": "pending", + "observation": { + "sender": [], + "payloads": [], + "settlements": {}, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "reply", + "observation": { + "sender": ["b72d1b08ed71"], + "payloads": ["8108c9f604fb"], + "settlements": { + "reply": "fbc958e4d46e" + }, + "state": "d7020c20297f", + "effects": [] + } + }, + { + "id": "root-comment", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d"], + "payloads": ["8108c9f604fb", "478fd4bcbb87"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e" + }, + "state": "a03244774599", + "effects": [] + } + }, + { + "id": "resolve-thread", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d", "7d998237c7b0"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e" + }, + "state": "720507281e9c", + "effects": [] + } + }, + { + "id": "edit-comment", + "observation": { + "sender": ["b72d1b08ed71", "c809528f892d", "7d998237c7b0", "cb0ebf3e3df2"], + "payloads": ["8108c9f604fb", "478fd4bcbb87", "d9b62b144917", "e8277b2fbe2f"], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e" + }, + "state": "2dd1ced3c6e3", + "effects": [] + } + }, + { + "id": "delete-comment", + "observation": { + "sender": [ + "b72d1b08ed71", + "c809528f892d", + "7d998237c7b0", + "cb0ebf3e3df2", + "a09b7d2d7c5a" + ], + "payloads": [ + "8108c9f604fb", + "478fd4bcbb87", + "d9b62b144917", + "e8277b2fbe2f", + "af688481a64e" + ], + "settlements": { + "reply": "fbc958e4d46e", + "root-comment": "fbc958e4d46e", + "resolve-thread": "fbc958e4d46e", + "edit-comment": "fbc958e4d46e", + "delete-comment": "fbc958e4d46e" + }, + "state": "d65744cb322a", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/pr-comment-resolve-unconfirmed.json b/mobile/rpc-foundation/goldens/pr-comment-resolve-unconfirmed.json new file mode 100644 index 00000000000..d6c0dac8608 --- /dev/null +++ b/mobile/rpc-foundation/goldens/pr-comment-resolve-unconfirmed.json @@ -0,0 +1,135 @@ +{ + "operation": "session.pr-mutations", + "family": "github.pr-comment-mutation", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "f560ff1582487c118756c527faa1fb1f65e37ce22ca9573491fd4b2dbcedf38d", + "scenarioSha256": "f425131d29fee8826c00a550fb537d0bd1a37bbaf3b33992984d5e04a990a512", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "1165af07b50f": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Failed to update review thread.", + "ok": false + } + }, + "5603f79b1c06": { + "resolve-thread": { + "error": "Failed to update review thread.", + "ok": false + } + }, + "70d79a65b986": { + "name": "github.resolveReviewThread#2", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true + } + } + }, + "9b791087c56d": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": false + } + } + }, + "aa66cdc0c8db": { + "name": "github.resolveReviewThread#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.resolveReviewThread\",\"params\":{\"repo\":\"id:repo-9\",\"threadId\":\"thread-1\",\"resolve\":true}}" + }, + "ac8f4045a561": { + "name": "github.resolveReviewThread#2", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.resolveReviewThread\",\"params\":{\"repo\":\"id:repo-9\",\"threadId\":\"thread-1\",\"resolve\":true}}" + } + }, + "recording": { + "scenario": "pr-comment-resolve-unconfirmed", + "checkpoints": [ + { + "id": "explicit-false", + "observation": { + "sender": ["9b791087c56d"], + "payloads": ["aa66cdc0c8db"], + "settlements": { + "explicit-false": "1165af07b50f" + }, + "state": "5603f79b1c06", + "effects": [] + } + }, + { + "id": "absent-result", + "observation": { + "sender": ["9b791087c56d", "70d79a65b986"], + "payloads": ["aa66cdc0c8db", "ac8f4045a561"], + "settlements": { + "explicit-false": "1165af07b50f", + "absent-result": "1165af07b50f" + }, + "state": "5603f79b1c06", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/pr-mutation-in-band-failure.json b/mobile/rpc-foundation/goldens/pr-mutation-in-band-failure.json new file mode 100644 index 00000000000..0dc4d399aab --- /dev/null +++ b/mobile/rpc-foundation/goldens/pr-mutation-in-band-failure.json @@ -0,0 +1,321 @@ +{ + "operation": "session.pr-mutations", + "family": "github.pr-mutation", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "f560ff1582487c118756c527faa1fb1f65e37ce22ca9573491fd4b2dbcedf38d", + "scenarioSha256": "70a94f45dbf7d58d9024c1cc4c94edd98fa48cd5ccffe8f2b7c53fa3e55d18d3", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0550d42a40c4": { + "name": "github.mergePR#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.mergePR\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"method\":\"squash\"}}" + }, + "06af128d666d": { + "name": "github.updatePRState#1", + "args": [ + { + "name": "method", + "value": "github.updatePRState" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "error": { + "message": "Branch is protected" + }, + "ok": false + } + } + } + }, + "13ee6ced5768": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "error": "Pull request is not mergeable", + "ok": false + } + } + } + }, + "18863a025ec7": { + "auto-merge": { + "ok": true + }, + "close": { + "error": "Branch is protected", + "ok": false + }, + "merge": { + "error": "Pull request is not mergeable", + "ok": false + }, + "rerun-checks": { + "error": "Request failed: github.rerunPRChecks", + "ok": false + } + }, + "1dbd11ea2634": { + "merge": { + "error": "Pull request is not mergeable", + "ok": false + } + }, + "32fa5cd01884": { + "name": "github.setPRAutoMerge#1", + "args": [ + { + "name": "method", + "value": "github.setPRAutoMerge" + }, + { + "name": "params", + "value": { + "enabled": true, + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": true + } + } + }, + "3ee6b36340d7": { + "name": "github.setPRAutoMerge#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.setPRAutoMerge\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"enabled\":true}}" + }, + "551aaea772ad": { + "name": "github.rerunPRChecks#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.rerunPRChecks\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"failedOnly\":true,\"headSha\":\"head-sha-1\"}}" + }, + "5b819e88a0c1": { + "close": { + "error": "Branch is protected", + "ok": false + }, + "merge": { + "error": "Pull request is not mergeable", + "ok": false + } + }, + "8aaaf574bb6f": { + "auto-merge": { + "ok": true + }, + "close": { + "error": "Branch is protected", + "ok": false + }, + "merge": { + "error": "Pull request is not mergeable", + "ok": false + } + }, + "8be705a6533e": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Request failed: github.rerunPRChecks", + "ok": false + } + }, + "c2df352b7a94": { + "name": "github.updatePRState#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.updatePRState\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"updates\":{\"state\":\"closed\"}}}" + }, + "f2d0a4251252": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Branch is protected", + "ok": false + } + }, + "f3a534fa6403": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha-1", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "error": { + "message": "" + }, + "ok": false + } + } + } + }, + "f8ef6dd619cb": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Pull request is not mergeable", + "ok": false + } + }, + "fbc958e4d46e": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true + } + } + }, + "recording": { + "scenario": "pr-mutation-in-band-failure", + "checkpoints": [ + { + "id": "string-error", + "observation": { + "sender": ["13ee6ced5768"], + "payloads": ["0550d42a40c4"], + "settlements": { + "string-error": "f8ef6dd619cb" + }, + "state": "1dbd11ea2634", + "effects": [] + } + }, + { + "id": "object-error", + "observation": { + "sender": ["13ee6ced5768", "06af128d666d"], + "payloads": ["0550d42a40c4", "c2df352b7a94"], + "settlements": { + "string-error": "f8ef6dd619cb", + "object-error": "f2d0a4251252" + }, + "state": "5b819e88a0c1", + "effects": [] + } + }, + { + "id": "unstructured", + "observation": { + "sender": ["13ee6ced5768", "06af128d666d", "32fa5cd01884"], + "payloads": ["0550d42a40c4", "c2df352b7a94", "3ee6b36340d7"], + "settlements": { + "string-error": "f8ef6dd619cb", + "object-error": "f2d0a4251252", + "unstructured": "fbc958e4d46e" + }, + "state": "8aaaf574bb6f", + "effects": [] + } + }, + { + "id": "empty-object-error", + "observation": { + "sender": ["13ee6ced5768", "06af128d666d", "32fa5cd01884", "f3a534fa6403"], + "payloads": ["0550d42a40c4", "c2df352b7a94", "3ee6b36340d7", "551aaea772ad"], + "settlements": { + "string-error": "f8ef6dd619cb", + "object-error": "f2d0a4251252", + "unstructured": "fbc958e4d46e", + "empty-object-error": "8be705a6533e" + }, + "state": "18863a025ec7", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/pr-mutation-status.json b/mobile/rpc-foundation/goldens/pr-mutation-status.json new file mode 100644 index 00000000000..647b127470c --- /dev/null +++ b/mobile/rpc-foundation/goldens/pr-mutation-status.json @@ -0,0 +1,466 @@ +{ + "operation": "session.pr-mutations", + "family": "github.pr-mutation", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "f560ff1582487c118756c527faa1fb1f65e37ce22ca9573491fd4b2dbcedf38d", + "scenarioSha256": "e9291209234bacab12201f4c13bb592e06bd405215389e19f0754c23e79eb197", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "053eb7126f9a": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + } + }, + "0550d42a40c4": { + "name": "github.mergePR#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.mergePR\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"method\":\"squash\"}}" + }, + "0e14bd119328": { + "merge": { + "ok": true + } + }, + "217757a427ce": { + "auto-merge": { + "ok": true + }, + "merge": { + "ok": true + } + }, + "247c152db16d": { + "name": "github.rerunPRChecks#1", + "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"github.rerunPRChecks\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"failedOnly\":true,\"headSha\":\"head-sha-1\"}}" + }, + "258eb619fcbb": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "request-reviewers": { + "ok": true + } + }, + "44136fa355b3": {}, + "63c7b86ce0f8": { + "name": "github.requestPRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.requestPRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "84790920ad91": { + "name": "github.updatePRState#1", + "args": [ + { + "name": "method", + "value": "github.updatePRState" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "9305632adf32": { + "name": "github.setPRAutoMerge#1", + "args": [ + { + "name": "method", + "value": "github.setPRAutoMerge" + }, + { + "name": "params", + "value": { + "enabled": true, + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "97b08057c152": { + "name": "github.removePRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.removePRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "98a9268b04e2": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + } + }, + "b303193775ad": { + "name": "github.updatePRState#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.updatePRState\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"updates\":{\"state\":\"closed\"}}}" + }, + "b9123a0fc952": { + "name": "github.removePRReviewers#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.removePRReviewers\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"reviewers\":[\"octocat\"]}}" + }, + "bdcf1daddf4e": { + "name": "github.setPRAutoMerge#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.setPRAutoMerge\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"enabled\":true}}" + }, + "ccf2be5c9d44": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "d026cfa35ea0": { + "auto-merge": { + "ok": true + }, + "close": { + "ok": true + }, + "merge": { + "ok": true + }, + "remove-reviewers": { + "ok": true + }, + "request-reviewers": { + "ok": true + }, + "rerun-checks": { + "ok": true + } + }, + "e53c2e2f9a43": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha-1", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-6", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "f44b3cd07d00": { + "name": "github.requestPRReviewers#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.requestPRReviewers\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"reviewers\":[\"octocat\"]}}" + }, + "fbc958e4d46e": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true + } + } + }, + "recording": { + "scenario": "pr-mutation-status", + "checkpoints": [ + { + "id": "pending", + "observation": { + "sender": [], + "payloads": [], + "settlements": {}, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "merge", + "observation": { + "sender": ["ccf2be5c9d44"], + "payloads": ["0550d42a40c4"], + "settlements": { + "merge": "fbc958e4d46e" + }, + "state": "0e14bd119328", + "effects": [] + } + }, + { + "id": "auto-merge", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e" + }, + "state": "217757a427ce", + "effects": [] + } + }, + { + "id": "close", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32", "84790920ad91"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e" + }, + "state": "053eb7126f9a", + "effects": [] + } + }, + { + "id": "request-reviewers", + "observation": { + "sender": ["ccf2be5c9d44", "9305632adf32", "84790920ad91", "63c7b86ce0f8"], + "payloads": ["0550d42a40c4", "bdcf1daddf4e", "b303193775ad", "f44b3cd07d00"], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e" + }, + "state": "258eb619fcbb", + "effects": [] + } + }, + { + "id": "remove-reviewers", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e" + }, + "state": "98a9268b04e2", + "effects": [] + } + }, + { + "id": "rerun-checks", + "observation": { + "sender": [ + "ccf2be5c9d44", + "9305632adf32", + "84790920ad91", + "63c7b86ce0f8", + "97b08057c152", + "e53c2e2f9a43" + ], + "payloads": [ + "0550d42a40c4", + "bdcf1daddf4e", + "b303193775ad", + "f44b3cd07d00", + "b9123a0fc952", + "247c152db16d" + ], + "settlements": { + "merge": "fbc958e4d46e", + "auto-merge": "fbc958e4d46e", + "close": "fbc958e4d46e", + "request-reviewers": "fbc958e4d46e", + "remove-reviewers": "fbc958e4d46e", + "rerun-checks": "fbc958e4d46e" + }, + "state": "d026cfa35ea0", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/pr-read-fork-routing.json b/mobile/rpc-foundation/goldens/pr-read-fork-routing.json new file mode 100644 index 00000000000..7944f746c7e --- /dev/null +++ b/mobile/rpc-foundation/goldens/pr-read-fork-routing.json @@ -0,0 +1,331 @@ +{ + "operation": "session.pr-reads", + "family": "github.pr-read", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "f560ff1582487c118756c527faa1fb1f65e37ce22ca9573491fd4b2dbcedf38d", + "scenarioSha256": "ba21f7fc3966cb1e3c1e59d6e8a8b184fa0559bf3037365391ce23e364befd7f", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "1c88fe396b45": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + } + }, + "41d8d2be435b": { + "name": "github.prChecks#2", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed" + } + ] + } + } + }, + "4b1b59229060": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha-1", + "prNumber": 12, + "prRepo": { + "host": "github.enterprise.test", + "owner": "fork-owner", + "repo": "fork-repo" + }, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed" + } + ] + } + } + }, + "76a886c59ea8": { + "name": "github.prCheckDetails#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.prCheckDetails\",\"params\":{\"repo\":\"id:repo-9\",\"checkRunId\":7,\"checkName\":\"build\",\"url\":null,\"prRepo\":{\"owner\":\"fork-owner\",\"repo\":\"fork-repo\",\"host\":\"github.enterprise.test\"}}}" + }, + "76f58b97e8c8": { + "name": "github.prChecks#2", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.prChecks\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12}}" + }, + "79b747202f2f": { + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + } + }, + "aa5e45571cbb": { + "name": "github.prCheckDetails#1", + "args": [ + { + "name": "method", + "value": "github.prCheckDetails" + }, + { + "name": "params", + "value": { + "checkName": "build", + "checkRunId": 7, + "prRepo": { + "host": "github.enterprise.test", + "owner": "fork-owner", + "repo": "fork-repo" + }, + "repo": "id:repo-9", + "url": { + "$rpc": "null" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "annotations": [], + "conclusion": "success", + "jobs": [], + "name": "build", + "status": "completed" + } + } + } + }, + "daf4d0570339": { + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + } + }, + "e23eb2e4b033": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + } + }, + "e8fac4788c30": { + "name": "github.prChecks#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.prChecks\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"prRepo\":{\"owner\":\"fork-owner\",\"repo\":\"fork-repo\",\"host\":\"github.enterprise.test\"},\"headSha\":\"head-sha-1\"}}" + } + }, + "recording": { + "scenario": "pr-read-fork-routing", + "checkpoints": [ + { + "id": "fork-checks", + "observation": { + "sender": ["4b1b59229060"], + "payloads": ["e8fac4788c30"], + "settlements": { + "fork-checks": "e23eb2e4b033" + }, + "state": "daf4d0570339", + "effects": [] + } + }, + { + "id": "fork-check-details", + "observation": { + "sender": ["4b1b59229060", "aa5e45571cbb"], + "payloads": ["e8fac4788c30", "76a886c59ea8"], + "settlements": { + "fork-checks": "e23eb2e4b033", + "fork-check-details": "1c88fe396b45" + }, + "state": "79b747202f2f", + "effects": [] + } + }, + { + "id": "no-head-sha", + "observation": { + "sender": ["4b1b59229060", "aa5e45571cbb", "41d8d2be435b"], + "payloads": ["e8fac4788c30", "76a886c59ea8", "76f58b97e8c8"], + "settlements": { + "fork-checks": "e23eb2e4b033", + "fork-check-details": "1c88fe396b45", + "no-head-sha": "e23eb2e4b033" + }, + "state": "79b747202f2f", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/pr-read-surface.json b/mobile/rpc-foundation/goldens/pr-read-surface.json new file mode 100644 index 00000000000..c49847e4506 --- /dev/null +++ b/mobile/rpc-foundation/goldens/pr-read-surface.json @@ -0,0 +1,1493 @@ +{ + "operation": "session.pr-reads", + "family": "github.pr-read", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "f560ff1582487c118756c527faa1fb1f65e37ce22ca9573491fd4b2dbcedf38d", + "scenarioSha256": "4246e7ffa62e85aac489c561171a6468f862b7f18eefac9926b65073616b6d35", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "1bdfee368839": { + "name": "hostedReview.forBranch#1", + "args": [ + { + "name": "method", + "value": "hostedReview.forBranch" + }, + { + "name": "params", + "value": { + "active": true, + "branch": "feature", + "linkedGitHubPR": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "state": "open", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + } + } + }, + "1c88fe396b45": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + } + }, + "2638b3063bb1": { + "name": "github.repoSlug#1", + "args": [ + { + "name": "method", + "value": "github.repoSlug" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + } + }, + "3879f5d02dc5": { + "name": "github.listAssignableUsers#1", + "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"github.listAssignableUsers\",\"params\":{\"repo\":\"id:repo-9\"}}" + }, + "3b464a1ac1ab": { + "name": "github.prChecks#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.prChecks\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"headSha\":\"head-sha-1\"}}" + }, + "41113a109089": { + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "44136fa355b3": {}, + "4a081d46fc88": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha-1", + "prNumber": 12, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed" + } + ] + } + } + }, + "4a5d0ded4e6c": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "50f04028e403": { + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "59ec56b0e49c": { + "name": "github.workItemDetails#1", + "args": [ + { + "name": "method", + "value": "github.workItemDetails" + }, + { + "name": "params", + "value": { + "number": 12, + "repo": "id:repo-9", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "body": "body", + "headSha": "head-sha-1", + "item": { + "assignees": [], + "id": "PR_1", + "labels": [], + "number": 12, + "state": "open", + "title": "Recorded", + "type": "pr" + } + } + } + } + }, + "5a46540568af": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "8cbb79ec0c39": { + "name": "hostedReview.forBranch#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.forBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedGitHubPR\":12,\"active\":true}}" + }, + "9353f049138c": { + "name": "github.prCheckDetails#1", + "args": [ + { + "name": "method", + "value": "github.prCheckDetails" + }, + { + "name": "params", + "value": { + "checkName": "build", + "checkRunId": 7, + "repo": "id:repo-9", + "url": { + "$rpc": "null" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-6", + "ok": true, + "result": { + "annotations": [], + "conclusion": "success", + "jobs": [], + "name": "build", + "status": "completed" + } + } + } + }, + "9589a1e1a61e": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "a7c7a8c0dcbd": { + "assignable": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + }, + "check-details": { + "ok": true, + "result": { + "annotations": [], + "completedAt": { + "$rpc": "null" + }, + "conclusion": "success", + "detailsUrl": { + "$rpc": "null" + }, + "jobs": [], + "name": "build", + "startedAt": { + "$rpc": "null" + }, + "status": "completed", + "summary": { + "$rpc": "null" + }, + "text": { + "$rpc": "null" + }, + "title": { + "$rpc": "null" + }, + "url": { + "$rpc": "null" + } + } + }, + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "a93bcc7122e8": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": [ + { + "avatarUrl": "", + "login": "octocat", + "name": "Octo Cat" + } + ] + } + }, + "b0b5c628b5c7": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + } + }, + "ba1b866ad599": { + "name": "github.workItemDetails#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.workItemDetails\",\"params\":{\"repo\":\"id:repo-9\",\"number\":12,\"type\":\"pr\"}}" + }, + "c9cb3ce714a0": { + "name": "github.prForBranch#1", + "args": [ + { + "name": "method", + "value": "github.prForBranch" + }, + { + "name": "params", + "value": { + "branch": "feature", + "linkedPRNumber": { + "$rpc": "null" + }, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "fetchedAt": 0, + "kind": "found", + "pr": { + "headSha": "head-sha-1", + "mergeable": "MERGEABLE", + "number": 12, + "state": "open", + "title": "Recorded", + "url": "https://x/12" + } + } + } + } + }, + "d08ed4a769f3": { + "name": "github.prCheckDetails#1", + "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"github.prCheckDetails\",\"params\":{\"repo\":\"id:repo-9\",\"checkRunId\":7,\"checkName\":\"build\",\"url\":null}}" + }, + "d89e7b8ce2a0": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + } + }, + "e23eb2e4b033": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + } + }, + "e323dec040c2": { + "name": "github.prForBranch#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.prForBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedPRNumber\":null}}" + }, + "eb6a2b2f507e": { + "name": "github.repoSlug#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.repoSlug\",\"params\":{\"repo\":\"id:repo-9\"}}" + }, + "efcf99a657b9": { + "name": "github.listAssignableUsers#1", + "args": [ + { + "name": "method", + "value": "github.listAssignableUsers" + }, + { + "name": "params", + "value": { + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-7", + "ok": true, + "result": [ + { + "login": "octocat", + "name": "Octo Cat" + } + ] + } + } + }, + "f0b34267007c": { + "checks": { + "ok": true, + "result": [ + { + "checkRunId": 7, + "conclusion": "success", + "name": "build", + "status": "completed", + "url": { + "$rpc": "null" + }, + "workflowRunId": { + "$rpc": "undefined" + } + } + ] + }, + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + }, + "f2563d0882ec": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + } + }, + "fd7cf23591a3": { + "hosted-review": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "provider": "github", + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "status": "pending", + "title": "Recorded", + "updatedAt": "2026-01-01", + "url": "https://x/12" + } + }, + "pr-for-branch": { + "ok": true, + "result": { + "autoMergeAllowed": { + "$rpc": "undefined" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "checksStatus": "pending", + "headSha": "head-sha-1", + "mergeMethodSettings": { + "$rpc": "undefined" + }, + "mergeQueueRequired": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": "MERGEABLE", + "number": 12, + "prRepo": { + "$rpc": "undefined" + }, + "reviewDecision": { + "$rpc": "undefined" + }, + "state": "open", + "title": "Recorded", + "updatedAt": "", + "url": "https://x/12" + } + }, + "repo-slug": { + "ok": true, + "result": { + "host": "github.com", + "owner": "orca", + "repo": "orca" + } + }, + "work-item": { + "ok": true, + "result": { + "assignees": { + "$rpc": "undefined" + }, + "baseSha": { + "$rpc": "undefined" + }, + "body": "body", + "checks": [], + "comments": [], + "headSha": "head-sha-1", + "item": { + "assignees": [], + "author": { + "$rpc": "null" + }, + "autoMergeEnabled": { + "$rpc": "undefined" + }, + "baseRefName": { + "$rpc": "undefined" + }, + "branchName": { + "$rpc": "undefined" + }, + "checksSummary": { + "$rpc": "undefined" + }, + "headSha": { + "$rpc": "undefined" + }, + "id": "PR_1", + "labels": [], + "latestReviews": { + "$rpc": "undefined" + }, + "mergeStateStatus": { + "$rpc": "undefined" + }, + "mergeable": { + "$rpc": "undefined" + }, + "number": 12, + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [], + "state": "open", + "title": "Recorded", + "type": "pr", + "updatedAt": "", + "url": "" + }, + "participants": [], + "pullRequestId": { + "$rpc": "undefined" + } + } + } + } + }, + "recording": { + "scenario": "pr-read-surface", + "checkpoints": [ + { + "id": "pending", + "observation": { + "sender": [], + "payloads": [], + "settlements": {}, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "repo-slug", + "observation": { + "sender": ["2638b3063bb1"], + "payloads": ["eb6a2b2f507e"], + "settlements": { + "repo-slug": "d89e7b8ce2a0" + }, + "state": "41113a109089", + "effects": [] + } + }, + { + "id": "hosted-review", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7" + }, + "state": "5a46540568af", + "effects": [] + } + }, + { + "id": "pr-for-branch", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839", "c9cb3ce714a0"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec" + }, + "state": "9589a1e1a61e", + "effects": [] + } + }, + { + "id": "work-item", + "observation": { + "sender": ["2638b3063bb1", "1bdfee368839", "c9cb3ce714a0", "59ec56b0e49c"], + "payloads": ["eb6a2b2f507e", "8cbb79ec0c39", "e323dec040c2", "ba1b866ad599"], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c" + }, + "state": "fd7cf23591a3", + "effects": [] + } + }, + { + "id": "checks", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033" + }, + "state": "f0b34267007c", + "effects": [] + } + }, + { + "id": "check-details", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45" + }, + "state": "50f04028e403", + "effects": [] + } + }, + { + "id": "assignable", + "observation": { + "sender": [ + "2638b3063bb1", + "1bdfee368839", + "c9cb3ce714a0", + "59ec56b0e49c", + "4a081d46fc88", + "9353f049138c", + "efcf99a657b9" + ], + "payloads": [ + "eb6a2b2f507e", + "8cbb79ec0c39", + "e323dec040c2", + "ba1b866ad599", + "3b464a1ac1ab", + "d08ed4a769f3", + "3879f5d02dc5" + ], + "settlements": { + "repo-slug": "d89e7b8ce2a0", + "hosted-review": "b0b5c628b5c7", + "pr-for-branch": "f2563d0882ec", + "work-item": "4a5d0ded4e6c", + "checks": "e23eb2e4b033", + "check-details": "1c88fe396b45", + "assignable": "a93bcc7122e8" + }, + "state": "a7c7a8c0dcbd", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/pr-read-upstream-error.json b/mobile/rpc-foundation/goldens/pr-read-upstream-error.json new file mode 100644 index 00000000000..90226003aea --- /dev/null +++ b/mobile/rpc-foundation/goldens/pr-read-upstream-error.json @@ -0,0 +1,239 @@ +{ + "operation": "session.pr-reads", + "family": "github.pr-read", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "f560ff1582487c118756c527faa1fb1f65e37ce22ca9573491fd4b2dbcedf38d", + "scenarioSha256": "b2445b299e18664b698d659c5041860b8a253314687666ae467aab441ab07235", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0a56183795de": { + "pr-for-branch": { + "ok": true, + "result": { + "$rpc": "null" + } + } + }, + "1178750bd3e5": { + "pr-for-branch": { + "error": "GitHub returned an invalid pull request response.", + "ok": false + } + }, + "331d7e1af815": { + "pr-for-branch": { + "error": "GitHub API rate limit exceeded", + "ok": false + } + }, + "85e0e5ca36ba": { + "name": "github.prForBranch#2", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.prForBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedPRNumber\":null}}" + }, + "8a06535cb136": { + "name": "github.prForBranch#2", + "args": [ + { + "name": "method", + "value": "github.prForBranch" + }, + { + "name": "params", + "value": { + "branch": "feature", + "linkedPRNumber": { + "$rpc": "null" + }, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "fetchedAt": 0, + "kind": "found", + "pr": { + "state": "open" + } + } + } + } + }, + "8a5cb8b66303": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true, + "result": { + "$rpc": "null" + } + } + }, + "93d80e74f837": { + "name": "github.prForBranch#3", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.prForBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedPRNumber\":null}}" + }, + "a976d414bc11": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "GitHub returned an invalid pull request response.", + "ok": false + } + }, + "ab4b72242bb7": { + "name": "github.prForBranch#3", + "args": [ + { + "name": "method", + "value": "github.prForBranch" + }, + { + "name": "params", + "value": { + "branch": "feature", + "linkedPRNumber": { + "$rpc": "null" + }, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "$rpc": "null" + } + } + } + }, + "e43c980a94c5": { + "name": "github.prForBranch#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.prForBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedPRNumber\":null}}" + }, + "f1de1849a48d": { + "name": "github.prForBranch#1", + "args": [ + { + "name": "method", + "value": "github.prForBranch" + }, + { + "name": "params", + "value": { + "branch": "feature", + "linkedPRNumber": { + "$rpc": "null" + }, + "repo": "id:repo-9" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "fetchedAt": 0, + "kind": "upstream-error", + "message": "GitHub API rate limit exceeded" + } + } + } + }, + "fe9c1046b91d": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "GitHub API rate limit exceeded", + "ok": false + } + } + }, + "recording": { + "scenario": "pr-read-upstream-error", + "checkpoints": [ + { + "id": "upstream", + "observation": { + "sender": ["f1de1849a48d"], + "payloads": ["e43c980a94c5"], + "settlements": { + "upstream": "fe9c1046b91d" + }, + "state": "331d7e1af815", + "effects": [] + } + }, + { + "id": "malformed", + "observation": { + "sender": ["f1de1849a48d", "8a06535cb136"], + "payloads": ["e43c980a94c5", "85e0e5ca36ba"], + "settlements": { + "upstream": "fe9c1046b91d", + "malformed": "a976d414bc11" + }, + "state": "1178750bd3e5", + "effects": [] + } + }, + { + "id": "no-pr", + "observation": { + "sender": ["f1de1849a48d", "8a06535cb136", "ab4b72242bb7"], + "payloads": ["e43c980a94c5", "85e0e5ca36ba", "93d80e74f837"], + "settlements": { + "upstream": "fe9c1046b91d", + "malformed": "a976d414bc11", + "no-pr": "8a5cb8b66303" + }, + "state": "0a56183795de", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/pr-title-mutation.json b/mobile/rpc-foundation/goldens/pr-title-mutation.json new file mode 100644 index 00000000000..bdc88640016 --- /dev/null +++ b/mobile/rpc-foundation/goldens/pr-title-mutation.json @@ -0,0 +1,84 @@ +{ + "operation": "session.pr-mutations", + "family": "github.pr-title-mutation", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "f560ff1582487c118756c527faa1fb1f65e37ce22ca9573491fd4b2dbcedf38d", + "scenarioSha256": "071e745453795d18d683aaab63e810783e3cee4927b47425c20a3d915397d0dd", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "2a122cfe29f9": { + "name": "github.updatePRTitle#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.updatePRTitle\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"title\":\"Recorded title\"}}" + }, + "578bc8950993": { + "title": { + "ok": true + } + }, + "96fcd9b9c31e": { + "name": "github.updatePRTitle#1", + "args": [ + { + "name": "method", + "value": "github.updatePRTitle" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "title": "Recorded title" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": true + } + } + }, + "fbc958e4d46e": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "ok": true + } + } + }, + "recording": { + "scenario": "pr-title-mutation", + "checkpoints": [ + { + "id": "title", + "observation": { + "sender": ["96fcd9b9c31e"], + "payloads": ["2a122cfe29f9"], + "settlements": { + "title": "fbc958e4d46e" + }, + "state": "578bc8950993", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/pr-title-unconfirmed.json b/mobile/rpc-foundation/goldens/pr-title-unconfirmed.json new file mode 100644 index 00000000000..4548c49e413 --- /dev/null +++ b/mobile/rpc-foundation/goldens/pr-title-unconfirmed.json @@ -0,0 +1,154 @@ +{ + "operation": "session.pr-mutations", + "family": "github.pr-title-mutation", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "f560ff1582487c118756c527faa1fb1f65e37ce22ca9573491fd4b2dbcedf38d", + "scenarioSha256": "669260c675021b37252dc5023a7a78e4e90536c2f35d9a5da3e53778e6a0cf52", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0400bbb4177c": { + "title": { + "error": "Request failed: github.updatePRTitle", + "ok": false + } + }, + "2a122cfe29f9": { + "name": "github.updatePRTitle#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.updatePRTitle\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"title\":\"Recorded title\"}}" + }, + "41c5cf93e77f": { + "name": "github.updatePRTitle#2", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.updatePRTitle\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"title\":\"Recorded title\"}}" + }, + "5ff779cd8c84": { + "title": { + "error": "Failed to update title.", + "ok": false + } + }, + "6e9fb05124f5": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Failed to update title.", + "ok": false + } + }, + "73a201bf0d92": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": "Request failed: github.updatePRTitle", + "ok": false + } + }, + "91e54f9a137c": { + "name": "github.updatePRTitle#1", + "args": [ + { + "name": "method", + "value": "github.updatePRTitle" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "title": "Recorded title" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": false + } + } + }, + "ccb426fd8467": { + "name": "github.updatePRTitle#2", + "args": [ + { + "name": "method", + "value": "github.updatePRTitle" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-9", + "title": "Recorded title" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "" + }, + "id": "frame-2", + "ok": false + } + } + } + }, + "recording": { + "scenario": "pr-title-unconfirmed", + "checkpoints": [ + { + "id": "explicit-false", + "observation": { + "sender": ["91e54f9a137c"], + "payloads": ["2a122cfe29f9"], + "settlements": { + "explicit-false": "6e9fb05124f5" + }, + "state": "5ff779cd8c84", + "effects": [] + } + }, + { + "id": "refused", + "observation": { + "sender": ["91e54f9a137c", "ccb426fd8467"], + "payloads": ["2a122cfe29f9", "41c5cf93e77f"], + "settlements": { + "explicit-false": "6e9fb05124f5", + "refused": "73a201bf0d92" + }, + "state": "0400bbb4177c", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/pr-triage-invalid-terminal.json b/mobile/rpc-foundation/goldens/pr-triage-invalid-terminal.json new file mode 100644 index 00000000000..cfbbe43591e --- /dev/null +++ b/mobile/rpc-foundation/goldens/pr-triage-invalid-terminal.json @@ -0,0 +1,89 @@ +{ + "operation": "session.pr-triage-launch", + "family": "session.pr-triage", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "f560ff1582487c118756c527faa1fb1f65e37ce22ca9573491fd4b2dbcedf38d", + "scenarioSha256": "58ad4e4d5b0200c44f329236e10fd81918a1cc36b33b22cba24662c79dd61b4e", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "681fc4d59b92": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Created terminal response was invalid", + "isRpcDeliveryUnknown": false + } + }, + "80e637504768": { + "name": "session.tabs.createTerminal#1", + "args": [ + { + "name": "method", + "value": "session.tabs.createTerminal" + }, + { + "name": "params", + "value": { + "activate": false, + "navigation": "caller", + "select": true, + "worktree": "id:repo-9::/w" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "tab": { + "id": "tab-1" + } + } + } + } + }, + "a4273b38df83": { + "launched": "unlaunched" + }, + "d3b1c8acd1dd": { + "name": "session.tabs.createTerminal#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"session.tabs.createTerminal\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"activate\":false,\"select\":true,\"navigation\":\"caller\"}}" + } + }, + "recording": { + "scenario": "pr-triage-invalid-terminal", + "checkpoints": [ + { + "id": "invalid", + "observation": { + "sender": ["80e637504768"], + "payloads": ["d3b1c8acd1dd"], + "settlements": { + "launch": "681fc4d59b92" + }, + "state": "a4273b38df83", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/pr-triage-launch.json b/mobile/rpc-foundation/goldens/pr-triage-launch.json new file mode 100644 index 00000000000..64f8a714f9a --- /dev/null +++ b/mobile/rpc-foundation/goldens/pr-triage-launch.json @@ -0,0 +1,178 @@ +{ + "operation": "session.pr-triage-launch", + "family": "session.pr-triage", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "f560ff1582487c118756c527faa1fb1f65e37ce22ca9573491fd4b2dbcedf38d", + "scenarioSha256": "8bb2ff4e899ee873289fed7c1ef12e7f9dba91949125b1f0e4336d378ceb071e", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "43aa948e3918": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "enter": true, + "terminal": "term-1", + "text": "Fix the failing checks" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + } + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "a4273b38df83": { + "launched": "unlaunched" + }, + "b5eced0566fb": { + "name": "session.tabs.createTerminal#1", + "args": [ + { + "name": "method", + "value": "session.tabs.createTerminal" + }, + { + "name": "params", + "value": { + "activate": false, + "navigation": "caller", + "select": true, + "worktree": "id:repo-9::/w" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "d0f04fba35ce": { + "name": "session.tabs.createTerminal#1", + "args": [ + { + "name": "method", + "value": "session.tabs.createTerminal" + }, + { + "name": "params", + "value": { + "activate": false, + "navigation": "caller", + "select": true, + "worktree": "id:repo-9::/w" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "tab": { + "id": "tab-1", + "terminal": "term-1", + "title": "Agent", + "type": "terminal" + } + } + } + } + }, + "d3b1c8acd1dd": { + "name": "session.tabs.createTerminal#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"session.tabs.createTerminal\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"activate\":false,\"select\":true,\"navigation\":\"caller\"}}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f3199cb6db52": { + "name": "terminal.send#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"term-1\",\"text\":\"Fix the failing checks\",\"enter\":true}}" + }, + "fe1fe746e77a": { + "launched": "sent" + } + }, + "recording": { + "scenario": "pr-triage-launch", + "checkpoints": [ + { + "id": "pending", + "observation": { + "sender": ["b5eced0566fb"], + "payloads": ["d3b1c8acd1dd"], + "settlements": { + "launch": "9270aeb7d9c6" + }, + "state": "a4273b38df83", + "effects": [] + } + }, + { + "id": "launched", + "observation": { + "sender": ["d0f04fba35ce", "43aa948e3918"], + "payloads": ["d3b1c8acd1dd", "f3199cb6db52"], + "settlements": { + "launch": "eb79a9b3682a" + }, + "state": "fe1fe746e77a", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/pr-triage-send-locked.json b/mobile/rpc-foundation/goldens/pr-triage-send-locked.json new file mode 100644 index 00000000000..929eff3d094 --- /dev/null +++ b/mobile/rpc-foundation/goldens/pr-triage-send-locked.json @@ -0,0 +1,133 @@ +{ + "operation": "session.pr-triage-launch", + "family": "session.pr-triage", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "f560ff1582487c118756c527faa1fb1f65e37ce22ca9573491fd4b2dbcedf38d", + "scenarioSha256": "d80bc346e84bc35e6dce70643dcd3af3ea9e5a7f8a1f2b7a9e92c71c0c30d4c9", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0f026fafa7e1": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Terminal input is locked", + "isRpcDeliveryUnknown": false + } + }, + "a4273b38df83": { + "launched": "unlaunched" + }, + "aec093de35d6": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "enter": true, + "terminal": "term-1", + "text": "Fix the failing checks" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "send": { + "accepted": false + } + } + } + } + }, + "d0f04fba35ce": { + "name": "session.tabs.createTerminal#1", + "args": [ + { + "name": "method", + "value": "session.tabs.createTerminal" + }, + { + "name": "params", + "value": { + "activate": false, + "navigation": "caller", + "select": true, + "worktree": "id:repo-9::/w" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "tab": { + "id": "tab-1", + "terminal": "term-1", + "title": "Agent", + "type": "terminal" + } + } + } + } + }, + "d3b1c8acd1dd": { + "name": "session.tabs.createTerminal#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"session.tabs.createTerminal\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"activate\":false,\"select\":true,\"navigation\":\"caller\"}}" + }, + "f3199cb6db52": { + "name": "terminal.send#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"term-1\",\"text\":\"Fix the failing checks\",\"enter\":true}}" + } + }, + "recording": { + "scenario": "pr-triage-send-locked", + "checkpoints": [ + { + "id": "locked", + "observation": { + "sender": ["d0f04fba35ce", "aec093de35d6"], + "payloads": ["d3b1c8acd1dd", "f3199cb6db52"], + "settlements": { + "launch": "0f026fafa7e1" + }, + "state": "a4273b38df83", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/probe-new-tab-both-refused.json b/mobile/rpc-foundation/goldens/probe-new-tab-both-refused.json index a11324d3bb7..927e9967ab9 100644 --- a/mobile/rpc-foundation/goldens/probe-new-tab-both-refused.json +++ b/mobile/rpc-foundation/goldens/probe-new-tab-both-refused.json @@ -3,9 +3,9 @@ "family": "settings-agent-read", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "448cdbd12f4f6a14bb33947bfbbb1837aebeb28979db70c62f2ba2fbb4d89c8f", "scenarioSha256": "819fa73c7700b4d526da91c37558a6498008d745d1debcc26e6bb757550ebf99", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/probe-new-tab-null-sibling-refused.json b/mobile/rpc-foundation/goldens/probe-new-tab-null-sibling-refused.json index 8fa02cf4b25..c121fe1e560 100644 --- a/mobile/rpc-foundation/goldens/probe-new-tab-null-sibling-refused.json +++ b/mobile/rpc-foundation/goldens/probe-new-tab-null-sibling-refused.json @@ -3,9 +3,9 @@ "family": "settings-agent-read", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "448cdbd12f4f6a14bb33947bfbbb1837aebeb28979db70c62f2ba2fbb4d89c8f", "scenarioSha256": "500396d72abd2f73d11ef066bca3f88798c8cbdaef09fa7c1c8d1fbaf0b3b85a", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/probe-new-tab-refused-sibling-rejects.json b/mobile/rpc-foundation/goldens/probe-new-tab-refused-sibling-rejects.json index 6617e7fc33a..dae03518838 100644 --- a/mobile/rpc-foundation/goldens/probe-new-tab-refused-sibling-rejects.json +++ b/mobile/rpc-foundation/goldens/probe-new-tab-refused-sibling-rejects.json @@ -3,9 +3,9 @@ "family": "settings-agent-read", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "448cdbd12f4f6a14bb33947bfbbb1837aebeb28979db70c62f2ba2fbb4d89c8f", "scenarioSha256": "daf68df8840ea6872521d823cc17e1e5de3f3a74a8855465fcf40cc276e9c2ce", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/probe-new-tab-rejects-sibling-refused.json b/mobile/rpc-foundation/goldens/probe-new-tab-rejects-sibling-refused.json index 9b093e9e6a8..3bc73e9418d 100644 --- a/mobile/rpc-foundation/goldens/probe-new-tab-rejects-sibling-refused.json +++ b/mobile/rpc-foundation/goldens/probe-new-tab-rejects-sibling-refused.json @@ -3,9 +3,9 @@ "family": "settings-agent-read", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "448cdbd12f4f6a14bb33947bfbbb1837aebeb28979db70c62f2ba2fbb4d89c8f", "scenarioSha256": "61e36caf6b3bb01c3ad0db282b7f0fbc0f300d40184f9cf3d7e4e3a3194a4f2a", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/push-dismissal-tray-reconciled.json b/mobile/rpc-foundation/goldens/push-dismissal-tray-reconciled.json new file mode 100644 index 00000000000..4ec6be5a0a9 --- /dev/null +++ b/mobile/rpc-foundation/goldens/push-dismissal-tray-reconciled.json @@ -0,0 +1,158 @@ +{ + "operation": "notifications.push-dismissal", + "family": "notifications.push-dismissal", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "595a3eb2994d0596b9fcd0707b175b4e978625053dfbc5c541b0350c0cbfb524", + "scenarioSha256": "318fab8c1efb1786bbdaea7f13b769952c1ce463bc5504dca6a9f545e905b7c9", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "9aba86eb07e4": { + "name": "notifications.getMissedSince#1", + "args": [ + { + "name": "method", + "value": "notifications.getMissedSince" + }, + { + "name": "params", + "value": { + "deliveredPushes": [ + { + "notificationEpoch": "epoch-1", + "notificationId": "note-1", + "notificationSeq": 7 + } + ], + "lastSeenSeq": 9007199254740991 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "ac56c3fc846f": { + "name": "notifications.getMissedSince#1", + "args": [ + { + "name": "method", + "value": "notifications.getMissedSince" + }, + { + "name": "params", + "value": { + "deliveredPushes": [ + { + "notificationEpoch": "epoch-1", + "notificationId": "note-1", + "notificationSeq": 7 + } + ], + "lastSeenSeq": 9007199254740991 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "dismissedPushes": [ + { + "notificationEpoch": "epoch-1", + "notificationId": "note-1", + "notificationSeq": 7 + } + ] + } + } + } + }, + "afd5e55d2004": { + "name": "notifications.getMissedSince#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"notifications.getMissedSince\",\"params\":{\"lastSeenSeq\":9007199254740991,\"deliveredPushes\":[{\"notificationId\":\"note-1\",\"notificationEpoch\":\"epoch-1\",\"notificationSeq\":7}]}}" + }, + "bcdd9c902f5e": { + "name": "device-store.setItem", + "value": { + "key": "orca:pushDismissalWatermarks:v1", + "value": "[{\"key\":\"[\\\"Yw3NKWbEM2aRElRI\\\",\\\"epoch-1\\\",\\\"note-1\\\"]\",\"seq\":7,\"expiresAt\":1767312000000}]" + }, + "sent": 1 + }, + "c83340909a1e": { + "name": "notification-tray.dismiss", + "value": { + "identifier": "tray-1" + }, + "sent": 1 + }, + "cf9c28129225": { + "disposed": false + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "push-dismissal-tray-reconciled", + "checkpoints": [ + { + "id": "requested", + "observation": { + "sender": ["9aba86eb07e4"], + "payloads": ["afd5e55d2004"], + "settlements": { + "catchup": "9270aeb7d9c6" + }, + "state": "cf9c28129225", + "effects": [] + } + }, + { + "id": "reconciled", + "observation": { + "sender": ["ac56c3fc846f"], + "payloads": ["afd5e55d2004"], + "settlements": { + "catchup": "eb79a9b3682a" + }, + "state": "cf9c28129225", + "effects": ["bcdd9c902f5e", "c83340909a1e"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/quick-commands-load-refused.json b/mobile/rpc-foundation/goldens/quick-commands-load-refused.json new file mode 100644 index 00000000000..5dfa353f750 --- /dev/null +++ b/mobile/rpc-foundation/goldens/quick-commands-load-refused.json @@ -0,0 +1,87 @@ +{ + "operation": "settings.quick-commands", + "family": "settings.quick-commands", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "42334358b5e5966001639653b553f15033f6e201d785107871fe056536f0a5e2", + "scenarioSha256": "42573387533f75122f626ce6ec81c1e61fe54cde5df416154bb7cba132f53309", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "990fb5428d1f": { + "commands": [], + "error": "Unknown method", + "loading": false, + "persisted": [], + "ready": false + }, + "ae75d9a09c8f": { + "name": "settings.getTerminalQuickCommands#1", + "args": [ + { + "name": "method", + "value": "settings.getTerminalQuickCommands" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "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 + } + } + }, + "e1663c7c38e3": { + "name": "settings.getTerminalQuickCommands#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"settings.getTerminalQuickCommands\"}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "quick-commands-load-refused", + "checkpoints": [ + { + "id": "errored", + "observation": { + "sender": ["ae75d9a09c8f"], + "payloads": ["e1663c7c38e3"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "990fb5428d1f", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/quick-commands-loaded-and-saved.json b/mobile/rpc-foundation/goldens/quick-commands-loaded-and-saved.json new file mode 100644 index 00000000000..3283dd9bb4a --- /dev/null +++ b/mobile/rpc-foundation/goldens/quick-commands-loaded-and-saved.json @@ -0,0 +1,145 @@ +{ + "operation": "settings.quick-commands", + "family": "settings.quick-commands", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "42334358b5e5966001639653b553f15033f6e201d785107871fe056536f0a5e2", + "scenarioSha256": "a621156bbb662c78a0baa356b60d0af41d10a7bd14e54f23be0581a59377cec3", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "7ed3d39f0607": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": false + }, + "b0069ba7e0a2": { + "name": "settings.updateTerminalQuickCommands#1", + "args": [ + { + "name": "method", + "value": "settings.updateTerminalQuickCommands" + }, + { + "name": "params", + "value": { + "mutation": { + "command": { + "appendEnter": true, + "command": "pnpm build", + "id": "qc-1", + "label": "build" + }, + "type": "upsert" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "terminalQuickCommands": [ + { + "appendEnter": true, + "command": "pnpm build", + "id": "qc-1", + "label": "build" + } + ] + } + } + } + }, + "d766ce9ee125": { + "name": "settings.getTerminalQuickCommands#1", + "args": [ + { + "name": "method", + "value": "settings.getTerminalQuickCommands" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "terminalQuickCommands": [] + } + } + } + }, + "e1663c7c38e3": { + "name": "settings.getTerminalQuickCommands#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"settings.getTerminalQuickCommands\"}" + }, + "e3cf3d452fcf": { + "name": "settings.updateTerminalQuickCommands#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"settings.updateTerminalQuickCommands\",\"params\":{\"mutation\":{\"type\":\"upsert\",\"command\":{\"id\":\"qc-1\",\"label\":\"build\",\"command\":\"pnpm build\",\"appendEnter\":true}}}}" + }, + "e9c308be6dea": { + "commands": [], + "error": "Failed to save quick command", + "loading": false, + "persisted": [false], + "ready": true + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "quick-commands-loaded-and-saved", + "checkpoints": [ + { + "id": "saved", + "observation": { + "sender": ["d766ce9ee125", "b0069ba7e0a2"], + "payloads": ["e1663c7c38e3", "e3cf3d452fcf"], + "settlements": { + "mount": "eb79a9b3682a", + "persist": "7ed3d39f0607" + }, + "state": "e9c308be6dea", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/quick-commands-save-refused-rolls-back.json b/mobile/rpc-foundation/goldens/quick-commands-save-refused-rolls-back.json new file mode 100644 index 00000000000..15abf22f85f --- /dev/null +++ b/mobile/rpc-foundation/goldens/quick-commands-save-refused-rolls-back.json @@ -0,0 +1,139 @@ +{ + "operation": "settings.quick-commands", + "family": "settings.quick-commands", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "42334358b5e5966001639653b553f15033f6e201d785107871fe056536f0a5e2", + "scenarioSha256": "72517336e451e1e078135103073c1821e8af27c0702f6dc83b9a686fe7ff8c04", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "07d2b92da065": { + "name": "settings.updateTerminalQuickCommands#1", + "args": [ + { + "name": "method", + "value": "settings.updateTerminalQuickCommands" + }, + { + "name": "params", + "value": { + "mutation": { + "command": { + "appendEnter": true, + "command": "pnpm build", + "id": "qc-1", + "label": "build" + }, + "type": "upsert" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "settings_locked", + "message": "Settings are locked" + }, + "id": "frame-2", + "ok": false + } + } + }, + "7ed3d39f0607": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": false + }, + "84f50b30247b": { + "commands": [], + "error": "Settings are locked", + "loading": false, + "persisted": [false], + "ready": true + }, + "d766ce9ee125": { + "name": "settings.getTerminalQuickCommands#1", + "args": [ + { + "name": "method", + "value": "settings.getTerminalQuickCommands" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "terminalQuickCommands": [] + } + } + } + }, + "e1663c7c38e3": { + "name": "settings.getTerminalQuickCommands#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"settings.getTerminalQuickCommands\"}" + }, + "e3cf3d452fcf": { + "name": "settings.updateTerminalQuickCommands#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"settings.updateTerminalQuickCommands\",\"params\":{\"mutation\":{\"type\":\"upsert\",\"command\":{\"id\":\"qc-1\",\"label\":\"build\",\"command\":\"pnpm build\",\"appendEnter\":true}}}}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "quick-commands-save-refused-rolls-back", + "checkpoints": [ + { + "id": "rolled-back", + "observation": { + "sender": ["d766ce9ee125", "07d2b92da065"], + "payloads": ["e1663c7c38e3", "e3cf3d452fcf"], + "settlements": { + "mount": "eb79a9b3682a", + "persist": "7ed3d39f0607" + }, + "state": "84f50b30247b", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/relay-direct-upgrade-commits.json b/mobile/rpc-foundation/goldens/relay-direct-upgrade-commits.json new file mode 100644 index 00000000000..020afdb59e8 --- /dev/null +++ b/mobile/rpc-foundation/goldens/relay-direct-upgrade-commits.json @@ -0,0 +1,253 @@ +{ + "operation": "relay.direct-upgrade", + "family": "relay.direct-upgrade", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "651e75383caf1b30c329dec2d5d4f0da5358c410402d03cbb087f39600d7a4d2", + "scenarioSha256": "a92bccd183127829b6dfd85add28e42370d54990f63214940b1c584f7fde56a9", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "157eaa06961f": { + "name": "pairing.getEndpoints#2", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "installStatus": { + "reqId": "install-fixture-1", + "result": { + "authorizationMode": "authenticated-direct", + "currentVersion": 4, + "reqId": "install-fixture-1", + "resumeExpiresAt": 1767830400000, + "v": 1 + }, + "state": "committed", + "v": 1 + }, + "relay": { + "assignmentEpoch": 1, + "cellUrl": "https://cell.example", + "directorUrl": "https://director.example", + "e2eeFraming": 2, + "relayHostId": "relay-host-0001x", + "v": 1 + }, + "v": 1 + } + } + } + }, + "1d7fdb67d4da": { + "name": "pairing.provisionRelay#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.provisionRelay\",\"params\":{\"reqId\":\"install-fixture-1\",\"newResumeTokenHash\":\"7ehR_WuQWkxwOFJdkHfI5jEg4DeVYWImtDuip60LHK4\"}}" + }, + "4683b84a57a2": { + "name": "host-saved", + "value": "host-1", + "sent": 3 + }, + "590b3311b0c4": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "bundle": { + "current": { + "expiresAt": 1767830400000, + "hash": "7ehR_WuQWkxwOFJdkHfI5jEg4DeVYWImtDuip60LHK4", + "token": "pending00000000000000000000000000000000001x", + "version": 4 + }, + "deviceToken": "device-token-1", + "hostId": "host-1", + "v": 1 + }, + "host": { + "deviceToken": "device-token-1", + "endpoint": "ws://192.168.1.10:8765", + "endpoints": [ + { + "id": "direct-primary", + "kind": "lan", + "url": "ws://192.168.1.10:8765" + }, + { + "id": "relay-primary", + "kind": "relay", + "url": "wss://cell.example/v1/connect/relay-host-0001x" + } + ], + "id": "host-1", + "lastConnected": 1767225600000, + "name": "Fixture host", + "publicKeyB64": "AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8=", + "relay": { + "assignmentEpoch": 1, + "cellUrl": "https://cell.example", + "directorUrl": "https://director.example", + "e2eeFraming": 2, + "relayHostId": "relay-host-0001x", + "v": 1 + }, + "relayHostId": "relay-host-0001x" + } + } + }, + "7583d8b57ef8": { + "name": "pairing.getEndpoints#2", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.getEndpoints\",\"params\":{\"installReqId\":\"install-fixture-1\"}}" + }, + "7d023da12fdb": { + "name": "journal-cleared", + "value": "upgrade", + "sent": 3 + }, + "980bbba0b617": { + "journal": { + "$rpc": "null" + }, + "outcome": "relay-host-0001x" + }, + "a3865c87e54b": { + "name": "pairing.provisionRelay#1", + "args": [ + { + "name": "method", + "value": "pairing.provisionRelay" + }, + { + "name": "params", + "value": { + "newResumeTokenHash": "7ehR_WuQWkxwOFJdkHfI5jEg4DeVYWImtDuip60LHK4", + "reqId": "install-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "authorizationMode": "authenticated-direct", + "currentVersion": 4, + "reqId": "install-fixture-1", + "resumeExpiresAt": 1767830400000, + "v": 1 + } + } + } + }, + "b991b2c7609f": { + "name": "bundle-written", + "value": { + "version": 4 + }, + "sent": 3 + }, + "ba95b28e3a94": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "installStatus": { + "reqId": "install-fixture-1", + "state": "not-found", + "v": 1 + }, + "relay": { + "assignmentEpoch": 1, + "cellUrl": "https://cell.example", + "directorUrl": "https://director.example", + "e2eeFraming": 2, + "relayHostId": "relay-host-0001x", + "v": 1 + }, + "v": 1 + } + } + } + }, + "beafd16aeb22": { + "name": "pairing.getEndpoints#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.getEndpoints\",\"params\":{\"installReqId\":\"install-fixture-1\"}}" + } + }, + "recording": { + "scenario": "relay-direct-upgrade-commits", + "checkpoints": [ + { + "id": "direct-upgrade-committed", + "observation": { + "sender": ["ba95b28e3a94", "a3865c87e54b", "157eaa06961f"], + "payloads": ["beafd16aeb22", "1d7fdb67d4da", "7583d8b57ef8"], + "settlements": { + "upgrade": "590b3311b0c4" + }, + "state": "980bbba0b617", + "effects": ["b991b2c7609f", "4683b84a57a2", "7d023da12fdb"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/relay-direct-upgrade-unsupported-host-declines.json b/mobile/rpc-foundation/goldens/relay-direct-upgrade-unsupported-host-declines.json new file mode 100644 index 00000000000..6ae43b2e328 --- /dev/null +++ b/mobile/rpc-foundation/goldens/relay-direct-upgrade-unsupported-host-declines.json @@ -0,0 +1,91 @@ +{ + "operation": "relay.direct-upgrade", + "family": "relay.direct-upgrade", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "651e75383caf1b30c329dec2d5d4f0da5358c410402d03cbb087f39600d7a4d2", + "scenarioSha256": "7d5cad367e76767b039fc5ebc15837930f02c5e1bed33ae7ca4695bae56287bd", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "55af89989a85": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-1" + } + }, + { + "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 + } + } + }, + "6c43da669636": { + "journal": { + "$rpc": "null" + }, + "outcome": "declined" + }, + "8ea887e0fc46": { + "name": "journal-cleared", + "value": "upgrade", + "sent": 1 + }, + "beafd16aeb22": { + "name": "pairing.getEndpoints#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.getEndpoints\",\"params\":{\"installReqId\":\"install-fixture-1\"}}" + }, + "ee20a1dc39e7": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "null" + } + } + }, + "recording": { + "scenario": "relay-direct-upgrade-unsupported-host-declines", + "checkpoints": [ + { + "id": "upgrade-declined", + "observation": { + "sender": ["55af89989a85"], + "payloads": ["beafd16aeb22"], + "settlements": { + "upgrade": "ee20a1dc39e7" + }, + "state": "6c43da669636", + "effects": ["8ea887e0fc46"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/relay-pairing-recovery-invite-authorizes.json b/mobile/rpc-foundation/goldens/relay-pairing-recovery-invite-authorizes.json new file mode 100644 index 00000000000..50af47e1e47 --- /dev/null +++ b/mobile/rpc-foundation/goldens/relay-pairing-recovery-invite-authorizes.json @@ -0,0 +1,285 @@ +{ + "operation": "relay.pairing-recovery", + "family": "relay.pairing-recovery", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "e33d584229530c716ecdc44d198b95fcfb4dfd9468fba7d5222ee3f122950197", + "scenarioSha256": "8dc3fd27c5720276608ca8743990e4f57d94eab84f620e9aa42702a4686fd5a9", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "09329ce738b3": { + "name": "host-saved", + "value": "host-1", + "sent": 4 + }, + "247b92f9351d": { + "name": "pairing.provisionRelay#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.provisionRelay\",\"params\":{\"reqId\":\"install-fixture-1\",\"newResumeTokenHash\":\"7ehR_WuQWkxwOFJdkHfI5jEg4DeVYWImtDuip60LHK4\"}}" + }, + "50f1b63c9e0d": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-1", + "resumeConfirmReqId": "confirm-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "installStatus": { + "reqId": "install-fixture-1", + "state": "not-found", + "v": 1 + }, + "relay": { + "assignmentEpoch": 1, + "cellUrl": "https://cell.example", + "directorUrl": "https://director.example", + "e2eeFraming": 2, + "relayHostId": "relay-host-0001x", + "v": 1 + }, + "v": 1 + } + } + } + }, + "6b9f1bf73e55": { + "name": "bundle-written", + "value": { + "version": 4 + }, + "sent": 4 + }, + "6f09228b201f": { + "name": "pairing.getEndpoints#3", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "installStatus": { + "reqId": "install-fixture-1", + "result": { + "authorizationMode": "relay-basis", + "currentVersion": 4, + "reqId": "install-fixture-1", + "resumeExpiresAt": 1767830400000, + "v": 1 + }, + "state": "committed", + "v": 1 + }, + "relay": { + "assignmentEpoch": 1, + "cellUrl": "https://cell.example", + "directorUrl": "https://director.example", + "e2eeFraming": 2, + "relayHostId": "relay-host-0001x", + "v": 1 + }, + "v": 1 + } + } + } + }, + "748cf6b7a942": { + "name": "pairing.getEndpoints#3", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.getEndpoints\",\"params\":{\"installReqId\":\"install-fixture-1\"}}" + }, + "7a3e4e5413b5": { + "outcome": "recovered", + "winner": { + "$rpc": "null" + } + }, + "8a13a5758a69": { + "name": "pairing.provisionRelay#1", + "args": [ + { + "name": "method", + "value": "pairing.provisionRelay" + }, + { + "name": "params", + "value": { + "newResumeTokenHash": "7ehR_WuQWkxwOFJdkHfI5jEg4DeVYWImtDuip60LHK4", + "reqId": "install-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "authorizationMode": "relay-basis", + "currentVersion": 4, + "reqId": "install-fixture-1", + "resumeExpiresAt": 1767830400000, + "v": 1 + } + } + } + }, + "9bb91a6d0ca7": { + "name": "pairing.getEndpoints#2", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "installStatus": { + "reqId": "install-fixture-1", + "state": "not-found", + "v": 1 + }, + "relay": { + "assignmentEpoch": 1, + "cellUrl": "https://cell.example", + "directorUrl": "https://director.example", + "e2eeFraming": 2, + "relayHostId": "relay-host-0001x", + "v": 1 + }, + "v": 1 + } + } + } + }, + "b6e709c11a41": { + "name": "pairing.getEndpoints#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.getEndpoints\",\"params\":{\"installReqId\":\"install-fixture-1\",\"resumeConfirmReqId\":\"confirm-fixture-1\"}}" + }, + "bcb071e85da1": { + "name": "journal-cleared", + "value": "recovery", + "sent": 4 + }, + "be67e12f6925": { + "name": "candidate-closed", + "value": "relay", + "sent": 1 + }, + "ca7cb1785a59": { + "name": "candidate-closed", + "value": "relay", + "sent": 4 + }, + "da0417cd1d5f": { + "name": "journal-updated", + "value": "relay-basis", + "sent": 2 + }, + "f0723ea3ab16": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": "recovered" + }, + "f98de3f4f0c2": { + "name": "pairing.getEndpoints#2", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.getEndpoints\",\"params\":{\"installReqId\":\"install-fixture-1\"}}" + } + }, + "recording": { + "scenario": "relay-pairing-recovery-invite-authorizes", + "checkpoints": [ + { + "id": "recovered-through-invite", + "observation": { + "sender": ["50f1b63c9e0d", "9bb91a6d0ca7", "8a13a5758a69", "6f09228b201f"], + "payloads": ["b6e709c11a41", "f98de3f4f0c2", "247b92f9351d", "748cf6b7a942"], + "settlements": { + "recover": "f0723ea3ab16" + }, + "state": "7a3e4e5413b5", + "effects": [ + "be67e12f6925", + "da0417cd1d5f", + "6b9f1bf73e55", + "09329ce738b3", + "bcb071e85da1", + "ca7cb1785a59" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/relay-pairing-recovery-resume-committed.json b/mobile/rpc-foundation/goldens/relay-pairing-recovery-resume-committed.json new file mode 100644 index 00000000000..8ab329840eb --- /dev/null +++ b/mobile/rpc-foundation/goldens/relay-pairing-recovery-resume-committed.json @@ -0,0 +1,137 @@ +{ + "operation": "relay.pairing-recovery", + "family": "relay.pairing-recovery", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "e33d584229530c716ecdc44d198b95fcfb4dfd9468fba7d5222ee3f122950197", + "scenarioSha256": "7e54c3af4b8b8e6eac007267fb96620283b735491883c505401c79656d920ca6", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0080ab426cd1": { + "name": "host-saved", + "value": "host-1", + "sent": 1 + }, + "6873c5ee509e": { + "name": "journal-cleared", + "value": "recovery", + "sent": 1 + }, + "7a3e4e5413b5": { + "outcome": "recovered", + "winner": { + "$rpc": "null" + } + }, + "b6e709c11a41": { + "name": "pairing.getEndpoints#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.getEndpoints\",\"params\":{\"installReqId\":\"install-fixture-1\",\"resumeConfirmReqId\":\"confirm-fixture-1\"}}" + }, + "be67e12f6925": { + "name": "candidate-closed", + "value": "relay", + "sent": 1 + }, + "c5d6533ca9ce": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-1", + "resumeConfirmReqId": "confirm-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "installStatus": { + "reqId": "install-fixture-1", + "result": { + "authorizationMode": "relay-basis", + "currentVersion": 4, + "reqId": "install-fixture-1", + "resumeExpiresAt": 1767830400000, + "v": 1 + }, + "state": "committed", + "v": 1 + }, + "relay": { + "assignmentEpoch": 1, + "cellUrl": "https://cell.example", + "directorUrl": "https://director.example", + "e2eeFraming": 2, + "relayHostId": "relay-host-0001x", + "v": 1 + }, + "v": 1 + } + } + } + }, + "cf1bfb36f84e": { + "name": "journal-updated", + "value": "relay-basis", + "sent": 1 + }, + "e0d0c16b34cc": { + "name": "bundle-written", + "value": { + "version": 4 + }, + "sent": 1 + }, + "f0723ea3ab16": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": "recovered" + } + }, + "recording": { + "scenario": "relay-pairing-recovery-resume-committed", + "checkpoints": [ + { + "id": "recovered-on-resume", + "observation": { + "sender": ["c5d6533ca9ce"], + "payloads": ["b6e709c11a41"], + "settlements": { + "recover": "f0723ea3ab16" + }, + "state": "7a3e4e5413b5", + "effects": [ + "cf1bfb36f84e", + "e0d0c16b34cc", + "0080ab426cd1", + "6873c5ee509e", + "be67e12f6925" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/relay-rotation-installs-and-commits.json b/mobile/rpc-foundation/goldens/relay-rotation-installs-and-commits.json new file mode 100644 index 00000000000..1c6fe570d94 --- /dev/null +++ b/mobile/rpc-foundation/goldens/relay-rotation-installs-and-commits.json @@ -0,0 +1,246 @@ +{ + "operation": "relay.credential-rotation", + "family": "relay.credential-rotation", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "651e75383caf1b30c329dec2d5d4f0da5358c410402d03cbb087f39600d7a4d2", + "scenarioSha256": "c786fb19f9593ee60238e42813561edf6f5e976fcf217dff8de977a333fe8451", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0acd5ee5dc7c": { + "name": "pairing.getEndpoints#2", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.getEndpoints\",\"params\":{\"installReqId\":\"rotate-VftjjHf-4Lb1-Sdfryl-LA\"}}" + }, + "0f448fcd9d34": { + "name": "pairing.getEndpoints#2", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "installStatus": { + "reqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA", + "result": { + "authorizationMode": "authenticated-direct", + "currentVersion": 4, + "reqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA", + "resumeExpiresAt": 1767830400000, + "v": 1 + }, + "state": "committed", + "v": 1 + }, + "relay": { + "assignmentEpoch": 1, + "cellUrl": "https://cell.example", + "directorUrl": "https://director.example", + "e2eeFraming": 2, + "relayHostId": "relay-host-0001x", + "v": 1 + }, + "v": 1 + } + } + } + }, + "4877d080e309": { + "name": "pairing.getEndpoints#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.getEndpoints\",\"params\":{\"installReqId\":\"rotate-VftjjHf-4Lb1-Sdfryl-LA\"}}" + }, + "675a60981a5e": { + "name": "pairing.provisionRelay#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.provisionRelay\",\"params\":{\"reqId\":\"rotate-VftjjHf-4Lb1-Sdfryl-LA\",\"newResumeTokenHash\":\"yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU\",\"expectedCurrentHash\":\"r_9byaBlTZTXS3aLLlWTKwss-nmx4vGRrjKskxWyP30\"}}" + }, + "8336e309abb8": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "installStatus": { + "reqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA", + "state": "not-found", + "v": 1 + }, + "relay": { + "assignmentEpoch": 1, + "cellUrl": "https://cell.example", + "directorUrl": "https://director.example", + "e2eeFraming": 2, + "relayHostId": "relay-host-0001x", + "v": 1 + }, + "v": 1 + } + } + } + }, + "85b38f117802": { + "name": "bundle-written", + "value": { + "grace": { + "$rpc": "null" + }, + "pending": true, + "version": 3 + }, + "sent": 0 + }, + "9ade8126917f": { + "name": "pairing.provisionRelay#1", + "args": [ + { + "name": "method", + "value": "pairing.provisionRelay" + }, + { + "name": "params", + "value": { + "expectedCurrentHash": "r_9byaBlTZTXS3aLLlWTKwss-nmx4vGRrjKskxWyP30", + "newResumeTokenHash": "yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU", + "reqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "authorizationMode": "authenticated-direct", + "currentVersion": 4, + "reqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA", + "resumeExpiresAt": 1767830400000, + "v": 1 + } + } + } + }, + "eee85d194a6b": { + "name": "bundle-written", + "value": { + "grace": { + "$rpc": "null" + }, + "pending": false, + "version": 4 + }, + "sent": 3 + }, + "f2c843a9b548": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "bundle": { + "current": { + "expiresAt": 1767830400000, + "hash": "yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU", + "token": "PF6BtAxexo4Eo0Bsl9Y8-9xTrog3GhJRIbWVYUPA7i0", + "version": 4 + }, + "deviceToken": "device-token-1", + "grace": { + "$rpc": "undefined" + }, + "hostId": "host-1", + "pending": { + "$rpc": "undefined" + }, + "v": 1 + }, + "relay": { + "assignmentEpoch": 1, + "cellUrl": "https://cell.example", + "directorUrl": "https://director.example", + "e2eeFraming": 2, + "relayHostId": "relay-host-0001x", + "v": 1 + } + } + }, + "fdf764b375ae": { + "outcome": { + "relayHostId": "relay-host-0001x", + "version": 4 + }, + "pending": false, + "version": 4 + } + }, + "recording": { + "scenario": "relay-rotation-installs-and-commits", + "checkpoints": [ + { + "id": "credential-rotated", + "observation": { + "sender": ["8336e309abb8", "9ade8126917f", "0f448fcd9d34"], + "payloads": ["4877d080e309", "675a60981a5e", "0acd5ee5dc7c"], + "settlements": { + "rotate": "f2c843a9b548" + }, + "state": "fdf764b375ae", + "effects": ["85b38f117802", "eee85d194a6b"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/relay-rotation-resumes-committed-pending.json b/mobile/rpc-foundation/goldens/relay-rotation-resumes-committed-pending.json new file mode 100644 index 00000000000..f9910d0b0e4 --- /dev/null +++ b/mobile/rpc-foundation/goldens/relay-rotation-resumes-committed-pending.json @@ -0,0 +1,144 @@ +{ + "operation": "relay.credential-rotation", + "family": "relay.credential-rotation", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "651e75383caf1b30c329dec2d5d4f0da5358c410402d03cbb087f39600d7a4d2", + "scenarioSha256": "96df784c1d56de3bdd04afe20ab019339c7d9a616528ca2617e2fffe4f0157c8", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "351d2bec2471": { + "outcome": { + "relayHostId": "relay-host-0001x", + "version": 5 + }, + "pending": false, + "version": 5 + }, + "760bb6245333": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "bundle": { + "current": { + "expiresAt": 1767830400000, + "hash": "7ehR_WuQWkxwOFJdkHfI5jEg4DeVYWImtDuip60LHK4", + "token": "pending00000000000000000000000000000000001x", + "version": 5 + }, + "deviceToken": "device-token-1", + "grace": { + "expiresAt": 1767398400000, + "hash": "r_9byaBlTZTXS3aLLlWTKwss-nmx4vGRrjKskxWyP30", + "token": "current00000000000000000000000000000000001x", + "version": 3 + }, + "hostId": "host-1", + "pending": { + "$rpc": "undefined" + }, + "v": 1 + }, + "relay": { + "assignmentEpoch": 1, + "cellUrl": "https://cell.example", + "directorUrl": "https://director.example", + "e2eeFraming": 2, + "relayHostId": "relay-host-0001x", + "v": 1 + } + } + }, + "93a4f8a5a1ad": { + "name": "bundle-written", + "value": { + "grace": 1767398400000, + "pending": false, + "version": 5 + }, + "sent": 1 + }, + "beafd16aeb22": { + "name": "pairing.getEndpoints#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.getEndpoints\",\"params\":{\"installReqId\":\"install-fixture-1\"}}" + }, + "c623ac0f092b": { + "name": "pairing.getEndpoints#1", + "args": [ + { + "name": "method", + "value": "pairing.getEndpoints" + }, + { + "name": "params", + "value": { + "installReqId": "install-fixture-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "installStatus": { + "reqId": "install-fixture-1", + "result": { + "authorizationMode": "authenticated-direct", + "currentVersion": 5, + "graceExpiresAt": 1767398400000, + "reqId": "install-fixture-1", + "resumeExpiresAt": 1767830400000, + "v": 1 + }, + "state": "committed", + "v": 1 + }, + "relay": { + "assignmentEpoch": 1, + "cellUrl": "https://cell.example", + "directorUrl": "https://director.example", + "e2eeFraming": 2, + "relayHostId": "relay-host-0001x", + "v": 1 + }, + "v": 1 + } + } + } + } + }, + "recording": { + "scenario": "relay-rotation-resumes-committed-pending", + "checkpoints": [ + { + "id": "pending-install-adopted", + "observation": { + "sender": ["c623ac0f092b"], + "payloads": ["beafd16aeb22"], + "settlements": { + "rotate": "760bb6245333" + }, + "state": "351d2bec2471", + "effects": ["93a4f8a5a1ad"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/review-create-terminal-refused.json b/mobile/rpc-foundation/goldens/review-create-terminal-refused.json new file mode 100644 index 00000000000..5dd305c32e3 --- /dev/null +++ b/mobile/rpc-foundation/goldens/review-create-terminal-refused.json @@ -0,0 +1,120 @@ +{ + "operation": "session.diff-review-actions", + "family": "session.diff-review-actions", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "fd443c85a6d2b0c1355e29f6f366e35d330a2033c7ddb90ab6713584ddda2f6f", + "scenarioSha256": "af837de2e273c5f03130b51d6e1a9bff9ff99a4e8d1c9554a53134acb5924c72", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "2fc890e4b748": { + "actionError": { + "$rpc": "null" + }, + "busyAction": { + "$rpc": "null" + }, + "screenState": { + "branchCompare": { + "$rpc": "null" + }, + "comments": [ + { + "body": "needs a test", + "createdAt": 0, + "filePath": "src/app.ts", + "id": "note-1", + "lineNumber": 4, + "side": "modified", + "worktreeId": "workspace-1" + } + ], + "kind": "ready", + "reviewState": { + "files": {}, + "version": 1 + }, + "status": { + "entries": [] + } + }, + "sendSheet": { + "$rpc": "null" + } + }, + "58d16e8809a2": { + "name": "session.tabs.createTerminal#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"session.tabs.createTerminal\",\"params\":{\"worktree\":\"id:workspace-1\",\"activate\":false,\"select\":true,\"navigation\":\"caller\"}}" + }, + "6e913cd7b306": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Workspace is busy", + "isRpcDeliveryUnknown": false + } + }, + "80f030a6d6a9": { + "name": "session.tabs.createTerminal#1", + "args": [ + { + "name": "method", + "value": "session.tabs.createTerminal" + }, + { + "name": "params", + "value": { + "activate": false, + "navigation": "caller", + "select": true, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "worktree_busy", + "message": "Workspace is busy" + }, + "id": "frame-1", + "ok": false + } + } + } + }, + "recording": { + "scenario": "review-create-terminal-refused", + "checkpoints": [ + { + "id": "refused", + "observation": { + "sender": ["80f030a6d6a9"], + "payloads": ["58d16e8809a2"], + "settlements": { + "create-and-send": "6e913cd7b306" + }, + "state": "2fc890e4b748", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/review-mark-reviewed-persists.json b/mobile/rpc-foundation/goldens/review-mark-reviewed-persists.json new file mode 100644 index 00000000000..85d4daf5866 --- /dev/null +++ b/mobile/rpc-foundation/goldens/review-mark-reviewed-persists.json @@ -0,0 +1,163 @@ +{ + "operation": "session.diff-review-actions", + "family": "session.diff-review-actions", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "fd443c85a6d2b0c1355e29f6f366e35d330a2033c7ddb90ab6713584ddda2f6f", + "scenarioSha256": "9f1c39e91a97266b0a550d2b2d061592ae050078401ef23177dd2e00db67bf04", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "02c4a9358dee": { + "actionError": { + "$rpc": "null" + }, + "busyAction": { + "$rpc": "null" + }, + "screenState": { + "branchCompare": { + "$rpc": "null" + }, + "comments": [ + { + "body": "needs a test", + "createdAt": 0, + "filePath": "src/app.ts", + "id": "note-1", + "lineNumber": 4, + "side": "modified", + "worktreeId": "workspace-1" + } + ], + "kind": "ready", + "reviewState": { + "completedAt": 1767225600000, + "files": { + "unstaged:src/app.ts": { + "filePath": "src/app.ts", + "key": "unstaged:src/app.ts", + "lastOpenedAt": { + "$rpc": "undefined" + }, + "lastSeenDiffIdentity": "identity-1", + "oldPath": { + "$rpc": "undefined" + }, + "reviewDiffIdentity": "identity-1", + "reviewedAt": 1767225600000, + "scope": "unstaged" + } + }, + "updatedAt": 1767225600000, + "version": 1 + }, + "status": { + "entries": [] + } + }, + "sendSheet": { + "$rpc": "null" + } + }, + "78219a737d4d": { + "name": "worktree.set#1", + "args": [ + { + "name": "method", + "value": "worktree.set" + }, + { + "name": "params", + "value": { + "diffComments": [ + { + "body": "needs a test", + "createdAt": 0, + "filePath": "src/app.ts", + "id": "note-1", + "lineNumber": 4, + "side": "modified", + "worktreeId": "workspace-1" + } + ], + "mobileDiffReview": { + "completedAt": 1767225600000, + "files": { + "unstaged:src/app.ts": { + "filePath": "src/app.ts", + "key": "unstaged:src/app.ts", + "lastOpenedAt": { + "$rpc": "undefined" + }, + "lastSeenDiffIdentity": "identity-1", + "oldPath": { + "$rpc": "undefined" + }, + "reviewDiffIdentity": "identity-1", + "reviewedAt": 1767225600000, + "scope": "unstaged" + } + }, + "updatedAt": 1767225600000, + "version": 1 + }, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "updated": true + } + } + } + }, + "9a5a5e546290": { + "name": "worktree.set#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.set\",\"params\":{\"worktree\":\"id:workspace-1\",\"diffComments\":[{\"side\":\"modified\",\"id\":\"note-1\",\"worktreeId\":\"workspace-1\",\"filePath\":\"src/app.ts\",\"lineNumber\":4,\"body\":\"needs a test\",\"createdAt\":0}],\"mobileDiffReview\":{\"version\":1,\"files\":{\"unstaged:src/app.ts\":{\"key\":\"unstaged:src/app.ts\",\"filePath\":\"src/app.ts\",\"scope\":\"unstaged\",\"lastSeenDiffIdentity\":\"identity-1\",\"reviewedAt\":1767225600000,\"reviewDiffIdentity\":\"identity-1\"}},\"updatedAt\":1767225600000,\"completedAt\":1767225600000}}}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "review-mark-reviewed-persists", + "checkpoints": [ + { + "id": "persisted", + "observation": { + "sender": ["78219a737d4d"], + "payloads": ["9a5a5e546290"], + "settlements": { + "mark-reviewed": "eb79a9b3682a" + }, + "state": "02c4a9358dee", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/review-mark-reviewed-rolls-back.json b/mobile/rpc-foundation/goldens/review-mark-reviewed-rolls-back.json new file mode 100644 index 00000000000..28fd1dd0010 --- /dev/null +++ b/mobile/rpc-foundation/goldens/review-mark-reviewed-rolls-back.json @@ -0,0 +1,147 @@ +{ + "operation": "session.diff-review-actions", + "family": "session.diff-review-actions", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "fd443c85a6d2b0c1355e29f6f366e35d330a2033c7ddb90ab6713584ddda2f6f", + "scenarioSha256": "c858cfca59148548146b4c0a775e9518d3ab826ef268ccc9af60b04e52cc9e3d", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "29ae38d1c0cf": { + "name": "worktree.set#1", + "args": [ + { + "name": "method", + "value": "worktree.set" + }, + { + "name": "params", + "value": { + "diffComments": [ + { + "body": "needs a test", + "createdAt": 0, + "filePath": "src/app.ts", + "id": "note-1", + "lineNumber": 4, + "side": "modified", + "worktreeId": "workspace-1" + } + ], + "mobileDiffReview": { + "completedAt": 1767225600000, + "files": { + "unstaged:src/app.ts": { + "filePath": "src/app.ts", + "key": "unstaged:src/app.ts", + "lastOpenedAt": { + "$rpc": "undefined" + }, + "lastSeenDiffIdentity": "identity-1", + "oldPath": { + "$rpc": "undefined" + }, + "reviewDiffIdentity": "identity-1", + "reviewedAt": 1767225600000, + "scope": "unstaged" + } + }, + "updatedAt": 1767225600000, + "version": 1 + }, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "worktree_locked", + "message": "Workspace is locked" + }, + "id": "frame-1", + "ok": false + } + } + }, + "6bdf0d77510f": { + "actionError": "Workspace is locked", + "busyAction": { + "$rpc": "null" + }, + "screenState": { + "branchCompare": { + "$rpc": "null" + }, + "comments": [ + { + "body": "needs a test", + "createdAt": 0, + "filePath": "src/app.ts", + "id": "note-1", + "lineNumber": 4, + "side": "modified", + "worktreeId": "workspace-1" + } + ], + "kind": "ready", + "reviewState": { + "files": {}, + "version": 1 + }, + "status": { + "entries": [] + } + }, + "sendSheet": { + "$rpc": "null" + } + }, + "9a5a5e546290": { + "name": "worktree.set#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.set\",\"params\":{\"worktree\":\"id:workspace-1\",\"diffComments\":[{\"side\":\"modified\",\"id\":\"note-1\",\"worktreeId\":\"workspace-1\",\"filePath\":\"src/app.ts\",\"lineNumber\":4,\"body\":\"needs a test\",\"createdAt\":0}],\"mobileDiffReview\":{\"version\":1,\"files\":{\"unstaged:src/app.ts\":{\"key\":\"unstaged:src/app.ts\",\"filePath\":\"src/app.ts\",\"scope\":\"unstaged\",\"lastSeenDiffIdentity\":\"identity-1\",\"reviewedAt\":1767225600000,\"reviewDiffIdentity\":\"identity-1\"}},\"updatedAt\":1767225600000,\"completedAt\":1767225600000}}}" + }, + "b914541ed9b0": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Workspace is locked", + "isRpcDeliveryUnknown": false + } + } + }, + "recording": { + "scenario": "review-mark-reviewed-rolls-back", + "checkpoints": [ + { + "id": "rolled-back", + "observation": { + "sender": ["29ae38d1c0cf"], + "payloads": ["9a5a5e546290"], + "settlements": { + "mark-reviewed": "b914541ed9b0" + }, + "state": "6bdf0d77510f", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/review-open-in-session.json b/mobile/rpc-foundation/goldens/review-open-in-session.json new file mode 100644 index 00000000000..107c805a5a7 --- /dev/null +++ b/mobile/rpc-foundation/goldens/review-open-in-session.json @@ -0,0 +1,121 @@ +{ + "operation": "session.diff-review-actions", + "family": "session.diff-review-actions", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "fd443c85a6d2b0c1355e29f6f366e35d330a2033c7ddb90ab6713584ddda2f6f", + "scenarioSha256": "2f0a6aa8ce100edbce9ccf64c81efe64356fccbdcd2e16f561360e2b11b5700f", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "2fc890e4b748": { + "actionError": { + "$rpc": "null" + }, + "busyAction": { + "$rpc": "null" + }, + "screenState": { + "branchCompare": { + "$rpc": "null" + }, + "comments": [ + { + "body": "needs a test", + "createdAt": 0, + "filePath": "src/app.ts", + "id": "note-1", + "lineNumber": 4, + "side": "modified", + "worktreeId": "workspace-1" + } + ], + "kind": "ready", + "reviewState": { + "files": {}, + "version": 1 + }, + "status": { + "entries": [] + } + }, + "sendSheet": { + "$rpc": "null" + } + }, + "47164a430928": { + "name": "files.openDiff#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.openDiff\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"src/app.ts\",\"staged\":false}}" + }, + "aefdadd223ee": { + "name": "files.openDiff#1", + "args": [ + { + "name": "method", + "value": "files.openDiff" + }, + { + "name": "params", + "value": { + "relativePath": "src/app.ts", + "staged": false, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "opened": true + } + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f08ae8feb9a9": { + "name": "open-session", + "value": {}, + "sent": 1 + } + }, + "recording": { + "scenario": "review-open-in-session", + "checkpoints": [ + { + "id": "opened", + "observation": { + "sender": ["aefdadd223ee"], + "payloads": ["47164a430928"], + "settlements": { + "open-in-session": "eb79a9b3682a" + }, + "state": "2fc890e4b748", + "effects": ["f08ae8feb9a9"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/review-send-notes-heals-stale-input.json b/mobile/rpc-foundation/goldens/review-send-notes-heals-stale-input.json new file mode 100644 index 00000000000..806727bf9d2 --- /dev/null +++ b/mobile/rpc-foundation/goldens/review-send-notes-heals-stale-input.json @@ -0,0 +1,153 @@ +{ + "operation": "session.diff-review-actions", + "family": "session.diff-review-actions", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "fd443c85a6d2b0c1355e29f6f366e35d330a2033c7ddb90ab6713584ddda2f6f", + "scenarioSha256": "7099d7311b2046dde21a2750201718995c0869bc4f17fb7f3ce2b997ce0e6506", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0229bd778610": { + "name": "terminal.send#2", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "enter": true, + "terminal": "terminal-1", + "text": "You are reviewing the current worktree. Address the following mobile review notes.\n\nFile: src/app.ts\nLine: 4\nUser comment: \"needs a test\"\n\nAfter applying fixes:\n1. Summarize changed files.\n2. Run relevant tests.\n3. Tell me if anything remains risky." + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "09a1d177b71c": { + "name": "terminal.send#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u0015\",\"enter\":false}}" + }, + "0db3b6958ec7": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": "terminal-1" + }, + "2fc890e4b748": { + "actionError": { + "$rpc": "null" + }, + "busyAction": { + "$rpc": "null" + }, + "screenState": { + "branchCompare": { + "$rpc": "null" + }, + "comments": [ + { + "body": "needs a test", + "createdAt": 0, + "filePath": "src/app.ts", + "id": "note-1", + "lineNumber": 4, + "side": "modified", + "worktreeId": "workspace-1" + } + ], + "kind": "ready", + "reviewState": { + "files": {}, + "version": 1 + }, + "status": { + "entries": [] + } + }, + "sendSheet": { + "$rpc": "null" + } + }, + "8e18c9a6a750": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "enter": false, + "terminal": "terminal-1", + "text": "\u0015" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + } + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "c5d2e61b325b": { + "name": "terminal.send#2", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"You are reviewing the current worktree. Address the following mobile review notes.\\n\\nFile: src/app.ts\\nLine: 4\\nUser comment: \\\"needs a test\\\"\\n\\nAfter applying fixes:\\n1. Summarize changed files.\\n2. Run relevant tests.\\n3. Tell me if anything remains risky.\",\"enter\":true}}" + } + }, + "recording": { + "scenario": "review-send-notes-heals-stale-input", + "checkpoints": [ + { + "id": "healed", + "observation": { + "sender": ["8e18c9a6a750", "0229bd778610"], + "payloads": ["09a1d177b71c", "c5d2e61b325b"], + "settlements": { + "mark-stale": "0db3b6958ec7", + "send-notes": "9270aeb7d9c6" + }, + "state": "2fc890e4b748", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/review-stage-file.json b/mobile/rpc-foundation/goldens/review-stage-file.json new file mode 100644 index 00000000000..861028fd54b --- /dev/null +++ b/mobile/rpc-foundation/goldens/review-stage-file.json @@ -0,0 +1,120 @@ +{ + "operation": "session.diff-review-actions", + "family": "session.diff-review-actions", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "fd443c85a6d2b0c1355e29f6f366e35d330a2033c7ddb90ab6713584ddda2f6f", + "scenarioSha256": "793e954960d371c6477d4cd3d70a5215c0bd90764684eafdb1e1a2e09790cc86", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "2fc890e4b748": { + "actionError": { + "$rpc": "null" + }, + "busyAction": { + "$rpc": "null" + }, + "screenState": { + "branchCompare": { + "$rpc": "null" + }, + "comments": [ + { + "body": "needs a test", + "createdAt": 0, + "filePath": "src/app.ts", + "id": "note-1", + "lineNumber": 4, + "side": "modified", + "worktreeId": "workspace-1" + } + ], + "kind": "ready", + "reviewState": { + "files": {}, + "version": 1 + }, + "status": { + "entries": [] + } + }, + "sendSheet": { + "$rpc": "null" + } + }, + "51406f060db7": { + "name": "git.stage#1", + "args": [ + { + "name": "method", + "value": "git.stage" + }, + { + "name": "params", + "value": { + "filePath": "src/app.ts", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "staged": true + } + } + } + }, + "543f60e3c255": { + "name": "load-review-data", + "value": {}, + "sent": 1 + }, + "e1156e5340fe": { + "name": "git.stage#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.stage\",\"params\":{\"worktree\":\"id:workspace-1\",\"filePath\":\"src/app.ts\"}}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "review-stage-file", + "checkpoints": [ + { + "id": "staged", + "observation": { + "sender": ["51406f060db7"], + "payloads": ["e1156e5340fe"], + "settlements": { + "stage": "eb79a9b3682a" + }, + "state": "2fc890e4b748", + "effects": ["543f60e3c255"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/review-stage-refused.json b/mobile/rpc-foundation/goldens/review-stage-refused.json new file mode 100644 index 00000000000..be478263106 --- /dev/null +++ b/mobile/rpc-foundation/goldens/review-stage-refused.json @@ -0,0 +1,114 @@ +{ + "operation": "session.diff-review-actions", + "family": "session.diff-review-actions", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "fd443c85a6d2b0c1355e29f6f366e35d330a2033c7ddb90ab6713584ddda2f6f", + "scenarioSha256": "46b720fed417d29f79dbde4cc7941579f2d6a2f920bae24234537480079e7de5", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0038658e2aec": { + "name": "git.discard#1", + "args": [ + { + "name": "method", + "value": "git.discard" + }, + { + "name": "params", + "value": { + "filePath": "src/app.ts", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "git_conflict", + "message": "Cannot discard during a merge" + }, + "id": "frame-1", + "ok": false + } + } + }, + "36787858f78b": { + "actionError": "Cannot discard during a merge", + "busyAction": { + "$rpc": "null" + }, + "screenState": { + "branchCompare": { + "$rpc": "null" + }, + "comments": [ + { + "body": "needs a test", + "createdAt": 0, + "filePath": "src/app.ts", + "id": "note-1", + "lineNumber": 4, + "side": "modified", + "worktreeId": "workspace-1" + } + ], + "kind": "ready", + "reviewState": { + "files": {}, + "version": 1 + }, + "status": { + "entries": [] + } + }, + "sendSheet": { + "$rpc": "null" + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ffc8292df05c": { + "name": "git.discard#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.discard\",\"params\":{\"worktree\":\"id:workspace-1\",\"filePath\":\"src/app.ts\"}}" + } + }, + "recording": { + "scenario": "review-stage-refused", + "checkpoints": [ + { + "id": "refused", + "observation": { + "sender": ["0038658e2aec"], + "payloads": ["ffc8292df05c"], + "settlements": { + "discard": "eb79a9b3682a" + }, + "state": "36787858f78b", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/sc-base-ref-default.json b/mobile/rpc-foundation/goldens/sc-base-ref-default.json index 7dd990f81a6..d3fc9dbf470 100644 --- a/mobile/rpc-foundation/goldens/sc-base-ref-default.json +++ b/mobile/rpc-foundation/goldens/sc-base-ref-default.json @@ -3,9 +3,9 @@ "family": "git.base-ref-chain", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "5e47c7960b9352753f0751d4ccf5e3ff7fb7b74a63cc4e4df3c3ffdcc6c1e66b", "scenarioSha256": "374129def6baa0e06b808c067831820966638d79d7a782e96c1f2f891cc9dc86", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/sc-base-ref-repo-fallback.json b/mobile/rpc-foundation/goldens/sc-base-ref-repo-fallback.json index 3140487f163..3f2670ff640 100644 --- a/mobile/rpc-foundation/goldens/sc-base-ref-repo-fallback.json +++ b/mobile/rpc-foundation/goldens/sc-base-ref-repo-fallback.json @@ -3,9 +3,9 @@ "family": "git.base-ref-chain", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "5e47c7960b9352753f0751d4ccf5e3ff7fb7b74a63cc4e4df3c3ffdcc6c1e66b", "scenarioSha256": "97a8b8f5b9a7c7467745666becee07f5dfc57fb283d4e80dcbe7941509177598", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/sc-base-ref-unavailable.json b/mobile/rpc-foundation/goldens/sc-base-ref-unavailable.json index e06a4eda1d0..888114b725c 100644 --- a/mobile/rpc-foundation/goldens/sc-base-ref-unavailable.json +++ b/mobile/rpc-foundation/goldens/sc-base-ref-unavailable.json @@ -3,9 +3,9 @@ "family": "git.base-ref-chain", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "5e47c7960b9352753f0751d4ccf5e3ff7fb7b74a63cc4e4df3c3ffdcc6c1e66b", "scenarioSha256": "25a4762d735dfb4979e6ef31b9fdb380941a824a54b45b3d08ddb2cde25c2eb7", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/sc-base-ref-worktree-hit.json b/mobile/rpc-foundation/goldens/sc-base-ref-worktree-hit.json index 4c709fa04c6..f7fdb5f833c 100644 --- a/mobile/rpc-foundation/goldens/sc-base-ref-worktree-hit.json +++ b/mobile/rpc-foundation/goldens/sc-base-ref-worktree-hit.json @@ -3,9 +3,9 @@ "family": "git.base-ref-chain", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "5e47c7960b9352753f0751d4ccf5e3ff7fb7b74a63cc4e4df3c3ffdcc6c1e66b", "scenarioSha256": "f3b193f93f6c9de41d11e706ecbd99648eb2ed41ccb7c66cdb80c934e780ed7c", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/sc-commit-message-cancel-rejected.json b/mobile/rpc-foundation/goldens/sc-commit-message-cancel-rejected.json index ec14ddf867c..d72a5ba8943 100644 --- a/mobile/rpc-foundation/goldens/sc-commit-message-cancel-rejected.json +++ b/mobile/rpc-foundation/goldens/sc-commit-message-cancel-rejected.json @@ -3,9 +3,9 @@ "family": "git.commit-message-ai", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "5e47c7960b9352753f0751d4ccf5e3ff7fb7b74a63cc4e4df3c3ffdcc6c1e66b", "scenarioSha256": "013db25622b180a8333bb1ef27c22a5b1f8e04148201201e5cc3413a10640781", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/sc-commit-message-canceled.json b/mobile/rpc-foundation/goldens/sc-commit-message-canceled.json index aa585267ff0..eb719a12b52 100644 --- a/mobile/rpc-foundation/goldens/sc-commit-message-canceled.json +++ b/mobile/rpc-foundation/goldens/sc-commit-message-canceled.json @@ -3,9 +3,9 @@ "family": "git.commit-message-ai", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "5e47c7960b9352753f0751d4ccf5e3ff7fb7b74a63cc4e4df3c3ffdcc6c1e66b", "scenarioSha256": "15bf6c17f4b524dfbf5373b2eeed61ee2e659421cf8b6e3cff6c0378c7692cc1", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/sc-commit-message-generated.json b/mobile/rpc-foundation/goldens/sc-commit-message-generated.json index 905123dc6fc..bd0bffad7f5 100644 --- a/mobile/rpc-foundation/goldens/sc-commit-message-generated.json +++ b/mobile/rpc-foundation/goldens/sc-commit-message-generated.json @@ -3,9 +3,9 @@ "family": "git.commit-message-ai", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "5e47c7960b9352753f0751d4ccf5e3ff7fb7b74a63cc4e4df3c3ffdcc6c1e66b", "scenarioSha256": "540f05d84d1cbffd566af933c547838c75500bb5d708e8558c21fe8131d724e3", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/sc-create-existing-review.json b/mobile/rpc-foundation/goldens/sc-create-existing-review.json index 2cce136bf27..43f3c3279d7 100644 --- a/mobile/rpc-foundation/goldens/sc-create-existing-review.json +++ b/mobile/rpc-foundation/goldens/sc-create-existing-review.json @@ -3,9 +3,9 @@ "family": "hostedReview.create-chain", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "c582ce355b0704b38d7e84cbce352630096c91231bf09aecd1f6dbb409fed17f", "scenarioSha256": "7d6099248aa6a2ef19f2e169ff917af794649d9d64d139aa9ffeea6a41355ddc", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/sc-create-intent-stage-commit-push-create.json b/mobile/rpc-foundation/goldens/sc-create-intent-stage-commit-push-create.json index 5512be8da12..7da77e10d4a 100644 --- a/mobile/rpc-foundation/goldens/sc-create-intent-stage-commit-push-create.json +++ b/mobile/rpc-foundation/goldens/sc-create-intent-stage-commit-push-create.json @@ -3,9 +3,9 @@ "family": "hostedReview.create-intent", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "c582ce355b0704b38d7e84cbce352630096c91231bf09aecd1f6dbb409fed17f", "scenarioSha256": "447f9b3d697dbfe21cb7fb6e12d1bf5fa94b023b7e1697bdc2dc82ce7072183f", "platform": "darwin", @@ -99,6 +99,16 @@ "name": "hostedReview.create#1", "json": "{\"id\":\"frame-11\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.create\",\"params\":{\"repo\":\"id:repo42\",\"worktree\":\"id:repo42::/p\",\"provider\":\"github\",\"base\":\"main\",\"head\":\"feature\",\"title\":\"Host title\",\"body\":\"Host body\",\"draft\":false}}" }, + "0b80f2766914": { + "name": "progress", + "value": "generating_commit_message", + "sent": 3 + }, + "0d7681dfb908": { + "name": "progress", + "value": "pushing", + "sent": 7 + }, "125fbea5f50a": { "name": "git.generateCommitMessage#1", "args": [ @@ -287,9 +297,10 @@ "name": "git.bulkStage#1", "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"git.bulkStage\",\"params\":{\"worktree\":\"id:repo42::/p\",\"filePaths\":[\"src/new.ts\"]}}" }, - "368b0b9ce80a": { + "3a3a688f828b": { "name": "progress", - "value": "staging" + "value": "staging", + "sent": 1 }, "43ccfe31d2a4": { "outcome": { @@ -375,10 +386,6 @@ } } }, - "5975e0bdd4a4": { - "name": "progress", - "value": "creating_review" - }, "5b46f52533a0": { "name": "hostedReview.create#1", "args": [ @@ -419,14 +426,6 @@ "name": "git.status#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" }, - "60421d882fd2": { - "name": "progress", - "value": "pushing" - }, - "6a5c9570c542": { - "name": "progress", - "value": "generating_commit_message" - }, "6df8e4961ee3": { "name": "git.generateCommitMessage#1", "args": [ @@ -464,14 +463,15 @@ "72b388fd3302": { "outcome": "unrun" }, + "7349acf3d5b8": { + "name": "progress", + "value": "committing", + "sent": 4 + }, "7679f4e521d1": { "name": "git.push#1", "json": "{\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"git.push\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" }, - "7778d4c43a58": { - "name": "progress", - "value": "committing" - }, "788869e46db6": { "name": "git.push#1", "args": [ @@ -797,6 +797,11 @@ "name": "git.generateCommitMessage#1", "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"git.generateCommitMessage\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" }, + "bbf5b6093f56": { + "name": "progress", + "value": "creating_review", + "sent": 10 + }, "c444aeacec59": { "name": "git.status#3", "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" @@ -908,7 +913,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a"] + "effects": ["3a3a688f828b"] } }, { @@ -920,7 +925,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542"] + "effects": ["3a3a688f828b", "0b80f2766914"] } }, { @@ -944,7 +949,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -972,7 +977,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8"] } }, { @@ -1002,7 +1007,7 @@ "run": "9270aeb7d9c6" }, "state": "72b388fd3302", - "effects": ["368b0b9ce80a", "6a5c9570c542", "7778d4c43a58", "60421d882fd2"] + "effects": ["3a3a688f828b", "0b80f2766914", "7349acf3d5b8", "0d7681dfb908"] } }, { @@ -1039,11 +1044,11 @@ }, "state": "72b388fd3302", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } }, @@ -1083,11 +1088,11 @@ }, "state": "43ccfe31d2a4", "effects": [ - "368b0b9ce80a", - "6a5c9570c542", - "7778d4c43a58", - "60421d882fd2", - "5975e0bdd4a4" + "3a3a688f828b", + "0b80f2766914", + "7349acf3d5b8", + "0d7681dfb908", + "bbf5b6093f56" ] } } diff --git a/mobile/rpc-foundation/goldens/sc-create-link-failure-is-non-fatal.json b/mobile/rpc-foundation/goldens/sc-create-link-failure-is-non-fatal.json index f2c81a1f63d..709b3ed7e5c 100644 --- a/mobile/rpc-foundation/goldens/sc-create-link-failure-is-non-fatal.json +++ b/mobile/rpc-foundation/goldens/sc-create-link-failure-is-non-fatal.json @@ -3,9 +3,9 @@ "family": "hostedReview.create-chain", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "c582ce355b0704b38d7e84cbce352630096c91231bf09aecd1f6dbb409fed17f", "scenarioSha256": "2deb0435ef63a3e0102e28f2f3f331039486d193d1e1ffdfb53ad86d3ff039f0", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/sc-create-pushes-then-creates.json b/mobile/rpc-foundation/goldens/sc-create-pushes-then-creates.json index f2d5807370b..ae90efc3cf1 100644 --- a/mobile/rpc-foundation/goldens/sc-create-pushes-then-creates.json +++ b/mobile/rpc-foundation/goldens/sc-create-pushes-then-creates.json @@ -3,9 +3,9 @@ "family": "hostedReview.create-chain", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "c582ce355b0704b38d7e84cbce352630096c91231bf09aecd1f6dbb409fed17f", "scenarioSha256": "0f86b3e6059c48cd327c55df2452a9bc6ea85584ffbeacafad496f600c20e06f", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/sc-create-refused-empty-message.json b/mobile/rpc-foundation/goldens/sc-create-refused-empty-message.json index e77d1ab11c2..19d2f3b0720 100644 --- a/mobile/rpc-foundation/goldens/sc-create-refused-empty-message.json +++ b/mobile/rpc-foundation/goldens/sc-create-refused-empty-message.json @@ -3,9 +3,9 @@ "family": "hostedReview.create-chain", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "c582ce355b0704b38d7e84cbce352630096c91231bf09aecd1f6dbb409fed17f", "scenarioSha256": "5008e69a8e396b1deccd98712d92650a630f971cd76a02862a461afb8617b8a4", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/sc-create-rejected-empty-message.json b/mobile/rpc-foundation/goldens/sc-create-rejected-empty-message.json index 06a31f9690e..2dff86d2288 100644 --- a/mobile/rpc-foundation/goldens/sc-create-rejected-empty-message.json +++ b/mobile/rpc-foundation/goldens/sc-create-rejected-empty-message.json @@ -3,9 +3,9 @@ "family": "hostedReview.create-chain", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "c582ce355b0704b38d7e84cbce352630096c91231bf09aecd1f6dbb409fed17f", "scenarioSha256": "ea71081982a101d0f8624707b59c99de9981e9b1d1bafa25c66d575e3f876ff4", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/sc-eligibility-fetched.json b/mobile/rpc-foundation/goldens/sc-eligibility-fetched.json index 3fea01ffea6..b43f568ebf5 100644 --- a/mobile/rpc-foundation/goldens/sc-eligibility-fetched.json +++ b/mobile/rpc-foundation/goldens/sc-eligibility-fetched.json @@ -3,9 +3,9 @@ "family": "hostedReview.eligibility", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "c582ce355b0704b38d7e84cbce352630096c91231bf09aecd1f6dbb409fed17f", "scenarioSha256": "f6a1595073abe11b33973e8865900a1d849f44221961da5c12ea13aa696f6490", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/sc-history-loaded.json b/mobile/rpc-foundation/goldens/sc-history-loaded.json index 2e6d7621018..9b28ac554a0 100644 --- a/mobile/rpc-foundation/goldens/sc-history-loaded.json +++ b/mobile/rpc-foundation/goldens/sc-history-loaded.json @@ -3,9 +3,9 @@ "family": "git.history-read", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "5e47c7960b9352753f0751d4ccf5e3ff7fb7b74a63cc4e4df3c3ffdcc6c1e66b", "scenarioSha256": "83f61085a91458bad529905ecc6fe240c598cddfe44a56dd497b8aed9fb8a7e5", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/sc-pr-link-hosted-review.json b/mobile/rpc-foundation/goldens/sc-pr-link-hosted-review.json index 87cb6d74b1a..55a99b2d4c3 100644 --- a/mobile/rpc-foundation/goldens/sc-pr-link-hosted-review.json +++ b/mobile/rpc-foundation/goldens/sc-pr-link-hosted-review.json @@ -3,9 +3,9 @@ "family": "worktree.review-link", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "5e47c7960b9352753f0751d4ccf5e3ff7fb7b74a63cc4e4df3c3ffdcc6c1e66b", "scenarioSha256": "42b0304b2fdce08b7ff52ec979dd9f199f368e5e4ef0b5370acc417909b592b3", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/sc-pr-link-read.json b/mobile/rpc-foundation/goldens/sc-pr-link-read.json index bbe80639fe6..afa2dbeb508 100644 --- a/mobile/rpc-foundation/goldens/sc-pr-link-read.json +++ b/mobile/rpc-foundation/goldens/sc-pr-link-read.json @@ -3,9 +3,9 @@ "family": "worktree.review-link", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "5e47c7960b9352753f0751d4ccf5e3ff7fb7b74a63cc4e4df3c3ffdcc6c1e66b", "scenarioSha256": "4520bd54a55eabfe6ec64a4b2f824f095f98b2fffd1bf22fe4f9ec7f63cbfa3f", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/sc-pr-link-set.json b/mobile/rpc-foundation/goldens/sc-pr-link-set.json index d11a49779d4..747c59fcf44 100644 --- a/mobile/rpc-foundation/goldens/sc-pr-link-set.json +++ b/mobile/rpc-foundation/goldens/sc-pr-link-set.json @@ -3,9 +3,9 @@ "family": "worktree.review-link", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "5e47c7960b9352753f0751d4ccf5e3ff7fb7b74a63cc4e4df3c3ffdcc6c1e66b", "scenarioSha256": "b65bad4f8c0ae0b686f6c3db93bd43ffa072ae426f978f1a86ad8008fb24fa24", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/sc-prefill-unavailable-on-refusal.json b/mobile/rpc-foundation/goldens/sc-prefill-unavailable-on-refusal.json index 4cc19ec06cd..e5039401343 100644 --- a/mobile/rpc-foundation/goldens/sc-prefill-unavailable-on-refusal.json +++ b/mobile/rpc-foundation/goldens/sc-prefill-unavailable-on-refusal.json @@ -3,9 +3,9 @@ "family": "hostedReview.eligibility", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "c582ce355b0704b38d7e84cbce352630096c91231bf09aecd1f6dbb409fed17f", "scenarioSha256": "9de96287a4dfa6cf5c9a8b683cc696fdc2cd387f86f231e22ee3f100a2e778e3", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/sc-prefill-unavailable-on-rejection.json b/mobile/rpc-foundation/goldens/sc-prefill-unavailable-on-rejection.json index 88d435bce53..0c3dd8ee2d3 100644 --- a/mobile/rpc-foundation/goldens/sc-prefill-unavailable-on-rejection.json +++ b/mobile/rpc-foundation/goldens/sc-prefill-unavailable-on-rejection.json @@ -3,9 +3,9 @@ "family": "hostedReview.eligibility", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "c582ce355b0704b38d7e84cbce352630096c91231bf09aecd1f6dbb409fed17f", "scenarioSha256": "adbdfcc3895cc04d830900de518e689c9e63f6f75569127e1fde24488658e8a0", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/sc-prerequisite-force-with-lease.json b/mobile/rpc-foundation/goldens/sc-prerequisite-force-with-lease.json index e87bbbdcd9c..8399b4e6079 100644 --- a/mobile/rpc-foundation/goldens/sc-prerequisite-force-with-lease.json +++ b/mobile/rpc-foundation/goldens/sc-prerequisite-force-with-lease.json @@ -3,9 +3,9 @@ "family": "git.remote-prerequisite", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "c582ce355b0704b38d7e84cbce352630096c91231bf09aecd1f6dbb409fed17f", "scenarioSha256": "ec2847b4af357d8564d8e0a9a1072713c1afd7ff86ba69e9c83c056a6841ee39", "platform": "darwin", @@ -62,13 +62,14 @@ } } }, + "3e471b70b788": { + "name": "progress", + "value": "force_pushing", + "sent": 0 + }, "ef6c20bf075b": { "name": "git.push#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.push\",\"params\":{\"worktree\":\"id:repo42::/p\",\"forceWithLease\":true}}" - }, - "f664712ae7ac": { - "name": "progress", - "value": "force_pushing" } }, "recording": { @@ -83,7 +84,7 @@ "apply": "00e8a3bac22f" }, "state": "0fe2eb2410a4", - "effects": ["f664712ae7ac"] + "effects": ["3e471b70b788"] } } ] diff --git a/mobile/rpc-foundation/goldens/sc-prerequisite-publish.json b/mobile/rpc-foundation/goldens/sc-prerequisite-publish.json index c6f5866b3bc..335553c1810 100644 --- a/mobile/rpc-foundation/goldens/sc-prerequisite-publish.json +++ b/mobile/rpc-foundation/goldens/sc-prerequisite-publish.json @@ -3,9 +3,9 @@ "family": "git.remote-prerequisite", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "c582ce355b0704b38d7e84cbce352630096c91231bf09aecd1f6dbb409fed17f", "scenarioSha256": "6cf6ebd20adc4cc76a12d3424863ee9db2b24f36593664a1f4e0e05de9a53d39", "platform": "darwin", @@ -32,6 +32,11 @@ "name": "git.push#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.push\",\"params\":{\"worktree\":\"id:repo42::/p\",\"publish\":true}}" }, + "8e30f48c04a4": { + "name": "progress", + "value": "publishing", + "sent": 0 + }, "b12e1ce5068c": { "name": "git.push#1", "args": [ @@ -65,10 +70,6 @@ } } } - }, - "dc538c734db2": { - "name": "progress", - "value": "publishing" } }, "recording": { @@ -83,7 +84,7 @@ "apply": "00e8a3bac22f" }, "state": "0fe2eb2410a4", - "effects": ["dc538c734db2"] + "effects": ["8e30f48c04a4"] } } ] diff --git a/mobile/rpc-foundation/goldens/sc-prerequisite-push.json b/mobile/rpc-foundation/goldens/sc-prerequisite-push.json index da29fb11607..5db72062fc0 100644 --- a/mobile/rpc-foundation/goldens/sc-prerequisite-push.json +++ b/mobile/rpc-foundation/goldens/sc-prerequisite-push.json @@ -3,9 +3,9 @@ "family": "git.remote-prerequisite", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "c582ce355b0704b38d7e84cbce352630096c91231bf09aecd1f6dbb409fed17f", "scenarioSha256": "e6e8197a541cd73e5811a1f28b0dbfc414a4d34c1ae6929fc1bbae1213820674", "platform": "darwin", @@ -28,9 +28,10 @@ "ran": true } }, - "60421d882fd2": { + "8c74af79c1cf": { "name": "progress", - "value": "pushing" + "value": "pushing", + "sent": 0 }, "9270aeb7d9c6": { "status": "pending", @@ -114,7 +115,7 @@ "apply": "9270aeb7d9c6" }, "state": "cf19981c2114", - "effects": ["60421d882fd2"] + "effects": ["8c74af79c1cf"] } }, { @@ -126,7 +127,7 @@ "apply": "00e8a3bac22f" }, "state": "0fe2eb2410a4", - "effects": ["60421d882fd2"] + "effects": ["8c74af79c1cf"] } } ] diff --git a/mobile/rpc-foundation/goldens/sc-prerequisite-skipped.json b/mobile/rpc-foundation/goldens/sc-prerequisite-skipped.json index 888440d3fb8..34fdce4dac5 100644 --- a/mobile/rpc-foundation/goldens/sc-prerequisite-skipped.json +++ b/mobile/rpc-foundation/goldens/sc-prerequisite-skipped.json @@ -3,9 +3,9 @@ "family": "git.remote-prerequisite", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "c582ce355b0704b38d7e84cbce352630096c91231bf09aecd1f6dbb409fed17f", "scenarioSha256": "523d1ee21e3871a4dffc32f48d2e28c31ecea48cbf3f842acffc8355be06b14b", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/sc-reveal-first-poll.json b/mobile/rpc-foundation/goldens/sc-reveal-first-poll.json index 428027eb01e..0d30683e294 100644 --- a/mobile/rpc-foundation/goldens/sc-reveal-first-poll.json +++ b/mobile/rpc-foundation/goldens/sc-reveal-first-poll.json @@ -3,9 +3,9 @@ "family": "session.tab-reveal", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "5e47c7960b9352753f0751d4ccf5e3ff7fb7b74a63cc4e4df3c3ffdcc6c1e66b", "scenarioSha256": "00b26cb279b0a934df98d93ba98a4a0c79e302c7690c582e778dc0156ab4f235", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/sc-reveal-timeout.json b/mobile/rpc-foundation/goldens/sc-reveal-timeout.json index a008df59c41..826be6b02dc 100644 --- a/mobile/rpc-foundation/goldens/sc-reveal-timeout.json +++ b/mobile/rpc-foundation/goldens/sc-reveal-timeout.json @@ -3,9 +3,9 @@ "family": "session.tab-reveal", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "5e47c7960b9352753f0751d4ccf5e3ff7fb7b74a63cc4e4df3c3ffdcc6c1e66b", "scenarioSha256": "fcd61f1ef46c42889827a87876239534b851c425f8ef7a9405ea95b8d07d2363", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/sc-review-commit-inner-failure.json b/mobile/rpc-foundation/goldens/sc-review-commit-inner-failure.json index 45bb2402e37..5f391bfe082 100644 --- a/mobile/rpc-foundation/goldens/sc-review-commit-inner-failure.json +++ b/mobile/rpc-foundation/goldens/sc-review-commit-inner-failure.json @@ -3,9 +3,9 @@ "family": "git.review-preparation", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "c582ce355b0704b38d7e84cbce352630096c91231bf09aecd1f6dbb409fed17f", "scenarioSha256": "db1fb2a584cd806028b9be861283a63aa4836c83f61558f3d518ddbb7a59498d", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/sc-review-commit-refused-empty-message.json b/mobile/rpc-foundation/goldens/sc-review-commit-refused-empty-message.json index 40beeb8b55b..ea6a9f68c73 100644 --- a/mobile/rpc-foundation/goldens/sc-review-commit-refused-empty-message.json +++ b/mobile/rpc-foundation/goldens/sc-review-commit-refused-empty-message.json @@ -3,9 +3,9 @@ "family": "git.review-preparation", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "c582ce355b0704b38d7e84cbce352630096c91231bf09aecd1f6dbb409fed17f", "scenarioSha256": "dba1676583dc832ef059285a6bd4c3eefe6be0230e42100cb9d7a125755d136b", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/sc-review-commit-rejected.json b/mobile/rpc-foundation/goldens/sc-review-commit-rejected.json index 078faa9be2f..0cc510b2993 100644 --- a/mobile/rpc-foundation/goldens/sc-review-commit-rejected.json +++ b/mobile/rpc-foundation/goldens/sc-review-commit-rejected.json @@ -3,9 +3,9 @@ "family": "git.review-preparation", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "c582ce355b0704b38d7e84cbce352630096c91231bf09aecd1f6dbb409fed17f", "scenarioSha256": "de079de9cc21bfb40da6e1431273b10c3e2a5b5402b91b2b8a85c8d7ac41bc97", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/sc-review-commit.json b/mobile/rpc-foundation/goldens/sc-review-commit.json index cf10a46d6ff..a3fa35e7976 100644 --- a/mobile/rpc-foundation/goldens/sc-review-commit.json +++ b/mobile/rpc-foundation/goldens/sc-review-commit.json @@ -3,9 +3,9 @@ "family": "git.review-preparation", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "c582ce355b0704b38d7e84cbce352630096c91231bf09aecd1f6dbb409fed17f", "scenarioSha256": "a29d518b2d075e8e4811404e0fcbf8948fbfe53a3aefbf0948cb2f2e622e8cbb", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/sc-review-status-entries-not-array.json b/mobile/rpc-foundation/goldens/sc-review-status-entries-not-array.json index 2ce6ecf5b47..a677d0bdbe9 100644 --- a/mobile/rpc-foundation/goldens/sc-review-status-entries-not-array.json +++ b/mobile/rpc-foundation/goldens/sc-review-status-entries-not-array.json @@ -3,9 +3,9 @@ "family": "git.review-preparation", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "c582ce355b0704b38d7e84cbce352630096c91231bf09aecd1f6dbb409fed17f", "scenarioSha256": "37ba7780ca9525ab313c0a9c781ce5bb26344e63af9272c32ae889621f383b2b", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/sc-review-status-normalized.json b/mobile/rpc-foundation/goldens/sc-review-status-normalized.json index c034531b532..f7c7cf581ce 100644 --- a/mobile/rpc-foundation/goldens/sc-review-status-normalized.json +++ b/mobile/rpc-foundation/goldens/sc-review-status-normalized.json @@ -3,9 +3,9 @@ "family": "git.review-preparation", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "c582ce355b0704b38d7e84cbce352630096c91231bf09aecd1f6dbb409fed17f", "scenarioSha256": "93193acd57d6f00abc8e6c22ec3a8f1ca6ce7c5808d906d0aa7c11e41dab4635", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/schedules-b3.json b/mobile/rpc-foundation/goldens/schedules-b3.json index 556c6383e4e..4b310744b5c 100644 --- a/mobile/rpc-foundation/goldens/schedules-b3.json +++ b/mobile/rpc-foundation/goldens/schedules-b3.json @@ -3,9 +3,9 @@ "family": "linear-detail-barrier", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "d3b7f33d810e1fa420ac41a628cde9fe4a9e65fd57f89fbca0a40fc7d74951ab", "scenarioSha256": "b59fb599dd3a5fbc79bb8602dcec4b1c51a392c662efab7efc8324fc718ce8de", "platform": "darwin", @@ -48,13 +48,10 @@ } } }, - "1474fb688cbe": { + "0e0abca05602": { "name": "detailError", - "value": "RPC interrupted by connection migration" - }, - "1696f2f90218": { - "name": "detailError", - "value": "comments transport error" + "value": "comments transport error", + "sent": 2 }, "210ccd4fdd98": { "name": "linear.getIssue#1", @@ -132,10 +129,6 @@ } } }, - "3b01c25bcd45": { - "name": "detailError", - "value": "" - }, "3cb9a384ce0e": { "name": "linear.issueComments#1", "args": [ @@ -265,6 +258,11 @@ } } }, + "56d172ecd2fe": { + "name": "detailLoading", + "value": true, + "sent": 0 + }, "58b60616b373": { "name": "linear.issueComments#1", "args": [ @@ -297,9 +295,10 @@ } } }, - "71339c38458c": { + "760b8f2ae31c": { "name": "detailError", - "value": "Request timed out: linear.getIssue" + "value": "Request timed out: linear.getIssue", + "sent": 2 }, "780aaf1d97be": { "error": "", @@ -308,16 +307,6 @@ "$rpc": "null" } }, - "7d21147e56c1": { - "name": "detailLoading", - "value": true - }, - "7d341b2cb946": { - "name": "detailPayload", - "value": { - "$rpc": "null" - } - }, "88573133f7d5": { "error": "RPC interrupted by connection migration", "loading": false, @@ -325,13 +314,22 @@ "$rpc": "null" } }, - "91a1c8142e23": { - "name": "detailLoading", - "value": false - }, - "99253302972b": { + "99482bc5b01e": { "name": "detailError", - "value": "linear.getIssue#1 rejected" + "value": "RPC interrupted by connection migration", + "sent": 2 + }, + "9bd1de5d9753": { + "name": "detailPayload", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "9d6ce9f28401": { + "name": "detailError", + "value": "", + "sent": 0 }, "a778223fed77": { "error": "linear.getIssue#1 rejected", @@ -376,6 +374,11 @@ } } }, + "cb552eff11a1": { + "name": "detailError", + "value": "linear.issueComments#1 rejected", + "sent": 2 + }, "cc1d7d1a2a81": { "name": "linear.getIssue#1", "args": [ @@ -452,18 +455,20 @@ "$rpc": "null" } }, - "dbf8961c1dc1": { + "df409b3cc9c2": { "name": "detailError", - "value": "linear.issueComments#1 rejected" + "value": "Connection lost", + "sent": 2 + }, + "e4f04d0c9aea": { + "name": "detailError", + "value": "linear.getIssue#1 rejected", + "sent": 2 }, "e7f73629d075": { "name": "linear.issueComments#1", "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.issueComments\",\"params\":{\"issueId\":\"issue-1\",\"workspaceId\":\"linear-workspace\"}}" }, - "ea91918fd5a8": { - "name": "detailError", - "value": "Connection lost" - }, "eb79a9b3682a": { "status": "fulfilled", "startedAt": 0, @@ -472,6 +477,11 @@ "$rpc": "undefined" } }, + "ee0c4638d266": { + "name": "detailLoading", + "value": false, + "sent": 2 + }, "fc4ce176400a": { "name": "linear.getIssue#1", "args": [ @@ -518,7 +528,7 @@ "mount": "eb79a9b3682a" }, "state": "780aaf1d97be", - "effects": ["7d341b2cb946", "3b01c25bcd45", "7d21147e56c1"] + "effects": ["9bd1de5d9753", "9d6ce9f28401", "56d172ecd2fe"] } }, { @@ -531,11 +541,11 @@ }, "state": "42903545f0f8", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "1696f2f90218", - "91a1c8142e23" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "0e0abca05602", + "ee0c4638d266" ] } }, @@ -549,11 +559,11 @@ }, "state": "42903545f0f8", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "1696f2f90218", - "91a1c8142e23" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "0e0abca05602", + "ee0c4638d266" ] } }, @@ -567,11 +577,11 @@ }, "state": "42903545f0f8", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "1696f2f90218", - "91a1c8142e23" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "0e0abca05602", + "ee0c4638d266" ] } }, @@ -585,11 +595,11 @@ }, "state": "a778223fed77", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "99253302972b", - "91a1c8142e23" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "e4f04d0c9aea", + "ee0c4638d266" ] } }, @@ -603,11 +613,11 @@ }, "state": "a778223fed77", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "99253302972b", - "91a1c8142e23" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "e4f04d0c9aea", + "ee0c4638d266" ] } }, @@ -621,11 +631,11 @@ }, "state": "24f3de063dfd", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "dbf8961c1dc1", - "91a1c8142e23" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "cb552eff11a1", + "ee0c4638d266" ] } }, @@ -639,11 +649,11 @@ }, "state": "24f3de063dfd", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "dbf8961c1dc1", - "91a1c8142e23" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "cb552eff11a1", + "ee0c4638d266" ] } }, @@ -657,11 +667,11 @@ }, "state": "a778223fed77", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "99253302972b", - "91a1c8142e23" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "e4f04d0c9aea", + "ee0c4638d266" ] } }, @@ -675,11 +685,11 @@ }, "state": "a778223fed77", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "99253302972b", - "91a1c8142e23" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "e4f04d0c9aea", + "ee0c4638d266" ] } }, @@ -693,11 +703,11 @@ }, "state": "fc6d55bc97ed", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "71339c38458c", - "91a1c8142e23" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "760b8f2ae31c", + "ee0c4638d266" ] } }, @@ -712,11 +722,11 @@ }, "state": "d40dd5c93d21", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "ea91918fd5a8", - "91a1c8142e23" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "df409b3cc9c2", + "ee0c4638d266" ] } }, @@ -731,11 +741,11 @@ }, "state": "88573133f7d5", "effects": [ - "7d341b2cb946", - "3b01c25bcd45", - "7d21147e56c1", - "1474fb688cbe", - "91a1c8142e23" + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "99482bc5b01e", + "ee0c4638d266" ] } } diff --git a/mobile/rpc-foundation/goldens/schedules-settings-home-providers-fulfilled.json b/mobile/rpc-foundation/goldens/schedules-settings-home-providers-fulfilled.json index 30d4c2b7289..cd71748b1b2 100644 --- a/mobile/rpc-foundation/goldens/schedules-settings-home-providers-fulfilled.json +++ b/mobile/rpc-foundation/goldens/schedules-settings-home-providers-fulfilled.json @@ -3,9 +3,9 @@ "family": "settings.home-providers", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "fbd311a377672a9335521c30734880eea1b04bab0aff367854c1deebcf66b105", "platform": "darwin", @@ -75,12 +75,6 @@ } } }, - "24054d93a95f": { - "name": "providers", - "value": { - "host-1": ["github"] - } - }, "27e92f99be15": { "name": "linear.status#1", "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" @@ -288,6 +282,13 @@ "name": "settings.get#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" }, + "8f1426c2f53b": { + "name": "providers", + "value": { + "host-1": ["github"] + }, + "sent": 3 + }, "a3c30fa6fdda": { "name": "linear.status#1", "args": [ @@ -606,7 +607,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } }, { @@ -630,7 +631,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } }, { @@ -642,7 +643,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } }, { @@ -654,7 +655,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } }, { @@ -666,7 +667,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } }, { @@ -678,7 +679,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } }, { @@ -690,7 +691,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } }, { @@ -702,7 +703,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } }, { @@ -714,7 +715,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } }, { @@ -727,7 +728,7 @@ "disconnect": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } }, { @@ -740,7 +741,7 @@ "cutover": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } } ] diff --git a/mobile/rpc-foundation/goldens/schedules-settings-new-tab-ssh.json b/mobile/rpc-foundation/goldens/schedules-settings-new-tab-ssh.json index 84b00d9421e..69711308ad9 100644 --- a/mobile/rpc-foundation/goldens/schedules-settings-new-tab-ssh.json +++ b/mobile/rpc-foundation/goldens/schedules-settings-new-tab-ssh.json @@ -3,9 +3,9 @@ "family": "settings-agent-read", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "448cdbd12f4f6a14bb33947bfbbb1837aebeb28979db70c62f2ba2fbb4d89c8f", "scenarioSha256": "2726d71130f623e3ad02c168c13269979ca6f84703bf1c5aaf36bd4432dfb516", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/schedules-settings-repo-metadata-fulfilled.json b/mobile/rpc-foundation/goldens/schedules-settings-repo-metadata-fulfilled.json index 561713d4919..817166d068a 100644 --- a/mobile/rpc-foundation/goldens/schedules-settings-repo-metadata-fulfilled.json +++ b/mobile/rpc-foundation/goldens/schedules-settings-repo-metadata-fulfilled.json @@ -3,9 +3,9 @@ "family": "settings.repo-metadata", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "664eba1468e229f9ac2dced262e7ad896ead01688dff4c570f397c3f8594efd7", "platform": "darwin", @@ -13,6 +13,14 @@ "projectionVersion": 2, "goldenFormatVersion": 5, "values": { + "01c17b40bd86": { + "name": "repoColorsByName", + "value": [ + ["Local", "#6366f1"], + ["Remote", "#f97316"] + ], + "sent": 1 + }, "02449e890487": { "name": "host.platform#1", "args": [ @@ -38,6 +46,13 @@ "startedAt": 0 } }, + "04741fa0bd91": { + "name": "hostPlatform", + "value": { + "$rpc": "null" + }, + "sent": 4 + }, "06eff8247d02": { "name": "settings.get#1", "args": [ @@ -232,10 +247,6 @@ "name": "ssh.listTargetSummaries#1", "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.listTargetSummaries\"}" }, - "388d7275af5f": { - "name": "hostPlatform", - "value": "linux" - }, "4335d4b6568f": { "name": "settings.get#1", "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" @@ -259,13 +270,6 @@ "name": "repo.list#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" }, - "7d956f17cf24": { - "name": "repoColorsByName", - "value": [ - ["Local", "#6366f1"], - ["Remote", "#f97316"] - ] - }, "7f85f28c922e": { "name": "host.platform#1", "args": [ @@ -369,10 +373,28 @@ } } }, + "85cc15d64d8b": { + "name": "repoHostIdByRepoId", + "value": [ + ["repo-1", "local"], + ["repo-2", "ssh:ssh-1"] + ], + "sent": 1 + }, "9270aeb7d9c6": { "status": "pending", "startedAt": 0 }, + "93f4efbf2bd5": { + "name": "hostPlatform", + "value": "linux", + "sent": 4 + }, + "94a0e83966bb": { + "name": "hostLabelById", + "value": [["ssh:ssh-1", "SSH"]], + "sent": 4 + }, "9acf4d7a0ba1": { "name": "host.platform#1", "args": [ @@ -404,9 +426,10 @@ } } }, - "a4830eb5b420": { - "name": "hostLabelById", - "value": [["ssh:ssh-1", "SSH"]] + "9b746c7d3d3a": { + "name": "repoIconsByName", + "value": [], + "sent": 1 }, "a7ffdd83bc7d": { "name": "host.platform#1", @@ -444,13 +467,6 @@ } } }, - "a95587e993a9": { - "name": "repoIdsByName", - "value": [ - ["Local", "repo-1"], - ["Remote", "repo-2"] - ] - }, "af6903aed166": { "name": "settings.get#1", "args": [ @@ -567,27 +583,10 @@ } } }, - "d228b095cad2": { - "name": "repoIconsByName", - "value": [] - }, - "d6a308f7b0ff": { - "name": "repoHostIdByRepoId", - "value": [ - ["repo-1", "local"], - ["repo-2", "ssh:ssh-1"] - ] - }, "df7cbc246ac0": { "name": "host.platform#1", "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"host.platform\"}" }, - "e24ce14b72e9": { - "name": "hostPlatform", - "value": { - "$rpc": "null" - } - }, "eb79a9b3682a": { "status": "fulfilled", "startedAt": 0, @@ -596,6 +595,14 @@ "$rpc": "undefined" } }, + "f070375a490f": { + "name": "repoIdsByName", + "value": [ + ["Local", "repo-1"], + ["Remote", "repo-2"] + ], + "sent": 1 + }, "f7539bb05693": { "name": "ssh.listTargetSummaries#1", "args": [ @@ -648,7 +655,7 @@ "load": "9270aeb7d9c6" }, "state": "6134b73f18d0", - "effects": ["7d956f17cf24", "d228b095cad2", "a95587e993a9", "d6a308f7b0ff"] + "effects": ["01c17b40bd86", "9b746c7d3d3a", "f070375a490f", "85cc15d64d8b"] } }, { @@ -662,12 +669,12 @@ }, "state": "071880b671a1", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "a4830eb5b420", - "388d7275af5f" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "94a0e83966bb", + "93f4efbf2bd5" ] } }, @@ -681,7 +688,7 @@ "load": "9270aeb7d9c6" }, "state": "6134b73f18d0", - "effects": ["7d956f17cf24", "d228b095cad2", "a95587e993a9", "d6a308f7b0ff"] + "effects": ["01c17b40bd86", "9b746c7d3d3a", "f070375a490f", "85cc15d64d8b"] } }, { @@ -695,12 +702,12 @@ }, "state": "071880b671a1", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "a4830eb5b420", - "388d7275af5f" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "94a0e83966bb", + "93f4efbf2bd5" ] } }, @@ -714,7 +721,7 @@ "load": "9270aeb7d9c6" }, "state": "6134b73f18d0", - "effects": ["7d956f17cf24", "d228b095cad2", "a95587e993a9", "d6a308f7b0ff"] + "effects": ["01c17b40bd86", "9b746c7d3d3a", "f070375a490f", "85cc15d64d8b"] } }, { @@ -728,12 +735,12 @@ }, "state": "1de50f3b4aac", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "a4830eb5b420", - "e24ce14b72e9" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "94a0e83966bb", + "04741fa0bd91" ] } }, @@ -747,7 +754,7 @@ "load": "9270aeb7d9c6" }, "state": "6134b73f18d0", - "effects": ["7d956f17cf24", "d228b095cad2", "a95587e993a9", "d6a308f7b0ff"] + "effects": ["01c17b40bd86", "9b746c7d3d3a", "f070375a490f", "85cc15d64d8b"] } }, { @@ -761,12 +768,12 @@ }, "state": "1de50f3b4aac", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "a4830eb5b420", - "e24ce14b72e9" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "94a0e83966bb", + "04741fa0bd91" ] } }, @@ -780,7 +787,7 @@ "load": "9270aeb7d9c6" }, "state": "6134b73f18d0", - "effects": ["7d956f17cf24", "d228b095cad2", "a95587e993a9", "d6a308f7b0ff"] + "effects": ["01c17b40bd86", "9b746c7d3d3a", "f070375a490f", "85cc15d64d8b"] } }, { @@ -793,7 +800,7 @@ "load": "9270aeb7d9c6" }, "state": "6134b73f18d0", - "effects": ["7d956f17cf24", "d228b095cad2", "a95587e993a9", "d6a308f7b0ff"] + "effects": ["01c17b40bd86", "9b746c7d3d3a", "f070375a490f", "85cc15d64d8b"] } }, { @@ -807,12 +814,12 @@ }, "state": "6134b73f18d0", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "a4830eb5b420", - "e24ce14b72e9" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "94a0e83966bb", + "04741fa0bd91" ] } }, @@ -827,12 +834,12 @@ }, "state": "1de50f3b4aac", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "a4830eb5b420", - "e24ce14b72e9" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "94a0e83966bb", + "04741fa0bd91" ] } }, @@ -848,12 +855,12 @@ }, "state": "1de50f3b4aac", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "a4830eb5b420", - "e24ce14b72e9" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "94a0e83966bb", + "04741fa0bd91" ] } }, @@ -869,12 +876,12 @@ }, "state": "1de50f3b4aac", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "a4830eb5b420", - "e24ce14b72e9" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "94a0e83966bb", + "04741fa0bd91" ] } } diff --git a/mobile/rpc-foundation/goldens/schedules-settings-resume-metadata-fulfilled.json b/mobile/rpc-foundation/goldens/schedules-settings-resume-metadata-fulfilled.json index f68cf880e8c..0ccef41a660 100644 --- a/mobile/rpc-foundation/goldens/schedules-settings-resume-metadata-fulfilled.json +++ b/mobile/rpc-foundation/goldens/schedules-settings-resume-metadata-fulfilled.json @@ -3,9 +3,9 @@ "family": "settings.resume-metadata", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "7bfba3fae1dc33acf40e8a955bbfccf28580b3daee3270dec6a15e6cefd45a84", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/schedules-settings-task-hydration-fulfilled.json b/mobile/rpc-foundation/goldens/schedules-settings-task-hydration-fulfilled.json index 9d742a9fe1c..97e8fe98e08 100644 --- a/mobile/rpc-foundation/goldens/schedules-settings-task-hydration-fulfilled.json +++ b/mobile/rpc-foundation/goldens/schedules-settings-task-hydration-fulfilled.json @@ -3,9 +3,9 @@ "family": "settings.task-hydration", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "02e3ca10296704b5478185e9d3dc0136596a2ee57580d7f9268672568dab4cd4", "platform": "darwin", @@ -13,21 +13,17 @@ "projectionVersion": 2, "goldenFormatVersion": 5, "values": { - "002ad269dd44": { - "name": "showLinearConnect", - "value": false + "00eea9f3200b": { + "name": "pendingGitHubProjectViewSelection", + "value": { + "$rpc": "null" + }, + "sent": 0 }, - "02d5832df83d": { - "name": "query", - "value": "is:issue is:open" - }, - "03f32b62aa80": { - "name": "showGitHubProjectViewPicker", - "value": false - }, - "068f4fd0ad0c": { - "name": "showRepoPicker", - "value": false + "01e1056d97a4": { + "name": "visibleProviders", + "value": ["github", "linear"], + "sent": 5 }, "06eff8247d02": { "name": "settings.get#1", @@ -65,6 +61,13 @@ } } }, + "073647d24ac4": { + "name": "actionItem", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, "090c88478661": { "name": "settings.get#1", "args": [ @@ -90,27 +93,25 @@ "startedAt": 0 } }, - "12388aa75326": { - "name": "projectRowItem", - "value": { - "$rpc": "null" - } + "12b5d58423cb": { + "name": "githubProjectHiddenFieldIdsByView", + "value": {}, + "sent": 5 }, - "1410db92f7e5": { - "name": "linearTeams", - "value": [] + "16348b11fcba": { + "name": "defaultGitHubPreset", + "value": "issues", + "sent": 5 }, - "149b4ddbd6c6": { - "name": "error", - "value": "RPC interrupted by connection migration" + "1dffb3fe8cd8": { + "name": "showLinearDisplayPicker", + "value": false, + "sent": 0 }, - "16f398d67267": { - "name": "linearConnected", - "value": false - }, - "1b3fd2de141f": { - "name": "showLinearOrderPicker", - "value": false + "1e1de8badcac": { + "name": "showLinearConnect", + "value": false, + "sent": 0 }, "1e5b32902af7": { "name": "status.get#1", @@ -149,9 +150,10 @@ } } }, - "1f96a2f943c0": { + "1fd209dc12de": { "name": "showGitLabViewPicker", - "value": false + "value": false, + "sent": 0 }, "234fabe27913": { "name": "preflight.check#1", @@ -178,51 +180,71 @@ "startedAt": 0 } }, - "321a59c40cce": { - "name": "showProviderPicker", - "value": false - }, - "326e3f8f7e0b": { - "name": "runtimeTaskSettings", + "28fa1cba5d1a": { + "name": "githubProjectSettings", "value": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } + "activeProject": { + "$rpc": "null" + }, + "lastViewByProject": {}, + "pinned": [], + "recent": [] + }, + "sent": 5 }, - "347cc433c473": { - "name": "projectRowDetail", - "value": { - "$rpc": "null" - } - }, - "367b8fc27ba4": { - "name": "showLinearViewPicker", - "value": false - }, - "38721e31cbb4": { - "name": "showGitHubProjectSortPicker", - "value": false - }, - "3e610f908f29": { - "name": "showCreateTask", - "value": false - }, - "3e9fac4d6c32": { + "2c04c960ee94": { "name": "showLinearTeamPicker", - "value": false + "value": false, + "sent": 0 }, - "42d2e0167dad": { - "name": "pendingGitHubProjectViewSelection", + "2e442e4df37c": { + "name": "showGitHubProjectFieldsPicker", + "value": false, + "sent": 0 + }, + "308ffd78bb89": { + "name": "linearFilter", + "value": "all", + "sent": 5 + }, + "334b82d94582": { + "name": "linearStatusPickerItem", "value": { "$rpc": "null" - } + }, + "sent": 0 }, - "45d50e768fcc": { - "name": "githubPreset", - "value": "issues" + "345762fe1fa4": { + "name": "showLinearOrderPicker", + "value": false, + "sent": 0 + }, + "3adce6077ae5": { + "name": "showCreateTargetPicker", + "value": false, + "sent": 0 + }, + "40eabccc0362": { + "name": "showProviderPicker", + "value": false, + "sent": 0 + }, + "416e38ac3c1e": { + "name": "githubMode", + "value": "items", + "sent": 5 + }, + "41be2620a06b": { + "name": "reset-workspace", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "45337ae88e11": { + "name": "error", + "value": "Connection lost", + "sent": 5 }, "47d40c6fb90c": { "name": "preflight.check#1", @@ -260,43 +282,22 @@ } } }, - "4a435aea04b4": { - "name": "showLinearFilterPicker", - "value": false + "4976dfca54f0": { + "name": "taskStateHydrated", + "value": false, + "sent": 5 }, - "4cc1535f7ccf": { - "name": "githubProjectHiddenFieldIdsByView", - "value": {} - }, - "4efedb5c24f1": { - "name": "selectedLinearWorkspaceId", + "546c38d1781a": { + "name": "mergeMethodProjectRow", "value": { "$rpc": "null" - } + }, + "sent": 0 }, - "5093ceeca936": { - "name": "showGitHubPagePicker", - "value": false - }, - "52bdddbac50f": { - "name": "trustedOrcaHooks", - "value": {} - }, - "54ea1a00a461": { - "name": "showGitHubProjectFieldsPicker", - "value": false - }, - "5731a23b16cd": { - "name": "selectedLinearTeamIds", - "value": [] - }, - "57da83afd125": { - "name": "taskStateHydrated", - "value": true - }, - "5851c3d3d9e0": { - "name": "error", - "value": "ui.get#1 rejected" + "58140f732f03": { + "name": "showLinearWorkspacePicker", + "value": false, + "sent": 0 }, "586159bf259e": { "name": "preflight.check#1", @@ -329,6 +330,11 @@ } } }, + "586d2ff60587": { + "name": "githubKind", + "value": "issues", + "sent": 5 + }, "58c52d8b7c76": { "hydrated": true, "settings": { @@ -339,12 +345,13 @@ "visibleTaskProviders": ["github", "linear"] } }, - "5b1145eb3832": { + "5e05b4814013": { "name": "tasksSupportState", "value": { "client": "logical-client", "kind": "supported" - } + }, + "sent": 1 }, "5fbdd64c75bc": { "name": "ui.get#1", @@ -371,6 +378,19 @@ "startedAt": 0 } }, + "63b9d87881e1": { + "name": "tasksSupportState", + "value": { + "client": "logical-client", + "kind": "unknown" + }, + "sent": 0 + }, + "685a5cc6be3d": { + "name": "error", + "value": "Request timed out: settings.get", + "sent": 5 + }, "68aa55411b15": { "name": "ui.get#1", "args": [ @@ -466,27 +486,24 @@ } } }, - "740d91a30846": { - "name": "pendingHostedStateChange", - "value": { - "$rpc": "null" - } - }, - "74a4162f39f8": { - "name": "githubKind", - "value": "issues" - }, - "7d341b2cb946": { - "name": "detailPayload", - "value": { - "$rpc": "null" - } - }, - "7f2e001f13e7": { + "758b8c1db523": { "name": "projectRepoNotInOrca", "value": { "$rpc": "null" - } + }, + "sent": 0 + }, + "76ef2e9da242": { + "name": "selectedLinearWorkspaceId", + "value": { + "$rpc": "null" + }, + "sent": 5 + }, + "78a159d9a918": { + "name": "showGitHubProjectViewPicker", + "value": false, + "sent": 0 }, "7fc945a92540": { "name": "settings.get#1", @@ -519,41 +536,100 @@ } } }, - "82cd71d524c8": { - "name": "error", - "value": "" - }, - "8372342e5a51": { - "name": "linearFilter", - "value": "all" - }, - "888c93f6f346": { - "name": "appliedQuery", - "value": "is:issue is:open" - }, - "8f287f21cfc4": { - "name": "defaultGitHubPreset", - "value": "issues" - }, - "8f30512a5135": { - "name": "error", - "value": "Request timed out: settings.get" - }, - "977e1de1ac2f": { + "85beb8cfde14": { "name": "mergeMethodTaskItem", "value": { "$rpc": "null" - } + }, + "sent": 0 }, - "991081048cc2": { - "name": "reset-workspace", + "86a763922cd7": { + "name": "appliedQuery", + "value": "is:issue is:open", + "sent": 5 + }, + "8810d8a1143b": { + "name": "error", + "value": "ui.get#1 rejected", + "sent": 5 + }, + "8832da75be8d": { + "name": "showGitHubPagePicker", + "value": false, + "sent": 0 + }, + "886ccf2737c7": { + "name": "showSortPicker", + "value": false, + "sent": 0 + }, + "8a2b4e3d0eed": { + "name": "trustedOrcaHooks", + "value": {}, + "sent": 5 + }, + "8a3cb00faee0": { + "name": "linearConnected", + "value": false, + "sent": 5 + }, + "8e5298b22c5f": { + "name": "projectRowDetail", "value": { "$rpc": "null" - } + }, + "sent": 0 }, - "9a0f810232ef": { - "name": "provider", - "value": "github" + "921e10a277e7": { + "name": "pendingHostedMerge", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "947cf7373dd6": { + "name": "linearTeams", + "value": [], + "sent": 5 + }, + "990d36ffab6d": { + "name": "error", + "value": "RPC interrupted by connection migration", + "sent": 5 + }, + "9b1d9febbcf6": { + "name": "showLinearGroupPicker", + "value": false, + "sent": 0 + }, + "9bd1de5d9753": { + "name": "detailPayload", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "9cc2d35c57dc": { + "name": "showGitLabFilterPicker", + "value": false, + "sent": 0 + }, + "9e19e2a66126": { + "name": "showRepoPicker", + "value": false, + "sent": 0 + }, + "9f93d78e416e": { + "name": "taskStateHydrated", + "value": true, + "sent": 5 + }, + "a060c9ebc224": { + "name": "pendingProjectGitHubMerge", + "value": { + "$rpc": "null" + }, + "sent": 0 }, "a1b99265507f": { "name": "ui.get#1", @@ -591,9 +667,10 @@ } } }, - "a211e64f0900": { - "name": "showLinearGroupPicker", - "value": false + "a2cc59889dc0": { + "name": "showGitHubKindPicker", + "value": false, + "sent": 0 }, "a4760ef5a9f4": { "name": "linear.status#1", @@ -620,9 +697,26 @@ "startedAt": 0 } }, - "a67d16a13986": { - "name": "githubMode", - "value": "items" + "a63e620951f0": { + "name": "selectedLinearTeamIds", + "value": [], + "sent": 5 + }, + "a91aca142b2e": { + "name": "showCreateTask", + "value": false, + "sent": 0 + }, + "aa095faa9afd": { + "name": "runtimeTaskSettings", + "value": { + "defaultTuiAgent": "codex", + "disabledTuiAgents": ["claude"], + "hostSettingOverrides": {}, + "prBotAuthorOverrides": ["bot-user"], + "visibleTaskProviders": ["github", "linear"] + }, + "sent": 5 }, "aa624b10c314": { "name": "linear.status#1", @@ -661,12 +755,6 @@ "name": "linear.status#1", "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" }, - "ac9996319e05": { - "name": "actionItem", - "value": { - "$rpc": "null" - } - }, "ae1d901c204f": { "name": "linear.status#1", "args": [ @@ -729,31 +817,17 @@ } } }, - "afdf1ac21a92": { - "name": "showCreateTargetPicker", - "value": false - }, - "b66eccd2062e": { - "name": "linearWorkspaces", - "value": [] - }, - "b7c9b524edd4": { - "name": "pendingHostedMerge", + "b341e832c60d": { + "name": "projectRowItem", "value": { "$rpc": "null" - } + }, + "sent": 0 }, - "b80be68cd059": { - "name": "showGitHubKindPicker", - "value": false - }, - "b82f9e80bd6a": { - "name": "showGitHubPresetPicker", - "value": false - }, - "b8ca6ac0e3ec": { - "name": "showLinearWorkspacePicker", - "value": false + "b9481aea1fae": { + "name": "taskStateHydrated", + "value": false, + "sent": 0 }, "ba4739591371": { "name": "linear.status#1", @@ -817,34 +891,34 @@ } } }, - "bbbd4bc0a4ef": { - "name": "taskStateHydrated", - "value": false + "bf998d79cda2": { + "name": "error", + "value": "settings.get#1 rejected", + "sent": 5 }, - "bc6d9aaa835c": { - "name": "showLinearDisplayPicker", - "value": false + "c0016b5b1033": { + "name": "showGitHubProjectPicker", + "value": false, + "sent": 0 }, - "bfd6af371d88": { - "name": "githubProjectSettings", - "value": { - "activeProject": { - "$rpc": "null" - }, - "lastViewByProject": {}, - "pinned": [], - "recent": [] - } + "c27ba127946c": { + "name": "linearWorkspaces", + "value": [], + "sent": 5 }, "c6178e6a0f4e": { "hydrated": false, "settings": {} }, - "c78894b47bfd": { - "name": "mergeMethodProjectRow", - "value": { - "$rpc": "null" - } + "c7fb67dfaaa0": { + "name": "showLinearViewPicker", + "value": false, + "sent": 0 + }, + "cbb40988c5a5": { + "name": "query", + "value": "is:issue is:open", + "sent": 5 }, "cdeb94d60934": { "name": "linear.status#1", @@ -882,13 +956,6 @@ } } }, - "ce5f2125a8c4": { - "name": "tasksSupportState", - "value": { - "client": "logical-client", - "kind": "unknown" - } - }, "d041d5155ed5": { "name": "settings.get#1", "args": [ @@ -920,9 +987,10 @@ } } }, - "d36257ed8dd7": { - "name": "error", - "value": "settings.get#1 rejected" + "d225c567feae": { + "name": "githubPreset", + "value": "issues", + "sent": 5 }, "d42b1a5610cf": { "name": "ui.get#1", @@ -955,9 +1023,15 @@ } } }, - "d47b67d8f357": { - "name": "showGitHubIssueSourcePicker", - "value": false + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "d4d3179bb79e": { + "name": "showGitHubPresetPicker", + "value": false, + "sent": 0 }, "d705fce957e8": { "name": "settings.get#1", @@ -998,14 +1072,6 @@ } } }, - "e23c248f269a": { - "name": "showSortPicker", - "value": false - }, - "e542d7c9af9f": { - "name": "showGitHubProjectPicker", - "value": false - }, "e5662efa8968": { "name": "preflight.check#1", "args": [ @@ -1045,14 +1111,22 @@ "name": "ui.get#1", "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"ui.get\"}" }, + "e69b48c9e675": { + "name": "pendingHostedStateChange", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "e8bff64c02da": { + "name": "showGitHubProjectSortPicker", + "value": false, + "sent": 0 + }, "eac54552d8bc": { "name": "settings.get#1", "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" }, - "eafaa34ddedb": { - "name": "visibleProviders", - "value": ["github", "linear"] - }, "eb79a9b3682a": { "status": "fulfilled", "startedAt": 0, @@ -1065,25 +1139,20 @@ "name": "preflight.check#1", "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.check\"}" }, - "f19db62f49cd": { - "name": "showGitLabFilterPicker", - "value": false + "f40b9d8aa1eb": { + "name": "showLinearFilterPicker", + "value": false, + "sent": 0 }, - "f7c5ddb715d7": { - "name": "pendingProjectGitHubMerge", - "value": { - "$rpc": "null" - } + "f95005ae133d": { + "name": "provider", + "value": "github", + "sent": 5 }, - "fa7ce9018e50": { - "name": "error", - "value": "Connection lost" - }, - "fb70d4271ae2": { - "name": "linearStatusPickerItem", - "value": { - "$rpc": "null" - } + "feb5f42359fb": { + "name": "showGitHubIssueSourcePicker", + "value": false, + "sent": 0 } }, "recording": { @@ -1111,46 +1180,46 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c" ] } }, @@ -1176,65 +1245,65 @@ }, "state": "58c52d8b7c76", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "326e3f8f7e0b", - "52bdddbac50f", - "4cc1535f7ccf", - "16f398d67267", - "b66eccd2062e", - "1410db92f7e5", - "5731a23b16cd", - "4efedb5c24f1", - "eafaa34ddedb", - "9a0f810232ef", - "a67d16a13986", - "8f287f21cfc4", - "45d50e768fcc", - "74a4162f39f8", - "8372342e5a51", - "bfd6af371d88", - "02d5832df83d", - "888c93f6f346", - "57da83afd125" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "aa095faa9afd", + "8a2b4e3d0eed", + "12b5d58423cb", + "8a3cb00faee0", + "c27ba127946c", + "947cf7373dd6", + "a63e620951f0", + "76ef2e9da242", + "01e1056d97a4", + "f95005ae133d", + "416e38ac3c1e", + "16348b11fcba", + "d225c567feae", + "586d2ff60587", + "308ffd78bb89", + "28fa1cba5d1a", + "cbb40988c5a5", + "86a763922cd7", + "9f93d78e416e" ] } }, @@ -1260,46 +1329,46 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c" ] } }, @@ -1325,65 +1394,65 @@ }, "state": "58c52d8b7c76", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "326e3f8f7e0b", - "52bdddbac50f", - "4cc1535f7ccf", - "16f398d67267", - "b66eccd2062e", - "1410db92f7e5", - "5731a23b16cd", - "4efedb5c24f1", - "eafaa34ddedb", - "9a0f810232ef", - "a67d16a13986", - "8f287f21cfc4", - "45d50e768fcc", - "74a4162f39f8", - "8372342e5a51", - "bfd6af371d88", - "02d5832df83d", - "888c93f6f346", - "57da83afd125" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "aa095faa9afd", + "8a2b4e3d0eed", + "12b5d58423cb", + "8a3cb00faee0", + "c27ba127946c", + "947cf7373dd6", + "a63e620951f0", + "76ef2e9da242", + "01e1056d97a4", + "f95005ae133d", + "416e38ac3c1e", + "16348b11fcba", + "d225c567feae", + "586d2ff60587", + "308ffd78bb89", + "28fa1cba5d1a", + "cbb40988c5a5", + "86a763922cd7", + "9f93d78e416e" ] } }, @@ -1409,48 +1478,48 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "d36257ed8dd7", - "bbbd4bc0a4ef" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "bf998d79cda2", + "4976dfca54f0" ] } }, @@ -1476,48 +1545,48 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "d36257ed8dd7", - "bbbd4bc0a4ef" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "bf998d79cda2", + "4976dfca54f0" ] } }, @@ -1543,48 +1612,48 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "5851c3d3d9e0", - "bbbd4bc0a4ef" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "8810d8a1143b", + "4976dfca54f0" ] } }, @@ -1610,48 +1679,48 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "5851c3d3d9e0", - "bbbd4bc0a4ef" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "8810d8a1143b", + "4976dfca54f0" ] } }, @@ -1677,48 +1746,48 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "d36257ed8dd7", - "bbbd4bc0a4ef" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "bf998d79cda2", + "4976dfca54f0" ] } }, @@ -1744,48 +1813,48 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "d36257ed8dd7", - "bbbd4bc0a4ef" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "bf998d79cda2", + "4976dfca54f0" ] } }, @@ -1811,48 +1880,48 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "8f30512a5135", - "bbbd4bc0a4ef" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "685a5cc6be3d", + "4976dfca54f0" ] } }, @@ -1879,48 +1948,48 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "fa7ce9018e50", - "bbbd4bc0a4ef" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "45337ae88e11", + "4976dfca54f0" ] } }, @@ -1947,48 +2016,48 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "149b4ddbd6c6", - "bbbd4bc0a4ef" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "990d36ffab6d", + "4976dfca54f0" ] } } diff --git a/mobile/rpc-foundation/goldens/schedules-settings-workspace-context-fulfilled.json b/mobile/rpc-foundation/goldens/schedules-settings-workspace-context-fulfilled.json index 7fb20d98a13..8213b62afcb 100644 --- a/mobile/rpc-foundation/goldens/schedules-settings-workspace-context-fulfilled.json +++ b/mobile/rpc-foundation/goldens/schedules-settings-workspace-context-fulfilled.json @@ -3,9 +3,9 @@ "family": "settings.workspace-context", "namedDeltas": ["new-workspace-runtime-context-null-results-degrade-to-absent"], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "eb980fc027ca0200212ba6ad3bf9a1ab3460936a7bb4b04353a9462eecd287a1", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/session-create-browser-refused.json b/mobile/rpc-foundation/goldens/session-create-browser-refused.json new file mode 100644 index 00000000000..9a4dd9a4f17 --- /dev/null +++ b/mobile/rpc-foundation/goldens/session-create-browser-refused.json @@ -0,0 +1,95 @@ +{ + "operation": "session.content-create", + "family": "session.content-create", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "562c2f4ab669e774dd7045ecd9518e483845433fef6034688090f3b056df2815", + "scenarioSha256": "59b5f0aac2f8c1aab5fc3a457fb69e1a2f46cc88c617c25e638175acb7f7c0cb", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "7ed3d39f0607": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": false + }, + "bb05a6069ebb": { + "name": "browser.tabCreate#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"browser.tabCreate\",\"params\":{\"worktree\":\"id:workspace-1\",\"url\":\"https://example.com/\",\"activate\":true}}" + }, + "c0b693ccb37f": { + "name": "toast", + "value": { + "message": "Browser unavailable" + }, + "sent": 1 + }, + "dd0b5e7b9130": { + "createError": "Browser unavailable", + "creatingBrowser": false, + "creatingMarkdown": false, + "pendingBrowserFocusPageId": { + "$rpc": "null" + } + }, + "e9f47954fab6": { + "name": "browser.tabCreate#1", + "args": [ + { + "name": "method", + "value": "browser.tabCreate" + }, + { + "name": "params", + "value": { + "activate": true, + "url": "https://example.com/", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "browser_unavailable", + "message": "Browser unavailable" + }, + "id": "frame-1", + "ok": false + } + } + } + }, + "recording": { + "scenario": "session-create-browser-refused", + "checkpoints": [ + { + "id": "refused", + "observation": { + "sender": ["e9f47954fab6"], + "payloads": ["bb05a6069ebb"], + "settlements": { + "browser": "7ed3d39f0607" + }, + "state": "dd0b5e7b9130", + "effects": ["c0b693ccb37f"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/session-create-browser-tab.json b/mobile/rpc-foundation/goldens/session-create-browser-tab.json new file mode 100644 index 00000000000..d826a8c6850 --- /dev/null +++ b/mobile/rpc-foundation/goldens/session-create-browser-tab.json @@ -0,0 +1,95 @@ +{ + "operation": "session.content-create", + "family": "session.content-create", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "562c2f4ab669e774dd7045ecd9518e483845433fef6034688090f3b056df2815", + "scenarioSha256": "36dbd24dc3d24be8c14217ced1963d10ef8264438729dd146cbff79d9fbdf279", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "07d997e5200c": { + "name": "browser.tabCreate#1", + "args": [ + { + "name": "method", + "value": "browser.tabCreate" + }, + { + "name": "params", + "value": { + "activate": true, + "url": "https://example.com/", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "browserPageId": "page-1" + } + } + } + }, + "84e5ca07cb7a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": true + }, + "bb05a6069ebb": { + "name": "browser.tabCreate#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"browser.tabCreate\",\"params\":{\"worktree\":\"id:workspace-1\",\"url\":\"https://example.com/\",\"activate\":true}}" + }, + "c859631e4bcf": { + "name": "fetch-pending-browser-tabs", + "value": {}, + "sent": 1 + }, + "ea918e983453": { + "name": "fetch-session-tabs", + "value": {}, + "sent": 1 + }, + "f1e12d7f04c7": { + "createError": "", + "creatingBrowser": false, + "creatingMarkdown": false, + "pendingBrowserFocusPageId": "page-1" + } + }, + "recording": { + "scenario": "session-create-browser-tab", + "checkpoints": [ + { + "id": "created", + "observation": { + "sender": ["07d997e5200c"], + "payloads": ["bb05a6069ebb"], + "settlements": { + "browser": "84e5ca07cb7a" + }, + "state": "f1e12d7f04c7", + "effects": ["ea918e983453", "c859631e4bcf", "c859631e4bcf"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/session-create-markdown-name-collision.json b/mobile/rpc-foundation/goldens/session-create-markdown-name-collision.json new file mode 100644 index 00000000000..e4685d0d82a --- /dev/null +++ b/mobile/rpc-foundation/goldens/session-create-markdown-name-collision.json @@ -0,0 +1,260 @@ +{ + "operation": "session.content-create", + "family": "session.content-create", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "562c2f4ab669e774dd7045ecd9518e483845433fef6034688090f3b056df2815", + "scenarioSha256": "be8d4b4be07b0ee5988471b26813d7d0d2a97fbd789b52e7ce00dd09a2e9d75c", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "13a89fc89dab": { + "name": "files.createFile#2", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"files.createFile\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"untitled-2.md\",\"expectedExecutionHostId\":\"local\"}}" + }, + "1516e9dc6c00": { + "name": "files.createFile#2", + "args": [ + { + "name": "method", + "value": "files.createFile" + }, + { + "name": "params", + "value": { + "expectedExecutionHostId": "local", + "relativePath": "untitled-2.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "created": true + } + } + } + }, + "1ae76b6c393a": { + "name": "files.createFile#1", + "args": [ + { + "name": "method", + "value": "files.createFile" + }, + { + "name": "params", + "value": { + "expectedExecutionHostId": "local", + "relativePath": "untitled.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "file_exists", + "message": "File already exists" + }, + "id": "frame-3", + "ok": false + } + } + }, + "1e5b32902af7": { + "name": "status.get#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "28f2fcd8bdba": { + "name": "files.open#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"files.open\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"untitled-2.md\"}}" + }, + "8bdc2aec524d": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "worktree": { + "hostId": "local" + } + } + } + } + }, + "9199aee60486": { + "name": "worktree.show#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:workspace-1\"}}" + }, + "a56852d6836b": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "capabilities": ["files.mutation-ownership.v1"] + } + } + } + }, + "c9a43ed104a1": { + "name": "fetch-session-tabs", + "value": {}, + "sent": 5 + }, + "d574cdcd4bef": { + "createError": "", + "creatingBrowser": false, + "creatingMarkdown": false, + "pendingBrowserFocusPageId": { + "$rpc": "null" + } + }, + "e344f453f8a0": { + "name": "files.createFile#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"files.createFile\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"untitled.md\",\"expectedExecutionHostId\":\"local\"}}" + }, + "e841975c6b30": { + "name": "files.open#1", + "args": [ + { + "name": "method", + "value": "files.open" + }, + { + "name": "params", + "value": { + "relativePath": "untitled-2.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "opened": true + } + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "session-create-markdown-name-collision", + "checkpoints": [ + { + "id": "created-second", + "observation": { + "sender": [ + "a56852d6836b", + "8bdc2aec524d", + "1ae76b6c393a", + "1516e9dc6c00", + "e841975c6b30" + ], + "payloads": [ + "1e5b32902af7", + "9199aee60486", + "e344f453f8a0", + "13a89fc89dab", + "28f2fcd8bdba" + ], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "d574cdcd4bef", + "effects": ["c9a43ed104a1"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/session-create-markdown-note.json b/mobile/rpc-foundation/goldens/session-create-markdown-note.json new file mode 100644 index 00000000000..ae943c2debf --- /dev/null +++ b/mobile/rpc-foundation/goldens/session-create-markdown-note.json @@ -0,0 +1,208 @@ +{ + "operation": "session.content-create", + "family": "session.content-create", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "562c2f4ab669e774dd7045ecd9518e483845433fef6034688090f3b056df2815", + "scenarioSha256": "4118eea1175cba0f15174072f5715f9054ded09a4cb0c359fc4ee41ad00e9440", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "085ee12ac483": { + "name": "fetch-session-tabs", + "value": {}, + "sent": 4 + }, + "1e5b32902af7": { + "name": "status.get#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "37cca55d53d5": { + "name": "files.open#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"files.open\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"untitled.md\"}}" + }, + "4267c22fd1f9": { + "name": "files.createFile#1", + "args": [ + { + "name": "method", + "value": "files.createFile" + }, + { + "name": "params", + "value": { + "expectedExecutionHostId": "local", + "relativePath": "untitled.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "created": true + } + } + } + }, + "8bdc2aec524d": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "worktree": { + "hostId": "local" + } + } + } + } + }, + "9199aee60486": { + "name": "worktree.show#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:workspace-1\"}}" + }, + "a56852d6836b": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "undefined" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "capabilities": ["files.mutation-ownership.v1"] + } + } + } + }, + "d38c135a5752": { + "name": "files.open#1", + "args": [ + { + "name": "method", + "value": "files.open" + }, + { + "name": "params", + "value": { + "relativePath": "untitled.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "opened": true + } + } + } + }, + "d574cdcd4bef": { + "createError": "", + "creatingBrowser": false, + "creatingMarkdown": false, + "pendingBrowserFocusPageId": { + "$rpc": "null" + } + }, + "e344f453f8a0": { + "name": "files.createFile#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"files.createFile\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"untitled.md\",\"expectedExecutionHostId\":\"local\"}}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "session-create-markdown-note", + "checkpoints": [ + { + "id": "created", + "observation": { + "sender": ["a56852d6836b", "8bdc2aec524d", "4267c22fd1f9", "d38c135a5752"], + "payloads": ["1e5b32902af7", "9199aee60486", "e344f453f8a0", "37cca55d53d5"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "d574cdcd4bef", + "effects": ["085ee12ac483"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/session-diff-notes-load-refused.json b/mobile/rpc-foundation/goldens/session-diff-notes-load-refused.json new file mode 100644 index 00000000000..397b6514970 --- /dev/null +++ b/mobile/rpc-foundation/goldens/session-diff-notes-load-refused.json @@ -0,0 +1,87 @@ +{ + "operation": "session.diff-notes", + "family": "session.diff-notes", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "42334358b5e5966001639653b553f15033f6e201d785107871fe056536f0a5e2", + "scenarioSha256": "5ab16800f82813778078e84739e0ac72886c145d20789dedcea9428ee31b9182", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "03647b94e7bf": { + "name": "worktree.show#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:workspace-1\"}}" + }, + "432aeb4f1709": { + "busy": false, + "diffComments": [], + "pendingDelivery": { + "$rpc": "null" + } + }, + "db47451011c5": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "worktree_not_found", + "message": "No such workspace" + }, + "id": "frame-1", + "ok": false + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "session-diff-notes-load-refused", + "checkpoints": [ + { + "id": "unchanged", + "observation": { + "sender": ["db47451011c5"], + "payloads": ["03647b94e7bf"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "432aeb4f1709", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/session-diff-notes-loaded.json b/mobile/rpc-foundation/goldens/session-diff-notes-loaded.json new file mode 100644 index 00000000000..81ed3284fbd --- /dev/null +++ b/mobile/rpc-foundation/goldens/session-diff-notes-loaded.json @@ -0,0 +1,129 @@ +{ + "operation": "session.diff-notes", + "family": "session.diff-notes", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "42334358b5e5966001639653b553f15033f6e201d785107871fe056536f0a5e2", + "scenarioSha256": "795286ff495a243059a3eb55ccbbc9b4adfdd2034258f91f9182e83c7492fa60", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "03647b94e7bf": { + "name": "worktree.show#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:workspace-1\"}}" + }, + "aca7af380492": { + "name": "worktree.show#1", + "args": [ + { + "name": "method", + "value": "worktree.show" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "worktree": { + "diffComments": [ + { + "body": "needs a test", + "createdAt": 0, + "filePath": "src/app.ts", + "id": "note-1", + "lineNumber": 4, + "worktreeId": "workspace-1" + } + ] + } + } + } + } + }, + "e28b1ad79121": { + "busy": false, + "diffComments": [ + { + "body": "needs a test", + "createdAt": 0, + "diffIdentity": { + "$rpc": "undefined" + }, + "filePath": "src/app.ts", + "id": "note-1", + "lineNumber": 4, + "oldPath": { + "$rpc": "undefined" + }, + "scope": { + "$rpc": "undefined" + }, + "selectedText": { + "$rpc": "undefined" + }, + "sentAt": { + "$rpc": "undefined" + }, + "side": "modified", + "source": "diff", + "startLine": { + "$rpc": "undefined" + }, + "updatedAt": { + "$rpc": "undefined" + }, + "worktreeId": "workspace-1" + } + ], + "pendingDelivery": { + "$rpc": "null" + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "session-diff-notes-loaded", + "checkpoints": [ + { + "id": "loaded", + "observation": { + "sender": ["aca7af380492"], + "payloads": ["03647b94e7bf"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "e28b1ad79121", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/session-file-tab-read.json b/mobile/rpc-foundation/goldens/session-file-tab-read.json new file mode 100644 index 00000000000..f3c09305d45 --- /dev/null +++ b/mobile/rpc-foundation/goldens/session-file-tab-read.json @@ -0,0 +1,94 @@ +{ + "operation": "session.tab-documents", + "family": "session.tab-documents", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "a3daf9a05d05424959baf77feb45cb0c076d77d8c49e877941ed612cc1e5ce95", + "scenarioSha256": "82c1d8e87e0a87c1c1a6dba7bd4f61e08f77fe0ae1b3758d1b5543bd9719a53f", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "06d27c3812c2": { + "name": "files.read#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.read\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"src/app.ts\"}}" + }, + "5ea03f95e781": { + "file": { + "tab-file": { + "byteLength": 2, + "content": "a\n", + "kind": "file", + "status": "ready", + "truncated": false + } + }, + "markdown": {} + }, + "d2e653f33d26": { + "name": "files.read#1", + "args": [ + { + "name": "method", + "value": "files.read" + }, + { + "name": "params", + "value": { + "relativePath": "src/app.ts", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "byteLength": 2, + "content": "a\n", + "truncated": false + } + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "session-file-tab-read", + "checkpoints": [ + { + "id": "read", + "observation": { + "sender": ["d2e653f33d26"], + "payloads": ["06d27c3812c2"], + "settlements": { + "file": "eb79a9b3682a" + }, + "state": "5ea03f95e781", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/session-markdown-save-conflict.json b/mobile/rpc-foundation/goldens/session-markdown-save-conflict.json new file mode 100644 index 00000000000..bac5c4a3188 --- /dev/null +++ b/mobile/rpc-foundation/goldens/session-markdown-save-conflict.json @@ -0,0 +1,97 @@ +{ + "operation": "session.markdown-save", + "family": "session.markdown-save", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "42334358b5e5966001639653b553f15033f6e201d785107871fe056536f0a5e2", + "scenarioSha256": "76bccdabb78dc3f16b36987f6b7cefbe41e08167fe39612620e27ad476089f93", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0d00673cd931": { + "name": "markdown.saveTab#1", + "args": [ + { + "name": "method", + "value": "markdown.saveTab" + }, + { + "name": "params", + "value": { + "baseVersion": "v1", + "content": "# b", + "tabId": "tab-md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "version_conflict", + "message": "Document changed on disk" + }, + "id": "frame-1", + "ok": false + } + } + }, + "aa5c91b36a35": { + "markdown": { + "tab-md": { + "baseVersion": "v1", + "content": "# a", + "editable": true, + "isDirty": true, + "localContent": "# b", + "saveError": "Document changed on disk", + "saving": false, + "status": "ready" + } + } + }, + "be35c536a20e": { + "name": "markdown.saveTab#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"markdown.saveTab\",\"params\":{\"worktree\":\"id:workspace-1\",\"tabId\":\"tab-md\",\"baseVersion\":\"v1\",\"content\":\"# b\"}}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "session-markdown-save-conflict", + "checkpoints": [ + { + "id": "conflicted", + "observation": { + "sender": ["0d00673cd931"], + "payloads": ["be35c536a20e"], + "settlements": { + "save": "eb79a9b3682a" + }, + "state": "aa5c91b36a35", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/session-markdown-saved.json b/mobile/rpc-foundation/goldens/session-markdown-saved.json new file mode 100644 index 00000000000..890d0a1e34d --- /dev/null +++ b/mobile/rpc-foundation/goldens/session-markdown-saved.json @@ -0,0 +1,103 @@ +{ + "operation": "session.markdown-save", + "family": "session.markdown-save", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "42334358b5e5966001639653b553f15033f6e201d785107871fe056536f0a5e2", + "scenarioSha256": "a2b5b73b2455f9efc48361e4b96ab1d3ecc3d136459403c9c3678104604cd774", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "36de5fd645a3": { + "markdown": { + "tab-md": { + "baseVersion": "v2", + "content": "# b", + "editable": true, + "isDirty": false, + "localContent": "# b", + "status": "ready" + } + } + }, + "976e04874a1e": { + "name": "toast", + "value": { + "message": "Saved" + }, + "sent": 1 + }, + "a06e17cbe383": { + "name": "markdown.saveTab#1", + "args": [ + { + "name": "method", + "value": "markdown.saveTab" + }, + { + "name": "params", + "value": { + "baseVersion": "v1", + "content": "# b", + "tabId": "tab-md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "content": "# b", + "isDirty": false, + "version": "v2" + } + } + } + }, + "be35c536a20e": { + "name": "markdown.saveTab#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"markdown.saveTab\",\"params\":{\"worktree\":\"id:workspace-1\",\"tabId\":\"tab-md\",\"baseVersion\":\"v1\",\"content\":\"# b\"}}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "session-markdown-saved", + "checkpoints": [ + { + "id": "saved", + "observation": { + "sender": ["a06e17cbe383"], + "payloads": ["be35c536a20e"], + "settlements": { + "save": "eb79a9b3682a" + }, + "state": "36de5fd645a3", + "effects": ["976e04874a1e"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/session-markdown-tab-disk-fallback.json b/mobile/rpc-foundation/goldens/session-markdown-tab-disk-fallback.json new file mode 100644 index 00000000000..1fbfceef61a --- /dev/null +++ b/mobile/rpc-foundation/goldens/session-markdown-tab-disk-fallback.json @@ -0,0 +1,136 @@ +{ + "operation": "session.tab-documents", + "family": "session.tab-documents", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "a3daf9a05d05424959baf77feb45cb0c076d77d8c49e877941ed612cc1e5ce95", + "scenarioSha256": "f46cef9d1c6a5ed6d8b6f1d180cdf5c666f52e043b70feb07e5fccee885ceeda", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "10a4d64eaaba": { + "name": "files.read#1", + "args": [ + { + "name": "method", + "value": "files.read" + }, + { + "name": "params", + "value": { + "relativePath": "docs/readme.md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "byteLength": 6, + "content": "# disk", + "truncated": false + } + } + } + }, + "82537e84c006": { + "name": "markdown.readTab#1", + "args": [ + { + "name": "method", + "value": "markdown.readTab" + }, + { + "name": "params", + "value": { + "tabId": "tab-md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "renderer_unavailable", + "message": "Renderer unavailable" + }, + "id": "frame-1", + "ok": false + } + } + }, + "b084676e5f8f": { + "name": "markdown.readTab#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"markdown.readTab\",\"params\":{\"worktree\":\"id:workspace-1\",\"tabId\":\"tab-md\"}}" + }, + "c6cea5310098": { + "file": {}, + "markdown": { + "tab-md": { + "baseVersion": "", + "content": "# disk", + "editable": false, + "isDirty": false, + "localContent": "# disk", + "readOnlyReason": "Editing needs Orca desktop running.", + "stale": false, + "status": "ready" + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ff6e4cc603b2": { + "name": "files.read#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"files.read\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"docs/readme.md\"}}" + } + }, + "recording": { + "scenario": "session-markdown-tab-disk-fallback", + "checkpoints": [ + { + "id": "fell-back", + "observation": { + "sender": ["82537e84c006", "10a4d64eaaba"], + "payloads": ["b084676e5f8f", "ff6e4cc603b2"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "c6cea5310098", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/session-markdown-tab-read.json b/mobile/rpc-foundation/goldens/session-markdown-tab-read.json new file mode 100644 index 00000000000..63a7d12e629 --- /dev/null +++ b/mobile/rpc-foundation/goldens/session-markdown-tab-read.json @@ -0,0 +1,100 @@ +{ + "operation": "session.tab-documents", + "family": "session.tab-documents", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "a3daf9a05d05424959baf77feb45cb0c076d77d8c49e877941ed612cc1e5ce95", + "scenarioSha256": "f88c39d410655b229aa740b45ccdaa10186f41f7c6cbff9fed6eaee3f0a55844", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "38b08634cae3": { + "name": "markdown.readTab#1", + "args": [ + { + "name": "method", + "value": "markdown.readTab" + }, + { + "name": "params", + "value": { + "tabId": "tab-md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "content": "# a", + "editable": true, + "isDirty": false, + "version": "v1" + } + } + } + }, + "b084676e5f8f": { + "name": "markdown.readTab#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"markdown.readTab\",\"params\":{\"worktree\":\"id:workspace-1\",\"tabId\":\"tab-md\"}}" + }, + "d4cf305b17f8": { + "file": {}, + "markdown": { + "tab-md": { + "baseVersion": "v1", + "content": "# a", + "editable": true, + "isDirty": false, + "localContent": "# a", + "readOnlyReason": { + "$rpc": "undefined" + }, + "stale": false, + "status": "ready" + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "session-markdown-tab-read", + "checkpoints": [ + { + "id": "read", + "observation": { + "sender": ["38b08634cae3"], + "payloads": ["b084676e5f8f"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "d4cf305b17f8", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/session-markdown-tab-refused.json b/mobile/rpc-foundation/goldens/session-markdown-tab-refused.json new file mode 100644 index 00000000000..08f344f5ea0 --- /dev/null +++ b/mobile/rpc-foundation/goldens/session-markdown-tab-refused.json @@ -0,0 +1,90 @@ +{ + "operation": "session.tab-documents", + "family": "session.tab-documents", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "a3daf9a05d05424959baf77feb45cb0c076d77d8c49e877941ed612cc1e5ce95", + "scenarioSha256": "63227f28110e90acac78058baa875b1bc7f8895b5033e47016a2ffa9f42f66ce", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "287a8e550afb": { + "name": "markdown.readTab#1", + "args": [ + { + "name": "method", + "value": "markdown.readTab" + }, + { + "name": "params", + "value": { + "tabId": "tab-md", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "tab_not_found", + "message": "No such tab" + }, + "id": "frame-1", + "ok": false + } + } + }, + "877720375363": { + "file": {}, + "markdown": { + "tab-md": { + "message": "Couldn't load markdown", + "status": "error" + } + } + }, + "b084676e5f8f": { + "name": "markdown.readTab#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"markdown.readTab\",\"params\":{\"worktree\":\"id:workspace-1\",\"tabId\":\"tab-md\"}}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "session-markdown-tab-refused", + "checkpoints": [ + { + "id": "errored", + "observation": { + "sender": ["287a8e550afb"], + "payloads": ["b084676e5f8f"], + "settlements": { + "markdown": "eb79a9b3682a" + }, + "state": "877720375363", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/session-tab-activation-focus-and-activate.json b/mobile/rpc-foundation/goldens/session-tab-activation-focus-and-activate.json new file mode 100644 index 00000000000..3dd023ccb6b --- /dev/null +++ b/mobile/rpc-foundation/goldens/session-tab-activation-focus-and-activate.json @@ -0,0 +1,157 @@ +{ + "operation": "session.tab-activation", + "family": "session.tab-activation", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "4a1e81ab3229c8fd10b3ad435568efec11a944e0f02a183f94e4b1f44a7e5de0", + "scenarioSha256": "72a972996461cc58bda2b1c11dbb4ecdbdecd5ff2f977c3d61e40d635f63c1b9", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0442e34fbb3f": { + "name": "terminal.focus#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.focus\",\"params\":{\"terminal\":\"terminal-1\",\"navigation\":\"host\"}}" + }, + "4e4394afbcef": { + "activate": { + "id": "frame-2", + "ok": true, + "result": { + "activated": true + } + }, + "failure": { + "$rpc": "null" + }, + "focus": { + "id": "frame-1", + "ok": true, + "result": { + "focused": true + } + } + }, + "7118e8aeaaae": { + "name": "terminal.focus#1", + "args": [ + { + "name": "method", + "value": "terminal.focus" + }, + { + "name": "params", + "value": { + "navigation": "host", + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "focused": true + } + } + } + }, + "84d74a6de2ca": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "activated": true + } + } + }, + "c9c16f3b6d6f": { + "name": "session.tabs.activate#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"session.tabs.activate\",\"params\":{\"worktree\":\"id:workspace-1\",\"tabId\":\"tab-1\",\"notifyClients\":false,\"navigation\":\"caller\",\"intent\":\"user\"}}" + }, + "e495a9a84cf0": { + "name": "session.tabs.activate#1", + "args": [ + { + "name": "method", + "value": "session.tabs.activate" + }, + { + "name": "params", + "value": { + "intent": "user", + "navigation": "caller", + "notifyClients": false, + "tabId": "tab-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "activated": true + } + } + } + }, + "ecc5d1639f16": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "focused": true + } + } + } + }, + "recording": { + "scenario": "session-tab-activation-focus-and-activate", + "checkpoints": [ + { + "id": "activated", + "observation": { + "sender": ["7118e8aeaaae", "e495a9a84cf0"], + "payloads": ["0442e34fbb3f", "c9c16f3b6d6f"], + "settlements": { + "focus": "ecc5d1639f16", + "activate": "84d74a6de2ca" + }, + "state": "4e4394afbcef", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/session-tab-activation-refused.json b/mobile/rpc-foundation/goldens/session-tab-activation-refused.json new file mode 100644 index 00000000000..20da9b09f6d --- /dev/null +++ b/mobile/rpc-foundation/goldens/session-tab-activation-refused.json @@ -0,0 +1,102 @@ +{ + "operation": "session.tab-activation", + "family": "session.tab-activation", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "4a1e81ab3229c8fd10b3ad435568efec11a944e0f02a183f94e4b1f44a7e5de0", + "scenarioSha256": "e5049c9ee2aef93194adf1b9540c1eb4b085e6f975648c5ed605718d19fc6afa", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "21ff36a206dc": { + "name": "session.tabs.activate#1", + "args": [ + { + "name": "method", + "value": "session.tabs.activate" + }, + { + "name": "params", + "value": { + "intent": "user", + "navigation": "caller", + "notifyClients": false, + "tabId": "tab-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "tab_not_found", + "message": "No such tab" + }, + "id": "frame-1", + "ok": false + } + } + }, + "28eff5fc7100": { + "name": "session.tabs.activate#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"session.tabs.activate\",\"params\":{\"worktree\":\"id:workspace-1\",\"tabId\":\"tab-1\",\"notifyClients\":false,\"navigation\":\"caller\",\"intent\":\"user\"}}" + }, + "7a0a4e34e537": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "tab_not_found", + "message": "No such tab" + }, + "id": "frame-1", + "ok": false + } + }, + "97f1e4150cc6": { + "activate": { + "error": { + "code": "tab_not_found", + "message": "No such tab" + }, + "id": "frame-1", + "ok": false + }, + "failure": { + "$rpc": "null" + } + } + }, + "recording": { + "scenario": "session-tab-activation-refused", + "checkpoints": [ + { + "id": "refused", + "observation": { + "sender": ["21ff36a206dc"], + "payloads": ["28eff5fc7100"], + "settlements": { + "activate": "7a0a4e34e537" + }, + "state": "97f1e4150cc6", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/session-tab-activation-transport-error.json b/mobile/rpc-foundation/goldens/session-tab-activation-transport-error.json new file mode 100644 index 00000000000..0d0a6532da5 --- /dev/null +++ b/mobile/rpc-foundation/goldens/session-tab-activation-transport-error.json @@ -0,0 +1,83 @@ +{ + "operation": "session.tab-activation", + "family": "session.tab-activation", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "4a1e81ab3229c8fd10b3ad435568efec11a944e0f02a183f94e4b1f44a7e5de0", + "scenarioSha256": "44e25e8624c6d7f072c5f7aa3c706df29d0e751bb59b3fb58bec003233f7e5e3", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0442e34fbb3f": { + "name": "terminal.focus#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.focus\",\"params\":{\"terminal\":\"terminal-1\",\"navigation\":\"host\"}}" + }, + "6b74a7e08acf": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Request timed out", + "isRpcDeliveryUnknown": false + } + }, + "9acb73463ead": { + "failure": "Request timed out" + }, + "cbd74f978cf1": { + "name": "terminal.focus#1", + "args": [ + { + "name": "method", + "value": "terminal.focus" + }, + { + "name": "params", + "value": { + "navigation": "host", + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Request timed out", + "isRpcDeliveryUnknown": false + } + } + } + }, + "recording": { + "scenario": "session-tab-activation-transport-error", + "checkpoints": [ + { + "id": "errored", + "observation": { + "sender": ["cbd74f978cf1"], + "payloads": ["0442e34fbb3f"], + "settlements": { + "focus": "6b74a7e08acf" + }, + "state": "9acb73463ead", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/session-tab-close-refused-keeps-tab.json b/mobile/rpc-foundation/goldens/session-tab-close-refused-keeps-tab.json new file mode 100644 index 00000000000..06f66f7482f --- /dev/null +++ b/mobile/rpc-foundation/goldens/session-tab-close-refused-keeps-tab.json @@ -0,0 +1,99 @@ +{ + "operation": "session.tab-close", + "family": "session.tab-close", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "562c2f4ab669e774dd7045ecd9518e483845433fef6034688090f3b056df2815", + "scenarioSha256": "1b3da0207aef65f4b2348aed334284259170c640e767fb354b9e95f3c1369445", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "2d697fe0c9bf": { + "name": "terminal.close#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.close\",\"params\":{\"terminal\":\"terminal-1\"}}" + }, + "3e15def58214": { + "activeHandle": "terminal-1", + "sessionTabs": [ + { + "id": "tab-1", + "isActive": true, + "terminal": "terminal-1", + "title": "Terminal", + "type": "terminal" + } + ], + "terminals": [ + { + "handle": "terminal-1", + "isActive": true, + "title": "Terminal" + } + ] + }, + "ca6a54b1b350": { + "name": "terminal.close#1", + "args": [ + { + "name": "method", + "value": "terminal.close" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "terminal_not_found", + "message": "No such terminal" + }, + "id": "frame-1", + "ok": false + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "session-tab-close-refused-keeps-tab", + "checkpoints": [ + { + "id": "kept", + "observation": { + "sender": ["ca6a54b1b350"], + "payloads": ["2d697fe0c9bf"], + "settlements": { + "close-terminal": "eb79a9b3682a" + }, + "state": "3e15def58214", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/session-tab-close-session-tab.json b/mobile/rpc-foundation/goldens/session-tab-close-session-tab.json new file mode 100644 index 00000000000..246e5383561 --- /dev/null +++ b/mobile/rpc-foundation/goldens/session-tab-close-session-tab.json @@ -0,0 +1,108 @@ +{ + "operation": "session.tab-close", + "family": "session.tab-close", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "562c2f4ab669e774dd7045ecd9518e483845433fef6034688090f3b056df2815", + "scenarioSha256": "fe83a7d50d08f874d863eb8872bcb24d974c1dc46571a93d3f9184f8feba63a4", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "375042b2eaa9": { + "name": "session.tabs.close#1", + "args": [ + { + "name": "method", + "value": "session.tabs.close" + }, + { + "name": "params", + "value": { + "reason": "user", + "tabId": "tab-1", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "closed": true + } + } + } + }, + "567d11711027": { + "activeHandle": { + "$rpc": "null" + }, + "sessionTabs": [], + "terminals": [ + { + "handle": "terminal-1", + "isActive": true, + "title": "Terminal" + } + ] + }, + "a1c0c7168922": { + "name": "unsubscribe-terminal", + "value": { + "handle": "terminal-1" + }, + "sent": 1 + }, + "c965e2e20176": { + "name": "clear-live-input", + "value": { + "handle": "terminal-1" + }, + "sent": 1 + }, + "cc794cc20e4c": { + "name": "session.tabs.close#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"session.tabs.close\",\"params\":{\"worktree\":\"id:workspace-1\",\"tabId\":\"tab-1\",\"reason\":\"user\"}}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "session-tab-close-session-tab", + "checkpoints": [ + { + "id": "closed", + "observation": { + "sender": ["375042b2eaa9"], + "payloads": ["cc794cc20e4c"], + "settlements": { + "close-tab": "eb79a9b3682a" + }, + "state": "567d11711027", + "effects": ["a1c0c7168922", "c965e2e20176"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/session-tab-close-terminal.json b/mobile/rpc-foundation/goldens/session-tab-close-terminal.json new file mode 100644 index 00000000000..cde03759e0e --- /dev/null +++ b/mobile/rpc-foundation/goldens/session-tab-close-terminal.json @@ -0,0 +1,108 @@ +{ + "operation": "session.tab-close", + "family": "session.tab-close", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "562c2f4ab669e774dd7045ecd9518e483845433fef6034688090f3b056df2815", + "scenarioSha256": "194b010d00fdeca85418870fd053ac500c38cae02e98c4bfc544b8fea78bbcb8", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "2d697fe0c9bf": { + "name": "terminal.close#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.close\",\"params\":{\"terminal\":\"terminal-1\"}}" + }, + "7e31b0a0202e": { + "name": "terminal.close#1", + "args": [ + { + "name": "method", + "value": "terminal.close" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "closed": true + } + } + } + }, + "a1c0c7168922": { + "name": "unsubscribe-terminal", + "value": { + "handle": "terminal-1" + }, + "sent": 1 + }, + "c965e2e20176": { + "name": "clear-live-input", + "value": { + "handle": "terminal-1" + }, + "sent": 1 + }, + "de039f500462": { + "activeHandle": { + "$rpc": "null" + }, + "sessionTabs": [ + { + "id": "tab-1", + "isActive": true, + "terminal": "terminal-1", + "title": "Terminal", + "type": "terminal" + } + ], + "terminals": [] + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "session-tab-close-terminal", + "checkpoints": [ + { + "id": "closed", + "observation": { + "sender": ["7e31b0a0202e"], + "payloads": ["2d697fe0c9bf"], + "settlements": { + "close-terminal": "eb79a9b3682a" + }, + "state": "de039f500462", + "effects": ["a1c0c7168922", "c965e2e20176"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/session-tab-rename.json b/mobile/rpc-foundation/goldens/session-tab-rename.json new file mode 100644 index 00000000000..41ddacdb053 --- /dev/null +++ b/mobile/rpc-foundation/goldens/session-tab-rename.json @@ -0,0 +1,104 @@ +{ + "operation": "session.tab-close", + "family": "session.tab-close", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "562c2f4ab669e774dd7045ecd9518e483845433fef6034688090f3b056df2815", + "scenarioSha256": "9e877af8539e5425f65edd6b3ff8af73e719aae2033980411a8e8a3b508dcd9e", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "42b6d6d7fdf9": { + "activeHandle": "terminal-1", + "sessionTabs": [ + { + "id": "tab-1", + "isActive": true, + "terminal": "terminal-1", + "title": "Terminal", + "type": "terminal" + } + ], + "terminals": [ + { + "handle": "terminal-1", + "isActive": true, + "title": "build" + } + ] + }, + "5d179ad4af0c": { + "name": "fetch-terminals", + "value": {}, + "sent": 1 + }, + "89e4126272a3": { + "name": "terminal.rename#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.rename\",\"params\":{\"terminal\":\"terminal-1\",\"title\":\"build\"}}" + }, + "986504944223": { + "name": "terminal.rename#1", + "args": [ + { + "name": "method", + "value": "terminal.rename" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1", + "title": "build" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "renamed": true + } + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "session-tab-rename", + "checkpoints": [ + { + "id": "renamed", + "observation": { + "sender": ["986504944223"], + "payloads": ["89e4126272a3"], + "settlements": { + "rename": "eb79a9b3682a" + }, + "state": "42b6d6d7fdf9", + "effects": ["5d179ad4af0c"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/session-tabs-health-errored.json b/mobile/rpc-foundation/goldens/session-tabs-health-errored.json new file mode 100644 index 00000000000..8ce56a02350 --- /dev/null +++ b/mobile/rpc-foundation/goldens/session-tabs-health-errored.json @@ -0,0 +1,98 @@ +{ + "operation": "session.tabs-stream-health", + "family": "session.tabs-stream-health", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "4a1e81ab3229c8fd10b3ad435568efec11a944e0f02a183f94e4b1f44a7e5de0", + "scenarioSha256": "4f55a21a5c42ff8d96ccb1b16de235f91f9f7e38fe90de7191c36c8c16cc4e43", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "2f0306c93cc8": { + "name": "session.tabs.list#1", + "args": [ + { + "name": "method", + "value": "session.tabs.list" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Connection lost", + "isRpcDeliveryUnknown": true + } + } + }, + "30425281a407": { + "name": "session.tabs.list#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"session.tabs.list\",\"params\":{\"worktree\":\"id:workspace-1\"}}" + }, + "49a2260ea0e7": { + "accepted": "unapplied", + "applicationRevision": 0 + }, + "5a7cc7a45078": { + "name": "fetch-started", + "value": {}, + "sent": 0 + }, + "84e5ca07cb7a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": true + }, + "8930753f2284": { + "name": "fetch-errored", + "value": "Connection lost", + "sent": 1 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "session-tabs-health-errored", + "checkpoints": [ + { + "id": "errored", + "observation": { + "sender": ["2f0306c93cc8"], + "payloads": ["30425281a407"], + "settlements": { + "activate": "84e5ca07cb7a", + "reconcile": "eb79a9b3682a" + }, + "state": "49a2260ea0e7", + "effects": ["5a7cc7a45078", "8930753f2284"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/session-tabs-health-reconciled.json b/mobile/rpc-foundation/goldens/session-tabs-health-reconciled.json new file mode 100644 index 00000000000..4b70f7a2640 --- /dev/null +++ b/mobile/rpc-foundation/goldens/session-tabs-health-reconciled.json @@ -0,0 +1,117 @@ +{ + "operation": "session.tabs-stream-health", + "family": "session.tabs-stream-health", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "4a1e81ab3229c8fd10b3ad435568efec11a944e0f02a183f94e4b1f44a7e5de0", + "scenarioSha256": "29bee268df8e92fb1e3fd59291262c8d2d04a1b7e9fe40f6ed8dd181b0df828a", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "30425281a407": { + "name": "session.tabs.list#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"session.tabs.list\",\"params\":{\"worktree\":\"id:workspace-1\"}}" + }, + "5a7cc7a45078": { + "name": "fetch-started", + "value": {}, + "sent": 0 + }, + "84e5ca07cb7a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": true + }, + "9653864fb896": { + "name": "fetch-succeeded", + "value": { + "tabs": [ + { + "id": "tab-1" + } + ] + }, + "sent": 1 + }, + "d46815b7ac09": { + "name": "session.tabs.list#1", + "args": [ + { + "name": "method", + "value": "session.tabs.list" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "tabs": [ + { + "id": "tab-1" + } + ] + } + } + } + }, + "e29309cc10af": { + "accepted": { + "source": "list", + "tabs": [ + { + "id": "tab-1" + } + ] + }, + "applicationRevision": 0 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "session-tabs-health-reconciled", + "checkpoints": [ + { + "id": "reconciled", + "observation": { + "sender": ["d46815b7ac09"], + "payloads": ["30425281a407"], + "settlements": { + "activate": "84e5ca07cb7a", + "reconcile": "eb79a9b3682a" + }, + "state": "e29309cc10af", + "effects": ["5a7cc7a45078", "9653864fb896"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/session-tabs-health-refused.json b/mobile/rpc-foundation/goldens/session-tabs-health-refused.json new file mode 100644 index 00000000000..bb650df900a --- /dev/null +++ b/mobile/rpc-foundation/goldens/session-tabs-health-refused.json @@ -0,0 +1,104 @@ +{ + "operation": "session.tabs-stream-health", + "family": "session.tabs-stream-health", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "4a1e81ab3229c8fd10b3ad435568efec11a944e0f02a183f94e4b1f44a7e5de0", + "scenarioSha256": "101e8ce865088891800680db0e3df787b5f15ceb05ace9840931c384d9732d1c", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "30425281a407": { + "name": "session.tabs.list#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"session.tabs.list\",\"params\":{\"worktree\":\"id:workspace-1\"}}" + }, + "49a2260ea0e7": { + "accepted": "unapplied", + "applicationRevision": 0 + }, + "5a7cc7a45078": { + "name": "fetch-started", + "value": {}, + "sent": 0 + }, + "84e5ca07cb7a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": true + }, + "98c25056240e": { + "name": "session.tabs.list#1", + "args": [ + { + "name": "method", + "value": "session.tabs.list" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "worktree_not_found", + "message": "No such workspace" + }, + "id": "frame-1", + "ok": false + } + } + }, + "d63bc6be6a3f": { + "name": "fetch-failed", + "value": { + "code": "worktree_not_found", + "message": "No such workspace" + }, + "sent": 1 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "session-tabs-health-refused", + "checkpoints": [ + { + "id": "refused", + "observation": { + "sender": ["98c25056240e"], + "payloads": ["30425281a407"], + "settlements": { + "activate": "84e5ca07cb7a", + "reconcile": "eb79a9b3682a" + }, + "state": "49a2260ea0e7", + "effects": ["5a7cc7a45078", "d63bc6be6a3f"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/session-tabs-health-stale-application-revision.json b/mobile/rpc-foundation/goldens/session-tabs-health-stale-application-revision.json new file mode 100644 index 00000000000..2b3db55ac65 --- /dev/null +++ b/mobile/rpc-foundation/goldens/session-tabs-health-stale-application-revision.json @@ -0,0 +1,106 @@ +{ + "operation": "session.tabs-stream-health", + "family": "session.tabs-stream-health", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "4a1e81ab3229c8fd10b3ad435568efec11a944e0f02a183f94e4b1f44a7e5de0", + "scenarioSha256": "5381b6ade796596ac362d4ed64349266e65fe8fd2b4fc778a54315d4b6fda3da", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "30425281a407": { + "name": "session.tabs.list#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"session.tabs.list\",\"params\":{\"worktree\":\"id:workspace-1\"}}" + }, + "59faf5cb6372": { + "accepted": "unapplied", + "applicationRevision": 1 + }, + "5a7cc7a45078": { + "name": "fetch-started", + "value": {}, + "sent": 0 + }, + "84e5ca07cb7a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": true + }, + "adcbf91f89c3": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": 1 + }, + "d46815b7ac09": { + "name": "session.tabs.list#1", + "args": [ + { + "name": "method", + "value": "session.tabs.list" + }, + { + "name": "params", + "value": { + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "tabs": [ + { + "id": "tab-1" + } + ] + } + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "session-tabs-health-stale-application-revision", + "checkpoints": [ + { + "id": "dropped", + "observation": { + "sender": ["d46815b7ac09"], + "payloads": ["30425281a407"], + "settlements": { + "activate": "84e5ca07cb7a", + "reconcile": "eb79a9b3682a", + "revise": "adcbf91f89c3" + }, + "state": "59faf5cb6372", + "effects": ["5a7cc7a45078"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/session-terminal-list-dedupes-handles.json b/mobile/rpc-foundation/goldens/session-terminal-list-dedupes-handles.json new file mode 100644 index 00000000000..d44557518e9 --- /dev/null +++ b/mobile/rpc-foundation/goldens/session-terminal-list-dedupes-handles.json @@ -0,0 +1,117 @@ +{ + "operation": "session.terminal-inventory", + "family": "session.terminal-inventory", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "a3daf9a05d05424959baf77feb45cb0c076d77d8c49e877941ed612cc1e5ce95", + "scenarioSha256": "d0f5ecc9c8fcb10193f481648215a54460ce5a54a8fbd2ded3921a9599fefc0a", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "271df7941ce5": { + "name": "default-live-input", + "value": ["terminal-1"], + "sent": 1 + }, + "2d3e1bb92043": { + "name": "prune-live-input", + "value": ["terminal-1"], + "sent": 1 + }, + "580c77c4c1df": { + "known": [ + { + "handle": "terminal-1", + "terminalTheme": { + "$rpc": "undefined" + }, + "title": "one" + } + ], + "terminals": [ + { + "handle": "terminal-1", + "terminalTheme": { + "$rpc": "undefined" + }, + "title": "one" + } + ] + }, + "5eea50c700fd": { + "name": "terminal.list#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.list\",\"params\":{\"worktree\":\"id:workspace-1\",\"includeVisualLayouts\":false}}" + }, + "84e5ca07cb7a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": true + }, + "8bdb2a48d7ae": { + "name": "terminal.list#1", + "args": [ + { + "name": "method", + "value": "terminal.list" + }, + { + "name": "params", + "value": { + "includeVisualLayouts": false, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "terminals": [ + { + "handle": "terminal-1", + "title": "one" + }, + { + "handle": "terminal-1", + "title": "renamed" + } + ] + } + } + } + } + }, + "recording": { + "scenario": "session-terminal-list-dedupes-handles", + "checkpoints": [ + { + "id": "deduped", + "observation": { + "sender": ["8bdb2a48d7ae"], + "payloads": ["5eea50c700fd"], + "settlements": { + "fetch": "84e5ca07cb7a" + }, + "state": "580c77c4c1df", + "effects": ["2d3e1bb92043", "271df7941ce5"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/session-terminal-list-empty-guarded.json b/mobile/rpc-foundation/goldens/session-terminal-list-empty-guarded.json new file mode 100644 index 00000000000..1b6e6a1c919 --- /dev/null +++ b/mobile/rpc-foundation/goldens/session-terminal-list-empty-guarded.json @@ -0,0 +1,82 @@ +{ + "operation": "session.terminal-inventory", + "family": "session.terminal-inventory", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "a3daf9a05d05424959baf77feb45cb0c076d77d8c49e877941ed612cc1e5ce95", + "scenarioSha256": "5c2b3237a14f9df9357ab458b2e21f2df8e68ad6bf6dc5670c0ace7eeb567e80", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "328e7f8994b4": { + "name": "terminal.list#1", + "args": [ + { + "name": "method", + "value": "terminal.list" + }, + { + "name": "params", + "value": { + "includeVisualLayouts": false, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "terminals": [] + } + } + } + }, + "5eea50c700fd": { + "name": "terminal.list#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.list\",\"params\":{\"worktree\":\"id:workspace-1\",\"includeVisualLayouts\":false}}" + }, + "6aa9d70c1c82": { + "known": [], + "terminals": [] + }, + "84e5ca07cb7a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": true + } + }, + "recording": { + "scenario": "session-terminal-list-empty-guarded", + "checkpoints": [ + { + "id": "kept", + "observation": { + "sender": ["328e7f8994b4"], + "payloads": ["5eea50c700fd"], + "settlements": { + "no-empty": "84e5ca07cb7a" + }, + "state": "6aa9d70c1c82", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/session-terminal-list-merged.json b/mobile/rpc-foundation/goldens/session-terminal-list-merged.json new file mode 100644 index 00000000000..13fce52aae3 --- /dev/null +++ b/mobile/rpc-foundation/goldens/session-terminal-list-merged.json @@ -0,0 +1,131 @@ +{ + "operation": "session.terminal-inventory", + "family": "session.terminal-inventory", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "a3daf9a05d05424959baf77feb45cb0c076d77d8c49e877941ed612cc1e5ce95", + "scenarioSha256": "9f3fb6e58e8d9ef4f52b2b6c0a42b6e4285d5786060f966261795cf64d055f65", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "5cd2b97372d8": { + "name": "prune-live-input", + "value": ["terminal-1", "terminal-2"], + "sent": 1 + }, + "5eea50c700fd": { + "name": "terminal.list#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.list\",\"params\":{\"worktree\":\"id:workspace-1\",\"includeVisualLayouts\":false}}" + }, + "727166f3bc25": { + "known": [ + { + "handle": "terminal-1", + "terminalTheme": { + "$rpc": "undefined" + }, + "title": "one" + }, + { + "handle": "terminal-2", + "terminalTheme": { + "$rpc": "undefined" + }, + "title": "two" + } + ], + "terminals": [ + { + "handle": "terminal-1", + "terminalTheme": { + "$rpc": "undefined" + }, + "title": "one" + }, + { + "handle": "terminal-2", + "terminalTheme": { + "$rpc": "undefined" + }, + "title": "two" + } + ] + }, + "84e5ca07cb7a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": true + }, + "c2ee5279a532": { + "name": "terminal.list#1", + "args": [ + { + "name": "method", + "value": "terminal.list" + }, + { + "name": "params", + "value": { + "includeVisualLayouts": false, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "terminals": [ + { + "handle": "terminal-1", + "title": "one" + }, + { + "handle": "terminal-2", + "title": "two" + } + ] + } + } + } + }, + "ce7002e0ac64": { + "name": "default-live-input", + "value": ["terminal-1", "terminal-2"], + "sent": 1 + } + }, + "recording": { + "scenario": "session-terminal-list-merged", + "checkpoints": [ + { + "id": "listed", + "observation": { + "sender": ["c2ee5279a532"], + "payloads": ["5eea50c700fd"], + "settlements": { + "fetch": "84e5ca07cb7a" + }, + "state": "727166f3bc25", + "effects": ["5cd2b97372d8", "ce7002e0ac64"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/session-terminal-list-refused.json b/mobile/rpc-foundation/goldens/session-terminal-list-refused.json new file mode 100644 index 00000000000..0af7ef6f597 --- /dev/null +++ b/mobile/rpc-foundation/goldens/session-terminal-list-refused.json @@ -0,0 +1,83 @@ +{ + "operation": "session.terminal-inventory", + "family": "session.terminal-inventory", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "a3daf9a05d05424959baf77feb45cb0c076d77d8c49e877941ed612cc1e5ce95", + "scenarioSha256": "10a8ba5332f4fc2f90cff537ca69f2f1474339cbc4996f67a6feaea70669fb25", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "5eea50c700fd": { + "name": "terminal.list#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.list\",\"params\":{\"worktree\":\"id:workspace-1\",\"includeVisualLayouts\":false}}" + }, + "6aa9d70c1c82": { + "known": [], + "terminals": [] + }, + "7ed3d39f0607": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": false + }, + "fcb148236ef4": { + "name": "terminal.list#1", + "args": [ + { + "name": "method", + "value": "terminal.list" + }, + { + "name": "params", + "value": { + "includeVisualLayouts": false, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "worktree_not_found", + "message": "No such workspace" + }, + "id": "frame-1", + "ok": false + } + } + } + }, + "recording": { + "scenario": "session-terminal-list-refused", + "checkpoints": [ + { + "id": "refused", + "observation": { + "sender": ["fcb148236ef4"], + "payloads": ["5eea50c700fd"], + "settlements": { + "fetch": "7ed3d39f0607" + }, + "state": "6aa9d70c1c82", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/settings-bot-overrides-fulfilled.json b/mobile/rpc-foundation/goldens/settings-bot-overrides-fulfilled.json index 4f3de72a1cc..8b78fd734b3 100644 --- a/mobile/rpc-foundation/goldens/settings-bot-overrides-fulfilled.json +++ b/mobile/rpc-foundation/goldens/settings-bot-overrides-fulfilled.json @@ -3,9 +3,9 @@ "family": "settings.bot-overrides", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "4b4b4a8d1acaaec1c8dde0233dc49a696ffe53466578477efcbcdb7263dbd617", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/settings-bot-overrides-refresh-refused.json b/mobile/rpc-foundation/goldens/settings-bot-overrides-refresh-refused.json index 35717335b1b..63ce3a3346c 100644 --- a/mobile/rpc-foundation/goldens/settings-bot-overrides-refresh-refused.json +++ b/mobile/rpc-foundation/goldens/settings-bot-overrides-refresh-refused.json @@ -3,9 +3,9 @@ "family": "settings.bot-overrides", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "cac4980465661fba372e187699741123a4edeb9270125a0a1cad7bbb6a6adebd", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/settings-bot-overrides-refused.json b/mobile/rpc-foundation/goldens/settings-bot-overrides-refused.json index a26685776e0..208898de170 100644 --- a/mobile/rpc-foundation/goldens/settings-bot-overrides-refused.json +++ b/mobile/rpc-foundation/goldens/settings-bot-overrides-refused.json @@ -3,9 +3,9 @@ "family": "settings.bot-overrides", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "f8ebd2348373b2b39c167735e0c418dfe868511fb5306ecba90cb6f2a905b95e", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/settings-bot-overrides-transport-error.json b/mobile/rpc-foundation/goldens/settings-bot-overrides-transport-error.json index 7f9ec15954a..ca58b440e06 100644 --- a/mobile/rpc-foundation/goldens/settings-bot-overrides-transport-error.json +++ b/mobile/rpc-foundation/goldens/settings-bot-overrides-transport-error.json @@ -3,9 +3,9 @@ "family": "settings.bot-overrides", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "f7e63144421a689f05cc50ad87ec901a9eaeb3163165656887be12a5f2753005", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/settings-home-coalesced.json b/mobile/rpc-foundation/goldens/settings-home-coalesced.json index 5c7c4a9132a..e489508180e 100644 --- a/mobile/rpc-foundation/goldens/settings-home-coalesced.json +++ b/mobile/rpc-foundation/goldens/settings-home-coalesced.json @@ -3,9 +3,9 @@ "family": "settings.home-providers", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "d8d6f738ee11d84d6e9e546624f4babcb42476432f6bddbc74e8519d9ca18370", "platform": "darwin", @@ -100,11 +100,12 @@ "name": "preflight.check#2", "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.check\"}" }, - "24054d93a95f": { + "267fa3075543": { "name": "providers", "value": { "host-1": ["github"] - } + }, + "sent": 6 }, "27e92f99be15": { "name": "linear.status#1", @@ -547,7 +548,7 @@ "overlapping-load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["267fa3075543"] } }, { @@ -574,7 +575,7 @@ "overlapping-load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f", "24054d93a95f"] + "effects": ["267fa3075543", "267fa3075543"] } }, { @@ -608,7 +609,7 @@ "third-load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f", "24054d93a95f"] + "effects": ["267fa3075543", "267fa3075543"] } } ] diff --git a/mobile/rpc-foundation/goldens/settings-home-providers-fulfilled.json b/mobile/rpc-foundation/goldens/settings-home-providers-fulfilled.json index d8c862a2805..9ae2ae80510 100644 --- a/mobile/rpc-foundation/goldens/settings-home-providers-fulfilled.json +++ b/mobile/rpc-foundation/goldens/settings-home-providers-fulfilled.json @@ -3,9 +3,9 @@ "family": "settings.home-providers", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "a32b2fc99e830c58460e6f7c857aed0048738a55501e508eb236604680b9c235", "platform": "darwin", @@ -13,12 +13,6 @@ "projectionVersion": 2, "goldenFormatVersion": 5, "values": { - "24054d93a95f": { - "name": "providers", - "value": { - "host-1": ["github"] - } - }, "27e92f99be15": { "name": "linear.status#1", "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" @@ -159,6 +153,13 @@ "name": "settings.get#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" }, + "8f1426c2f53b": { + "name": "providers", + "value": { + "host-1": ["github"] + }, + "sent": 3 + }, "a3c30fa6fdda": { "name": "linear.status#1", "args": [ @@ -250,7 +251,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } } ] diff --git a/mobile/rpc-foundation/goldens/settings-home-providers-refuse-after-data.json b/mobile/rpc-foundation/goldens/settings-home-providers-refuse-after-data.json index 2c4043afd7b..ec51b41dfdc 100644 --- a/mobile/rpc-foundation/goldens/settings-home-providers-refuse-after-data.json +++ b/mobile/rpc-foundation/goldens/settings-home-providers-refuse-after-data.json @@ -3,9 +3,9 @@ "family": "settings.home-providers", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "78c48025c4af6cc0f1f136448c0ede9f76b7485d7b33b1356d11dec017bd9053", "platform": "darwin", @@ -50,11 +50,12 @@ "name": "preflight.check#2", "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.check\"}" }, - "24054d93a95f": { + "267fa3075543": { "name": "providers", "value": { "host-1": ["github"] - } + }, + "sent": 6 }, "27e92f99be15": { "name": "linear.status#1", @@ -284,6 +285,13 @@ "name": "linear.status#2", "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" }, + "8f1426c2f53b": { + "name": "providers", + "value": { + "host-1": ["github"] + }, + "sent": 3 + }, "a3c30fa6fdda": { "name": "linear.status#1", "args": [ @@ -439,7 +447,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } }, { @@ -451,7 +459,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } }, { @@ -478,7 +486,7 @@ "reload": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } }, { @@ -505,7 +513,7 @@ "reload": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f", "24054d93a95f"] + "effects": ["8f1426c2f53b", "267fa3075543"] } } ] diff --git a/mobile/rpc-foundation/goldens/settings-home-providers-refused.json b/mobile/rpc-foundation/goldens/settings-home-providers-refused.json index 2027ca29d96..a800c4840f1 100644 --- a/mobile/rpc-foundation/goldens/settings-home-providers-refused.json +++ b/mobile/rpc-foundation/goldens/settings-home-providers-refused.json @@ -3,9 +3,9 @@ "family": "settings.home-providers", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "c22f33a0ed28622d4d53ae31e934056f87d2c10e8dc4475831ae1ee5fd3a9b8b", "platform": "darwin", @@ -13,12 +13,6 @@ "projectionVersion": 2, "goldenFormatVersion": 5, "values": { - "24054d93a95f": { - "name": "providers", - "value": { - "host-1": ["github"] - } - }, "27e92f99be15": { "name": "linear.status#1", "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" @@ -154,6 +148,13 @@ "name": "settings.get#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" }, + "8f1426c2f53b": { + "name": "providers", + "value": { + "host-1": ["github"] + }, + "sent": 3 + }, "a3c30fa6fdda": { "name": "linear.status#1", "args": [ @@ -245,7 +246,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } } ] diff --git a/mobile/rpc-foundation/goldens/settings-home-providers-transport-error.json b/mobile/rpc-foundation/goldens/settings-home-providers-transport-error.json index 8f831b94a86..d9598485ec4 100644 --- a/mobile/rpc-foundation/goldens/settings-home-providers-transport-error.json +++ b/mobile/rpc-foundation/goldens/settings-home-providers-transport-error.json @@ -3,9 +3,9 @@ "family": "settings.home-providers", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "4f16b43dddfb9257828342b0297317868df24b03fd98a89c66f5cd1897829d73", "platform": "darwin", @@ -44,12 +44,6 @@ } } }, - "24054d93a95f": { - "name": "providers", - "value": { - "host-1": ["github"] - } - }, "27e92f99be15": { "name": "linear.status#1", "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" @@ -151,6 +145,13 @@ "name": "settings.get#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" }, + "8f1426c2f53b": { + "name": "providers", + "value": { + "host-1": ["github"] + }, + "sent": 3 + }, "a3c30fa6fdda": { "name": "linear.status#1", "args": [ @@ -242,7 +243,7 @@ "load": "eb79a9b3682a" }, "state": "79b8c1b0d1d1", - "effects": ["24054d93a95f"] + "effects": ["8f1426c2f53b"] } } ] diff --git a/mobile/rpc-foundation/goldens/settings-new-tab-refused.json b/mobile/rpc-foundation/goldens/settings-new-tab-refused.json index a279bf2cf5c..ecd616b3111 100644 --- a/mobile/rpc-foundation/goldens/settings-new-tab-refused.json +++ b/mobile/rpc-foundation/goldens/settings-new-tab-refused.json @@ -3,9 +3,9 @@ "family": "settings-agent-read", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "448cdbd12f4f6a14bb33947bfbbb1837aebeb28979db70c62f2ba2fbb4d89c8f", "scenarioSha256": "b6fb40be3bb92d7d9f1a79d99dee077cf95097077917679dc99702f912241fa4", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/settings-new-tab-ssh.json b/mobile/rpc-foundation/goldens/settings-new-tab-ssh.json index c3b1b41a809..cb9b3b98238 100644 --- a/mobile/rpc-foundation/goldens/settings-new-tab-ssh.json +++ b/mobile/rpc-foundation/goldens/settings-new-tab-ssh.json @@ -3,9 +3,9 @@ "family": "settings-agent-read", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "448cdbd12f4f6a14bb33947bfbbb1837aebeb28979db70c62f2ba2fbb4d89c8f", "scenarioSha256": "31f8a348322551738b14207b3477bae492d48d45c5d51be4d97ffaca2fe2b6e1", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/settings-new-tab-transport-error.json b/mobile/rpc-foundation/goldens/settings-new-tab-transport-error.json index 67dcbaa2268..340b8e1ec79 100644 --- a/mobile/rpc-foundation/goldens/settings-new-tab-transport-error.json +++ b/mobile/rpc-foundation/goldens/settings-new-tab-transport-error.json @@ -3,9 +3,9 @@ "family": "settings-agent-read", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "448cdbd12f4f6a14bb33947bfbbb1837aebeb28979db70c62f2ba2fbb4d89c8f", "scenarioSha256": "1347663aba0ada1eee8e88fac306757dc0d29fe21f0d062ac2d3968a30a2f214", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/settings-repo-cache-expiry.json b/mobile/rpc-foundation/goldens/settings-repo-cache-expiry.json index e18196945aa..85d09596af6 100644 --- a/mobile/rpc-foundation/goldens/settings-repo-cache-expiry.json +++ b/mobile/rpc-foundation/goldens/settings-repo-cache-expiry.json @@ -3,9 +3,9 @@ "family": "settings.repo-metadata", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "adebd553e2648278d719a1d7299cb36683fce714682a1ab7b49d4c9027eea34e", "platform": "darwin", @@ -13,6 +13,14 @@ "projectionVersion": 2, "goldenFormatVersion": 5, "values": { + "01c17b40bd86": { + "name": "repoColorsByName", + "value": [ + ["Local", "#6366f1"], + ["Remote", "#f97316"] + ], + "sent": 1 + }, "02449e890487": { "name": "host.platform#1", "args": [ @@ -88,10 +96,6 @@ "name": "ssh.listTargetSummaries#1", "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.listTargetSummaries\"}" }, - "388d7275af5f": { - "name": "hostPlatform", - "value": "linux" - }, "4335d4b6568f": { "name": "settings.get#1", "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" @@ -115,13 +119,6 @@ "name": "repo.list#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" }, - "7d956f17cf24": { - "name": "repoColorsByName", - "value": [ - ["Local", "#6366f1"], - ["Remote", "#f97316"] - ] - }, "7f85f28c922e": { "name": "host.platform#1", "args": [ @@ -194,20 +191,32 @@ } } }, + "85cc15d64d8b": { + "name": "repoHostIdByRepoId", + "value": [ + ["repo-1", "local"], + ["repo-2", "ssh:ssh-1"] + ], + "sent": 1 + }, "9270aeb7d9c6": { "status": "pending", "startedAt": 0 }, - "a4830eb5b420": { - "name": "hostLabelById", - "value": [["ssh:ssh-1", "SSH"]] + "93f4efbf2bd5": { + "name": "hostPlatform", + "value": "linux", + "sent": 4 }, - "a95587e993a9": { - "name": "repoIdsByName", - "value": [ - ["Local", "repo-1"], - ["Remote", "repo-2"] - ] + "94a0e83966bb": { + "name": "hostLabelById", + "value": [["ssh:ssh-1", "SSH"]], + "sent": 4 + }, + "9b746c7d3d3a": { + "name": "repoIconsByName", + "value": [], + "sent": 1 }, "ab830a39e448": { "name": "repo.list#2", @@ -284,17 +293,6 @@ "status": "pending", "startedAt": 60000 }, - "d228b095cad2": { - "name": "repoIconsByName", - "value": [] - }, - "d6a308f7b0ff": { - "name": "repoHostIdByRepoId", - "value": [ - ["repo-1", "local"], - ["repo-2", "ssh:ssh-1"] - ] - }, "df7cbc246ac0": { "name": "host.platform#1", "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"host.platform\"}" @@ -307,6 +305,14 @@ "$rpc": "undefined" } }, + "f070375a490f": { + "name": "repoIdsByName", + "value": [ + ["Local", "repo-1"], + ["Remote", "repo-2"] + ], + "sent": 1 + }, "f43afee17848": { "status": "fulfilled", "startedAt": 59000, @@ -367,7 +373,7 @@ "load": "9270aeb7d9c6" }, "state": "6134b73f18d0", - "effects": ["7d956f17cf24", "d228b095cad2", "a95587e993a9", "d6a308f7b0ff"] + "effects": ["01c17b40bd86", "9b746c7d3d3a", "f070375a490f", "85cc15d64d8b"] } }, { @@ -381,12 +387,12 @@ }, "state": "071880b671a1", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "a4830eb5b420", - "388d7275af5f" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "94a0e83966bb", + "93f4efbf2bd5" ] } }, @@ -402,12 +408,12 @@ }, "state": "071880b671a1", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "a4830eb5b420", - "388d7275af5f" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "94a0e83966bb", + "93f4efbf2bd5" ] } }, @@ -424,12 +430,12 @@ }, "state": "071880b671a1", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "a4830eb5b420", - "388d7275af5f" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "94a0e83966bb", + "93f4efbf2bd5" ] } }, @@ -459,12 +465,12 @@ }, "state": "071880b671a1", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "a4830eb5b420", - "388d7275af5f" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "94a0e83966bb", + "93f4efbf2bd5" ] } } diff --git a/mobile/rpc-foundation/goldens/settings-repo-metadata-fulfilled.json b/mobile/rpc-foundation/goldens/settings-repo-metadata-fulfilled.json index 614d070572a..c4c642babdf 100644 --- a/mobile/rpc-foundation/goldens/settings-repo-metadata-fulfilled.json +++ b/mobile/rpc-foundation/goldens/settings-repo-metadata-fulfilled.json @@ -3,9 +3,9 @@ "family": "settings.repo-metadata", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "b45eba2007e8e2668f524cd7503b8a711eba67816c9c35af5c3725a1afe32d8d", "platform": "darwin", @@ -13,6 +13,14 @@ "projectionVersion": 2, "goldenFormatVersion": 5, "values": { + "01c17b40bd86": { + "name": "repoColorsByName", + "value": [ + ["Local", "#6366f1"], + ["Remote", "#f97316"] + ], + "sent": 1 + }, "02449e890487": { "name": "host.platform#1", "args": [ @@ -84,10 +92,6 @@ "name": "ssh.listTargetSummaries#1", "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.listTargetSummaries\"}" }, - "388d7275af5f": { - "name": "hostPlatform", - "value": "linux" - }, "4335d4b6568f": { "name": "settings.get#1", "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" @@ -111,13 +115,6 @@ "name": "repo.list#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" }, - "7d956f17cf24": { - "name": "repoColorsByName", - "value": [ - ["Local", "#6366f1"], - ["Remote", "#f97316"] - ] - }, "7f85f28c922e": { "name": "host.platform#1", "args": [ @@ -190,20 +187,32 @@ } } }, + "85cc15d64d8b": { + "name": "repoHostIdByRepoId", + "value": [ + ["repo-1", "local"], + ["repo-2", "ssh:ssh-1"] + ], + "sent": 1 + }, "9270aeb7d9c6": { "status": "pending", "startedAt": 0 }, - "a4830eb5b420": { - "name": "hostLabelById", - "value": [["ssh:ssh-1", "SSH"]] + "93f4efbf2bd5": { + "name": "hostPlatform", + "value": "linux", + "sent": 4 }, - "a95587e993a9": { - "name": "repoIdsByName", - "value": [ - ["Local", "repo-1"], - ["Remote", "repo-2"] - ] + "94a0e83966bb": { + "name": "hostLabelById", + "value": [["ssh:ssh-1", "SSH"]], + "sent": 4 + }, + "9b746c7d3d3a": { + "name": "repoIconsByName", + "value": [], + "sent": 1 }, "b40605df86b7": { "name": "repo.list#1", @@ -251,17 +260,6 @@ } } }, - "d228b095cad2": { - "name": "repoIconsByName", - "value": [] - }, - "d6a308f7b0ff": { - "name": "repoHostIdByRepoId", - "value": [ - ["repo-1", "local"], - ["repo-2", "ssh:ssh-1"] - ] - }, "df7cbc246ac0": { "name": "host.platform#1", "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"host.platform\"}" @@ -274,6 +272,14 @@ "$rpc": "undefined" } }, + "f070375a490f": { + "name": "repoIdsByName", + "value": [ + ["Local", "repo-1"], + ["Remote", "repo-2"] + ], + "sent": 1 + }, "f7539bb05693": { "name": "ssh.listTargetSummaries#1", "args": [ @@ -326,7 +332,7 @@ "load": "9270aeb7d9c6" }, "state": "6134b73f18d0", - "effects": ["7d956f17cf24", "d228b095cad2", "a95587e993a9", "d6a308f7b0ff"] + "effects": ["01c17b40bd86", "9b746c7d3d3a", "f070375a490f", "85cc15d64d8b"] } }, { @@ -340,12 +346,12 @@ }, "state": "071880b671a1", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "a4830eb5b420", - "388d7275af5f" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "94a0e83966bb", + "93f4efbf2bd5" ] } } diff --git a/mobile/rpc-foundation/goldens/settings-repo-metadata-refuse-after-data.json b/mobile/rpc-foundation/goldens/settings-repo-metadata-refuse-after-data.json index bd1a76e2157..594e96f3b41 100644 --- a/mobile/rpc-foundation/goldens/settings-repo-metadata-refuse-after-data.json +++ b/mobile/rpc-foundation/goldens/settings-repo-metadata-refuse-after-data.json @@ -3,9 +3,9 @@ "family": "settings.repo-metadata", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "b1c0b957b828c32e7ec388ec6668273fe84bbe5d11d8286b9a246fa92395a26e", "platform": "darwin", @@ -13,6 +13,14 @@ "projectionVersion": 2, "goldenFormatVersion": 5, "values": { + "01c17b40bd86": { + "name": "repoColorsByName", + "value": [ + ["Local", "#6366f1"], + ["Remote", "#f97316"] + ], + "sent": 1 + }, "02449e890487": { "name": "host.platform#1", "args": [ @@ -122,10 +130,6 @@ "name": "ssh.listTargetSummaries#1", "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.listTargetSummaries\"}" }, - "388d7275af5f": { - "name": "hostPlatform", - "value": "linux" - }, "3fc2a1b54e13": { "name": "settings.get#2", "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" @@ -195,13 +199,6 @@ "name": "host.platform#2", "json": "{\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"host.platform\"}" }, - "7d956f17cf24": { - "name": "repoColorsByName", - "value": [ - ["Local", "#6366f1"], - ["Remote", "#f97316"] - ] - }, "7f85f28c922e": { "name": "host.platform#1", "args": [ @@ -274,10 +271,23 @@ } } }, + "85cc15d64d8b": { + "name": "repoHostIdByRepoId", + "value": [ + ["repo-1", "local"], + ["repo-2", "ssh:ssh-1"] + ], + "sent": 1 + }, "9270aeb7d9c6": { "status": "pending", "startedAt": 0 }, + "93f4efbf2bd5": { + "name": "hostPlatform", + "value": "linux", + "sent": 4 + }, "940445cd9bd1": { "name": "repo.list#2", "args": [ @@ -324,6 +334,32 @@ } } }, + "94a0e83966bb": { + "name": "hostLabelById", + "value": [["ssh:ssh-1", "SSH"]], + "sent": 4 + }, + "94f713006fe2": { + "name": "repoIdsByName", + "value": [ + ["Local", "repo-1"], + ["Remote", "repo-2"] + ], + "sent": 5 + }, + "95ed175e5a10": { + "name": "repoColorsByName", + "value": [ + ["Local", "#6366f1"], + ["Remote", "#f97316"] + ], + "sent": 5 + }, + "9b746c7d3d3a": { + "name": "repoIconsByName", + "value": [], + "sent": 1 + }, "a2a51f870c81": { "name": "host.platform#2", "args": [ @@ -357,16 +393,10 @@ } } }, - "a4830eb5b420": { - "name": "hostLabelById", - "value": [["ssh:ssh-1", "SSH"]] - }, - "a95587e993a9": { - "name": "repoIdsByName", - "value": [ - ["Local", "repo-1"], - ["Remote", "repo-2"] - ] + "b278f9a15c59": { + "name": "repoIconsByName", + "value": [], + "sent": 5 }, "b40605df86b7": { "name": "repo.list#1", @@ -414,6 +444,14 @@ } } }, + "c3f3741b4b0e": { + "name": "repoHostIdByRepoId", + "value": [ + ["repo-1", "local"], + ["repo-2", "ssh:ssh-1"] + ], + "sent": 5 + }, "c6d210e4939c": { "name": "repo.list#2", "args": [ @@ -439,16 +477,15 @@ "startedAt": 0 } }, - "d228b095cad2": { - "name": "repoIconsByName", - "value": [] + "c87423a99f8a": { + "name": "hostLabelById", + "value": [["ssh:ssh-1", "SSH"]], + "sent": 8 }, - "d6a308f7b0ff": { - "name": "repoHostIdByRepoId", - "value": [ - ["repo-1", "local"], - ["repo-2", "ssh:ssh-1"] - ] + "ca3107ec7381": { + "name": "hostPlatform", + "value": "linux", + "sent": 8 }, "df7cbc246ac0": { "name": "host.platform#1", @@ -462,6 +499,14 @@ "$rpc": "undefined" } }, + "f070375a490f": { + "name": "repoIdsByName", + "value": [ + ["Local", "repo-1"], + ["Remote", "repo-2"] + ], + "sent": 1 + }, "f7539bb05693": { "name": "ssh.listTargetSummaries#1", "args": [ @@ -518,7 +563,7 @@ "load": "9270aeb7d9c6" }, "state": "6134b73f18d0", - "effects": ["7d956f17cf24", "d228b095cad2", "a95587e993a9", "d6a308f7b0ff"] + "effects": ["01c17b40bd86", "9b746c7d3d3a", "f070375a490f", "85cc15d64d8b"] } }, { @@ -532,12 +577,12 @@ }, "state": "071880b671a1", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "a4830eb5b420", - "388d7275af5f" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "94a0e83966bb", + "93f4efbf2bd5" ] } }, @@ -552,12 +597,12 @@ }, "state": "071880b671a1", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "a4830eb5b420", - "388d7275af5f" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "94a0e83966bb", + "93f4efbf2bd5" ] } }, @@ -585,12 +630,12 @@ }, "state": "071880b671a1", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "a4830eb5b420", - "388d7275af5f" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "94a0e83966bb", + "93f4efbf2bd5" ] } }, @@ -624,18 +669,18 @@ }, "state": "071880b671a1", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "a4830eb5b420", - "388d7275af5f", - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "a4830eb5b420", - "388d7275af5f" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "94a0e83966bb", + "93f4efbf2bd5", + "95ed175e5a10", + "b278f9a15c59", + "94f713006fe2", + "c3f3741b4b0e", + "c87423a99f8a", + "ca3107ec7381" ] } } diff --git a/mobile/rpc-foundation/goldens/settings-repo-metadata-refused.json b/mobile/rpc-foundation/goldens/settings-repo-metadata-refused.json index 77e38a6976d..7588e3d6796 100644 --- a/mobile/rpc-foundation/goldens/settings-repo-metadata-refused.json +++ b/mobile/rpc-foundation/goldens/settings-repo-metadata-refused.json @@ -3,9 +3,9 @@ "family": "settings.repo-metadata", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "867b6905c8a533ddd1c7c8174bf4aadd5fd725cc72bdddbcb2ea8af26e219078", "platform": "darwin", @@ -13,6 +13,14 @@ "projectionVersion": 2, "goldenFormatVersion": 5, "values": { + "01c17b40bd86": { + "name": "repoColorsByName", + "value": [ + ["Local", "#6366f1"], + ["Remote", "#f97316"] + ], + "sent": 1 + }, "02449e890487": { "name": "host.platform#1", "args": [ @@ -84,10 +92,6 @@ "name": "ssh.listTargetSummaries#1", "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.listTargetSummaries\"}" }, - "388d7275af5f": { - "name": "hostPlatform", - "value": "linux" - }, "4335d4b6568f": { "name": "settings.get#1", "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" @@ -111,13 +115,6 @@ "name": "repo.list#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" }, - "7d956f17cf24": { - "name": "repoColorsByName", - "value": [ - ["Local", "#6366f1"], - ["Remote", "#f97316"] - ] - }, "7f85f28c922e": { "name": "host.platform#1", "args": [ @@ -151,20 +148,32 @@ } } }, + "85cc15d64d8b": { + "name": "repoHostIdByRepoId", + "value": [ + ["repo-1", "local"], + ["repo-2", "ssh:ssh-1"] + ], + "sent": 1 + }, "9270aeb7d9c6": { "status": "pending", "startedAt": 0 }, - "a4830eb5b420": { - "name": "hostLabelById", - "value": [["ssh:ssh-1", "SSH"]] + "93f4efbf2bd5": { + "name": "hostPlatform", + "value": "linux", + "sent": 4 }, - "a95587e993a9": { - "name": "repoIdsByName", - "value": [ - ["Local", "repo-1"], - ["Remote", "repo-2"] - ] + "94a0e83966bb": { + "name": "hostLabelById", + "value": [["ssh:ssh-1", "SSH"]], + "sent": 4 + }, + "9b746c7d3d3a": { + "name": "repoIconsByName", + "value": [], + "sent": 1 }, "b40605df86b7": { "name": "repo.list#1", @@ -246,17 +255,6 @@ } } }, - "d228b095cad2": { - "name": "repoIconsByName", - "value": [] - }, - "d6a308f7b0ff": { - "name": "repoHostIdByRepoId", - "value": [ - ["repo-1", "local"], - ["repo-2", "ssh:ssh-1"] - ] - }, "df7cbc246ac0": { "name": "host.platform#1", "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"host.platform\"}" @@ -269,6 +267,14 @@ "$rpc": "undefined" } }, + "f070375a490f": { + "name": "repoIdsByName", + "value": [ + ["Local", "repo-1"], + ["Remote", "repo-2"] + ], + "sent": 1 + }, "f7539bb05693": { "name": "ssh.listTargetSummaries#1", "args": [ @@ -321,7 +327,7 @@ "load": "9270aeb7d9c6" }, "state": "6134b73f18d0", - "effects": ["7d956f17cf24", "d228b095cad2", "a95587e993a9", "d6a308f7b0ff"] + "effects": ["01c17b40bd86", "9b746c7d3d3a", "f070375a490f", "85cc15d64d8b"] } }, { @@ -335,12 +341,12 @@ }, "state": "071880b671a1", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "a4830eb5b420", - "388d7275af5f" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "94a0e83966bb", + "93f4efbf2bd5" ] } } diff --git a/mobile/rpc-foundation/goldens/settings-repo-metadata-single-host.json b/mobile/rpc-foundation/goldens/settings-repo-metadata-single-host.json index 0434f40b769..77bf0f7ef9d 100644 --- a/mobile/rpc-foundation/goldens/settings-repo-metadata-single-host.json +++ b/mobile/rpc-foundation/goldens/settings-repo-metadata-single-host.json @@ -3,9 +3,9 @@ "family": "settings.repo-metadata", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "d8a00a72849f1ed254c3b35ebcc330dd1bb15b189f006bd1517853a19e53de6c", "platform": "darwin", @@ -28,34 +28,38 @@ ["Remote folder", "repo-2"] ] }, - "330bbbce8c90": { + "453573d632b2": { "name": "repoHostIdByRepoId", "value": [ ["repo-1", "ssh:ssh-1"], ["repo-2", "ssh:ssh-1"] - ] - }, - "63fc2c031079": { - "name": "repoIdsByName", - "value": [ - ["Remote", "repo-1"], - ["Remote folder", "repo-2"] - ] + ], + "sent": 1 }, "6bdbf70bafa2": { "name": "repo.list#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" }, - "6c85f114767d": { + "82e9a5619b14": { + "name": "repoIdsByName", + "value": [ + ["Remote", "repo-1"], + ["Remote folder", "repo-2"] + ], + "sent": 1 + }, + "9b746c7d3d3a": { + "name": "repoIconsByName", + "value": [], + "sent": 1 + }, + "e81ffbaa95e9": { "name": "repoColorsByName", "value": [ ["Remote", "#f97316"], ["Remote folder", "#ec4899"] - ] - }, - "d228b095cad2": { - "name": "repoIconsByName", - "value": [] + ], + "sent": 1 }, "eb79a9b3682a": { "status": "fulfilled", @@ -123,7 +127,7 @@ "load": "eb79a9b3682a" }, "state": "2bd489a9fa29", - "effects": ["6c85f114767d", "d228b095cad2", "63fc2c031079", "330bbbce8c90"] + "effects": ["e81ffbaa95e9", "9b746c7d3d3a", "82e9a5619b14", "453573d632b2"] } } ] diff --git a/mobile/rpc-foundation/goldens/settings-repo-metadata-transport-error.json b/mobile/rpc-foundation/goldens/settings-repo-metadata-transport-error.json index ec872c5ba5f..0e6f0cc004d 100644 --- a/mobile/rpc-foundation/goldens/settings-repo-metadata-transport-error.json +++ b/mobile/rpc-foundation/goldens/settings-repo-metadata-transport-error.json @@ -3,9 +3,9 @@ "family": "settings.repo-metadata", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "741db13a84dbcec2e97e80605d742e69558954657c72f8450f3f8bc177dd01b6", "platform": "darwin", @@ -13,6 +13,14 @@ "projectionVersion": 2, "goldenFormatVersion": 5, "values": { + "01c17b40bd86": { + "name": "repoColorsByName", + "value": [ + ["Local", "#6366f1"], + ["Remote", "#f97316"] + ], + "sent": 1 + }, "02449e890487": { "name": "host.platform#1", "args": [ @@ -115,10 +123,6 @@ "name": "ssh.listTargetSummaries#1", "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.listTargetSummaries\"}" }, - "388d7275af5f": { - "name": "hostPlatform", - "value": "linux" - }, "4335d4b6568f": { "name": "settings.get#1", "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" @@ -142,13 +146,6 @@ "name": "repo.list#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" }, - "7d956f17cf24": { - "name": "repoColorsByName", - "value": [ - ["Local", "#6366f1"], - ["Remote", "#f97316"] - ] - }, "7f85f28c922e": { "name": "host.platform#1", "args": [ @@ -182,20 +179,32 @@ } } }, + "85cc15d64d8b": { + "name": "repoHostIdByRepoId", + "value": [ + ["repo-1", "local"], + ["repo-2", "ssh:ssh-1"] + ], + "sent": 1 + }, "9270aeb7d9c6": { "status": "pending", "startedAt": 0 }, - "a4830eb5b420": { - "name": "hostLabelById", - "value": [["ssh:ssh-1", "SSH"]] + "93f4efbf2bd5": { + "name": "hostPlatform", + "value": "linux", + "sent": 4 }, - "a95587e993a9": { - "name": "repoIdsByName", - "value": [ - ["Local", "repo-1"], - ["Remote", "repo-2"] - ] + "94a0e83966bb": { + "name": "hostLabelById", + "value": [["ssh:ssh-1", "SSH"]], + "sent": 4 + }, + "9b746c7d3d3a": { + "name": "repoIconsByName", + "value": [], + "sent": 1 }, "b40605df86b7": { "name": "repo.list#1", @@ -243,17 +252,6 @@ } } }, - "d228b095cad2": { - "name": "repoIconsByName", - "value": [] - }, - "d6a308f7b0ff": { - "name": "repoHostIdByRepoId", - "value": [ - ["repo-1", "local"], - ["repo-2", "ssh:ssh-1"] - ] - }, "df7cbc246ac0": { "name": "host.platform#1", "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"host.platform\"}" @@ -266,6 +264,14 @@ "$rpc": "undefined" } }, + "f070375a490f": { + "name": "repoIdsByName", + "value": [ + ["Local", "repo-1"], + ["Remote", "repo-2"] + ], + "sent": 1 + }, "f7539bb05693": { "name": "ssh.listTargetSummaries#1", "args": [ @@ -318,7 +324,7 @@ "load": "9270aeb7d9c6" }, "state": "6134b73f18d0", - "effects": ["7d956f17cf24", "d228b095cad2", "a95587e993a9", "d6a308f7b0ff"] + "effects": ["01c17b40bd86", "9b746c7d3d3a", "f070375a490f", "85cc15d64d8b"] } }, { @@ -332,12 +338,12 @@ }, "state": "071880b671a1", "effects": [ - "7d956f17cf24", - "d228b095cad2", - "a95587e993a9", - "d6a308f7b0ff", - "a4830eb5b420", - "388d7275af5f" + "01c17b40bd86", + "9b746c7d3d3a", + "f070375a490f", + "85cc15d64d8b", + "94a0e83966bb", + "93f4efbf2bd5" ] } } diff --git a/mobile/rpc-foundation/goldens/settings-resume-metadata-fulfilled.json b/mobile/rpc-foundation/goldens/settings-resume-metadata-fulfilled.json index e33bffa7169..7df440f8b86 100644 --- a/mobile/rpc-foundation/goldens/settings-resume-metadata-fulfilled.json +++ b/mobile/rpc-foundation/goldens/settings-resume-metadata-fulfilled.json @@ -3,9 +3,9 @@ "family": "settings.resume-metadata", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "7a8d0a5305aafea56733c229989b6e825fe9b8a681f48f6cef405350304520b6", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/settings-resume-metadata-refuse-after-data.json b/mobile/rpc-foundation/goldens/settings-resume-metadata-refuse-after-data.json index b719686e1b9..53798ad879a 100644 --- a/mobile/rpc-foundation/goldens/settings-resume-metadata-refuse-after-data.json +++ b/mobile/rpc-foundation/goldens/settings-resume-metadata-refuse-after-data.json @@ -3,9 +3,9 @@ "family": "settings.resume-metadata", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "a11756ecaf7c2d3955b9512aa7479ca55d810341f1492f472985abb538e140e8", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/settings-resume-metadata-refused.json b/mobile/rpc-foundation/goldens/settings-resume-metadata-refused.json index bdc37f9fa94..b8d5c0cfc8b 100644 --- a/mobile/rpc-foundation/goldens/settings-resume-metadata-refused.json +++ b/mobile/rpc-foundation/goldens/settings-resume-metadata-refused.json @@ -3,9 +3,9 @@ "family": "settings.resume-metadata", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "def0640be601a8013f9537f161b60d8c14ac9551931e5ee4d4cc2acd3c2baf2a", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/settings-resume-metadata-transport-error.json b/mobile/rpc-foundation/goldens/settings-resume-metadata-transport-error.json index 87613cf2a3e..16b8d7493e4 100644 --- a/mobile/rpc-foundation/goldens/settings-resume-metadata-transport-error.json +++ b/mobile/rpc-foundation/goldens/settings-resume-metadata-transport-error.json @@ -3,9 +3,9 @@ "family": "settings.resume-metadata", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "17c31d0c2b7ae5322fd59bafcfa1d2779ae9eff841e12c0cf16b27e454b49f13", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/settings-task-hydration-fulfilled.json b/mobile/rpc-foundation/goldens/settings-task-hydration-fulfilled.json index 328f578b80c..115f8f4024b 100644 --- a/mobile/rpc-foundation/goldens/settings-task-hydration-fulfilled.json +++ b/mobile/rpc-foundation/goldens/settings-task-hydration-fulfilled.json @@ -3,9 +3,9 @@ "family": "settings.task-hydration", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "c08cce5d1f71761dbf504863b736e5546abb42b9ff4ab8ced65c7c42e3d66c0e", "platform": "darwin", @@ -13,21 +13,24 @@ "projectionVersion": 2, "goldenFormatVersion": 5, "values": { - "002ad269dd44": { - "name": "showLinearConnect", - "value": false + "00eea9f3200b": { + "name": "pendingGitHubProjectViewSelection", + "value": { + "$rpc": "null" + }, + "sent": 0 }, - "02d5832df83d": { - "name": "query", - "value": "is:issue is:open" + "01e1056d97a4": { + "name": "visibleProviders", + "value": ["github", "linear"], + "sent": 5 }, - "03f32b62aa80": { - "name": "showGitHubProjectViewPicker", - "value": false - }, - "068f4fd0ad0c": { - "name": "showRepoPicker", - "value": false + "073647d24ac4": { + "name": "actionItem", + "value": { + "$rpc": "null" + }, + "sent": 0 }, "090c88478661": { "name": "settings.get#1", @@ -54,23 +57,25 @@ "startedAt": 0 } }, - "12388aa75326": { - "name": "projectRowItem", - "value": { - "$rpc": "null" - } + "12b5d58423cb": { + "name": "githubProjectHiddenFieldIdsByView", + "value": {}, + "sent": 5 }, - "1410db92f7e5": { - "name": "linearTeams", - "value": [] + "16348b11fcba": { + "name": "defaultGitHubPreset", + "value": "issues", + "sent": 5 }, - "16f398d67267": { - "name": "linearConnected", - "value": false + "1dffb3fe8cd8": { + "name": "showLinearDisplayPicker", + "value": false, + "sent": 0 }, - "1b3fd2de141f": { - "name": "showLinearOrderPicker", - "value": false + "1e1de8badcac": { + "name": "showLinearConnect", + "value": false, + "sent": 0 }, "1e5b32902af7": { "name": "status.get#1", @@ -109,9 +114,10 @@ } } }, - "1f96a2f943c0": { + "1fd209dc12de": { "name": "showGitLabViewPicker", - "value": false + "value": false, + "sent": 0 }, "234fabe27913": { "name": "preflight.check#1", @@ -138,85 +144,83 @@ "startedAt": 0 } }, - "321a59c40cce": { - "name": "showProviderPicker", - "value": false - }, - "326e3f8f7e0b": { - "name": "runtimeTaskSettings", + "28fa1cba5d1a": { + "name": "githubProjectSettings", "value": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } + "activeProject": { + "$rpc": "null" + }, + "lastViewByProject": {}, + "pinned": [], + "recent": [] + }, + "sent": 5 }, - "347cc433c473": { - "name": "projectRowDetail", - "value": { - "$rpc": "null" - } - }, - "367b8fc27ba4": { - "name": "showLinearViewPicker", - "value": false - }, - "38721e31cbb4": { - "name": "showGitHubProjectSortPicker", - "value": false - }, - "3e610f908f29": { - "name": "showCreateTask", - "value": false - }, - "3e9fac4d6c32": { + "2c04c960ee94": { "name": "showLinearTeamPicker", - "value": false + "value": false, + "sent": 0 }, - "42d2e0167dad": { - "name": "pendingGitHubProjectViewSelection", - "value": { - "$rpc": "null" - } - }, - "45d50e768fcc": { - "name": "githubPreset", - "value": "issues" - }, - "4a435aea04b4": { - "name": "showLinearFilterPicker", - "value": false - }, - "4cc1535f7ccf": { - "name": "githubProjectHiddenFieldIdsByView", - "value": {} - }, - "4efedb5c24f1": { - "name": "selectedLinearWorkspaceId", - "value": { - "$rpc": "null" - } - }, - "5093ceeca936": { - "name": "showGitHubPagePicker", - "value": false - }, - "52bdddbac50f": { - "name": "trustedOrcaHooks", - "value": {} - }, - "54ea1a00a461": { + "2e442e4df37c": { "name": "showGitHubProjectFieldsPicker", - "value": false + "value": false, + "sent": 0 }, - "5731a23b16cd": { - "name": "selectedLinearTeamIds", - "value": [] + "308ffd78bb89": { + "name": "linearFilter", + "value": "all", + "sent": 5 }, - "57da83afd125": { - "name": "taskStateHydrated", - "value": true + "334b82d94582": { + "name": "linearStatusPickerItem", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "345762fe1fa4": { + "name": "showLinearOrderPicker", + "value": false, + "sent": 0 + }, + "3adce6077ae5": { + "name": "showCreateTargetPicker", + "value": false, + "sent": 0 + }, + "40eabccc0362": { + "name": "showProviderPicker", + "value": false, + "sent": 0 + }, + "416e38ac3c1e": { + "name": "githubMode", + "value": "items", + "sent": 5 + }, + "41be2620a06b": { + "name": "reset-workspace", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "546c38d1781a": { + "name": "mergeMethodProjectRow", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "58140f732f03": { + "name": "showLinearWorkspacePicker", + "value": false, + "sent": 0 + }, + "586d2ff60587": { + "name": "githubKind", + "value": "issues", + "sent": 5 }, "58c52d8b7c76": { "hydrated": true, @@ -228,12 +232,13 @@ "visibleTaskProviders": ["github", "linear"] } }, - "5b1145eb3832": { + "5e05b4814013": { "name": "tasksSupportState", "value": { "client": "logical-client", "kind": "supported" - } + }, + "sent": 1 }, "5fbdd64c75bc": { "name": "ui.get#1", @@ -260,6 +265,14 @@ "startedAt": 0 } }, + "63b9d87881e1": { + "name": "tasksSupportState", + "value": { + "client": "logical-client", + "kind": "unknown" + }, + "sent": 0 + }, "6f30f8b6f3d7": { "name": "status.get#1", "args": [ @@ -293,63 +306,114 @@ } } }, - "740d91a30846": { - "name": "pendingHostedStateChange", - "value": { - "$rpc": "null" - } - }, - "74a4162f39f8": { - "name": "githubKind", - "value": "issues" - }, - "7d341b2cb946": { - "name": "detailPayload", - "value": { - "$rpc": "null" - } - }, - "7f2e001f13e7": { + "758b8c1db523": { "name": "projectRepoNotInOrca", "value": { "$rpc": "null" - } + }, + "sent": 0 }, - "82cd71d524c8": { - "name": "error", - "value": "" + "76ef2e9da242": { + "name": "selectedLinearWorkspaceId", + "value": { + "$rpc": "null" + }, + "sent": 5 }, - "8372342e5a51": { - "name": "linearFilter", - "value": "all" + "78a159d9a918": { + "name": "showGitHubProjectViewPicker", + "value": false, + "sent": 0 }, - "888c93f6f346": { - "name": "appliedQuery", - "value": "is:issue is:open" - }, - "8f287f21cfc4": { - "name": "defaultGitHubPreset", - "value": "issues" - }, - "977e1de1ac2f": { + "85beb8cfde14": { "name": "mergeMethodTaskItem", "value": { "$rpc": "null" - } + }, + "sent": 0 }, - "991081048cc2": { - "name": "reset-workspace", + "86a763922cd7": { + "name": "appliedQuery", + "value": "is:issue is:open", + "sent": 5 + }, + "8832da75be8d": { + "name": "showGitHubPagePicker", + "value": false, + "sent": 0 + }, + "886ccf2737c7": { + "name": "showSortPicker", + "value": false, + "sent": 0 + }, + "8a2b4e3d0eed": { + "name": "trustedOrcaHooks", + "value": {}, + "sent": 5 + }, + "8a3cb00faee0": { + "name": "linearConnected", + "value": false, + "sent": 5 + }, + "8e5298b22c5f": { + "name": "projectRowDetail", "value": { "$rpc": "null" - } + }, + "sent": 0 }, - "9a0f810232ef": { - "name": "provider", - "value": "github" + "921e10a277e7": { + "name": "pendingHostedMerge", + "value": { + "$rpc": "null" + }, + "sent": 0 }, - "a211e64f0900": { + "947cf7373dd6": { + "name": "linearTeams", + "value": [], + "sent": 5 + }, + "9b1d9febbcf6": { "name": "showLinearGroupPicker", - "value": false + "value": false, + "sent": 0 + }, + "9bd1de5d9753": { + "name": "detailPayload", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "9cc2d35c57dc": { + "name": "showGitLabFilterPicker", + "value": false, + "sent": 0 + }, + "9e19e2a66126": { + "name": "showRepoPicker", + "value": false, + "sent": 0 + }, + "9f93d78e416e": { + "name": "taskStateHydrated", + "value": true, + "sent": 5 + }, + "a060c9ebc224": { + "name": "pendingProjectGitHubMerge", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "a2cc59889dc0": { + "name": "showGitHubKindPicker", + "value": false, + "sent": 0 }, "a4760ef5a9f4": { "name": "linear.status#1", @@ -376,9 +440,26 @@ "startedAt": 0 } }, - "a67d16a13986": { - "name": "githubMode", - "value": "items" + "a63e620951f0": { + "name": "selectedLinearTeamIds", + "value": [], + "sent": 5 + }, + "a91aca142b2e": { + "name": "showCreateTask", + "value": false, + "sent": 0 + }, + "aa095faa9afd": { + "name": "runtimeTaskSettings", + "value": { + "defaultTuiAgent": "codex", + "disabledTuiAgents": ["claude"], + "hostSettingOverrides": {}, + "prBotAuthorOverrides": ["bot-user"], + "visibleTaskProviders": ["github", "linear"] + }, + "sent": 5 }, "aa624b10c314": { "name": "linear.status#1", @@ -417,77 +498,56 @@ "name": "linear.status#1", "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" }, - "ac9996319e05": { - "name": "actionItem", + "b341e832c60d": { + "name": "projectRowItem", "value": { "$rpc": "null" - } + }, + "sent": 0 }, - "afdf1ac21a92": { - "name": "showCreateTargetPicker", - "value": false - }, - "b66eccd2062e": { - "name": "linearWorkspaces", - "value": [] - }, - "b7c9b524edd4": { - "name": "pendingHostedMerge", - "value": { - "$rpc": "null" - } - }, - "b80be68cd059": { - "name": "showGitHubKindPicker", - "value": false - }, - "b82f9e80bd6a": { - "name": "showGitHubPresetPicker", - "value": false - }, - "b8ca6ac0e3ec": { - "name": "showLinearWorkspacePicker", - "value": false - }, - "bbbd4bc0a4ef": { + "b9481aea1fae": { "name": "taskStateHydrated", - "value": false + "value": false, + "sent": 0 }, - "bc6d9aaa835c": { - "name": "showLinearDisplayPicker", - "value": false + "c0016b5b1033": { + "name": "showGitHubProjectPicker", + "value": false, + "sent": 0 }, - "bfd6af371d88": { - "name": "githubProjectSettings", - "value": { - "activeProject": { - "$rpc": "null" - }, - "lastViewByProject": {}, - "pinned": [], - "recent": [] - } + "c27ba127946c": { + "name": "linearWorkspaces", + "value": [], + "sent": 5 }, "c6178e6a0f4e": { "hydrated": false, "settings": {} }, - "c78894b47bfd": { - "name": "mergeMethodProjectRow", - "value": { - "$rpc": "null" - } + "c7fb67dfaaa0": { + "name": "showLinearViewPicker", + "value": false, + "sent": 0 }, - "ce5f2125a8c4": { - "name": "tasksSupportState", - "value": { - "client": "logical-client", - "kind": "unknown" - } + "cbb40988c5a5": { + "name": "query", + "value": "is:issue is:open", + "sent": 5 }, - "d47b67d8f357": { - "name": "showGitHubIssueSourcePicker", - "value": false + "d225c567feae": { + "name": "githubPreset", + "value": "issues", + "sent": 5 + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "d4d3179bb79e": { + "name": "showGitHubPresetPicker", + "value": false, + "sent": 0 }, "d705fce957e8": { "name": "settings.get#1", @@ -528,14 +588,6 @@ } } }, - "e23c248f269a": { - "name": "showSortPicker", - "value": false - }, - "e542d7c9af9f": { - "name": "showGitHubProjectPicker", - "value": false - }, "e5662efa8968": { "name": "preflight.check#1", "args": [ @@ -575,14 +627,22 @@ "name": "ui.get#1", "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"ui.get\"}" }, + "e69b48c9e675": { + "name": "pendingHostedStateChange", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "e8bff64c02da": { + "name": "showGitHubProjectSortPicker", + "value": false, + "sent": 0 + }, "eac54552d8bc": { "name": "settings.get#1", "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" }, - "eafaa34ddedb": { - "name": "visibleProviders", - "value": ["github", "linear"] - }, "eb79a9b3682a": { "status": "fulfilled", "startedAt": 0, @@ -595,21 +655,20 @@ "name": "preflight.check#1", "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.check\"}" }, - "f19db62f49cd": { - "name": "showGitLabFilterPicker", - "value": false + "f40b9d8aa1eb": { + "name": "showLinearFilterPicker", + "value": false, + "sent": 0 }, - "f7c5ddb715d7": { - "name": "pendingProjectGitHubMerge", - "value": { - "$rpc": "null" - } + "f95005ae133d": { + "name": "provider", + "value": "github", + "sent": 5 }, - "fb70d4271ae2": { - "name": "linearStatusPickerItem", - "value": { - "$rpc": "null" - } + "feb5f42359fb": { + "name": "showGitHubIssueSourcePicker", + "value": false, + "sent": 0 } }, "recording": { @@ -637,46 +696,46 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c" ] } }, @@ -702,65 +761,65 @@ }, "state": "58c52d8b7c76", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "326e3f8f7e0b", - "52bdddbac50f", - "4cc1535f7ccf", - "16f398d67267", - "b66eccd2062e", - "1410db92f7e5", - "5731a23b16cd", - "4efedb5c24f1", - "eafaa34ddedb", - "9a0f810232ef", - "a67d16a13986", - "8f287f21cfc4", - "45d50e768fcc", - "74a4162f39f8", - "8372342e5a51", - "bfd6af371d88", - "02d5832df83d", - "888c93f6f346", - "57da83afd125" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "aa095faa9afd", + "8a2b4e3d0eed", + "12b5d58423cb", + "8a3cb00faee0", + "c27ba127946c", + "947cf7373dd6", + "a63e620951f0", + "76ef2e9da242", + "01e1056d97a4", + "f95005ae133d", + "416e38ac3c1e", + "16348b11fcba", + "d225c567feae", + "586d2ff60587", + "308ffd78bb89", + "28fa1cba5d1a", + "cbb40988c5a5", + "86a763922cd7", + "9f93d78e416e" ] } } diff --git a/mobile/rpc-foundation/goldens/settings-task-hydration-refuse-after-data.json b/mobile/rpc-foundation/goldens/settings-task-hydration-refuse-after-data.json index 1b522f55949..e2fa1d30e48 100644 --- a/mobile/rpc-foundation/goldens/settings-task-hydration-refuse-after-data.json +++ b/mobile/rpc-foundation/goldens/settings-task-hydration-refuse-after-data.json @@ -3,9 +3,9 @@ "family": "settings.task-hydration", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "b23c3076081901c89e8a8fb8d20028e03f030db040c9cd793b6f2c7cd49d8f25", "platform": "darwin", @@ -13,13 +13,17 @@ "projectionVersion": 2, "goldenFormatVersion": 5, "values": { - "002ad269dd44": { - "name": "showLinearConnect", - "value": false + "00eea9f3200b": { + "name": "pendingGitHubProjectViewSelection", + "value": { + "$rpc": "null" + }, + "sent": 0 }, - "02d5832df83d": { - "name": "query", - "value": "is:issue is:open" + "01e1056d97a4": { + "name": "visibleProviders", + "value": ["github", "linear"], + "sent": 5 }, "02f9384f5305": { "name": "settings.get#2", @@ -55,13 +59,12 @@ } } }, - "03f32b62aa80": { - "name": "showGitHubProjectViewPicker", - "value": false - }, - "068f4fd0ad0c": { - "name": "showRepoPicker", - "value": false + "073647d24ac4": { + "name": "actionItem", + "value": { + "$rpc": "null" + }, + "sent": 0 }, "090c88478661": { "name": "settings.get#1", @@ -88,23 +91,31 @@ "startedAt": 0 } }, - "12388aa75326": { + "0d33c93fcbfd": { "name": "projectRowItem", "value": { "$rpc": "null" - } + }, + "sent": 5 + }, + "12b5d58423cb": { + "name": "githubProjectHiddenFieldIdsByView", + "value": {}, + "sent": 5 }, "12ff4d4f8fc0": { "name": "linear.status#2", "json": "{\"id\":\"frame-10\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" }, - "1410db92f7e5": { - "name": "linearTeams", - "value": [] + "16348b11fcba": { + "name": "defaultGitHubPreset", + "value": "issues", + "sent": 5 }, - "16f398d67267": { - "name": "linearConnected", - "value": false + "1652eab5c64a": { + "name": "provider", + "value": "github", + "sent": 10 }, "1825a87a7ca8": { "hydrated": false, @@ -116,9 +127,15 @@ "visibleTaskProviders": ["github", "linear"] } }, - "1b3fd2de141f": { - "name": "showLinearOrderPicker", - "value": false + "1dffb3fe8cd8": { + "name": "showLinearDisplayPicker", + "value": false, + "sent": 0 + }, + "1e1de8badcac": { + "name": "showLinearConnect", + "value": false, + "sent": 0 }, "1e5b32902af7": { "name": "status.get#1", @@ -157,9 +174,10 @@ } } }, - "1f96a2f943c0": { + "1fd209dc12de": { "name": "showGitLabViewPicker", - "value": false + "value": false, + "sent": 0 }, "234fabe27913": { "name": "preflight.check#1", @@ -186,33 +204,73 @@ "startedAt": 0 } }, - "321a59c40cce": { - "name": "showProviderPicker", - "value": false - }, - "326e3f8f7e0b": { - "name": "runtimeTaskSettings", - "value": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } - }, - "347cc433c473": { - "name": "projectRowDetail", + "252f3a25533f": { + "name": "actionItem", "value": { "$rpc": "null" - } + }, + "sent": 5 }, - "367b8fc27ba4": { - "name": "showLinearViewPicker", - "value": false + "28fa1cba5d1a": { + "name": "githubProjectSettings", + "value": { + "activeProject": { + "$rpc": "null" + }, + "lastViewByProject": {}, + "pinned": [], + "recent": [] + }, + "sent": 5 }, - "38721e31cbb4": { - "name": "showGitHubProjectSortPicker", - "value": false + "29e877d918a0": { + "name": "linearConnected", + "value": false, + "sent": 10 + }, + "2c04c960ee94": { + "name": "showLinearTeamPicker", + "value": false, + "sent": 0 + }, + "2c4387ddd366": { + "name": "pendingHostedMerge", + "value": { + "$rpc": "null" + }, + "sent": 5 + }, + "2e442e4df37c": { + "name": "showGitHubProjectFieldsPicker", + "value": false, + "sent": 0 + }, + "302fa402db4a": { + "name": "error", + "value": "", + "sent": 6 + }, + "308ffd78bb89": { + "name": "linearFilter", + "value": "all", + "sent": 5 + }, + "321bfff34ac2": { + "name": "showGitHubPresetPicker", + "value": false, + "sent": 5 + }, + "334b82d94582": { + "name": "linearStatusPickerItem", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "345762fe1fa4": { + "name": "showLinearOrderPicker", + "value": false, + "sent": 0 }, "3986390fc039": { "name": "linear.status#2", @@ -247,13 +305,15 @@ } } }, - "3e610f908f29": { - "name": "showCreateTask", - "value": false + "3adce6077ae5": { + "name": "showCreateTargetPicker", + "value": false, + "sent": 0 }, - "3e9fac4d6c32": { - "name": "showLinearTeamPicker", - "value": false + "3c29e49e60af": { + "name": "visibleProviders", + "value": ["github", "linear"], + "sent": 10 }, "3f6cb9f1d075": { "name": "status.get#2", @@ -292,49 +352,88 @@ "name": "settings.get#2", "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" }, - "42d2e0167dad": { - "name": "pendingGitHubProjectViewSelection", + "3fee2a1d2652": { + "name": "linearFilter", + "value": "all", + "sent": 10 + }, + "40eabccc0362": { + "name": "showProviderPicker", + "value": false, + "sent": 0 + }, + "416e38ac3c1e": { + "name": "githubMode", + "value": "items", + "sent": 5 + }, + "41be2620a06b": { + "name": "reset-workspace", "value": { "$rpc": "null" - } + }, + "sent": 0 }, - "45d50e768fcc": { - "name": "githubPreset", - "value": "issues" + "460c956ad356": { + "name": "showGitHubProjectPicker", + "value": false, + "sent": 5 }, - "4a435aea04b4": { - "name": "showLinearFilterPicker", - "value": false - }, - "4cc1535f7ccf": { - "name": "githubProjectHiddenFieldIdsByView", - "value": {} - }, - "4efedb5c24f1": { + "46e2a51822f5": { "name": "selectedLinearWorkspaceId", "value": { "$rpc": "null" - } + }, + "sent": 10 }, - "5093ceeca936": { - "name": "showGitHubPagePicker", - "value": false + "47b218ef208f": { + "name": "showRepoPicker", + "value": false, + "sent": 5 }, - "52bdddbac50f": { - "name": "trustedOrcaHooks", - "value": {} - }, - "54ea1a00a461": { - "name": "showGitHubProjectFieldsPicker", - "value": false - }, - "5731a23b16cd": { - "name": "selectedLinearTeamIds", - "value": [] - }, - "57da83afd125": { + "4976dfca54f0": { "name": "taskStateHydrated", - "value": true + "value": false, + "sent": 5 + }, + "4f58fdfd02e0": { + "name": "githubKind", + "value": "issues", + "sent": 10 + }, + "528091bec621": { + "name": "githubMode", + "value": "items", + "sent": 10 + }, + "546c38d1781a": { + "name": "mergeMethodProjectRow", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "551c964c61ea": { + "name": "showProviderPicker", + "value": false, + "sent": 5 + }, + "56f2fa086479": { + "name": "pendingHostedStateChange", + "value": { + "$rpc": "null" + }, + "sent": 5 + }, + "58140f732f03": { + "name": "showLinearWorkspacePicker", + "value": false, + "sent": 0 + }, + "586d2ff60587": { + "name": "githubKind", + "value": "issues", + "sent": 5 }, "58c52d8b7c76": { "hydrated": true, @@ -346,12 +445,30 @@ "visibleTaskProviders": ["github", "linear"] } }, - "5b1145eb3832": { + "59936af3cc5b": { + "name": "showLinearOrderPicker", + "value": false, + "sent": 5 + }, + "5d87a58f6c98": { + "name": "pendingProjectGitHubMerge", + "value": { + "$rpc": "null" + }, + "sent": 5 + }, + "5e05b4814013": { "name": "tasksSupportState", "value": { "client": "logical-client", "kind": "supported" - } + }, + "sent": 1 + }, + "5ebcdff07023": { + "name": "showGitLabFilterPicker", + "value": false, + "sent": 5 }, "5fbdd64c75bc": { "name": "ui.get#1", @@ -378,6 +495,29 @@ "startedAt": 0 } }, + "63b9d87881e1": { + "name": "tasksSupportState", + "value": { + "client": "logical-client", + "kind": "unknown" + }, + "sent": 0 + }, + "67d7ef589c15": { + "name": "showLinearFilterPicker", + "value": false, + "sent": 5 + }, + "6e5246994fa0": { + "name": "showLinearDisplayPicker", + "value": false, + "sent": 5 + }, + "6f02e2ca43f4": { + "name": "trustedOrcaHooks", + "value": {}, + "sent": 10 + }, "6f30f8b6f3d7": { "name": "status.get#1", "args": [ @@ -448,71 +588,224 @@ } } }, - "740d91a30846": { - "name": "pendingHostedStateChange", - "value": { - "$rpc": "null" - } - }, - "74a4162f39f8": { - "name": "githubKind", - "value": "issues" - }, - "7d341b2cb946": { - "name": "detailPayload", - "value": { - "$rpc": "null" - } - }, - "7f2e001f13e7": { + "758b8c1db523": { "name": "projectRepoNotInOrca", "value": { "$rpc": "null" - } + }, + "sent": 0 }, - "82cd71d524c8": { - "name": "error", - "value": "" + "76ef2e9da242": { + "name": "selectedLinearWorkspaceId", + "value": { + "$rpc": "null" + }, + "sent": 5 }, - "8372342e5a51": { - "name": "linearFilter", - "value": "all" + "7746273caf63": { + "name": "taskStateHydrated", + "value": true, + "sent": 10 + }, + "78a159d9a918": { + "name": "showGitHubProjectViewPicker", + "value": false, + "sent": 0 + }, + "7a688c351c65": { + "name": "showSortPicker", + "value": false, + "sent": 5 + }, + "7c0f59ba016c": { + "name": "mergeMethodProjectRow", + "value": { + "$rpc": "null" + }, + "sent": 5 + }, + "7c6e6014385b": { + "name": "showCreateTask", + "value": false, + "sent": 5 + }, + "83f55c58a6c5": { + "name": "showCreateTargetPicker", + "value": false, + "sent": 5 }, "84b10f34b617": { "name": "ui.get#2", "json": "{\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"ui.get\"}" }, - "888c93f6f346": { - "name": "appliedQuery", - "value": "is:issue is:open" + "851fcb1af715": { + "name": "query", + "value": "is:issue is:open", + "sent": 10 }, - "8f287f21cfc4": { + "85beb8cfde14": { + "name": "mergeMethodTaskItem", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "8653f810a31c": { "name": "defaultGitHubPreset", - "value": "issues" + "value": "issues", + "sent": 10 + }, + "86a763922cd7": { + "name": "appliedQuery", + "value": "is:issue is:open", + "sent": 5 + }, + "874e70d237d7": { + "name": "projectRepoNotInOrca", + "value": { + "$rpc": "null" + }, + "sent": 5 + }, + "8832da75be8d": { + "name": "showGitHubPagePicker", + "value": false, + "sent": 0 + }, + "886ccf2737c7": { + "name": "showSortPicker", + "value": false, + "sent": 0 + }, + "8a2b4e3d0eed": { + "name": "trustedOrcaHooks", + "value": {}, + "sent": 5 + }, + "8a3cb00faee0": { + "name": "linearConnected", + "value": false, + "sent": 5 + }, + "8c294e773a32": { + "name": "linearTeams", + "value": [], + "sent": 10 + }, + "8c53814e586c": { + "name": "tasksSupportState", + "value": { + "client": "logical-client", + "kind": "unknown" + }, + "sent": 5 + }, + "8e5298b22c5f": { + "name": "projectRowDetail", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "8f483afc6fdd": { + "name": "runtimeTaskSettings", + "value": {}, + "sent": 10 + }, + "9035f956e10e": { + "name": "githubProjectSettings", + "value": { + "activeProject": { + "$rpc": "null" + }, + "lastViewByProject": {}, + "pinned": [], + "recent": [] + }, + "sent": 10 + }, + "921033244a12": { + "name": "showGitHubProjectSortPicker", + "value": false, + "sent": 5 + }, + "921e10a277e7": { + "name": "pendingHostedMerge", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "947cf7373dd6": { + "name": "linearTeams", + "value": [], + "sent": 5 }, "963a91c532c8": { "hydrated": true, "settings": {} }, - "977e1de1ac2f": { - "name": "mergeMethodTaskItem", - "value": { - "$rpc": "null" - } + "96a071be5404": { + "name": "showGitHubProjectFieldsPicker", + "value": false, + "sent": 5 }, - "991081048cc2": { - "name": "reset-workspace", - "value": { - "$rpc": "null" - } + "9abed258acba": { + "name": "showGitHubPagePicker", + "value": false, + "sent": 5 }, - "9a0f810232ef": { - "name": "provider", - "value": "github" - }, - "a211e64f0900": { + "9b1d9febbcf6": { "name": "showLinearGroupPicker", - "value": false + "value": false, + "sent": 0 + }, + "9bd1de5d9753": { + "name": "detailPayload", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "9cc2d35c57dc": { + "name": "showGitLabFilterPicker", + "value": false, + "sent": 0 + }, + "9d1a470b3def": { + "name": "githubPreset", + "value": "issues", + "sent": 10 + }, + "9e19e2a66126": { + "name": "showRepoPicker", + "value": false, + "sent": 0 + }, + "9f93d78e416e": { + "name": "taskStateHydrated", + "value": true, + "sent": 5 + }, + "a060c9ebc224": { + "name": "pendingProjectGitHubMerge", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "a242348c4324": { + "name": "tasksSupportState", + "value": { + "client": "logical-client", + "kind": "supported" + }, + "sent": 6 + }, + "a2cc59889dc0": { + "name": "showGitHubKindPicker", + "value": false, + "sent": 0 }, "a4760ef5a9f4": { "name": "linear.status#1", @@ -539,9 +832,26 @@ "startedAt": 0 } }, - "a67d16a13986": { - "name": "githubMode", - "value": "items" + "a63e620951f0": { + "name": "selectedLinearTeamIds", + "value": [], + "sent": 5 + }, + "a91aca142b2e": { + "name": "showCreateTask", + "value": false, + "sent": 0 + }, + "aa095faa9afd": { + "name": "runtimeTaskSettings", + "value": { + "defaultTuiAgent": "codex", + "disabledTuiAgents": ["claude"], + "hostSettingOverrides": {}, + "prBotAuthorOverrides": ["bot-user"], + "visibleTaskProviders": ["github", "linear"] + }, + "sent": 5 }, "aa624b10c314": { "name": "linear.status#1", @@ -580,70 +890,67 @@ "name": "linear.status#1", "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" }, - "ac9996319e05": { - "name": "actionItem", - "value": { - "$rpc": "null" - } - }, - "afdf1ac21a92": { - "name": "showCreateTargetPicker", - "value": false - }, - "b66eccd2062e": { - "name": "linearWorkspaces", - "value": [] - }, - "b7c9b524edd4": { - "name": "pendingHostedMerge", - "value": { - "$rpc": "null" - } - }, - "b80be68cd059": { - "name": "showGitHubKindPicker", - "value": false - }, - "b82f9e80bd6a": { - "name": "showGitHubPresetPicker", - "value": false - }, - "b8ca6ac0e3ec": { + "afb75a8d93f3": { "name": "showLinearWorkspacePicker", - "value": false + "value": false, + "sent": 5 + }, + "b341e832c60d": { + "name": "projectRowItem", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "b577c113c079": { + "name": "showLinearViewPicker", + "value": false, + "sent": 5 + }, + "b9481aea1fae": { + "name": "taskStateHydrated", + "value": false, + "sent": 0 }, "b9ce3caa927f": { "name": "preflight.check#2", "json": "{\"id\":\"frame-9\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.check\"}" }, - "bbbd4bc0a4ef": { - "name": "taskStateHydrated", - "value": false + "ba7facf123fb": { + "name": "selectedLinearTeamIds", + "value": [], + "sent": 10 }, - "bc6d9aaa835c": { - "name": "showLinearDisplayPicker", - "value": false + "c0016b5b1033": { + "name": "showGitHubProjectPicker", + "value": false, + "sent": 0 }, - "bfd6af371d88": { - "name": "githubProjectSettings", + "c0739ee88dc8": { + "name": "reset-workspace", "value": { - "activeProject": { - "$rpc": "null" - }, - "lastViewByProject": {}, - "pinned": [], - "recent": [] - } + "$rpc": "null" + }, + "sent": 5 + }, + "c2601492c7cd": { + "name": "showLinearConnect", + "value": false, + "sent": 5 + }, + "c27ba127946c": { + "name": "linearWorkspaces", + "value": [], + "sent": 5 }, "c6178e6a0f4e": { "hydrated": false, "settings": {} }, - "c78894b47bfd": { - "name": "mergeMethodProjectRow", - "value": { - "$rpc": "null" - } + "c7fb67dfaaa0": { + "name": "showLinearViewPicker", + "value": false, + "sent": 0 }, "c9012709cb6f": { "name": "preflight.check#2", @@ -705,16 +1012,44 @@ "startedAt": 0 } }, - "ce5f2125a8c4": { - "name": "tasksSupportState", - "value": { - "client": "logical-client", - "kind": "unknown" - } + "cbb40988c5a5": { + "name": "query", + "value": "is:issue is:open", + "sent": 5 }, - "d47b67d8f357": { - "name": "showGitHubIssueSourcePicker", - "value": false + "d0c2ba0d141f": { + "name": "showGitHubProjectViewPicker", + "value": false, + "sent": 5 + }, + "d225c567feae": { + "name": "githubPreset", + "value": "issues", + "sent": 5 + }, + "d3db1d1b21c6": { + "name": "projectRowDetail", + "value": { + "$rpc": "null" + }, + "sent": 5 + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "d4d3179bb79e": { + "name": "showGitHubPresetPicker", + "value": false, + "sent": 0 + }, + "d6ed7b17eb65": { + "name": "linearStatusPickerItem", + "value": { + "$rpc": "null" + }, + "sent": 5 }, "d705fce957e8": { "name": "settings.get#1", @@ -755,17 +1090,27 @@ } } }, - "dae7907f03cc": { - "name": "runtimeTaskSettings", - "value": {} + "d8fee76f0800": { + "name": "linearWorkspaces", + "value": [], + "sent": 10 }, - "e23c248f269a": { - "name": "showSortPicker", - "value": false + "dc50f834cf28": { + "name": "detailPayload", + "value": { + "$rpc": "null" + }, + "sent": 5 }, - "e542d7c9af9f": { - "name": "showGitHubProjectPicker", - "value": false + "ddd2bd23169a": { + "name": "githubProjectHiddenFieldIdsByView", + "value": {}, + "sent": 10 + }, + "de85b23d1a59": { + "name": "showLinearTeamPicker", + "value": false, + "sent": 5 }, "e5662efa8968": { "name": "preflight.check#1", @@ -806,14 +1151,39 @@ "name": "ui.get#1", "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"ui.get\"}" }, + "e69b48c9e675": { + "name": "pendingHostedStateChange", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "e7af9bf83610": { + "name": "mergeMethodTaskItem", + "value": { + "$rpc": "null" + }, + "sent": 5 + }, + "e8bff64c02da": { + "name": "showGitHubProjectSortPicker", + "value": false, + "sent": 0 + }, + "e96a98c6404f": { + "name": "showGitHubIssueSourcePicker", + "value": false, + "sent": 5 + }, + "ea9da6ec3f4b": { + "name": "appliedQuery", + "value": "is:issue is:open", + "sent": 10 + }, "eac54552d8bc": { "name": "settings.get#1", "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" }, - "eafaa34ddedb": { - "name": "visibleProviders", - "value": ["github", "linear"] - }, "eb79a9b3682a": { "status": "fulfilled", "startedAt": 0, @@ -826,21 +1196,42 @@ "name": "preflight.check#1", "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.check\"}" }, - "f19db62f49cd": { - "name": "showGitLabFilterPicker", - "value": false + "ef60e60436d0": { + "name": "showGitLabViewPicker", + "value": false, + "sent": 5 }, - "f7c5ddb715d7": { - "name": "pendingProjectGitHubMerge", + "f31031e7e491": { + "name": "showGitHubKindPicker", + "value": false, + "sent": 5 + }, + "f40b9d8aa1eb": { + "name": "showLinearFilterPicker", + "value": false, + "sent": 0 + }, + "f5ca82f623ea": { + "name": "pendingGitHubProjectViewSelection", "value": { "$rpc": "null" - } + }, + "sent": 5 }, - "fb70d4271ae2": { - "name": "linearStatusPickerItem", - "value": { - "$rpc": "null" - } + "f695768dc671": { + "name": "showLinearGroupPicker", + "value": false, + "sent": 5 + }, + "f95005ae133d": { + "name": "provider", + "value": "github", + "sent": 5 + }, + "feb5f42359fb": { + "name": "showGitHubIssueSourcePicker", + "value": false, + "sent": 0 } }, "recording": { @@ -868,46 +1259,46 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c" ] } }, @@ -933,65 +1324,65 @@ }, "state": "58c52d8b7c76", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "326e3f8f7e0b", - "52bdddbac50f", - "4cc1535f7ccf", - "16f398d67267", - "b66eccd2062e", - "1410db92f7e5", - "5731a23b16cd", - "4efedb5c24f1", - "eafaa34ddedb", - "9a0f810232ef", - "a67d16a13986", - "8f287f21cfc4", - "45d50e768fcc", - "74a4162f39f8", - "8372342e5a51", - "bfd6af371d88", - "02d5832df83d", - "888c93f6f346", - "57da83afd125" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "aa095faa9afd", + "8a2b4e3d0eed", + "12b5d58423cb", + "8a3cb00faee0", + "c27ba127946c", + "947cf7373dd6", + "a63e620951f0", + "76ef2e9da242", + "01e1056d97a4", + "f95005ae133d", + "416e38ac3c1e", + "16348b11fcba", + "d225c567feae", + "586d2ff60587", + "308ffd78bb89", + "28fa1cba5d1a", + "cbb40988c5a5", + "86a763922cd7", + "9f93d78e416e" ] } }, @@ -1017,65 +1408,65 @@ }, "state": "58c52d8b7c76", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "326e3f8f7e0b", - "52bdddbac50f", - "4cc1535f7ccf", - "16f398d67267", - "b66eccd2062e", - "1410db92f7e5", - "5731a23b16cd", - "4efedb5c24f1", - "eafaa34ddedb", - "9a0f810232ef", - "a67d16a13986", - "8f287f21cfc4", - "45d50e768fcc", - "74a4162f39f8", - "8372342e5a51", - "bfd6af371d88", - "02d5832df83d", - "888c93f6f346", - "57da83afd125" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "aa095faa9afd", + "8a2b4e3d0eed", + "12b5d58423cb", + "8a3cb00faee0", + "c27ba127946c", + "947cf7373dd6", + "a63e620951f0", + "76ef2e9da242", + "01e1056d97a4", + "f95005ae133d", + "416e38ac3c1e", + "16348b11fcba", + "d225c567feae", + "586d2ff60587", + "308ffd78bb89", + "28fa1cba5d1a", + "cbb40988c5a5", + "86a763922cd7", + "9f93d78e416e" ] } }, @@ -1104,103 +1495,103 @@ }, "state": "1825a87a7ca8", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "326e3f8f7e0b", - "52bdddbac50f", - "4cc1535f7ccf", - "16f398d67267", - "b66eccd2062e", - "1410db92f7e5", - "5731a23b16cd", - "4efedb5c24f1", - "eafaa34ddedb", - "9a0f810232ef", - "a67d16a13986", - "8f287f21cfc4", - "45d50e768fcc", - "74a4162f39f8", - "8372342e5a51", - "bfd6af371d88", - "02d5832df83d", - "888c93f6f346", - "57da83afd125", - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "aa095faa9afd", + "8a2b4e3d0eed", + "12b5d58423cb", + "8a3cb00faee0", + "c27ba127946c", + "947cf7373dd6", + "a63e620951f0", + "76ef2e9da242", + "01e1056d97a4", + "f95005ae133d", + "416e38ac3c1e", + "16348b11fcba", + "d225c567feae", + "586d2ff60587", + "308ffd78bb89", + "28fa1cba5d1a", + "cbb40988c5a5", + "86a763922cd7", + "9f93d78e416e", + "4976dfca54f0", + "8c53814e586c", + "afb75a8d93f3", + "de85b23d1a59", + "b577c113c079", + "f695768dc671", + "59936af3cc5b", + "6e5246994fa0", + "c2601492c7cd", + "551c964c61ea", + "f31031e7e491", + "321bfff34ac2", + "ef60e60436d0", + "5ebcdff07023", + "67d7ef589c15", + "7a688c351c65", + "47b218ef208f", + "e96a98c6404f", + "9abed258acba", + "460c956ad356", + "d0c2ba0d141f", + "921033244a12", + "96a071be5404", + "f5ca82f623ea", + "252f3a25533f", + "0d33c93fcbfd", + "874e70d237d7", + "dc50f834cf28", + "d3db1d1b21c6", + "7c6e6014385b", + "83f55c58a6c5", + "d6ed7b17eb65", + "2c4387ddd366", + "5d87a58f6c98", + "56f2fa086479", + "e7af9bf83610", + "7c0f59ba016c", + "c0739ee88dc8" ] } }, @@ -1237,124 +1628,124 @@ }, "state": "963a91c532c8", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "326e3f8f7e0b", - "52bdddbac50f", - "4cc1535f7ccf", - "16f398d67267", - "b66eccd2062e", - "1410db92f7e5", - "5731a23b16cd", - "4efedb5c24f1", - "eafaa34ddedb", - "9a0f810232ef", - "a67d16a13986", - "8f287f21cfc4", - "45d50e768fcc", - "74a4162f39f8", - "8372342e5a51", - "bfd6af371d88", - "02d5832df83d", - "888c93f6f346", - "57da83afd125", - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "dae7907f03cc", - "52bdddbac50f", - "4cc1535f7ccf", - "16f398d67267", - "b66eccd2062e", - "1410db92f7e5", - "5731a23b16cd", - "4efedb5c24f1", - "eafaa34ddedb", - "9a0f810232ef", - "a67d16a13986", - "8f287f21cfc4", - "45d50e768fcc", - "74a4162f39f8", - "8372342e5a51", - "bfd6af371d88", - "02d5832df83d", - "888c93f6f346", - "57da83afd125" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "aa095faa9afd", + "8a2b4e3d0eed", + "12b5d58423cb", + "8a3cb00faee0", + "c27ba127946c", + "947cf7373dd6", + "a63e620951f0", + "76ef2e9da242", + "01e1056d97a4", + "f95005ae133d", + "416e38ac3c1e", + "16348b11fcba", + "d225c567feae", + "586d2ff60587", + "308ffd78bb89", + "28fa1cba5d1a", + "cbb40988c5a5", + "86a763922cd7", + "9f93d78e416e", + "4976dfca54f0", + "8c53814e586c", + "afb75a8d93f3", + "de85b23d1a59", + "b577c113c079", + "f695768dc671", + "59936af3cc5b", + "6e5246994fa0", + "c2601492c7cd", + "551c964c61ea", + "f31031e7e491", + "321bfff34ac2", + "ef60e60436d0", + "5ebcdff07023", + "67d7ef589c15", + "7a688c351c65", + "47b218ef208f", + "e96a98c6404f", + "9abed258acba", + "460c956ad356", + "d0c2ba0d141f", + "921033244a12", + "96a071be5404", + "f5ca82f623ea", + "252f3a25533f", + "0d33c93fcbfd", + "874e70d237d7", + "dc50f834cf28", + "d3db1d1b21c6", + "7c6e6014385b", + "83f55c58a6c5", + "d6ed7b17eb65", + "2c4387ddd366", + "5d87a58f6c98", + "56f2fa086479", + "e7af9bf83610", + "7c0f59ba016c", + "c0739ee88dc8", + "a242348c4324", + "302fa402db4a", + "8f483afc6fdd", + "6f02e2ca43f4", + "ddd2bd23169a", + "29e877d918a0", + "d8fee76f0800", + "8c294e773a32", + "ba7facf123fb", + "46e2a51822f5", + "3c29e49e60af", + "1652eab5c64a", + "528091bec621", + "8653f810a31c", + "9d1a470b3def", + "4f58fdfd02e0", + "3fee2a1d2652", + "9035f956e10e", + "851fcb1af715", + "ea9da6ec3f4b", + "7746273caf63" ] } } diff --git a/mobile/rpc-foundation/goldens/settings-task-hydration-refused.json b/mobile/rpc-foundation/goldens/settings-task-hydration-refused.json index 258690da249..bf83a220be8 100644 --- a/mobile/rpc-foundation/goldens/settings-task-hydration-refused.json +++ b/mobile/rpc-foundation/goldens/settings-task-hydration-refused.json @@ -3,9 +3,9 @@ "family": "settings.task-hydration", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "a510ff7505cddbd6dad3c7e5a2dcde206a5dab1940901511d72c97aca576a6f1", "platform": "darwin", @@ -13,21 +13,24 @@ "projectionVersion": 2, "goldenFormatVersion": 5, "values": { - "002ad269dd44": { - "name": "showLinearConnect", - "value": false + "00eea9f3200b": { + "name": "pendingGitHubProjectViewSelection", + "value": { + "$rpc": "null" + }, + "sent": 0 }, - "02d5832df83d": { - "name": "query", - "value": "is:issue is:open" + "01e1056d97a4": { + "name": "visibleProviders", + "value": ["github", "linear"], + "sent": 5 }, - "03f32b62aa80": { - "name": "showGitHubProjectViewPicker", - "value": false - }, - "068f4fd0ad0c": { - "name": "showRepoPicker", - "value": false + "073647d24ac4": { + "name": "actionItem", + "value": { + "$rpc": "null" + }, + "sent": 0 }, "090c88478661": { "name": "settings.get#1", @@ -54,23 +57,25 @@ "startedAt": 0 } }, - "12388aa75326": { - "name": "projectRowItem", - "value": { - "$rpc": "null" - } + "12b5d58423cb": { + "name": "githubProjectHiddenFieldIdsByView", + "value": {}, + "sent": 5 }, - "1410db92f7e5": { - "name": "linearTeams", - "value": [] + "16348b11fcba": { + "name": "defaultGitHubPreset", + "value": "issues", + "sent": 5 }, - "16f398d67267": { - "name": "linearConnected", - "value": false + "1dffb3fe8cd8": { + "name": "showLinearDisplayPicker", + "value": false, + "sent": 0 }, - "1b3fd2de141f": { - "name": "showLinearOrderPicker", - "value": false + "1e1de8badcac": { + "name": "showLinearConnect", + "value": false, + "sent": 0 }, "1e5b32902af7": { "name": "status.get#1", @@ -109,9 +114,10 @@ } } }, - "1f96a2f943c0": { + "1fd209dc12de": { "name": "showGitLabViewPicker", - "value": false + "value": false, + "sent": 0 }, "234fabe27913": { "name": "preflight.check#1", @@ -138,82 +144,96 @@ "startedAt": 0 } }, - "321a59c40cce": { - "name": "showProviderPicker", - "value": false - }, - "347cc433c473": { - "name": "projectRowDetail", + "28fa1cba5d1a": { + "name": "githubProjectSettings", "value": { - "$rpc": "null" - } + "activeProject": { + "$rpc": "null" + }, + "lastViewByProject": {}, + "pinned": [], + "recent": [] + }, + "sent": 5 }, - "367b8fc27ba4": { - "name": "showLinearViewPicker", - "value": false - }, - "38721e31cbb4": { - "name": "showGitHubProjectSortPicker", - "value": false - }, - "3e610f908f29": { - "name": "showCreateTask", - "value": false - }, - "3e9fac4d6c32": { + "2c04c960ee94": { "name": "showLinearTeamPicker", - "value": false + "value": false, + "sent": 0 }, - "42d2e0167dad": { - "name": "pendingGitHubProjectViewSelection", - "value": { - "$rpc": "null" - } - }, - "45d50e768fcc": { - "name": "githubPreset", - "value": "issues" - }, - "4a435aea04b4": { - "name": "showLinearFilterPicker", - "value": false - }, - "4cc1535f7ccf": { - "name": "githubProjectHiddenFieldIdsByView", - "value": {} - }, - "4efedb5c24f1": { - "name": "selectedLinearWorkspaceId", - "value": { - "$rpc": "null" - } - }, - "5093ceeca936": { - "name": "showGitHubPagePicker", - "value": false - }, - "52bdddbac50f": { - "name": "trustedOrcaHooks", - "value": {} - }, - "54ea1a00a461": { + "2e442e4df37c": { "name": "showGitHubProjectFieldsPicker", - "value": false + "value": false, + "sent": 0 }, - "5731a23b16cd": { - "name": "selectedLinearTeamIds", - "value": [] + "2fc20c1f9a22": { + "name": "runtimeTaskSettings", + "value": {}, + "sent": 5 }, - "57da83afd125": { - "name": "taskStateHydrated", - "value": true + "308ffd78bb89": { + "name": "linearFilter", + "value": "all", + "sent": 5 }, - "5b1145eb3832": { + "334b82d94582": { + "name": "linearStatusPickerItem", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "345762fe1fa4": { + "name": "showLinearOrderPicker", + "value": false, + "sent": 0 + }, + "3adce6077ae5": { + "name": "showCreateTargetPicker", + "value": false, + "sent": 0 + }, + "40eabccc0362": { + "name": "showProviderPicker", + "value": false, + "sent": 0 + }, + "416e38ac3c1e": { + "name": "githubMode", + "value": "items", + "sent": 5 + }, + "41be2620a06b": { + "name": "reset-workspace", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "546c38d1781a": { + "name": "mergeMethodProjectRow", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "58140f732f03": { + "name": "showLinearWorkspacePicker", + "value": false, + "sent": 0 + }, + "586d2ff60587": { + "name": "githubKind", + "value": "issues", + "sent": 5 + }, + "5e05b4814013": { "name": "tasksSupportState", "value": { "client": "logical-client", "kind": "supported" - } + }, + "sent": 1 }, "5fbdd64c75bc": { "name": "ui.get#1", @@ -240,6 +260,14 @@ "startedAt": 0 } }, + "63b9d87881e1": { + "name": "tasksSupportState", + "value": { + "client": "logical-client", + "kind": "unknown" + }, + "sent": 0 + }, "68155c1eb584": { "name": "settings.get#1", "args": [ @@ -307,67 +335,118 @@ } } }, - "740d91a30846": { - "name": "pendingHostedStateChange", - "value": { - "$rpc": "null" - } - }, - "74a4162f39f8": { - "name": "githubKind", - "value": "issues" - }, - "7d341b2cb946": { - "name": "detailPayload", - "value": { - "$rpc": "null" - } - }, - "7f2e001f13e7": { + "758b8c1db523": { "name": "projectRepoNotInOrca", "value": { "$rpc": "null" - } + }, + "sent": 0 }, - "82cd71d524c8": { - "name": "error", - "value": "" + "76ef2e9da242": { + "name": "selectedLinearWorkspaceId", + "value": { + "$rpc": "null" + }, + "sent": 5 }, - "8372342e5a51": { - "name": "linearFilter", - "value": "all" + "78a159d9a918": { + "name": "showGitHubProjectViewPicker", + "value": false, + "sent": 0 }, - "888c93f6f346": { + "85beb8cfde14": { + "name": "mergeMethodTaskItem", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "86a763922cd7": { "name": "appliedQuery", - "value": "is:issue is:open" + "value": "is:issue is:open", + "sent": 5 }, - "8f287f21cfc4": { - "name": "defaultGitHubPreset", - "value": "issues" + "8832da75be8d": { + "name": "showGitHubPagePicker", + "value": false, + "sent": 0 + }, + "886ccf2737c7": { + "name": "showSortPicker", + "value": false, + "sent": 0 + }, + "8a2b4e3d0eed": { + "name": "trustedOrcaHooks", + "value": {}, + "sent": 5 + }, + "8a3cb00faee0": { + "name": "linearConnected", + "value": false, + "sent": 5 + }, + "8e5298b22c5f": { + "name": "projectRowDetail", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "921e10a277e7": { + "name": "pendingHostedMerge", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "947cf7373dd6": { + "name": "linearTeams", + "value": [], + "sent": 5 }, "963a91c532c8": { "hydrated": true, "settings": {} }, - "977e1de1ac2f": { - "name": "mergeMethodTaskItem", - "value": { - "$rpc": "null" - } - }, - "991081048cc2": { - "name": "reset-workspace", - "value": { - "$rpc": "null" - } - }, - "9a0f810232ef": { - "name": "provider", - "value": "github" - }, - "a211e64f0900": { + "9b1d9febbcf6": { "name": "showLinearGroupPicker", - "value": false + "value": false, + "sent": 0 + }, + "9bd1de5d9753": { + "name": "detailPayload", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "9cc2d35c57dc": { + "name": "showGitLabFilterPicker", + "value": false, + "sent": 0 + }, + "9e19e2a66126": { + "name": "showRepoPicker", + "value": false, + "sent": 0 + }, + "9f93d78e416e": { + "name": "taskStateHydrated", + "value": true, + "sent": 5 + }, + "a060c9ebc224": { + "name": "pendingProjectGitHubMerge", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "a2cc59889dc0": { + "name": "showGitHubKindPicker", + "value": false, + "sent": 0 }, "a4760ef5a9f4": { "name": "linear.status#1", @@ -394,9 +473,15 @@ "startedAt": 0 } }, - "a67d16a13986": { - "name": "githubMode", - "value": "items" + "a63e620951f0": { + "name": "selectedLinearTeamIds", + "value": [], + "sent": 5 + }, + "a91aca142b2e": { + "name": "showCreateTask", + "value": false, + "sent": 0 }, "aa624b10c314": { "name": "linear.status#1", @@ -435,89 +520,56 @@ "name": "linear.status#1", "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" }, - "ac9996319e05": { - "name": "actionItem", + "b341e832c60d": { + "name": "projectRowItem", "value": { "$rpc": "null" - } + }, + "sent": 0 }, - "afdf1ac21a92": { - "name": "showCreateTargetPicker", - "value": false - }, - "b66eccd2062e": { - "name": "linearWorkspaces", - "value": [] - }, - "b7c9b524edd4": { - "name": "pendingHostedMerge", - "value": { - "$rpc": "null" - } - }, - "b80be68cd059": { - "name": "showGitHubKindPicker", - "value": false - }, - "b82f9e80bd6a": { - "name": "showGitHubPresetPicker", - "value": false - }, - "b8ca6ac0e3ec": { - "name": "showLinearWorkspacePicker", - "value": false - }, - "bbbd4bc0a4ef": { + "b9481aea1fae": { "name": "taskStateHydrated", - "value": false + "value": false, + "sent": 0 }, - "bc6d9aaa835c": { - "name": "showLinearDisplayPicker", - "value": false + "c0016b5b1033": { + "name": "showGitHubProjectPicker", + "value": false, + "sent": 0 }, - "bfd6af371d88": { - "name": "githubProjectSettings", - "value": { - "activeProject": { - "$rpc": "null" - }, - "lastViewByProject": {}, - "pinned": [], - "recent": [] - } + "c27ba127946c": { + "name": "linearWorkspaces", + "value": [], + "sent": 5 }, "c6178e6a0f4e": { "hydrated": false, "settings": {} }, - "c78894b47bfd": { - "name": "mergeMethodProjectRow", - "value": { - "$rpc": "null" - } + "c7fb67dfaaa0": { + "name": "showLinearViewPicker", + "value": false, + "sent": 0 }, - "ce5f2125a8c4": { - "name": "tasksSupportState", - "value": { - "client": "logical-client", - "kind": "unknown" - } + "cbb40988c5a5": { + "name": "query", + "value": "is:issue is:open", + "sent": 5 }, - "d47b67d8f357": { - "name": "showGitHubIssueSourcePicker", - "value": false + "d225c567feae": { + "name": "githubPreset", + "value": "issues", + "sent": 5 }, - "dae7907f03cc": { - "name": "runtimeTaskSettings", - "value": {} + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 }, - "e23c248f269a": { - "name": "showSortPicker", - "value": false - }, - "e542d7c9af9f": { - "name": "showGitHubProjectPicker", - "value": false + "d4d3179bb79e": { + "name": "showGitHubPresetPicker", + "value": false, + "sent": 0 }, "e5662efa8968": { "name": "preflight.check#1", @@ -558,14 +610,22 @@ "name": "ui.get#1", "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"ui.get\"}" }, + "e69b48c9e675": { + "name": "pendingHostedStateChange", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "e8bff64c02da": { + "name": "showGitHubProjectSortPicker", + "value": false, + "sent": 0 + }, "eac54552d8bc": { "name": "settings.get#1", "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" }, - "eafaa34ddedb": { - "name": "visibleProviders", - "value": ["github", "linear"] - }, "eb79a9b3682a": { "status": "fulfilled", "startedAt": 0, @@ -578,21 +638,20 @@ "name": "preflight.check#1", "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.check\"}" }, - "f19db62f49cd": { - "name": "showGitLabFilterPicker", - "value": false + "f40b9d8aa1eb": { + "name": "showLinearFilterPicker", + "value": false, + "sent": 0 }, - "f7c5ddb715d7": { - "name": "pendingProjectGitHubMerge", - "value": { - "$rpc": "null" - } + "f95005ae133d": { + "name": "provider", + "value": "github", + "sent": 5 }, - "fb70d4271ae2": { - "name": "linearStatusPickerItem", - "value": { - "$rpc": "null" - } + "feb5f42359fb": { + "name": "showGitHubIssueSourcePicker", + "value": false, + "sent": 0 } }, "recording": { @@ -620,46 +679,46 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c" ] } }, @@ -685,65 +744,65 @@ }, "state": "963a91c532c8", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "dae7907f03cc", - "52bdddbac50f", - "4cc1535f7ccf", - "16f398d67267", - "b66eccd2062e", - "1410db92f7e5", - "5731a23b16cd", - "4efedb5c24f1", - "eafaa34ddedb", - "9a0f810232ef", - "a67d16a13986", - "8f287f21cfc4", - "45d50e768fcc", - "74a4162f39f8", - "8372342e5a51", - "bfd6af371d88", - "02d5832df83d", - "888c93f6f346", - "57da83afd125" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "2fc20c1f9a22", + "8a2b4e3d0eed", + "12b5d58423cb", + "8a3cb00faee0", + "c27ba127946c", + "947cf7373dd6", + "a63e620951f0", + "76ef2e9da242", + "01e1056d97a4", + "f95005ae133d", + "416e38ac3c1e", + "16348b11fcba", + "d225c567feae", + "586d2ff60587", + "308ffd78bb89", + "28fa1cba5d1a", + "cbb40988c5a5", + "86a763922cd7", + "9f93d78e416e" ] } } diff --git a/mobile/rpc-foundation/goldens/settings-task-hydration-transport-error.json b/mobile/rpc-foundation/goldens/settings-task-hydration-transport-error.json index e215c4800c6..0a28f6a3df3 100644 --- a/mobile/rpc-foundation/goldens/settings-task-hydration-transport-error.json +++ b/mobile/rpc-foundation/goldens/settings-task-hydration-transport-error.json @@ -3,9 +3,9 @@ "family": "settings.task-hydration", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "d4a2fef3aefb78bdb4aed94fda982124f24a3af3832227654d324735f44aaeeb", "platform": "darwin", @@ -13,17 +13,19 @@ "projectionVersion": 2, "goldenFormatVersion": 5, "values": { - "002ad269dd44": { - "name": "showLinearConnect", - "value": false + "00eea9f3200b": { + "name": "pendingGitHubProjectViewSelection", + "value": { + "$rpc": "null" + }, + "sent": 0 }, - "03f32b62aa80": { - "name": "showGitHubProjectViewPicker", - "value": false - }, - "068f4fd0ad0c": { - "name": "showRepoPicker", - "value": false + "073647d24ac4": { + "name": "actionItem", + "value": { + "$rpc": "null" + }, + "sent": 0 }, "090c88478661": { "name": "settings.get#1", @@ -81,15 +83,20 @@ } } }, - "12388aa75326": { - "name": "projectRowItem", - "value": { - "$rpc": "null" - } + "18730b0f4776": { + "name": "error", + "value": "settings disconnected", + "sent": 5 }, - "1b3fd2de141f": { - "name": "showLinearOrderPicker", - "value": false + "1dffb3fe8cd8": { + "name": "showLinearDisplayPicker", + "value": false, + "sent": 0 + }, + "1e1de8badcac": { + "name": "showLinearConnect", + "value": false, + "sent": 0 }, "1e5b32902af7": { "name": "status.get#1", @@ -128,9 +135,10 @@ } } }, - "1f96a2f943c0": { + "1fd209dc12de": { "name": "showGitLabViewPicker", - "value": false + "value": false, + "sent": 0 }, "234fabe27913": { "name": "preflight.check#1", @@ -157,60 +165,69 @@ "startedAt": 0 } }, - "321a59c40cce": { - "name": "showProviderPicker", - "value": false - }, - "347cc433c473": { - "name": "projectRowDetail", - "value": { - "$rpc": "null" - } - }, - "367b8fc27ba4": { - "name": "showLinearViewPicker", - "value": false - }, - "38721e31cbb4": { - "name": "showGitHubProjectSortPicker", - "value": false - }, - "3e610f908f29": { - "name": "showCreateTask", - "value": false - }, - "3e9fac4d6c32": { + "2c04c960ee94": { "name": "showLinearTeamPicker", - "value": false + "value": false, + "sent": 0 }, - "42d2e0167dad": { - "name": "pendingGitHubProjectViewSelection", + "2e442e4df37c": { + "name": "showGitHubProjectFieldsPicker", + "value": false, + "sent": 0 + }, + "334b82d94582": { + "name": "linearStatusPickerItem", "value": { "$rpc": "null" - } + }, + "sent": 0 }, - "4a435aea04b4": { - "name": "showLinearFilterPicker", - "value": false + "345762fe1fa4": { + "name": "showLinearOrderPicker", + "value": false, + "sent": 0 }, - "5093ceeca936": { - "name": "showGitHubPagePicker", - "value": false + "3adce6077ae5": { + "name": "showCreateTargetPicker", + "value": false, + "sent": 0 }, - "54ea1a00a461": { - "name": "showGitHubProjectFieldsPicker", - "value": false + "40eabccc0362": { + "name": "showProviderPicker", + "value": false, + "sent": 0 }, - "5b1145eb3832": { + "41be2620a06b": { + "name": "reset-workspace", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "4976dfca54f0": { + "name": "taskStateHydrated", + "value": false, + "sent": 5 + }, + "546c38d1781a": { + "name": "mergeMethodProjectRow", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "58140f732f03": { + "name": "showLinearWorkspacePicker", + "value": false, + "sent": 0 + }, + "5e05b4814013": { "name": "tasksSupportState", "value": { "client": "logical-client", "kind": "supported" - } - }, - "5fb094097bdb": { - "name": "error", - "value": "settings disconnected" + }, + "sent": 1 }, "5fbdd64c75bc": { "name": "ui.get#1", @@ -237,6 +254,14 @@ "startedAt": 0 } }, + "63b9d87881e1": { + "name": "tasksSupportState", + "value": { + "client": "logical-client", + "kind": "unknown" + }, + "sent": 0 + }, "6f30f8b6f3d7": { "name": "status.get#1", "args": [ @@ -270,43 +295,82 @@ } } }, - "740d91a30846": { - "name": "pendingHostedStateChange", - "value": { - "$rpc": "null" - } - }, - "7d341b2cb946": { - "name": "detailPayload", - "value": { - "$rpc": "null" - } - }, - "7f2e001f13e7": { + "758b8c1db523": { "name": "projectRepoNotInOrca", "value": { "$rpc": "null" - } + }, + "sent": 0 }, - "82cd71d524c8": { - "name": "error", - "value": "" + "78a159d9a918": { + "name": "showGitHubProjectViewPicker", + "value": false, + "sent": 0 }, - "977e1de1ac2f": { + "85beb8cfde14": { "name": "mergeMethodTaskItem", "value": { "$rpc": "null" - } + }, + "sent": 0 }, - "991081048cc2": { - "name": "reset-workspace", + "8832da75be8d": { + "name": "showGitHubPagePicker", + "value": false, + "sent": 0 + }, + "886ccf2737c7": { + "name": "showSortPicker", + "value": false, + "sent": 0 + }, + "8e5298b22c5f": { + "name": "projectRowDetail", "value": { "$rpc": "null" - } + }, + "sent": 0 }, - "a211e64f0900": { + "921e10a277e7": { + "name": "pendingHostedMerge", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "9b1d9febbcf6": { "name": "showLinearGroupPicker", - "value": false + "value": false, + "sent": 0 + }, + "9bd1de5d9753": { + "name": "detailPayload", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "9cc2d35c57dc": { + "name": "showGitLabFilterPicker", + "value": false, + "sent": 0 + }, + "9e19e2a66126": { + "name": "showRepoPicker", + "value": false, + "sent": 0 + }, + "a060c9ebc224": { + "name": "pendingProjectGitHubMerge", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "a2cc59889dc0": { + "name": "showGitHubKindPicker", + "value": false, + "sent": 0 }, "a4760ef5a9f4": { "name": "linear.status#1", @@ -333,6 +397,11 @@ "startedAt": 0 } }, + "a91aca142b2e": { + "name": "showCreateTask", + "value": false, + "sent": 0 + }, "aa624b10c314": { "name": "linear.status#1", "args": [ @@ -370,70 +439,41 @@ "name": "linear.status#1", "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" }, - "ac9996319e05": { - "name": "actionItem", + "b341e832c60d": { + "name": "projectRowItem", "value": { "$rpc": "null" - } + }, + "sent": 0 }, - "afdf1ac21a92": { - "name": "showCreateTargetPicker", - "value": false - }, - "b7c9b524edd4": { - "name": "pendingHostedMerge", - "value": { - "$rpc": "null" - } - }, - "b80be68cd059": { - "name": "showGitHubKindPicker", - "value": false - }, - "b82f9e80bd6a": { - "name": "showGitHubPresetPicker", - "value": false - }, - "b8ca6ac0e3ec": { - "name": "showLinearWorkspacePicker", - "value": false - }, - "bbbd4bc0a4ef": { + "b9481aea1fae": { "name": "taskStateHydrated", - "value": false + "value": false, + "sent": 0 }, - "bc6d9aaa835c": { - "name": "showLinearDisplayPicker", - "value": false + "c0016b5b1033": { + "name": "showGitHubProjectPicker", + "value": false, + "sent": 0 }, "c6178e6a0f4e": { "hydrated": false, "settings": {} }, - "c78894b47bfd": { - "name": "mergeMethodProjectRow", - "value": { - "$rpc": "null" - } + "c7fb67dfaaa0": { + "name": "showLinearViewPicker", + "value": false, + "sent": 0 }, - "ce5f2125a8c4": { - "name": "tasksSupportState", - "value": { - "client": "logical-client", - "kind": "unknown" - } + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 }, - "d47b67d8f357": { - "name": "showGitHubIssueSourcePicker", - "value": false - }, - "e23c248f269a": { - "name": "showSortPicker", - "value": false - }, - "e542d7c9af9f": { - "name": "showGitHubProjectPicker", - "value": false + "d4d3179bb79e": { + "name": "showGitHubPresetPicker", + "value": false, + "sent": 0 }, "e5662efa8968": { "name": "preflight.check#1", @@ -474,6 +514,18 @@ "name": "ui.get#1", "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"ui.get\"}" }, + "e69b48c9e675": { + "name": "pendingHostedStateChange", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "e8bff64c02da": { + "name": "showGitHubProjectSortPicker", + "value": false, + "sent": 0 + }, "eac54552d8bc": { "name": "settings.get#1", "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" @@ -490,21 +542,15 @@ "name": "preflight.check#1", "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.check\"}" }, - "f19db62f49cd": { - "name": "showGitLabFilterPicker", - "value": false + "f40b9d8aa1eb": { + "name": "showLinearFilterPicker", + "value": false, + "sent": 0 }, - "f7c5ddb715d7": { - "name": "pendingProjectGitHubMerge", - "value": { - "$rpc": "null" - } - }, - "fb70d4271ae2": { - "name": "linearStatusPickerItem", - "value": { - "$rpc": "null" - } + "feb5f42359fb": { + "name": "showGitHubIssueSourcePicker", + "value": false, + "sent": 0 } }, "recording": { @@ -532,46 +578,46 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c" ] } }, @@ -597,48 +643,48 @@ }, "state": "c6178e6a0f4e", "effects": [ - "bbbd4bc0a4ef", - "ce5f2125a8c4", - "b8ca6ac0e3ec", - "3e9fac4d6c32", - "367b8fc27ba4", - "a211e64f0900", - "1b3fd2de141f", - "bc6d9aaa835c", - "002ad269dd44", - "321a59c40cce", - "b80be68cd059", - "b82f9e80bd6a", - "1f96a2f943c0", - "f19db62f49cd", - "4a435aea04b4", - "e23c248f269a", - "068f4fd0ad0c", - "d47b67d8f357", - "5093ceeca936", - "e542d7c9af9f", - "03f32b62aa80", - "38721e31cbb4", - "54ea1a00a461", - "42d2e0167dad", - "ac9996319e05", - "12388aa75326", - "7f2e001f13e7", - "7d341b2cb946", - "347cc433c473", - "3e610f908f29", - "afdf1ac21a92", - "fb70d4271ae2", - "b7c9b524edd4", - "f7c5ddb715d7", - "740d91a30846", - "977e1de1ac2f", - "c78894b47bfd", - "991081048cc2", - "5b1145eb3832", - "82cd71d524c8", - "5fb094097bdb", - "bbbd4bc0a4ef" + "b9481aea1fae", + "63b9d87881e1", + "58140f732f03", + "2c04c960ee94", + "c7fb67dfaaa0", + "9b1d9febbcf6", + "345762fe1fa4", + "1dffb3fe8cd8", + "1e1de8badcac", + "40eabccc0362", + "a2cc59889dc0", + "d4d3179bb79e", + "1fd209dc12de", + "9cc2d35c57dc", + "f40b9d8aa1eb", + "886ccf2737c7", + "9e19e2a66126", + "feb5f42359fb", + "8832da75be8d", + "c0016b5b1033", + "78a159d9a918", + "e8bff64c02da", + "2e442e4df37c", + "00eea9f3200b", + "073647d24ac4", + "b341e832c60d", + "758b8c1db523", + "9bd1de5d9753", + "8e5298b22c5f", + "a91aca142b2e", + "3adce6077ae5", + "334b82d94582", + "921e10a277e7", + "a060c9ebc224", + "e69b48c9e675", + "85beb8cfde14", + "546c38d1781a", + "41be2620a06b", + "5e05b4814013", + "d48d5c49486c", + "18730b0f4776", + "4976dfca54f0" ] } } diff --git a/mobile/rpc-foundation/goldens/settings-task-workspace-create-linear.json b/mobile/rpc-foundation/goldens/settings-task-workspace-create-linear.json index ffa8395a545..be7d92cb15b 100644 --- a/mobile/rpc-foundation/goldens/settings-task-workspace-create-linear.json +++ b/mobile/rpc-foundation/goldens/settings-task-workspace-create-linear.json @@ -3,9 +3,9 @@ "family": "settings.task-workspace-create", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "411f2288f09b7940ceb46304c7fc3325e248bf009ff3a7cc12839d521cfad599", "scenarioSha256": "662c3e04e31bce5757f09f91e3e3739fb9d57767b7443be4dc936705b64b1432", "platform": "darwin", @@ -13,12 +13,10 @@ "projectionVersion": 2, "goldenFormatVersion": 5, "values": { - "067cef118d9f": { - "name": "runtimeTaskSettings", - "value": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": [] - } + "05ed43b996fb": { + "name": "navigation", + "value": "/h/host-1/session/wt-1?name=ORC-1+Recorded+issue&created=1", + "sent": 2 }, "090c88478661": { "name": "settings.get#1", @@ -89,11 +87,12 @@ } } }, - "180125f5d1a6": { + "1847f1d16cc3": { "name": "workspaceCreateDraft", "value": { "$rpc": "null" - } + }, + "sent": 2 }, "2473f12c7cdd": { "name": "settings.get#1", @@ -131,6 +130,11 @@ } } }, + "2a3409305e35": { + "name": "creatingKey", + "value": "linear:1", + "sent": 0 + }, "33e3b949d4c5": { "creating": { "$rpc": "null" @@ -141,16 +145,6 @@ "disabledTuiAgents": [] } }, - "6eb4e79ad99a": { - "name": "setupPrompt", - "value": { - "$rpc": "null" - } - }, - "730f92993963": { - "name": "creatingKey", - "value": "linear:1" - }, "7abdfe20af50": { "creating": "linear:1", "error": "", @@ -162,33 +156,47 @@ "name": "settings.get#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" }, - "7ee99993a895": { - "name": "navigation", - "value": "/h/host-1/session/wt-1?name=ORC-1+Recorded+issue&created=1" - }, - "82cd71d524c8": { - "name": "error", - "value": "" - }, "9270aeb7d9c6": { "status": "pending", "startedAt": 0 }, - "ac9996319e05": { + "94d10e7369a8": { + "name": "setupPrompt", + "value": { + "$rpc": "null" + }, + "sent": 2 + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "a1c21422795e": { + "name": "creatingKey", + "value": { + "$rpc": "null" + }, + "sent": 2 + }, + "b3786fd78eba": { "name": "actionItem", "value": { "$rpc": "null" - } + }, + "sent": 2 }, "baa74a0ec378": { "name": "worktree.create#1", "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.create\",\"params\":{\"repo\":\"id:repo-1\",\"name\":\"orc-1\",\"displayName\":\"ORC-1 Recorded issue\",\"displayNameKind\":\"generated\",\"linkedLinearIssue\":\"ORC-1\",\"setupDecision\":\"inherit\",\"activate\":true,\"startupDraft\":\"https://linear.app/orca/issue/ORC-1\",\"createdWithAgent\":\"claude\"}}" }, - "c9cb32059b8d": { - "name": "creatingKey", + "d78d24fff8fb": { + "name": "runtimeTaskSettings", "value": { - "$rpc": "null" - } + "defaultTuiAgent": "codex", + "disabledTuiAgents": [] + }, + "sent": 1 }, "eb79a9b3682a": { "status": "fulfilled", @@ -212,7 +220,7 @@ "submit": "9270aeb7d9c6" }, "state": "7abdfe20af50", - "effects": ["730f92993963", "82cd71d524c8"] + "effects": ["2a3409305e35", "9e263f5e91be"] } }, { @@ -226,14 +234,14 @@ }, "state": "33e3b949d4c5", "effects": [ - "730f92993963", - "82cd71d524c8", - "067cef118d9f", - "ac9996319e05", - "180125f5d1a6", - "6eb4e79ad99a", - "7ee99993a895", - "c9cb32059b8d" + "2a3409305e35", + "9e263f5e91be", + "d78d24fff8fb", + "b3786fd78eba", + "1847f1d16cc3", + "94d10e7369a8", + "05ed43b996fb", + "a1c21422795e" ] } } diff --git a/mobile/rpc-foundation/goldens/settings-task-workspace-create-pr-start-point.json b/mobile/rpc-foundation/goldens/settings-task-workspace-create-pr-start-point.json index 870d6724ba7..a015aca91e2 100644 --- a/mobile/rpc-foundation/goldens/settings-task-workspace-create-pr-start-point.json +++ b/mobile/rpc-foundation/goldens/settings-task-workspace-create-pr-start-point.json @@ -3,9 +3,9 @@ "family": "settings.task-workspace-create", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "411f2288f09b7940ceb46304c7fc3325e248bf009ff3a7cc12839d521cfad599", "scenarioSha256": "8ae9e1dbb32d404eac9e01f71dacf1c37497030220a8e988c0093bb7ed2d159b", "platform": "darwin", @@ -13,12 +13,12 @@ "projectionVersion": 2, "goldenFormatVersion": 5, "values": { - "067cef118d9f": { - "name": "runtimeTaskSettings", + "0289e08fa363": { + "name": "workspaceCreateDraft", "value": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": [] - } + "$rpc": "null" + }, + "sent": 3 }, "090c88478661": { "name": "settings.get#1", @@ -45,12 +45,6 @@ "startedAt": 0 } }, - "180125f5d1a6": { - "name": "workspaceCreateDraft", - "value": { - "$rpc": "null" - } - }, "2473f12c7cdd": { "name": "settings.get#1", "args": [ @@ -112,24 +106,40 @@ "disabledTuiAgents": ["claude"] } }, - "6eb4e79ad99a": { + "759bb7d4b5cf": { "name": "setupPrompt", "value": { "$rpc": "null" - } + }, + "sent": 3 }, "7ddcb1852b39": { "name": "settings.get#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" }, - "82cd71d524c8": { - "name": "error", - "value": "" + "8f08c9b94011": { + "name": "actionItem", + "value": { + "$rpc": "null" + }, + "sent": 3 }, "9270aeb7d9c6": { "status": "pending", "startedAt": 0 }, + "96be595b4b0e": { + "name": "creatingKey", + "value": { + "$rpc": "null" + }, + "sent": 3 + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, "9e9f36142bbd": { "name": "worktree.create#1", "args": [ @@ -209,25 +219,22 @@ "startedAt": 0 } }, - "ac9996319e05": { - "name": "actionItem", - "value": { - "$rpc": "null" - } - }, "b66f6d1958b9": { "name": "worktree.create#1", "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.create\",\"params\":{\"repo\":\"id:repo-1\",\"name\":\"pr-7\",\"displayName\":\"Recorded pull request\",\"displayNameKind\":\"generated\",\"setupDecision\":\"inherit\",\"activate\":true,\"startupDraft\":\"https://github.com/o/r/pull/7\",\"createdWithAgent\":\"claude\",\"baseBranch\":\"main\",\"linkedPR\":7}}" }, - "be0ebed89b2b": { - "name": "navigation", - "value": "/h/host-1/session/wt-2?name=Recorded+pull+request&created=1&warning=shallow+clone" - }, - "c9cb32059b8d": { - "name": "creatingKey", + "d78d24fff8fb": { + "name": "runtimeTaskSettings", "value": { - "$rpc": "null" - } + "defaultTuiAgent": "codex", + "disabledTuiAgents": [] + }, + "sent": 1 + }, + "e00e0d995284": { + "name": "creatingKey", + "value": "github:7", + "sent": 0 }, "eb79a9b3682a": { "status": "fulfilled", @@ -241,9 +248,10 @@ "name": "worktree.resolvePrBase#1", "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.resolvePrBase\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":7}}" }, - "ecefc28694cb": { - "name": "creatingKey", - "value": "github:7" + "f2ca7e4f0a73": { + "name": "navigation", + "value": "/h/host-1/session/wt-2?name=Recorded+pull+request&created=1&warning=shallow+clone", + "sent": 3 }, "f9e183f427ee": { "name": "worktree.resolvePrBase#1", @@ -293,7 +301,7 @@ "submit": "9270aeb7d9c6" }, "state": "52051fd3214e", - "effects": ["ecefc28694cb", "82cd71d524c8"] + "effects": ["e00e0d995284", "9e263f5e91be"] } }, { @@ -306,7 +314,7 @@ "submit": "9270aeb7d9c6" }, "state": "3dc266b1bda1", - "effects": ["ecefc28694cb", "82cd71d524c8", "067cef118d9f"] + "effects": ["e00e0d995284", "9e263f5e91be", "d78d24fff8fb"] } }, { @@ -320,14 +328,14 @@ }, "state": "33e3b949d4c5", "effects": [ - "ecefc28694cb", - "82cd71d524c8", - "067cef118d9f", - "ac9996319e05", - "180125f5d1a6", - "6eb4e79ad99a", - "be0ebed89b2b", - "c9cb32059b8d" + "e00e0d995284", + "9e263f5e91be", + "d78d24fff8fb", + "8f08c9b94011", + "0289e08fa363", + "759bb7d4b5cf", + "f2ca7e4f0a73", + "96be595b4b0e" ] } } diff --git a/mobile/rpc-foundation/goldens/settings-task-workspace-fulfilled.json b/mobile/rpc-foundation/goldens/settings-task-workspace-fulfilled.json index 08cead301ea..e8e6d327bd1 100644 --- a/mobile/rpc-foundation/goldens/settings-task-workspace-fulfilled.json +++ b/mobile/rpc-foundation/goldens/settings-task-workspace-fulfilled.json @@ -3,9 +3,9 @@ "family": "settings.task-workspace", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "411f2288f09b7940ceb46304c7fc3325e248bf009ff3a7cc12839d521cfad599", "scenarioSha256": "5c4c890e4c71e80fa8847a5e29700fc9df3ac3bd634bad6289db37522fadd621", "platform": "darwin", @@ -13,6 +13,11 @@ "projectionVersion": 2, "goldenFormatVersion": 5, "values": { + "01533f698bc3": { + "name": "workspaceAgent", + "value": "codex", + "sent": 1 + }, "090c88478661": { "name": "settings.get#1", "args": [ @@ -38,7 +43,12 @@ "startedAt": 0 } }, - "326e3f8f7e0b": { + "2a3409305e35": { + "name": "creatingKey", + "value": "linear:1", + "sent": 0 + }, + "2d957a8af6b3": { "name": "runtimeTaskSettings", "value": { "defaultTuiAgent": "codex", @@ -46,19 +56,15 @@ "hostSettingOverrides": {}, "prBotAuthorOverrides": ["bot-user"], "visibleTaskProviders": ["github", "linear"] - } + }, + "sent": 1 }, - "3405a06dce84": { - "name": "error", - "value": "Selected agent is disabled. Choose an enabled agent before creating." - }, - "3f453dd79b03": { - "name": "workspaceAgent", - "value": "codex" - }, - "730f92993963": { + "3542b2dc7cf4": { "name": "creatingKey", - "value": "linear:1" + "value": { + "$rpc": "null" + }, + "sent": 1 }, "7abdfe20af50": { "creating": "linear:1", @@ -110,10 +116,6 @@ "name": "settings.get#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" }, - "82cd71d524c8": { - "name": "error", - "value": "" - }, "8b8197eed660": { "creating": { "$rpc": "null" @@ -131,15 +133,20 @@ "status": "pending", "startedAt": 0 }, - "c9cb32059b8d": { - "name": "creatingKey", - "value": { - "$rpc": "null" - } - }, - "ea709e13f0f0": { + "98260d6be053": { "name": "workspaceAgentOverridden", - "value": false + "value": false, + "sent": 1 + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "eaf6fe088c19": { + "name": "error", + "value": "Selected agent is disabled. Choose an enabled agent before creating.", + "sent": 1 }, "eb79a9b3682a": { "status": "fulfilled", @@ -163,7 +170,7 @@ "submit": "9270aeb7d9c6" }, "state": "7abdfe20af50", - "effects": ["730f92993963", "82cd71d524c8"] + "effects": ["2a3409305e35", "9e263f5e91be"] } }, { @@ -177,13 +184,13 @@ }, "state": "8b8197eed660", "effects": [ - "730f92993963", - "82cd71d524c8", - "326e3f8f7e0b", - "3f453dd79b03", - "ea709e13f0f0", - "3405a06dce84", - "c9cb32059b8d" + "2a3409305e35", + "9e263f5e91be", + "2d957a8af6b3", + "01533f698bc3", + "98260d6be053", + "eaf6fe088c19", + "3542b2dc7cf4" ] } } diff --git a/mobile/rpc-foundation/goldens/settings-task-workspace-refused.json b/mobile/rpc-foundation/goldens/settings-task-workspace-refused.json index 2db425571a4..19f23abbe65 100644 --- a/mobile/rpc-foundation/goldens/settings-task-workspace-refused.json +++ b/mobile/rpc-foundation/goldens/settings-task-workspace-refused.json @@ -3,9 +3,9 @@ "family": "settings.task-workspace", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "411f2288f09b7940ceb46304c7fc3325e248bf009ff3a7cc12839d521cfad599", "scenarioSha256": "a699a0a5b128fa422dab0c7557b5aa18599b2d23fa6685cdcc02e17edf328af1", "platform": "darwin", @@ -13,6 +13,11 @@ "projectionVersion": 2, "goldenFormatVersion": 5, "values": { + "01533f698bc3": { + "name": "workspaceAgent", + "value": "codex", + "sent": 1 + }, "090c88478661": { "name": "settings.get#1", "args": [ @@ -38,17 +43,17 @@ "startedAt": 0 } }, - "3405a06dce84": { - "name": "error", - "value": "Selected agent is disabled. Choose an enabled agent before creating." - }, - "3f453dd79b03": { - "name": "workspaceAgent", - "value": "codex" - }, - "730f92993963": { + "2a3409305e35": { "name": "creatingKey", - "value": "linear:1" + "value": "linear:1", + "sent": 0 + }, + "3542b2dc7cf4": { + "name": "creatingKey", + "value": { + "$rpc": "null" + }, + "sent": 1 }, "7abdfe20af50": { "creating": "linear:1", @@ -61,19 +66,19 @@ "name": "settings.get#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" }, - "82cd71d524c8": { - "name": "error", - "value": "" - }, "9270aeb7d9c6": { "status": "pending", "startedAt": 0 }, - "c9cb32059b8d": { - "name": "creatingKey", - "value": { - "$rpc": "null" - } + "98260d6be053": { + "name": "workspaceAgentOverridden", + "value": false, + "sent": 1 + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 }, "d5df3f6b123a": { "creating": { @@ -118,9 +123,10 @@ } } }, - "ea709e13f0f0": { - "name": "workspaceAgentOverridden", - "value": false + "eaf6fe088c19": { + "name": "error", + "value": "Selected agent is disabled. Choose an enabled agent before creating.", + "sent": 1 }, "eb79a9b3682a": { "status": "fulfilled", @@ -144,7 +150,7 @@ "submit": "9270aeb7d9c6" }, "state": "7abdfe20af50", - "effects": ["730f92993963", "82cd71d524c8"] + "effects": ["2a3409305e35", "9e263f5e91be"] } }, { @@ -158,12 +164,12 @@ }, "state": "d5df3f6b123a", "effects": [ - "730f92993963", - "82cd71d524c8", - "3f453dd79b03", - "ea709e13f0f0", - "3405a06dce84", - "c9cb32059b8d" + "2a3409305e35", + "9e263f5e91be", + "01533f698bc3", + "98260d6be053", + "eaf6fe088c19", + "3542b2dc7cf4" ] } } diff --git a/mobile/rpc-foundation/goldens/settings-task-workspace-transport-error.json b/mobile/rpc-foundation/goldens/settings-task-workspace-transport-error.json index 0a1bfb48a55..3b389799fc6 100644 --- a/mobile/rpc-foundation/goldens/settings-task-workspace-transport-error.json +++ b/mobile/rpc-foundation/goldens/settings-task-workspace-transport-error.json @@ -3,9 +3,9 @@ "family": "settings.task-workspace", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "411f2288f09b7940ceb46304c7fc3325e248bf009ff3a7cc12839d521cfad599", "scenarioSha256": "a5e812cd508826b3f01ec3798c621ab4303de6536a364113f01a4770dd197bb5", "platform": "darwin", @@ -13,6 +13,11 @@ "projectionVersion": 2, "goldenFormatVersion": 5, "values": { + "01533f698bc3": { + "name": "workspaceAgent", + "value": "codex", + "sent": 1 + }, "090c88478661": { "name": "settings.get#1", "args": [ @@ -69,17 +74,17 @@ } } }, - "3405a06dce84": { - "name": "error", - "value": "Selected agent is disabled. Choose an enabled agent before creating." - }, - "3f453dd79b03": { - "name": "workspaceAgent", - "value": "codex" - }, - "730f92993963": { + "2a3409305e35": { "name": "creatingKey", - "value": "linear:1" + "value": "linear:1", + "sent": 0 + }, + "3542b2dc7cf4": { + "name": "creatingKey", + "value": { + "$rpc": "null" + }, + "sent": 1 }, "7abdfe20af50": { "creating": "linear:1", @@ -92,19 +97,19 @@ "name": "settings.get#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" }, - "82cd71d524c8": { - "name": "error", - "value": "" - }, "9270aeb7d9c6": { "status": "pending", "startedAt": 0 }, - "c9cb32059b8d": { - "name": "creatingKey", - "value": { - "$rpc": "null" - } + "98260d6be053": { + "name": "workspaceAgentOverridden", + "value": false, + "sent": 1 + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 }, "d5df3f6b123a": { "creating": { @@ -115,9 +120,10 @@ "disabledTuiAgents": ["claude"] } }, - "ea709e13f0f0": { - "name": "workspaceAgentOverridden", - "value": false + "eaf6fe088c19": { + "name": "error", + "value": "Selected agent is disabled. Choose an enabled agent before creating.", + "sent": 1 }, "eb79a9b3682a": { "status": "fulfilled", @@ -141,7 +147,7 @@ "submit": "9270aeb7d9c6" }, "state": "7abdfe20af50", - "effects": ["730f92993963", "82cd71d524c8"] + "effects": ["2a3409305e35", "9e263f5e91be"] } }, { @@ -155,12 +161,12 @@ }, "state": "d5df3f6b123a", "effects": [ - "730f92993963", - "82cd71d524c8", - "3f453dd79b03", - "ea709e13f0f0", - "3405a06dce84", - "c9cb32059b8d" + "2a3409305e35", + "9e263f5e91be", + "01533f698bc3", + "98260d6be053", + "eaf6fe088c19", + "3542b2dc7cf4" ] } } diff --git a/mobile/rpc-foundation/goldens/settings-task-write.json b/mobile/rpc-foundation/goldens/settings-task-write.json index 688d8fded98..2d26583502f 100644 --- a/mobile/rpc-foundation/goldens/settings-task-write.json +++ b/mobile/rpc-foundation/goldens/settings-task-write.json @@ -3,9 +3,9 @@ "family": "settings-best-effort", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "d3b7f33d810e1fa420ac41a628cde9fe4a9e65fd57f89fbca0a40fc7d74951ab", "scenarioSha256": "bbcdefe16b07068a81f3c46ae60df01ccb0fbe5a7c1eade3f584f6f0130c23fe", "platform": "darwin", @@ -76,9 +76,10 @@ "startedAt": 0 } }, - "b2897d5daa49": { + "8bdf90b8099a": { "name": "defaultGitHubPreset", - "value": "assigned" + "value": "assigned", + "sent": 0 }, "eb79a9b3682a": { "status": "fulfilled", @@ -102,7 +103,7 @@ "write": "eb79a9b3682a" }, "state": "5db909d58c6f", - "effects": ["b2897d5daa49"] + "effects": ["8bdf90b8099a"] } }, { @@ -115,7 +116,7 @@ "write": "eb79a9b3682a" }, "state": "5db909d58c6f", - "effects": ["b2897d5daa49"] + "effects": ["8bdf90b8099a"] } } ] diff --git a/mobile/rpc-foundation/goldens/settings-workspace-context-fulfilled.json b/mobile/rpc-foundation/goldens/settings-workspace-context-fulfilled.json index 37794ac1b16..a4119e07024 100644 --- a/mobile/rpc-foundation/goldens/settings-workspace-context-fulfilled.json +++ b/mobile/rpc-foundation/goldens/settings-workspace-context-fulfilled.json @@ -3,9 +3,9 @@ "family": "settings.workspace-context", "namedDeltas": ["new-workspace-runtime-context-null-results-degrade-to-absent"], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "287f94e469548f28c9d5591ff6ffb916fa22caa18776b091542b75704c9e1fee", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/settings-workspace-context-refuse-after-data.json b/mobile/rpc-foundation/goldens/settings-workspace-context-refuse-after-data.json index 2868142028e..e5b42a33628 100644 --- a/mobile/rpc-foundation/goldens/settings-workspace-context-refuse-after-data.json +++ b/mobile/rpc-foundation/goldens/settings-workspace-context-refuse-after-data.json @@ -3,9 +3,9 @@ "family": "settings.workspace-context", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "76793a56e7b9e596d8c42e9a5a1c47337db32d7437bec2e41d6e7253943f3fd8", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/settings-workspace-context-refused.json b/mobile/rpc-foundation/goldens/settings-workspace-context-refused.json index 2f851cefb93..f3a44e66e01 100644 --- a/mobile/rpc-foundation/goldens/settings-workspace-context-refused.json +++ b/mobile/rpc-foundation/goldens/settings-workspace-context-refused.json @@ -3,9 +3,9 @@ "family": "settings.workspace-context", "namedDeltas": ["new-workspace-runtime-context-null-results-degrade-to-absent"], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "ad19fc24973b49ee7d14bc31460a7e4af5d207db6a2375b52b5a0aa878e09205", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/settings-workspace-context-transport-error.json b/mobile/rpc-foundation/goldens/settings-workspace-context-transport-error.json index ad3a4e73368..b0d83b8c350 100644 --- a/mobile/rpc-foundation/goldens/settings-workspace-context-transport-error.json +++ b/mobile/rpc-foundation/goldens/settings-workspace-context-transport-error.json @@ -3,9 +3,9 @@ "family": "settings.workspace-context", "namedDeltas": ["new-workspace-runtime-context-null-results-degrade-to-absent"], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "fc73116d95985606fe32f22d3f14f434a6d5cd49219416c9fa0f47f971fa6ff0", "scenarioSha256": "a2c80c9cdbb631f3a8fa648dfbb9e691418467d6ead8fe769d72e7e1d8b552b4", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/settings-workspace-submit-fulfilled.json b/mobile/rpc-foundation/goldens/settings-workspace-submit-fulfilled.json index dac6def8701..04568411b08 100644 --- a/mobile/rpc-foundation/goldens/settings-workspace-submit-fulfilled.json +++ b/mobile/rpc-foundation/goldens/settings-workspace-submit-fulfilled.json @@ -3,9 +3,9 @@ "family": "settings.workspace-submit", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "411f2288f09b7940ceb46304c7fc3325e248bf009ff3a7cc12839d521cfad599", "scenarioSha256": "b10ff86086c134284cb0446e8857cd4b55f5ff2bd0507388ec659a95f25e2a19", "platform": "darwin", @@ -45,9 +45,18 @@ "disabledTuiAgents": ["claude"] } }, - "3405a06dce84": { - "name": "error", - "value": "Selected agent is disabled. Choose an enabled agent before creating." + "3af6dc91992c": { + "name": "agentOverridden", + "value": false, + "sent": 1 + }, + "4c38e416e041": { + "name": "selectedAgent", + "value": { + "id": "codex", + "label": "Codex" + }, + "sent": 1 }, "5efbd884ea5a": { "creating": false, @@ -60,16 +69,6 @@ "visibleTaskProviders": ["github", "linear"] } }, - "6c2789ab0e4b": { - "name": "runtimeSettings", - "value": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } - }, "7ca23c4c946b": { "name": "settings.get#1", "args": [ @@ -113,24 +112,30 @@ "name": "settings.get#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" }, - "82cd71d524c8": { - "name": "error", - "value": "" - }, "9270aeb7d9c6": { "status": "pending", "startedAt": 0 }, - "ae291b5dba88": { - "name": "agentOverridden", - "value": false + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 }, - "eb6f7a9c5bf1": { - "name": "selectedAgent", + "ea718cd95024": { + "name": "runtimeSettings", "value": { - "id": "codex", - "label": "Codex" - } + "defaultTuiAgent": "codex", + "disabledTuiAgents": ["claude"], + "hostSettingOverrides": {}, + "prBotAuthorOverrides": ["bot-user"], + "visibleTaskProviders": ["github", "linear"] + }, + "sent": 1 + }, + "eaf6fe088c19": { + "name": "error", + "value": "Selected agent is disabled. Choose an enabled agent before creating.", + "sent": 1 }, "eb79a9b3682a": { "status": "fulfilled", @@ -154,7 +159,7 @@ "submit": "9270aeb7d9c6" }, "state": "13c996e4ec2b", - "effects": ["82cd71d524c8"] + "effects": ["9e263f5e91be"] } }, { @@ -168,11 +173,11 @@ }, "state": "5efbd884ea5a", "effects": [ - "82cd71d524c8", - "6c2789ab0e4b", - "eb6f7a9c5bf1", - "ae291b5dba88", - "3405a06dce84" + "9e263f5e91be", + "ea718cd95024", + "4c38e416e041", + "3af6dc91992c", + "eaf6fe088c19" ] } } diff --git a/mobile/rpc-foundation/goldens/settings-workspace-submit-refused.json b/mobile/rpc-foundation/goldens/settings-workspace-submit-refused.json index 8742b9ad421..8f1054b9d1a 100644 --- a/mobile/rpc-foundation/goldens/settings-workspace-submit-refused.json +++ b/mobile/rpc-foundation/goldens/settings-workspace-submit-refused.json @@ -3,9 +3,9 @@ "family": "settings.workspace-submit", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "411f2288f09b7940ceb46304c7fc3325e248bf009ff3a7cc12839d521cfad599", "scenarioSha256": "373ea3743dac4e0845df01d5c8f75c909563b8c517f3858293a478234dc9ca5c", "platform": "darwin", @@ -52,25 +52,31 @@ "disabledTuiAgents": ["claude"] } }, - "3405a06dce84": { - "name": "error", - "value": "Selected agent is disabled. Choose an enabled agent before creating." + "3af6dc91992c": { + "name": "agentOverridden", + "value": false, + "sent": 1 + }, + "4c38e416e041": { + "name": "selectedAgent", + "value": { + "id": "codex", + "label": "Codex" + }, + "sent": 1 }, "7ddcb1852b39": { "name": "settings.get#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" }, - "82cd71d524c8": { - "name": "error", - "value": "" - }, "9270aeb7d9c6": { "status": "pending", "startedAt": 0 }, - "ae291b5dba88": { - "name": "agentOverridden", - "value": false + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 }, "d6140b218abd": { "name": "settings.get#1", @@ -106,12 +112,10 @@ } } }, - "eb6f7a9c5bf1": { - "name": "selectedAgent", - "value": { - "id": "codex", - "label": "Codex" - } + "eaf6fe088c19": { + "name": "error", + "value": "Selected agent is disabled. Choose an enabled agent before creating.", + "sent": 1 }, "eb79a9b3682a": { "status": "fulfilled", @@ -135,7 +139,7 @@ "submit": "9270aeb7d9c6" }, "state": "13c996e4ec2b", - "effects": ["82cd71d524c8"] + "effects": ["9e263f5e91be"] } }, { @@ -148,7 +152,7 @@ "submit": "eb79a9b3682a" }, "state": "2e8e352c8dd1", - "effects": ["82cd71d524c8", "eb6f7a9c5bf1", "ae291b5dba88", "3405a06dce84"] + "effects": ["9e263f5e91be", "4c38e416e041", "3af6dc91992c", "eaf6fe088c19"] } } ] diff --git a/mobile/rpc-foundation/goldens/settings-workspace-submit-transport-error.json b/mobile/rpc-foundation/goldens/settings-workspace-submit-transport-error.json index e940e5bc40c..efcffbe62e0 100644 --- a/mobile/rpc-foundation/goldens/settings-workspace-submit-transport-error.json +++ b/mobile/rpc-foundation/goldens/settings-workspace-submit-transport-error.json @@ -3,9 +3,9 @@ "family": "settings.workspace-submit", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "411f2288f09b7940ceb46304c7fc3325e248bf009ff3a7cc12839d521cfad599", "scenarioSha256": "dfbacbd6392ae8e8199550952fe917e7c01182349df6c99a06eb0682cfd9175c", "platform": "darwin", @@ -83,32 +83,36 @@ "disabledTuiAgents": ["claude"] } }, - "3405a06dce84": { - "name": "error", - "value": "Selected agent is disabled. Choose an enabled agent before creating." + "3af6dc91992c": { + "name": "agentOverridden", + "value": false, + "sent": 1 + }, + "4c38e416e041": { + "name": "selectedAgent", + "value": { + "id": "codex", + "label": "Codex" + }, + "sent": 1 }, "7ddcb1852b39": { "name": "settings.get#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" }, - "82cd71d524c8": { - "name": "error", - "value": "" - }, "9270aeb7d9c6": { "status": "pending", "startedAt": 0 }, - "ae291b5dba88": { - "name": "agentOverridden", - "value": false + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 }, - "eb6f7a9c5bf1": { - "name": "selectedAgent", - "value": { - "id": "codex", - "label": "Codex" - } + "eaf6fe088c19": { + "name": "error", + "value": "Selected agent is disabled. Choose an enabled agent before creating.", + "sent": 1 }, "eb79a9b3682a": { "status": "fulfilled", @@ -132,7 +136,7 @@ "submit": "9270aeb7d9c6" }, "state": "13c996e4ec2b", - "effects": ["82cd71d524c8"] + "effects": ["9e263f5e91be"] } }, { @@ -145,7 +149,7 @@ "submit": "eb79a9b3682a" }, "state": "2e8e352c8dd1", - "effects": ["82cd71d524c8", "eb6f7a9c5bf1", "ae291b5dba88", "3405a06dce84"] + "effects": ["9e263f5e91be", "4c38e416e041", "3af6dc91992c", "eaf6fe088c19"] } } ] diff --git a/mobile/rpc-foundation/goldens/speech-audio-chunk-acknowledged.json b/mobile/rpc-foundation/goldens/speech-audio-chunk-acknowledged.json new file mode 100644 index 00000000000..fad25494184 --- /dev/null +++ b/mobile/rpc-foundation/goldens/speech-audio-chunk-acknowledged.json @@ -0,0 +1,90 @@ +{ + "operation": "speech.audio-chunk", + "family": "speech.dictation-chunk", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "3ddb44511547ae2fc97340e5a49393233f6716f9704b7b994f43bc030788b25b", + "scenarioSha256": "08b583790d858a4cb7cf7377126818b6d05766c02587343ec89a167f94094082", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "02cebe6f0062": { + "failures": [], + "pending": 0 + }, + "90af24dc404f": { + "name": "speech.dictation.chunk#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"speech.dictation.chunk\",\"params\":{\"dictationId\":\"dictation-1\",\"audioBase64\":\"ACVKb5S53gM=\",\"sampleRate\":16000}}" + }, + "bc459c132276": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": [ + { + "status": "fulfilled", + "value": { + "$rpc": "undefined" + } + } + ] + }, + "c0d15d1b2941": { + "name": "speech.dictation.chunk#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.chunk" + }, + { + "name": "params", + "value": { + "audioBase64": "ACVKb5S53gM=", + "dictationId": "dictation-1", + "sampleRate": 16000 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "received": true + } + } + } + } + }, + "recording": { + "scenario": "speech-audio-chunk-acknowledged", + "checkpoints": [ + { + "id": "acknowledged", + "observation": { + "sender": ["c0d15d1b2941"], + "payloads": ["90af24dc404f"], + "settlements": { + "chunk": "bc459c132276" + }, + "state": "02cebe6f0062", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/speech-desktop-start-fulfilled.json b/mobile/rpc-foundation/goldens/speech-desktop-start-fulfilled.json new file mode 100644 index 00000000000..635f1d90aec --- /dev/null +++ b/mobile/rpc-foundation/goldens/speech-desktop-start-fulfilled.json @@ -0,0 +1,89 @@ +{ + "operation": "speech.desktop-start", + "family": "speech.dictation-start", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "3ddb44511547ae2fc97340e5a49393233f6716f9704b7b994f43bc030788b25b", + "scenarioSha256": "35fadd03f2c98344e22d6aec2dc85ad15ca5ac8e092fc1c29a20366db5d46628", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "6db9a10e2b00": { + "activeId": "dictation-1", + "idle": false, + "started": true + }, + "84e5ca07cb7a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": true + }, + "a0128a3c7e10": { + "name": "keep-awake-acquire", + "value": { + "id": "dictation-1" + }, + "sent": 1 + }, + "bbe508ab7f95": { + "name": "speech.dictation.start#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.start" + }, + { + "name": "params", + "value": { + "dictationId": "dictation-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "started": true + } + } + } + }, + "e1538fe51a1e": { + "name": "speech.dictation.start#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"speech.dictation.start\",\"params\":{\"dictationId\":\"dictation-1\"}}" + } + }, + "recording": { + "scenario": "speech-desktop-start-fulfilled", + "checkpoints": [ + { + "id": "recording", + "observation": { + "sender": ["bbe508ab7f95"], + "payloads": ["e1538fe51a1e"], + "settlements": { + "start": "84e5ca07cb7a" + }, + "state": "6db9a10e2b00", + "effects": ["a0128a3c7e10"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/speech-desktop-start-recording-failed.json b/mobile/rpc-foundation/goldens/speech-desktop-start-recording-failed.json new file mode 100644 index 00000000000..ce4443bbfca --- /dev/null +++ b/mobile/rpc-foundation/goldens/speech-desktop-start-recording-failed.json @@ -0,0 +1,144 @@ +{ + "operation": "speech.desktop-start", + "family": "speech.dictation-start", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "3ddb44511547ae2fc97340e5a49393233f6716f9704b7b994f43bc030788b25b", + "scenarioSha256": "75b8d1b7ed98b2bf7420986958d0a36222b007c535f85c1308b534301241ec2d", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0744999456ef": { + "name": "rollback-recording", + "value": {}, + "sent": 1 + }, + "1cf8d4be517f": { + "activeId": { + "$rpc": "null" + }, + "idle": true, + "started": "unstarted" + }, + "58ed4d5abdf0": { + "name": "speech.dictation.cancel#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.cancel" + }, + { + "name": "params", + "value": { + "dictationId": "dictation-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "cancelled": true + } + } + } + }, + "7a657475cacc": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Failed to start microphone recording", + "isRpcDeliveryUnknown": false + } + }, + "a0128a3c7e10": { + "name": "keep-awake-acquire", + "value": { + "id": "dictation-1" + }, + "sent": 1 + }, + "a78a87e09f05": { + "name": "speech.dictation.cancel#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"speech.dictation.cancel\",\"params\":{\"dictationId\":\"dictation-1\"}}" + }, + "bbe508ab7f95": { + "name": "speech.dictation.start#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.start" + }, + { + "name": "params", + "value": { + "dictationId": "dictation-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "started": true + } + } + } + }, + "e1538fe51a1e": { + "name": "speech.dictation.start#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"speech.dictation.start\",\"params\":{\"dictationId\":\"dictation-1\"}}" + }, + "ff7a7828636f": { + "name": "keep-awake-release", + "value": { + "id": "dictation-1" + }, + "sent": 1 + } + }, + "recording": { + "scenario": "speech-desktop-start-recording-failed", + "checkpoints": [ + { + "id": "rolled-back", + "observation": { + "sender": ["bbe508ab7f95", "58ed4d5abdf0"], + "payloads": ["e1538fe51a1e", "a78a87e09f05"], + "settlements": { + "start": "7a657475cacc" + }, + "state": "1cf8d4be517f", + "effects": ["a0128a3c7e10", "0744999456ef", "ff7a7828636f"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/speech-desktop-start-superseded.json b/mobile/rpc-foundation/goldens/speech-desktop-start-superseded.json new file mode 100644 index 00000000000..da4b691a818 --- /dev/null +++ b/mobile/rpc-foundation/goldens/speech-desktop-start-superseded.json @@ -0,0 +1,130 @@ +{ + "operation": "speech.desktop-start", + "family": "speech.dictation-start", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "3ddb44511547ae2fc97340e5a49393233f6716f9704b7b994f43bc030788b25b", + "scenarioSha256": "b1c4a6d6c94d54fb5f60eb2deb437562ededd724140dd3973d842d7c29bf1a60", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "58ed4d5abdf0": { + "name": "speech.dictation.cancel#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.cancel" + }, + { + "name": "params", + "value": { + "dictationId": "dictation-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "cancelled": true + } + } + } + }, + "7ed3d39f0607": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": false + }, + "a78a87e09f05": { + "name": "speech.dictation.cancel#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"speech.dictation.cancel\",\"params\":{\"dictationId\":\"dictation-1\"}}" + }, + "bbe508ab7f95": { + "name": "speech.dictation.start#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.start" + }, + { + "name": "params", + "value": { + "dictationId": "dictation-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "started": true + } + } + } + }, + "e0fcd8f8c1a9": { + "activeId": { + "$rpc": "null" + }, + "idle": false, + "started": false + }, + "e1538fe51a1e": { + "name": "speech.dictation.start#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"speech.dictation.start\",\"params\":{\"dictationId\":\"dictation-1\"}}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "speech-desktop-start-superseded", + "checkpoints": [ + { + "id": "stale-start-cancelled", + "observation": { + "sender": ["bbe508ab7f95", "58ed4d5abdf0"], + "payloads": ["e1538fe51a1e", "a78a87e09f05"], + "settlements": { + "supersede": "eb79a9b3682a", + "start": "7ed3d39f0607" + }, + "state": "e0fcd8f8c1a9", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/speech-dictation-session-cancelled.json b/mobile/rpc-foundation/goldens/speech-dictation-session-cancelled.json new file mode 100644 index 00000000000..ba63230bf1e --- /dev/null +++ b/mobile/rpc-foundation/goldens/speech-dictation-session-cancelled.json @@ -0,0 +1,125 @@ +{ + "operation": "speech.dictation-session", + "family": "speech.dictation-session", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "3ddb44511547ae2fc97340e5a49393233f6716f9704b7b994f43bc030788b25b", + "scenarioSha256": "cc8338e31b7a2dc232238281afd2e3240343bb817a652744789f58ace806325a", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "19545af661f2": { + "name": "speech.dictation.cancel#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"speech.dictation.cancel\",\"params\":{\"dictationId\":\"mobile-dictation-1767225600000-dakoxjr8wun\"}}" + }, + "3fe14b61ba9c": { + "name": "speech.dictation.start#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"speech.dictation.start\",\"params\":{\"dictationId\":\"mobile-dictation-1767225600000-dakoxjr8wun\"}}" + }, + "6b76435b6f3e": { + "error": { + "$rpc": "null" + }, + "status": "idle", + "transcripts": [] + }, + "a3d4b25bf713": { + "name": "speech.dictation.start#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.start" + }, + { + "name": "params", + "value": { + "dictationId": "mobile-dictation-1767225600000-dakoxjr8wun" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "started": true + } + } + } + }, + "b0eeac720acc": { + "name": "speech.dictation.cancel#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.cancel" + }, + { + "name": "params", + "value": { + "dictationId": "mobile-dictation-1767225600000-dakoxjr8wun" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "cancelled": true + } + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "speech-dictation-session-cancelled", + "checkpoints": [ + { + "id": "cancelled", + "observation": { + "sender": ["a3d4b25bf713", "b0eeac720acc"], + "payloads": ["3fe14b61ba9c", "19545af661f2"], + "settlements": { + "mount": "eb79a9b3682a", + "start": "eb79a9b3682a", + "cancel": "eb79a9b3682a" + }, + "state": "6b76435b6f3e", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/speech-dictation-session-transcript.json b/mobile/rpc-foundation/goldens/speech-dictation-session-transcript.json new file mode 100644 index 00000000000..db637264946 --- /dev/null +++ b/mobile/rpc-foundation/goldens/speech-dictation-session-transcript.json @@ -0,0 +1,125 @@ +{ + "operation": "speech.dictation-session", + "family": "speech.dictation-session", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "3ddb44511547ae2fc97340e5a49393233f6716f9704b7b994f43bc030788b25b", + "scenarioSha256": "e49a25f36fe41125d875205f7d543218078b87f0039f16ba3dc2f10c6a9e9860", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "3fe14b61ba9c": { + "name": "speech.dictation.start#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"speech.dictation.start\",\"params\":{\"dictationId\":\"mobile-dictation-1767225600000-dakoxjr8wun\"}}" + }, + "5ef2dfd4108a": { + "name": "speech.dictation.finish#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.finish" + }, + { + "name": "params", + "value": { + "dictationId": "mobile-dictation-1767225600000-dakoxjr8wun" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 75000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "text": " hello world " + } + } + } + }, + "a19279fc9c65": { + "error": { + "$rpc": "null" + }, + "status": "idle", + "transcripts": ["hello world"] + }, + "a3d4b25bf713": { + "name": "speech.dictation.start#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.start" + }, + { + "name": "params", + "value": { + "dictationId": "mobile-dictation-1767225600000-dakoxjr8wun" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "started": true + } + } + } + }, + "a79e628b898b": { + "name": "speech.dictation.finish#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"speech.dictation.finish\",\"params\":{\"dictationId\":\"mobile-dictation-1767225600000-dakoxjr8wun\"}}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "speech-dictation-session-transcript", + "checkpoints": [ + { + "id": "transcribed", + "observation": { + "sender": ["a3d4b25bf713", "5ef2dfd4108a"], + "payloads": ["3fe14b61ba9c", "a79e628b898b"], + "settlements": { + "mount": "eb79a9b3682a", + "start": "eb79a9b3682a", + "stop": "eb79a9b3682a" + }, + "state": "a19279fc9c65", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/speech-setup-sheet-denied-to-mobile.json b/mobile/rpc-foundation/goldens/speech-setup-sheet-denied-to-mobile.json new file mode 100644 index 00000000000..2deeb4bb3ae --- /dev/null +++ b/mobile/rpc-foundation/goldens/speech-setup-sheet-denied-to-mobile.json @@ -0,0 +1,83 @@ +{ + "operation": "speech.setup-sheet", + "family": "speech.setup-sheet", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "3ddb44511547ae2fc97340e5a49393233f6716f9704b7b994f43bc030788b25b", + "scenarioSha256": "69c1c20ea667a2b6a5b53aeb3d9af11b2b707e04086e15ee4ff9e954b1701851", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "100447f8b483": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Update the paired desktop Orca app to use mobile voice settings.", + "isRpcDeliveryUnknown": false + } + }, + "44136fa355b3": {}, + "db814c0e0956": { + "name": "speech.models.list#1", + "args": [ + { + "name": "method", + "value": "speech.models.list" + }, + { + "name": "params", + "value": { + "$rpc": "null" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "forbidden", + "message": "speech.models.list is not available to mobile clients" + }, + "id": "frame-1", + "ok": false + } + } + }, + "f7f1557b866b": { + "name": "speech.models.list#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"speech.models.list\",\"params\":null}" + } + }, + "recording": { + "scenario": "speech-setup-sheet-denied-to-mobile", + "checkpoints": [ + { + "id": "denied", + "observation": { + "sender": ["db814c0e0956"], + "payloads": ["f7f1557b866b"], + "settlements": { + "list": "100447f8b483" + }, + "state": "44136fa355b3", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/speech-setup-sheet-fulfilled.json b/mobile/rpc-foundation/goldens/speech-setup-sheet-fulfilled.json new file mode 100644 index 00000000000..2efc08bbb49 --- /dev/null +++ b/mobile/rpc-foundation/goldens/speech-setup-sheet-fulfilled.json @@ -0,0 +1,268 @@ +{ + "operation": "speech.setup-sheet", + "family": "speech.setup-sheet", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "3ddb44511547ae2fc97340e5a49393233f6716f9704b7b994f43bc030788b25b", + "scenarioSha256": "748e1bc0575fca6baab51b19cbbea5ac6185fca2a15dc4d8577212134355cd7e", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0ea7d26d0706": { + "name": "speech.dictation.setup#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"speech.dictation.setup\",\"params\":{\"enabled\":true,\"modelId\":\"whisper-small\"}}" + }, + "374a424a4fcb": { + "name": "speech.dictation.setup#1", + "args": [ + { + "name": "method", + "value": "speech.dictation.setup" + }, + { + "name": "params", + "value": { + "enabled": true, + "modelId": "whisper-small" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + } + } + } + }, + "4670310cd94e": { + "name": "speech.models.list#1", + "args": [ + { + "name": "method", + "value": "speech.models.list" + }, + { + "name": "params", + "value": { + "$rpc": "null" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + } + } + } + }, + "7c5b27891a8f": { + "configure": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + }, + "delete": { + "enabled": true, + "models": [], + "selectedModelId": "whisper-small" + }, + "download": "started", + "list": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + } + }, + "a2879fd6371d": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "enabled": true, + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ], + "selectedModelId": "whisper-small" + } + }, + "c41375ac7391": { + "name": "speech.models.delete#1", + "args": [ + { + "name": "method", + "value": "speech.models.delete" + }, + { + "name": "params", + "value": { + "modelId": "whisper-small" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "enabled": true, + "models": [], + "selectedModelId": "whisper-small" + } + } + } + }, + "d0708dcdf365": { + "name": "speech.models.download#1", + "args": [ + { + "name": "method", + "value": "speech.models.download" + }, + { + "name": "params", + "value": { + "modelId": "whisper-small" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "started": true + } + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f14b5bb0c614": { + "name": "speech.models.delete#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"speech.models.delete\",\"params\":{\"modelId\":\"whisper-small\"}}" + }, + "f7594a980fe2": { + "name": "speech.models.download#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"speech.models.download\",\"params\":{\"modelId\":\"whisper-small\"}}" + }, + "f7f1557b866b": { + "name": "speech.models.list#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"speech.models.list\",\"params\":null}" + }, + "fc5fb77f49bb": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "enabled": true, + "models": [], + "selectedModelId": "whisper-small" + } + } + }, + "recording": { + "scenario": "speech-setup-sheet-fulfilled", + "checkpoints": [ + { + "id": "settled", + "observation": { + "sender": ["4670310cd94e", "d0708dcdf365", "c41375ac7391", "374a424a4fcb"], + "payloads": ["f7f1557b866b", "f7594a980fe2", "f14b5bb0c614", "0ea7d26d0706"], + "settlements": { + "list": "a2879fd6371d", + "download": "eb79a9b3682a", + "delete": "fc5fb77f49bb", + "configure": "a2879fd6371d" + }, + "state": "7c5b27891a8f", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/speech-setup-sheet-legacy-desktop.json b/mobile/rpc-foundation/goldens/speech-setup-sheet-legacy-desktop.json new file mode 100644 index 00000000000..6ef8bbf1e03 --- /dev/null +++ b/mobile/rpc-foundation/goldens/speech-setup-sheet-legacy-desktop.json @@ -0,0 +1,83 @@ +{ + "operation": "speech.setup-sheet", + "family": "speech.setup-sheet", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "3ddb44511547ae2fc97340e5a49393233f6716f9704b7b994f43bc030788b25b", + "scenarioSha256": "0ba2d8283fe98206c7500b62732e30acdc5b8e55f50b7ea8cae96403b803d519", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "100447f8b483": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Update the paired desktop Orca app to use mobile voice settings.", + "isRpcDeliveryUnknown": false + } + }, + "44136fa355b3": {}, + "673374bd1eb2": { + "name": "speech.models.list#1", + "args": [ + { + "name": "method", + "value": "speech.models.list" + }, + { + "name": "params", + "value": { + "$rpc": "null" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method: speech.models.list" + }, + "id": "frame-1", + "ok": false + } + } + }, + "f7f1557b866b": { + "name": "speech.models.list#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"speech.models.list\",\"params\":null}" + } + }, + "recording": { + "scenario": "speech-setup-sheet-legacy-desktop", + "checkpoints": [ + { + "id": "legacy-desktop", + "observation": { + "sender": ["673374bd1eb2"], + "payloads": ["f7f1557b866b"], + "settlements": { + "list": "100447f8b483" + }, + "state": "44136fa355b3", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/structured-launch-created.json b/mobile/rpc-foundation/goldens/structured-launch-created.json new file mode 100644 index 00000000000..3ae781eec19 --- /dev/null +++ b/mobile/rpc-foundation/goldens/structured-launch-created.json @@ -0,0 +1,137 @@ +{ + "operation": "agentSession.structured-launch", + "family": "agentSession.structured-launch", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "d340697a64a198066b1037a550afb9a0de7507246a545901d2fc0a23407f38d6", + "scenarioSha256": "0b5dd55868490e4d62d7d718821dec9634773b20d32fe9889523606a3f6b9168", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "4a8f44bda967": { + "name": "agentSession.createSupport#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"agentSession.createSupport\",\"params\":{\"worktree\":\"id:workspace-1\",\"agent\":\"claude\"}}" + }, + "6d6669cd1a85": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "kind": "created", + "sessionId": "claude_00000000_0000_4000_8000_000000000001" + } + }, + "87c3a18d4168": { + "name": "agentSession.create#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"agentSession.create\",\"params\":{\"envelope\":{\"sessionId\":\"claude_00000000_0000_4000_8000_000000000001\",\"clientOperationId\":\"1767225600000-00000000000040008000000000000002\",\"expectedRuntimeFence\":null,\"payloadFingerprint\":\"ce04a6ad4f07079b36cb0b4e9b1bcfd95481b5cb2428fbe93b3c0cf995ef8605\"},\"worktree\":\"id:workspace-1\",\"agent\":\"claude\"}}" + }, + "bc88a2996f1c": { + "name": "agentSession.createSupport#1", + "args": [ + { + "name": "method", + "value": "agentSession.createSupport" + }, + { + "name": "params", + "value": { + "agent": "claude", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "supported": true + } + } + } + }, + "d00057b53c3e": { + "launched": { + "kind": "created", + "sessionId": "claude_00000000_0000_4000_8000_000000000001" + } + }, + "d786cd5ee0ac": { + "name": "agentSession.create#1", + "args": [ + { + "name": "method", + "value": "agentSession.create" + }, + { + "name": "params", + "value": { + "agent": "claude", + "envelope": { + "clientOperationId": "1767225600000-00000000000040008000000000000002", + "expectedRuntimeFence": { + "$rpc": "null" + }, + "payloadFingerprint": "ce04a6ad4f07079b36cb0b4e9b1bcfd95481b5cb2428fbe93b3c0cf995ef8605", + "sessionId": "claude_00000000_0000_4000_8000_000000000001" + }, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "ok": true, + "value": { + "sessionId": "claude_00000000_0000_4000_8000_000000000001" + } + } + } + } + } + }, + "recording": { + "scenario": "structured-launch-created", + "checkpoints": [ + { + "id": "created", + "observation": { + "sender": ["bc88a2996f1c", "d786cd5ee0ac"], + "payloads": ["4a8f44bda967", "87c3a18d4168"], + "settlements": { + "claude": "6d6669cd1a85" + }, + "state": "d00057b53c3e", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/structured-launch-definitive-refusal.json b/mobile/rpc-foundation/goldens/structured-launch-definitive-refusal.json new file mode 100644 index 00000000000..fb12bee8def --- /dev/null +++ b/mobile/rpc-foundation/goldens/structured-launch-definitive-refusal.json @@ -0,0 +1,138 @@ +{ + "operation": "agentSession.structured-launch", + "family": "agentSession.structured-launch", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "d340697a64a198066b1037a550afb9a0de7507246a545901d2fc0a23407f38d6", + "scenarioSha256": "64916f2d8ab51132b08c3e8c72f89c3a2698d83945def294f42edf22eb6d08ea", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "4a8f44bda967": { + "name": "agentSession.createSupport#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"agentSession.createSupport\",\"params\":{\"worktree\":\"id:workspace-1\",\"agent\":\"claude\"}}" + }, + "509ea9274732": { + "name": "agentSession.create#1", + "args": [ + { + "name": "method", + "value": "agentSession.create" + }, + { + "name": "params", + "value": { + "agent": "claude", + "envelope": { + "clientOperationId": "1767225600000-00000000000040008000000000000002", + "expectedRuntimeFence": { + "$rpc": "null" + }, + "payloadFingerprint": "ce04a6ad4f07079b36cb0b4e9b1bcfd95481b5cb2428fbe93b3c0cf995ef8605", + "sessionId": "claude_00000000_0000_4000_8000_000000000001" + }, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "ok": false, + "refusal": { + "code": "agent_session_unsupported", + "message": "No agent" + } + } + } + } + }, + "57068cb6a8b6": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "kind": "unknown", + "message": "No agent" + } + }, + "87c3a18d4168": { + "name": "agentSession.create#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"agentSession.create\",\"params\":{\"envelope\":{\"sessionId\":\"claude_00000000_0000_4000_8000_000000000001\",\"clientOperationId\":\"1767225600000-00000000000040008000000000000002\",\"expectedRuntimeFence\":null,\"payloadFingerprint\":\"ce04a6ad4f07079b36cb0b4e9b1bcfd95481b5cb2428fbe93b3c0cf995ef8605\"},\"worktree\":\"id:workspace-1\",\"agent\":\"claude\"}}" + }, + "bc88a2996f1c": { + "name": "agentSession.createSupport#1", + "args": [ + { + "name": "method", + "value": "agentSession.createSupport" + }, + { + "name": "params", + "value": { + "agent": "claude", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "supported": true + } + } + } + }, + "cddfb66db4f3": { + "launched": { + "kind": "unknown", + "message": "No agent" + } + } + }, + "recording": { + "scenario": "structured-launch-definitive-refusal", + "checkpoints": [ + { + "id": "refused", + "observation": { + "sender": ["bc88a2996f1c", "509ea9274732"], + "payloads": ["4a8f44bda967", "87c3a18d4168"], + "settlements": { + "claude": "57068cb6a8b6" + }, + "state": "cddfb66db4f3", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/structured-launch-replays-dropped-create.json b/mobile/rpc-foundation/goldens/structured-launch-replays-dropped-create.json new file mode 100644 index 00000000000..443d614fa99 --- /dev/null +++ b/mobile/rpc-foundation/goldens/structured-launch-replays-dropped-create.json @@ -0,0 +1,182 @@ +{ + "operation": "agentSession.structured-launch", + "family": "agentSession.structured-launch", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "d340697a64a198066b1037a550afb9a0de7507246a545901d2fc0a23407f38d6", + "scenarioSha256": "fb1ab1209f0a7c03ee1b3985401ce2df080d673532f045c4fca26e754d5e5a9f", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "4a72f70dd463": { + "name": "agentSession.create#1", + "args": [ + { + "name": "method", + "value": "agentSession.create" + }, + { + "name": "params", + "value": { + "agent": "claude", + "envelope": { + "clientOperationId": "1767225600000-00000000000040008000000000000002", + "expectedRuntimeFence": { + "$rpc": "null" + }, + "payloadFingerprint": "ce04a6ad4f07079b36cb0b4e9b1bcfd95481b5cb2428fbe93b3c0cf995ef8605", + "sessionId": "claude_00000000_0000_4000_8000_000000000001" + }, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Connection lost", + "isRpcDeliveryUnknown": true + } + } + }, + "4a8f44bda967": { + "name": "agentSession.createSupport#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"agentSession.createSupport\",\"params\":{\"worktree\":\"id:workspace-1\",\"agent\":\"claude\"}}" + }, + "5576fc62b696": { + "name": "agentSession.create#2", + "args": [ + { + "name": "method", + "value": "agentSession.create" + }, + { + "name": "params", + "value": { + "agent": "claude", + "envelope": { + "clientOperationId": "1767225600000-00000000000040008000000000000002", + "expectedRuntimeFence": { + "$rpc": "null" + }, + "payloadFingerprint": "ce04a6ad4f07079b36cb0b4e9b1bcfd95481b5cb2428fbe93b3c0cf995ef8605", + "sessionId": "claude_00000000_0000_4000_8000_000000000001" + }, + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "ok": true, + "value": { + "sessionId": "claude_00000000_0000_4000_8000_000000000001" + } + } + } + } + }, + "68ca9e9559ad": { + "name": "agentSession.create#2", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"agentSession.create\",\"params\":{\"envelope\":{\"sessionId\":\"claude_00000000_0000_4000_8000_000000000001\",\"clientOperationId\":\"1767225600000-00000000000040008000000000000002\",\"expectedRuntimeFence\":null,\"payloadFingerprint\":\"ce04a6ad4f07079b36cb0b4e9b1bcfd95481b5cb2428fbe93b3c0cf995ef8605\"},\"worktree\":\"id:workspace-1\",\"agent\":\"claude\"}}" + }, + "6d6669cd1a85": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "kind": "created", + "sessionId": "claude_00000000_0000_4000_8000_000000000001" + } + }, + "87c3a18d4168": { + "name": "agentSession.create#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"agentSession.create\",\"params\":{\"envelope\":{\"sessionId\":\"claude_00000000_0000_4000_8000_000000000001\",\"clientOperationId\":\"1767225600000-00000000000040008000000000000002\",\"expectedRuntimeFence\":null,\"payloadFingerprint\":\"ce04a6ad4f07079b36cb0b4e9b1bcfd95481b5cb2428fbe93b3c0cf995ef8605\"},\"worktree\":\"id:workspace-1\",\"agent\":\"claude\"}}" + }, + "bc88a2996f1c": { + "name": "agentSession.createSupport#1", + "args": [ + { + "name": "method", + "value": "agentSession.createSupport" + }, + { + "name": "params", + "value": { + "agent": "claude", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "supported": true + } + } + } + }, + "d00057b53c3e": { + "launched": { + "kind": "created", + "sessionId": "claude_00000000_0000_4000_8000_000000000001" + } + } + }, + "recording": { + "scenario": "structured-launch-replays-dropped-create", + "checkpoints": [ + { + "id": "replayed", + "observation": { + "sender": ["bc88a2996f1c", "4a72f70dd463", "5576fc62b696"], + "payloads": ["4a8f44bda967", "87c3a18d4168", "68ca9e9559ad"], + "settlements": { + "claude": "6d6669cd1a85" + }, + "state": "d00057b53c3e", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/structured-launch-support-refused.json b/mobile/rpc-foundation/goldens/structured-launch-support-refused.json new file mode 100644 index 00000000000..c2c2f28f386 --- /dev/null +++ b/mobile/rpc-foundation/goldens/structured-launch-support-refused.json @@ -0,0 +1,86 @@ +{ + "operation": "agentSession.structured-launch", + "family": "agentSession.structured-launch", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "d340697a64a198066b1037a550afb9a0de7507246a545901d2fc0a23407f38d6", + "scenarioSha256": "d8928461e3295d265872e5f98fb8aad445b5edc55fc76f137e45c0cff0d8b961", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "2c227fd1941f": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "kind": "unsupported" + } + }, + "4a8f44bda967": { + "name": "agentSession.createSupport#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"agentSession.createSupport\",\"params\":{\"worktree\":\"id:workspace-1\",\"agent\":\"claude\"}}" + }, + "99caa4276b06": { + "name": "agentSession.createSupport#1", + "args": [ + { + "name": "method", + "value": "agentSession.createSupport" + }, + { + "name": "params", + "value": { + "agent": "claude", + "worktree": "id:workspace-1" + } + }, + { + "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 + } + } + }, + "f40adca316f9": { + "launched": { + "kind": "unsupported" + } + } + }, + "recording": { + "scenario": "structured-launch-support-refused", + "checkpoints": [ + { + "id": "unsupported", + "observation": { + "sender": ["99caa4276b06"], + "payloads": ["4a8f44bda967"], + "settlements": { + "claude": "2c227fd1941f" + }, + "state": "f40adca316f9", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/structured-launch-unsupported.json b/mobile/rpc-foundation/goldens/structured-launch-unsupported.json new file mode 100644 index 00000000000..69af7e0106c --- /dev/null +++ b/mobile/rpc-foundation/goldens/structured-launch-unsupported.json @@ -0,0 +1,88 @@ +{ + "operation": "agentSession.structured-launch", + "family": "agentSession.structured-launch", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "d340697a64a198066b1037a550afb9a0de7507246a545901d2fc0a23407f38d6", + "scenarioSha256": "c30e9cae49e134715c009a98f423f3e4a9d552c014be3e28b38e98c57999b6f5", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "4a8f44bda967": { + "name": "agentSession.createSupport#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"agentSession.createSupport\",\"params\":{\"worktree\":\"id:workspace-1\",\"agent\":\"claude\"}}" + }, + "551313dcc738": { + "launched": { + "kind": "unsupported", + "reason": "remote" + } + }, + "bef30d717da6": { + "name": "agentSession.createSupport#1", + "args": [ + { + "name": "method", + "value": "agentSession.createSupport" + }, + { + "name": "params", + "value": { + "agent": "claude", + "worktree": "id:workspace-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "reason": "remote", + "supported": false + } + } + } + }, + "dd51c5566f19": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "kind": "unsupported", + "reason": "remote" + } + } + }, + "recording": { + "scenario": "structured-launch-unsupported", + "checkpoints": [ + { + "id": "unsupported", + "observation": { + "sender": ["bef30d717da6"], + "payloads": ["4a8f44bda967"], + "settlements": { + "claude": "dd51c5566f19" + }, + "state": "551313dcc738", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/terminal-query-reply-accepted.json b/mobile/rpc-foundation/goldens/terminal-query-reply-accepted.json new file mode 100644 index 00000000000..7b50176565d --- /dev/null +++ b/mobile/rpc-foundation/goldens/terminal-query-reply-accepted.json @@ -0,0 +1,89 @@ +{ + "operation": "terminal.query-reply", + "family": "terminal.query-reply", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "7588d30f33a8bb846c48f160aa9a4a8138176662bb2fb6be7bbdf352f553d05f", + "scenarioSha256": "bfa1d5f83b4112d3cce6a19e9dc27daf9281ed99745bc01bd19226dd7b268c71", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "11a49f853eb8": { + "accepted": true + }, + "4ed60727a7ff": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "inputKind": "query-reply", + "terminal": "terminal-1", + "text": "\u001b[0n" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + } + }, + "77094de33a4f": { + "name": "terminal.send#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u001b[0n\",\"enter\":false,\"inputKind\":\"query-reply\",\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" + }, + "84e5ca07cb7a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": true + } + }, + "recording": { + "scenario": "terminal-query-reply-accepted", + "checkpoints": [ + { + "id": "accepted", + "observation": { + "sender": ["4ed60727a7ff"], + "payloads": ["77094de33a4f"], + "settlements": { + "send": "84e5ca07cb7a" + }, + "state": "11a49f853eb8", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/terminal-query-reply-unsubscribed.json b/mobile/rpc-foundation/goldens/terminal-query-reply-unsubscribed.json new file mode 100644 index 00000000000..eced0be5882 --- /dev/null +++ b/mobile/rpc-foundation/goldens/terminal-query-reply-unsubscribed.json @@ -0,0 +1,43 @@ +{ + "operation": "terminal.query-reply", + "family": "terminal.query-reply", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "7588d30f33a8bb846c48f160aa9a4a8138176662bb2fb6be7bbdf352f553d05f", + "scenarioSha256": "ad03596f31eeccc5e9eb7e5061b1af705f9af249f76377c8f5ce1a9db257770f", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "7ed3d39f0607": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": false + }, + "f043bb99cc1d": { + "accepted": false + } + }, + "recording": { + "scenario": "terminal-query-reply-unsubscribed", + "checkpoints": [ + { + "id": "dropped", + "observation": { + "sender": [], + "payloads": [], + "settlements": { + "send": "7ed3d39f0607" + }, + "state": "f043bb99cc1d", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/terminal-raw-input-refused.json b/mobile/rpc-foundation/goldens/terminal-raw-input-refused.json new file mode 100644 index 00000000000..7bd2474c28b --- /dev/null +++ b/mobile/rpc-foundation/goldens/terminal-raw-input-refused.json @@ -0,0 +1,88 @@ +{ + "operation": "terminal.accessory-raw-send", + "family": "terminal.raw-input", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "7588d30f33a8bb846c48f160aa9a4a8138176662bb2fb6be7bbdf352f553d05f", + "scenarioSha256": "76fc0c1499ec48a67428f35eba705f68147d2ff2c344b67aa0c9d60ed999f173", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0a0137383ed3": { + "name": "terminal.send#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"ls\",\"enter\":false,\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" + }, + "7ed3d39f0607": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": false + }, + "e22c5fe3e056": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "ls" + } + }, + { + "name": "options", + "value": { + "failWhenDisconnected": true + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "send": { + "accepted": false + } + } + } + } + }, + "f043bb99cc1d": { + "accepted": false + } + }, + "recording": { + "scenario": "terminal-raw-input-refused", + "checkpoints": [ + { + "id": "not-reported", + "observation": { + "sender": ["e22c5fe3e056"], + "payloads": ["0a0137383ed3"], + "settlements": { + "send": "7ed3d39f0607" + }, + "state": "f043bb99cc1d", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/terminal-raw-input-reported.json b/mobile/rpc-foundation/goldens/terminal-raw-input-reported.json new file mode 100644 index 00000000000..8f9b2840b4b --- /dev/null +++ b/mobile/rpc-foundation/goldens/terminal-raw-input-reported.json @@ -0,0 +1,127 @@ +{ + "operation": "terminal.accessory-raw-send", + "family": "terminal.raw-input", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "7588d30f33a8bb846c48f160aa9a4a8138176662bb2fb6be7bbdf352f553d05f", + "scenarioSha256": "579077efd3a4652a6930af3f6690138c20536270cbcd7274246047d2e322199f", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "093b7147f9b0": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "changed": 1 + } + } + } + }, + "0a0137383ed3": { + "name": "terminal.send#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"ls\",\"enter\":false,\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" + }, + "11a49f853eb8": { + "accepted": true + }, + "191580ba859d": { + "name": "orchestration.workerTerminalUserInput#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"orchestration.workerTerminalUserInput\",\"params\":{\"terminal\":\"terminal-1\"}}" + }, + "4dbb5ea36ed2": { + "name": "terminal.send#1", + "args": [ + { + "name": "method", + "value": "terminal.send" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "ls" + } + }, + { + "name": "options", + "value": { + "failWhenDisconnected": true + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + } + }, + "84e5ca07cb7a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": true + } + }, + "recording": { + "scenario": "terminal-raw-input-reported", + "checkpoints": [ + { + "id": "reported", + "observation": { + "sender": ["4dbb5ea36ed2", "093b7147f9b0"], + "payloads": ["0a0137383ed3", "191580ba859d"], + "settlements": { + "send": "84e5ca07cb7a" + }, + "state": "11a49f853eb8", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/terminal-takeover-report-accepted.json b/mobile/rpc-foundation/goldens/terminal-takeover-report-accepted.json new file mode 100644 index 00000000000..d3e22799c37 --- /dev/null +++ b/mobile/rpc-foundation/goldens/terminal-takeover-report-accepted.json @@ -0,0 +1,82 @@ +{ + "operation": "terminal.takeover-report", + "family": "terminal.takeover-report", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "7588d30f33a8bb846c48f160aa9a4a8138176662bb2fb6be7bbdf352f553d05f", + "scenarioSha256": "c2236257032fab72ebb007391313eec4e5f0a1bdb4fbcbd907117f9914ffafc6", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "002261d201ea": { + "name": "orchestration.workerTerminalUserInput#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"orchestration.workerTerminalUserInput\",\"params\":{\"terminal\":\"terminal-1\"}}" + }, + "14ce070cad1b": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "changed": 1 + } + } + } + }, + "44136fa355b3": {}, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "terminal-takeover-report-accepted", + "checkpoints": [ + { + "id": "reported", + "observation": { + "sender": ["14ce070cad1b"], + "payloads": ["002261d201ea"], + "settlements": { + "report": "eb79a9b3682a" + }, + "state": "44136fa355b3", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/terminal-takeover-report-retried.json b/mobile/rpc-foundation/goldens/terminal-takeover-report-retried.json new file mode 100644 index 00000000000..0e92c8371bc --- /dev/null +++ b/mobile/rpc-foundation/goldens/terminal-takeover-report-retried.json @@ -0,0 +1,122 @@ +{ + "operation": "terminal.takeover-report", + "family": "terminal.takeover-report", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "7588d30f33a8bb846c48f160aa9a4a8138176662bb2fb6be7bbdf352f553d05f", + "scenarioSha256": "8ad436ca6c3de8b0b3148326337acce18a8a4cf3c514acad1a4530a001f28c75", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "002261d201ea": { + "name": "orchestration.workerTerminalUserInput#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"orchestration.workerTerminalUserInput\",\"params\":{\"terminal\":\"terminal-1\"}}" + }, + "44136fa355b3": {}, + "797d27f8307a": { + "name": "orchestration.workerTerminalUserInput#2", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"orchestration.workerTerminalUserInput\",\"params\":{\"terminal\":\"terminal-1\"}}" + }, + "db9815351ccf": { + "name": "orchestration.workerTerminalUserInput#2", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 250, + "settledAt": 250, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "changed": 1 + } + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f3349fb58cad": { + "name": "orchestration.workerTerminalUserInput#1", + "args": [ + { + "name": "method", + "value": "orchestration.workerTerminalUserInput" + }, + { + "name": "params", + "value": { + "terminal": "terminal-1" + } + }, + { + "name": "options", + "value": { + "budgetSpansConnect": true, + "failWhenDisconnected": true, + "timeoutMs": 5000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "refused", + "message": "busy" + }, + "id": "frame-1", + "ok": false + } + } + } + }, + "recording": { + "scenario": "terminal-takeover-report-retried", + "checkpoints": [ + { + "id": "reported-on-retry", + "observation": { + "sender": ["f3349fb58cad", "db9815351ccf"], + "payloads": ["002261d201ea", "797d27f8307a"], + "settlements": { + "report": "eb79a9b3682a" + }, + "state": "44136fa355b3", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/terminal-viewport-refit-applied.json b/mobile/rpc-foundation/goldens/terminal-viewport-refit-applied.json new file mode 100644 index 00000000000..2ff49e82e31 --- /dev/null +++ b/mobile/rpc-foundation/goldens/terminal-viewport-refit-applied.json @@ -0,0 +1,111 @@ +{ + "operation": "terminal.viewport-refit", + "family": "terminal.viewport-refit", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "7588d30f33a8bb846c48f160aa9a4a8138176662bb2fb6be7bbdf352f553d05f", + "scenarioSha256": "f966c2ef2e747a5231f423147ddaf38458cb08c719434b274016a5e4abc10771", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "121036dfcf5a": { + "name": "terminal.updateViewport#1", + "args": [ + { + "name": "method", + "value": "terminal.updateViewport" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "viewport": { + "cols": 100, + "rows": 30 + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 150, + "settledAt": 150, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "applied": true, + "updated": true + } + } + } + }, + "3c255f83f3e1": { + "name": "reflow", + "value": { + "cols": 100, + "rows": 30 + }, + "sent": 1 + }, + "7e0619ad636f": { + "measured": true, + "viewport": { + "cols": 100, + "rows": 30 + } + }, + "9c584ebc4a0f": { + "name": "terminal.updateViewport#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.updateViewport\",\"params\":{\"terminal\":\"terminal-1\",\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"},\"viewport\":{\"cols\":100,\"rows\":30}}}" + }, + "a993d0d38252": { + "name": "measure-fit", + "value": { + "frameHeight": 600 + }, + "sent": 0 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "terminal-viewport-refit-applied", + "checkpoints": [ + { + "id": "reflowed", + "observation": { + "sender": ["121036dfcf5a"], + "payloads": ["9c584ebc4a0f"], + "settlements": { + "mount": "eb79a9b3682a", + "height": "eb79a9b3682a" + }, + "state": "7e0619ad636f", + "effects": ["a993d0d38252", "3c255f83f3e1"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/terminal-viewport-refit-legacy-desktop.json b/mobile/rpc-foundation/goldens/terminal-viewport-refit-legacy-desktop.json new file mode 100644 index 00000000000..8e4ef06e34f --- /dev/null +++ b/mobile/rpc-foundation/goldens/terminal-viewport-refit-legacy-desktop.json @@ -0,0 +1,117 @@ +{ + "operation": "terminal.viewport-refit", + "family": "terminal.viewport-refit", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "7588d30f33a8bb846c48f160aa9a4a8138176662bb2fb6be7bbdf352f553d05f", + "scenarioSha256": "88961a369cb7a7fa92708bb83aa7f818e904018e8cfcedc2f50ef9a0058c8b9d", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "37024426b62f": { + "name": "subscribe-terminal", + "value": { + "handle": "terminal-1" + }, + "sent": 1 + }, + "7e0619ad636f": { + "measured": true, + "viewport": { + "cols": 100, + "rows": 30 + } + }, + "9c584ebc4a0f": { + "name": "terminal.updateViewport#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.updateViewport\",\"params\":{\"terminal\":\"terminal-1\",\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"},\"viewport\":{\"cols\":100,\"rows\":30}}}" + }, + "a1c0c7168922": { + "name": "unsubscribe-terminal", + "value": { + "handle": "terminal-1" + }, + "sent": 1 + }, + "a993d0d38252": { + "name": "measure-fit", + "value": { + "frameHeight": 600 + }, + "sent": 0 + }, + "aef14699e2f6": { + "name": "terminal.updateViewport#1", + "args": [ + { + "name": "method", + "value": "terminal.updateViewport" + }, + { + "name": "params", + "value": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "viewport": { + "cols": 100, + "rows": 30 + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 150, + "settledAt": 150, + "value": { + "error": { + "code": "method_not_found", + "message": "Unknown method: terminal.updateViewport" + }, + "id": "frame-1", + "ok": false + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "terminal-viewport-refit-legacy-desktop", + "checkpoints": [ + { + "id": "resubscribed", + "observation": { + "sender": ["aef14699e2f6"], + "payloads": ["9c584ebc4a0f"], + "settlements": { + "mount": "eb79a9b3682a", + "height": "eb79a9b3682a" + }, + "state": "7e0619ad636f", + "effects": ["a993d0d38252", "a1c0c7168922", "37024426b62f"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/tk-create-github.json b/mobile/rpc-foundation/goldens/tk-create-github.json new file mode 100644 index 00000000000..cbdbac19bd0 --- /dev/null +++ b/mobile/rpc-foundation/goldens/tk-create-github.json @@ -0,0 +1,245 @@ +{ + "operation": "tasks.task-create-github", + "family": "tasks.task-create-github", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "07a15e900363faa25bc364f5bc1c330f96798abfeaed35210428c2ac558586b8", + "scenarioSha256": "260a84280f69c43ac582149d9befe6ae547b2ad2b5f56a181d8e3a1314a0a071", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "06e1643ed0af": { + "name": "github.createIssue#1", + "args": [ + { + "name": "method", + "value": "github.createIssue" + }, + { + "name": "params", + "value": { + "body": "a body", + "repo": "id:repo-1", + "title": "A new task" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "number": 11, + "ok": true, + "url": "https://github.com/owner/repo/issues/11" + } + } + } + }, + "1561684e8ae9": { + "name": "github.createIssue#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.createIssue\",\"params\":{\"repo\":\"id:repo-1\",\"title\":\"A new task\",\"body\":\"a body\"}}" + }, + "46bbfadb0481": { + "name": "creatingTask", + "value": true, + "sent": 0 + }, + "5ab5b62983be": { + "composer": false, + "creating": false, + "error": "", + "item": { + "key": "github:repo-1:issue:11", + "provider": "github", + "source": { + "author": { + "$rpc": "null" + }, + "id": "issue:11", + "labels": [], + "number": 11, + "repoId": "repo-1", + "repoName": "Repo", + "state": "open", + "title": "A new task", + "type": "issue", + "updatedAt": "2026-01-01T00:00:00.000Z", + "url": "https://github.com/owner/repo/issues/11" + }, + "status": "Open", + "subtitle": "Repo #11", + "title": "A new task", + "updatedAt": "2026-01-01T00:00:00.000Z" + } + }, + "6652745ed1c6": { + "name": "createBody", + "value": "", + "sent": 1 + }, + "781721955405": { + "name": "showCreateTask", + "value": false, + "sent": 1 + }, + "873de7fc7ff8": { + "name": "actionItem", + "value": { + "key": "github:repo-1:issue:11", + "provider": "github", + "source": { + "author": { + "$rpc": "null" + }, + "id": "issue:11", + "labels": [], + "number": 11, + "repoId": "repo-1", + "repoName": "Repo", + "state": "open", + "title": "A new task", + "type": "issue", + "updatedAt": "2026-01-01T00:00:00.000Z", + "url": "https://github.com/owner/repo/issues/11" + }, + "status": "Open", + "subtitle": "Repo #11", + "title": "A new task", + "updatedAt": "2026-01-01T00:00:00.000Z" + }, + "sent": 1 + }, + "98e33157a9f2": { + "name": "repo.update#1", + "args": [ + { + "name": "method", + "value": "repo.update" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1", + "updates": { + "issueSourcePreference": "upstream" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 15000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "c0c0f9a6037e": { + "name": "createTitle", + "value": "", + "sent": 1 + }, + "c41296ee02f7": { + "name": "repo.update#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"repo.update\",\"params\":{\"repo\":\"id:repo-1\",\"updates\":{\"issueSourcePreference\":\"upstream\"}}}" + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "fc7f792d6e89": { + "name": "creatingTask", + "value": false, + "sent": 1 + } + }, + "recording": { + "scenario": "tk-create-github", + "checkpoints": [ + { + "id": "create-settled", + "observation": { + "sender": ["06e1643ed0af"], + "payloads": ["1561684e8ae9"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a" + }, + "state": "5ab5b62983be", + "effects": [ + "46bbfadb0481", + "9e263f5e91be", + "873de7fc7ff8", + "781721955405", + "c0c0f9a6037e", + "6652745ed1c6", + "fc7f792d6e89" + ] + } + }, + { + "id": "issue-source-settled", + "observation": { + "sender": ["06e1643ed0af", "98e33157a9f2"], + "payloads": ["1561684e8ae9", "c41296ee02f7"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a", + "issue-source-1": "eb79a9b3682a" + }, + "state": "5ab5b62983be", + "effects": [ + "46bbfadb0481", + "9e263f5e91be", + "873de7fc7ff8", + "781721955405", + "c0c0f9a6037e", + "6652745ed1c6", + "fc7f792d6e89", + "d48d5c49486c" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/tk-create-gitlab.json b/mobile/rpc-foundation/goldens/tk-create-gitlab.json new file mode 100644 index 00000000000..d3475dc2071 --- /dev/null +++ b/mobile/rpc-foundation/goldens/tk-create-gitlab.json @@ -0,0 +1,177 @@ +{ + "operation": "tasks.task-create-gitlab", + "family": "tasks.task-create-gitlab", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "07a15e900363faa25bc364f5bc1c330f96798abfeaed35210428c2ac558586b8", + "scenarioSha256": "a4d3d1f322d49593056bd20f4122bbf0309d2161123e404161950bcab65decd5", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "46bbfadb0481": { + "name": "creatingTask", + "value": true, + "sent": 0 + }, + "580f3724d37b": { + "composer": false, + "creating": false, + "error": "", + "item": { + "key": "gitlab:repo-1:issue:6", + "provider": "gitlab", + "source": { + "author": { + "$rpc": "null" + }, + "id": "issue:6", + "labels": [], + "number": 6, + "repoId": "repo-1", + "repoName": "Repo", + "state": "opened", + "title": "A new task", + "type": "issue", + "updatedAt": "2026-01-01T00:00:00.000Z", + "url": "https://gitlab.com/group/project/-/issues/6" + }, + "status": "Open", + "subtitle": "Repo #6", + "title": "A new task", + "updatedAt": "2026-01-01T00:00:00.000Z" + } + }, + "6652745ed1c6": { + "name": "createBody", + "value": "", + "sent": 1 + }, + "781721955405": { + "name": "showCreateTask", + "value": false, + "sent": 1 + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "c0c0f9a6037e": { + "name": "createTitle", + "value": "", + "sent": 1 + }, + "c9c89070b638": { + "name": "gitlab.createIssue#1", + "args": [ + { + "name": "method", + "value": "gitlab.createIssue" + }, + { + "name": "params", + "value": { + "body": "a body", + "repo": "id:repo-1", + "title": "A new task" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "number": 6, + "ok": true, + "url": "https://gitlab.com/group/project/-/issues/6" + } + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f4790c11c55e": { + "name": "actionItem", + "value": { + "key": "gitlab:repo-1:issue:6", + "provider": "gitlab", + "source": { + "author": { + "$rpc": "null" + }, + "id": "issue:6", + "labels": [], + "number": 6, + "repoId": "repo-1", + "repoName": "Repo", + "state": "opened", + "title": "A new task", + "type": "issue", + "updatedAt": "2026-01-01T00:00:00.000Z", + "url": "https://gitlab.com/group/project/-/issues/6" + }, + "status": "Open", + "subtitle": "Repo #6", + "title": "A new task", + "updatedAt": "2026-01-01T00:00:00.000Z" + }, + "sent": 1 + }, + "f5bc6cfd470a": { + "name": "gitlab.createIssue#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"gitlab.createIssue\",\"params\":{\"repo\":\"id:repo-1\",\"title\":\"A new task\",\"body\":\"a body\"}}" + }, + "fc7f792d6e89": { + "name": "creatingTask", + "value": false, + "sent": 1 + } + }, + "recording": { + "scenario": "tk-create-gitlab", + "checkpoints": [ + { + "id": "create-settled", + "observation": { + "sender": ["c9c89070b638"], + "payloads": ["f5bc6cfd470a"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a" + }, + "state": "580f3724d37b", + "effects": [ + "46bbfadb0481", + "9e263f5e91be", + "f4790c11c55e", + "781721955405", + "c0c0f9a6037e", + "6652745ed1c6", + "fc7f792d6e89" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/tk-create-linear.json b/mobile/rpc-foundation/goldens/tk-create-linear.json new file mode 100644 index 00000000000..bfe0f52a3f0 --- /dev/null +++ b/mobile/rpc-foundation/goldens/tk-create-linear.json @@ -0,0 +1,194 @@ +{ + "operation": "tasks.task-create-linear", + "family": "tasks.task-create-linear", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "07a15e900363faa25bc364f5bc1c330f96798abfeaed35210428c2ac558586b8", + "scenarioSha256": "f6c7eea985190d9edeead5b36f90c8aa98679f69d19dab7579fec88841645259", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "11915dfdb24a": { + "name": "linear.createIssue#1", + "args": [ + { + "name": "method", + "value": "linear.createIssue" + }, + { + "name": "params", + "value": { + "description": "a body", + "teamId": "team-1", + "title": "A new task", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "id": "issue-3", + "identifier": "ENG-3", + "ok": true, + "title": "A sub-issue", + "url": "" + } + } + } + }, + "46bbfadb0481": { + "name": "creatingTask", + "value": true, + "sent": 0 + }, + "6105e77e3945": { + "name": "linear.createIssue#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"linear.createIssue\",\"params\":{\"teamId\":\"team-1\",\"title\":\"A new task\",\"description\":\"a body\",\"workspaceId\":\"linear-workspace\"}}" + }, + "61b2cb7e4313": { + "composer": false, + "creating": false, + "error": "", + "item": { + "key": "linear:linear-workspace:issue-3", + "provider": "linear", + "source": { + "description": "a body", + "id": "issue-3", + "identifier": "ENG-3", + "labels": [], + "priority": 0, + "state": { + "color": "#3b82f6", + "name": "Open", + "type": "unstarted" + }, + "team": { + "id": "team-1", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A sub-issue", + "updatedAt": "2026-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "status": "Open", + "subtitle": "ENG-3 · undefined", + "title": "A sub-issue", + "updatedAt": "2026-01-01T00:00:00.000Z" + } + }, + "6652745ed1c6": { + "name": "createBody", + "value": "", + "sent": 1 + }, + "781721955405": { + "name": "showCreateTask", + "value": false, + "sent": 1 + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "b83a4bfe6154": { + "name": "actionItem", + "value": { + "key": "linear:linear-workspace:issue-3", + "provider": "linear", + "source": { + "description": "a body", + "id": "issue-3", + "identifier": "ENG-3", + "labels": [], + "priority": 0, + "state": { + "color": "#3b82f6", + "name": "Open", + "type": "unstarted" + }, + "team": { + "id": "team-1", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A sub-issue", + "updatedAt": "2026-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "status": "Open", + "subtitle": "ENG-3 · undefined", + "title": "A sub-issue", + "updatedAt": "2026-01-01T00:00:00.000Z" + }, + "sent": 1 + }, + "c0c0f9a6037e": { + "name": "createTitle", + "value": "", + "sent": 1 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "fc7f792d6e89": { + "name": "creatingTask", + "value": false, + "sent": 1 + } + }, + "recording": { + "scenario": "tk-create-linear", + "checkpoints": [ + { + "id": "create-settled", + "observation": { + "sender": ["11915dfdb24a"], + "payloads": ["6105e77e3945"], + "settlements": { + "mount": "eb79a9b3682a", + "create-0": "eb79a9b3682a" + }, + "state": "61b2cb7e4313", + "effects": [ + "46bbfadb0481", + "9e263f5e91be", + "b83a4bfe6154", + "781721955405", + "c0c0f9a6037e", + "6652745ed1c6", + "fc7f792d6e89" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/tk-item-checks-files.json b/mobile/rpc-foundation/goldens/tk-item-checks-files.json new file mode 100644 index 00000000000..e5a516639ee --- /dev/null +++ b/mobile/rpc-foundation/goldens/tk-item-checks-files.json @@ -0,0 +1,938 @@ +{ + "operation": "tasks.item-checks-files-github", + "family": "tasks.item-checks-files", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "8c4218bfb2af227da5386f29989cec438f2c6187f39ce1c06859e136ea920bfa", + "scenarioSha256": "15de2c1dd80a591a5e27d50664ff21d4e71442c711fc3bbdf7d1f95f499cf04c", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "023bacc5a99f": { + "name": "github.setPRFileViewed#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.setPRFileViewed\",\"params\":{\"repo\":\"id:repo-1\",\"pullRequestId\":\"PR_kwDO\",\"path\":\"src/index.ts\",\"viewed\":true}}" + }, + "02b35324051f": { + "name": "prFileLoadingPath", + "value": { + "$rpc": "null" + }, + "sent": 4 + }, + "02b52513bb0d": { + "name": "mutatingStatus", + "value": true, + "sent": 4 + }, + "0c0d6ea592d5": { + "name": "mutatingStatus", + "value": false, + "sent": 3 + }, + "169fba726515": { + "name": "github.addPRReviewComment#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.addPRReviewComment\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"commitId\":\"head-sha\",\"path\":\"src/index.ts\",\"line\":12,\"body\":\"a review comment\"}}" + }, + "1e34370849ff": { + "name": "error", + "value": "", + "sent": 4 + }, + "2322bd630112": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 2 + }, + "30196bc9a973": { + "name": "detailRefreshSeq", + "value": 1, + "sent": 1 + }, + "32a3635e06a4": { + "name": "mutatingStatus", + "value": false, + "sent": 1 + }, + "38d90ed8a1ee": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "drafts": {}, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a review comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 901, + "line": 12, + "path": "src/index.ts" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "3d589c54ccdc": { + "name": "prFileContents", + "value": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "sent": 4 + }, + "4b4ca1abe880": { + "contents": {}, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "5467502970f1": { + "name": "mutatingStatus", + "value": false, + "sent": 5 + }, + "56b95ef32926": { + "name": "github.prFileContents#1", + "args": [ + { + "name": "method", + "value": "github.prFileContents" + }, + { + "name": "params", + "value": { + "baseSha": "base-sha", + "headSha": "head-sha", + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1", + "status": "modified" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + } + } + }, + "583b546bd557": { + "name": "mutatingStatus", + "value": true, + "sent": 1 + }, + "58deaf3a6563": { + "contents": {}, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "719c7f70fd21": { + "name": "github.resolveReviewThread#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.resolveReviewThread\",\"params\":{\"repo\":\"id:repo-1\",\"threadId\":\"thread-1\",\"resolve\":true}}" + }, + "7418dba01b6e": { + "contents": {}, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "82983d26b169": { + "name": "mutatingStatus", + "value": true, + "sent": 2 + }, + "8c3bfdbaf598": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a review comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 901, + "line": 12, + "path": "src/index.ts" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 5 + }, + "8cde53a56cdf": { + "name": "mutatingStatus", + "value": false, + "sent": 2 + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "a5b56b388d19": { + "name": "github.addPRReviewComment#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewComment" + }, + { + "name": "params", + "value": { + "body": "a review comment", + "commitId": "head-sha", + "line": 12, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "comment": { + "author": "You", + "body": "a review comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 901, + "line": 12, + "path": "src/index.ts" + }, + "ok": true + } + } + } + }, + "a82a30c9d838": { + "name": "prFileLoadingPath", + "value": "src/index.ts", + "sent": 3 + }, + "a94ae672d47d": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "b57ded8a3ea3": { + "name": "error", + "value": "", + "sent": 2 + }, + "bcb382ff8ccc": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": true + } + } + }, + "c3ea578fcb3f": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "drafts": { + "src/index.ts:12": "a review comment" + }, + "error": "", + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "refreshSeq": 1 + }, + "cc96725d8f47": { + "name": "mutatingStatus", + "value": true, + "sent": 0 + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "d530e4061382": { + "name": "github.prFileContents#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.prFileContents\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"path\":\"src/index.ts\",\"status\":\"modified\",\"headSha\":\"head-sha\",\"baseSha\":\"base-sha\"}}" + }, + "d6639f415773": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": true, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 3 + }, + "dbbebbd74a18": { + "name": "error", + "value": "", + "sent": 3 + }, + "e14b632f629a": { + "name": "github.setPRFileViewed#1", + "args": [ + { + "name": "method", + "value": "github.setPRFileViewed" + }, + { + "name": "params", + "value": { + "path": "src/index.ts", + "pullRequestId": "PR_kwDO", + "repo": "id:repo-1", + "viewed": true + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": true + } + } + }, + "e6fbd22fd721": { + "name": "github.rerunPRChecks#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.rerunPRChecks\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"headSha\":\"head-sha\",\"failedOnly\":true}}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f1d782d012f9": { + "name": "expandedPrFilePath", + "value": "src/index.ts", + "sent": 3 + }, + "f28dd4f3c720": { + "name": "prFileCommentDrafts", + "value": {}, + "sent": 5 + } + }, + "recording": { + "scenario": "tk-item-checks-files", + "checkpoints": [ + { + "id": "rerun-settled", + "observation": { + "sender": ["a94ae672d47d"], + "payloads": ["e6fbd22fd721"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a" + }, + "state": "58deaf3a6563", + "effects": ["cc96725d8f47", "9e263f5e91be", "30196bc9a973", "32a3635e06a4"] + } + }, + { + "id": "viewed-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a"], + "payloads": ["e6fbd22fd721", "023bacc5a99f"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a" + }, + "state": "7418dba01b6e", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf" + ] + } + }, + { + "id": "thread-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a", "bcb382ff8ccc"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a" + }, + "state": "4b4ca1abe880", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5" + ] + } + }, + { + "id": "expand-settled", + "observation": { + "sender": ["a94ae672d47d", "e14b632f629a", "bcb382ff8ccc", "56b95ef32926"], + "payloads": ["e6fbd22fd721", "023bacc5a99f", "719c7f70fd21", "d530e4061382"], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a" + }, + "state": "c3ea578fcb3f", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f" + ] + } + }, + { + "id": "file-comment-settled", + "observation": { + "sender": [ + "a94ae672d47d", + "e14b632f629a", + "bcb382ff8ccc", + "56b95ef32926", + "a5b56b388d19" + ], + "payloads": [ + "e6fbd22fd721", + "023bacc5a99f", + "719c7f70fd21", + "d530e4061382", + "169fba726515" + ], + "settlements": { + "mount": "eb79a9b3682a", + "rerun-0": "eb79a9b3682a", + "viewed-1": "eb79a9b3682a", + "thread-2": "eb79a9b3682a", + "expand-3": "eb79a9b3682a", + "file-comment-4": "eb79a9b3682a" + }, + "state": "38d90ed8a1ee", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "30196bc9a973", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2322bd630112", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "d6639f415773", + "0c0d6ea592d5", + "f1d782d012f9", + "a82a30c9d838", + "dbbebbd74a18", + "3d589c54ccdc", + "02b35324051f", + "02b52513bb0d", + "1e34370849ff", + "f28dd4f3c720", + "8c3bfdbaf598", + "5467502970f1" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/tk-item-comment-github.json b/mobile/rpc-foundation/goldens/tk-item-comment-github.json new file mode 100644 index 00000000000..f467c18fa23 --- /dev/null +++ b/mobile/rpc-foundation/goldens/tk-item-comment-github.json @@ -0,0 +1,239 @@ +{ + "operation": "tasks.item-comment-github", + "family": "tasks.item-comment-github", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "8f68885d57a9aa76d80ba0ee29a95bdbaa98cef29c79c68ce75d67202cde7bfe", + "scenarioSha256": "fb0cdff9e02bac37b0bd8e1c47922474823d46fa735f3069ed70cdad41800be6", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "32a3635e06a4": { + "name": "mutatingStatus", + "value": false, + "sent": 1 + }, + "35cd4f653b4b": { + "draft": "", + "error": "", + "item": { + "provider": "github", + "source": { + "id": "github:issue:9", + "labels": ["bug"], + "number": 9, + "repoId": "repo-1", + "reviewRequests": [], + "state": "open", + "type": "issue" + }, + "title": "An issue" + }, + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "7297a232d830": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "a comment", + "number": 9, + "repo": "id:repo-1", + "type": "issue" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "comment": { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + }, + "ok": true + } + } + } + }, + "79a7f51f2a84": { + "name": "github.addIssueComment#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.addIssueComment\",\"params\":{\"repo\":\"id:repo-1\",\"number\":9,\"body\":\"a comment\",\"type\":\"issue\"}}" + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "adb96f97611d": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 1 + }, + "cc96725d8f47": { + "name": "mutatingStatus", + "value": true, + "sent": 0 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ffdb6c1abbef": { + "name": "itemCommentDraft", + "value": "", + "sent": 1 + } + }, + "recording": { + "scenario": "tk-item-comment-github", + "checkpoints": [ + { + "id": "comment-settled", + "observation": { + "sender": ["7297a232d830"], + "payloads": ["79a7f51f2a84"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "35cd4f653b4b", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "ffdb6c1abbef", + "adb96f97611d", + "32a3635e06a4" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/tk-item-comment-gitlab-mr.json b/mobile/rpc-foundation/goldens/tk-item-comment-gitlab-mr.json new file mode 100644 index 00000000000..0e8ad78306f --- /dev/null +++ b/mobile/rpc-foundation/goldens/tk-item-comment-gitlab-mr.json @@ -0,0 +1,179 @@ +{ + "operation": "tasks.item-comment-gitlab-mr", + "family": "tasks.item-comment-gitlab-mr", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "8f68885d57a9aa76d80ba0ee29a95bdbaa98cef29c79c68ce75d67202cde7bfe", + "scenarioSha256": "cb696d402b8af2b9a54d4d6f9d85abfc12280e73b360196e55ec25530e610eee", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "02a9b21b0da8": { + "name": "gitlab.addMRComment#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"gitlab.addMRComment\",\"params\":{\"repo\":\"id:repo-1\",\"iid\":7,\"body\":\"a comment\",\"projectRef\":\"group/project\"}}" + }, + "1792a570e51c": { + "name": "detailPayload", + "value": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 905 + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + }, + "sent": 1 + }, + "32a3635e06a4": { + "name": "mutatingStatus", + "value": false, + "sent": 1 + }, + "6c49f5e0f2ca": { + "draft": "", + "error": "", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + }, + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 905 + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "c6b7aaa4bd08": { + "name": "gitlab.addMRComment#1", + "args": [ + { + "name": "method", + "value": "gitlab.addMRComment" + }, + { + "name": "params", + "value": { + "body": "a comment", + "iid": 7, + "projectRef": "group/project", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "comment": { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 905 + }, + "ok": true + } + } + } + }, + "cc96725d8f47": { + "name": "mutatingStatus", + "value": true, + "sent": 0 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ffdb6c1abbef": { + "name": "itemCommentDraft", + "value": "", + "sent": 1 + } + }, + "recording": { + "scenario": "tk-item-comment-gitlab-mr", + "checkpoints": [ + { + "id": "comment-settled", + "observation": { + "sender": ["c6b7aaa4bd08"], + "payloads": ["02a9b21b0da8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "6c49f5e0f2ca", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "ffdb6c1abbef", + "1792a570e51c", + "32a3635e06a4" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/tk-item-comment-gitlab.json b/mobile/rpc-foundation/goldens/tk-item-comment-gitlab.json new file mode 100644 index 00000000000..4a5d0d37550 --- /dev/null +++ b/mobile/rpc-foundation/goldens/tk-item-comment-gitlab.json @@ -0,0 +1,179 @@ +{ + "operation": "tasks.item-comment-gitlab", + "family": "tasks.item-comment-gitlab", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "8f68885d57a9aa76d80ba0ee29a95bdbaa98cef29c79c68ce75d67202cde7bfe", + "scenarioSha256": "d993b9f74cf8c5d7af8d31a73cf19d97141c54f6fcf009e98ca5b9106f3ba35b", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "1f27ffccd3c3": { + "name": "gitlab.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "gitlab.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "a comment", + "number": 4, + "projectRef": "group/project", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "comment": { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 904 + }, + "ok": true + } + } + } + }, + "32a3635e06a4": { + "name": "mutatingStatus", + "value": false, + "sent": 1 + }, + "48a9b4deaa5b": { + "draft": "", + "error": "", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + }, + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 904 + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "59727d722699": { + "name": "detailPayload", + "value": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 904 + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + }, + "sent": 1 + }, + "7251019fd224": { + "name": "gitlab.addIssueComment#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"gitlab.addIssueComment\",\"params\":{\"repo\":\"id:repo-1\",\"number\":4,\"body\":\"a comment\",\"projectRef\":\"group/project\"}}" + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "cc96725d8f47": { + "name": "mutatingStatus", + "value": true, + "sent": 0 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ffdb6c1abbef": { + "name": "itemCommentDraft", + "value": "", + "sent": 1 + } + }, + "recording": { + "scenario": "tk-item-comment-gitlab", + "checkpoints": [ + { + "id": "comment-settled", + "observation": { + "sender": ["1f27ffccd3c3"], + "payloads": ["7251019fd224"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "48a9b4deaa5b", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "ffdb6c1abbef", + "59727d722699", + "32a3635e06a4" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/tk-item-detail-github.json b/mobile/rpc-foundation/goldens/tk-item-detail-github.json new file mode 100644 index 00000000000..9837e000971 --- /dev/null +++ b/mobile/rpc-foundation/goldens/tk-item-detail-github.json @@ -0,0 +1,196 @@ +{ + "operation": "tasks.item-detail-github", + "family": "tasks.item-detail-github", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "c0ef16b959002e4a3c5347114a0844b95670e274ef010d910b6671ac5f49e783", + "scenarioSha256": "5fbff075d7da476f93c2a7da871c2afacc67822d1317acf6c23000195e2b2576", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "026c8cc37792": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [], + "files": [], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": "APPROVED", + "reviewRequests": [] + }, + "sent": 1 + }, + "1867a9df681c": { + "name": "detailLoading", + "value": false, + "sent": 1 + }, + "1874e6e64ab8": { + "error": "", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "loading": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [], + "files": [], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": "APPROVED", + "reviewRequests": [] + } + }, + "54ee429ef116": { + "name": "github.workItemDetails#1", + "args": [ + { + "name": "method", + "value": "github.workItemDetails" + }, + { + "name": "params", + "value": { + "number": 12, + "repo": "id:repo-1", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [], + "files": [], + "headSha": "head-sha", + "item": { + "labels": ["bug"], + "latestReviews": [], + "reviewDecision": "APPROVED", + "reviewRequests": [] + }, + "pullRequestId": "PR_kwDO" + } + } + } + }, + "56d172ecd2fe": { + "name": "detailLoading", + "value": true, + "sent": 0 + }, + "9bd1de5d9753": { + "name": "detailPayload", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "9d6ce9f28401": { + "name": "detailError", + "value": "", + "sent": 0 + }, + "d46a22dbc133": { + "name": "github.workItemDetails#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.workItemDetails\",\"params\":{\"repo\":\"id:repo-1\",\"number\":12,\"type\":\"pr\"}}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "tk-item-detail-github", + "checkpoints": [ + { + "id": "mounted", + "observation": { + "sender": ["54ee429ef116"], + "payloads": ["d46a22dbc133"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "1874e6e64ab8", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "026c8cc37792", + "1867a9df681c" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/tk-item-detail-gitlab.json b/mobile/rpc-foundation/goldens/tk-item-detail-gitlab.json new file mode 100644 index 00000000000..a8d10ed05dc --- /dev/null +++ b/mobile/rpc-foundation/goldens/tk-item-detail-gitlab.json @@ -0,0 +1,256 @@ +{ + "operation": "tasks.item-detail-gitlab", + "family": "tasks.item-detail-gitlab", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "c0ef16b959002e4a3c5347114a0844b95670e274ef010d910b6671ac5f49e783", + "scenarioSha256": "36bbd34ed8b8f67e516ce7cd230b01ab88f14369fda632037c46dbbd1a0d95a3", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "08049512c6dd": { + "name": "gitlab.workItemDetails#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"gitlab.workItemDetails\",\"params\":{\"repo\":\"id:repo-1\",\"iid\":4,\"type\":\"issue\",\"projectRef\":\"group/project\"}}" + }, + "1867a9df681c": { + "name": "detailLoading", + "value": false, + "sent": 1 + }, + "292ec83c1b66": { + "name": "gitlab.workItemDetails#1", + "args": [ + { + "name": "method", + "value": "gitlab.workItemDetails" + }, + { + "name": "params", + "value": { + "iid": 4, + "projectRef": "group/project", + "repo": "id:repo-1", + "type": "issue" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "approvalState": { + "approvalsLeft": 0, + "approvalsRequired": 1 + }, + "assignees": [], + "body": "body", + "comments": [], + "item": { + "labels": ["bug"], + "mergeable": "MERGEABLE" + }, + "pipelineJobs": [], + "reviewers": [] + } + } + } + }, + "56d172ecd2fe": { + "name": "detailLoading", + "value": true, + "sent": 0 + }, + "9bd1de5d9753": { + "name": "detailPayload", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "9d6ce9f28401": { + "name": "detailError", + "value": "", + "sent": 0 + }, + "a11900db0941": { + "name": "detailPayload", + "value": { + "assignees": [], + "body": "body", + "comments": [], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + }, + "sent": 1 + }, + "d6522427a24c": { + "name": "actionItem", + "value": { + "provider": "gitlab", + "source": { + "checksSummary": { + "failed": 0, + "neutral": 0, + "passed": 0, + "pending": 0, + "state": "none", + "total": 0 + }, + "id": "gitlab:issue:4", + "labels": ["bug"], + "mergeable": "MERGEABLE", + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "reviewDecision": "approved", + "reviewerCount": 0, + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + }, + "sent": 1 + }, + "e8f33a90ab1d": { + "name": "items", + "value": [ + { + "provider": "gitlab", + "source": { + "checksSummary": { + "failed": 0, + "neutral": 0, + "passed": 0, + "pending": 0, + "state": "none", + "total": 0 + }, + "id": "gitlab:issue:4", + "labels": ["bug"], + "mergeable": "MERGEABLE", + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "reviewDecision": "approved", + "reviewerCount": 0, + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + } + ], + "sent": 1 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f2d8814a60b2": { + "error": "", + "item": { + "provider": "gitlab", + "source": { + "checksSummary": { + "failed": 0, + "neutral": 0, + "passed": 0, + "pending": 0, + "state": "none", + "total": 0 + }, + "id": "gitlab:issue:4", + "labels": ["bug"], + "mergeable": "MERGEABLE", + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "reviewDecision": "approved", + "reviewerCount": 0, + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "checksSummary": { + "failed": 0, + "neutral": 0, + "passed": 0, + "pending": 0, + "state": "none", + "total": 0 + }, + "id": "gitlab:issue:4", + "labels": ["bug"], + "mergeable": "MERGEABLE", + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "reviewDecision": "approved", + "reviewerCount": 0, + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + } + ], + "loading": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + } + }, + "recording": { + "scenario": "tk-item-detail-gitlab", + "checkpoints": [ + { + "id": "mounted", + "observation": { + "sender": ["292ec83c1b66"], + "payloads": ["08049512c6dd"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "f2d8814a60b2", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "a11900db0941", + "d6522427a24c", + "e8f33a90ab1d", + "1867a9df681c" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/tk-item-detail-linear.json b/mobile/rpc-foundation/goldens/tk-item-detail-linear.json new file mode 100644 index 00000000000..dcea1d500ef --- /dev/null +++ b/mobile/rpc-foundation/goldens/tk-item-detail-linear.json @@ -0,0 +1,321 @@ +{ + "operation": "tasks.item-detail-linear", + "family": "tasks.item-detail-linear", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "c0ef16b959002e4a3c5347114a0844b95670e274ef010d910b6671ac5f49e783", + "scenarioSha256": "f0407adc774b29553bdd177885e8ea9047127c4ebe8298de160a421fb4c1fe67", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "11e204c49d13": { + "name": "detailPayload", + "value": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [ + { + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-1", + "user": { + "displayName": "Octo" + } + } + ], + "description": "a description", + "labels": [], + "project": { + "$rpc": "undefined" + }, + "provider": "linear" + }, + "sent": 2 + }, + "1764e3c48b18": { + "name": "linear.issueComments#1", + "args": [ + { + "name": "method", + "value": "linear.issueComments" + }, + { + "name": "params", + "value": { + "issueId": "issue-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": [ + { + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-1", + "user": { + "displayName": "Octo" + } + } + ] + } + } + }, + "47f3ae87c00a": { + "name": "linear.getIssue#1", + "args": [ + { + "name": "method", + "value": "linear.getIssue" + }, + { + "name": "params", + "value": { + "id": "issue-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "description": "a description", + "id": "issue-2", + "identifier": "ENG-2", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + } + } + } + }, + "501841dc050a": { + "name": "actionItem", + "value": { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + }, + "sent": 2 + }, + "56d172ecd2fe": { + "name": "detailLoading", + "value": true, + "sent": 0 + }, + "9bd1de5d9753": { + "name": "detailPayload", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "9d6ce9f28401": { + "name": "detailError", + "value": "", + "sent": 0 + }, + "a2e20872c3f2": { + "error": "", + "item": { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + }, + "items": [ + { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + } + ], + "loading": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [ + { + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-1", + "user": { + "displayName": "Octo" + } + } + ], + "description": "a description", + "labels": [], + "project": { + "$rpc": "undefined" + }, + "provider": "linear" + } + }, + "bb215a1eb59b": { + "name": "linear.getIssue#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"linear.getIssue\",\"params\":{\"id\":\"issue-1\",\"workspaceId\":\"linear-workspace\"}}" + }, + "e7f73629d075": { + "name": "linear.issueComments#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.issueComments\",\"params\":{\"issueId\":\"issue-1\",\"workspaceId\":\"linear-workspace\"}}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ee0c4638d266": { + "name": "detailLoading", + "value": false, + "sent": 2 + } + }, + "recording": { + "scenario": "tk-item-detail-linear", + "checkpoints": [ + { + "id": "mounted", + "observation": { + "sender": ["47f3ae87c00a", "1764e3c48b18"], + "payloads": ["bb215a1eb59b", "e7f73629d075"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "a2e20872c3f2", + "effects": [ + "9bd1de5d9753", + "9d6ce9f28401", + "56d172ecd2fe", + "11e204c49d13", + "501841dc050a", + "ee0c4638d266" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/tk-item-detail-metadata.json b/mobile/rpc-foundation/goldens/tk-item-detail-metadata.json new file mode 100644 index 00000000000..5a2fb733f65 --- /dev/null +++ b/mobile/rpc-foundation/goldens/tk-item-detail-metadata.json @@ -0,0 +1,211 @@ +{ + "operation": "tasks.item-detail-metadata", + "family": "tasks.item-detail-metadata", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "58ea1553e04017c993aea4753aace41ee664705a3fdb3b18569c5a9d7968cf06", + "scenarioSha256": "e6429c235d8c0b0376f71fea7b47c3b9ff22b850c92922b85ff993ae8b6cd6d0", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "14b04c3d1156": { + "name": "itemAssignableUsersLoading", + "value": true, + "sent": 1 + }, + "187a6bd82efe": { + "labels": ["bug", "chore"], + "labelsError": "", + "labelsLoading": false, + "users": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": "Octo" + } + ], + "usersError": "", + "usersLoading": false + }, + "30554accaab5": { + "name": "itemAvailableLabels", + "value": ["bug", "chore"], + "sent": 2 + }, + "31a9aea0d54a": { + "name": "github.listLabels#1", + "args": [ + { + "name": "method", + "value": "github.listLabels" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": ["bug", "chore"] + } + } + }, + "3af8e2a236cf": { + "name": "itemAssignableUsersError", + "value": "", + "sent": 1 + }, + "4be2a2e21bd0": { + "name": "itemBodyDraft", + "value": "body", + "sent": 0 + }, + "594a2904a1bc": { + "name": "github.listAssignableUsers#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.listAssignableUsers\",\"params\":{\"repo\":\"id:repo-1\"}}" + }, + "60ab7459b747": { + "name": "itemLabelsLoading", + "value": true, + "sent": 0 + }, + "763cfed9792e": { + "name": "itemAssignableUsers", + "value": [], + "sent": 1 + }, + "a268d5d92265": { + "name": "github.listAssignableUsers#1", + "args": [ + { + "name": "method", + "value": "github.listAssignableUsers" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": "Octo" + } + ] + } + } + }, + "a37497fa506c": { + "name": "itemAssignableUsers", + "value": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": "Octo" + } + ], + "sent": 2 + }, + "e4421084ff39": { + "name": "itemLabelsLoading", + "value": false, + "sent": 2 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ef317c60c3c6": { + "name": "github.listLabels#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.listLabels\",\"params\":{\"repo\":\"id:repo-1\"}}" + }, + "f70626574f7a": { + "name": "itemAvailableLabels", + "value": [], + "sent": 0 + }, + "f991510500df": { + "name": "itemAssignableUsersLoading", + "value": false, + "sent": 2 + }, + "fc060a38ddda": { + "name": "itemLabelsError", + "value": "", + "sent": 0 + } + }, + "recording": { + "scenario": "tk-item-detail-metadata", + "checkpoints": [ + { + "id": "mounted", + "observation": { + "sender": ["31a9aea0d54a", "a268d5d92265"], + "payloads": ["ef317c60c3c6", "594a2904a1bc"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "187a6bd82efe", + "effects": [ + "4be2a2e21bd0", + "f70626574f7a", + "fc060a38ddda", + "60ab7459b747", + "763cfed9792e", + "3af8e2a236cf", + "14b04c3d1156", + "30554accaab5", + "e4421084ff39", + "a37497fa506c", + "f991510500df" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/tk-item-merge-gitlab.json b/mobile/rpc-foundation/goldens/tk-item-merge-gitlab.json new file mode 100644 index 00000000000..3be55ef3588 --- /dev/null +++ b/mobile/rpc-foundation/goldens/tk-item-merge-gitlab.json @@ -0,0 +1,142 @@ +{ + "operation": "tasks.item-merge-gitlab", + "family": "tasks.item-merge-gitlab", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "8f68885d57a9aa76d80ba0ee29a95bdbaa98cef29c79c68ce75d67202cde7bfe", + "scenarioSha256": "28d8dfb15fec1ecaaa1c675c9c8c0cdc196e184a6884625c44dfe1f0f9fc8e7e", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "32a3635e06a4": { + "name": "mutatingStatus", + "value": false, + "sent": 1 + }, + "84465663f388": { + "name": "actionItem", + "value": { + "$rpc": "null" + }, + "sent": 1 + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "b6a6630b4d40": { + "error": "", + "item": { + "$rpc": "null" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "c483c06533af": { + "name": "gitlab.mergeMR#1", + "args": [ + { + "name": "method", + "value": "gitlab.mergeMR" + }, + { + "name": "params", + "value": { + "iid": 7, + "method": "squash", + "projectRef": "group/project", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "c6bf9878ffb7": { + "name": "gitlab.mergeMR#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"gitlab.mergeMR\",\"params\":{\"repo\":\"id:repo-1\",\"iid\":7,\"method\":\"squash\",\"projectRef\":\"group/project\"}}" + }, + "cc96725d8f47": { + "name": "mutatingStatus", + "value": true, + "sent": 0 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "tk-item-merge-gitlab", + "checkpoints": [ + { + "id": "merge-settled", + "observation": { + "sender": ["c483c06533af"], + "payloads": ["c6bf9878ffb7"], + "settlements": { + "mount": "eb79a9b3682a", + "merge-0": "eb79a9b3682a" + }, + "state": "b6a6630b4d40", + "effects": ["cc96725d8f47", "9e263f5e91be", "84465663f388", "32a3635e06a4"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/tk-item-metadata-github.json b/mobile/rpc-foundation/goldens/tk-item-metadata-github.json new file mode 100644 index 00000000000..aa7a7269a57 --- /dev/null +++ b/mobile/rpc-foundation/goldens/tk-item-metadata-github.json @@ -0,0 +1,289 @@ +{ + "operation": "tasks.item-metadata-github", + "family": "tasks.item-metadata-github", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "97cfbcd82778ed6517ca2d10b2f3ad5a8d366e380d7846c1e89d5a5baf17e739", + "scenarioSha256": "010c65eaa056c5df0b867dd5b5851e206e8479e9fcce02515f1e326df4b8889c", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "32a3635e06a4": { + "name": "mutatingStatus", + "value": false, + "sent": 1 + }, + "48545870a5c1": { + "name": "items", + "value": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "title": "Renamed", + "type": "pr" + }, + "title": "Renamed" + } + ], + "sent": 1 + }, + "7cb20f219688": { + "name": "github.updatePR#1", + "args": [ + { + "name": "method", + "value": "github.updatePR" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-1", + "updates": { + "body": "new body", + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "a42cad5a2c3e": { + "name": "actionItem", + "value": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "title": "Renamed", + "type": "pr" + }, + "title": "Renamed" + }, + "sent": 1 + }, + "b092bbd7362d": { + "name": "github.updatePR#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.updatePR\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"updates\":{\"title\":\"Renamed\",\"body\":\"new body\"}}}" + }, + "cc96725d8f47": { + "name": "mutatingStatus", + "value": true, + "sent": 0 + }, + "dbb0d797e4ab": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "new body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 1 + }, + "e3fcde8cdbfe": { + "error": "", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "title": "Renamed", + "type": "pr" + }, + "title": "Renamed" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "title": "Renamed", + "type": "pr" + }, + "title": "Renamed" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "new body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "tk-item-metadata-github", + "checkpoints": [ + { + "id": "update-pr-settled", + "observation": { + "sender": ["7cb20f219688"], + "payloads": ["b092bbd7362d"], + "settlements": { + "mount": "eb79a9b3682a", + "update-pr-0": "eb79a9b3682a" + }, + "state": "e3fcde8cdbfe", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "a42cad5a2c3e", + "48545870a5c1", + "dbb0d797e4ab", + "32a3635e06a4" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/tk-item-metadata-gitlab-mr.json b/mobile/rpc-foundation/goldens/tk-item-metadata-gitlab-mr.json new file mode 100644 index 00000000000..2baf383da3b --- /dev/null +++ b/mobile/rpc-foundation/goldens/tk-item-metadata-gitlab-mr.json @@ -0,0 +1,232 @@ +{ + "operation": "tasks.item-metadata-gitlab-mr", + "family": "tasks.item-metadata-gitlab-mr", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "97cfbcd82778ed6517ca2d10b2f3ad5a8d366e380d7846c1e89d5a5baf17e739", + "scenarioSha256": "daa54da6cfb8d96c2a66c138beeaf70c764f96a60bdc84f2ff4cde80483cb365", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "32a3635e06a4": { + "name": "mutatingStatus", + "value": false, + "sent": 1 + }, + "45b929e1b010": { + "name": "items", + "value": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": ["bug", "triage"], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "title": "Renamed", + "type": "mr" + }, + "title": "Renamed" + } + ], + "sent": 1 + }, + "6d96b92fa8ac": { + "name": "itemRemoveLabelsDraft", + "value": "", + "sent": 1 + }, + "7089c563f99c": { + "name": "itemAddLabelsDraft", + "value": "", + "sent": 1 + }, + "820a09a5345c": { + "name": "actionItem", + "value": { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": ["bug", "triage"], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "title": "Renamed", + "type": "mr" + }, + "title": "Renamed" + }, + "sent": 1 + }, + "9c5b9e7fae33": { + "name": "detailPayload", + "value": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug", "triage"], + "pipelineJobs": [], + "provider": "gitlab" + }, + "sent": 1 + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "a62f6e435d85": { + "name": "gitlab.updateMR#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateMR" + }, + { + "name": "params", + "value": { + "iid": 7, + "projectRef": "group/project", + "repo": "id:repo-1", + "updates": { + "addLabels": ["triage"], + "body": { + "$rpc": "undefined" + }, + "removeLabels": { + "$rpc": "undefined" + }, + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "cc96725d8f47": { + "name": "mutatingStatus", + "value": true, + "sent": 0 + }, + "d03b2863c41e": { + "error": "", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": ["bug", "triage"], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "title": "Renamed", + "type": "mr" + }, + "title": "Renamed" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": ["bug", "triage"], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "title": "Renamed", + "type": "mr" + }, + "title": "Renamed" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug", "triage"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f2369a06d2a9": { + "name": "gitlab.updateMR#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"gitlab.updateMR\",\"params\":{\"repo\":\"id:repo-1\",\"iid\":7,\"projectRef\":\"group/project\",\"updates\":{\"title\":\"Renamed\",\"addLabels\":[\"triage\"]}}}" + } + }, + "recording": { + "scenario": "tk-item-metadata-gitlab-mr", + "checkpoints": [ + { + "id": "update-gitlab-settled", + "observation": { + "sender": ["a62f6e435d85"], + "payloads": ["f2369a06d2a9"], + "settlements": { + "mount": "eb79a9b3682a", + "update-gitlab-0": "eb79a9b3682a" + }, + "state": "d03b2863c41e", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "820a09a5345c", + "45b929e1b010", + "9c5b9e7fae33", + "7089c563f99c", + "6d96b92fa8ac", + "32a3635e06a4" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/tk-item-metadata-gitlab.json b/mobile/rpc-foundation/goldens/tk-item-metadata-gitlab.json new file mode 100644 index 00000000000..a74ca8e797e --- /dev/null +++ b/mobile/rpc-foundation/goldens/tk-item-metadata-gitlab.json @@ -0,0 +1,238 @@ +{ + "operation": "tasks.item-metadata-gitlab", + "family": "tasks.item-metadata-gitlab", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "97cfbcd82778ed6517ca2d10b2f3ad5a8d366e380d7846c1e89d5a5baf17e739", + "scenarioSha256": "4daf374f040e27836c154245d6a7fbad9ba3f6e6c0c9608218451286e4712d6b", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "03cbbf630f86": { + "name": "itemRemoveAssigneesDraft", + "value": "", + "sent": 1 + }, + "06ebfa394e4c": { + "error": "", + "item": { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug", "triage"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "title": "Renamed", + "type": "issue" + }, + "title": "Renamed" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug", "triage"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "title": "Renamed", + "type": "issue" + }, + "title": "Renamed" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug", "triage"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "166d84331771": { + "name": "gitlab.updateIssue#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateIssue" + }, + { + "name": "params", + "value": { + "number": 4, + "projectRef": "group/project", + "repo": "id:repo-1", + "updates": { + "addLabels": ["triage"], + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "32a3635e06a4": { + "name": "mutatingStatus", + "value": false, + "sent": 1 + }, + "34df3a1f4f16": { + "name": "itemAddAssigneesDraft", + "value": "", + "sent": 1 + }, + "5feb9fb600e8": { + "name": "gitlab.updateIssue#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"gitlab.updateIssue\",\"params\":{\"repo\":\"id:repo-1\",\"number\":4,\"updates\":{\"title\":\"Renamed\",\"addLabels\":[\"triage\"]},\"projectRef\":\"group/project\"}}" + }, + "6d96b92fa8ac": { + "name": "itemRemoveLabelsDraft", + "value": "", + "sent": 1 + }, + "7089c563f99c": { + "name": "itemAddLabelsDraft", + "value": "", + "sent": 1 + }, + "9c5b9e7fae33": { + "name": "detailPayload", + "value": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug", "triage"], + "pipelineJobs": [], + "provider": "gitlab" + }, + "sent": 1 + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "b27915db5c55": { + "name": "items", + "value": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug", "triage"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "title": "Renamed", + "type": "issue" + }, + "title": "Renamed" + } + ], + "sent": 1 + }, + "cc96725d8f47": { + "name": "mutatingStatus", + "value": true, + "sent": 0 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ee3f2425c02b": { + "name": "actionItem", + "value": { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug", "triage"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "title": "Renamed", + "type": "issue" + }, + "title": "Renamed" + }, + "sent": 1 + } + }, + "recording": { + "scenario": "tk-item-metadata-gitlab", + "checkpoints": [ + { + "id": "update-gitlab-settled", + "observation": { + "sender": ["166d84331771"], + "payloads": ["5feb9fb600e8"], + "settlements": { + "mount": "eb79a9b3682a", + "update-gitlab-0": "eb79a9b3682a" + }, + "state": "06ebfa394e4c", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "ee3f2425c02b", + "b27915db5c55", + "9c5b9e7fae33", + "7089c563f99c", + "6d96b92fa8ac", + "34df3a1f4f16", + "03cbbf630f86", + "32a3635e06a4" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/tk-item-reply-merge.json b/mobile/rpc-foundation/goldens/tk-item-reply-merge.json new file mode 100644 index 00000000000..e893d9c2c5b --- /dev/null +++ b/mobile/rpc-foundation/goldens/tk-item-reply-merge.json @@ -0,0 +1,829 @@ +{ + "operation": "tasks.item-reply-merge-github", + "family": "tasks.item-reply-merge", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "8f68885d57a9aa76d80ba0ee29a95bdbaa98cef29c79c68ce75d67202cde7bfe", + "scenarioSha256": "b8e60092a29ea4944a891adc026444cc1da18c52221876f9e7c07b450b34cea8", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "036b197488e0": { + "name": "github.addPRReviewCommentReply#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.addPRReviewCommentReply\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"commentId\":501,\"body\":\"a reply\",\"threadId\":\"thread-1\",\"path\":\"src/index.ts\",\"line\":12}}" + }, + "05d134c26c53": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "08f1b4229a2c": { + "name": "github.addIssueComment#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.addIssueComment\",\"params\":{\"repo\":\"id:repo-1\",\"number\":12,\"body\":\"@octocat a reply\",\"type\":\"pr\"}}" + }, + "0be9101a1dfc": { + "name": "mutatingStatus", + "value": true, + "sent": 3 + }, + "0c0d6ea592d5": { + "name": "mutatingStatus", + "value": false, + "sent": 3 + }, + "19e3a37362dc": { + "error": "", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "2b89f7945bce": { + "name": "items", + "value": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "sent": 4 + }, + "2f84f3228054": { + "name": "itemReplyDrafts", + "value": {}, + "sent": 2 + }, + "32a3635e06a4": { + "name": "mutatingStatus", + "value": false, + "sent": 1 + }, + "583b546bd557": { + "name": "mutatingStatus", + "value": true, + "sent": 1 + }, + "6bd857c36deb": { + "name": "github.mergePR#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.mergePR\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"method\":\"squash\"}}" + }, + "70678ab6df9a": { + "name": "mutatingStatus", + "value": false, + "sent": 4 + }, + "7bbc96cd8511": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 2 + }, + "7df24cf10f99": { + "name": "linear.updateIssue#1", + "args": [ + { + "name": "method", + "value": "linear.updateIssue" + }, + { + "name": "params", + "value": { + "id": "issue-1", + "updates": { + "stateId": "state-2" + }, + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "82983d26b169": { + "name": "mutatingStatus", + "value": true, + "sent": 2 + }, + "8cde53a56cdf": { + "name": "mutatingStatus", + "value": false, + "sent": 2 + }, + "8f08c9b94011": { + "name": "actionItem", + "value": { + "$rpc": "null" + }, + "sent": 3 + }, + "976ce137a1ed": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "@octocat a reply", + "number": 12, + "repo": "id:repo-1", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "comment": { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + }, + "ok": true + } + } + } + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "ae78fb6dcf29": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "a reply", + "commentId": 501, + "line": 12, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1", + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "comment": { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + "ok": true + } + } + } + }, + "b19de2486603": { + "name": "itemReplyDrafts", + "value": { + "comment-2": "a reply" + }, + "sent": 1 + }, + "b57ded8a3ea3": { + "name": "error", + "value": "", + "sent": 2 + }, + "b959a668e307": { + "name": "linear.updateIssue#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"linear.updateIssue\",\"params\":{\"id\":\"issue-1\",\"workspaceId\":\"linear-workspace\",\"updates\":{\"stateId\":\"state-2\"}}}" + }, + "bc3f6bcb8a5e": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 1 + }, + "c22bc4151f3c": { + "name": "actionItem", + "value": { + "$rpc": "null" + }, + "sent": 4 + }, + "cc96725d8f47": { + "name": "mutatingStatus", + "value": true, + "sent": 0 + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "d640b8e687fa": { + "error": "", + "item": { + "$rpc": "null" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "dbbebbd74a18": { + "name": "error", + "value": "", + "sent": 3 + }, + "e079a4228dc8": { + "error": "", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "items": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "tk-item-reply-merge", + "checkpoints": [ + { + "id": "review-reply-settled", + "observation": { + "sender": ["ae78fb6dcf29"], + "payloads": ["036b197488e0"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a" + }, + "state": "e079a4228dc8", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4" + ] + } + }, + { + "id": "issue-reply-settled", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed"], + "payloads": ["036b197488e0", "08f1b4229a2c"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a" + }, + "state": "19e3a37362dc", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf" + ] + } + }, + { + "id": "merge-settled", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed", "05d134c26c53"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "d640b8e687fa", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5" + ] + } + }, + { + "id": "linear-status-settled", + "observation": { + "sender": ["ae78fb6dcf29", "976ce137a1ed", "05d134c26c53", "7df24cf10f99"], + "payloads": ["036b197488e0", "08f1b4229a2c", "6bd857c36deb", "b959a668e307"], + "settlements": { + "mount": "eb79a9b3682a", + "review-reply-0": "eb79a9b3682a", + "issue-reply-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "linear-status-3": "eb79a9b3682a" + }, + "state": "d640b8e687fa", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "b19de2486603", + "bc3f6bcb8a5e", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "2f84f3228054", + "7bbc96cd8511", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "8f08c9b94011", + "0c0d6ea592d5", + "0be9101a1dfc", + "dbbebbd74a18", + "2b89f7945bce", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/tk-item-review-github.json b/mobile/rpc-foundation/goldens/tk-item-review-github.json new file mode 100644 index 00000000000..62e474ea059 --- /dev/null +++ b/mobile/rpc-foundation/goldens/tk-item-review-github.json @@ -0,0 +1,656 @@ +{ + "operation": "tasks.item-review-github", + "family": "tasks.item-review-github", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "8f68885d57a9aa76d80ba0ee29a95bdbaa98cef29c79c68ce75d67202cde7bfe", + "scenarioSha256": "3ba358ff7b6a95d9158257225483f77578dfa10c8643cdf89f8a81e0022997e9", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0879b3f9a393": { + "name": "itemReviewersDraft", + "value": "", + "sent": 1 + }, + "0de54b42541b": { + "name": "items", + "value": [ + { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "sent": 1 + }, + "1a20f26b6a0f": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "sent": 1 + }, + "32a3635e06a4": { + "name": "mutatingStatus", + "value": false, + "sent": 1 + }, + "4fdc894b14c6": { + "name": "github.prChecks#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.prChecks\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"headSha\":\"head-sha\",\"noCache\":true}}" + }, + "53b8bc3863fe": { + "name": "github.requestPRReviewers#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.requestPRReviewers\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"reviewers\":[\"octocat\"]}}" + }, + "583b546bd557": { + "name": "mutatingStatus", + "value": true, + "sent": 1 + }, + "76563654aeaf": { + "name": "actionItem", + "value": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "sent": 1 + }, + "83c824cc5deb": { + "name": "detailPayload", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "sent": 2 + }, + "889936f92195": { + "draft": "a comment", + "error": "", + "item": { + "provider": "github", + "source": { + "checksSummary": { + "failed": 0, + "neutral": 0, + "passed": 1, + "pending": 0, + "state": "success", + "total": 1 + }, + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + } + }, + "8cde53a56cdf": { + "name": "mutatingStatus", + "value": false, + "sent": 2 + }, + "8e390a30a275": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha", + "noCache": true, + "prNumber": 12, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ] + } + } + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "aaec5330620b": { + "name": "items", + "value": [ + { + "provider": "github", + "source": { + "checksSummary": { + "failed": 0, + "neutral": 0, + "passed": 1, + "pending": 0, + "state": "success", + "total": 1 + }, + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + } + ], + "sent": 2 + }, + "c52d84cfe1e5": { + "name": "actionItem", + "value": { + "provider": "github", + "source": { + "checksSummary": { + "failed": 0, + "neutral": 0, + "passed": 1, + "pending": 0, + "state": "success", + "total": 1 + }, + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "sent": 2 + }, + "c6919e95e93b": { + "draft": "a comment", + "error": "", + "item": { + "provider": "github", + "source": { + "id": "github:pr:12", + "labels": ["bug"], + "latestReviews": [], + "number": 12, + "repoId": "repo-1", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ], + "state": "open", + "type": "pr" + }, + "title": "A pull request" + }, + "mutating": false, + "payload": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + } + }, + "cc96725d8f47": { + "name": "mutatingStatus", + "value": true, + "sent": 0 + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "d4d38f1bf018": { + "name": "github.requestPRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.requestPRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-1", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "tk-item-review-github", + "checkpoints": [ + { + "id": "reviewers-settled", + "observation": { + "sender": ["d4d38f1bf018"], + "payloads": ["53b8bc3863fe"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a" + }, + "state": "c6919e95e93b", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "76563654aeaf", + "0de54b42541b", + "1a20f26b6a0f", + "0879b3f9a393", + "32a3635e06a4" + ] + } + }, + { + "id": "checks-settled", + "observation": { + "sender": ["d4d38f1bf018", "8e390a30a275"], + "payloads": ["53b8bc3863fe", "4fdc894b14c6"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "889936f92195", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "76563654aeaf", + "0de54b42541b", + "1a20f26b6a0f", + "0879b3f9a393", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "83c824cc5deb", + "c52d84cfe1e5", + "aaec5330620b", + "8cde53a56cdf" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/tk-item-status-gitlab-mr.json b/mobile/rpc-foundation/goldens/tk-item-status-gitlab-mr.json new file mode 100644 index 00000000000..f66563b5d55 --- /dev/null +++ b/mobile/rpc-foundation/goldens/tk-item-status-gitlab-mr.json @@ -0,0 +1,142 @@ +{ + "operation": "tasks.item-status-gitlab-mr", + "family": "tasks.item-status-gitlab-mr", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "8c4218bfb2af227da5386f29989cec438f2c6187f39ce1c06859e136ea920bfa", + "scenarioSha256": "5de4936aed0efd0d8bd5bc5ce893d561f6bc3d0fdf4a76c9e33e7cbefd6ec362", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "1380dafff177": { + "name": "gitlab.updateMRState#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateMRState" + }, + { + "name": "params", + "value": { + "iid": 7, + "projectRef": "group/project", + "repo": "id:repo-1", + "state": "closed" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "32a3635e06a4": { + "name": "mutatingStatus", + "value": false, + "sent": 1 + }, + "84465663f388": { + "name": "actionItem", + "value": { + "$rpc": "null" + }, + "sent": 1 + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "b6a6630b4d40": { + "error": "", + "item": { + "$rpc": "null" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:mr:7", + "labels": [], + "number": 7, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "mr" + }, + "title": "A merge request" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "bbda8a8eedb1": { + "name": "gitlab.updateMRState#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"gitlab.updateMRState\",\"params\":{\"repo\":\"id:repo-1\",\"iid\":7,\"state\":\"closed\",\"projectRef\":\"group/project\"}}" + }, + "cc96725d8f47": { + "name": "mutatingStatus", + "value": true, + "sent": 0 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "tk-item-status-gitlab-mr", + "checkpoints": [ + { + "id": "gitlab-status-settled", + "observation": { + "sender": ["1380dafff177"], + "payloads": ["bbda8a8eedb1"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a" + }, + "state": "b6a6630b4d40", + "effects": ["cc96725d8f47", "9e263f5e91be", "84465663f388", "32a3635e06a4"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/tk-item-status-gitlab.json b/mobile/rpc-foundation/goldens/tk-item-status-gitlab.json new file mode 100644 index 00000000000..6f4e5de83dc --- /dev/null +++ b/mobile/rpc-foundation/goldens/tk-item-status-gitlab.json @@ -0,0 +1,296 @@ +{ + "operation": "tasks.item-status-gitlab", + "family": "tasks.item-status-gitlab", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "8c4218bfb2af227da5386f29989cec438f2c6187f39ce1c06859e136ea920bfa", + "scenarioSha256": "85414544a9e8570567770b43e6bf5cfcc406c9b9b4ffed3a4ff0c8187beb7549", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "132591a733d1": { + "name": "gitlab.updateIssue#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"gitlab.updateIssue\",\"params\":{\"repo\":\"id:repo-1\",\"number\":4,\"updates\":{\"state\":\"closed\"},\"projectRef\":\"group/project\"}}" + }, + "13b233a5bc5a": { + "name": "itemRemoveAssigneesDraft", + "value": "", + "sent": 2 + }, + "32a3635e06a4": { + "name": "mutatingStatus", + "value": false, + "sent": 1 + }, + "3c6c54110c00": { + "name": "itemRemoveLabelsDraft", + "value": "", + "sent": 2 + }, + "583b546bd557": { + "name": "mutatingStatus", + "value": true, + "sent": 1 + }, + "71cb3feddd6c": { + "name": "github.updateIssue#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.updateIssue\",\"params\":{\"repo\":\"id:repo-1\",\"number\":9,\"updates\":{\"title\":\"Renamed\",\"addLabels\":[\"triage\"],\"removeLabels\":[\"bug\"]}}}" + }, + "779cb33e2c39": { + "name": "gitlab.updateIssue#1", + "args": [ + { + "name": "method", + "value": "gitlab.updateIssue" + }, + { + "name": "params", + "value": { + "number": 4, + "projectRef": "group/project", + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "7ff9a871c9b4": { + "name": "itemAddLabelsDraft", + "value": "", + "sent": 2 + }, + "84465663f388": { + "name": "actionItem", + "value": { + "$rpc": "null" + }, + "sent": 1 + }, + "893c7ff30ddf": { + "name": "items", + "value": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + } + ], + "sent": 2 + }, + "8cde53a56cdf": { + "name": "mutatingStatus", + "value": false, + "sent": 2 + }, + "9999466f95f3": { + "name": "detailPayload", + "value": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + }, + "sent": 2 + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "9fb1b1ad3675": { + "name": "github.updateIssue#1", + "args": [ + { + "name": "method", + "value": "github.updateIssue" + }, + { + "name": "params", + "value": { + "number": 9, + "repo": "id:repo-1", + "updates": { + "addLabels": ["triage"], + "removeLabels": ["bug"], + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "b3786fd78eba": { + "name": "actionItem", + "value": { + "$rpc": "null" + }, + "sent": 2 + }, + "cc96725d8f47": { + "name": "mutatingStatus", + "value": true, + "sent": 0 + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "d9d32e421d46": { + "error": "", + "item": { + "$rpc": "null" + }, + "items": [ + { + "provider": "gitlab", + "source": { + "id": "gitlab:issue:4", + "labels": ["bug"], + "number": 4, + "projectRef": "group/project", + "repoId": "repo-1", + "state": "opened", + "type": "issue" + }, + "title": "A GitLab issue" + } + ], + "mutating": false, + "payload": { + "assignees": [], + "body": "body", + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "labels": ["bug"], + "pipelineJobs": [], + "provider": "gitlab" + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ec6aee3704e2": { + "name": "itemAddAssigneesDraft", + "value": "", + "sent": 2 + } + }, + "recording": { + "scenario": "tk-item-status-gitlab", + "checkpoints": [ + { + "id": "gitlab-status-settled", + "observation": { + "sender": ["779cb33e2c39"], + "payloads": ["132591a733d1"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a" + }, + "state": "d9d32e421d46", + "effects": ["cc96725d8f47", "9e263f5e91be", "84465663f388", "32a3635e06a4"] + } + }, + { + "id": "github-metadata-settled", + "observation": { + "sender": ["779cb33e2c39", "9fb1b1ad3675"], + "payloads": ["132591a733d1", "71cb3feddd6c"], + "settlements": { + "mount": "eb79a9b3682a", + "gitlab-status-0": "eb79a9b3682a", + "github-metadata-1": "eb79a9b3682a" + }, + "state": "d9d32e421d46", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "84465663f388", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "b3786fd78eba", + "893c7ff30ddf", + "9999466f95f3", + "7ff9a871c9b4", + "3c6c54110c00", + "ec6aee3704e2", + "13b233a5bc5a", + "8cde53a56cdf" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/tk-linear-connect.json b/mobile/rpc-foundation/goldens/tk-linear-connect.json new file mode 100644 index 00000000000..37885e6323d --- /dev/null +++ b/mobile/rpc-foundation/goldens/tk-linear-connect.json @@ -0,0 +1,136 @@ +{ + "operation": "tasks.linear-connect", + "family": "tasks.linear-connect", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "07a15e900363faa25bc364f5bc1c330f96798abfeaed35210428c2ac558586b8", + "scenarioSha256": "d1bd7ad9b647a50403953ba01d3a4bcccc5f4020c2aefa6146cca8c7688612c1", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0c51558ed744": { + "name": "provider", + "value": "linear", + "sent": 1 + }, + "2f8d5603d8c0": { + "connected": true, + "error": "", + "provider": "linear", + "providers": ["github", "linear"], + "state": "idle" + }, + "4870152af5d4": { + "name": "linearConnectState", + "value": "connecting", + "sent": 0 + }, + "69d74e72326c": { + "name": "linearConnected", + "value": true, + "sent": 1 + }, + "9ea73b6d4ce4": { + "name": "linearConnectError", + "value": "", + "sent": 0 + }, + "b314de624efa": { + "name": "linearApiKeyDraft", + "value": "", + "sent": 1 + }, + "b7f1fad8d45f": { + "name": "linear.connect#1", + "args": [ + { + "name": "method", + "value": "linear.connect" + }, + { + "name": "params", + "value": { + "apiKey": "lin_api_key" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "dae705f55c7f": { + "name": "linear.connect#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"linear.connect\",\"params\":{\"apiKey\":\"lin_api_key\"}}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f06f609ce6b4": { + "name": "linearConnectState", + "value": "idle", + "sent": 1 + }, + "f4cec40b7d42": { + "name": "visibleProviders", + "value": ["github", "linear"], + "sent": 1 + }, + "fe581ce5541b": { + "name": "showLinearConnect", + "value": false, + "sent": 1 + } + }, + "recording": { + "scenario": "tk-linear-connect", + "checkpoints": [ + { + "id": "connect-settled", + "observation": { + "sender": ["b7f1fad8d45f"], + "payloads": ["dae705f55c7f"], + "settlements": { + "mount": "eb79a9b3682a", + "connect-0": "eb79a9b3682a" + }, + "state": "2f8d5603d8c0", + "effects": [ + "4870152af5d4", + "9ea73b6d4ce4", + "b314de624efa", + "f06f609ce6b4", + "fe581ce5541b", + "69d74e72326c", + "f4cec40b7d42", + "0c51558ed744" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/tk-linear-item.json b/mobile/rpc-foundation/goldens/tk-linear-item.json new file mode 100644 index 00000000000..7ddf6c16337 --- /dev/null +++ b/mobile/rpc-foundation/goldens/tk-linear-item.json @@ -0,0 +1,570 @@ +{ + "operation": "tasks.linear-item-actions", + "family": "tasks.linear-item", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "97cfbcd82778ed6517ca2d10b2f3ad5a8d366e380d7846c1e89d5a5baf17e739", + "scenarioSha256": "354eaff5243b3aae774c375aa303548d82c4db106a89ada39907d6654fa549b3", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0c0d6ea592d5": { + "name": "mutatingStatus", + "value": false, + "sent": 3 + }, + "12b9ca6d3411": { + "name": "linearCommentDraft", + "value": "", + "sent": 1 + }, + "252af9581c95": { + "name": "linear.addIssueComment#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"linear.addIssueComment\",\"params\":{\"issueId\":\"issue-1\",\"workspaceId\":\"linear-workspace\",\"body\":\"a linear comment\"}}" + }, + "2c8f51509f45": { + "name": "linear.getIssue#1", + "args": [ + { + "name": "method", + "value": "linear.getIssue" + }, + { + "name": "params", + "value": { + "id": "issue-2", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "description": "a description", + "id": "issue-2", + "identifier": "ENG-2", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + } + } + } + }, + "310aa929de22": { + "name": "linearSubIssueTitle", + "value": "", + "sent": 3 + }, + "32a3635e06a4": { + "name": "mutatingStatus", + "value": false, + "sent": 1 + }, + "48107958be60": { + "error": "", + "item": { + "key": "linear:linear-workspace:issue-2", + "provider": "linear", + "source": { + "description": "a description", + "id": "issue-2", + "identifier": "ENG-2", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + }, + "status": "Todo", + "subtitle": "ENG-2 · Engineering", + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + }, + "mutating": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [ + { + "id": "issue-3", + "identifier": "ENG-3", + "title": "A sub-issue", + "url": "" + } + ], + "comments": [ + { + "body": "a linear comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "comment-9", + "user": { + "displayName": "You" + } + } + ], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + } + }, + "4b870cf7c216": { + "name": "detailPayload", + "value": { + "assignee": { + "$rpc": "undefined" + }, + "children": [ + { + "id": "issue-3", + "identifier": "ENG-3", + "title": "A sub-issue", + "url": "" + } + ], + "comments": [ + { + "body": "a linear comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "comment-9", + "user": { + "displayName": "You" + } + } + ], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + }, + "sent": 3 + }, + "4c69e7210f1a": { + "name": "linear.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "linear.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "a linear comment", + "issueId": "issue-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "id": "comment-9", + "ok": true + } + } + } + }, + "56711aa72642": { + "name": "linear.getIssue#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.getIssue\",\"params\":{\"id\":\"issue-2\",\"workspaceId\":\"linear-workspace\"}}" + }, + "583b546bd557": { + "name": "mutatingStatus", + "value": true, + "sent": 1 + }, + "6fbb2167a2a8": { + "name": "linear.createIssue#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"linear.createIssue\",\"params\":{\"teamId\":\"team-1\",\"title\":\"A sub-issue\",\"workspaceId\":\"linear-workspace\",\"parentIssueId\":\"issue-1\",\"projectId\":null}}" + }, + "7c14fba8a1fe": { + "error": "", + "item": { + "key": "linear:linear-workspace:issue-2", + "provider": "linear", + "source": { + "description": "a description", + "id": "issue-2", + "identifier": "ENG-2", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + }, + "status": "Todo", + "subtitle": "ENG-2 · Engineering", + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + }, + "mutating": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [ + { + "body": "a linear comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "comment-9", + "user": { + "displayName": "You" + } + } + ], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + } + }, + "82983d26b169": { + "name": "mutatingStatus", + "value": true, + "sent": 2 + }, + "8cde53a56cdf": { + "name": "mutatingStatus", + "value": false, + "sent": 2 + }, + "910853564928": { + "name": "linear.createIssue#1", + "args": [ + { + "name": "method", + "value": "linear.createIssue" + }, + { + "name": "params", + "value": { + "parentIssueId": "issue-1", + "projectId": { + "$rpc": "null" + }, + "teamId": "team-1", + "title": "A sub-issue", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "id": "issue-3", + "identifier": "ENG-3", + "ok": true, + "title": "A sub-issue", + "url": "" + } + } + } + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "abeee718b4b5": { + "name": "detailPayload", + "value": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [ + { + "body": "a linear comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "comment-9", + "user": { + "displayName": "You" + } + } + ], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + }, + "sent": 1 + }, + "b57ded8a3ea3": { + "name": "error", + "value": "", + "sent": 2 + }, + "cc96725d8f47": { + "name": "mutatingStatus", + "value": true, + "sent": 0 + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "db29b57926b1": { + "name": "actionItem", + "value": { + "key": "linear:linear-workspace:issue-2", + "provider": "linear", + "source": { + "description": "a description", + "id": "issue-2", + "identifier": "ENG-2", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + }, + "status": "Todo", + "subtitle": "ENG-2 · Engineering", + "title": "A sub-issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + }, + "sent": 2 + }, + "dcb5a0348220": { + "error": "", + "item": { + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "project": { + "$rpc": "null" + }, + "state": { + "color": "#000000", + "name": "Todo", + "type": "unstarted" + }, + "subIssues": [], + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + }, + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace", + "workspaceName": "Workspace" + }, + "title": "A Linear issue" + }, + "mutating": false, + "payload": { + "assignee": { + "$rpc": "undefined" + }, + "children": [], + "comments": [ + { + "body": "a linear comment", + "createdAt": "2026-01-01T00:00:00.000Z", + "id": "comment-9", + "user": { + "displayName": "You" + } + } + ], + "description": "description", + "labels": [], + "project": { + "$rpc": "null" + }, + "provider": "linear" + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "tk-linear-item", + "checkpoints": [ + { + "id": "comment-settled", + "observation": { + "sender": ["4c69e7210f1a"], + "payloads": ["252af9581c95"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a" + }, + "state": "dcb5a0348220", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "abeee718b4b5", + "32a3635e06a4" + ] + } + }, + { + "id": "sub-issue-open-settled", + "observation": { + "sender": ["4c69e7210f1a", "2c8f51509f45"], + "payloads": ["252af9581c95", "56711aa72642"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a" + }, + "state": "7c14fba8a1fe", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "abeee718b4b5", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "db29b57926b1", + "8cde53a56cdf" + ] + } + }, + { + "id": "sub-issue-create-settled", + "observation": { + "sender": ["4c69e7210f1a", "2c8f51509f45", "910853564928"], + "payloads": ["252af9581c95", "56711aa72642", "6fbb2167a2a8"], + "settlements": { + "mount": "eb79a9b3682a", + "comment-0": "eb79a9b3682a", + "sub-issue-open-1": "eb79a9b3682a", + "sub-issue-create-2": "eb79a9b3682a" + }, + "state": "48107958be60", + "effects": [ + "cc96725d8f47", + "9e263f5e91be", + "12b9ca6d3411", + "abeee718b4b5", + "32a3635e06a4", + "583b546bd557", + "d48d5c49486c", + "db29b57926b1", + "8cde53a56cdf", + "82983d26b169", + "b57ded8a3ea3", + "310aa929de22", + "4b870cf7c216", + "0c0d6ea592d5" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/tk-linear-team-context.json b/mobile/rpc-foundation/goldens/tk-linear-team-context.json new file mode 100644 index 00000000000..152b7754eee --- /dev/null +++ b/mobile/rpc-foundation/goldens/tk-linear-team-context.json @@ -0,0 +1,374 @@ +{ + "operation": "tasks.linear-team-context", + "family": "tasks.linear-team-context", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "58ea1553e04017c993aea4753aace41ee664705a3fdb3b18569c5a9d7968cf06", + "scenarioSha256": "524c2421e61d663dd1344a47ab0552c3bb029ad09e0b6271eac91f1548e8265c", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "049372f27933": { + "name": "prFileContents", + "value": {}, + "sent": 0 + }, + "04c5528024be": { + "name": "itemRemoveLabelsDraft", + "value": "", + "sent": 0 + }, + "065c82e2c558": { + "name": "linearStates", + "value": [ + { + "color": "#000000", + "id": "state-1", + "name": "Todo", + "type": "unstarted" + } + ], + "sent": 2 + }, + "12b9ca6d3411": { + "name": "linearCommentDraft", + "value": "", + "sent": 1 + }, + "18a1433d8d21": { + "name": "linear.listTeams#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"linear.listTeams\"}" + }, + "1d9a37f58a33": { + "name": "creatingTask", + "value": false, + "sent": 0 + }, + "1e04ae13b692": { + "name": "expandedPrFilePath", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "217c9076cb62": { + "name": "linearSubIssueTitle", + "value": "", + "sent": 0 + }, + "2a36cc18a7da": { + "name": "linearTeams", + "value": [ + { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + } + ], + "sent": 1 + }, + "2afc4b1311c1": { + "createTeamId": "team-1", + "states": [], + "statesLoading": false, + "teams": [ + { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + } + ] + }, + "4331036690d4": { + "name": "prFileLoadingPath", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "43a64d0d0bdb": { + "name": "expandedResolvedCommentGroups", + "value": [], + "sent": 0 + }, + "4f71189f4e00": { + "name": "linear.listTeams#1", + "args": [ + { + "name": "method", + "value": "linear.listTeams" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": [ + { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + } + ] + } + } + }, + "74bc5ac6d229": { + "name": "itemAddAssigneesDraft", + "value": "", + "sent": 0 + }, + "797d29171de4": { + "name": "linearCommentDraft", + "value": "", + "sent": 0 + }, + "7c6439d32d4d": { + "name": "linearStates", + "value": [], + "sent": 0 + }, + "81a32c2b3439": { + "name": "linearStatesLoading", + "value": false, + "sent": 2 + }, + "84591a5e606b": { + "name": "itemRemoveAssigneesDraft", + "value": "", + "sent": 0 + }, + "8a45c17cd319": { + "name": "itemTitleDraft", + "value": "", + "sent": 0 + }, + "9385340ebcd4": { + "name": "linear.teamStates#1", + "args": [ + { + "name": "method", + "value": "linear.teamStates" + }, + { + "name": "params", + "value": { + "teamId": "team-1", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": [ + { + "color": "#000000", + "id": "state-1", + "name": "Todo", + "type": "unstarted" + } + ] + } + } + }, + "9d800127c719": { + "name": "createTeamId", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "b50e582f1f87": { + "name": "itemBodyDraft", + "value": "", + "sent": 0 + }, + "b6bf81e9e237": { + "createTeamId": "team-1", + "states": [ + { + "color": "#000000", + "id": "state-1", + "name": "Todo", + "type": "unstarted" + } + ], + "statesLoading": false, + "teams": [ + { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + } + ] + }, + "c9f74e6a8f4b": { + "name": "linearStatesLoading", + "value": true, + "sent": 1 + }, + "cb7025a10156": { + "name": "itemReviewersDraft", + "value": "", + "sent": 0 + }, + "cbbd99961d9a": { + "name": "itemCommentDraft", + "value": "", + "sent": 0 + }, + "cda0a9e3231b": { + "name": "itemAddLabelsDraft", + "value": "", + "sent": 0 + }, + "ce991ff5560d": { + "name": "prFileCommentDrafts", + "value": {}, + "sent": 0 + }, + "ded8ff628165": { + "name": "itemReplyDrafts", + "value": {}, + "sent": 0 + }, + "df9cbe753bae": { + "name": "linearSubIssueTitle", + "value": "", + "sent": 1 + }, + "e132489d2d57": { + "name": "linear.teamStates#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.teamStates\",\"params\":{\"teamId\":\"team-1\",\"workspaceId\":\"linear-workspace\"}}" + }, + "e483917577a8": { + "name": "createTeamId", + "value": "team-1", + "sent": 1 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "tk-linear-team-context", + "checkpoints": [ + { + "id": "open-composer-settled", + "observation": { + "sender": ["4f71189f4e00"], + "payloads": ["18a1433d8d21"], + "settlements": { + "mount": "eb79a9b3682a", + "open-composer-0": "eb79a9b3682a" + }, + "state": "2afc4b1311c1", + "effects": [ + "7c6439d32d4d", + "797d29171de4", + "217c9076cb62", + "8a45c17cd319", + "b50e582f1f87", + "cbbd99961d9a", + "cda0a9e3231b", + "04c5528024be", + "74bc5ac6d229", + "84591a5e606b", + "cb7025a10156", + "ded8ff628165", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "43a64d0d0bdb", + "1d9a37f58a33", + "9d800127c719", + "2a36cc18a7da", + "e483917577a8" + ] + } + }, + { + "id": "select-metadata-item-settled", + "observation": { + "sender": ["4f71189f4e00", "9385340ebcd4"], + "payloads": ["18a1433d8d21", "e132489d2d57"], + "settlements": { + "mount": "eb79a9b3682a", + "open-composer-0": "eb79a9b3682a", + "select-metadata-item-1": "eb79a9b3682a" + }, + "state": "b6bf81e9e237", + "effects": [ + "7c6439d32d4d", + "797d29171de4", + "217c9076cb62", + "8a45c17cd319", + "b50e582f1f87", + "cbbd99961d9a", + "cda0a9e3231b", + "04c5528024be", + "74bc5ac6d229", + "84591a5e606b", + "cb7025a10156", + "ded8ff628165", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "43a64d0d0bdb", + "1d9a37f58a33", + "9d800127c719", + "2a36cc18a7da", + "e483917577a8", + "c9f74e6a8f4b", + "12b9ca6d3411", + "df9cbe753bae", + "065c82e2c558", + "81a32c2b3439" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/tk-list-gitlab-items.json b/mobile/rpc-foundation/goldens/tk-list-gitlab-items.json new file mode 100644 index 00000000000..3d0fb348e94 --- /dev/null +++ b/mobile/rpc-foundation/goldens/tk-list-gitlab-items.json @@ -0,0 +1,191 @@ +{ + "operation": "tasks.task-list-gitlab-items", + "family": "tasks.task-list-gitlab-items", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "07a15e900363faa25bc364f5bc1c330f96798abfeaed35210428c2ac558586b8", + "scenarioSha256": "9b26b8f112021fe65c156b7d4067071551bcdab44a5858f8a933f7ace66e6f80", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0d5d9243a0de": { + "name": "loading", + "value": false, + "sent": 1 + }, + "113ccfa73078": { + "name": "refreshing", + "value": false, + "sent": 1 + }, + "1aa0fd318b4d": { + "name": "gitlab.listWorkItems#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"gitlab.listWorkItems\",\"params\":{\"repo\":\"id:repo-1\",\"state\":\"opened\",\"page\":1,\"perPage\":50}}" + }, + "2af5bdc42011": { + "error": "", + "items": [ + { + "key": "gitlab:repo-1:issue:4", + "provider": "gitlab", + "source": { + "author": { + "$rpc": "null" + }, + "id": "issue:4", + "labels": [], + "number": 4, + "repoId": "repo-1", + "repoName": "Repo", + "state": "opened", + "title": "A GitLab issue", + "type": "issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "" + }, + "status": "Open", + "subtitle": "Repo #4", + "title": "A GitLab issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + } + ], + "loading": false, + "refreshing": false + }, + "6376c568d60e": { + "name": "items", + "value": [ + { + "key": "gitlab:repo-1:issue:4", + "provider": "gitlab", + "source": { + "author": { + "$rpc": "null" + }, + "id": "issue:4", + "labels": [], + "number": 4, + "repoId": "repo-1", + "repoName": "Repo", + "state": "opened", + "title": "A GitLab issue", + "type": "issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "" + }, + "status": "Open", + "subtitle": "Repo #4", + "title": "A GitLab issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + } + ], + "sent": 1 + }, + "840a8ad61602": { + "name": "loading", + "value": true, + "sent": 0 + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "d619074f1bad": { + "name": "gitlab.listWorkItems#1", + "args": [ + { + "name": "method", + "value": "gitlab.listWorkItems" + }, + { + "name": "params", + "value": { + "page": 1, + "perPage": 50, + "query": { + "$rpc": "undefined" + }, + "repo": "id:repo-1", + "state": "opened" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "items": [ + { + "author": { + "$rpc": "null" + }, + "id": "issue:4", + "labels": [], + "number": 4, + "state": "opened", + "title": "A GitLab issue", + "type": "issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "" + } + ] + } + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "tk-list-gitlab-items", + "checkpoints": [ + { + "id": "load-settled", + "observation": { + "sender": ["d619074f1bad"], + "payloads": ["1aa0fd318b4d"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a" + }, + "state": "2af5bdc42011", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "6376c568d60e", + "d48d5c49486c", + "0d5d9243a0de", + "113ccfa73078" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/tk-list-gitlab-todos.json b/mobile/rpc-foundation/goldens/tk-list-gitlab-todos.json new file mode 100644 index 00000000000..be2bc2d100d --- /dev/null +++ b/mobile/rpc-foundation/goldens/tk-list-gitlab-todos.json @@ -0,0 +1,134 @@ +{ + "operation": "tasks.task-list-gitlab-todos", + "family": "tasks.task-list-gitlab-todos", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "07a15e900363faa25bc364f5bc1c330f96798abfeaed35210428c2ac558586b8", + "scenarioSha256": "a9e791f56e991e822b2a9f55db22eabbc39ad36ed669c87b6866ba7fe8eea24a", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0d5d9243a0de": { + "name": "loading", + "value": false, + "sent": 1 + }, + "113ccfa73078": { + "name": "refreshing", + "value": false, + "sent": 1 + }, + "18d425aa3cf4": { + "name": "gitlab.todos#1", + "args": [ + { + "name": "method", + "value": "gitlab.todos" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": [ + { + "id": 1, + "target": { + "id": "gid://1", + "iid": 4, + "state": "opened", + "title": "A GitLab todo", + "updatedAt": "2020-01-01T00:00:00.000Z", + "webUrl": "" + }, + "targetType": "Issue" + } + ] + } + } + }, + "7dc14a940033": { + "name": "gitlab.todos#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"gitlab.todos\",\"params\":{\"repo\":\"id:repo-1\"}}" + }, + "840a8ad61602": { + "name": "loading", + "value": true, + "sent": 0 + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "d42aae748963": { + "name": "error", + "value": "Cannot read properties of undefined (reading 'replace')", + "sent": 1 + }, + "e14451e7d576": { + "name": "items", + "value": [], + "sent": 1 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f7da7040be7b": { + "error": "Cannot read properties of undefined (reading 'replace')", + "items": [], + "loading": false, + "refreshing": false + } + }, + "recording": { + "scenario": "tk-list-gitlab-todos", + "checkpoints": [ + { + "id": "load-settled", + "observation": { + "sender": ["18d425aa3cf4"], + "payloads": ["7dc14a940033"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a" + }, + "state": "f7da7040be7b", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e14451e7d576", + "d42aae748963", + "0d5d9243a0de", + "113ccfa73078" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/tk-list-linear.json b/mobile/rpc-foundation/goldens/tk-list-linear.json new file mode 100644 index 00000000000..f7cbd4db2e6 --- /dev/null +++ b/mobile/rpc-foundation/goldens/tk-list-linear.json @@ -0,0 +1,397 @@ +{ + "operation": "tasks.task-list-linear", + "family": "tasks.task-list-linear", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "07a15e900363faa25bc364f5bc1c330f96798abfeaed35210428c2ac558586b8", + "scenarioSha256": "216ddbf8cb71481d179563d8b033d7dc6cd71bface049e83073b977909776fc9", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0d5d9243a0de": { + "name": "loading", + "value": false, + "sent": 1 + }, + "113ccfa73078": { + "name": "refreshing", + "value": false, + "sent": 1 + }, + "3edde845aed1": { + "error": "", + "items": [ + { + "key": "linear:linear-workspace:issue-2", + "provider": "linear", + "source": { + "description": "", + "id": "issue-2", + "identifier": "ENG-2", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A found issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + }, + "status": "Todo", + "subtitle": "ENG-2 · Engineering", + "title": "A found issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + } + ], + "loading": false, + "refreshing": false + }, + "5494ca4c103e": { + "name": "linear.searchIssues#1", + "args": [ + { + "name": "method", + "value": "linear.searchIssues" + }, + { + "name": "params", + "value": { + "limit": 50, + "query": "bug", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": [ + { + "description": "", + "id": "issue-2", + "identifier": "ENG-2", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A found issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + } + ] + } + } + }, + "5b8a2e3e390d": { + "name": "linear.listIssues#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"linear.listIssues\",\"params\":{\"filter\":\"all\",\"limit\":50,\"workspaceId\":\"linear-workspace\"}}" + }, + "6143a28f5226": { + "name": "loading", + "value": true, + "sent": 1 + }, + "6fafebd34f71": { + "name": "items", + "value": [ + { + "key": "linear:linear-workspace:issue-2", + "provider": "linear", + "source": { + "description": "", + "id": "issue-2", + "identifier": "ENG-2", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A found issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + }, + "status": "Todo", + "subtitle": "ENG-2 · Engineering", + "title": "A found issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + } + ], + "sent": 2 + }, + "840a8ad61602": { + "name": "loading", + "value": true, + "sent": 0 + }, + "86aeb72f48eb": { + "name": "linear.listIssues#1", + "args": [ + { + "name": "method", + "value": "linear.listIssues" + }, + { + "name": "params", + "value": { + "filter": "all", + "limit": 50, + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "items": [ + { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A Linear issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + } + ] + } + } + } + }, + "8780e3ee6661": { + "name": "linear.searchIssues#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.searchIssues\",\"params\":{\"query\":\"bug\",\"limit\":50,\"workspaceId\":\"linear-workspace\"}}" + }, + "92c28468d7be": { + "name": "refreshing", + "value": false, + "sent": 2 + }, + "94f44b229d7d": { + "error": "", + "items": [ + { + "key": "linear:linear-workspace:issue-1", + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A Linear issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + }, + "status": "Todo", + "subtitle": "ENG-1 · Engineering", + "title": "A Linear issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + } + ], + "loading": false, + "refreshing": false + }, + "9e263f5e91be": { + "name": "error", + "value": "", + "sent": 0 + }, + "c9db7514f5c5": { + "name": "loading", + "value": false, + "sent": 2 + }, + "d48d5c49486c": { + "name": "error", + "value": "", + "sent": 1 + }, + "e1bd9a521877": { + "name": "items", + "value": [ + { + "key": "linear:linear-workspace:issue-1", + "provider": "linear", + "source": { + "description": "", + "id": "issue-1", + "identifier": "ENG-1", + "labels": [], + "priority": 0, + "state": { + "color": "#000", + "name": "Todo", + "type": "unstarted" + }, + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "title": "A Linear issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "", + "workspaceId": "linear-workspace" + }, + "status": "Todo", + "subtitle": "ENG-1 · Engineering", + "title": "A Linear issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + } + ], + "sent": 1 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "tk-list-linear", + "checkpoints": [ + { + "id": "load-settled", + "observation": { + "sender": ["86aeb72f48eb"], + "payloads": ["5b8a2e3e390d"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a" + }, + "state": "94f44b229d7d", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e1bd9a521877", + "0d5d9243a0de", + "113ccfa73078" + ] + } + }, + { + "id": "set-query-done", + "observation": { + "sender": ["86aeb72f48eb"], + "payloads": ["5b8a2e3e390d"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a", + "set-query-1": "eb79a9b3682a" + }, + "state": "94f44b229d7d", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e1bd9a521877", + "0d5d9243a0de", + "113ccfa73078" + ] + } + }, + { + "id": "load-settled", + "observation": { + "sender": ["86aeb72f48eb", "5494ca4c103e"], + "payloads": ["5b8a2e3e390d", "8780e3ee6661"], + "settlements": { + "mount": "eb79a9b3682a", + "load-0": "eb79a9b3682a", + "set-query-1": "eb79a9b3682a", + "load-2": "eb79a9b3682a" + }, + "state": "3edde845aed1", + "effects": [ + "9e263f5e91be", + "840a8ad61602", + "e1bd9a521877", + "0d5d9243a0de", + "113ccfa73078", + "d48d5c49486c", + "6143a28f5226", + "6fafebd34f71", + "c9db7514f5c5", + "92c28468d7be" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/tk-project-board-load.json b/mobile/rpc-foundation/goldens/tk-project-board-load.json new file mode 100644 index 00000000000..93e71682a07 --- /dev/null +++ b/mobile/rpc-foundation/goldens/tk-project-board-load.json @@ -0,0 +1,649 @@ +{ + "operation": "tasks.project-board-load", + "family": "tasks.project-board-load", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "c4272385ed3b0de4feab38de9e4f6363ecd6317fdd4de47f76a98eb18abaf371", + "scenarioSha256": "7840e811e81d3645f1c874b871158202a53432989f3b5c849df12550b082813b", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "02a4a58d8dfb": { + "name": "github.project.listViews#2", + "args": [ + { + "name": "method", + "value": "github.project.listViews" + }, + { + "name": "params", + "value": { + "host": "github.com", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "ok": true, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + } + } + } + }, + "09d1a467c534": { + "name": "github.project.listViews#1", + "args": [ + { + "name": "method", + "value": "github.project.listViews" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "ok": true, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + } + } + } + }, + "0f1253424990": { + "name": "github.project.listViews#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listViews\",\"params\":{\"owner\":\"owner\",\"host\":\"github.enterprise.test\",\"ownerType\":\"organization\",\"projectNumber\":3}}" + }, + "156064e9724d": { + "name": "githubProjectPasteBusy", + "value": true, + "sent": 3 + }, + "16712ed539ad": { + "name": "githubProjectSearch", + "value": "", + "sent": 5 + }, + "1d3552e91192": { + "name": "github.project.listAccessible#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listAccessible\",\"params\":{\"host\":\"github.com\"}}" + }, + "25b0ac550549": { + "name": "githubProjectPartialFailures", + "value": [], + "sent": 1 + }, + "2ab1b35ff194": { + "error": "", + "loading": false, + "pasteError": "", + "projects": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ], + "table": { + "fields": [], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [], + "selectedView": { + "filter": "is:open", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + }, + "32b1426d14c0": { + "name": "githubProjectLoading", + "value": false, + "sent": 3 + }, + "376c9e8bd72a": { + "error": "", + "loading": false, + "pasteError": "", + "projects": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ], + "table": { + "$rpc": "null" + }, + "views": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + }, + "383da1c2fa1c": { + "name": "githubProjectLoading", + "value": true, + "sent": 4 + }, + "39bc2fd66e3d": { + "name": "github.project.viewTable#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.viewTable\",\"params\":{\"owner\":\"owner\",\"host\":\"github.enterprise.test\",\"ownerType\":\"organization\",\"projectNumber\":3,\"viewId\":\"view-1\"}}" + }, + "3e904e0d43b4": { + "name": "github.project.listViews#2", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listViews\",\"params\":{\"owner\":\"owner\",\"host\":\"github.com\",\"ownerType\":\"organization\",\"projectNumber\":3}}" + }, + "42d96f8f44ae": { + "name": "githubProjectError", + "value": "", + "sent": 3 + }, + "43d044e8caea": { + "name": "github.project.listAccessible#1", + "args": [ + { + "name": "method", + "value": "github.project.listAccessible" + }, + { + "name": "params", + "value": { + "host": "github.com" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true, + "partialFailures": [], + "projects": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ] + } + } + } + }, + "47ebe03e8b7f": { + "name": "githubProjectViews", + "value": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ], + "sent": 5 + }, + "4d6bf1149ea4": { + "name": "githubProjectError", + "value": "", + "sent": 4 + }, + "54b9c49c04a8": { + "name": "githubProjectError", + "value": "", + "sent": 0 + }, + "57acdd86193b": { + "name": "githubProjectSearch", + "value": "is:open", + "sent": 3 + }, + "5bd0110906b9": { + "name": "githubProjectPartialFailures", + "value": [], + "sent": 0 + }, + "6579ec5a7d8f": { + "name": "githubProjectLoading", + "value": false, + "sent": 5 + }, + "6820b76533c9": { + "name": "githubProjectLoading", + "value": true, + "sent": 2 + }, + "6e64e24c633d": { + "name": "appliedGithubProjectSearch", + "value": { + "$rpc": "undefined" + }, + "sent": 5 + }, + "6f73e51854d5": { + "name": "github.project.resolveRef#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.resolveRef\",\"params\":{\"input\":\"https://github.com/orgs/owner/projects/3\",\"host\":\"github.com\"}}" + }, + "80ceb7c32703": { + "name": "githubProjects", + "value": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ], + "sent": 1 + }, + "900becffe437": { + "name": "showGitHubProjectPicker", + "value": false, + "sent": 4 + }, + "b05e50b1dc22": { + "name": "githubProjectPasteBusy", + "value": false, + "sent": 5 + }, + "b2ddd7451862": { + "name": "githubProjectViews", + "value": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ], + "sent": 2 + }, + "b6255b367ac4": { + "name": "githubProjectViews", + "value": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ], + "sent": 3 + }, + "be0da5b53ffb": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": [ + { + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + ] + }, + "c1e5438f963e": { + "name": "github.project.resolveRef#1", + "args": [ + { + "name": "method", + "value": "github.project.resolveRef" + }, + { + "name": "params", + "value": { + "host": "github.com", + "input": "https://github.com/orgs/owner/projects/3" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "host": "github.com", + "number": 3, + "ok": true, + "owner": "owner", + "ownerType": "organization", + "title": "Board", + "viewNumber": 1 + } + } + } + }, + "ddc3cac1e389": { + "name": "githubProjectTable", + "value": { + "$rpc": "null" + }, + "sent": 5 + }, + "dec0f3dc00c9": { + "name": "github.project.viewTable#1", + "args": [ + { + "name": "method", + "value": "github.project.viewTable" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3, + "viewId": "view-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "data": { + "fields": [], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [], + "selectedView": { + "filter": "is:open", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "ok": true + } + } + } + }, + "e59d16f6cde5": { + "name": "githubProjectPasteError", + "value": "", + "sent": 3 + }, + "e8b0899e8eb2": { + "name": "githubProjectPasteInput", + "value": "", + "sent": 4 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ebf1d6b98d33": { + "name": "githubProjectTable", + "value": { + "fields": [], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [], + "selectedView": { + "filter": "is:open", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "sent": 3 + }, + "f3e4bb3c6cb0": { + "name": "githubProjectError", + "value": "", + "sent": 2 + }, + "ff43b5ec92a9": { + "error": "", + "loading": false, + "pasteError": "", + "projects": [ + { + "host": "github.com", + "number": 3, + "owner": "owner", + "ownerType": "organization", + "title": "Board" + } + ], + "table": { + "$rpc": "null" + }, + "views": [] + } + }, + "recording": { + "scenario": "tk-project-board-load", + "checkpoints": [ + { + "id": "projects-settled", + "observation": { + "sender": ["43d044e8caea"], + "payloads": ["1d3552e91192"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a" + }, + "state": "ff43b5ec92a9", + "effects": ["54b9c49c04a8", "5bd0110906b9", "80ceb7c32703", "25b0ac550549"] + } + }, + { + "id": "views-settled", + "observation": { + "sender": ["43d044e8caea", "09d1a467c534"], + "payloads": ["1d3552e91192", "0f1253424990"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb" + }, + "state": "376c9e8bd72a", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862" + ] + } + }, + { + "id": "table-settled", + "observation": { + "sender": ["43d044e8caea", "09d1a467c534", "dec0f3dc00c9"], + "payloads": ["1d3552e91192", "0f1253424990", "39bc2fd66e3d"], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a" + }, + "state": "2ab1b35ff194", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0" + ] + } + }, + { + "id": "paste-settled", + "observation": { + "sender": [ + "43d044e8caea", + "09d1a467c534", + "dec0f3dc00c9", + "c1e5438f963e", + "02a4a58d8dfb" + ], + "payloads": [ + "1d3552e91192", + "0f1253424990", + "39bc2fd66e3d", + "6f73e51854d5", + "3e904e0d43b4" + ], + "settlements": { + "mount": "eb79a9b3682a", + "projects-0": "eb79a9b3682a", + "views-1": "be0da5b53ffb", + "table-2": "eb79a9b3682a", + "paste-3": "eb79a9b3682a" + }, + "state": "376c9e8bd72a", + "effects": [ + "54b9c49c04a8", + "5bd0110906b9", + "80ceb7c32703", + "25b0ac550549", + "b2ddd7451862", + "6820b76533c9", + "f3e4bb3c6cb0", + "ebf1d6b98d33", + "57acdd86193b", + "b6255b367ac4", + "32b1426d14c0", + "156064e9724d", + "e59d16f6cde5", + "42d96f8f44ae", + "e8b0899e8eb2", + "900becffe437", + "383da1c2fa1c", + "4d6bf1149ea4", + "47ebe03e8b7f", + "6e64e24c633d", + "16712ed539ad", + "ddc3cac1e389", + "6579ec5a7d8f", + "b05e50b1dc22" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/tk-project-repo-slugs.json b/mobile/rpc-foundation/goldens/tk-project-repo-slugs.json new file mode 100644 index 00000000000..792b673f107 --- /dev/null +++ b/mobile/rpc-foundation/goldens/tk-project-repo-slugs.json @@ -0,0 +1,107 @@ +{ + "operation": "tasks.project-repo-slugs", + "family": "tasks.project-repo-slugs", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "c4272385ed3b0de4feab38de9e4f6363ecd6317fdd4de47f76a98eb18abaf371", + "scenarioSha256": "a83d5768892764af2dd6866f03d51c09aef63d1c5d3e0645bd5e1c16454b201f", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "5330ec46fa7e": { + "name": "github.repoSlug#1", + "args": [ + { + "name": "method", + "value": "github.repoSlug" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "host": "github.com", + "owner": "owner", + "repo": "repo" + } + } + } + }, + "6530ef4dbd15": { + "name": "github.repoSlug#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.repoSlug\",\"params\":{\"repo\":\"id:repo-1\"}}" + }, + "a357afc033aa": { + "name": "githubRepoSlugCache", + "value": { + "repo-1": { + "path": "/repo", + "repository": { + "host": "github.com", + "owner": "owner", + "repo": "repo" + } + } + }, + "sent": 1 + }, + "bdec8bbb3c04": { + "cache": { + "repo-1": { + "path": "/repo", + "repository": { + "host": "github.com", + "owner": "owner", + "repo": "repo" + } + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "tk-project-repo-slugs", + "checkpoints": [ + { + "id": "mounted", + "observation": { + "sender": ["5330ec46fa7e"], + "payloads": ["6530ef4dbd15"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "bdec8bbb3c04", + "effects": ["a357afc033aa"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/tk-project-row-comments-issue.json b/mobile/rpc-foundation/goldens/tk-project-row-comments-issue.json new file mode 100644 index 00000000000..5c3e3eb9854 --- /dev/null +++ b/mobile/rpc-foundation/goldens/tk-project-row-comments-issue.json @@ -0,0 +1,681 @@ +{ + "operation": "tasks.project-row-comments-issue", + "family": "tasks.project-row-comments-issue", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "55058202df36c8b951510215936e496ea88d3d71a6690090a13c52deb13e34e1", + "scenarioSha256": "6f1bfb05a9df6482200bbab4400fd07a09955d47fcc468e1d2feda1ca9875aa1", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "02839f22d2db": { + "name": "projectMutating", + "value": false, + "sent": 1 + }, + "0ce8caa0cc82": { + "name": "github.project.addIssueCommentBySlug#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.addIssueCommentBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\",\"number\":1,\"body\":\"a project comment\"}}" + }, + "0f3697bbd111": { + "name": "projectMutating", + "value": true, + "sent": 2 + }, + "16637fd57f65": { + "name": "github.project.updateIssueCommentBySlug#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.updateIssueCommentBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\",\"commentId\":501,\"body\":\"an edited comment\"}}" + }, + "4b9c688ebd34": { + "name": "projectEditingCommentDraft", + "value": "", + "sent": 3 + }, + "5198e17de9b3": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a project comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 906 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "title": "Renamed", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + } + }, + "527330ed2103": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "an edited comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a project comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 906 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "title": "Renamed", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + } + }, + "6f4f9198e5ff": { + "name": "projectMutating", + "value": false, + "sent": 2 + }, + "73c3051352c2": { + "name": "projectMutating", + "value": false, + "sent": 3 + }, + "7b2465eedefe": { + "name": "projectMutating", + "value": true, + "sent": 0 + }, + "8a1d11133692": { + "name": "projectRowDetailError", + "value": "", + "sent": 2 + }, + "8f5c8979ff80": { + "name": "github.project.updateIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "body": "an edited comment", + "commentId": 501, + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "909e5a140366": { + "name": "github.project.addIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.addIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "body": "a project comment", + "host": "github.enterprise.test", + "number": 1, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "comment": { + "author": "You", + "body": "a project comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 906 + }, + "ok": true + } + } + } + }, + "9188c83ef653": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "title": "Renamed", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + } + }, + "9340829c00ac": { + "name": "github.project.updateIssueBySlug#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.updateIssueBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\",\"number\":1,\"updates\":{\"title\":\"Renamed\"}}}" + }, + "9698ad92ebc9": { + "name": "projectCommentDraft", + "value": "", + "sent": 2 + }, + "a26efea23f6c": { + "name": "projectEditingCommentId", + "value": { + "$rpc": "null" + }, + "sent": 3 + }, + "a3c003fbf907": { + "name": "github.project.updateIssueBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "number": 1, + "owner": "owner", + "repo": "repo", + "updates": { + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "b1384e55e8cf": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a project comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 906 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 2 + }, + "d1bb762720d5": { + "name": "projectMutating", + "value": true, + "sent": 1 + }, + "e3226dc257b6": { + "name": "githubProjectTable", + "value": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "name": "Status", + "options": [] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "title": "Renamed", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "sent": 1 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ee587f93f5f1": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "an edited comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a project comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 906 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 3 + }, + "f5260513deed": { + "name": "projectRowItem", + "value": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "title": "Renamed", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + "sent": 1 + } + }, + "recording": { + "scenario": "tk-project-row-comments-issue", + "checkpoints": [ + { + "id": "update-item-settled", + "observation": { + "sender": ["a3c003fbf907"], + "payloads": ["9340829c00ac"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a" + }, + "state": "9188c83ef653", + "effects": ["7b2465eedefe", "f5260513deed", "e3226dc257b6", "02839f22d2db"] + } + }, + { + "id": "add-comment-settled", + "observation": { + "sender": ["a3c003fbf907", "909e5a140366"], + "payloads": ["9340829c00ac", "0ce8caa0cc82"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a" + }, + "state": "5198e17de9b3", + "effects": [ + "7b2465eedefe", + "f5260513deed", + "e3226dc257b6", + "02839f22d2db", + "d1bb762720d5", + "9698ad92ebc9", + "b1384e55e8cf", + "6f4f9198e5ff" + ] + } + }, + { + "id": "update-comment-settled", + "observation": { + "sender": ["a3c003fbf907", "909e5a140366", "8f5c8979ff80"], + "payloads": ["9340829c00ac", "0ce8caa0cc82", "16637fd57f65"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a", + "add-comment-1": "eb79a9b3682a", + "update-comment-2": "eb79a9b3682a" + }, + "state": "527330ed2103", + "effects": [ + "7b2465eedefe", + "f5260513deed", + "e3226dc257b6", + "02839f22d2db", + "d1bb762720d5", + "9698ad92ebc9", + "b1384e55e8cf", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "ee587f93f5f1", + "a26efea23f6c", + "4b9c688ebd34", + "73c3051352c2" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/tk-project-row-comments-pr.json b/mobile/rpc-foundation/goldens/tk-project-row-comments-pr.json new file mode 100644 index 00000000000..3861fd1faec --- /dev/null +++ b/mobile/rpc-foundation/goldens/tk-project-row-comments-pr.json @@ -0,0 +1,244 @@ +{ + "operation": "tasks.project-row-comments-pr", + "family": "tasks.project-row-comments-pr", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "55058202df36c8b951510215936e496ea88d3d71a6690090a13c52deb13e34e1", + "scenarioSha256": "e5ff558593fd32d66e6ba1722ebf54d50992c9c2b6db41ef2435b47972fbd0fd", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "02839f22d2db": { + "name": "projectMutating", + "value": false, + "sent": 1 + }, + "0fa9db1cc7c0": { + "name": "github.project.updatePullRequestBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updatePullRequestBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "number": 2, + "owner": "owner", + "repo": "repo", + "updates": { + "title": "Renamed" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "2d1e8ede1fcf": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "title": "Renamed", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "7b2465eedefe": { + "name": "projectMutating", + "value": true, + "sent": 0 + }, + "80e87e83df29": { + "name": "github.project.updatePullRequestBySlug#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.updatePullRequestBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\",\"number\":2,\"updates\":{\"title\":\"Renamed\"}}}" + }, + "c8e3f060e5f1": { + "name": "projectRowItem", + "value": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "title": "Renamed", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + }, + "sent": 1 + }, + "c9abda0c6d89": { + "name": "githubProjectTable", + "value": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "name": "Status", + "options": [] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "title": "Renamed", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "sent": 1 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "tk-project-row-comments-pr", + "checkpoints": [ + { + "id": "update-item-settled", + "observation": { + "sender": ["0fa9db1cc7c0"], + "payloads": ["80e87e83df29"], + "settlements": { + "mount": "eb79a9b3682a", + "update-item-0": "eb79a9b3682a" + }, + "state": "2d1e8ede1fcf", + "effects": ["7b2465eedefe", "c8e3f060e5f1", "c9abda0c6d89", "02839f22d2db"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/tk-project-row-detail.json b/mobile/rpc-foundation/goldens/tk-project-row-detail.json new file mode 100644 index 00000000000..e51213b70b6 --- /dev/null +++ b/mobile/rpc-foundation/goldens/tk-project-row-detail.json @@ -0,0 +1,240 @@ +{ + "operation": "tasks.project-row-detail", + "family": "tasks.project-row-detail", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "f8f6e5d500f959b9b15c5498885a05422747880b6aef4ad795bc3064ebbacea6", + "scenarioSha256": "f572b37cfd15f41f283e5f96b772a1055670f80e68064ac81477d9b768fc971a", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "049372f27933": { + "name": "prFileContents", + "value": {}, + "sent": 0 + }, + "0e6d17a72b48": { + "name": "projectEditingCommentDraft", + "value": "", + "sent": 0 + }, + "1948869d1aab": { + "name": "projectTitleDraft", + "value": { + "$rpc": "undefined" + }, + "sent": 0 + }, + "1ab0db6f980d": { + "name": "projectCommentDraft", + "value": "", + "sent": 0 + }, + "1e04ae13b692": { + "name": "expandedPrFilePath", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "228957b08ee5": { + "name": "projectReviewersDraft", + "value": "", + "sent": 0 + }, + "3690e3603bc7": { + "name": "projectEditingCommentId", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "3a8d8b837c22": { + "name": "projectRowDetailLoading", + "value": false, + "sent": 1 + }, + "4331036690d4": { + "name": "prFileLoadingPath", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "62fee54ba0b2": { + "name": "projectBodyDraft", + "value": "", + "sent": 0 + }, + "73fd5eb0550e": { + "name": "projectRowDetailLoading", + "value": true, + "sent": 0 + }, + "80d38ca65a5d": { + "name": "projectRowDetailError", + "value": "", + "sent": 0 + }, + "8e5298b22c5f": { + "name": "projectRowDetail", + "value": { + "$rpc": "null" + }, + "sent": 0 + }, + "9b91f921fbb2": { + "name": "projectFieldDrafts", + "value": {}, + "sent": 0 + }, + "b2a01ad6d4fe": { + "detail": { + "assignees": [], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [], + "files": [], + "headSha": "head-sha", + "labels": [], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [] + }, + "error": "", + "loading": false + }, + "c3e75b813157": { + "name": "projectRowDetail", + "value": { + "assignees": [], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [], + "files": [], + "headSha": "head-sha", + "labels": [], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "undefined" + }, + "reviewRequests": [] + }, + "sent": 1 + }, + "ce991ff5560d": { + "name": "prFileCommentDrafts", + "value": {}, + "sent": 0 + }, + "d1f95449bb04": { + "name": "github.project.workItemDetailsBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.workItemDetailsBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "number": 1, + "owner": "owner", + "repo": "repo", + "type": "issue" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "details": { + "assignees": [], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [], + "files": [], + "headSha": "head-sha", + "item": { + "labels": [] + }, + "pullRequestId": "PR_kwDO" + }, + "ok": true + } + } + } + }, + "e27d1a246a98": { + "name": "github.project.workItemDetailsBySlug#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.workItemDetailsBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\",\"number\":1,\"type\":\"issue\"}}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "tk-project-row-detail", + "checkpoints": [ + { + "id": "mounted", + "observation": { + "sender": ["d1f95449bb04"], + "payloads": ["e27d1a246a98"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "b2a01ad6d4fe", + "effects": [ + "1948869d1aab", + "62fee54ba0b2", + "1ab0db6f980d", + "3690e3603bc7", + "0e6d17a72b48", + "228957b08ee5", + "1e04ae13b692", + "049372f27933", + "4331036690d4", + "ce991ff5560d", + "9b91f921fbb2", + "8e5298b22c5f", + "80d38ca65a5d", + "73fd5eb0550e", + "c3e75b813157", + "3a8d8b837c22" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/tk-project-row-fields.json b/mobile/rpc-foundation/goldens/tk-project-row-fields.json new file mode 100644 index 00000000000..4c3b6ce9c14 --- /dev/null +++ b/mobile/rpc-foundation/goldens/tk-project-row-fields.json @@ -0,0 +1,820 @@ +{ + "operation": "tasks.project-row-fields", + "family": "tasks.project-row-fields", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "370aeaee59978071ccb821da13c9e6114936c168947b608539cdb80d40cc9889", + "scenarioSha256": "af54a351f4b79fff4a11948fc47a9f5194733065682ff96d6b46b9ae292e327e", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "02839f22d2db": { + "name": "projectMutating", + "value": false, + "sent": 1 + }, + "0f3697bbd111": { + "name": "projectMutating", + "value": true, + "sent": 2 + }, + "208468d41a71": { + "name": "githubProjectTable", + "value": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "sent": 1 + }, + "34daaf185d9e": { + "name": "projectRowItem", + "value": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + "sent": 1 + }, + "424e9a1ae7ed": { + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": { + "field-1": { + "color": "YELLOW", + "fieldId": "field-1", + "kind": "single-select", + "name": "In progress", + "optionId": "option-1" + } + }, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "46c028c0d924": { + "name": "github.project.clearItemField#1", + "args": [ + { + "name": "method", + "value": "github.project.clearItemField" + }, + { + "name": "params", + "value": { + "fieldId": "field-1", + "host": "github.enterprise.test", + "itemId": "item-1", + "projectId": "project-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "4bb4179487e7": { + "name": "github.project.updateIssueTypeBySlug#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.updateIssueTypeBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\",\"number\":1,\"issueTypeId\":\"type-1\"}}" + }, + "55107e6e9979": { + "name": "githubProjectTable", + "value": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "sent": 2 + }, + "574da420bac4": { + "name": "projectRowItem", + "value": { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + "sent": 3 + }, + "68296a29ee63": { + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "6f4f9198e5ff": { + "name": "projectMutating", + "value": false, + "sent": 2 + }, + "73c3051352c2": { + "name": "projectMutating", + "value": false, + "sent": 3 + }, + "7b2465eedefe": { + "name": "projectMutating", + "value": true, + "sent": 0 + }, + "824d5b4543f1": { + "name": "githubProjectTable", + "value": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "sent": 3 + }, + "895e7a6b9398": { + "name": "github.project.updateItemField#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.updateItemField\",\"params\":{\"projectId\":\"project-1\",\"host\":\"github.enterprise.test\",\"itemId\":\"item-1\",\"fieldId\":\"field-1\",\"value\":{\"kind\":\"single-select\",\"optionId\":\"option-1\"}}}" + }, + "b2345144ca7e": { + "name": "projectFieldDrafts", + "value": { + "field-1": "" + }, + "sent": 2 + }, + "d19660e0ba85": { + "name": "github.project.updateItemField#1", + "args": [ + { + "name": "method", + "value": "github.project.updateItemField" + }, + { + "name": "params", + "value": { + "fieldId": "field-1", + "host": "github.enterprise.test", + "itemId": "item-1", + "projectId": "project-1", + "value": { + "kind": "single-select", + "optionId": "option-1" + } + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "d1bb762720d5": { + "name": "projectMutating", + "value": true, + "sent": 1 + }, + "d74cf538de66": { + "name": "projectRowItem", + "value": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + "sent": 2 + }, + "d8504a4a27ff": { + "name": "github.project.updateIssueTypeBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.updateIssueTypeBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "issueTypeId": "type-1", + "number": 1, + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "dca464e5bca3": { + "name": "github.project.clearItemField#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.clearItemField\",\"params\":{\"projectId\":\"project-1\",\"host\":\"github.enterprise.test\",\"itemId\":\"item-1\",\"fieldId\":\"field-1\"}}" + }, + "de29905548eb": { + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + "table": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "kind": "single-select", + "name": "Status", + "options": [ + { + "color": "YELLOW", + "id": "option-1", + "name": "In progress" + } + ] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "color": "RED", + "description": { + "$rpc": "null" + }, + "id": "type-1", + "name": "Bug" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "tk-project-row-fields", + "checkpoints": [ + { + "id": "set-field-settled", + "observation": { + "sender": ["d19660e0ba85"], + "payloads": ["895e7a6b9398"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a" + }, + "state": "424e9a1ae7ed", + "effects": ["7b2465eedefe", "34daaf185d9e", "208468d41a71", "02839f22d2db"] + } + }, + { + "id": "clear-field-settled", + "observation": { + "sender": ["d19660e0ba85", "46c028c0d924"], + "payloads": ["895e7a6b9398", "dca464e5bca3"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a" + }, + "state": "68296a29ee63", + "effects": [ + "7b2465eedefe", + "34daaf185d9e", + "208468d41a71", + "02839f22d2db", + "d1bb762720d5", + "d74cf538de66", + "55107e6e9979", + "b2345144ca7e", + "6f4f9198e5ff" + ] + } + }, + { + "id": "issue-type-settled", + "observation": { + "sender": ["d19660e0ba85", "46c028c0d924", "d8504a4a27ff"], + "payloads": ["895e7a6b9398", "dca464e5bca3", "4bb4179487e7"], + "settlements": { + "mount": "eb79a9b3682a", + "set-field-0": "eb79a9b3682a", + "clear-field-1": "eb79a9b3682a", + "issue-type-2": "eb79a9b3682a" + }, + "state": "de29905548eb", + "effects": [ + "7b2465eedefe", + "34daaf185d9e", + "208468d41a71", + "02839f22d2db", + "d1bb762720d5", + "d74cf538de66", + "55107e6e9979", + "b2345144ca7e", + "6f4f9198e5ff", + "0f3697bbd111", + "574da420bac4", + "824d5b4543f1", + "73c3051352c2" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/tk-project-row-files-merge.json b/mobile/rpc-foundation/goldens/tk-project-row-files-merge.json new file mode 100644 index 00000000000..70396c66df0 --- /dev/null +++ b/mobile/rpc-foundation/goldens/tk-project-row-files-merge.json @@ -0,0 +1,730 @@ +{ + "operation": "tasks.project-row-files-merge", + "family": "tasks.project-row-files-merge", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "b228732762828412ad3d9eec3ece00a897d866046e37044322c3911758d6e0a9", + "scenarioSha256": "629d05d7fbd4a332a65f7191b2084a0e74b84920c1954fa351f264892b2776e9", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "02509b3a87d5": { + "name": "github.updateIssue#1", + "args": [ + { + "name": "method", + "value": "github.updateIssue" + }, + { + "name": "params", + "value": { + "number": 9, + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "02b52513bb0d": { + "name": "mutatingStatus", + "value": true, + "sent": 4 + }, + "065a8cd07789": { + "name": "prFileContents", + "value": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "sent": 1 + }, + "06d558d172f7": { + "name": "github.updatePRState#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.updatePRState\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"updates\":{\"state\":\"closed\"}}}" + }, + "0be9101a1dfc": { + "name": "mutatingStatus", + "value": true, + "sent": 3 + }, + "0f3697bbd111": { + "name": "projectMutating", + "value": true, + "sent": 2 + }, + "13ab8771d5c0": { + "name": "github.updatePRState#1", + "args": [ + { + "name": "method", + "value": "github.updatePRState" + }, + { + "name": "params", + "value": { + "prNumber": 12, + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "18ffd2f97a51": { + "name": "prFileCommentDrafts", + "value": {}, + "sent": 2 + }, + "1e34370849ff": { + "name": "error", + "value": "", + "sent": 4 + }, + "251de2865843": { + "name": "github.mergePR#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.mergePR\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":2,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"method\":\"squash\"}}" + }, + "252f3a25533f": { + "name": "actionItem", + "value": { + "$rpc": "null" + }, + "sent": 5 + }, + "287030eca79a": { + "name": "prFileLoadingPath", + "value": "src/index.ts", + "sent": 0 + }, + "29ab02f35956": { + "name": "github.prFileContents#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.prFileContents\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":2,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"path\":\"src/index.ts\",\"status\":\"modified\",\"headSha\":\"head-sha\",\"baseSha\":\"base-sha\"}}" + }, + "359e5860abb8": { + "name": "github.mergePR#1", + "args": [ + { + "name": "method", + "value": "github.mergePR" + }, + { + "name": "params", + "value": { + "method": "squash", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "396f274f2717": { + "name": "githubProjectTable", + "value": { + "fields": [ + { + "dataType": "SINGLE_SELECT", + "id": "field-1", + "name": "Status", + "options": [] + } + ], + "project": { + "id": "project-1", + "number": 3, + "title": "Board" + }, + "rows": [ + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 1, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/issues/1" + }, + "fieldValuesByFieldId": {}, + "id": "item-1", + "itemType": "ISSUE" + }, + { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "MERGED", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + ], + "selectedView": { + "filter": "", + "id": "view-1", + "layout": "TABLE_LAYOUT", + "name": "Table", + "number": 1 + } + }, + "sent": 3 + }, + "421abd55bc0e": { + "name": "projectRowItem", + "value": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "MERGED", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + }, + "sent": 3 + }, + "4737ca53031e": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "MERGED", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + }, + "4d1d017cea91": { + "name": "github.addPRReviewComment#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.addPRReviewComment\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":2,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"commitId\":\"head-sha\",\"path\":\"src/index.ts\",\"line\":12,\"body\":\"a review comment\"}}" + }, + "5467502970f1": { + "name": "mutatingStatus", + "value": false, + "sent": 5 + }, + "6f4f9198e5ff": { + "name": "projectMutating", + "value": false, + "sent": 2 + }, + "70678ab6df9a": { + "name": "mutatingStatus", + "value": false, + "sent": 4 + }, + "73c3051352c2": { + "name": "projectMutating", + "value": false, + "sent": 3 + }, + "80d38ca65a5d": { + "name": "projectRowDetailError", + "value": "", + "sent": 0 + }, + "85f150b2df81": { + "name": "projectRowDetailError", + "value": "", + "sent": 1 + }, + "8a1d11133692": { + "name": "projectRowDetailError", + "value": "", + "sent": 2 + }, + "c02d6dba8a29": { + "name": "github.updateIssue#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.updateIssue\",\"params\":{\"repo\":\"id:repo-1\",\"number\":9,\"updates\":{\"state\":\"closed\"}}}" + }, + "c22bc4151f3c": { + "name": "actionItem", + "value": { + "$rpc": "null" + }, + "sent": 4 + }, + "c274925d7845": { + "name": "github.addPRReviewComment#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewComment" + }, + { + "name": "params", + "value": { + "body": "a review comment", + "commitId": "head-sha", + "line": 12, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "comment": { + "author": "You", + "body": "a review comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 901, + "line": 12, + "path": "src/index.ts" + }, + "ok": true + } + } + } + }, + "cb3d443fc9be": { + "name": "github.prFileContents#1", + "args": [ + { + "name": "method", + "value": "github.prFileContents" + }, + { + "name": "params", + "value": { + "baseSha": "base-sha", + "headSha": "head-sha", + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "status": "modified" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + } + } + }, + "d1bb762720d5": { + "name": "projectMutating", + "value": true, + "sent": 1 + }, + "d632883158cc": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a review comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 901, + "line": 12, + "path": "src/index.ts" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 2 + }, + "dbbebbd74a18": { + "name": "error", + "value": "", + "sent": 3 + }, + "e02a62a4ddf5": { + "name": "expandedPrFilePath", + "value": "src/index.ts", + "sent": 0 + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f070b17abcde": { + "name": "prFileLoadingPath", + "value": { + "$rpc": "null" + }, + "sent": 1 + }, + "fdf15056fb68": { + "contents": { + "src/index.ts": { + "newContent": "b", + "oldContent": "a", + "truncated": false + } + }, + "error": "", + "mutating": false, + "row": { + "content": { + "assignees": [], + "issueType": { + "$rpc": "null" + }, + "labels": [], + "number": 2, + "repository": "owner/repo", + "state": "OPEN", + "url": "https://github.com/owner/repo/pull/2" + }, + "fieldValuesByFieldId": {}, + "id": "item-2", + "itemType": "PULL_REQUEST" + } + } + }, + "recording": { + "scenario": "tk-project-row-files-merge", + "checkpoints": [ + { + "id": "expand-settled", + "observation": { + "sender": ["cb3d443fc9be"], + "payloads": ["29ab02f35956"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a" + }, + "state": "fdf15056fb68", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde" + ] + } + }, + { + "id": "file-comment-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845"], + "payloads": ["29ab02f35956", "4d1d017cea91"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a" + }, + "state": "fdf15056fb68", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff" + ] + } + }, + { + "id": "merge-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845", "359e5860abb8"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2" + ] + } + }, + { + "id": "issue-state-settled", + "observation": { + "sender": ["cb3d443fc9be", "c274925d7845", "359e5860abb8", "02509b3a87d5"], + "payloads": ["29ab02f35956", "4d1d017cea91", "251de2865843", "c02d6dba8a29"], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a" + ] + } + }, + { + "id": "pr-state-settled", + "observation": { + "sender": [ + "cb3d443fc9be", + "c274925d7845", + "359e5860abb8", + "02509b3a87d5", + "13ab8771d5c0" + ], + "payloads": [ + "29ab02f35956", + "4d1d017cea91", + "251de2865843", + "c02d6dba8a29", + "06d558d172f7" + ], + "settlements": { + "mount": "eb79a9b3682a", + "expand-0": "eb79a9b3682a", + "file-comment-1": "eb79a9b3682a", + "merge-2": "eb79a9b3682a", + "issue-state-3": "eb79a9b3682a", + "pr-state-4": "eb79a9b3682a" + }, + "state": "4737ca53031e", + "effects": [ + "e02a62a4ddf5", + "287030eca79a", + "80d38ca65a5d", + "065a8cd07789", + "f070b17abcde", + "d1bb762720d5", + "85f150b2df81", + "18ffd2f97a51", + "d632883158cc", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "421abd55bc0e", + "396f274f2717", + "73c3051352c2", + "0be9101a1dfc", + "dbbebbd74a18", + "c22bc4151f3c", + "70678ab6df9a", + "02b52513bb0d", + "1e34370849ff", + "252f3a25533f", + "5467502970f1" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/tk-project-row-metadata-load.json b/mobile/rpc-foundation/goldens/tk-project-row-metadata-load.json new file mode 100644 index 00000000000..31419e92b52 --- /dev/null +++ b/mobile/rpc-foundation/goldens/tk-project-row-metadata-load.json @@ -0,0 +1,292 @@ +{ + "operation": "tasks.project-row-metadata-load", + "family": "tasks.project-row-metadata-load", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "f8f6e5d500f959b9b15c5498885a05422747880b6aef4ad795bc3064ebbacea6", + "scenarioSha256": "60ea389fe16734fb53db01101f1feb4496653a99faa09e4309b3790a50d558d7", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "09f12e10766e": { + "name": "projectIssueTypesLoading", + "value": false, + "sent": 3 + }, + "2ef615f214b1": { + "name": "projectAssignableUsers", + "value": [ + { + "login": "octocat", + "name": "Octo" + } + ], + "sent": 3 + }, + "32b4277def9a": { + "name": "projectAvailableLabels", + "value": ["bug"], + "sent": 3 + }, + "3f5d8df504de": { + "name": "github.project.listLabelsBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.listLabelsBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "labels": ["bug"], + "ok": true + } + } + } + }, + "57d4746ddb82": { + "name": "projectAssignableUsersLoading", + "value": true, + "sent": 1 + }, + "5fd1b0e4ca3a": { + "name": "projectAssignableUsersLoading", + "value": false, + "sent": 3 + }, + "6c910b6dc2fa": { + "name": "projectIssueTypesError", + "value": "", + "sent": 2 + }, + "7122de433e6a": { + "name": "projectIssueTypes", + "value": [ + { + "id": "type-1", + "name": "Bug" + } + ], + "sent": 3 + }, + "84c3fb2868bd": { + "name": "github.project.listIssueTypesBySlug#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listIssueTypesBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"}}" + }, + "8f395e09a24b": { + "name": "projectAvailableLabels", + "value": [], + "sent": 0 + }, + "8fbb806f8730": { + "name": "github.project.listIssueTypesBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.listIssueTypesBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "ok": true, + "types": [ + { + "id": "type-1", + "name": "Bug" + } + ] + } + } + } + }, + "9a8068985c26": { + "name": "github.project.listAssignableUsersBySlug#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listAssignableUsersBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\",\"seedLogins\":[\"octocat\"]}}" + }, + "a9da2a563a6c": { + "name": "projectLabelsLoading", + "value": false, + "sent": 3 + }, + "bf0887cbf7f3": { + "name": "projectAssignableUsersError", + "value": "", + "sent": 1 + }, + "bfd812ba86c3": { + "name": "projectIssueTypesLoading", + "value": true, + "sent": 2 + }, + "bfdd7df58f9b": { + "name": "projectLabelsError", + "value": "", + "sent": 0 + }, + "d14a772531e0": { + "name": "projectLabelsLoading", + "value": true, + "sent": 0 + }, + "d17d55e4fee3": { + "name": "projectAssignableUsers", + "value": [], + "sent": 1 + }, + "d5d91d8a5bac": { + "labels": ["bug"], + "labelsError": "", + "types": [ + { + "id": "type-1", + "name": "Bug" + } + ], + "typesError": "", + "users": [ + { + "login": "octocat", + "name": "Octo" + } + ], + "usersError": "" + }, + "da36de1a5410": { + "name": "github.project.listLabelsBySlug#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listLabelsBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"}}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ee43aa13c95f": { + "name": "projectIssueTypes", + "value": [], + "sent": 2 + }, + "ef507c348d21": { + "name": "github.project.listAssignableUsersBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.listAssignableUsersBySlug" + }, + { + "name": "params", + "value": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo", + "seedLogins": ["octocat"] + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "ok": true, + "users": [ + { + "login": "octocat", + "name": "Octo" + } + ] + } + } + } + } + }, + "recording": { + "scenario": "tk-project-row-metadata-load", + "checkpoints": [ + { + "id": "mounted", + "observation": { + "sender": ["3f5d8df504de", "ef507c348d21", "8fbb806f8730"], + "payloads": ["da36de1a5410", "9a8068985c26", "84c3fb2868bd"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "d5d91d8a5bac", + "effects": [ + "8f395e09a24b", + "bfdd7df58f9b", + "d14a772531e0", + "d17d55e4fee3", + "bf0887cbf7f3", + "57d4746ddb82", + "ee43aa13c95f", + "6c910b6dc2fa", + "bfd812ba86c3", + "32b4277def9a", + "a9da2a563a6c", + "2ef615f214b1", + "5fd1b0e4ca3a", + "7122de433e6a", + "09f12e10766e" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/tk-project-row-review-checks.json b/mobile/rpc-foundation/goldens/tk-project-row-review-checks.json new file mode 100644 index 00000000000..2a3283064ab --- /dev/null +++ b/mobile/rpc-foundation/goldens/tk-project-row-review-checks.json @@ -0,0 +1,844 @@ +{ + "operation": "tasks.project-row-review-checks", + "family": "tasks.project-row-review-checks", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "370aeaee59978071ccb821da13c9e6114936c168947b608539cdb80d40cc9889", + "scenarioSha256": "08caec8e0ab5e674aabbf034ca88fc4a000c4b645ad6397afe6dc18db1f7c098", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "02839f22d2db": { + "name": "projectMutating", + "value": false, + "sent": 1 + }, + "0f3697bbd111": { + "name": "projectMutating", + "value": true, + "sent": 2 + }, + "22ffca652b36": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "draft": "", + "error": "", + "mutating": false, + "refreshSeq": 0 + }, + "2cd85ef93c74": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "draft": "", + "error": "", + "mutating": false, + "refreshSeq": 0 + }, + "2eee910f375e": { + "name": "github.requestPRReviewers#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.requestPRReviewers\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":2,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"reviewers\":[\"octocat\"]}}" + }, + "347fa6adc9f3": { + "name": "projectRowDetailError", + "value": "", + "sent": 3 + }, + "4b9b887ee27f": { + "name": "github.setPRFileViewed#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.setPRFileViewed\",\"params\":{\"repo\":\"id:repo-1\",\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"pullRequestId\":\"PR_kwDO\",\"path\":\"src/index.ts\",\"viewed\":true}}" + }, + "5cdba004ba6c": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "draft": "", + "error": "", + "mutating": false, + "refreshSeq": 1 + }, + "62edc52051d6": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "draft": "", + "error": "", + "mutating": false, + "refreshSeq": 1 + }, + "694581af73a0": { + "name": "github.setPRFileViewed#1", + "args": [ + { + "name": "method", + "value": "github.setPRFileViewed" + }, + { + "name": "params", + "value": { + "path": "src/index.ts", + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "pullRequestId": "PR_kwDO", + "repo": "id:repo-1", + "viewed": true + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": true + } + } + }, + "6f4f9198e5ff": { + "name": "projectMutating", + "value": false, + "sent": 2 + }, + "73c3051352c2": { + "name": "projectMutating", + "value": false, + "sent": 3 + }, + "761c230291b6": { + "name": "projectMutating", + "value": true, + "sent": 3 + }, + "7941a2b950be": { + "name": "github.prChecks#1", + "args": [ + { + "name": "method", + "value": "github.prChecks" + }, + { + "name": "params", + "value": { + "headSha": "head-sha", + "noCache": true, + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ] + } + } + }, + "7b2465eedefe": { + "name": "projectMutating", + "value": true, + "sent": 0 + }, + "7fde07c7539a": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "sent": 2 + }, + "80d38ca65a5d": { + "name": "projectRowDetailError", + "value": "", + "sent": 0 + }, + "85f150b2df81": { + "name": "projectRowDetailError", + "value": "", + "sent": 1 + }, + "8a1d11133692": { + "name": "projectRowDetailError", + "value": "", + "sent": 2 + }, + "8bb4bae45cc1": { + "name": "github.requestPRReviewers#1", + "args": [ + { + "name": "method", + "value": "github.requestPRReviewers" + }, + { + "name": "params", + "value": { + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "reviewers": ["octocat"] + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "914b1bd28569": { + "name": "projectReviewersDraft", + "value": "", + "sent": 1 + }, + "93b879a81965": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "sent": 1 + }, + "97fbbfe4cfb6": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [ + { + "conclusion": "SUCCESS", + "name": "build", + "status": "COMPLETED", + "url": "" + } + ], + "comments": [ + { + "author": "octocat", + "body": "please fix", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 501, + "isResolved": false, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "VIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [ + { + "avatarUrl": { + "$rpc": "null" + }, + "login": "octocat", + "name": { + "$rpc": "null" + } + } + ] + }, + "sent": 4 + }, + "98fec6b761cc": { + "name": "github.prChecks#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.prChecks\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":2,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"headSha\":\"head-sha\",\"noCache\":true}}" + }, + "d10f79760196": { + "name": "github.rerunPRChecks#1", + "args": [ + { + "name": "method", + "value": "github.rerunPRChecks" + }, + { + "name": "params", + "value": { + "failedOnly": true, + "headSha": "head-sha", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 60000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "d1bb762720d5": { + "name": "projectMutating", + "value": true, + "sent": 1 + }, + "dc5439b12876": { + "name": "github.rerunPRChecks#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.rerunPRChecks\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":2,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"headSha\":\"head-sha\",\"failedOnly\":true}}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f14882f2981f": { + "name": "projectRowDetailRefreshSeq", + "value": 1, + "sent": 3 + }, + "fa2e7b92e1d5": { + "name": "projectMutating", + "value": false, + "sent": 4 + } + }, + "recording": { + "scenario": "tk-project-row-review-checks", + "checkpoints": [ + { + "id": "reviewers-settled", + "observation": { + "sender": ["8bb4bae45cc1"], + "payloads": ["2eee910f375e"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a" + }, + "state": "2cd85ef93c74", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db" + ] + } + }, + { + "id": "checks-settled", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be"], + "payloads": ["2eee910f375e", "98fec6b761cc"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a" + }, + "state": "22ffca652b36", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff" + ] + } + }, + { + "id": "rerun-settled", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be", "d10f79760196"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a" + }, + "state": "62edc52051d6", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2" + ] + } + }, + { + "id": "viewed-settled", + "observation": { + "sender": ["8bb4bae45cc1", "7941a2b950be", "d10f79760196", "694581af73a0"], + "payloads": ["2eee910f375e", "98fec6b761cc", "dc5439b12876", "4b9b887ee27f"], + "settlements": { + "mount": "eb79a9b3682a", + "reviewers-0": "eb79a9b3682a", + "checks-1": "eb79a9b3682a", + "rerun-2": "eb79a9b3682a", + "viewed-3": "eb79a9b3682a" + }, + "state": "5cdba004ba6c", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "93b879a81965", + "914b1bd28569", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "7fde07c7539a", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "f14882f2981f", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "97fbbfe4cfb6", + "fa2e7b92e1d5" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/tk-project-row-threads.json b/mobile/rpc-foundation/goldens/tk-project-row-threads.json new file mode 100644 index 00000000000..f4eef72d5bc --- /dev/null +++ b/mobile/rpc-foundation/goldens/tk-project-row-threads.json @@ -0,0 +1,713 @@ +{ + "operation": "tasks.project-row-threads", + "family": "tasks.project-row-threads", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "55058202df36c8b951510215936e496ea88d3d71a6690090a13c52deb13e34e1", + "scenarioSha256": "815f55c0fb848fc9345a66bb7b71b1351f17e56129e005eb1776d6b47c831647", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "02839f22d2db": { + "name": "projectMutating", + "value": false, + "sent": 1 + }, + "02df4d991595": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 1 + }, + "095ff0ea9c3e": { + "name": "github.addPRReviewCommentReply#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.addPRReviewCommentReply\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":2,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"commentId\":501,\"body\":\"a reply\",\"threadId\":\"thread-1\",\"path\":\"src/index.ts\",\"line\":12}}" + }, + "0f3697bbd111": { + "name": "projectMutating", + "value": true, + "sent": 2 + }, + "1689d9f91f40": { + "name": "github.resolveReviewThread#1", + "args": [ + { + "name": "method", + "value": "github.resolveReviewThread" + }, + { + "name": "params", + "value": { + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "resolve": true, + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": true + } + } + }, + "347fa6adc9f3": { + "name": "projectRowDetailError", + "value": "", + "sent": 3 + }, + "4c677c52a54e": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 2 + }, + "6f4f9198e5ff": { + "name": "projectMutating", + "value": false, + "sent": 2 + }, + "73c3051352c2": { + "name": "projectMutating", + "value": false, + "sent": 3 + }, + "761c230291b6": { + "name": "projectMutating", + "value": true, + "sent": 3 + }, + "7b2465eedefe": { + "name": "projectMutating", + "value": true, + "sent": 0 + }, + "80d38ca65a5d": { + "name": "projectRowDetailError", + "value": "", + "sent": 0 + }, + "85f150b2df81": { + "name": "projectRowDetailError", + "value": "", + "sent": 1 + }, + "874009380ba6": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": false + }, + "8a1d11133692": { + "name": "projectRowDetailError", + "value": "", + "sent": 2 + }, + "8bbb5efeadaf": { + "name": "itemReplyDrafts", + "value": {}, + "sent": 4 + }, + "a7e90307fc74": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 3 + }, + "b6b9452c2348": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": false + }, + "b94df8ff01a9": { + "name": "github.project.deleteIssueCommentBySlug#1", + "args": [ + { + "name": "method", + "value": "github.project.deleteIssueCommentBySlug" + }, + { + "name": "params", + "value": { + "commentId": 501, + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "cf1e9d4fc0c3": { + "name": "itemReplyDrafts", + "value": { + "comment-2": "a reply" + }, + "sent": 3 + }, + "cf954aa5f6bf": { + "name": "github.resolveReviewThread#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.resolveReviewThread\",\"params\":{\"repo\":\"id:repo-1\",\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"threadId\":\"thread-1\",\"resolve\":true}}" + }, + "d1bb762720d5": { + "name": "projectMutating", + "value": true, + "sent": 1 + }, + "d515951be1e3": { + "name": "projectRowDetail", + "value": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "sent": 4 + }, + "d7467bca27a7": { + "name": "github.project.deleteIssueCommentBySlug#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.deleteIssueCommentBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\",\"commentId\":501}}" + }, + "df5e09a21420": { + "name": "github.addIssueComment#1", + "args": [ + { + "name": "method", + "value": "github.addIssueComment" + }, + { + "name": "params", + "value": { + "body": "@octocat a reply", + "number": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "type": "pr" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "comment": { + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 902 + }, + "ok": true + } + } + } + }, + "e3ad9b260dec": { + "name": "github.addIssueComment#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.addIssueComment\",\"params\":{\"repo\":\"id:repo-1\",\"number\":2,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"},\"body\":\"@octocat a reply\",\"type\":\"pr\"}}" + }, + "e76d5520ec18": { + "detail": { + "assignees": ["octocat"], + "baseSha": "base-sha", + "body": "body", + "checks": [], + "comments": [ + { + "author": "octocat", + "body": "a thought", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": "comment-2" + }, + { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + } + ], + "files": [ + { + "additions": 2, + "deletions": 1, + "oldPath": { + "$rpc": "undefined" + }, + "path": "src/index.ts", + "status": "modified", + "viewerViewedState": "UNVIEWED" + } + ], + "headSha": "head-sha", + "labels": ["bug"], + "latestReviews": [], + "provider": "github", + "pullRequestId": "PR_kwDO", + "reviewDecision": { + "$rpc": "null" + }, + "reviewRequests": [] + }, + "error": "", + "mutating": false + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f674d050fe62": { + "name": "github.addPRReviewCommentReply#1", + "args": [ + { + "name": "method", + "value": "github.addPRReviewCommentReply" + }, + { + "name": "params", + "value": { + "body": "a reply", + "commentId": 501, + "line": 12, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "threadId": "thread-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "comment": { + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "id": 903, + "line": 12, + "path": "src/index.ts", + "threadId": "thread-1" + }, + "ok": true + } + } + } + }, + "fa2e7b92e1d5": { + "name": "projectMutating", + "value": false, + "sent": 4 + } + }, + "recording": { + "scenario": "tk-project-row-threads", + "checkpoints": [ + { + "id": "delete-comment-settled", + "observation": { + "sender": ["b94df8ff01a9"], + "payloads": ["d7467bca27a7"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a" + }, + "state": "b6b9452c2348", + "effects": ["7b2465eedefe", "80d38ca65a5d", "02df4d991595", "02839f22d2db"] + } + }, + { + "id": "thread-settled", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a" + }, + "state": "b6b9452c2348", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff" + ] + } + }, + { + "id": "review-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40", "f674d050fe62"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a" + }, + "state": "e76d5520ec18", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "a7e90307fc74", + "73c3051352c2" + ] + } + }, + { + "id": "issue-reply-settled", + "observation": { + "sender": ["b94df8ff01a9", "1689d9f91f40", "f674d050fe62", "df5e09a21420"], + "payloads": ["d7467bca27a7", "cf954aa5f6bf", "095ff0ea9c3e", "e3ad9b260dec"], + "settlements": { + "mount": "eb79a9b3682a", + "delete-comment-0": "eb79a9b3682a", + "thread-1": "eb79a9b3682a", + "review-reply-2": "eb79a9b3682a", + "issue-reply-3": "eb79a9b3682a" + }, + "state": "874009380ba6", + "effects": [ + "7b2465eedefe", + "80d38ca65a5d", + "02df4d991595", + "02839f22d2db", + "d1bb762720d5", + "85f150b2df81", + "4c677c52a54e", + "6f4f9198e5ff", + "0f3697bbd111", + "8a1d11133692", + "cf1e9d4fc0c3", + "a7e90307fc74", + "73c3051352c2", + "761c230291b6", + "347fa6adc9f3", + "8bbb5efeadaf", + "d515951be1e3", + "fa2e7b92e1d5" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/tk-provider-load.json b/mobile/rpc-foundation/goldens/tk-provider-load.json new file mode 100644 index 00000000000..e703862e038 --- /dev/null +++ b/mobile/rpc-foundation/goldens/tk-provider-load.json @@ -0,0 +1,444 @@ +{ + "operation": "tasks.provider-load", + "family": "tasks.provider-load", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "07a15e900363faa25bc364f5bc1c330f96798abfeaed35210428c2ac558586b8", + "scenarioSha256": "21b6272878cba5f2b41c89378c178933ffc9406fe69b9c693fc5021a265ef2c9", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "0f9c77bd54ee": { + "name": "github.countWorkItems#1", + "args": [ + { + "name": "method", + "value": "github.countWorkItems" + }, + { + "name": "params", + "value": { + "query": "is:issue bug", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "timeoutMs": 30000 + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-5", + "ok": true, + "result": 4 + } + } + }, + "0faba633b165": { + "name": "selectedLinearWorkspaceId", + "value": "linear-workspace", + "sent": 1 + }, + "413e4f429e18": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": 4 + }, + "49c5fd241816": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "failedCount": 0, + "items": [ + { + "key": "github:repo-1:issue:9", + "provider": "github", + "source": { + "author": { + "$rpc": "null" + }, + "id": "issue:9", + "labels": [], + "number": 9, + "repoId": "repo-1", + "repoName": "Repo", + "state": "open", + "title": "An issue", + "type": "issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "" + }, + "status": "Open", + "subtitle": "Repo #9", + "title": "An issue", + "updatedAt": "2020-01-01T00:00:00.000Z" + } + ], + "sourceErrors": [], + "sourceFallbacks": [], + "sourcesByRepoId": { + "repo-1": { + "issues": "upstream" + } + } + } + }, + "552cce3107ea": { + "name": "linearWorkspaces", + "value": [ + { + "id": "linear-workspace", + "name": "Workspace" + } + ], + "sent": 1 + }, + "67b5ebc67646": { + "connected": true, + "selectedTeams": ["team-1"], + "teams": [ + { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + } + ], + "workspaceId": "linear-workspace", + "workspaces": [ + { + "id": "linear-workspace", + "name": "Workspace" + } + ] + }, + "69d74e72326c": { + "name": "linearConnected", + "value": true, + "sent": 1 + }, + "775d7e2fb99d": { + "name": "linear.status#1", + "args": [ + { + "name": "method", + "value": "linear.status" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "connected": true, + "selectedWorkspaceId": "linear-workspace", + "workspaces": [ + { + "id": "linear-workspace", + "name": "Workspace" + } + ] + } + } + } + }, + "7dabd82642ac": { + "name": "github.listWorkItems#1", + "args": [ + { + "name": "method", + "value": "github.listWorkItems" + }, + { + "name": "params", + "value": { + "before": { + "$rpc": "undefined" + }, + "limit": 36, + "query": "is:issue bug", + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "items": [ + { + "author": { + "$rpc": "null" + }, + "id": "issue:9", + "labels": [], + "number": 9, + "state": "open", + "title": "An issue", + "type": "issue", + "updatedAt": "2020-01-01T00:00:00.000Z", + "url": "" + } + ], + "sources": { + "issues": "upstream" + } + } + } + } + }, + "8e1216596b9c": { + "name": "linearTeams", + "value": [ + { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + } + ], + "sent": 2 + }, + "a6bfe3e8ec00": { + "name": "settings.update#1", + "args": [ + { + "name": "method", + "value": "settings.update" + }, + { + "name": "params", + "value": { + "defaultLinearTeamSelection": ["team-1"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-3", + "ok": true, + "result": { + "ok": true + } + } + } + }, + "a9c001a4d8d2": { + "name": "linear.listTeams#1", + "args": [ + { + "name": "method", + "value": "linear.listTeams" + }, + { + "name": "params", + "value": { + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": [ + { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + } + ] + } + } + }, + "b13993ed8b00": { + "name": "settings.update#1", + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"settings.update\",\"params\":{\"defaultLinearTeamSelection\":[\"team-1\"]}}" + }, + "bfba52c22ce2": { + "name": "linear.listTeams#1", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.listTeams\",\"params\":{\"workspaceId\":\"linear-workspace\"}}" + }, + "c1c057249f99": { + "name": "selectedLinearTeamIds", + "value": ["team-1"], + "sent": 2 + }, + "c1e3ae5492e1": { + "name": "github.countWorkItems#1", + "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.countWorkItems\",\"params\":{\"repo\":\"id:repo-1\",\"query\":\"is:issue bug\"}}" + }, + "cf53e1835dc8": { + "name": "github.listWorkItems#1", + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.listWorkItems\",\"params\":{\"repo\":\"id:repo-1\",\"limit\":36,\"query\":\"is:issue bug\"}}" + }, + "e19509ebde55": { + "name": "linear.status#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "tk-provider-load", + "checkpoints": [ + { + "id": "linear-context-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2"], + "payloads": ["e19509ebde55", "bfba52c22ce2"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "persist-teams-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2", "a6bfe3e8ec00"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "github-page-settled", + "observation": { + "sender": ["775d7e2fb99d", "a9c001a4d8d2", "a6bfe3e8ec00", "7dabd82642ac"], + "payloads": ["e19509ebde55", "bfba52c22ce2", "b13993ed8b00", "cf53e1835dc8"], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + }, + { + "id": "github-count-settled", + "observation": { + "sender": [ + "775d7e2fb99d", + "a9c001a4d8d2", + "a6bfe3e8ec00", + "7dabd82642ac", + "0f9c77bd54ee" + ], + "payloads": [ + "e19509ebde55", + "bfba52c22ce2", + "b13993ed8b00", + "cf53e1835dc8", + "c1e3ae5492e1" + ], + "settlements": { + "mount": "eb79a9b3682a", + "linear-context-0": "eb79a9b3682a", + "persist-teams-1": "eb79a9b3682a", + "github-page-2": "49c5fd241816", + "github-count-3": "413e4f429e18" + }, + "state": "67b5ebc67646", + "effects": [ + "69d74e72326c", + "552cce3107ea", + "0faba633b165", + "8e1216596b9c", + "c1c057249f99" + ] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/transport-capability-probe-cutover-reasks-fast.json b/mobile/rpc-foundation/goldens/transport-capability-probe-cutover-reasks-fast.json new file mode 100644 index 00000000000..0ac0e69e17b --- /dev/null +++ b/mobile/rpc-foundation/goldens/transport-capability-probe-cutover-reasks-fast.json @@ -0,0 +1,139 @@ +{ + "operation": "transport.capability-probe", + "family": "transport.capability-probe", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "34b382b13fe75e8ef4002325287c95b3c4db62eeaaf3762af7fbaf6f836c2fa1", + "scenarioSha256": "c5d28c2973881ae6cc94c7d8f6eef544046461f15e236634489afd272b5f1e6b", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "1e5b32902af7": { + "name": "status.get#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "2c76473bef66": { + "published": [] + }, + "3e25b523d96b": { + "name": "status.get#2", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 250, + "settledAt": 250, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "capabilities": ["push.v1"] + } + } + } + }, + "9d1bfe4d6810": { + "published": [["push.v1"]] + }, + "c0c86e67c300": { + "name": "status.get#2", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "edf54746317d": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "LogicalClientCutoverError", + "message": "RPC interrupted by connection migration", + "isRpcDeliveryUnknown": true, + "cause": { + "category": "Error", + "message": "Connection closed", + "isRpcDeliveryUnknown": true + } + } + } + } + }, + "recording": { + "scenario": "transport-capability-probe-cutover-reasks-fast", + "checkpoints": [ + { + "id": "cutover-rejected-the-probe", + "observation": { + "sender": ["edf54746317d"], + "payloads": ["1e5b32902af7"], + "settlements": { + "start": "eb79a9b3682a", + "migrate": "eb79a9b3682a" + }, + "state": "2c76473bef66", + "effects": [] + } + }, + { + "id": "published-after-cutover-reask", + "observation": { + "sender": ["edf54746317d", "3e25b523d96b"], + "payloads": ["1e5b32902af7", "c0c86e67c300"], + "settlements": { + "start": "eb79a9b3682a", + "migrate": "eb79a9b3682a" + }, + "state": "9d1bfe4d6810", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/transport-capability-probe-non-string-capabilities-drop.json b/mobile/rpc-foundation/goldens/transport-capability-probe-non-string-capabilities-drop.json new file mode 100644 index 00000000000..3be1e1d384b --- /dev/null +++ b/mobile/rpc-foundation/goldens/transport-capability-probe-non-string-capabilities-drop.json @@ -0,0 +1,95 @@ +{ + "operation": "transport.capability-probe", + "family": "transport.capability-probe", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "34b382b13fe75e8ef4002325287c95b3c4db62eeaaf3762af7fbaf6f836c2fa1", + "scenarioSha256": "95ef0a8b60bf92ef5c12a73f923dc143989b34374fb319f812fbaa58c79aa6a6", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "1e5b32902af7": { + "name": "status.get#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "cc97c2cd21f1": { + "published": [[]] + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ecfb77e3d868": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "capabilities": ["push.v1", 7] + } + } + } + } + }, + "recording": { + "scenario": "transport-capability-probe-non-string-capabilities-drop", + "checkpoints": [ + { + "id": "capabilities-rejected", + "observation": { + "sender": ["ecfb77e3d868"], + "payloads": ["1e5b32902af7"], + "settlements": { + "start": "eb79a9b3682a" + }, + "state": "cc97c2cd21f1", + "effects": [] + } + }, + { + "id": "stopped", + "observation": { + "sender": ["ecfb77e3d868"], + "payloads": ["1e5b32902af7"], + "settlements": { + "start": "eb79a9b3682a", + "stop": "eb79a9b3682a" + }, + "state": "cc97c2cd21f1", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/transport-capability-probe-publishes.json b/mobile/rpc-foundation/goldens/transport-capability-probe-publishes.json new file mode 100644 index 00000000000..00612174461 --- /dev/null +++ b/mobile/rpc-foundation/goldens/transport-capability-probe-publishes.json @@ -0,0 +1,82 @@ +{ + "operation": "transport.capability-probe", + "family": "transport.capability-probe", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "34b382b13fe75e8ef4002325287c95b3c4db62eeaaf3762af7fbaf6f836c2fa1", + "scenarioSha256": "6e0c3a784992e383a05ccfdf34e44e6f74ebd55ff17c4de0b05b2dfb4197c681", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "1e5b32902af7": { + "name": "status.get#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "b4584cf1e1a9": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "capabilities": ["push.v1", "codex.reset-credit"] + } + } + } + }, + "bd96613904d8": { + "published": [["push.v1", "codex.reset-credit"]] + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "transport-capability-probe-publishes", + "checkpoints": [ + { + "id": "capabilities-published", + "observation": { + "sender": ["b4584cf1e1a9"], + "payloads": ["1e5b32902af7"], + "settlements": { + "start": "eb79a9b3682a" + }, + "state": "bd96613904d8", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/transport-capability-probe-refused-backs-off.json b/mobile/rpc-foundation/goldens/transport-capability-probe-refused-backs-off.json new file mode 100644 index 00000000000..bd1cdb55bc2 --- /dev/null +++ b/mobile/rpc-foundation/goldens/transport-capability-probe-refused-backs-off.json @@ -0,0 +1,135 @@ +{ + "operation": "transport.capability-probe", + "family": "transport.capability-probe", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "34b382b13fe75e8ef4002325287c95b3c4db62eeaaf3762af7fbaf6f836c2fa1", + "scenarioSha256": "2ba1e1d70c98e2fd0d2d2dce6f68c11a186756f05207747e156375fc613940d7", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "1e5b32902af7": { + "name": "status.get#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "2a265b3002f3": { + "name": "status.get#2", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 1000, + "settledAt": 1000, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "capabilities": ["push.v1"] + } + } + } + }, + "2c76473bef66": { + "published": [] + }, + "3b0e75cbba89": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "status_unavailable", + "message": "no status" + }, + "id": "frame-1", + "ok": false + } + } + }, + "9d1bfe4d6810": { + "published": [["push.v1"]] + }, + "c0c86e67c300": { + "name": "status.get#2", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "transport-capability-probe-refused-backs-off", + "checkpoints": [ + { + "id": "backing-off", + "observation": { + "sender": ["3b0e75cbba89"], + "payloads": ["1e5b32902af7"], + "settlements": { + "start": "eb79a9b3682a" + }, + "state": "2c76473bef66", + "effects": [] + } + }, + { + "id": "published-after-backoff", + "observation": { + "sender": ["3b0e75cbba89", "2a265b3002f3"], + "payloads": ["1e5b32902af7", "c0c86e67c300"], + "settlements": { + "start": "eb79a9b3682a" + }, + "state": "9d1bfe4d6810", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/transport-host-status-gates-drop-keeps-capabilities.json b/mobile/rpc-foundation/goldens/transport-host-status-gates-drop-keeps-capabilities.json new file mode 100644 index 00000000000..973c8016be8 --- /dev/null +++ b/mobile/rpc-foundation/goldens/transport-host-status-gates-drop-keeps-capabilities.json @@ -0,0 +1,105 @@ +{ + "operation": "transport.host-status-gates", + "family": "transport.host-status-gates", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "34b382b13fe75e8ef4002325287c95b3c4db62eeaaf3762af7fbaf6f836c2fa1", + "scenarioSha256": "f25f444aca6cf768c602bf879e6b30235d1c4c0632636cfd245bd6e27959756b", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "1e5b32902af7": { + "name": "status.get#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "36d81979cef2": { + "appVersion": "1.4.200", + "capabilities": ["mobile.tasks.v1", "push.v1"], + "floatingWorkspace": true, + "pending": false, + "verdict": { + "kind": "ok" + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "eed0ae8cfbd7": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "appVersion": "1.4.200", + "capabilities": ["mobile.tasks.v1", "push.v1"], + "floatingWorkspaceEnabled": true, + "minCompatibleMobileVersion": 1, + "protocolVersion": 5 + } + } + } + } + }, + "recording": { + "scenario": "transport-host-status-gates-drop-keeps-capabilities", + "checkpoints": [ + { + "id": "gates-proven", + "observation": { + "sender": ["eed0ae8cfbd7"], + "payloads": ["1e5b32902af7"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "36d81979cef2", + "effects": [] + } + }, + { + "id": "gates-unverified", + "observation": { + "sender": ["eed0ae8cfbd7"], + "payloads": ["1e5b32902af7"], + "settlements": { + "mount": "eb79a9b3682a", + "drop": "eb79a9b3682a" + }, + "state": "36d81979cef2", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/transport-host-status-gates-ready.json b/mobile/rpc-foundation/goldens/transport-host-status-gates-ready.json new file mode 100644 index 00000000000..11077b17037 --- /dev/null +++ b/mobile/rpc-foundation/goldens/transport-host-status-gates-ready.json @@ -0,0 +1,92 @@ +{ + "operation": "transport.host-status-gates", + "family": "transport.host-status-gates", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "34b382b13fe75e8ef4002325287c95b3c4db62eeaaf3762af7fbaf6f836c2fa1", + "scenarioSha256": "9c5095c24bdf5ab65d6387cc22b9984fee3aa7d5ce93d96bcb470944ac253f86", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "1e5b32902af7": { + "name": "status.get#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "36d81979cef2": { + "appVersion": "1.4.200", + "capabilities": ["mobile.tasks.v1", "push.v1"], + "floatingWorkspace": true, + "pending": false, + "verdict": { + "kind": "ok" + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "eed0ae8cfbd7": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "appVersion": "1.4.200", + "capabilities": ["mobile.tasks.v1", "push.v1"], + "floatingWorkspaceEnabled": true, + "minCompatibleMobileVersion": 1, + "protocolVersion": 5 + } + } + } + } + }, + "recording": { + "scenario": "transport-host-status-gates-ready", + "checkpoints": [ + { + "id": "gates-proven", + "observation": { + "sender": ["eed0ae8cfbd7"], + "payloads": ["1e5b32902af7"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "36d81979cef2", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/transport-host-status-gates-refused-degrades.json b/mobile/rpc-foundation/goldens/transport-host-status-gates-refused-degrades.json new file mode 100644 index 00000000000..048946483fc --- /dev/null +++ b/mobile/rpc-foundation/goldens/transport-host-status-gates-refused-degrades.json @@ -0,0 +1,91 @@ +{ + "operation": "transport.host-status-gates", + "family": "transport.host-status-gates", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "34b382b13fe75e8ef4002325287c95b3c4db62eeaaf3762af7fbaf6f836c2fa1", + "scenarioSha256": "a7871b5f1d37b0156970858d5a7fcab3105de7a8a6bfe827299a36f2b2ba5548", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "1e5b32902af7": { + "name": "status.get#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "3b0e75cbba89": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "status_unavailable", + "message": "no status" + }, + "id": "frame-1", + "ok": false + } + } + }, + "df2c10616b5e": { + "appVersion": { + "$rpc": "null" + }, + "capabilities": [], + "floatingWorkspace": false, + "pending": false, + "verdict": { + "kind": "ok" + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "transport-host-status-gates-refused-degrades", + "checkpoints": [ + { + "id": "gates-degraded", + "observation": { + "sender": ["3b0e75cbba89"], + "payloads": ["1e5b32902af7"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "df2c10616b5e", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/transport-pairing-race-both-refused.json b/mobile/rpc-foundation/goldens/transport-pairing-race-both-refused.json new file mode 100644 index 00000000000..7ce36a9a902 --- /dev/null +++ b/mobile/rpc-foundation/goldens/transport-pairing-race-both-refused.json @@ -0,0 +1,123 @@ +{ + "operation": "transport.pairing-race", + "family": "transport.pairing-race", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "34b382b13fe75e8ef4002325287c95b3c4db62eeaaf3762af7fbaf6f836c2fa1", + "scenarioSha256": "4f0ddbea3c08ea3e90f6e707215a4831f06aed408065b45d0771028d256d6b12", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "001216175103": { + "name": "status.get#2", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "unauthorized", + "message": "relay refused" + }, + "id": "frame-2", + "ok": false + } + } + }, + "1329c4d27ca9": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "direct and relay pairing paths both failed", + "isRpcDeliveryUnknown": false + } + }, + "1e5b32902af7": { + "name": "status.get#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "4b5a09699ceb": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "unauthorized", + "message": "direct refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "c0c86e67c300": { + "name": "status.get#2", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "d25369399414": { + "outcome": "failed: direct and relay pairing paths both failed" + } + }, + "recording": { + "scenario": "transport-pairing-race-both-refused", + "checkpoints": [ + { + "id": "both-paths-failed", + "observation": { + "sender": ["4b5a09699ceb", "001216175103"], + "payloads": ["1e5b32902af7", "c0c86e67c300"], + "settlements": { + "race": "1329c4d27ca9" + }, + "state": "d25369399414", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/transport-pairing-race-direct-completes-first.json b/mobile/rpc-foundation/goldens/transport-pairing-race-direct-completes-first.json new file mode 100644 index 00000000000..36590513aeb --- /dev/null +++ b/mobile/rpc-foundation/goldens/transport-pairing-race-direct-completes-first.json @@ -0,0 +1,122 @@ +{ + "operation": "transport.pairing-race", + "family": "transport.pairing-race", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "34b382b13fe75e8ef4002325287c95b3c4db62eeaaf3762af7fbaf6f836c2fa1", + "scenarioSha256": "488173fa313295f97aa88fb4bf1944fdb655e37cfd2444e9d15515bd6ad82d95", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "1e5b32902af7": { + "name": "status.get#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "26f802fad080": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "capabilities": [] + } + } + } + }, + "36caf183b988": { + "name": "status.get#2", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "capabilities": [] + } + } + } + }, + "93edac3a1c3e": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": "direct" + }, + "c0c86e67c300": { + "name": "status.get#2", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "d433a326314e": { + "name": "candidate-closed", + "value": "relay", + "sent": 2 + }, + "d9b301beff12": { + "outcome": "direct" + } + }, + "recording": { + "scenario": "transport-pairing-race-direct-completes-first", + "checkpoints": [ + { + "id": "direct-wins-when-it-completes-first", + "observation": { + "sender": ["26f802fad080", "36caf183b988"], + "payloads": ["1e5b32902af7", "c0c86e67c300"], + "settlements": { + "race": "93edac3a1c3e" + }, + "state": "d9b301beff12", + "effects": ["d433a326314e"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/transport-pairing-race-relay-completes-first.json b/mobile/rpc-foundation/goldens/transport-pairing-race-relay-completes-first.json new file mode 100644 index 00000000000..3e08056f1fc --- /dev/null +++ b/mobile/rpc-foundation/goldens/transport-pairing-race-relay-completes-first.json @@ -0,0 +1,122 @@ +{ + "operation": "transport.pairing-race", + "family": "transport.pairing-race", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "34b382b13fe75e8ef4002325287c95b3c4db62eeaaf3762af7fbaf6f836c2fa1", + "scenarioSha256": "dee9824e5ec32115fa7dfaaf223fc34c28d057a5526ac3dad42365543288a934", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "1e5b32902af7": { + "name": "status.get#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "26f802fad080": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "capabilities": [] + } + } + } + }, + "36caf183b988": { + "name": "status.get#2", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "capabilities": [] + } + } + } + }, + "416024b9c436": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": "relay" + }, + "a7d5becc0aed": { + "outcome": "relay" + }, + "b2a8517fe750": { + "name": "candidate-closed", + "value": "direct", + "sent": 2 + }, + "c0c86e67c300": { + "name": "status.get#2", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + } + }, + "recording": { + "scenario": "transport-pairing-race-relay-completes-first", + "checkpoints": [ + { + "id": "relay-wins-when-it-completes-first", + "observation": { + "sender": ["26f802fad080", "36caf183b988"], + "payloads": ["1e5b32902af7", "c0c86e67c300"], + "settlements": { + "race": "416024b9c436" + }, + "state": "a7d5becc0aed", + "effects": ["b2a8517fe750"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/transport-pairing-race-relay-wins-when-direct-refused.json b/mobile/rpc-foundation/goldens/transport-pairing-race-relay-wins-when-direct-refused.json new file mode 100644 index 00000000000..a6c2c3b3693 --- /dev/null +++ b/mobile/rpc-foundation/goldens/transport-pairing-race-relay-wins-when-direct-refused.json @@ -0,0 +1,123 @@ +{ + "operation": "transport.pairing-race", + "family": "transport.pairing-race", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "34b382b13fe75e8ef4002325287c95b3c4db62eeaaf3762af7fbaf6f836c2fa1", + "scenarioSha256": "a34ffec446f9bbc465bd3f7d0a43166c9bc221a6ece8714e0b5717169625cf43", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "1e5b32902af7": { + "name": "status.get#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "36caf183b988": { + "name": "status.get#2", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-2", + "ok": true, + "result": { + "capabilities": [] + } + } + } + }, + "416024b9c436": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": "relay" + }, + "4b5a09699ceb": { + "name": "status.get#1", + "args": [ + { + "name": "method", + "value": "status.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "error": { + "code": "unauthorized", + "message": "direct refused" + }, + "id": "frame-1", + "ok": false + } + } + }, + "a7d5becc0aed": { + "outcome": "relay" + }, + "b2a8517fe750": { + "name": "candidate-closed", + "value": "direct", + "sent": 2 + }, + "c0c86e67c300": { + "name": "status.get#2", + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + } + }, + "recording": { + "scenario": "transport-pairing-race-relay-wins-when-direct-refused", + "checkpoints": [ + { + "id": "relay-wins", + "observation": { + "sender": ["4b5a09699ceb", "36caf183b988"], + "payloads": ["1e5b32902af7", "c0c86e67c300"], + "settlements": { + "race": "416024b9c436" + }, + "state": "a7d5becc0aed", + "effects": ["b2a8517fe750"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/tw-capabilities-advertised.json b/mobile/rpc-foundation/goldens/tw-capabilities-advertised.json index 2c69c70fbf1..b92803eb131 100644 --- a/mobile/rpc-foundation/goldens/tw-capabilities-advertised.json +++ b/mobile/rpc-foundation/goldens/tw-capabilities-advertised.json @@ -3,9 +3,9 @@ "family": "worktree.runtime-capabilities", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "343b97826782820b7aecaddd13a4c8cdbbbca057c83021863d577a677934f3a3", "scenarioSha256": "9d79bcfd6957d11d5ce8c3296f1038a3cfab81eedad7f990b44071104dfd0f91", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/tw-capabilities-cutover-retried.json b/mobile/rpc-foundation/goldens/tw-capabilities-cutover-retried.json index bed52964116..0e778e3b74c 100644 --- a/mobile/rpc-foundation/goldens/tw-capabilities-cutover-retried.json +++ b/mobile/rpc-foundation/goldens/tw-capabilities-cutover-retried.json @@ -3,9 +3,9 @@ "family": "worktree.runtime-capabilities", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "343b97826782820b7aecaddd13a4c8cdbbbca057c83021863d577a677934f3a3", "scenarioSha256": "fb9c0e4b7c34f9bd1bd355b606c6ba75a7583cff3788000b7ed013612f5574fe", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/tw-capabilities-legacy-idempotency.json b/mobile/rpc-foundation/goldens/tw-capabilities-legacy-idempotency.json index feb90229213..62f8568b460 100644 --- a/mobile/rpc-foundation/goldens/tw-capabilities-legacy-idempotency.json +++ b/mobile/rpc-foundation/goldens/tw-capabilities-legacy-idempotency.json @@ -3,9 +3,9 @@ "family": "worktree.runtime-capabilities", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "343b97826782820b7aecaddd13a4c8cdbbbca057c83021863d577a677934f3a3", "scenarioSha256": "d73fed49e0a7e3e054d5c2fa75780f98bf78b6fa7e02f1ccb2fdc49465cf2fe5", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/tw-create-retry-ambiguous-after-drop.json b/mobile/rpc-foundation/goldens/tw-create-retry-ambiguous-after-drop.json index 9bd05e45c6e..8e0b824193a 100644 --- a/mobile/rpc-foundation/goldens/tw-create-retry-ambiguous-after-drop.json +++ b/mobile/rpc-foundation/goldens/tw-create-retry-ambiguous-after-drop.json @@ -3,9 +3,9 @@ "family": "worktree.create-retry", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "343b97826782820b7aecaddd13a4c8cdbbbca057c83021863d577a677934f3a3", "scenarioSha256": "a99bb80a5826af1df8d74114fcc5654aa42c9208747b512cea9bd5ca65b64ccb", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/tw-create-retry-ambiguous-while-connected.json b/mobile/rpc-foundation/goldens/tw-create-retry-ambiguous-while-connected.json index 8a20a9af0ca..bbd3c2fcb56 100644 --- a/mobile/rpc-foundation/goldens/tw-create-retry-ambiguous-while-connected.json +++ b/mobile/rpc-foundation/goldens/tw-create-retry-ambiguous-while-connected.json @@ -3,9 +3,9 @@ "family": "worktree.create-retry", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "343b97826782820b7aecaddd13a4c8cdbbbca057c83021863d577a677934f3a3", "scenarioSha256": "3cda09e4a4ad4092f5f9a48b7c9715a99a51eb3bc4bed00f7054537a9e21cea9", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/tw-create-retry-ambiguous-without-idempotency.json b/mobile/rpc-foundation/goldens/tw-create-retry-ambiguous-without-idempotency.json index fbbad83c2d1..e8bbd4b9a7b 100644 --- a/mobile/rpc-foundation/goldens/tw-create-retry-ambiguous-without-idempotency.json +++ b/mobile/rpc-foundation/goldens/tw-create-retry-ambiguous-without-idempotency.json @@ -3,9 +3,9 @@ "family": "worktree.create-retry", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "343b97826782820b7aecaddd13a4c8cdbbbca057c83021863d577a677934f3a3", "scenarioSha256": "61097c13b262a4454510936fa9c9554a07865b610f18407f1b67bdd74476df08", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/tw-create-retry-created.json b/mobile/rpc-foundation/goldens/tw-create-retry-created.json index 02e54ab56de..91f5fb38fb4 100644 --- a/mobile/rpc-foundation/goldens/tw-create-retry-created.json +++ b/mobile/rpc-foundation/goldens/tw-create-retry-created.json @@ -3,9 +3,9 @@ "family": "worktree.create-retry", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "343b97826782820b7aecaddd13a4c8cdbbbca057c83021863d577a677934f3a3", "scenarioSha256": "0278216fee698c00118bb0e73a7fe755dc59c3b8e2b0459153edae64f155774c", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/tw-create-retry-name-collision.json b/mobile/rpc-foundation/goldens/tw-create-retry-name-collision.json index d56190b9c77..7fe63d3dca7 100644 --- a/mobile/rpc-foundation/goldens/tw-create-retry-name-collision.json +++ b/mobile/rpc-foundation/goldens/tw-create-retry-name-collision.json @@ -3,9 +3,9 @@ "family": "worktree.create-retry", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "343b97826782820b7aecaddd13a4c8cdbbbca057c83021863d577a677934f3a3", "scenarioSha256": "6cb658dadc9e146c4f36c6ce643451e72300b8cdda19cc684ffa9fb2b0822c0a", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/tw-create-retry-unretryable-refusal.json b/mobile/rpc-foundation/goldens/tw-create-retry-unretryable-refusal.json index d5805149736..fc4de86abaa 100644 --- a/mobile/rpc-foundation/goldens/tw-create-retry-unretryable-refusal.json +++ b/mobile/rpc-foundation/goldens/tw-create-retry-unretryable-refusal.json @@ -3,9 +3,9 @@ "family": "worktree.create-retry", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "343b97826782820b7aecaddd13a4c8cdbbbca057c83021863d577a677934f3a3", "scenarioSha256": "16abe9e1a8d4cff17b3ea29d40277ae30a3d555a4a9efa08b2745c3a85b02740", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/tw-create-retry-warning-kept.json b/mobile/rpc-foundation/goldens/tw-create-retry-warning-kept.json index e13d7a8cf50..fa3b033db93 100644 --- a/mobile/rpc-foundation/goldens/tw-create-retry-warning-kept.json +++ b/mobile/rpc-foundation/goldens/tw-create-retry-warning-kept.json @@ -3,9 +3,9 @@ "family": "worktree.create-retry", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "343b97826782820b7aecaddd13a4c8cdbbbca057c83021863d577a677934f3a3", "scenarioSha256": "f469b2b7d61e7fc500fa97b5548f5a3732b0dbcdb405412a514a609f786dfbb5", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/tw-hosted-base-resolved.json b/mobile/rpc-foundation/goldens/tw-hosted-base-resolved.json index 8ca7295111f..22d1095523f 100644 --- a/mobile/rpc-foundation/goldens/tw-hosted-base-resolved.json +++ b/mobile/rpc-foundation/goldens/tw-hosted-base-resolved.json @@ -3,9 +3,9 @@ "family": "worktree.hosted-base", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "343b97826782820b7aecaddd13a4c8cdbbbca057c83021863d577a677934f3a3", "scenarioSha256": "b3734c24f8a083d3efcdd995ea6a57e608d3d3ae3bbbd514db19dcf69448fa48", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/tw-hosted-base-soft-error.json b/mobile/rpc-foundation/goldens/tw-hosted-base-soft-error.json index b2515930252..07e6b6f14e6 100644 --- a/mobile/rpc-foundation/goldens/tw-hosted-base-soft-error.json +++ b/mobile/rpc-foundation/goldens/tw-hosted-base-soft-error.json @@ -3,9 +3,9 @@ "family": "worktree.hosted-base", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "343b97826782820b7aecaddd13a4c8cdbbbca057c83021863d577a677934f3a3", "scenarioSha256": "451e74a430d2549976fa360a0e43e76a8d855b1470b8e313797019770ceca4cb", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/tw-paste-lookup-resolved.json b/mobile/rpc-foundation/goldens/tw-paste-lookup-resolved.json index d22f91f1bbe..f72ff2cc628 100644 --- a/mobile/rpc-foundation/goldens/tw-paste-lookup-resolved.json +++ b/mobile/rpc-foundation/goldens/tw-paste-lookup-resolved.json @@ -3,9 +3,9 @@ "family": "tasks.paste-lookup", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "343b97826782820b7aecaddd13a4c8cdbbbca057c83021863d577a677934f3a3", "scenarioSha256": "1fb1cdc8a2544e25547175760143a61355900a3ed4b87e08a1fa0dd2409e317d", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/tw-paste-lookup-slug-refused.json b/mobile/rpc-foundation/goldens/tw-paste-lookup-slug-refused.json index 8317ae46784..7a5d4cac98a 100644 --- a/mobile/rpc-foundation/goldens/tw-paste-lookup-slug-refused.json +++ b/mobile/rpc-foundation/goldens/tw-paste-lookup-slug-refused.json @@ -3,9 +3,9 @@ "family": "tasks.paste-lookup", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "343b97826782820b7aecaddd13a4c8cdbbbca057c83021863d577a677934f3a3", "scenarioSha256": "e9d85c576adf93063a8f56d49d28869c402cad38122732b46b8ec021d25db5e3", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/tw-paste-lookup-slug-unsupported.json b/mobile/rpc-foundation/goldens/tw-paste-lookup-slug-unsupported.json index a4f99bffb06..82fd9be2ea7 100644 --- a/mobile/rpc-foundation/goldens/tw-paste-lookup-slug-unsupported.json +++ b/mobile/rpc-foundation/goldens/tw-paste-lookup-slug-unsupported.json @@ -3,9 +3,9 @@ "family": "tasks.paste-lookup", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "343b97826782820b7aecaddd13a4c8cdbbbca057c83021863d577a677934f3a3", "scenarioSha256": "14509b4c1cc3beb00cc329b6bae46913f59b3938f76c0bd3bf3e374f34fb680d", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/tw-setup-hook-trust-always.json b/mobile/rpc-foundation/goldens/tw-setup-hook-trust-always.json index bc7ee4dd338..54a37dd6d54 100644 --- a/mobile/rpc-foundation/goldens/tw-setup-hook-trust-always.json +++ b/mobile/rpc-foundation/goldens/tw-setup-hook-trust-always.json @@ -3,9 +3,9 @@ "family": "worktree.setup-hook-trust", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "343b97826782820b7aecaddd13a4c8cdbbbca057c83021863d577a677934f3a3", "scenarioSha256": "0d2e3f48aadf45abbf6927b72ed5fef4caa8e3eb2efd1046339a3fbfab6f9f18", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/tw-setup-hook-trust-approved.json b/mobile/rpc-foundation/goldens/tw-setup-hook-trust-approved.json index 1859fa4e483..139773bd67f 100644 --- a/mobile/rpc-foundation/goldens/tw-setup-hook-trust-approved.json +++ b/mobile/rpc-foundation/goldens/tw-setup-hook-trust-approved.json @@ -3,9 +3,9 @@ "family": "worktree.setup-hook-trust", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "343b97826782820b7aecaddd13a4c8cdbbbca057c83021863d577a677934f3a3", "scenarioSha256": "f54f5c6dbbe7dbcf8e85e9bd36b27ca9bea7de65d5e35dabace49b3fc766a403", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/tw-smart-search-all-providers.json b/mobile/rpc-foundation/goldens/tw-smart-search-all-providers.json index 36ba7152a68..5f22839eec5 100644 --- a/mobile/rpc-foundation/goldens/tw-smart-search-all-providers.json +++ b/mobile/rpc-foundation/goldens/tw-smart-search-all-providers.json @@ -3,9 +3,9 @@ "family": "tasks.smart-source-search", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "343b97826782820b7aecaddd13a4c8cdbbbca057c83021863d577a677934f3a3", "scenarioSha256": "283849e17fb47ad5f9c128cef37a18e869a132357b332b40bec955292db2af3f", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/tw-smart-search-gitlab-provider-error.json b/mobile/rpc-foundation/goldens/tw-smart-search-gitlab-provider-error.json index 6a4d57f7e27..6f66d4b420b 100644 --- a/mobile/rpc-foundation/goldens/tw-smart-search-gitlab-provider-error.json +++ b/mobile/rpc-foundation/goldens/tw-smart-search-gitlab-provider-error.json @@ -3,9 +3,9 @@ "family": "tasks.smart-source-search", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "343b97826782820b7aecaddd13a4c8cdbbbca057c83021863d577a677934f3a3", "scenarioSha256": "4537bf83f7a030521eec549adf4490da5be183471d5a9f9e58b71815b29481ff", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/tw-smart-search-linear-listed.json b/mobile/rpc-foundation/goldens/tw-smart-search-linear-listed.json index c8a387e7c1a..8119a88f727 100644 --- a/mobile/rpc-foundation/goldens/tw-smart-search-linear-listed.json +++ b/mobile/rpc-foundation/goldens/tw-smart-search-linear-listed.json @@ -3,9 +3,9 @@ "family": "tasks.smart-source-search", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "343b97826782820b7aecaddd13a4c8cdbbbca057c83021863d577a677934f3a3", "scenarioSha256": "34ab4edb621856980c8678629bd809c100d27dcd0747db5abbf4508c7231b7e5", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/tw-task-preferences-resume-write.json b/mobile/rpc-foundation/goldens/tw-task-preferences-resume-write.json index a7c76afba35..7c7d63fb9cf 100644 --- a/mobile/rpc-foundation/goldens/tw-task-preferences-resume-write.json +++ b/mobile/rpc-foundation/goldens/tw-task-preferences-resume-write.json @@ -3,9 +3,9 @@ "family": "settings-best-effort", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "d3b7f33d810e1fa420ac41a628cde9fe4a9e65fd57f89fbca0a40fc7d74951ab", "scenarioSha256": "31bfa49f888b0eb3f72873bf4a3af26129e78c23126e8fc8fe45b952caa60904", "platform": "darwin", diff --git a/mobile/rpc-foundation/goldens/tw-workspace-source-presets-refused.json b/mobile/rpc-foundation/goldens/tw-workspace-source-presets-refused.json index 120bc19d8c5..b631a9f7b4b 100644 --- a/mobile/rpc-foundation/goldens/tw-workspace-source-presets-refused.json +++ b/mobile/rpc-foundation/goldens/tw-workspace-source-presets-refused.json @@ -3,9 +3,9 @@ "family": "tasks.workspace-source", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "4e567302ac8acffcfd602c9b323ecf8b5b7c0c4692bda1a4c881011a91d98979", "scenarioSha256": "2cd1e8972f226572744dad7da82afffbdf0452a121c1cd8c3334d5c3fde5d57c", "platform": "darwin", @@ -13,22 +13,25 @@ "projectionVersion": 2, "goldenFormatVersion": 5, "values": { - "2399e995a370": { - "name": "workspaceSparsePresets", - "value": [] - }, - "273f4074a9b5": { - "name": "workspaceSparsePresetsLoaded", - "value": false - }, - "35afa5cb107f": { - "name": "workspaceBaseBranchLoading", - "value": false + "1f03192052c0": { + "name": "workspaceSparsePresetsLoading", + "value": false, + "sent": 1 }, "4cedb91a2f7a": { "name": "repo.sparsePresets#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"repo.sparsePresets\",\"params\":{\"repo\":\"id:repo-1\"}}" }, + "539a8c80071f": { + "name": "workspaceSparsePresetsLoaded", + "value": false, + "sent": 0 + }, + "594fac1293d4": { + "name": "workspaceSparsePresetsError", + "value": "", + "sent": 1 + }, "5bad21b1e042": { "name": "repo.sparsePresets#1", "args": [ @@ -63,10 +66,6 @@ } } }, - "5f1c84e00d4f": { - "name": "workspaceBaseBranchResults", - "value": [] - }, "62bc28c39ffc": { "branchError": "", "branches": [], @@ -74,27 +73,30 @@ "presetsError": "", "presetsLoaded": false }, - "6c344c5f4ac0": { + "648935ecca5d": { + "name": "workspaceSparsePresets", + "value": [], + "sent": 1 + }, + "66f7aa09c444": { + "name": "workspaceBaseBranchLoading", + "value": false, + "sent": 1 + }, + "96f470cee43b": { "name": "workspaceBaseBranchError", - "value": "" + "value": "", + "sent": 1 }, - "8353b8e1a426": { - "name": "workspaceSparsePresetsLoading", - "value": true + "99b93f410369": { + "name": "workspaceSparsePresetsLoaded", + "value": false, + "sent": 1 }, - "9357f7ea8445": { - "name": "workspaceSparsePresetId", - "value": { - "$rpc": "null" - } - }, - "cfc8af2a7169": { - "name": "workspaceSparsePresetsLoading", - "value": false - }, - "dba381378b08": { - "name": "workspaceSparsePresetsError", - "value": "" + "d74e7c93c5be": { + "name": "workspaceBaseBranchResults", + "value": [], + "sent": 1 }, "eb79a9b3682a": { "status": "fulfilled", @@ -103,6 +105,23 @@ "value": { "$rpc": "undefined" } + }, + "f359ebae96d2": { + "name": "workspaceSparsePresetId", + "value": { + "$rpc": "null" + }, + "sent": 1 + }, + "f68a2eba2c59": { + "name": "workspaceSparsePresetsLoading", + "value": true, + "sent": 0 + }, + "ff042d71c647": { + "name": "workspaceSparsePresetsError", + "value": "", + "sent": 0 } }, "recording": { @@ -118,17 +137,17 @@ }, "state": "62bc28c39ffc", "effects": [ - "8353b8e1a426", - "273f4074a9b5", - "dba381378b08", - "5f1c84e00d4f", - "35afa5cb107f", - "6c344c5f4ac0", - "2399e995a370", - "273f4074a9b5", - "9357f7ea8445", - "dba381378b08", - "cfc8af2a7169" + "f68a2eba2c59", + "539a8c80071f", + "ff042d71c647", + "d74e7c93c5be", + "66f7aa09c444", + "96f470cee43b", + "648935ecca5d", + "99b93f410369", + "f359ebae96d2", + "594fac1293d4", + "1f03192052c0" ] } } diff --git a/mobile/rpc-foundation/goldens/tw-workspace-source-presets.json b/mobile/rpc-foundation/goldens/tw-workspace-source-presets.json index dd3c263152a..2df571b19c0 100644 --- a/mobile/rpc-foundation/goldens/tw-workspace-source-presets.json +++ b/mobile/rpc-foundation/goldens/tw-workspace-source-presets.json @@ -3,9 +3,9 @@ "family": "tasks.workspace-source", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "4e567302ac8acffcfd602c9b323ecf8b5b7c0c4692bda1a4c881011a91d98979", "scenarioSha256": "046dd3a125a3c9abcf5a0dd122818939b516adb91cbda2554b3409d4bb3a7980", "platform": "darwin", @@ -13,17 +13,21 @@ "projectionVersion": 2, "goldenFormatVersion": 5, "values": { - "1d9a7d969446": { - "name": "workspaceSparsePresetsLoaded", - "value": true + "0522501c6443": { + "name": "workspaceSparsePresets", + "value": [ + { + "directories": ["docs"], + "id": "p1", + "name": "docs" + } + ], + "sent": 1 }, - "273f4074a9b5": { - "name": "workspaceSparsePresetsLoaded", - "value": false - }, - "35afa5cb107f": { - "name": "workspaceBaseBranchLoading", - "value": false + "1f03192052c0": { + "name": "workspaceSparsePresetsLoading", + "value": false, + "sent": 1 }, "395368dea8ff": { "name": "repo.searchRefs#1", @@ -64,20 +68,15 @@ "name": "repo.searchRefs#1", "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"repo.searchRefs\",\"params\":{\"repo\":\"id:repo-1\",\"query\":\"main\",\"limit\":20}}" }, - "4856f62b3650": { - "name": "workspaceSparsePresets", - "value": [ - { - "directories": ["docs"], - "id": "p1", - "name": "docs" - } - ] - }, "4cedb91a2f7a": { "name": "repo.sparsePresets#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"repo.sparsePresets\",\"params\":{\"repo\":\"id:repo-1\"}}" }, + "539a8c80071f": { + "name": "workspaceSparsePresetsLoaded", + "value": false, + "sent": 0 + }, "57f06e6e349e": { "branchError": "", "branches": [], @@ -91,36 +90,40 @@ "presetsError": "", "presetsLoaded": true }, - "58cb95babab2": { + "66f7aa09c444": { "name": "workspaceBaseBranchLoading", - "value": true + "value": false, + "sent": 1 }, - "5f1c84e00d4f": { - "name": "workspaceBaseBranchResults", - "value": [] + "78f4c8d53e98": { + "name": "workspaceBaseBranchLoading", + "value": true, + "sent": 1 }, - "6c344c5f4ac0": { - "name": "workspaceBaseBranchError", - "value": "" - }, - "8353b8e1a426": { - "name": "workspaceSparsePresetsLoading", - "value": true - }, - "8dbe7ea87a41": { + "8a621ac1da52": { "name": "workspaceBaseBranchResults", "value": [ { "localBranchName": "main", "refName": "main" } - ] + ], + "sent": 2 }, - "9357f7ea8445": { - "name": "workspaceSparsePresetId", - "value": { - "$rpc": "null" - } + "8c08bfbbb957": { + "name": "workspaceSparsePresetsLoaded", + "value": true, + "sent": 1 + }, + "96f470cee43b": { + "name": "workspaceBaseBranchError", + "value": "", + "sent": 1 + }, + "a81d1426bf3c": { + "name": "workspaceBaseBranchLoading", + "value": false, + "sent": 2 }, "b78bcf7ca596": { "branchError": "", @@ -179,13 +182,10 @@ } } }, - "cfc8af2a7169": { - "name": "workspaceSparsePresetsLoading", - "value": false - }, - "dba381378b08": { - "name": "workspaceSparsePresetsError", - "value": "" + "d74e7c93c5be": { + "name": "workspaceBaseBranchResults", + "value": [], + "sent": 1 }, "eb79a9b3682a": { "status": "fulfilled", @@ -194,6 +194,23 @@ "value": { "$rpc": "undefined" } + }, + "f359ebae96d2": { + "name": "workspaceSparsePresetId", + "value": { + "$rpc": "null" + }, + "sent": 1 + }, + "f68a2eba2c59": { + "name": "workspaceSparsePresetsLoading", + "value": true, + "sent": 0 + }, + "ff042d71c647": { + "name": "workspaceSparsePresetsError", + "value": "", + "sent": 0 } }, "recording": { @@ -209,16 +226,16 @@ }, "state": "57f06e6e349e", "effects": [ - "8353b8e1a426", - "273f4074a9b5", - "dba381378b08", - "5f1c84e00d4f", - "35afa5cb107f", - "6c344c5f4ac0", - "4856f62b3650", - "1d9a7d969446", - "9357f7ea8445", - "cfc8af2a7169" + "f68a2eba2c59", + "539a8c80071f", + "ff042d71c647", + "d74e7c93c5be", + "66f7aa09c444", + "96f470cee43b", + "0522501c6443", + "8c08bfbbb957", + "f359ebae96d2", + "1f03192052c0" ] } }, @@ -233,20 +250,20 @@ }, "state": "b78bcf7ca596", "effects": [ - "8353b8e1a426", - "273f4074a9b5", - "dba381378b08", - "5f1c84e00d4f", - "35afa5cb107f", - "6c344c5f4ac0", - "4856f62b3650", - "1d9a7d969446", - "9357f7ea8445", - "cfc8af2a7169", - "58cb95babab2", - "6c344c5f4ac0", - "8dbe7ea87a41", - "35afa5cb107f" + "f68a2eba2c59", + "539a8c80071f", + "ff042d71c647", + "d74e7c93c5be", + "66f7aa09c444", + "96f470cee43b", + "0522501c6443", + "8c08bfbbb957", + "f359ebae96d2", + "1f03192052c0", + "78f4c8d53e98", + "96f470cee43b", + "8a621ac1da52", + "a81d1426bf3c" ] } } diff --git a/mobile/rpc-foundation/goldens/tw-workspace-sparse-missing-preset.json b/mobile/rpc-foundation/goldens/tw-workspace-sparse-missing-preset.json index ab187d6c990..a28d97ff663 100644 --- a/mobile/rpc-foundation/goldens/tw-workspace-sparse-missing-preset.json +++ b/mobile/rpc-foundation/goldens/tw-workspace-sparse-missing-preset.json @@ -3,9 +3,9 @@ "family": "tasks.workspace-sparse", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "4e567302ac8acffcfd602c9b323ecf8b5b7c0c4692bda1a4c881011a91d98979", "scenarioSha256": "865a659012dd882fd6073813585e2911a1d6252404fbf5a5e273f062b89fc91d", "platform": "darwin", @@ -13,6 +13,11 @@ "projectionVersion": 2, "goldenFormatVersion": 5, "values": { + "0a30edace604": { + "name": "workspaceSparsePresetsError", + "value": "Failed to save sparse preset.", + "sent": 2 + }, "193c0bc3cf2a": { "presets": [], "presetsError": "Failed to save sparse preset.", @@ -24,18 +29,25 @@ "targetId": "ssh-1" } }, - "7fd0cde62993": { - "name": "workspaceSparseSaving", - "value": false - }, - "86cc01b1e541": { + "1db4236fbf9f": { "name": "workspaceSshState", "value": { "error": "", "reconnectAttempt": 0, "status": "error", "targetId": "ssh-1" - } + }, + "sent": 1 + }, + "3f2baafe9f80": { + "name": "workspaceSparseSaving", + "value": false, + "sent": 2 + }, + "594fac1293d4": { + "name": "workspaceSparsePresetsError", + "value": "", + "sent": 1 }, "a6bf06ff84e0": { "name": "repo.saveSparsePreset#1", @@ -70,17 +82,10 @@ } } }, - "cea9d7e8986e": { + "c74f5fe12440": { "name": "workspaceSparseSaving", - "value": true - }, - "da3a01640280": { - "name": "workspaceSparsePresetsError", - "value": "Failed to save sparse preset." - }, - "dba381378b08": { - "name": "workspaceSparsePresetsError", - "value": "" + "value": true, + "sent": 1 }, "eb79a9b3682a": { "status": "fulfilled", @@ -147,11 +152,11 @@ }, "state": "193c0bc3cf2a", "effects": [ - "86cc01b1e541", - "cea9d7e8986e", - "dba381378b08", - "da3a01640280", - "7fd0cde62993" + "1db4236fbf9f", + "c74f5fe12440", + "594fac1293d4", + "0a30edace604", + "3f2baafe9f80" ] } } diff --git a/mobile/rpc-foundation/goldens/tw-workspace-sparse-saved.json b/mobile/rpc-foundation/goldens/tw-workspace-sparse-saved.json index 68ec9130db0..9d2d148f069 100644 --- a/mobile/rpc-foundation/goldens/tw-workspace-sparse-saved.json +++ b/mobile/rpc-foundation/goldens/tw-workspace-sparse-saved.json @@ -3,9 +3,9 @@ "family": "tasks.workspace-sparse", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "4e567302ac8acffcfd602c9b323ecf8b5b7c0c4692bda1a4c881011a91d98979", "scenarioSha256": "124f664e339bfd83a1d892e1cd953a78fdf0dc4b20c4272356d24079c72a3e04", "platform": "darwin", @@ -13,13 +13,10 @@ "projectionVersion": 2, "goldenFormatVersion": 5, "values": { - "1d9a7d969446": { - "name": "workspaceSparsePresetsLoaded", - "value": true - }, - "312ed3cbf468": { - "name": "workspaceSparsePresetId", - "value": "p1" + "3f2baafe9f80": { + "name": "workspaceSparseSaving", + "value": false, + "sent": 2 }, "404305aa2e3a": { "presets": [ @@ -40,21 +37,27 @@ "targetId": "ssh-1" } }, - "42bbd034563e": { - "name": "workspaceSparseDraft", + "452edc62bce0": { + "name": "workspaceSshState", "value": { - "$rpc": "null" - } + "error": { + "$rpc": "null" + }, + "reconnectAttempt": 0, + "status": "connected", + "targetId": "ssh-1" + }, + "sent": 1 }, - "4856f62b3650": { - "name": "workspaceSparsePresets", - "value": [ - { - "directories": ["docs"], - "id": "p1", - "name": "docs" - } - ] + "594fac1293d4": { + "name": "workspaceSparsePresetsError", + "value": "", + "sent": 1 + }, + "5b8f6c626989": { + "name": "workspaceSparsePresetId", + "value": "p1", + "sent": 2 }, "5c44ff5f6877": { "name": "repo.saveSparsePreset#1", @@ -95,10 +98,6 @@ } } }, - "7fd0cde62993": { - "name": "workspaceSparseSaving", - "value": false - }, "89aa7a3bd619": { "name": "ssh.getState#1", "args": [ @@ -139,24 +138,26 @@ } } }, - "921f72d7827e": { - "name": "workspaceSshState", - "value": { - "error": { - "$rpc": "null" - }, - "reconnectAttempt": 0, - "status": "connected", - "targetId": "ssh-1" - } + "8a48f96e40fe": { + "name": "workspaceSparsePresets", + "value": [ + { + "directories": ["docs"], + "id": "p1", + "name": "docs" + } + ], + "sent": 2 }, - "cea9d7e8986e": { + "8ff2b79a90fb": { + "name": "workspaceSparsePresetsLoaded", + "value": true, + "sent": 2 + }, + "c74f5fe12440": { "name": "workspaceSparseSaving", - "value": true - }, - "dba381378b08": { - "name": "workspaceSparsePresetsError", - "value": "" + "value": true, + "sent": 1 }, "eb79a9b3682a": { "status": "fulfilled", @@ -179,6 +180,13 @@ "targetId": "ssh-1" } }, + "ef39f35afb7f": { + "name": "workspaceSparseDraft", + "value": { + "$rpc": "null" + }, + "sent": 2 + }, "f9dfbe0c0ea7": { "name": "ssh.getState#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.getState\",\"params\":{\"targetId\":\"ssh-1\"}}" @@ -200,7 +208,7 @@ "mount": "eb79a9b3682a" }, "state": "ee3a941d5e9c", - "effects": ["921f72d7827e"] + "effects": ["452edc62bce0"] } }, { @@ -214,14 +222,14 @@ }, "state": "404305aa2e3a", "effects": [ - "921f72d7827e", - "cea9d7e8986e", - "dba381378b08", - "4856f62b3650", - "1d9a7d969446", - "312ed3cbf468", - "42bbd034563e", - "7fd0cde62993" + "452edc62bce0", + "c74f5fe12440", + "594fac1293d4", + "8a48f96e40fe", + "8ff2b79a90fb", + "5b8f6c626989", + "ef39f35afb7f", + "3f2baafe9f80" ] } } diff --git a/mobile/rpc-foundation/goldens/tw-workspace-ssh-connect-refused.json b/mobile/rpc-foundation/goldens/tw-workspace-ssh-connect-refused.json index 96bd529a316..fe12c76503c 100644 --- a/mobile/rpc-foundation/goldens/tw-workspace-ssh-connect-refused.json +++ b/mobile/rpc-foundation/goldens/tw-workspace-ssh-connect-refused.json @@ -3,9 +3,9 @@ "family": "tasks.workspace-ssh", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "4e567302ac8acffcfd602c9b323ecf8b5b7c0c4692bda1a4c881011a91d98979", "scenarioSha256": "dd25391fdd3dc864ae493f72d013e789884a21e9c71522edc79323bc2b6c7f76", "platform": "darwin", @@ -13,6 +13,11 @@ "projectionVersion": 2, "goldenFormatVersion": 5, "values": { + "0c2cba5f3708": { + "name": "workspaceAgent", + "value": "claude", + "sent": 0 + }, "12826f529c2a": { "name": "ssh.connect#1", "args": [ @@ -47,10 +52,6 @@ } } }, - "1739575ac53e": { - "name": "workspaceSshConnecting", - "value": true - }, "27b09a2898b9": { "name": "preflight.detectRemoteAgents#1", "args": [ @@ -98,16 +99,6 @@ "name": "preflight.detectRemoteAgents#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectRemoteAgents\",\"params\":{\"connectionId\":\"ssh-1\"}}" }, - "41b0d115f434": { - "name": "workspaceDetectedAgentIds", - "value": { - "$rpc": "null" - } - }, - "43fd3e2f4b53": { - "name": "workspaceSshConnecting", - "value": false - }, "55904d40a00f": { "agent": "claude", "connecting": false, @@ -126,6 +117,11 @@ "targetId": "ssh-1" } }, + "77b6cedadbe8": { + "name": "workspaceAgentOverridden", + "value": false, + "sent": 0 + }, "7c9498659f58": { "name": "ssh.connect#1", "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.connect\",\"params\":{\"targetId\":\"ssh-1\"}}" @@ -142,18 +138,37 @@ "targetId": "ssh-1" } }, - "86cc01b1e541": { + "86149ccb0853": { + "name": "workspaceSshConnecting", + "value": true, + "sent": 1 + }, + "8967d4751aaf": { + "name": "workspaceSshState", + "value": { + "error": { + "$rpc": "null" + }, + "reconnectAttempt": 0, + "status": "connecting", + "targetId": "ssh-1" + }, + "sent": 1 + }, + "a745d7e1dd70": { "name": "workspaceSshState", "value": { "error": "", "reconnectAttempt": 0, "status": "error", "targetId": "ssh-1" - } + }, + "sent": 2 }, - "9f152ed6e897": { + "a88df8f43f70": { "name": "workspaceDetectedAgentIds", - "value": [] + "value": [], + "sent": 1 }, "b302d21e1567": { "name": "repo.hooks#1", @@ -193,9 +208,17 @@ } } }, - "ea709e13f0f0": { - "name": "workspaceAgentOverridden", - "value": false + "db1cde7aa6f5": { + "name": "workspaceSshConnecting", + "value": false, + "sent": 2 + }, + "dd9d8bf76a0e": { + "name": "workspaceDetectedAgentIds", + "value": { + "$rpc": "null" + }, + "sent": 0 }, "eb79a9b3682a": { "status": "fulfilled", @@ -205,24 +228,9 @@ "$rpc": "undefined" } }, - "ed6189938d78": { - "name": "workspaceAgent", - "value": "claude" - }, "f0a9f62da106": { "name": "repo.hooks#1", "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"repo.hooks\",\"params\":{\"repo\":\"id:repo-1\"}}" - }, - "fbfdbb919268": { - "name": "workspaceSshState", - "value": { - "error": { - "$rpc": "null" - }, - "reconnectAttempt": 0, - "status": "connecting", - "targetId": "ssh-1" - } } }, "recording": { @@ -239,14 +247,14 @@ }, "state": "8509334ad6ae", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "9f152ed6e897", - "1739575ac53e", - "fbfdbb919268", - "86cc01b1e541", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "a88df8f43f70", + "86149ccb0853", + "8967d4751aaf", + "a745d7e1dd70", + "db1cde7aa6f5" ] } }, @@ -262,14 +270,14 @@ }, "state": "55904d40a00f", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "9f152ed6e897", - "1739575ac53e", - "fbfdbb919268", - "86cc01b1e541", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "a88df8f43f70", + "86149ccb0853", + "8967d4751aaf", + "a745d7e1dd70", + "db1cde7aa6f5" ] } } diff --git a/mobile/rpc-foundation/goldens/tw-workspace-ssh-connected.json b/mobile/rpc-foundation/goldens/tw-workspace-ssh-connected.json index 8893595a9b8..716a636317c 100644 --- a/mobile/rpc-foundation/goldens/tw-workspace-ssh-connected.json +++ b/mobile/rpc-foundation/goldens/tw-workspace-ssh-connected.json @@ -3,9 +3,9 @@ "family": "tasks.workspace-ssh", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "4e567302ac8acffcfd602c9b323ecf8b5b7c0c4692bda1a4c881011a91d98979", "scenarioSha256": "495f51d9c2f7f3d71f53a53e88786b8d1f767a5bf66b8655c28222d2909a964c", "platform": "darwin", @@ -27,9 +27,10 @@ "source": "repo" } }, - "1739575ac53e": { - "name": "workspaceSshConnecting", - "value": true + "0c2cba5f3708": { + "name": "workspaceAgent", + "value": "claude", + "sent": 0 }, "17e35b25d15d": { "name": "preflight.detectRemoteAgents#1", @@ -71,20 +72,22 @@ "$rpc": "null" } }, - "3571f351281f": { - "name": "workspaceDetectedAgentIds", - "value": ["codex"] + "2dcd5a3a771d": { + "name": "workspaceSshState", + "value": { + "error": { + "$rpc": "null" + }, + "reconnectAttempt": 0, + "status": "connected", + "targetId": "ssh-1" + }, + "sent": 2 }, "37921d9fdeb7": { "name": "preflight.detectRemoteAgents#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectRemoteAgents\",\"params\":{\"connectionId\":\"ssh-1\"}}" }, - "41b0d115f434": { - "name": "workspaceDetectedAgentIds", - "value": { - "$rpc": "null" - } - }, "43ead075ce12": { "agent": "claude", "connecting": false, @@ -107,10 +110,6 @@ "targetId": "ssh-1" } }, - "43fd3e2f4b53": { - "name": "workspaceSshConnecting", - "value": false - }, "71d817ffdd81": { "name": "ssh.connect#1", "args": [ @@ -151,6 +150,11 @@ } } }, + "77b6cedadbe8": { + "name": "workspaceAgentOverridden", + "value": false, + "sent": 0 + }, "7c9498659f58": { "name": "ssh.connect#1", "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.connect\",\"params\":{\"targetId\":\"ssh-1\"}}" @@ -198,16 +202,27 @@ } } }, - "921f72d7827e": { + "86149ccb0853": { + "name": "workspaceSshConnecting", + "value": true, + "sent": 1 + }, + "8967d4751aaf": { "name": "workspaceSshState", "value": { "error": { "$rpc": "null" }, "reconnectAttempt": 0, - "status": "connected", + "status": "connecting", "targetId": "ssh-1" - } + }, + "sent": 1 + }, + "8d99fc90d0b0": { + "name": "workspaceDetectedAgentIds", + "value": ["codex"], + "sent": 1 }, "a1f755a38636": { "agent": "claude", @@ -223,9 +238,17 @@ "targetId": "ssh-1" } }, - "ea709e13f0f0": { - "name": "workspaceAgentOverridden", - "value": false + "db1cde7aa6f5": { + "name": "workspaceSshConnecting", + "value": false, + "sent": 2 + }, + "dd9d8bf76a0e": { + "name": "workspaceDetectedAgentIds", + "value": { + "$rpc": "null" + }, + "sent": 0 }, "eb79a9b3682a": { "status": "fulfilled", @@ -235,24 +258,9 @@ "$rpc": "undefined" } }, - "ed6189938d78": { - "name": "workspaceAgent", - "value": "claude" - }, "f0a9f62da106": { "name": "repo.hooks#1", "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"repo.hooks\",\"params\":{\"repo\":\"id:repo-1\"}}" - }, - "fbfdbb919268": { - "name": "workspaceSshState", - "value": { - "error": { - "$rpc": "null" - }, - "reconnectAttempt": 0, - "status": "connecting", - "targetId": "ssh-1" - } } }, "recording": { @@ -267,7 +275,7 @@ "mount": "eb79a9b3682a" }, "state": "18e6a3ac6471", - "effects": ["ed6189938d78", "ea709e13f0f0", "41b0d115f434", "3571f351281f"] + "effects": ["0c2cba5f3708", "77b6cedadbe8", "dd9d8bf76a0e", "8d99fc90d0b0"] } }, { @@ -281,14 +289,14 @@ }, "state": "a1f755a38636", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "3571f351281f", - "1739575ac53e", - "fbfdbb919268", - "921f72d7827e", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "8d99fc90d0b0", + "86149ccb0853", + "8967d4751aaf", + "2dcd5a3a771d", + "db1cde7aa6f5" ] } }, @@ -304,14 +312,14 @@ }, "state": "43ead075ce12", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "3571f351281f", - "1739575ac53e", - "fbfdbb919268", - "921f72d7827e", - "43fd3e2f4b53" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "8d99fc90d0b0", + "86149ccb0853", + "8967d4751aaf", + "2dcd5a3a771d", + "db1cde7aa6f5" ] } } diff --git a/mobile/rpc-foundation/goldens/tw-workspace-ssh-local-agents.json b/mobile/rpc-foundation/goldens/tw-workspace-ssh-local-agents.json index c62985ba0ea..21267fc727a 100644 --- a/mobile/rpc-foundation/goldens/tw-workspace-ssh-local-agents.json +++ b/mobile/rpc-foundation/goldens/tw-workspace-ssh-local-agents.json @@ -3,9 +3,9 @@ "family": "tasks.workspace-ssh-local", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "4e567302ac8acffcfd602c9b323ecf8b5b7c0c4692bda1a4c881011a91d98979", "scenarioSha256": "af0623c2d106d2ed18ef9149d4990539f9ed82146ae091a872a3e1d792efeffe", "platform": "darwin", @@ -13,11 +13,10 @@ "projectionVersion": 2, "goldenFormatVersion": 5, "values": { - "41b0d115f434": { - "name": "workspaceDetectedAgentIds", - "value": { - "$rpc": "null" - } + "0c2cba5f3708": { + "name": "workspaceAgent", + "value": "claude", + "sent": 0 }, "7400f4eebe66": { "agent": "claude", @@ -28,6 +27,11 @@ "$rpc": "null" } }, + "77b6cedadbe8": { + "name": "workspaceAgentOverridden", + "value": false, + "sent": 0 + }, "cb93b17470e8": { "name": "preflight.detectAgents#1", "args": [ @@ -59,17 +63,21 @@ } } }, - "cbb858a786ac": { - "name": "workspaceDetectedAgentIds", - "value": ["codex", "claude"] - }, "cf32edc950ac": { "name": "preflight.detectAgents#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectAgents\"}" }, - "ea709e13f0f0": { - "name": "workspaceAgentOverridden", - "value": false + "d00f9527d4f2": { + "name": "workspaceDetectedAgentIds", + "value": ["codex", "claude"], + "sent": 1 + }, + "dd9d8bf76a0e": { + "name": "workspaceDetectedAgentIds", + "value": { + "$rpc": "null" + }, + "sent": 0 }, "eb79a9b3682a": { "status": "fulfilled", @@ -78,10 +86,6 @@ "value": { "$rpc": "undefined" } - }, - "ed6189938d78": { - "name": "workspaceAgent", - "value": "claude" } }, "recording": { @@ -96,7 +100,7 @@ "mount": "eb79a9b3682a" }, "state": "7400f4eebe66", - "effects": ["ed6189938d78", "ea709e13f0f0", "41b0d115f434", "cbb858a786ac"] + "effects": ["0c2cba5f3708", "77b6cedadbe8", "dd9d8bf76a0e", "d00f9527d4f2"] } } ] diff --git a/mobile/rpc-foundation/goldens/tw-workspace-ssh-not-ready.json b/mobile/rpc-foundation/goldens/tw-workspace-ssh-not-ready.json index c4eeb37ecd0..bb71725c48e 100644 --- a/mobile/rpc-foundation/goldens/tw-workspace-ssh-not-ready.json +++ b/mobile/rpc-foundation/goldens/tw-workspace-ssh-not-ready.json @@ -3,9 +3,9 @@ "family": "tasks.workspace-ssh", "namedDeltas": [], "runnerVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", - "recorderSha256": "2e90933db32efc17d752cf5d506ecdd9ec54ce53ea30ba55021ea3d1bc1d3fb2", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", "adapterSha256": "4e567302ac8acffcfd602c9b323ecf8b5b7c0c4692bda1a4c881011a91d98979", "scenarioSha256": "3aa23f15da8fe9972e47c767db454b41750ca353ab10797082fde4514ffe9da0", "platform": "darwin", @@ -17,6 +17,11 @@ "name": "ssh.getState#1", "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.getState\",\"params\":{\"targetId\":\"ssh-1\"}}" }, + "0c2cba5f3708": { + "name": "workspaceAgent", + "value": "claude", + "sent": 0 + }, "0f1cf505ed63": { "status": "rejected", "startedAt": 0, @@ -71,17 +76,6 @@ "kind": "decision" } }, - "25352a4de532": { - "name": "workspaceSshState", - "value": { - "error": { - "$rpc": "null" - }, - "reconnectAttempt": 0, - "status": "disconnected", - "targetId": "ssh-1" - } - }, "28be8cfc5f01": { "name": "preflight.detectRemoteAgents#1", "args": [ @@ -120,11 +114,22 @@ "name": "preflight.detectRemoteAgents#1", "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectRemoteAgents\",\"params\":{\"connectionId\":\"ssh-1\"}}" }, - "41b0d115f434": { - "name": "workspaceDetectedAgentIds", + "433c16de7ff8": { + "name": "workspaceSshState", "value": { - "$rpc": "null" - } + "error": { + "$rpc": "null" + }, + "reconnectAttempt": 0, + "status": "disconnected", + "targetId": "ssh-1" + }, + "sent": 2 + }, + "77b6cedadbe8": { + "name": "workspaceAgentOverridden", + "value": false, + "sent": 0 }, "8ecc31aa9892": { "name": "ssh.getState#1", @@ -183,9 +188,10 @@ "targetId": "ssh-1" } }, - "9f152ed6e897": { + "a88df8f43f70": { "name": "workspaceDetectedAgentIds", - "value": [] + "value": [], + "sent": 1 }, "d3698fc526a8": { "agent": "claude", @@ -201,9 +207,12 @@ "targetId": "ssh-1" } }, - "ea709e13f0f0": { - "name": "workspaceAgentOverridden", - "value": false + "dd9d8bf76a0e": { + "name": "workspaceDetectedAgentIds", + "value": { + "$rpc": "null" + }, + "sent": 0 }, "eb79a9b3682a": { "status": "fulfilled", @@ -213,10 +222,6 @@ "$rpc": "undefined" } }, - "ed6189938d78": { - "name": "workspaceAgent", - "value": "claude" - }, "f0a9f62da106": { "name": "repo.hooks#1", "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"repo.hooks\",\"params\":{\"repo\":\"id:repo-1\"}}" @@ -236,11 +241,11 @@ }, "state": "d3698fc526a8", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "9f152ed6e897", - "25352a4de532" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "a88df8f43f70", + "433c16de7ff8" ] } }, @@ -256,11 +261,11 @@ }, "state": "9a9cd2877569", "effects": [ - "ed6189938d78", - "ea709e13f0f0", - "41b0d115f434", - "9f152ed6e897", - "25352a4de532" + "0c2cba5f3708", + "77b6cedadbe8", + "dd9d8bf76a0e", + "a88df8f43f70", + "433c16de7ff8" ] } } diff --git a/mobile/rpc-foundation/goldens/worktree-catalog-snapshot.json b/mobile/rpc-foundation/goldens/worktree-catalog-snapshot.json new file mode 100644 index 00000000000..77bc778b9bf --- /dev/null +++ b/mobile/rpc-foundation/goldens/worktree-catalog-snapshot.json @@ -0,0 +1,179 @@ +{ + "operation": "worktree.catalog-snapshot", + "family": "worktree.catalog-snapshot", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "4e942ddfbaa0ba6bfc2993969276987f6528ac53765d125e99a830e261f93a8e", + "scenarioSha256": "d2947158840576cbd0f0604ed3d37b0f446c63c6d439b4d1b7def7fe8524523d", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "227f9e3de4fa": { + "name": "worktree.ps#1", + "args": [ + { + "name": "method", + "value": "worktree.ps" + }, + { + "name": "params", + "value": { + "afterSnapshotId": { + "$rpc": "null" + }, + "limit": 10000 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "snapshotId": "snapshot-1", + "worktrees": [ + { + "displayName": "One", + "repo": "Repo", + "worktreeId": "w-1" + } + ] + } + } + } + }, + "253b98015b8d": { + "admitted": "unadmitted", + "fetched": "unfetched" + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "9948855e8b8d": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "kind": "response", + "pending": { + "admission": { + "kind": "full", + "snapshotId": "snapshot-1", + "worktrees": [ + { + "displayName": "One", + "repo": "Repo", + "worktreeId": "w-1" + } + ] + }, + "client": "logical-client", + "hostId": "host-1" + } + } + }, + "a87f1f91dc98": { + "name": "worktree.ps#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.ps\",\"params\":{\"limit\":10000,\"afterSnapshotId\":null,\"supportsWorktreeVisibilitySourceDefaults\":true}}" + }, + "ab1a9ba6301c": { + "admitted": [ + { + "displayName": "One", + "repo": "Repo", + "worktreeId": "w-1" + } + ], + "fetched": { + "kind": "response", + "pending": { + "admission": { + "kind": "full", + "snapshotId": "snapshot-1", + "worktrees": [ + { + "displayName": "One", + "repo": "Repo", + "worktreeId": "w-1" + } + ] + }, + "client": "logical-client", + "hostId": "host-1" + } + } + }, + "f97b6b46b1d5": { + "name": "worktree.ps#1", + "args": [ + { + "name": "method", + "value": "worktree.ps" + }, + { + "name": "params", + "value": { + "afterSnapshotId": { + "$rpc": "null" + }, + "limit": 10000 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + } + }, + "recording": { + "scenario": "worktree-catalog-snapshot", + "checkpoints": [ + { + "id": "catalog-pending", + "observation": { + "sender": ["f97b6b46b1d5"], + "payloads": ["a87f1f91dc98"], + "settlements": { + "fetch": "9270aeb7d9c6" + }, + "state": "253b98015b8d", + "effects": [] + } + }, + { + "id": "settled", + "observation": { + "sender": ["227f9e3de4fa"], + "payloads": ["a87f1f91dc98"], + "settlements": { + "fetch": "9948855e8b8d" + }, + "state": "ab1a9ba6301c", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/worktree-home-catalog.json b/mobile/rpc-foundation/goldens/worktree-home-catalog.json new file mode 100644 index 00000000000..d256cad6ab0 --- /dev/null +++ b/mobile/rpc-foundation/goldens/worktree-home-catalog.json @@ -0,0 +1,166 @@ +{ + "operation": "worktree.home-catalog", + "family": "worktree.home-catalog", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "4e942ddfbaa0ba6bfc2993969276987f6528ac53765d125e99a830e261f93a8e", + "scenarioSha256": "4749bb3b871275ba08f026f9b6bcfd383605f443e7bba70a7f89175b91db6fa5", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "2e82f8bbb1f1": { + "name": "worktree.ps#1", + "args": [ + { + "name": "method", + "value": "worktree.ps" + }, + { + "name": "params", + "value": { + "limit": 10000 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "worktrees": [ + { + "displayName": "One", + "repo": "Repo", + "status": "working", + "worktreeId": "w-1" + }, + { + "displayName": "Two", + "repo": "Repo", + "status": "idle", + "worktreeId": "w-2" + } + ] + } + } + } + }, + "39b7354b00f4": { + "host-1": { + "activeCount": 1, + "countsProvenAt": 1767225600000, + "hostId": "host-1", + "lastActiveWorktree": { + "displayName": "One", + "repo": "Repo", + "status": "working", + "worktreeId": "w-1" + }, + "totalWorktrees": 2 + } + }, + "44136fa355b3": {}, + "4912be5d956f": { + "name": "worktree.ps#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.ps\",\"params\":{\"limit\":10000,\"supportsWorktreeVisibilitySourceDefaults\":true}}" + }, + "86091b4d2b73": { + "name": "info", + "value": { + "host-1": { + "activeCount": 1, + "countsProvenAt": 1767225600000, + "hostId": "host-1", + "lastActiveWorktree": { + "displayName": "One", + "repo": "Repo", + "status": "working", + "worktreeId": "w-1" + }, + "totalWorktrees": 2 + } + }, + "sent": 1 + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "bc1a8e138f82": { + "name": "worktree.ps#1", + "args": [ + { + "name": "method", + "value": "worktree.ps" + }, + { + "name": "params", + "value": { + "limit": 10000 + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "worktree-home-catalog", + "checkpoints": [ + { + "id": "catalog-pending", + "observation": { + "sender": ["bc1a8e138f82"], + "payloads": ["4912be5d956f"], + "settlements": { + "load": "9270aeb7d9c6" + }, + "state": "44136fa355b3", + "effects": [] + } + }, + { + "id": "settled", + "observation": { + "sender": ["2e82f8bbb1f1"], + "payloads": ["4912be5d956f"], + "settlements": { + "load": "eb79a9b3682a" + }, + "state": "39b7354b00f4", + "effects": ["86091b4d2b73"] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/goldens/worktree-retired-names.json b/mobile/rpc-foundation/goldens/worktree-retired-names.json new file mode 100644 index 00000000000..35a18f15e89 --- /dev/null +++ b/mobile/rpc-foundation/goldens/worktree-retired-names.json @@ -0,0 +1,133 @@ +{ + "operation": "worktree.retired-names", + "family": "worktree.retired-names", + "namedDeltas": [], + "runnerVersion": 1, + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", + "lockfileSha256": "788c1234b38a61fc882fca292341fce6690deee9cc6695673b0575cf2c4cf571", + "recorderSha256": "64a741e034b13bca69c466f93f713aa5c0cf3fbb2bbb02f357003506b17fe353", + "adapterSha256": "4e942ddfbaa0ba6bfc2993969276987f6528ac53765d125e99a830e261f93a8e", + "scenarioSha256": "2faa07ee5f12b3ed584117359d3b7aeb9c78a04e8fc49e753372f8c3927a3740", + "platform": "darwin", + "scenarioVersion": 1, + "projectionVersion": 2, + "goldenFormatVersion": 5, + "values": { + "569633c0c5c5": { + "name": "worktree.listRetiredNames#1", + "args": [ + { + "name": "method", + "value": "worktree.listRetiredNames" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "5e2e60e145d8": { + "name": "worktree.listRetiredNames#1", + "args": [ + { + "name": "method", + "value": "worktree.listRetiredNames" + }, + { + "name": "params", + "value": { + "repo": "id:repo-1" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-1", + "ok": true, + "result": { + "retiredNameTiersByRepo": { + "repo-1": 2 + }, + "retiredNamesByRepo": { + "repo-1": ["marlin", "orca"] + } + } + } + } + }, + "85d826c606ff": { + "registry": { + "exhaustedTiers": 2, + "names": ["marlin", "orca"] + } + }, + "ba7d8283433b": { + "name": "worktree.listRetiredNames#1", + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.listRetiredNames\",\"params\":{\"repo\":\"id:repo-1\"}}" + }, + "cb76d0017b96": { + "registry": { + "exhaustedTiers": 0, + "names": [] + } + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + } + }, + "recording": { + "scenario": "worktree-retired-names", + "checkpoints": [ + { + "id": "names-pending", + "observation": { + "sender": ["569633c0c5c5"], + "payloads": ["ba7d8283433b"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "cb76d0017b96", + "effects": [] + } + }, + { + "id": "settled", + "observation": { + "sender": ["5e2e60e145d8"], + "payloads": ["ba7d8283433b"], + "settlements": { + "mount": "eb79a9b3682a" + }, + "state": "85d826c606ff", + "effects": [] + } + } + ] + } +} diff --git a/mobile/rpc-foundation/pilot-scenarios.json b/mobile/rpc-foundation/pilot-scenarios.json index 1443895a1a8..7d298335865 100644 --- a/mobile/rpc-foundation/pilot-scenarios.json +++ b/mobile/rpc-foundation/pilot-scenarios.json @@ -1,6 +1,6 @@ { "schemaVersion": 1, - "baseline": "c6a72169843ececf3a21da370ac50c5c5a4e6462", + "baseline": "e7206f62a827f4fe0a2badf3eecd2167b8ac4285", "scenarios": [ { "id": "b1", @@ -6753,6 +6753,11947 @@ "checkpoint": "awaited-trust-write-refused" } ] + }, + { + "id": "files-ownership-ssh", + "operation": "files.mutation-ownership", + "version": 1, + "family": "files.mutation-ownership", + "sites": ["mobile/src/files/mobile-file-mutation-ownership.ts"], + "schedules": [], + "steps": [ + { + "action": "capture", + "id": "capture" + }, + { + "checkpoint": "status-pending" + }, + { + "complete": "status.get#1", + "params": { + "$undefined": true + }, + "reply": { + "ok": true, + "result": { + "capabilities": ["files.mutation-ownership.v1"] + } + } + }, + { + "complete": "worktree.show#1", + "params": { + "worktree": "id:workspace-1" + }, + "reply": { + "ok": true, + "result": { + "worktree": { + "hostId": "ssh:target-1" + } + } + } + }, + { + "complete": "ssh.getState#1", + "params": { + "targetId": "target-1" + }, + "reply": { + "ok": true, + "result": { + "state": { + "targetId": "target-1", + "status": "connected", + "error": null, + "reconnectAttempt": 0, + "connectionGeneration": 3 + } + } + } + }, + { + "checkpoint": "settled" + } + ] + }, + { + "id": "files-ownership-local", + "operation": "files.mutation-ownership", + "version": 1, + "family": "files.mutation-ownership", + "sites": ["mobile/src/files/mobile-file-mutation-ownership.ts"], + "schedules": [], + "steps": [ + { + "action": "capture", + "id": "capture" + }, + { + "complete": "status.get#1", + "params": { + "$undefined": true + }, + "reply": { + "ok": true, + "result": { + "capabilities": ["files.mutation-ownership.v1"] + } + } + }, + { + "complete": "worktree.show#1", + "params": { + "worktree": "id:workspace-1" + }, + "reply": { + "ok": true, + "result": { + "worktree": { + "hostId": "local" + } + } + } + }, + { + "checkpoint": "settled" + } + ] + }, + { + "id": "files-preview-grant-refresh", + "operation": "files.preview-load", + "version": 1, + "family": "files.preview-load", + "sites": [ + "mobile/src/files/mobile-file-preview-request.ts", + "mobile/src/files/mobile-terminal-artifact-grant-refresh.ts" + ], + "schedules": [], + "steps": [ + { + "action": "artifact", + "id": "load" + }, + { + "checkpoint": "read-pending" + }, + { + "complete": "files.readTerminalArtifact#1", + "params": { + "worktree": "id:workspace-1", + "absolutePath": "/logs/run.txt", + "grantId": "grant-1" + }, + "reply": { + "ok": false, + "error": { + "code": "terminal_file_grant_expired", + "message": "Grant expired" + } + } + }, + { + "complete": "files.resolveTerminalPath#1", + "params": { + "worktree": "id:workspace-1", + "pathText": "run.txt", + "cwd": "/logs", + "terminal": "terminal-1" + }, + "reply": { + "ok": true, + "result": { + "exists": true, + "isDirectory": false, + "openTarget": { + "kind": "absolute-file", + "absolutePath": "/logs/run.txt", + "grantId": "grant-2" + } + } + } + }, + { + "complete": "files.readTerminalArtifact#2", + "params": { + "worktree": "id:workspace-1", + "absolutePath": "/logs/run.txt", + "grantId": "grant-2" + }, + "reply": { + "ok": true, + "result": { + "content": "hello", + "truncated": false, + "byteLength": 5 + } + } + }, + { + "checkpoint": "settled" + } + ] + }, + { + "id": "files-preview-artifact-direct", + "operation": "files.preview-load", + "version": 1, + "family": "files.preview-load", + "sites": [ + "mobile/src/files/mobile-file-preview-request.ts", + "mobile/src/files/mobile-terminal-artifact-grant-refresh.ts" + ], + "schedules": [], + "steps": [ + { + "action": "artifact", + "id": "load" + }, + { + "complete": "files.readTerminalArtifact#1", + "params": { + "worktree": "id:workspace-1", + "absolutePath": "/logs/run.txt", + "grantId": "grant-1" + }, + "reply": { + "ok": true, + "result": { + "content": "hello", + "truncated": false, + "byteLength": 5 + } + } + }, + { + "checkpoint": "settled" + } + ] + }, + { + "id": "files-preview-worktree", + "operation": "files.preview-load", + "version": 1, + "family": "files.preview-load", + "sites": ["mobile/src/files/mobile-file-preview-request.ts"], + "schedules": [], + "steps": [ + { + "action": "worktree", + "id": "load" + }, + { + "complete": "files.read#1", + "params": { + "worktree": "id:workspace-1", + "relativePath": "docs/readme.md" + }, + "reply": { + "ok": true, + "result": { + "content": "# readme", + "truncated": false, + "byteLength": 8 + } + } + }, + { + "checkpoint": "settled" + } + ] + }, + { + "id": "files-preview-worktree-image", + "operation": "files.preview-load", + "version": 1, + "family": "files.preview-load", + "sites": ["mobile/src/files/mobile-file-preview-request.ts"], + "schedules": [], + "steps": [ + { + "action": "worktree", + "id": "load", + "args": { + "path": "docs/logo.png" + } + }, + { + "complete": "files.readPreview#1", + "params": { + "worktree": "id:workspace-1", + "relativePath": "docs/logo.png" + }, + "reply": { + "ok": true, + "result": { + "content": "aGk=", + "isBinary": true, + "isImage": true, + "mimeType": "image/png" + } + } + }, + { + "checkpoint": "settled" + } + ] + }, + { + "id": "files-preview-artifact-image", + "operation": "files.preview-load", + "version": 1, + "family": "files.preview-load", + "sites": ["mobile/src/files/mobile-file-preview-request.ts"], + "schedules": [], + "steps": [ + { + "action": "artifact", + "id": "load", + "args": { + "path": "/logs/shot.png" + } + }, + { + "complete": "files.readTerminalArtifactPreview#1", + "params": { + "worktree": "id:workspace-1", + "absolutePath": "/logs/shot.png", + "grantId": "grant-1" + }, + "reply": { + "ok": true, + "result": { + "content": "aGk=", + "isBinary": true, + "isImage": true, + "mimeType": "image/png" + } + } + }, + { + "checkpoint": "settled" + } + ] + }, + { + "id": "files-save-verified", + "operation": "files.preview-save", + "version": 1, + "family": "files.preview-save", + "sites": [ + "mobile/src/files/mobile-file-preview-request.ts", + "mobile/src/files/mobile-terminal-artifact-grant-refresh.ts" + ], + "schedules": [], + "steps": [ + { + "action": "verified", + "id": "save" + }, + { + "checkpoint": "verify-pending" + }, + { + "complete": "files.readTerminalArtifact#1", + "params": { + "worktree": "id:workspace-1", + "absolutePath": "/logs/run.txt", + "grantId": "grant-1" + }, + "reply": { + "ok": true, + "result": { + "content": "base", + "truncated": false, + "byteLength": 4 + } + } + }, + { + "complete": "files.writeTerminalArtifact#1", + "params": { + "worktree": "id:workspace-1", + "absolutePath": "/logs/run.txt", + "grantId": "grant-1", + "content": "next" + }, + "reply": { + "ok": true, + "result": { + "ok": true + } + } + }, + { + "checkpoint": "settled" + } + ] + }, + { + "id": "files-save-blind", + "operation": "files.preview-save", + "version": 1, + "family": "files.preview-save", + "sites": [ + "mobile/src/files/mobile-file-preview-request.ts", + "mobile/src/files/mobile-terminal-artifact-grant-refresh.ts" + ], + "schedules": [], + "steps": [ + { + "action": "blind", + "id": "save" + }, + { + "complete": "files.writeTerminalArtifact#1", + "params": { + "worktree": "id:workspace-1", + "absolutePath": "/logs/run.txt", + "grantId": "grant-1", + "content": "next" + }, + "reply": { + "ok": true, + "result": { + "ok": true + } + } + }, + { + "checkpoint": "settled" + } + ] + }, + { + "id": "files-tab-doc-shapes", + "operation": "files.tab-doc", + "version": 1, + "family": "files.tab-doc", + "sites": ["mobile/src/files/mobile-file-tab-doc.ts"], + "schedules": [], + "steps": [ + { + "action": "text", + "id": "text" + }, + { + "complete": "files.read#1", + "params": { + "worktree": "id:workspace-1", + "relativePath": "docs/readme.md" + }, + "reply": { + "ok": true, + "result": { + "content": "# readme", + "truncated": false, + "byteLength": 8 + } + } + }, + { + "action": "image", + "id": "image" + }, + { + "complete": "files.readPreview#1", + "params": { + "worktree": "id:workspace-1", + "relativePath": "docs/logo.png" + }, + "reply": { + "ok": true, + "result": { + "content": "aGk=", + "isImage": true, + "mimeType": "image/png" + } + } + }, + { + "action": "diff", + "id": "diff" + }, + { + "complete": "git.diff#1", + "params": { + "worktree": "id:workspace-1", + "filePath": "docs/readme.md", + "staged": true + }, + "reply": { + "ok": true, + "result": { + "kind": "text", + "originalContent": "a\n", + "modifiedContent": "b\n" + } + } + }, + { + "checkpoint": "settled" + } + ] + }, + { + "id": "components-target-ssh", + "operation": "components.execution-target", + "version": 1, + "family": "components.execution-target", + "sites": ["mobile/src/components/use-new-workspace-execution-target.ts"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "checkpoint": "state-pending" + }, + { + "complete": "ssh.getState#1", + "params": { + "targetId": "ssh-1" + }, + "reply": { + "ok": true, + "result": { + "state": { + "targetId": "ssh-1", + "status": "connected", + "error": null, + "reconnectAttempt": 0 + } + } + } + }, + { + "complete": "preflight.detectRemoteAgents#1", + "params": { + "connectionId": "ssh-1" + }, + "reply": { + "ok": true, + "result": ["codex"] + } + }, + { + "action": "connect", + "id": "connect" + }, + { + "complete": "ssh.connect#1", + "params": { + "targetId": "ssh-1" + }, + "reply": { + "ok": true, + "result": { + "state": { + "targetId": "ssh-1", + "status": "connected", + "error": null, + "reconnectAttempt": 0 + } + } + } + }, + { + "checkpoint": "settled" + } + ] + }, + { + "id": "components-target-local", + "operation": "components.execution-target-local", + "version": 1, + "family": "components.execution-target-local", + "sites": ["mobile/src/components/use-new-workspace-execution-target.ts"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "checkpoint": "detect-pending" + }, + { + "complete": "preflight.detectAgents#1", + "params": { + "$undefined": true + }, + "reply": { + "ok": true, + "result": ["claude"] + } + }, + { + "checkpoint": "settled" + } + ] + }, + { + "id": "components-setup-ask", + "operation": "components.setup-script", + "version": 1, + "family": "components.setup-script", + "sites": ["mobile/src/components/use-new-workspace-setup-script.ts"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "checkpoint": "hooks-pending" + }, + { + "complete": "repo.hooks#1", + "params": { + "repo": "id:repo-1" + }, + "reply": { + "ok": true, + "result": { + "hooks": { + "scripts": { + "setup": "pnpm install" + } + }, + "source": "repo", + "setupRunPolicy": "ask", + "setupTrust": null + } + } + }, + { + "checkpoint": "settled" + } + ] + }, + { + "id": "components-codex-capability", + "operation": "components.codex-reset-capability", + "version": 1, + "family": "components.codex-reset-capability", + "sites": ["mobile/src/components/codex-reset-credit-capability.ts"], + "schedules": [], + "steps": [ + { + "action": "probe", + "id": "probe" + }, + { + "complete": "status.get#1", + "params": { + "$undefined": true + }, + "reply": { + "ok": true, + "result": { + "capabilities": ["accounts.codex-reset-credit.v1"] + } + } + }, + { + "checkpoint": "settled" + } + ] + }, + { + "id": "host-view-settings-sync", + "operation": "host.view-settings", + "version": 1, + "family": "host.view-settings", + "sites": ["mobile/src/host-screen/use-host-view-settings.ts"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "action": "sync", + "id": "sync" + }, + { + "checkpoint": "ui-pending" + }, + { + "complete": "ui.get#1", + "params": { + "$undefined": true + }, + "reply": { + "ok": true, + "result": { + "ui": { + "sortBy": "name", + "groupBy": "repo", + "hideSleepingWorkspaces": true + } + } + } + }, + { + "action": "sort", + "id": "sort" + }, + { + "complete": "ui.set#1", + "params": { + "sortBy": "name" + }, + "reply": { + "ok": true, + "result": { + "ok": true + } + } + }, + { + "checkpoint": "settled" + } + ] + }, + { + "id": "home-host-stats", + "operation": "home.host-stats", + "version": 1, + "family": "home.host-stats", + "sites": ["mobile/src/home/mobile-home-host-requests.ts"], + "schedules": [], + "steps": [ + { + "action": "load", + "id": "load" + }, + { + "checkpoint": "stats-pending" + }, + { + "complete": "stats.summary#1", + "params": { + "$undefined": true + }, + "reply": { + "ok": true, + "result": { + "totalWorktrees": 3, + "activeWorktrees": 1 + } + } + }, + { + "checkpoint": "settled" + } + ] + }, + { + "id": "worktree-home-catalog", + "operation": "worktree.home-catalog", + "version": 1, + "family": "worktree.home-catalog", + "sites": ["mobile/src/worktree/home-host-worktree-fetch.ts"], + "schedules": [], + "steps": [ + { + "action": "load", + "id": "load" + }, + { + "checkpoint": "catalog-pending" + }, + { + "complete": "worktree.ps#1", + "params": { + "limit": 10000, + "supportsWorktreeVisibilitySourceDefaults": true + }, + "reply": { + "ok": true, + "result": { + "worktrees": [ + { + "worktreeId": "w-1", + "displayName": "One", + "repo": "Repo", + "status": "working" + }, + { + "worktreeId": "w-2", + "displayName": "Two", + "repo": "Repo", + "status": "idle" + } + ] + } + } + }, + { + "checkpoint": "settled" + } + ] + }, + { + "id": "worktree-catalog-snapshot", + "operation": "worktree.catalog-snapshot", + "version": 1, + "family": "worktree.catalog-snapshot", + "sites": ["mobile/src/worktree/worktree-catalog-snapshot-client.ts"], + "schedules": [], + "steps": [ + { + "action": "fetch", + "id": "fetch" + }, + { + "checkpoint": "catalog-pending" + }, + { + "complete": "worktree.ps#1", + "params": { + "limit": 10000, + "supportsWorktreeVisibilitySourceDefaults": true, + "afterSnapshotId": null + }, + "reply": { + "ok": true, + "result": { + "snapshotId": "snapshot-1", + "worktrees": [ + { + "worktreeId": "w-1", + "displayName": "One", + "repo": "Repo" + } + ] + } + } + }, + { + "checkpoint": "settled" + } + ] + }, + { + "id": "worktree-retired-names", + "operation": "worktree.retired-names", + "version": 1, + "family": "worktree.retired-names", + "sites": ["mobile/src/worktree/use-retired-worktree-names.ts"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "checkpoint": "names-pending" + }, + { + "complete": "worktree.listRetiredNames#1", + "params": { + "repo": "id:repo-1" + }, + "reply": { + "ok": true, + "result": { + "retiredNamesByRepo": { + "repo-1": ["marlin", "orca"] + }, + "retiredNameTiersByRepo": { + "repo-1": 2 + } + } + } + }, + { + "checkpoint": "settled" + } + ] + }, + { + "id": "host-worktree-actions-pin-open-delete", + "operation": "host.worktree-actions", + "version": 1, + "family": "host.worktree-actions", + "sites": ["mobile/src/host-screen/use-host-worktree-actions.ts"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "action": "toggle-pin", + "id": "toggle-pin" + }, + { + "checkpoint": "pin-optimistic" + }, + { + "complete": "worktree.set#1", + "params": { + "worktree": "id:wt-1", + "isPinned": true + }, + "reply": { + "ok": true, + "result": { + "ok": true + } + } + }, + { + "action": "open-session", + "id": "open-session" + }, + { + "complete": "worktree.activate#1", + "params": { + "worktree": "id:wt-1", + "notifyClients": false, + "navigation": "caller" + }, + "reply": { + "ok": true, + "result": { + "ok": true + } + } + }, + { + "action": "delete", + "id": "delete" + }, + { + "checkpoint": "delete-optimistic" + }, + { + "complete": "worktree.rm#1", + "params": { + "worktree": "id:wt-1", + "force": true + }, + "reply": { + "ok": true, + "result": { + "ok": true + } + } + }, + { + "checkpoint": "settled" + } + ] + }, + { + "id": "host-worktree-delete-refused", + "operation": "host.worktree-actions", + "version": 1, + "family": "host.worktree-actions", + "sites": ["mobile/src/host-screen/use-host-worktree-actions.ts"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "action": "delete", + "id": "delete" + }, + { + "checkpoint": "delete-optimistic" + }, + { + "complete": "worktree.rm#1", + "params": { + "worktree": "id:wt-1", + "force": true + }, + "reply": { + "ok": false, + "error": { + "code": "worktree_busy", + "message": "Worktree is busy" + } + } + }, + { + "checkpoint": "restored" + } + ] + }, + { + "id": "pr-read-surface", + "operation": "session.pr-reads", + "version": 1, + "family": "github.pr-read", + "sites": ["mobile/src/session/github-pr-rpc.ts"], + "schedules": [], + "steps": [ + { + "checkpoint": "pending" + }, + { + "action": "repo-slug", + "id": "repo-slug" + }, + { + "complete": "github.repoSlug#1", + "params": { + "repo": "id:repo-9" + }, + "reply": { + "ok": true, + "result": { + "owner": "orca", + "repo": "orca", + "host": "github.com" + } + } + }, + { + "checkpoint": "repo-slug" + }, + { + "action": "hosted-review", + "id": "hosted-review" + }, + { + "complete": "hostedReview.forBranch#1", + "params": { + "repo": "id:repo-9", + "branch": "feature", + "linkedGitHubPR": 12, + "active": true + }, + "reply": { + "ok": true, + "result": { + "provider": "github", + "number": 12, + "title": "Recorded", + "state": "open", + "url": "https://x/12", + "updatedAt": "2026-01-01", + "mergeable": "MERGEABLE" + } + } + }, + { + "checkpoint": "hosted-review" + }, + { + "action": "pr-for-branch", + "id": "pr-for-branch" + }, + { + "complete": "github.prForBranch#1", + "params": { + "repo": "id:repo-9", + "branch": "feature", + "linkedPRNumber": null + }, + "reply": { + "ok": true, + "result": { + "kind": "found", + "pr": { + "number": 12, + "state": "open", + "title": "Recorded", + "url": "https://x/12", + "headSha": "head-sha-1", + "mergeable": "MERGEABLE" + }, + "fetchedAt": 0 + } + } + }, + { + "checkpoint": "pr-for-branch" + }, + { + "action": "work-item", + "id": "work-item" + }, + { + "complete": "github.workItemDetails#1", + "params": { + "repo": "id:repo-9", + "number": 12, + "type": "pr" + }, + "reply": { + "ok": true, + "result": { + "item": { + "id": "PR_1", + "number": 12, + "type": "pr", + "state": "open", + "title": "Recorded", + "labels": [], + "assignees": [] + }, + "body": "body", + "headSha": "head-sha-1" + } + } + }, + { + "checkpoint": "work-item" + }, + { + "action": "checks", + "id": "checks" + }, + { + "complete": "github.prChecks#1", + "params": { + "repo": "id:repo-9", + "prNumber": 12, + "headSha": "head-sha-1" + }, + "reply": { + "ok": true, + "result": [ + { + "name": "build", + "status": "completed", + "conclusion": "success", + "checkRunId": 7 + } + ] + } + }, + { + "checkpoint": "checks" + }, + { + "action": "check-details", + "id": "check-details" + }, + { + "complete": "github.prCheckDetails#1", + "params": { + "repo": "id:repo-9", + "checkRunId": 7, + "checkName": "build", + "url": null + }, + "reply": { + "ok": true, + "result": { + "name": "build", + "status": "completed", + "conclusion": "success", + "annotations": [], + "jobs": [] + } + } + }, + { + "checkpoint": "check-details" + }, + { + "action": "assignable", + "id": "assignable" + }, + { + "complete": "github.listAssignableUsers#1", + "params": { + "repo": "id:repo-9" + }, + "reply": { + "ok": true, + "result": [ + { + "login": "octocat", + "name": "Octo Cat" + } + ] + } + }, + { + "checkpoint": "assignable" + } + ] + }, + { + "id": "pr-read-fork-routing", + "operation": "session.pr-reads", + "version": 1, + "family": "github.pr-read", + "sites": ["mobile/src/session/github-pr-rpc.ts"], + "schedules": [], + "steps": [ + { + "action": "checks", + "id": "fork-checks", + "args": { + "fork": true + } + }, + { + "complete": "github.prChecks#1", + "params": { + "repo": "id:repo-9", + "prNumber": 12, + "headSha": "head-sha-1", + "prRepo": { + "owner": "fork-owner", + "repo": "fork-repo", + "host": "github.enterprise.test" + } + }, + "reply": { + "ok": true, + "result": [ + { + "name": "build", + "status": "completed", + "conclusion": "success", + "checkRunId": 7 + } + ] + } + }, + { + "checkpoint": "fork-checks" + }, + { + "action": "check-details", + "id": "fork-check-details", + "args": { + "fork": true + } + }, + { + "complete": "github.prCheckDetails#1", + "params": { + "repo": "id:repo-9", + "checkRunId": 7, + "checkName": "build", + "url": null, + "prRepo": { + "owner": "fork-owner", + "repo": "fork-repo", + "host": "github.enterprise.test" + } + }, + "reply": { + "ok": true, + "result": { + "name": "build", + "status": "completed", + "conclusion": "success", + "annotations": [], + "jobs": [] + } + } + }, + { + "checkpoint": "fork-check-details" + }, + { + "action": "checks", + "id": "no-head-sha", + "args": { + "headSha": null + } + }, + { + "complete": "github.prChecks#2", + "params": { + "repo": "id:repo-9", + "prNumber": 12 + }, + "reply": { + "ok": true, + "result": [ + { + "name": "build", + "status": "completed", + "conclusion": "success", + "checkRunId": 7 + } + ] + } + }, + { + "checkpoint": "no-head-sha" + } + ] + }, + { + "id": "pr-read-upstream-error", + "operation": "session.pr-reads", + "version": 1, + "family": "github.pr-read", + "sites": ["mobile/src/session/github-pr-rpc.ts"], + "schedules": [], + "steps": [ + { + "action": "pr-for-branch", + "id": "upstream" + }, + { + "complete": "github.prForBranch#1", + "params": { + "repo": "id:repo-9", + "branch": "feature", + "linkedPRNumber": null + }, + "reply": { + "ok": true, + "result": { + "kind": "upstream-error", + "message": "GitHub API rate limit exceeded", + "fetchedAt": 0 + } + } + }, + { + "checkpoint": "upstream" + }, + { + "action": "pr-for-branch", + "id": "malformed" + }, + { + "complete": "github.prForBranch#2", + "params": { + "repo": "id:repo-9", + "branch": "feature", + "linkedPRNumber": null + }, + "reply": { + "ok": true, + "result": { + "kind": "found", + "pr": { + "state": "open" + }, + "fetchedAt": 0 + } + } + }, + { + "checkpoint": "malformed" + }, + { + "action": "pr-for-branch", + "id": "no-pr" + }, + { + "complete": "github.prForBranch#3", + "params": { + "repo": "id:repo-9", + "branch": "feature", + "linkedPRNumber": null + }, + "reply": { + "ok": true, + "result": null + } + }, + { + "checkpoint": "no-pr" + } + ] + }, + { + "id": "pr-mutation-status", + "operation": "session.pr-mutations", + "version": 1, + "family": "github.pr-mutation", + "sites": ["mobile/src/session/github-pr-mutations.ts"], + "schedules": [], + "steps": [ + { + "checkpoint": "pending" + }, + { + "action": "merge", + "id": "merge" + }, + { + "complete": "github.mergePR#1", + "params": { + "repo": "id:repo-9", + "prNumber": 12, + "method": "squash" + }, + "reply": { + "ok": true, + "result": { + "ok": true + } + } + }, + { + "checkpoint": "merge" + }, + { + "action": "auto-merge", + "id": "auto-merge" + }, + { + "complete": "github.setPRAutoMerge#1", + "params": { + "repo": "id:repo-9", + "prNumber": 12, + "enabled": true + }, + "reply": { + "ok": true, + "result": { + "ok": true + } + } + }, + { + "checkpoint": "auto-merge" + }, + { + "action": "close", + "id": "close" + }, + { + "complete": "github.updatePRState#1", + "params": { + "repo": "id:repo-9", + "prNumber": 12, + "updates": { + "state": "closed" + } + }, + "reply": { + "ok": true, + "result": { + "ok": true + } + } + }, + { + "checkpoint": "close" + }, + { + "action": "request-reviewers", + "id": "request-reviewers" + }, + { + "complete": "github.requestPRReviewers#1", + "params": { + "repo": "id:repo-9", + "prNumber": 12, + "reviewers": ["octocat"] + }, + "reply": { + "ok": true, + "result": { + "ok": true + } + } + }, + { + "checkpoint": "request-reviewers" + }, + { + "action": "remove-reviewers", + "id": "remove-reviewers" + }, + { + "complete": "github.removePRReviewers#1", + "params": { + "repo": "id:repo-9", + "prNumber": 12, + "reviewers": ["octocat"] + }, + "reply": { + "ok": true, + "result": { + "ok": true + } + } + }, + { + "checkpoint": "remove-reviewers" + }, + { + "action": "rerun-checks", + "id": "rerun-checks" + }, + { + "complete": "github.rerunPRChecks#1", + "params": { + "repo": "id:repo-9", + "prNumber": 12, + "failedOnly": true, + "headSha": "head-sha-1" + }, + "reply": { + "ok": true, + "result": { + "ok": true + } + } + }, + { + "checkpoint": "rerun-checks" + } + ] + }, + { + "id": "pr-mutation-in-band-failure", + "operation": "session.pr-mutations", + "version": 1, + "family": "github.pr-mutation", + "sites": ["mobile/src/session/github-pr-mutations.ts"], + "schedules": [], + "steps": [ + { + "action": "merge", + "id": "string-error" + }, + { + "complete": "github.mergePR#1", + "params": { + "repo": "id:repo-9", + "prNumber": 12, + "method": "squash" + }, + "reply": { + "ok": true, + "result": { + "ok": false, + "error": "Pull request is not mergeable" + } + } + }, + { + "checkpoint": "string-error" + }, + { + "action": "close", + "id": "object-error" + }, + { + "complete": "github.updatePRState#1", + "params": { + "repo": "id:repo-9", + "prNumber": 12, + "updates": { + "state": "closed" + } + }, + "reply": { + "ok": true, + "result": { + "ok": false, + "error": { + "message": "Branch is protected" + } + } + } + }, + { + "checkpoint": "object-error" + }, + { + "action": "auto-merge", + "id": "unstructured" + }, + { + "complete": "github.setPRAutoMerge#1", + "params": { + "repo": "id:repo-9", + "prNumber": 12, + "enabled": true + }, + "reply": { + "ok": true, + "result": true + } + }, + { + "checkpoint": "unstructured" + }, + { + "action": "rerun-checks", + "id": "empty-object-error" + }, + { + "complete": "github.rerunPRChecks#1", + "params": { + "repo": "id:repo-9", + "prNumber": 12, + "failedOnly": true, + "headSha": "head-sha-1" + }, + "reply": { + "ok": true, + "result": { + "ok": false, + "error": { + "message": "" + } + } + } + }, + { + "checkpoint": "empty-object-error" + } + ] + }, + { + "id": "pr-comment-mutation", + "operation": "session.pr-mutations", + "version": 1, + "family": "github.pr-comment-mutation", + "sites": ["mobile/src/session/github-pr-mutations.ts"], + "schedules": [], + "steps": [ + { + "checkpoint": "pending" + }, + { + "action": "reply", + "id": "reply" + }, + { + "complete": "github.addPRReviewCommentReply#1", + "params": { + "repo": "id:repo-9", + "prNumber": 12, + "commentId": 55, + "body": "recorded reply", + "threadId": "thread-1", + "path": "src/app.ts", + "line": 3 + }, + "reply": { + "ok": true, + "result": { + "ok": true, + "comment": { + "id": 56 + } + } + } + }, + { + "checkpoint": "reply" + }, + { + "action": "root-comment", + "id": "root-comment" + }, + { + "complete": "github.addIssueComment#1", + "params": { + "repo": "id:repo-9", + "number": 12, + "body": "recorded comment", + "type": "pr" + }, + "reply": { + "ok": true, + "result": { + "ok": true, + "comment": { + "id": 57 + } + } + } + }, + { + "checkpoint": "root-comment" + }, + { + "action": "resolve-thread", + "id": "resolve-thread" + }, + { + "complete": "github.resolveReviewThread#1", + "params": { + "repo": "id:repo-9", + "threadId": "thread-1", + "resolve": true + }, + "reply": { + "ok": true, + "result": true + } + }, + { + "checkpoint": "resolve-thread" + }, + { + "action": "edit-comment", + "id": "edit-comment" + }, + { + "complete": "github.project.updateIssueCommentBySlug#1", + "params": { + "owner": "owner", + "repo": "repo", + "commentId": 55, + "body": "edited" + }, + "reply": { + "ok": true, + "result": { + "ok": true + } + } + }, + { + "checkpoint": "edit-comment" + }, + { + "action": "delete-comment", + "id": "delete-comment" + }, + { + "complete": "github.project.deleteIssueCommentBySlug#1", + "params": { + "owner": "owner", + "repo": "repo", + "commentId": 55 + }, + "reply": { + "ok": true, + "result": { + "ok": true + } + } + }, + { + "checkpoint": "delete-comment" + } + ] + }, + { + "id": "pr-comment-resolve-unconfirmed", + "operation": "session.pr-mutations", + "version": 1, + "family": "github.pr-comment-mutation", + "sites": ["mobile/src/session/github-pr-mutations.ts"], + "schedules": [], + "steps": [ + { + "action": "resolve-thread", + "id": "explicit-false" + }, + { + "complete": "github.resolveReviewThread#1", + "params": { + "repo": "id:repo-9", + "threadId": "thread-1", + "resolve": true + }, + "reply": { + "ok": true, + "result": false + } + }, + { + "checkpoint": "explicit-false" + }, + { + "action": "resolve-thread", + "id": "absent-result" + }, + { + "complete": "github.resolveReviewThread#2", + "params": { + "repo": "id:repo-9", + "threadId": "thread-1", + "resolve": true + }, + "reply": { + "ok": true + } + }, + { + "checkpoint": "absent-result" + } + ] + }, + { + "id": "pr-title-mutation", + "operation": "session.pr-mutations", + "version": 1, + "family": "github.pr-title-mutation", + "sites": ["mobile/src/session/github-pr-mutations.ts"], + "schedules": [], + "steps": [ + { + "action": "title", + "id": "title" + }, + { + "complete": "github.updatePRTitle#1", + "params": { + "repo": "id:repo-9", + "prNumber": 12, + "title": "Recorded title" + }, + "reply": { + "ok": true, + "result": true + } + }, + { + "checkpoint": "title" + } + ] + }, + { + "id": "pr-title-unconfirmed", + "operation": "session.pr-mutations", + "version": 1, + "family": "github.pr-title-mutation", + "sites": ["mobile/src/session/github-pr-mutations.ts"], + "schedules": [], + "steps": [ + { + "action": "title", + "id": "explicit-false" + }, + { + "complete": "github.updatePRTitle#1", + "params": { + "repo": "id:repo-9", + "prNumber": 12, + "title": "Recorded title" + }, + "reply": { + "ok": true, + "result": false + } + }, + { + "checkpoint": "explicit-false" + }, + { + "action": "title", + "id": "refused" + }, + { + "complete": "github.updatePRTitle#2", + "params": { + "repo": "id:repo-9", + "prNumber": 12, + "title": "Recorded title" + }, + "reply": { + "ok": false, + "error": { + "code": "refused", + "message": "" + } + } + }, + { + "checkpoint": "refused" + } + ] + }, + { + "id": "pr-triage-launch", + "operation": "session.pr-triage-launch", + "version": 1, + "family": "session.pr-triage", + "sites": ["mobile/src/session/pr-ai-triage-launch.ts"], + "schedules": [], + "steps": [ + { + "action": "launch", + "id": "launch" + }, + { + "checkpoint": "pending" + }, + { + "complete": "session.tabs.createTerminal#1", + "params": { + "worktree": "id:repo-9::/w", + "activate": false, + "select": true, + "navigation": "caller" + }, + "reply": { + "ok": true, + "result": { + "tab": { + "id": "tab-1", + "type": "terminal", + "terminal": "term-1", + "title": "Agent" + } + } + } + }, + { + "complete": "terminal.send#1", + "params": { + "terminal": "term-1", + "text": "Fix the failing checks", + "enter": true + }, + "reply": { + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + }, + { + "checkpoint": "launched" + } + ] + }, + { + "id": "pr-triage-send-locked", + "operation": "session.pr-triage-launch", + "version": 1, + "family": "session.pr-triage", + "sites": ["mobile/src/session/pr-ai-triage-launch.ts"], + "schedules": [], + "steps": [ + { + "action": "launch", + "id": "launch" + }, + { + "complete": "session.tabs.createTerminal#1", + "params": { + "worktree": "id:repo-9::/w", + "activate": false, + "select": true, + "navigation": "caller" + }, + "reply": { + "ok": true, + "result": { + "tab": { + "id": "tab-1", + "type": "terminal", + "terminal": "term-1", + "title": "Agent" + } + } + } + }, + { + "complete": "terminal.send#1", + "params": { + "terminal": "term-1", + "text": "Fix the failing checks", + "enter": true + }, + "reply": { + "ok": true, + "result": { + "send": { + "accepted": false + } + } + } + }, + { + "checkpoint": "locked" + } + ] + }, + { + "id": "pr-triage-invalid-terminal", + "operation": "session.pr-triage-launch", + "version": 1, + "family": "session.pr-triage", + "sites": ["mobile/src/session/pr-ai-triage-launch.ts"], + "schedules": [], + "steps": [ + { + "action": "launch", + "id": "launch" + }, + { + "complete": "session.tabs.createTerminal#1", + "params": { + "worktree": "id:repo-9::/w", + "activate": false, + "select": true, + "navigation": "caller" + }, + "reply": { + "ok": true, + "result": { + "tab": { + "id": "tab-1" + } + } + } + }, + { + "checkpoint": "invalid" + } + ] + }, + { + "id": "pr-branch-identity", + "operation": "session.pr-branch-context", + "version": 1, + "family": "session.pr-branch-context", + "sites": ["mobile/src/session/use-mobile-pr-branch-context.ts"], + "schedules": [], + "steps": [ + { + "action": "identity", + "id": "identity" + }, + { + "checkpoint": "pending" + }, + { + "complete": "git.status#1", + "params": { + "worktree": "id:repo-9::/w" + }, + "reply": { + "ok": true, + "result": { + "branch": "feature", + "head": "head-sha-1", + "entries": [ + { + "path": "src/app.ts", + "status": "modified", + "area": "unstaged", + "added": 3, + "removed": 1 + } + ], + "upstreamStatus": { + "hasUpstream": true, + "ahead": 1, + "behind": 0 + } + } + } + }, + { + "complete": "worktree.show#1", + "params": { + "worktree": "id:repo-9::/w" + }, + "reply": { + "ok": true, + "result": { + "worktree": { + "baseRef": "origin/main", + "linkedPR": 12 + } + } + } + }, + { + "complete": "repo.list#1", + "params": { + "$undefined": true + }, + "reply": { + "ok": true, + "result": { + "repos": [ + { + "id": "repo-9", + "worktreeBaseRef": "origin/main" + } + ] + } + } + }, + { + "complete": "git.branchCompare#1", + "params": { + "worktree": "id:repo-9::/w", + "baseRef": "origin/main" + }, + "reply": { + "ok": true, + "result": { + "summary": { + "baseRef": "origin/main", + "baseOid": "base-oid", + "compareRef": "feature", + "headOid": "head-oid", + "mergeBase": "merge-base", + "changedFiles": 1, + "status": "ready" + }, + "entries": [ + { + "path": "src/old.ts", + "status": "modified", + "added": 1, + "removed": 0 + } + ] + } + } + }, + { + "checkpoint": "identity" + } + ] + }, + { + "id": "pr-branch-repo-context", + "operation": "session.pr-branch-context", + "version": 1, + "family": "session.pr-branch-context", + "sites": ["mobile/src/session/use-mobile-pr-branch-context.ts"], + "schedules": [], + "steps": [ + { + "action": "repo-context", + "id": "repo-context" + }, + { + "complete": "github.repoSlug#1", + "params": { + "repo": "id:repo-9" + }, + "reply": { + "ok": true, + "result": { + "owner": "orca", + "repo": "orca", + "host": "github.com" + } + } + }, + { + "checkpoint": "repo-context" + } + ] + }, + { + "id": "diff-review-snapshot", + "operation": "session.diff-review-load", + "version": 1, + "family": "session.diff-review", + "sites": ["mobile/src/session/mobile-diff-review-loaders.ts"], + "schedules": [], + "steps": [ + { + "action": "snapshot", + "id": "snapshot" + }, + { + "checkpoint": "pending" + }, + { + "complete": "git.status#1", + "params": { + "worktree": "id:repo-9::/w" + }, + "reply": { + "ok": true, + "result": { + "branch": "feature", + "head": "head-sha-1", + "entries": [ + { + "path": "src/app.ts", + "status": "modified", + "area": "unstaged", + "added": 3, + "removed": 1 + } + ], + "upstreamStatus": { + "hasUpstream": true, + "ahead": 1, + "behind": 0 + } + } + } + }, + { + "bind": "base-ref-show", + "request": "worktree.show#1", + "params": { + "worktree": "id:repo-9::/w" + } + }, + { + "bind": "review-show", + "request": "worktree.show#2", + "params": { + "worktree": "id:repo-9::/w" + } + }, + { + "complete": "base-ref-show", + "params": { + "worktree": "id:repo-9::/w" + }, + "reply": { + "ok": true, + "result": { + "worktree": { + "baseRef": "origin/main", + "linkedPR": 12 + } + } + } + }, + { + "complete": "repo.list#1", + "params": { + "$undefined": true + }, + "reply": { + "ok": true, + "result": { + "repos": [ + { + "id": "repo-9", + "worktreeBaseRef": "origin/main" + } + ] + } + } + }, + { + "complete": "review-show", + "params": { + "worktree": "id:repo-9::/w" + }, + "reply": { + "ok": true, + "result": { + "worktree": { + "diffComments": [], + "mobileDiffReview": { + "files": [] + } + } + } + } + }, + { + "complete": "git.branchCompare#1", + "params": { + "worktree": "id:repo-9::/w", + "baseRef": "origin/main" + }, + "reply": { + "ok": true, + "result": { + "summary": { + "baseRef": "origin/main", + "baseOid": "base-oid", + "compareRef": "feature", + "headOid": "head-oid", + "mergeBase": "merge-base", + "changedFiles": 1, + "status": "ready" + }, + "entries": [ + { + "path": "src/old.ts", + "status": "modified", + "added": 1, + "removed": 0 + } + ] + } + } + }, + { + "checkpoint": "snapshot" + } + ] + }, + { + "id": "diff-review-status-unavailable", + "operation": "session.diff-review-load", + "version": 1, + "family": "session.diff-review", + "sites": ["mobile/src/session/mobile-diff-review-loaders.ts"], + "schedules": [], + "steps": [ + { + "action": "snapshot", + "id": "unavailable" + }, + { + "complete": "git.status#1", + "params": { + "worktree": "id:repo-9::/w" + }, + "reply": { + "ok": false, + "error": { + "code": "method_not_found", + "message": "Unknown method" + } + } + }, + { + "checkpoint": "unavailable" + } + ] + }, + { + "id": "diff-review-worktree-file-diff", + "operation": "session.diff-review-load", + "version": 1, + "family": "session.diff-review", + "sites": ["mobile/src/session/mobile-diff-review-loaders.ts"], + "schedules": [], + "steps": [ + { + "action": "diff", + "id": "binary", + "args": { + "scope": "unstaged" + } + }, + { + "complete": "git.diff#1", + "params": { + "worktree": "id:repo-9::/w", + "filePath": "src/app.ts", + "staged": false + }, + "reply": { + "ok": true, + "result": { + "kind": "binary" + } + } + }, + { + "checkpoint": "binary" + }, + { + "action": "diff", + "id": "too-large", + "args": { + "scope": "staged" + } + }, + { + "complete": "git.diff#2", + "params": { + "worktree": "id:repo-9::/w", + "filePath": "src/app.ts", + "staged": true + }, + "reply": { + "ok": true, + "result": { + "kind": "too-large", + "byteLength": 2048 + } + } + }, + { + "checkpoint": "too-large" + }, + { + "action": "diff", + "id": "invalid", + "args": { + "scope": "unstaged" + } + }, + { + "complete": "git.diff#3", + "params": { + "worktree": "id:repo-9::/w", + "filePath": "src/app.ts", + "staged": false + }, + "reply": { + "ok": true, + "result": { + "kind": "unknown" + } + } + }, + { + "checkpoint": "invalid" + } + ] + }, + { + "id": "diff-review-refused-file-diff", + "operation": "session.diff-review-load", + "version": 1, + "family": "session.diff-review", + "sites": ["mobile/src/session/mobile-diff-review-loaders.ts"], + "schedules": [], + "steps": [ + { + "action": "diff", + "id": "diff-too-large", + "args": { + "scope": "unstaged" + } + }, + { + "complete": "git.diff#1", + "params": { + "worktree": "id:repo-9::/w", + "filePath": "src/app.ts", + "staged": false + }, + "reply": { + "ok": false, + "error": { + "code": "diff_too_large", + "message": "Diff exceeds the limit" + } + } + }, + { + "checkpoint": "diff-too-large" + }, + { + "action": "diff", + "id": "deleted", + "args": { + "scope": "unstaged", + "status": "deleted" + } + }, + { + "complete": "git.diff#2", + "params": { + "worktree": "id:repo-9::/w", + "filePath": "src/app.ts", + "staged": false + }, + "reply": { + "ok": false, + "error": { + "code": "internal", + "message": "boom" + } + } + }, + { + "checkpoint": "deleted" + }, + { + "action": "diff", + "id": "refused", + "args": { + "scope": "unstaged" + } + }, + { + "complete": "git.diff#3", + "params": { + "worktree": "id:repo-9::/w", + "filePath": "src/app.ts", + "staged": false + }, + "reply": { + "ok": false, + "error": { + "code": "internal", + "message": "" + } + } + }, + { + "checkpoint": "refused" + } + ] + }, + { + "id": "diff-review-branch-file-diff", + "operation": "session.diff-review-load", + "version": 1, + "family": "session.diff-review", + "sites": ["mobile/src/session/mobile-diff-review-loaders.ts"], + "schedules": [], + "steps": [ + { + "action": "diff", + "id": "branch", + "args": { + "scope": "branch" + } + }, + { + "complete": "git.branchDiff#1", + "params": { + "worktree": "id:repo-9::/w", + "filePath": "src/app.ts", + "compare": { + "baseRef": "origin/main", + "baseOid": "base-oid", + "headOid": "head-oid", + "mergeBase": "merge-base" + } + }, + "reply": { + "ok": true, + "result": { + "kind": "binary" + } + } + }, + { + "checkpoint": "branch" + }, + { + "action": "diff", + "id": "no-compare", + "args": { + "scope": "branch", + "compare": false + } + }, + { + "checkpoint": "no-compare" + } + ] + }, + { + "id": "diff-review-branch-compare", + "operation": "session.diff-review-load", + "version": 1, + "family": "session.diff-review", + "sites": ["mobile/src/session/mobile-diff-review-loaders.ts"], + "schedules": [], + "steps": [ + { + "action": "branch-compare", + "id": "unavailable" + }, + { + "complete": "worktree.show#1", + "params": { + "worktree": "id:repo-9::/w" + }, + "reply": { + "ok": true, + "result": { + "worktree": { + "baseRef": "origin/main", + "linkedPR": 12 + } + } + } + }, + { + "complete": "repo.list#1", + "params": { + "$undefined": true + }, + "reply": { + "ok": true, + "result": { + "repos": [ + { + "id": "repo-9", + "worktreeBaseRef": "origin/main" + } + ] + } + } + }, + { + "complete": "git.branchCompare#1", + "params": { + "worktree": "id:repo-9::/w", + "baseRef": "origin/main" + }, + "reply": { + "ok": false, + "error": { + "code": "forbidden", + "message": "git is not available" + } + } + }, + { + "checkpoint": "unavailable" + }, + { + "action": "branch-compare", + "id": "invalid" + }, + { + "complete": "worktree.show#2", + "params": { + "worktree": "id:repo-9::/w" + }, + "reply": { + "ok": true, + "result": { + "worktree": { + "baseRef": "origin/main", + "linkedPR": 12 + } + } + } + }, + { + "complete": "repo.list#2", + "params": { + "$undefined": true + }, + "reply": { + "ok": true, + "result": { + "repos": [ + { + "id": "repo-9", + "worktreeBaseRef": "origin/main" + } + ] + } + } + }, + { + "complete": "git.branchCompare#2", + "params": { + "worktree": "id:repo-9::/w", + "baseRef": "origin/main" + }, + "reply": { + "ok": true, + "result": { + "summary": {}, + "entries": [] + } + } + }, + { + "checkpoint": "invalid" + } + ] + }, + { + "id": "diff-review-notes-refused-before-compare", + "operation": "session.diff-review-load", + "version": 1, + "family": "session.diff-review", + "sites": ["mobile/src/session/mobile-diff-review-loaders.ts"], + "schedules": [], + "steps": [ + { + "action": "snapshot", + "id": "snapshot" + }, + { + "complete": "git.status#1", + "params": { + "worktree": "id:repo-9::/w" + }, + "reply": { + "ok": true, + "result": { + "branch": "feature", + "head": "head-sha-1", + "entries": [ + { + "path": "src/app.ts", + "status": "modified", + "area": "unstaged", + "added": 3, + "removed": 1 + } + ], + "upstreamStatus": { + "hasUpstream": true, + "ahead": 1, + "behind": 0 + } + } + } + }, + { + "bind": "base-ref-show", + "request": "worktree.show#1", + "params": { + "worktree": "id:repo-9::/w" + } + }, + { + "bind": "review-show", + "request": "worktree.show#2", + "params": { + "worktree": "id:repo-9::/w" + } + }, + { + "complete": "review-show", + "params": { + "worktree": "id:repo-9::/w" + }, + "reply": { + "ok": false, + "error": { + "code": "internal", + "message": "notes unavailable" + } + } + }, + { + "checkpoint": "notes-refused" + }, + { + "complete": "base-ref-show", + "params": { + "worktree": "id:repo-9::/w" + }, + "reply": { + "ok": true, + "result": { + "worktree": { + "baseRef": "origin/main", + "linkedPR": 12 + } + } + } + }, + { + "complete": "repo.list#1", + "params": { + "$undefined": true + }, + "reply": { + "ok": true, + "result": { + "repos": [ + { + "id": "repo-9", + "worktreeBaseRef": "origin/main" + } + ] + } + } + }, + { + "complete": "git.branchCompare#1", + "params": { + "worktree": "id:repo-9::/w", + "baseRef": "origin/main" + }, + "reply": { + "ok": true, + "result": { + "summary": { + "baseRef": "origin/main", + "baseOid": "base-oid", + "compareRef": "feature", + "headOid": "head-oid", + "mergeBase": "merge-base", + "changedFiles": 1, + "status": "ready" + }, + "entries": [ + { + "path": "src/old.ts", + "status": "modified", + "added": 1, + "removed": 0 + } + ] + } + } + }, + { + "checkpoint": "settled" + } + ] + }, + { + "id": "transport-host-status-gates-ready", + "operation": "transport.host-status-gates", + "version": 1, + "family": "transport.host-status-gates", + "sites": ["mobile/src/transport/host-status-gates.ts"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "complete": "status.get#1", + "params": { + "$undefined": true + }, + "reply": { + "ok": true, + "result": { + "protocolVersion": 5, + "minCompatibleMobileVersion": 1, + "appVersion": "1.4.200", + "capabilities": ["mobile.tasks.v1", "push.v1"], + "floatingWorkspaceEnabled": true + } + } + }, + { + "checkpoint": "gates-proven" + } + ] + }, + { + "id": "transport-host-status-gates-refused-degrades", + "operation": "transport.host-status-gates", + "version": 1, + "family": "transport.host-status-gates", + "sites": ["mobile/src/transport/host-status-gates.ts"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "complete": "status.get#1", + "params": { + "$undefined": true + }, + "reply": { + "ok": false, + "error": { + "code": "status_unavailable", + "message": "no status" + } + } + }, + { + "checkpoint": "gates-degraded" + } + ] + }, + { + "id": "transport-host-status-gates-drop-keeps-capabilities", + "operation": "transport.host-status-gates", + "version": 1, + "family": "transport.host-status-gates", + "sites": ["mobile/src/transport/host-status-gates.ts"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "complete": "status.get#1", + "params": { + "$undefined": true + }, + "reply": { + "ok": true, + "result": { + "protocolVersion": 5, + "minCompatibleMobileVersion": 1, + "appVersion": "1.4.200", + "capabilities": ["mobile.tasks.v1", "push.v1"], + "floatingWorkspaceEnabled": true + } + } + }, + { + "checkpoint": "gates-proven" + }, + { + "action": "state", + "id": "drop", + "args": { + "connState": "connecting" + } + }, + { + "checkpoint": "gates-unverified" + } + ] + }, + { + "id": "transport-capability-probe-publishes", + "operation": "transport.capability-probe", + "version": 1, + "family": "transport.capability-probe", + "sites": ["mobile/src/transport/runtime-capability-probe.ts"], + "schedules": [], + "steps": [ + { + "action": "start", + "id": "start" + }, + { + "complete": "status.get#1", + "params": { + "$undefined": true + }, + "reply": { + "ok": true, + "result": { + "capabilities": ["push.v1", "codex.reset-credit"] + } + } + }, + { + "checkpoint": "capabilities-published" + } + ] + }, + { + "id": "transport-capability-probe-refused-backs-off", + "operation": "transport.capability-probe", + "version": 1, + "family": "transport.capability-probe", + "sites": ["mobile/src/transport/runtime-capability-probe.ts"], + "schedules": [], + "steps": [ + { + "action": "start", + "id": "start" + }, + { + "complete": "status.get#1", + "params": { + "$undefined": true + }, + "reply": { + "ok": false, + "error": { + "code": "status_unavailable", + "message": "no status" + } + } + }, + { + "checkpoint": "backing-off" + }, + { + "advance": 1000 + }, + { + "complete": "status.get#2", + "params": { + "$undefined": true + }, + "reply": { + "ok": true, + "result": { + "capabilities": ["push.v1"] + } + } + }, + { + "checkpoint": "published-after-backoff" + } + ] + }, + { + "id": "transport-capability-probe-non-string-capabilities-drop", + "operation": "transport.capability-probe", + "version": 1, + "family": "transport.capability-probe", + "sites": ["mobile/src/transport/runtime-capability-probe.ts"], + "schedules": [], + "steps": [ + { + "action": "start", + "id": "start" + }, + { + "complete": "status.get#1", + "params": { + "$undefined": true + }, + "reply": { + "ok": true, + "result": { + "capabilities": ["push.v1", 7] + } + } + }, + { + "checkpoint": "capabilities-rejected" + }, + { + "action": "stop", + "id": "stop" + }, + { + "checkpoint": "stopped" + } + ] + }, + { + "id": "transport-pairing-race-relay-completes-first", + "operation": "transport.pairing-race", + "version": 1, + "family": "transport.pairing-race", + "sites": ["mobile/src/transport/pairing-candidate-race.ts"], + "schedules": [], + "steps": [ + { + "action": "race", + "id": "race" + }, + { + "bind": "direct-status", + "request": "status.get#1", + "params": { + "$undefined": true + } + }, + { + "bind": "relay-status", + "request": "status.get#2", + "params": { + "$undefined": true + } + }, + { + "complete": "relay-status", + "params": { + "$undefined": true + }, + "reply": { + "ok": true, + "result": { + "capabilities": [] + } + } + }, + { + "complete": "direct-status", + "params": { + "$undefined": true + }, + "reply": { + "ok": true, + "result": { + "capabilities": [] + } + } + }, + { + "checkpoint": "relay-wins-when-it-completes-first" + } + ] + }, + { + "id": "transport-pairing-race-direct-completes-first", + "operation": "transport.pairing-race", + "version": 1, + "family": "transport.pairing-race", + "sites": ["mobile/src/transport/pairing-candidate-race.ts"], + "schedules": [], + "steps": [ + { + "action": "race", + "id": "race" + }, + { + "bind": "direct-status", + "request": "status.get#1", + "params": { + "$undefined": true + } + }, + { + "bind": "relay-status", + "request": "status.get#2", + "params": { + "$undefined": true + } + }, + { + "complete": "direct-status", + "params": { + "$undefined": true + }, + "reply": { + "ok": true, + "result": { + "capabilities": [] + } + } + }, + { + "complete": "relay-status", + "params": { + "$undefined": true + }, + "reply": { + "ok": true, + "result": { + "capabilities": [] + } + } + }, + { + "checkpoint": "direct-wins-when-it-completes-first" + } + ] + }, + { + "id": "transport-pairing-race-relay-wins-when-direct-refused", + "operation": "transport.pairing-race", + "version": 1, + "family": "transport.pairing-race", + "sites": ["mobile/src/transport/pairing-candidate-race.ts"], + "schedules": [], + "steps": [ + { + "action": "race", + "id": "race" + }, + { + "bind": "direct-status", + "request": "status.get#1", + "params": { + "$undefined": true + } + }, + { + "bind": "relay-status", + "request": "status.get#2", + "params": { + "$undefined": true + } + }, + { + "complete": "direct-status", + "params": { + "$undefined": true + }, + "reply": { + "ok": false, + "error": { + "code": "unauthorized", + "message": "direct refused" + } + } + }, + { + "complete": "relay-status", + "params": { + "$undefined": true + }, + "reply": { + "ok": true, + "result": { + "capabilities": [] + } + } + }, + { + "checkpoint": "relay-wins" + } + ] + }, + { + "id": "transport-pairing-race-both-refused", + "operation": "transport.pairing-race", + "version": 1, + "family": "transport.pairing-race", + "sites": ["mobile/src/transport/pairing-candidate-race.ts"], + "schedules": [], + "steps": [ + { + "action": "race", + "id": "race" + }, + { + "bind": "direct-status", + "request": "status.get#1", + "params": { + "$undefined": true + } + }, + { + "bind": "relay-status", + "request": "status.get#2", + "params": { + "$undefined": true + } + }, + { + "complete": "direct-status", + "params": { + "$undefined": true + }, + "reply": { + "ok": false, + "error": { + "code": "unauthorized", + "message": "direct refused" + } + } + }, + { + "complete": "relay-status", + "params": { + "$undefined": true + }, + "reply": { + "ok": false, + "error": { + "code": "unauthorized", + "message": "relay refused" + } + } + }, + { + "checkpoint": "both-paths-failed" + } + ] + }, + { + "id": "relay-rotation-installs-and-commits", + "operation": "relay.credential-rotation", + "version": 1, + "family": "relay.credential-rotation", + "sites": ["mobile/src/transport/mobile-relay-credential-rotation.ts"], + "schedules": [], + "steps": [ + { + "action": "rotate", + "id": "rotate" + }, + { + "complete": "pairing.getEndpoints#1", + "params": { + "installReqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA" + }, + "reply": { + "ok": true, + "result": { + "v": 1, + "relay": { + "v": 1, + "directorUrl": "https://director.example", + "cellUrl": "https://cell.example", + "assignmentEpoch": 1, + "relayHostId": "relay-host-0001x", + "e2eeFraming": 2 + }, + "installStatus": { + "v": 1, + "reqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA", + "state": "not-found" + } + } + } + }, + { + "complete": "pairing.provisionRelay#1", + "params": { + "reqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA", + "newResumeTokenHash": "yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU", + "expectedCurrentHash": "r_9byaBlTZTXS3aLLlWTKwss-nmx4vGRrjKskxWyP30" + }, + "reply": { + "ok": true, + "result": { + "v": 1, + "reqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA", + "authorizationMode": "authenticated-direct", + "currentVersion": 4, + "resumeExpiresAt": 1767830400000 + } + } + }, + { + "complete": "pairing.getEndpoints#2", + "params": { + "installReqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA" + }, + "reply": { + "ok": true, + "result": { + "v": 1, + "relay": { + "v": 1, + "directorUrl": "https://director.example", + "cellUrl": "https://cell.example", + "assignmentEpoch": 1, + "relayHostId": "relay-host-0001x", + "e2eeFraming": 2 + }, + "installStatus": { + "v": 1, + "reqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA", + "state": "committed", + "result": { + "v": 1, + "reqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA", + "authorizationMode": "authenticated-direct", + "currentVersion": 4, + "resumeExpiresAt": 1767830400000 + } + } + } + } + }, + { + "checkpoint": "credential-rotated" + } + ] + }, + { + "id": "relay-rotation-resumes-committed-pending", + "operation": "relay.credential-rotation", + "version": 1, + "family": "relay.credential-rotation", + "sites": ["mobile/src/transport/mobile-relay-credential-rotation.ts"], + "schedules": [], + "steps": [ + { + "action": "rotate", + "id": "rotate", + "args": { + "pending": true + } + }, + { + "complete": "pairing.getEndpoints#1", + "params": { + "installReqId": "install-fixture-1" + }, + "reply": { + "ok": true, + "result": { + "v": 1, + "relay": { + "v": 1, + "directorUrl": "https://director.example", + "cellUrl": "https://cell.example", + "assignmentEpoch": 1, + "relayHostId": "relay-host-0001x", + "e2eeFraming": 2 + }, + "installStatus": { + "v": 1, + "reqId": "install-fixture-1", + "state": "committed", + "result": { + "v": 1, + "reqId": "install-fixture-1", + "authorizationMode": "authenticated-direct", + "currentVersion": 5, + "resumeExpiresAt": 1767830400000, + "graceExpiresAt": 1767398400000 + } + } + } + } + }, + { + "checkpoint": "pending-install-adopted" + } + ] + }, + { + "id": "relay-direct-upgrade-commits", + "operation": "relay.direct-upgrade", + "version": 1, + "family": "relay.direct-upgrade", + "sites": ["mobile/src/transport/mobile-relay-direct-upgrade.ts"], + "schedules": [], + "steps": [ + { + "action": "upgrade", + "id": "upgrade", + "args": { + "journal": true + } + }, + { + "complete": "pairing.getEndpoints#1", + "params": { + "installReqId": "install-fixture-1" + }, + "reply": { + "ok": true, + "result": { + "v": 1, + "relay": { + "v": 1, + "directorUrl": "https://director.example", + "cellUrl": "https://cell.example", + "assignmentEpoch": 1, + "relayHostId": "relay-host-0001x", + "e2eeFraming": 2 + }, + "installStatus": { + "v": 1, + "reqId": "install-fixture-1", + "state": "not-found" + } + } + } + }, + { + "complete": "pairing.provisionRelay#1", + "params": { + "reqId": "install-fixture-1", + "newResumeTokenHash": "7ehR_WuQWkxwOFJdkHfI5jEg4DeVYWImtDuip60LHK4" + }, + "reply": { + "ok": true, + "result": { + "v": 1, + "reqId": "install-fixture-1", + "authorizationMode": "authenticated-direct", + "currentVersion": 4, + "resumeExpiresAt": 1767830400000 + } + } + }, + { + "complete": "pairing.getEndpoints#2", + "params": { + "installReqId": "install-fixture-1" + }, + "reply": { + "ok": true, + "result": { + "v": 1, + "relay": { + "v": 1, + "directorUrl": "https://director.example", + "cellUrl": "https://cell.example", + "assignmentEpoch": 1, + "relayHostId": "relay-host-0001x", + "e2eeFraming": 2 + }, + "installStatus": { + "v": 1, + "reqId": "install-fixture-1", + "state": "committed", + "result": { + "v": 1, + "reqId": "install-fixture-1", + "authorizationMode": "authenticated-direct", + "currentVersion": 4, + "resumeExpiresAt": 1767830400000 + } + } + } + } + }, + { + "checkpoint": "direct-upgrade-committed" + } + ] + }, + { + "id": "relay-direct-upgrade-unsupported-host-declines", + "operation": "relay.direct-upgrade", + "version": 1, + "family": "relay.direct-upgrade", + "sites": ["mobile/src/transport/mobile-relay-direct-upgrade.ts"], + "schedules": [], + "steps": [ + { + "action": "upgrade", + "id": "upgrade", + "args": { + "journal": true + } + }, + { + "complete": "pairing.getEndpoints#1", + "params": { + "installReqId": "install-fixture-1" + }, + "reply": { + "ok": false, + "error": { + "code": "method_not_found", + "message": "Unknown method" + } + } + }, + { + "checkpoint": "upgrade-declined" + } + ] + }, + { + "id": "relay-pairing-recovery-resume-committed", + "operation": "relay.pairing-recovery", + "version": 1, + "family": "relay.pairing-recovery", + "sites": ["mobile/src/transport/mobile-relay-pairing-recovery.ts"], + "schedules": [], + "steps": [ + { + "action": "recover", + "id": "recover" + }, + { + "complete": "pairing.getEndpoints#1", + "params": { + "installReqId": "install-fixture-1", + "resumeConfirmReqId": "confirm-fixture-1" + }, + "reply": { + "ok": true, + "result": { + "v": 1, + "relay": { + "v": 1, + "directorUrl": "https://director.example", + "cellUrl": "https://cell.example", + "assignmentEpoch": 1, + "relayHostId": "relay-host-0001x", + "e2eeFraming": 2 + }, + "installStatus": { + "v": 1, + "reqId": "install-fixture-1", + "state": "committed", + "result": { + "v": 1, + "reqId": "install-fixture-1", + "authorizationMode": "relay-basis", + "currentVersion": 4, + "resumeExpiresAt": 1767830400000 + } + } + } + } + }, + { + "checkpoint": "recovered-on-resume" + } + ] + }, + { + "id": "relay-pairing-recovery-invite-authorizes", + "operation": "relay.pairing-recovery", + "version": 1, + "family": "relay.pairing-recovery", + "sites": ["mobile/src/transport/mobile-relay-pairing-recovery.ts"], + "schedules": [], + "steps": [ + { + "action": "recover", + "id": "recover" + }, + { + "complete": "pairing.getEndpoints#1", + "params": { + "installReqId": "install-fixture-1", + "resumeConfirmReqId": "confirm-fixture-1" + }, + "reply": { + "ok": true, + "result": { + "v": 1, + "relay": { + "v": 1, + "directorUrl": "https://director.example", + "cellUrl": "https://cell.example", + "assignmentEpoch": 1, + "relayHostId": "relay-host-0001x", + "e2eeFraming": 2 + }, + "installStatus": { + "v": 1, + "reqId": "install-fixture-1", + "state": "not-found" + } + } + } + }, + { + "complete": "pairing.getEndpoints#2", + "params": { + "installReqId": "install-fixture-1" + }, + "reply": { + "ok": true, + "result": { + "v": 1, + "relay": { + "v": 1, + "directorUrl": "https://director.example", + "cellUrl": "https://cell.example", + "assignmentEpoch": 1, + "relayHostId": "relay-host-0001x", + "e2eeFraming": 2 + }, + "installStatus": { + "v": 1, + "reqId": "install-fixture-1", + "state": "not-found" + } + } + } + }, + { + "complete": "pairing.provisionRelay#1", + "params": { + "reqId": "install-fixture-1", + "newResumeTokenHash": "7ehR_WuQWkxwOFJdkHfI5jEg4DeVYWImtDuip60LHK4" + }, + "reply": { + "ok": true, + "result": { + "v": 1, + "reqId": "install-fixture-1", + "authorizationMode": "relay-basis", + "currentVersion": 4, + "resumeExpiresAt": 1767830400000 + } + } + }, + { + "complete": "pairing.getEndpoints#3", + "params": { + "installReqId": "install-fixture-1" + }, + "reply": { + "ok": true, + "result": { + "v": 1, + "relay": { + "v": 1, + "directorUrl": "https://director.example", + "cellUrl": "https://cell.example", + "assignmentEpoch": 1, + "relayHostId": "relay-host-0001x", + "e2eeFraming": 2 + }, + "installStatus": { + "v": 1, + "reqId": "install-fixture-1", + "state": "committed", + "result": { + "v": 1, + "reqId": "install-fixture-1", + "authorizationMode": "relay-basis", + "currentVersion": 4, + "resumeExpiresAt": 1767830400000 + } + } + } + } + }, + { + "checkpoint": "recovered-through-invite" + } + ] + }, + { + "id": "pairing-pre-profile-direct-wins-and-provisions", + "operation": "pairing.pre-profile", + "version": 1, + "family": "pairing.pre-profile", + "sites": [ + "mobile/src/transport/pre-profile-pairing-coordinator.ts", + "mobile/src/transport/pairing-candidate-race.ts" + ], + "schedules": [], + "steps": [ + { + "action": "pair", + "id": "pair" + }, + { + "bind": "direct-status", + "request": "status.get#1", + "params": { + "$undefined": true + } + }, + { + "bind": "relay-status", + "request": "status.get#2", + "params": { + "$undefined": true + } + }, + { + "complete": "direct-status", + "params": { + "$undefined": true + }, + "reply": { + "ok": true, + "result": { + "capabilities": [] + } + } + }, + { + "complete": "relay-status", + "params": { + "$undefined": true + }, + "reply": { + "ok": true, + "result": { + "capabilities": [] + } + } + }, + { + "complete": "pairing.provisionRelay#1", + "params": { + "reqId": "install-l99UBPM71AZiC1ghz2glnA", + "newResumeTokenHash": "yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU" + }, + "reply": { + "ok": true, + "result": { + "v": 1, + "reqId": "install-l99UBPM71AZiC1ghz2glnA", + "authorizationMode": "authenticated-direct", + "currentVersion": 4, + "resumeExpiresAt": 1767830400000 + } + } + }, + { + "complete": "pairing.getEndpoints#1", + "params": { + "installReqId": "install-l99UBPM71AZiC1ghz2glnA" + }, + "reply": { + "ok": true, + "result": { + "v": 1, + "relay": { + "v": 1, + "directorUrl": "https://director.example", + "cellUrl": "https://cell.example", + "assignmentEpoch": 1, + "relayHostId": "relay-host-0001x", + "e2eeFraming": 2 + }, + "installStatus": { + "v": 1, + "reqId": "install-l99UBPM71AZiC1ghz2glnA", + "state": "committed", + "result": { + "v": 1, + "reqId": "install-l99UBPM71AZiC1ghz2glnA", + "authorizationMode": "authenticated-direct", + "currentVersion": 4, + "resumeExpiresAt": 1767830400000 + } + } + } + } + }, + { + "checkpoint": "paired-over-direct" + } + ] + }, + { + "id": "pairing-pre-profile-provision-unsupported-saves-direct-host", + "operation": "pairing.pre-profile", + "version": 1, + "family": "pairing.pre-profile", + "sites": [ + "mobile/src/transport/pre-profile-pairing-coordinator.ts", + "mobile/src/transport/pairing-candidate-race.ts" + ], + "schedules": [], + "steps": [ + { + "action": "pair", + "id": "pair" + }, + { + "bind": "direct-status", + "request": "status.get#1", + "params": { + "$undefined": true + } + }, + { + "bind": "relay-status", + "request": "status.get#2", + "params": { + "$undefined": true + } + }, + { + "complete": "direct-status", + "params": { + "$undefined": true + }, + "reply": { + "ok": true, + "result": { + "capabilities": [] + } + } + }, + { + "complete": "relay-status", + "params": { + "$undefined": true + }, + "reply": { + "ok": true, + "result": { + "capabilities": [] + } + } + }, + { + "complete": "pairing.provisionRelay#1", + "params": { + "reqId": "install-l99UBPM71AZiC1ghz2glnA", + "newResumeTokenHash": "yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU" + }, + "reply": { + "ok": false, + "error": { + "code": "method_not_found", + "message": "Unknown method" + } + } + }, + { + "checkpoint": "direct-host-saved" + } + ] + }, + { + "id": "pairing-pre-profile-times-out", + "operation": "pairing.pre-profile", + "version": 1, + "family": "pairing.pre-profile", + "sites": [ + "mobile/src/transport/pre-profile-pairing-coordinator.ts", + "mobile/src/transport/pairing-candidate-race.ts" + ], + "schedules": [], + "steps": [ + { + "action": "pair", + "id": "pair", + "args": { + "timeoutMs": 5000 + } + }, + { + "checkpoint": "racing" + }, + { + "advance": 5000 + }, + { + "checkpoint": "timed-out" + } + ] + }, + { + "id": "transport-capability-probe-cutover-reasks-fast", + "operation": "transport.capability-probe", + "version": 1, + "family": "transport.capability-probe", + "sites": ["mobile/src/transport/runtime-capability-probe.ts"], + "schedules": [], + "steps": [ + { + "action": "start", + "id": "start" + }, + { + "action": "cutover", + "id": "migrate" + }, + { + "checkpoint": "cutover-rejected-the-probe" + }, + { + "advance": 250 + }, + { + "bind": "status-after-cutover", + "request": "status.get#2", + "params": { + "$undefined": true + } + }, + { + "complete": "status-after-cutover", + "params": { + "$undefined": true + }, + "reply": { + "ok": true, + "result": { + "capabilities": ["push.v1"] + } + } + }, + { + "checkpoint": "published-after-cutover-reask" + } + ] + }, + { + "id": "tk-item-detail-github", + "operation": "tasks.item-detail-github", + "version": 1, + "family": "tasks.item-detail-github", + "sites": ["mobile/src/tasks/use-mobile-tasks-item-detail-loading.tsx"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "complete": "github.workItemDetails#1", + "params": { + "number": 12, + "repo": "id:repo-1", + "type": "pr" + }, + "reply": { + "ok": true, + "result": { + "body": "body", + "comments": [], + "item": { + "labels": ["bug"], + "reviewDecision": "APPROVED", + "reviewRequests": [], + "latestReviews": [] + }, + "assignees": ["octocat"], + "headSha": "head-sha", + "baseSha": "base-sha", + "pullRequestId": "PR_kwDO", + "checks": [], + "files": [] + } + } + }, + { + "checkpoint": "mounted" + } + ] + }, + { + "id": "tk-item-detail-gitlab", + "operation": "tasks.item-detail-gitlab", + "version": 1, + "family": "tasks.item-detail-gitlab", + "sites": ["mobile/src/tasks/use-mobile-tasks-item-detail-loading.tsx"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "complete": "gitlab.workItemDetails#1", + "params": { + "iid": 4, + "projectRef": "group/project", + "repo": "id:repo-1", + "type": "issue" + }, + "reply": { + "ok": true, + "result": { + "body": "body", + "comments": [], + "item": { + "labels": ["bug"], + "mergeable": "MERGEABLE" + }, + "assignees": [], + "pipelineJobs": [], + "reviewers": [], + "approvalState": { + "approvalsRequired": 1, + "approvalsLeft": 0 + } + } + } + }, + { + "checkpoint": "mounted" + } + ] + }, + { + "id": "tk-item-detail-linear", + "operation": "tasks.item-detail-linear", + "version": 1, + "family": "tasks.item-detail-linear", + "sites": ["mobile/src/tasks/use-mobile-tasks-item-detail-loading.tsx"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "complete": "linear.getIssue#1", + "params": { + "id": "issue-1", + "workspaceId": "linear-workspace" + }, + "reply": { + "ok": true, + "result": { + "id": "issue-2", + "identifier": "ENG-2", + "title": "A sub-issue", + "url": "", + "description": "a description", + "state": { + "name": "Todo", + "type": "unstarted", + "color": "#000" + }, + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "labels": [], + "priority": 0, + "updatedAt": "2020-01-01T00:00:00.000Z", + "workspaceId": "linear-workspace", + "subIssues": [] + } + } + }, + { + "complete": "linear.issueComments#1", + "params": { + "issueId": "issue-1", + "workspaceId": "linear-workspace" + }, + "reply": { + "ok": true, + "result": [ + { + "id": "comment-1", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "user": { + "displayName": "Octo" + } + } + ] + } + }, + { + "checkpoint": "mounted" + } + ] + }, + { + "id": "tk-item-detail-metadata", + "operation": "tasks.item-detail-metadata", + "version": 1, + "family": "tasks.item-detail-metadata", + "sites": ["mobile/src/tasks/use-mobile-tasks-item-detail-metadata-effects.tsx"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "complete": "github.listLabels#1", + "params": { + "repo": "id:repo-1" + }, + "reply": { + "ok": true, + "result": ["bug", "chore"] + } + }, + { + "complete": "github.listAssignableUsers#1", + "params": { + "repo": "id:repo-1" + }, + "reply": { + "ok": true, + "result": [ + { + "login": "octocat", + "name": "Octo", + "avatarUrl": null + } + ] + } + }, + { + "checkpoint": "mounted" + } + ] + }, + { + "id": "tk-linear-team-context", + "operation": "tasks.linear-team-context", + "version": 1, + "family": "tasks.linear-team-context", + "sites": ["mobile/src/tasks/use-mobile-tasks-list-and-detail-effects.tsx"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "action": "open-composer", + "id": "open-composer-0" + }, + { + "complete": "linear.listTeams#1", + "params": { + "$undefined": true + }, + "reply": { + "ok": true, + "result": [ + { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + } + ] + } + }, + { + "checkpoint": "open-composer-settled" + }, + { + "action": "select-metadata-item", + "id": "select-metadata-item-1" + }, + { + "complete": "linear.teamStates#1", + "params": { + "teamId": "team-1", + "workspaceId": "linear-workspace" + }, + "reply": { + "ok": true, + "result": [ + { + "id": "state-1", + "name": "Todo", + "type": "unstarted", + "color": "#000000" + } + ] + } + }, + { + "checkpoint": "select-metadata-item-settled" + } + ] + }, + { + "id": "tk-provider-load", + "operation": "tasks.provider-load", + "version": 1, + "family": "tasks.provider-load", + "sites": ["mobile/src/tasks/use-mobile-tasks-provider-load-actions.tsx"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "action": "linear-context", + "id": "linear-context-0" + }, + { + "complete": "linear.status#1", + "params": { + "$undefined": true + }, + "reply": { + "ok": true, + "result": { + "connected": true, + "workspaces": [ + { + "id": "linear-workspace", + "name": "Workspace" + } + ], + "selectedWorkspaceId": "linear-workspace" + } + } + }, + { + "complete": "linear.listTeams#1", + "params": { + "workspaceId": "linear-workspace" + }, + "reply": { + "ok": true, + "result": [ + { + "id": "team-1", + "key": "ENG", + "name": "Engineering", + "workspaceId": "linear-workspace" + } + ] + } + }, + { + "checkpoint": "linear-context-settled" + }, + { + "action": "persist-teams", + "id": "persist-teams-1" + }, + { + "complete": "settings.update#1", + "params": { + "defaultLinearTeamSelection": ["team-1"] + }, + "reply": { + "ok": true, + "result": { + "ok": true + } + } + }, + { + "checkpoint": "persist-teams-settled" + }, + { + "action": "github-page", + "id": "github-page-2" + }, + { + "complete": "github.listWorkItems#1", + "params": { + "before": { + "$undefined": true + }, + "limit": 36, + "query": "is:issue bug", + "repo": "id:repo-1" + }, + "reply": { + "ok": true, + "result": { + "items": [ + { + "id": "issue:9", + "type": "issue", + "number": 9, + "title": "An issue", + "state": "open", + "url": "", + "labels": [], + "updatedAt": "2020-01-01T00:00:00.000Z", + "author": null + } + ], + "sources": { + "issues": "upstream" + } + } + } + }, + { + "checkpoint": "github-page-settled" + }, + { + "action": "github-count", + "id": "github-count-3" + }, + { + "complete": "github.countWorkItems#1", + "params": { + "query": "is:issue bug", + "repo": "id:repo-1" + }, + "reply": { + "ok": true, + "result": 4 + } + }, + { + "checkpoint": "github-count-settled" + } + ] + }, + { + "id": "tk-list-gitlab-todos", + "operation": "tasks.task-list-gitlab-todos", + "version": 1, + "family": "tasks.task-list-gitlab-todos", + "sites": ["mobile/src/tasks/use-mobile-tasks-task-list-loading.tsx"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "action": "load", + "id": "load-0" + }, + { + "complete": "gitlab.todos#1", + "params": { + "repo": "id:repo-1" + }, + "reply": { + "ok": true, + "result": [ + { + "id": 1, + "targetType": "Issue", + "target": { + "id": "gid://1", + "iid": 4, + "title": "A GitLab todo", + "webUrl": "", + "state": "opened", + "updatedAt": "2020-01-01T00:00:00.000Z" + } + } + ] + } + }, + { + "checkpoint": "load-settled" + } + ] + }, + { + "id": "tk-list-gitlab-items", + "operation": "tasks.task-list-gitlab-items", + "version": 1, + "family": "tasks.task-list-gitlab-items", + "sites": ["mobile/src/tasks/use-mobile-tasks-task-list-loading.tsx"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "action": "load", + "id": "load-0" + }, + { + "complete": "gitlab.listWorkItems#1", + "params": { + "page": 1, + "perPage": 50, + "query": { + "$undefined": true + }, + "repo": "id:repo-1", + "state": "opened" + }, + "reply": { + "ok": true, + "result": { + "items": [ + { + "id": "issue:4", + "type": "issue", + "number": 4, + "title": "A GitLab issue", + "state": "opened", + "url": "", + "labels": [], + "updatedAt": "2020-01-01T00:00:00.000Z", + "author": null + } + ] + } + } + }, + { + "checkpoint": "load-settled" + } + ] + }, + { + "id": "tk-list-linear", + "operation": "tasks.task-list-linear", + "version": 1, + "family": "tasks.task-list-linear", + "sites": ["mobile/src/tasks/use-mobile-tasks-task-list-loading.tsx"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "action": "load", + "id": "load-0" + }, + { + "complete": "linear.listIssues#1", + "params": { + "filter": "all", + "limit": 50, + "workspaceId": "linear-workspace" + }, + "reply": { + "ok": true, + "result": { + "items": [ + { + "id": "issue-1", + "identifier": "ENG-1", + "title": "A Linear issue", + "url": "", + "description": "", + "state": { + "name": "Todo", + "type": "unstarted", + "color": "#000" + }, + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "labels": [], + "priority": 0, + "updatedAt": "2020-01-01T00:00:00.000Z", + "workspaceId": "linear-workspace" + } + ] + } + } + }, + { + "checkpoint": "load-settled" + }, + { + "action": "set-query", + "id": "set-query-1", + "args": { + "query": "bug" + } + }, + { + "checkpoint": "set-query-done" + }, + { + "action": "load", + "id": "load-2" + }, + { + "complete": "linear.searchIssues#1", + "params": { + "limit": 50, + "query": "bug", + "workspaceId": "linear-workspace" + }, + "reply": { + "ok": true, + "result": [ + { + "id": "issue-2", + "identifier": "ENG-2", + "title": "A found issue", + "url": "", + "description": "", + "state": { + "name": "Todo", + "type": "unstarted", + "color": "#000" + }, + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "labels": [], + "priority": 0, + "updatedAt": "2020-01-01T00:00:00.000Z", + "workspaceId": "linear-workspace" + } + ] + } + }, + { + "checkpoint": "load-settled" + } + ] + }, + { + "id": "tk-linear-connect", + "operation": "tasks.linear-connect", + "version": 1, + "family": "tasks.linear-connect", + "sites": ["mobile/src/tasks/use-mobile-tasks-task-pagination-actions.tsx"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "action": "connect", + "id": "connect-0" + }, + { + "complete": "linear.connect#1", + "params": { + "apiKey": "lin_api_key" + }, + "reply": { + "ok": true, + "result": { + "ok": true + } + } + }, + { + "checkpoint": "connect-settled" + } + ] + }, + { + "id": "tk-create-github", + "operation": "tasks.task-create-github", + "version": 1, + "family": "tasks.task-create-github", + "sites": ["mobile/src/tasks/use-mobile-tasks-task-create-actions.tsx"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "action": "create", + "id": "create-0" + }, + { + "complete": "github.createIssue#1", + "params": { + "body": "a body", + "repo": "id:repo-1", + "title": "A new task" + }, + "reply": { + "ok": true, + "result": { + "ok": true, + "number": 11, + "url": "https://github.com/owner/repo/issues/11" + } + } + }, + { + "checkpoint": "create-settled" + }, + { + "action": "issue-source", + "id": "issue-source-1" + }, + { + "complete": "repo.update#1", + "params": { + "repo": "id:repo-1", + "updates": { + "issueSourcePreference": "upstream" + } + }, + "reply": { + "ok": true, + "result": { + "ok": true + } + } + }, + { + "checkpoint": "issue-source-settled" + } + ] + }, + { + "id": "tk-create-gitlab", + "operation": "tasks.task-create-gitlab", + "version": 1, + "family": "tasks.task-create-gitlab", + "sites": ["mobile/src/tasks/use-mobile-tasks-task-create-actions.tsx"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "action": "create", + "id": "create-0" + }, + { + "complete": "gitlab.createIssue#1", + "params": { + "body": "a body", + "repo": "id:repo-1", + "title": "A new task" + }, + "reply": { + "ok": true, + "result": { + "ok": true, + "number": 6, + "url": "https://gitlab.com/group/project/-/issues/6" + } + } + }, + { + "checkpoint": "create-settled" + } + ] + }, + { + "id": "tk-create-linear", + "operation": "tasks.task-create-linear", + "version": 1, + "family": "tasks.task-create-linear", + "sites": ["mobile/src/tasks/use-mobile-tasks-task-create-actions.tsx"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "action": "create", + "id": "create-0" + }, + { + "complete": "linear.createIssue#1", + "params": { + "description": "a body", + "teamId": "team-1", + "title": "A new task", + "workspaceId": "linear-workspace" + }, + "reply": { + "ok": true, + "result": { + "ok": true, + "id": "issue-3", + "identifier": "ENG-3", + "title": "A sub-issue", + "url": "" + } + } + }, + { + "checkpoint": "create-settled" + } + ] + }, + { + "id": "tk-item-comment-github", + "operation": "tasks.item-comment-github", + "version": 1, + "family": "tasks.item-comment-github", + "sites": ["mobile/src/tasks/use-mobile-tasks-hosted-comment-review-actions.tsx"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "action": "comment", + "id": "comment-0" + }, + { + "complete": "github.addIssueComment#1", + "params": { + "body": "a comment", + "number": 9, + "repo": "id:repo-1", + "type": "issue" + }, + "reply": { + "ok": true, + "result": { + "ok": true, + "comment": { + "id": 902, + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z" + } + } + } + }, + { + "checkpoint": "comment-settled" + } + ] + }, + { + "id": "tk-item-review-github", + "operation": "tasks.item-review-github", + "version": 1, + "family": "tasks.item-review-github", + "sites": ["mobile/src/tasks/use-mobile-tasks-hosted-comment-review-actions.tsx"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "action": "reviewers", + "id": "reviewers-0" + }, + { + "complete": "github.requestPRReviewers#1", + "params": { + "prNumber": 12, + "repo": "id:repo-1", + "reviewers": ["octocat"] + }, + "reply": { + "ok": true, + "result": { + "ok": true + } + } + }, + { + "checkpoint": "reviewers-settled" + }, + { + "action": "checks", + "id": "checks-1" + }, + { + "complete": "github.prChecks#1", + "params": { + "headSha": "head-sha", + "noCache": true, + "prNumber": 12, + "repo": "id:repo-1" + }, + "reply": { + "ok": true, + "result": [ + { + "name": "build", + "status": "COMPLETED", + "conclusion": "SUCCESS", + "url": "" + } + ] + } + }, + { + "checkpoint": "checks-settled" + } + ] + }, + { + "id": "tk-item-comment-gitlab", + "operation": "tasks.item-comment-gitlab", + "version": 1, + "family": "tasks.item-comment-gitlab", + "sites": ["mobile/src/tasks/use-mobile-tasks-hosted-comment-review-actions.tsx"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "action": "comment", + "id": "comment-0" + }, + { + "complete": "gitlab.addIssueComment#1", + "params": { + "body": "a comment", + "number": 4, + "projectRef": "group/project", + "repo": "id:repo-1" + }, + "reply": { + "ok": true, + "result": { + "ok": true, + "comment": { + "id": 904, + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z" + } + } + } + }, + { + "checkpoint": "comment-settled" + } + ] + }, + { + "id": "tk-item-comment-gitlab-mr", + "operation": "tasks.item-comment-gitlab-mr", + "version": 1, + "family": "tasks.item-comment-gitlab-mr", + "sites": ["mobile/src/tasks/use-mobile-tasks-hosted-comment-review-actions.tsx"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "action": "comment", + "id": "comment-0" + }, + { + "complete": "gitlab.addMRComment#1", + "params": { + "body": "a comment", + "iid": 7, + "projectRef": "group/project", + "repo": "id:repo-1" + }, + "reply": { + "ok": true, + "result": { + "ok": true, + "comment": { + "id": 905, + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z" + } + } + } + }, + { + "checkpoint": "comment-settled" + } + ] + }, + { + "id": "tk-item-checks-files", + "operation": "tasks.item-checks-files-github", + "version": 1, + "family": "tasks.item-checks-files", + "sites": ["mobile/src/tasks/use-mobile-tasks-github-check-file-actions.tsx"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "action": "rerun", + "id": "rerun-0" + }, + { + "complete": "github.rerunPRChecks#1", + "params": { + "failedOnly": true, + "headSha": "head-sha", + "prNumber": 12, + "repo": "id:repo-1" + }, + "reply": { + "ok": true, + "result": { + "ok": true + } + } + }, + { + "checkpoint": "rerun-settled" + }, + { + "action": "viewed", + "id": "viewed-1" + }, + { + "complete": "github.setPRFileViewed#1", + "params": { + "path": "src/index.ts", + "pullRequestId": "PR_kwDO", + "repo": "id:repo-1", + "viewed": true + }, + "reply": { + "ok": true, + "result": true + } + }, + { + "checkpoint": "viewed-settled" + }, + { + "action": "thread", + "id": "thread-2" + }, + { + "complete": "github.resolveReviewThread#1", + "params": { + "repo": "id:repo-1", + "resolve": true, + "threadId": "thread-1" + }, + "reply": { + "ok": true, + "result": true + } + }, + { + "checkpoint": "thread-settled" + }, + { + "action": "expand", + "id": "expand-3" + }, + { + "complete": "github.prFileContents#1", + "params": { + "baseSha": "base-sha", + "headSha": "head-sha", + "oldPath": { + "$undefined": true + }, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1", + "status": "modified" + }, + "reply": { + "ok": true, + "result": { + "oldContent": "a", + "newContent": "b", + "truncated": false + } + } + }, + { + "checkpoint": "expand-settled" + }, + { + "action": "file-comment", + "id": "file-comment-4" + }, + { + "complete": "github.addPRReviewComment#1", + "params": { + "body": "a review comment", + "commitId": "head-sha", + "line": 12, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1" + }, + "reply": { + "ok": true, + "result": { + "ok": true, + "comment": { + "id": 901, + "author": "You", + "body": "a review comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "path": "src/index.ts", + "line": 12 + } + } + } + }, + { + "checkpoint": "file-comment-settled" + } + ] + }, + { + "id": "tk-item-reply-merge", + "operation": "tasks.item-reply-merge-github", + "version": 1, + "family": "tasks.item-reply-merge", + "sites": ["mobile/src/tasks/use-mobile-tasks-github-reply-merge-actions.tsx"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "action": "review-reply", + "id": "review-reply-0" + }, + { + "complete": "github.addPRReviewCommentReply#1", + "params": { + "body": "a reply", + "commentId": 501, + "line": 12, + "path": "src/index.ts", + "prNumber": 12, + "repo": "id:repo-1", + "threadId": "thread-1" + }, + "reply": { + "ok": true, + "result": { + "ok": true, + "comment": { + "id": 903, + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "path": "src/index.ts", + "line": 12, + "threadId": "thread-1" + } + } + } + }, + { + "checkpoint": "review-reply-settled" + }, + { + "action": "issue-reply", + "id": "issue-reply-1" + }, + { + "complete": "github.addIssueComment#1", + "params": { + "body": "@octocat a reply", + "number": 12, + "repo": "id:repo-1", + "type": "pr" + }, + "reply": { + "ok": true, + "result": { + "ok": true, + "comment": { + "id": 902, + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z" + } + } + } + }, + { + "checkpoint": "issue-reply-settled" + }, + { + "action": "merge", + "id": "merge-2" + }, + { + "complete": "github.mergePR#1", + "params": { + "method": "squash", + "prNumber": 12, + "repo": "id:repo-1" + }, + "reply": { + "ok": true, + "result": { + "ok": true + } + } + }, + { + "checkpoint": "merge-settled" + }, + { + "action": "linear-status", + "id": "linear-status-3" + }, + { + "complete": "linear.updateIssue#1", + "params": { + "id": "issue-1", + "updates": { + "stateId": "state-2" + }, + "workspaceId": "linear-workspace" + }, + "reply": { + "ok": true, + "result": { + "ok": true + } + } + }, + { + "checkpoint": "linear-status-settled" + } + ] + }, + { + "id": "tk-item-merge-gitlab", + "operation": "tasks.item-merge-gitlab", + "version": 1, + "family": "tasks.item-merge-gitlab", + "sites": ["mobile/src/tasks/use-mobile-tasks-github-reply-merge-actions.tsx"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "action": "merge", + "id": "merge-0" + }, + { + "complete": "gitlab.mergeMR#1", + "params": { + "iid": 7, + "method": "squash", + "projectRef": "group/project", + "repo": "id:repo-1" + }, + "reply": { + "ok": true, + "result": { + "ok": true + } + } + }, + { + "checkpoint": "merge-settled" + } + ] + }, + { + "id": "tk-item-status-gitlab", + "operation": "tasks.item-status-gitlab", + "version": 1, + "family": "tasks.item-status-gitlab", + "sites": ["mobile/src/tasks/use-mobile-tasks-gitlab-github-status-actions.tsx"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "action": "gitlab-status", + "id": "gitlab-status-0" + }, + { + "complete": "gitlab.updateIssue#1", + "params": { + "number": 4, + "projectRef": "group/project", + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + }, + "reply": { + "ok": true, + "result": { + "ok": true + } + } + }, + { + "checkpoint": "gitlab-status-settled" + }, + { + "action": "github-metadata", + "id": "github-metadata-1" + }, + { + "complete": "github.updateIssue#1", + "params": { + "number": 9, + "repo": "id:repo-1", + "updates": { + "addLabels": ["triage"], + "removeLabels": ["bug"], + "title": "Renamed" + } + }, + "reply": { + "ok": true, + "result": { + "ok": true + } + } + }, + { + "checkpoint": "github-metadata-settled" + } + ] + }, + { + "id": "tk-item-status-gitlab-mr", + "operation": "tasks.item-status-gitlab-mr", + "version": 1, + "family": "tasks.item-status-gitlab-mr", + "sites": ["mobile/src/tasks/use-mobile-tasks-gitlab-github-status-actions.tsx"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "action": "gitlab-status", + "id": "gitlab-status-0" + }, + { + "complete": "gitlab.updateMRState#1", + "params": { + "iid": 7, + "projectRef": "group/project", + "repo": "id:repo-1", + "state": "closed" + }, + "reply": { + "ok": true, + "result": { + "ok": true + } + } + }, + { + "checkpoint": "gitlab-status-settled" + } + ] + }, + { + "id": "tk-item-metadata-github", + "operation": "tasks.item-metadata-github", + "version": 1, + "family": "tasks.item-metadata-github", + "sites": ["mobile/src/tasks/use-mobile-tasks-hosted-metadata-actions.tsx"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "action": "update-pr", + "id": "update-pr-0" + }, + { + "complete": "github.updatePR#1", + "params": { + "prNumber": 12, + "repo": "id:repo-1", + "updates": { + "body": "new body", + "title": "Renamed" + } + }, + "reply": { + "ok": true, + "result": { + "ok": true + } + } + }, + { + "checkpoint": "update-pr-settled" + } + ] + }, + { + "id": "tk-item-metadata-gitlab", + "operation": "tasks.item-metadata-gitlab", + "version": 1, + "family": "tasks.item-metadata-gitlab", + "sites": ["mobile/src/tasks/use-mobile-tasks-hosted-metadata-actions.tsx"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "action": "update-gitlab", + "id": "update-gitlab-0" + }, + { + "complete": "gitlab.updateIssue#1", + "params": { + "number": 4, + "projectRef": "group/project", + "repo": "id:repo-1", + "updates": { + "addLabels": ["triage"], + "title": "Renamed" + } + }, + "reply": { + "ok": true, + "result": { + "ok": true + } + } + }, + { + "checkpoint": "update-gitlab-settled" + } + ] + }, + { + "id": "tk-item-metadata-gitlab-mr", + "operation": "tasks.item-metadata-gitlab-mr", + "version": 1, + "family": "tasks.item-metadata-gitlab-mr", + "sites": ["mobile/src/tasks/use-mobile-tasks-hosted-metadata-actions.tsx"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "action": "update-gitlab", + "id": "update-gitlab-0" + }, + { + "complete": "gitlab.updateMR#1", + "params": { + "iid": 7, + "projectRef": "group/project", + "repo": "id:repo-1", + "updates": { + "addLabels": ["triage"], + "body": { + "$undefined": true + }, + "removeLabels": { + "$undefined": true + }, + "title": "Renamed" + } + }, + "reply": { + "ok": true, + "result": { + "ok": true + } + } + }, + { + "checkpoint": "update-gitlab-settled" + } + ] + }, + { + "id": "tk-linear-item", + "operation": "tasks.linear-item-actions", + "version": 1, + "family": "tasks.linear-item", + "sites": ["mobile/src/tasks/use-mobile-tasks-linear-item-actions.tsx"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "action": "comment", + "id": "comment-0" + }, + { + "complete": "linear.addIssueComment#1", + "params": { + "body": "a linear comment", + "issueId": "issue-1", + "workspaceId": "linear-workspace" + }, + "reply": { + "ok": true, + "result": { + "ok": true, + "id": "comment-9" + } + } + }, + { + "checkpoint": "comment-settled" + }, + { + "action": "sub-issue-open", + "id": "sub-issue-open-1" + }, + { + "complete": "linear.getIssue#1", + "params": { + "id": "issue-2", + "workspaceId": "linear-workspace" + }, + "reply": { + "ok": true, + "result": { + "id": "issue-2", + "identifier": "ENG-2", + "title": "A sub-issue", + "url": "", + "description": "a description", + "state": { + "name": "Todo", + "type": "unstarted", + "color": "#000" + }, + "team": { + "id": "team-1", + "key": "ENG", + "name": "Engineering" + }, + "labels": [], + "priority": 0, + "updatedAt": "2020-01-01T00:00:00.000Z", + "workspaceId": "linear-workspace", + "subIssues": [] + } + } + }, + { + "checkpoint": "sub-issue-open-settled" + }, + { + "action": "sub-issue-create", + "id": "sub-issue-create-2" + }, + { + "complete": "linear.createIssue#1", + "params": { + "parentIssueId": "issue-1", + "projectId": null, + "teamId": "team-1", + "title": "A sub-issue", + "workspaceId": "linear-workspace" + }, + "reply": { + "ok": true, + "result": { + "ok": true, + "id": "issue-3", + "identifier": "ENG-3", + "title": "A sub-issue", + "url": "" + } + } + }, + { + "checkpoint": "sub-issue-create-settled" + } + ] + }, + { + "id": "tk-project-repo-slugs", + "operation": "tasks.project-repo-slugs", + "version": 1, + "family": "tasks.project-repo-slugs", + "sites": ["mobile/src/tasks/use-mobile-tasks-project-repository-resolution.tsx"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "complete": "github.repoSlug#1", + "params": { + "repo": "id:repo-1" + }, + "reply": { + "ok": true, + "result": { + "owner": "owner", + "repo": "repo", + "host": "github.com" + } + } + }, + { + "checkpoint": "mounted" + } + ] + }, + { + "id": "tk-project-board-load", + "operation": "tasks.project-board-load", + "version": 1, + "family": "tasks.project-board-load", + "sites": ["mobile/src/tasks/use-mobile-tasks-project-loading-actions.tsx"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "action": "projects", + "id": "projects-0" + }, + { + "complete": "github.project.listAccessible#1", + "params": { + "host": "github.com" + }, + "reply": { + "ok": true, + "result": { + "ok": true, + "projects": [ + { + "owner": "owner", + "ownerType": "organization", + "number": 3, + "title": "Board", + "host": "github.com" + } + ], + "partialFailures": [] + } + } + }, + { + "checkpoint": "projects-settled" + }, + { + "action": "views", + "id": "views-1" + }, + { + "complete": "github.project.listViews#1", + "params": { + "host": "github.enterprise.test", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3 + }, + "reply": { + "ok": true, + "result": { + "ok": true, + "views": [ + { + "id": "view-1", + "number": 1, + "name": "Table", + "layout": "TABLE_LAYOUT" + } + ] + } + } + }, + { + "checkpoint": "views-settled" + }, + { + "action": "table", + "id": "table-2" + }, + { + "complete": "github.project.viewTable#1", + "params": { + "host": "github.enterprise.test", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3, + "viewId": "view-1" + }, + "reply": { + "ok": true, + "result": { + "ok": true, + "data": { + "project": { + "id": "project-1", + "title": "Board", + "number": 3 + }, + "selectedView": { + "id": "view-1", + "number": 1, + "name": "Table", + "filter": "is:open", + "layout": "TABLE_LAYOUT" + }, + "fields": [], + "rows": [] + } + } + } + }, + { + "checkpoint": "table-settled" + }, + { + "action": "paste", + "id": "paste-3" + }, + { + "complete": "github.project.resolveRef#1", + "params": { + "host": "github.com", + "input": "https://github.com/orgs/owner/projects/3" + }, + "reply": { + "ok": true, + "result": { + "ok": true, + "owner": "owner", + "ownerType": "organization", + "number": 3, + "title": "Board", + "host": "github.com", + "viewNumber": 1 + } + } + }, + { + "complete": "github.project.listViews#2", + "params": { + "host": "github.com", + "owner": "owner", + "ownerType": "organization", + "projectNumber": 3 + }, + "reply": { + "ok": true, + "result": { + "ok": true, + "views": [ + { + "id": "view-1", + "number": 1, + "name": "Table", + "layout": "TABLE_LAYOUT" + } + ] + } + } + }, + { + "checkpoint": "paste-settled" + } + ] + }, + { + "id": "tk-project-row-detail", + "operation": "tasks.project-row-detail", + "version": 1, + "family": "tasks.project-row-detail", + "sites": ["mobile/src/tasks/use-mobile-tasks-project-detail-loading.tsx"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "complete": "github.project.workItemDetailsBySlug#1", + "params": { + "host": "github.enterprise.test", + "number": 1, + "owner": "owner", + "repo": "repo", + "type": "issue" + }, + "reply": { + "ok": true, + "result": { + "ok": true, + "details": { + "body": "body", + "comments": [], + "item": { + "labels": [] + }, + "assignees": [], + "headSha": "head-sha", + "baseSha": "base-sha", + "pullRequestId": "PR_kwDO", + "checks": [], + "files": [] + } + } + } + }, + { + "checkpoint": "mounted" + } + ] + }, + { + "id": "tk-project-row-metadata-load", + "operation": "tasks.project-row-metadata-load", + "version": 1, + "family": "tasks.project-row-metadata-load", + "sites": ["mobile/src/tasks/use-mobile-tasks-project-metadata-loading.tsx"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "complete": "github.project.listLabelsBySlug#1", + "params": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "reply": { + "ok": true, + "result": { + "ok": true, + "labels": ["bug"] + } + } + }, + { + "complete": "github.project.listAssignableUsersBySlug#1", + "params": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo", + "seedLogins": ["octocat"] + }, + "reply": { + "ok": true, + "result": { + "ok": true, + "users": [ + { + "login": "octocat", + "name": "Octo" + } + ] + } + } + }, + { + "complete": "github.project.listIssueTypesBySlug#1", + "params": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "reply": { + "ok": true, + "result": { + "ok": true, + "types": [ + { + "id": "type-1", + "name": "Bug" + } + ] + } + } + }, + { + "checkpoint": "mounted" + } + ] + }, + { + "id": "tk-project-row-fields", + "operation": "tasks.project-row-fields", + "version": 1, + "family": "tasks.project-row-fields", + "sites": ["mobile/src/tasks/use-mobile-tasks-project-metadata-actions.tsx"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "action": "set-field", + "id": "set-field-0" + }, + { + "complete": "github.project.updateItemField#1", + "params": { + "fieldId": "field-1", + "host": "github.enterprise.test", + "itemId": "item-1", + "projectId": "project-1", + "value": { + "kind": "single-select", + "optionId": "option-1" + } + }, + "reply": { + "ok": true, + "result": { + "ok": true + } + } + }, + { + "checkpoint": "set-field-settled" + }, + { + "action": "clear-field", + "id": "clear-field-1" + }, + { + "complete": "github.project.clearItemField#1", + "params": { + "fieldId": "field-1", + "host": "github.enterprise.test", + "itemId": "item-1", + "projectId": "project-1" + }, + "reply": { + "ok": true, + "result": { + "ok": true + } + } + }, + { + "checkpoint": "clear-field-settled" + }, + { + "action": "issue-type", + "id": "issue-type-2" + }, + { + "complete": "github.project.updateIssueTypeBySlug#1", + "params": { + "host": "github.enterprise.test", + "issueTypeId": "type-1", + "number": 1, + "owner": "owner", + "repo": "repo" + }, + "reply": { + "ok": true, + "result": { + "ok": true + } + } + }, + { + "checkpoint": "issue-type-settled" + } + ] + }, + { + "id": "tk-project-row-review-checks", + "operation": "tasks.project-row-review-checks", + "version": 1, + "family": "tasks.project-row-review-checks", + "sites": ["mobile/src/tasks/use-mobile-tasks-project-review-check-actions.tsx"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "action": "reviewers", + "id": "reviewers-0" + }, + { + "complete": "github.requestPRReviewers#1", + "params": { + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "reviewers": ["octocat"] + }, + "reply": { + "ok": true, + "result": { + "ok": true + } + } + }, + { + "checkpoint": "reviewers-settled" + }, + { + "action": "checks", + "id": "checks-1" + }, + { + "complete": "github.prChecks#1", + "params": { + "headSha": "head-sha", + "noCache": true, + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + }, + "reply": { + "ok": true, + "result": [ + { + "name": "build", + "status": "COMPLETED", + "conclusion": "SUCCESS", + "url": "" + } + ] + } + }, + { + "checkpoint": "checks-settled" + }, + { + "action": "rerun", + "id": "rerun-2" + }, + { + "complete": "github.rerunPRChecks#1", + "params": { + "failedOnly": true, + "headSha": "head-sha", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + }, + "reply": { + "ok": true, + "result": { + "ok": true + } + } + }, + { + "checkpoint": "rerun-settled" + }, + { + "action": "viewed", + "id": "viewed-3" + }, + { + "complete": "github.setPRFileViewed#1", + "params": { + "path": "src/index.ts", + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "pullRequestId": "PR_kwDO", + "repo": "id:repo-1", + "viewed": true + }, + "reply": { + "ok": true, + "result": true + } + }, + { + "checkpoint": "viewed-settled" + } + ] + }, + { + "id": "tk-project-row-threads", + "operation": "tasks.project-row-threads", + "version": 1, + "family": "tasks.project-row-threads", + "sites": ["mobile/src/tasks/use-mobile-tasks-project-thread-reply-actions.tsx"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "action": "delete-comment", + "id": "delete-comment-0" + }, + { + "complete": "github.project.deleteIssueCommentBySlug#1", + "params": { + "commentId": 501, + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "reply": { + "ok": true, + "result": { + "ok": true + } + } + }, + { + "checkpoint": "delete-comment-settled" + }, + { + "action": "thread", + "id": "thread-1" + }, + { + "complete": "github.resolveReviewThread#1", + "params": { + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "resolve": true, + "threadId": "thread-1" + }, + "reply": { + "ok": true, + "result": true + } + }, + { + "checkpoint": "thread-settled" + }, + { + "action": "review-reply", + "id": "review-reply-2" + }, + { + "complete": "github.addPRReviewCommentReply#1", + "params": { + "body": "a reply", + "commentId": 501, + "line": 12, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "threadId": "thread-1" + }, + "reply": { + "ok": true, + "result": { + "ok": true, + "comment": { + "id": 903, + "author": "You", + "body": "a reply", + "createdAt": "2020-01-01T00:00:00.000Z", + "path": "src/index.ts", + "line": 12, + "threadId": "thread-1" + } + } + } + }, + { + "checkpoint": "review-reply-settled" + }, + { + "action": "issue-reply", + "id": "issue-reply-3" + }, + { + "complete": "github.addIssueComment#1", + "params": { + "body": "@octocat a reply", + "number": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "type": "pr" + }, + "reply": { + "ok": true, + "result": { + "ok": true, + "comment": { + "id": 902, + "author": "You", + "body": "a comment", + "createdAt": "2020-01-01T00:00:00.000Z" + } + } + } + }, + { + "checkpoint": "issue-reply-settled" + } + ] + }, + { + "id": "tk-project-row-comments-issue", + "operation": "tasks.project-row-comments-issue", + "version": 1, + "family": "tasks.project-row-comments-issue", + "sites": ["mobile/src/tasks/use-mobile-tasks-project-workspace-comment-actions.tsx"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "action": "update-item", + "id": "update-item-0" + }, + { + "complete": "github.project.updateIssueBySlug#1", + "params": { + "host": "github.enterprise.test", + "number": 1, + "owner": "owner", + "repo": "repo", + "updates": { + "title": "Renamed" + } + }, + "reply": { + "ok": true, + "result": { + "ok": true + } + } + }, + { + "checkpoint": "update-item-settled" + }, + { + "action": "add-comment", + "id": "add-comment-1" + }, + { + "complete": "github.project.addIssueCommentBySlug#1", + "params": { + "body": "a project comment", + "host": "github.enterprise.test", + "number": 1, + "owner": "owner", + "repo": "repo" + }, + "reply": { + "ok": true, + "result": { + "ok": true, + "comment": { + "id": 906, + "author": "You", + "body": "a project comment", + "createdAt": "2020-01-01T00:00:00.000Z" + } + } + } + }, + { + "checkpoint": "add-comment-settled" + }, + { + "action": "update-comment", + "id": "update-comment-2" + }, + { + "complete": "github.project.updateIssueCommentBySlug#1", + "params": { + "body": "an edited comment", + "commentId": 501, + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "reply": { + "ok": true, + "result": { + "ok": true + } + } + }, + { + "checkpoint": "update-comment-settled" + } + ] + }, + { + "id": "tk-project-row-comments-pr", + "operation": "tasks.project-row-comments-pr", + "version": 1, + "family": "tasks.project-row-comments-pr", + "sites": ["mobile/src/tasks/use-mobile-tasks-project-workspace-comment-actions.tsx"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "action": "update-item", + "id": "update-item-0" + }, + { + "complete": "github.project.updatePullRequestBySlug#1", + "params": { + "host": "github.enterprise.test", + "number": 2, + "owner": "owner", + "repo": "repo", + "updates": { + "title": "Renamed" + } + }, + "reply": { + "ok": true, + "result": { + "ok": true + } + } + }, + { + "checkpoint": "update-item-settled" + } + ] + }, + { + "id": "tk-project-row-files-merge", + "operation": "tasks.project-row-files-merge", + "version": 1, + "family": "tasks.project-row-files-merge", + "sites": ["mobile/src/tasks/use-mobile-tasks-project-file-merge-actions.tsx"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "action": "expand", + "id": "expand-0" + }, + { + "complete": "github.prFileContents#1", + "params": { + "baseSha": "base-sha", + "headSha": "head-sha", + "oldPath": { + "$undefined": true + }, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1", + "status": "modified" + }, + "reply": { + "ok": true, + "result": { + "oldContent": "a", + "newContent": "b", + "truncated": false + } + } + }, + { + "checkpoint": "expand-settled" + }, + { + "action": "file-comment", + "id": "file-comment-1" + }, + { + "complete": "github.addPRReviewComment#1", + "params": { + "body": "a review comment", + "commitId": "head-sha", + "line": 12, + "path": "src/index.ts", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + }, + "reply": { + "ok": true, + "result": { + "ok": true, + "comment": { + "id": 901, + "author": "You", + "body": "a review comment", + "createdAt": "2020-01-01T00:00:00.000Z", + "path": "src/index.ts", + "line": 12 + } + } + } + }, + { + "checkpoint": "file-comment-settled" + }, + { + "action": "merge", + "id": "merge-2" + }, + { + "complete": "github.mergePR#1", + "params": { + "method": "squash", + "prNumber": 2, + "prRepo": { + "host": "github.enterprise.test", + "owner": "owner", + "repo": "repo" + }, + "repo": "id:repo-1" + }, + "reply": { + "ok": true, + "result": { + "ok": true + } + } + }, + { + "checkpoint": "merge-settled" + }, + { + "action": "issue-state", + "id": "issue-state-3" + }, + { + "complete": "github.updateIssue#1", + "params": { + "number": 9, + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + }, + "reply": { + "ok": true, + "result": { + "ok": true + } + } + }, + { + "checkpoint": "issue-state-settled" + }, + { + "action": "pr-state", + "id": "pr-state-4" + }, + { + "complete": "github.updatePRState#1", + "params": { + "prNumber": 12, + "repo": "id:repo-1", + "updates": { + "state": "closed" + } + }, + "reply": { + "ok": true, + "result": { + "ok": true + } + } + }, + { + "checkpoint": "pr-state-settled" + } + ] + }, + { + "id": "speech-setup-sheet-fulfilled", + "operation": "speech.setup-sheet", + "version": 1, + "family": "speech.setup-sheet", + "sites": ["mobile/src/dictation/mobile-dictation-setup.ts"], + "schedules": [], + "steps": [ + { + "action": "list", + "id": "list" + }, + { + "complete": "speech.models.list#1", + "params": null, + "reply": { + "ok": true, + "result": { + "enabled": true, + "selectedModelId": "whisper-small", + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ] + } + } + }, + { + "action": "download", + "id": "download" + }, + { + "complete": "speech.models.download#1", + "params": { + "modelId": "whisper-small" + }, + "reply": { + "ok": true, + "result": { + "started": true + } + } + }, + { + "action": "delete", + "id": "delete" + }, + { + "complete": "speech.models.delete#1", + "params": { + "modelId": "whisper-small" + }, + "reply": { + "ok": true, + "result": { + "enabled": true, + "selectedModelId": "whisper-small", + "models": [] + } + } + }, + { + "action": "configure", + "id": "configure" + }, + { + "complete": "speech.dictation.setup#1", + "params": { + "enabled": true, + "modelId": "whisper-small" + }, + "reply": { + "ok": true, + "result": { + "enabled": true, + "selectedModelId": "whisper-small", + "models": [ + { + "id": "whisper-small", + "name": "Small", + "status": "ready" + } + ] + } + } + }, + { + "checkpoint": "settled" + } + ] + }, + { + "id": "speech-setup-sheet-legacy-desktop", + "operation": "speech.setup-sheet", + "version": 1, + "family": "speech.setup-sheet", + "sites": ["mobile/src/dictation/mobile-dictation-setup.ts"], + "schedules": [], + "steps": [ + { + "action": "list", + "id": "list" + }, + { + "complete": "speech.models.list#1", + "params": null, + "reply": { + "ok": false, + "error": { + "code": "method_not_found", + "message": "Unknown method: speech.models.list" + } + } + }, + { + "checkpoint": "legacy-desktop" + } + ] + }, + { + "id": "speech-setup-sheet-denied-to-mobile", + "operation": "speech.setup-sheet", + "version": 1, + "family": "speech.setup-sheet", + "sites": ["mobile/src/dictation/mobile-dictation-setup.ts"], + "schedules": [], + "steps": [ + { + "action": "list", + "id": "list" + }, + { + "complete": "speech.models.list#1", + "params": null, + "reply": { + "ok": false, + "error": { + "code": "forbidden", + "message": "speech.models.list is not available to mobile clients" + } + } + }, + { + "checkpoint": "denied" + } + ] + }, + { + "id": "speech-desktop-start-superseded", + "operation": "speech.desktop-start", + "version": 1, + "family": "speech.dictation-start", + "sites": ["mobile/src/hooks/mobile-dictation-desktop-start.ts"], + "schedules": [], + "steps": [ + { + "action": "supersede", + "id": "supersede" + }, + { + "action": "start", + "id": "start" + }, + { + "complete": "speech.dictation.start#1", + "params": { + "dictationId": "dictation-1" + }, + "reply": { + "ok": true, + "result": { + "started": true + } + } + }, + { + "complete": "speech.dictation.cancel#1", + "params": { + "dictationId": "dictation-1" + }, + "reply": { + "ok": true, + "result": { + "cancelled": true + } + } + }, + { + "checkpoint": "stale-start-cancelled" + } + ] + }, + { + "id": "speech-desktop-start-fulfilled", + "operation": "speech.desktop-start", + "version": 1, + "family": "speech.dictation-start", + "sites": ["mobile/src/hooks/mobile-dictation-desktop-start.ts"], + "schedules": [], + "steps": [ + { + "action": "start", + "id": "start" + }, + { + "complete": "speech.dictation.start#1", + "params": { + "dictationId": "dictation-1" + }, + "reply": { + "ok": true, + "result": { + "started": true + } + } + }, + { + "checkpoint": "recording" + } + ] + }, + { + "id": "speech-desktop-start-recording-failed", + "operation": "speech.desktop-start", + "version": 1, + "family": "speech.dictation-start", + "sites": ["mobile/src/hooks/mobile-dictation-desktop-start.ts"], + "schedules": [], + "steps": [ + { + "action": "start", + "id": "start", + "args": { + "recording": false + } + }, + { + "complete": "speech.dictation.start#1", + "params": { + "dictationId": "dictation-1" + }, + "reply": { + "ok": true, + "result": { + "started": true + } + } + }, + { + "complete": "speech.dictation.cancel#1", + "params": { + "dictationId": "dictation-1" + }, + "reply": { + "ok": true, + "result": { + "cancelled": true + } + } + }, + { + "checkpoint": "rolled-back" + } + ] + }, + { + "id": "speech-audio-chunk-acknowledged", + "operation": "speech.audio-chunk", + "version": 1, + "family": "speech.dictation-chunk", + "sites": ["mobile/src/hooks/mobile-dictation-audio-chunk.ts"], + "schedules": [], + "steps": [ + { + "action": "chunk", + "id": "chunk" + }, + { + "complete": "speech.dictation.chunk#1", + "params": { + "audioBase64": "ACVKb5S53gM=", + "dictationId": "dictation-1", + "sampleRate": 16000 + }, + "reply": { + "ok": true, + "result": { + "received": true + } + } + }, + { + "checkpoint": "acknowledged" + } + ] + }, + { + "id": "speech-dictation-session-transcript", + "operation": "speech.dictation-session", + "version": 1, + "family": "speech.dictation-session", + "sites": ["mobile/src/hooks/use-mobile-dictation.ts"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "action": "start", + "id": "start" + }, + { + "complete": "speech.dictation.start#1", + "params": { + "dictationId": "mobile-dictation-1767225600000-dakoxjr8wun" + }, + "reply": { + "ok": true, + "result": { + "started": true + } + } + }, + { + "action": "stop", + "id": "stop" + }, + { + "complete": "speech.dictation.finish#1", + "params": { + "dictationId": "mobile-dictation-1767225600000-dakoxjr8wun" + }, + "reply": { + "ok": true, + "result": { + "text": " hello world " + } + } + }, + { + "checkpoint": "transcribed" + } + ] + }, + { + "id": "speech-dictation-session-cancelled", + "operation": "speech.dictation-session", + "version": 1, + "family": "speech.dictation-session", + "sites": ["mobile/src/hooks/use-mobile-dictation.ts"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "action": "start", + "id": "start" + }, + { + "complete": "speech.dictation.start#1", + "params": { + "dictationId": "mobile-dictation-1767225600000-dakoxjr8wun" + }, + "reply": { + "ok": true, + "result": { + "started": true + } + } + }, + { + "action": "cancel", + "id": "cancel" + }, + { + "complete": "speech.dictation.cancel#1", + "params": { + "dictationId": "mobile-dictation-1767225600000-dakoxjr8wun" + }, + "reply": { + "ok": true, + "result": { + "cancelled": true + } + } + }, + { + "checkpoint": "cancelled" + } + ] + }, + { + "id": "aivault-history-scan-fulfilled", + "operation": "aiVault.history-scan", + "version": 1, + "family": "aiVault.history", + "sites": ["mobile/src/agent-history/use-mobile-agent-history-state.ts"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "complete": "status.get#1", + "params": { + "$undefined": true + }, + "reply": { + "ok": true, + "result": { + "capabilities": ["aiVault.v1"] + } + } + }, + { + "complete": "aiVault.listSessions#1", + "params": { + "force": false, + "limit": 500, + "scopePaths": ["/repo/feature"] + }, + "reply": { + "ok": true, + "result": { + "sessions": [ + { + "id": "s1", + "agent": "claude", + "cwd": "/repo/feature" + } + ], + "issues": [] + } + } + }, + { + "checkpoint": "ready" + } + ] + }, + { + "id": "aivault-history-scan-unsupported", + "operation": "aiVault.history-scan", + "version": 1, + "family": "aiVault.history", + "sites": ["mobile/src/agent-history/use-mobile-agent-history-state.ts"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "complete": "status.get#1", + "params": { + "$undefined": true + }, + "reply": { + "ok": true, + "result": { + "capabilities": ["mobile.tasks.v1"] + } + } + }, + { + "checkpoint": "unsupported" + } + ] + }, + { + "id": "aivault-history-scan-worktrees-late", + "operation": "aiVault.history-scan", + "version": 1, + "family": "aiVault.history", + "sites": ["mobile/src/agent-history/use-mobile-agent-history-state.ts"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount", + "args": { + "worktreesLoaded": false + } + }, + { + "complete": "status.get#1", + "params": { + "$undefined": true + }, + "reply": { + "ok": true, + "result": { + "capabilities": ["aiVault.v1"] + } + } + }, + { + "checkpoint": "held" + }, + { + "action": "worktrees-loaded", + "id": "worktrees-loaded" + }, + { + "complete": "status.get#2", + "params": { + "$undefined": true + }, + "reply": { + "ok": true, + "result": { + "capabilities": ["aiVault.v1"] + } + } + }, + { + "complete": "aiVault.listSessions#1", + "params": { + "force": false, + "limit": 500, + "scopePaths": ["/repo/feature"] + }, + "reply": { + "ok": true, + "result": { + "sessions": [ + { + "id": "s1", + "agent": "claude", + "cwd": "/repo/feature" + } + ], + "issues": [] + } + } + }, + { + "checkpoint": "ready" + } + ] + }, + { + "id": "terminal-query-reply-accepted", + "operation": "terminal.query-reply", + "version": 1, + "family": "terminal.query-reply", + "sites": ["mobile/src/terminal/mobile-terminal-query-reply.ts"], + "schedules": [], + "steps": [ + { + "action": "send", + "id": "send" + }, + { + "complete": "terminal.send#1", + "params": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "inputKind": "query-reply", + "terminal": "terminal-1", + "text": "\u001b[0n" + }, + "reply": { + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + }, + { + "checkpoint": "accepted" + } + ] + }, + { + "id": "terminal-query-reply-unsubscribed", + "operation": "terminal.query-reply", + "version": 1, + "family": "terminal.query-reply", + "sites": ["mobile/src/terminal/mobile-terminal-query-reply.ts"], + "schedules": [], + "steps": [ + { + "action": "send", + "id": "send", + "args": { + "handle": "terminal-9" + } + }, + { + "checkpoint": "dropped" + } + ] + }, + { + "id": "terminal-raw-input-reported", + "operation": "terminal.accessory-raw-send", + "version": 1, + "family": "terminal.raw-input", + "sites": [ + "mobile/src/terminal/terminal-live-accessory-raw-send.ts", + "mobile/src/terminal/worker-terminal-takeover-report.ts" + ], + "schedules": [], + "steps": [ + { + "action": "send", + "id": "send" + }, + { + "complete": "terminal.send#1", + "params": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "ls" + }, + "reply": { + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + }, + { + "complete": "orchestration.workerTerminalUserInput#1", + "params": { + "terminal": "terminal-1" + }, + "reply": { + "ok": true, + "result": { + "changed": 1 + } + } + }, + { + "checkpoint": "reported" + } + ] + }, + { + "id": "terminal-raw-input-refused", + "operation": "terminal.accessory-raw-send", + "version": 1, + "family": "terminal.raw-input", + "sites": [ + "mobile/src/terminal/terminal-live-accessory-raw-send.ts", + "mobile/src/terminal/worker-terminal-takeover-report.ts" + ], + "schedules": [], + "steps": [ + { + "action": "send", + "id": "send" + }, + { + "complete": "terminal.send#1", + "params": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "enter": false, + "terminal": "terminal-1", + "text": "ls" + }, + "reply": { + "ok": true, + "result": { + "send": { + "accepted": false + } + } + } + }, + { + "checkpoint": "not-reported" + } + ] + }, + { + "id": "terminal-takeover-report-retried", + "operation": "terminal.takeover-report", + "version": 1, + "family": "terminal.takeover-report", + "sites": ["mobile/src/terminal/worker-terminal-takeover-report.ts"], + "schedules": [], + "steps": [ + { + "action": "report", + "id": "report" + }, + { + "complete": "orchestration.workerTerminalUserInput#1", + "params": { + "terminal": "terminal-1" + }, + "reply": { + "ok": false, + "error": { + "code": "refused", + "message": "busy" + } + } + }, + { + "advance": 250 + }, + { + "complete": "orchestration.workerTerminalUserInput#2", + "params": { + "terminal": "terminal-1" + }, + "reply": { + "ok": true, + "result": { + "changed": 1 + } + } + }, + { + "checkpoint": "reported-on-retry" + } + ] + }, + { + "id": "terminal-takeover-report-accepted", + "operation": "terminal.takeover-report", + "version": 1, + "family": "terminal.takeover-report", + "sites": ["mobile/src/terminal/worker-terminal-takeover-report.ts"], + "schedules": [], + "steps": [ + { + "action": "report", + "id": "report" + }, + { + "complete": "orchestration.workerTerminalUserInput#1", + "params": { + "terminal": "terminal-1" + }, + "reply": { + "ok": true, + "result": { + "changed": 1 + } + } + }, + { + "checkpoint": "reported" + } + ] + }, + { + "id": "terminal-viewport-refit-applied", + "operation": "terminal.viewport-refit", + "version": 1, + "family": "terminal.viewport-refit", + "sites": ["mobile/src/terminal/terminal-viewport-refit.ts"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "action": "height", + "id": "height" + }, + { + "advance": 150 + }, + { + "complete": "terminal.updateViewport#1", + "params": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "viewport": { + "cols": 100, + "rows": 30 + } + }, + "reply": { + "ok": true, + "result": { + "updated": true, + "applied": true + } + } + }, + { + "checkpoint": "reflowed" + } + ] + }, + { + "id": "terminal-viewport-refit-legacy-desktop", + "operation": "terminal.viewport-refit", + "version": 1, + "family": "terminal.viewport-refit", + "sites": ["mobile/src/terminal/terminal-viewport-refit.ts"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "action": "height", + "id": "height" + }, + { + "advance": 150 + }, + { + "complete": "terminal.updateViewport#1", + "params": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "viewport": { + "cols": 100, + "rows": 30 + } + }, + "reply": { + "ok": false, + "error": { + "code": "method_not_found", + "message": "Unknown method: terminal.updateViewport" + } + } + }, + { + "checkpoint": "resubscribed" + } + ] + }, + { + "id": "notifications-push-registered", + "operation": "notifications.push-registration", + "version": 1, + "family": "notifications.push-registration", + "sites": ["mobile/src/notifications/push-registration.ts"], + "schedules": [], + "steps": [ + { + "action": "register", + "id": "register" + }, + { + "complete": "notifications.registerPush#1", + "params": { + "filter": { + "onlyWhenDesktopAway": true, + "sound": true + }, + "platform": "ios", + "token": "apns-token-1" + }, + "reply": { + "ok": true, + "result": { + "registered": true, + "registrationId": "registration-1" + } + } + }, + { + "action": "unregister", + "id": "unregister" + }, + { + "complete": "notifications.unregisterPush#1", + "params": null, + "reply": { + "ok": true, + "result": { + "unregistered": true + } + } + }, + { + "checkpoint": "settled" + } + ] + }, + { + "id": "notifications-push-gateway-rejected", + "operation": "notifications.push-registration", + "version": 1, + "family": "notifications.push-registration", + "sites": ["mobile/src/notifications/push-registration.ts"], + "schedules": [], + "steps": [ + { + "action": "register", + "id": "register" + }, + { + "complete": "notifications.registerPush#1", + "params": { + "filter": { + "onlyWhenDesktopAway": true, + "sound": true + }, + "platform": "ios", + "token": "apns-token-1" + }, + "reply": { + "ok": true, + "result": { + "registered": false, + "reason": "gateway_rejected" + } + } + }, + { + "checkpoint": "not-registered" + } + ] + }, + { + "id": "browser-pointer-click-fallback", + "operation": "browser.page-commands", + "version": 1, + "family": "browser.pointer-click", + "sites": [ + "mobile/src/browser/use-mobile-browser-request.ts", + "mobile/src/browser/use-mobile-browser-commands.ts" + ], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "action": "click", + "id": "click" + }, + { + "complete": "browser.mouseClick#1", + "params": { + "page": "page-1", + "worktree": "id:worktree-1", + "button": "left", + "modifiers": [], + "radius": 14, + "x": 40, + "y": 80 + }, + "reply": { + "ok": false, + "error": { + "code": "refused", + "message": "selector_not_found" + } + } + }, + { + "complete": "browser.mouseMove#1", + "params": { + "page": "page-1", + "worktree": "id:worktree-1", + "x": 40, + "y": 80 + }, + "reply": { + "ok": true, + "result": { + "moved": true + } + } + }, + { + "complete": "browser.mouseDown#1", + "params": { + "page": "page-1", + "worktree": "id:worktree-1", + "button": "left" + }, + "reply": { + "ok": true, + "result": { + "down": true + } + } + }, + { + "complete": "browser.mouseUp#1", + "params": { + "page": "page-1", + "worktree": "id:worktree-1", + "button": "left" + }, + "reply": { + "ok": true, + "result": { + "up": true + } + } + }, + { + "checkpoint": "clicked-by-fallback" + } + ] + }, + { + "id": "browser-pointer-click-accepted", + "operation": "browser.page-commands", + "version": 1, + "family": "browser.pointer-click", + "sites": [ + "mobile/src/browser/use-mobile-browser-request.ts", + "mobile/src/browser/use-mobile-browser-commands.ts" + ], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "action": "click", + "id": "click" + }, + { + "complete": "browser.mouseClick#1", + "params": { + "page": "page-1", + "worktree": "id:worktree-1", + "button": "left", + "modifiers": [], + "radius": 14, + "x": 40, + "y": 80 + }, + "reply": { + "ok": true, + "result": { + "clicked": true + } + } + }, + { + "checkpoint": "clicked" + } + ] + }, + { + "id": "browser-wheel-scrolled", + "operation": "browser.page-commands", + "version": 1, + "family": "browser.wheel", + "sites": [ + "mobile/src/browser/use-mobile-browser-request.ts", + "mobile/src/browser/use-mobile-browser-commands.ts" + ], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "action": "wheel", + "id": "wheel" + }, + { + "complete": "browser.mouseMove#1", + "params": { + "page": "page-1", + "worktree": "id:worktree-1", + "x": 40, + "y": 80 + }, + "reply": { + "ok": true, + "result": { + "moved": true + } + } + }, + { + "complete": "browser.mouseWheel#1", + "params": { + "page": "page-1", + "worktree": "id:worktree-1", + "dx": 0, + "dy": -120 + }, + "reply": { + "ok": true, + "result": { + "scrolled": true + } + } + }, + { + "checkpoint": "scrolled" + } + ] + }, + { + "id": "browser-keyboard-input", + "operation": "browser.page-commands", + "version": 1, + "family": "browser.keyboard", + "sites": [ + "mobile/src/browser/use-mobile-browser-request.ts", + "mobile/src/browser/use-mobile-browser-commands.ts" + ], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "action": "keyboard-text", + "id": "text" + }, + { + "complete": "browser.keyboardInsertText#1", + "params": { + "page": "page-1", + "worktree": "id:worktree-1", + "text": "hello" + }, + "reply": { + "ok": true, + "result": { + "inserted": true + } + } + }, + { + "action": "keypress", + "id": "keypress" + }, + { + "complete": "browser.keypress#1", + "params": { + "page": "page-1", + "worktree": "id:worktree-1", + "key": "Enter" + }, + "reply": { + "ok": true, + "result": { + "pressed": true + } + } + }, + { + "checkpoint": "typed" + } + ] + }, + { + "id": "browser-dialog-accepted", + "operation": "browser.page-commands", + "version": 1, + "family": "browser.dialog", + "sites": [ + "mobile/src/browser/use-mobile-browser-request.ts", + "mobile/src/browser/use-mobile-browser-commands.ts" + ], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "action": "dialog", + "id": "dialog" + }, + { + "complete": "browser.dialogAccept#1", + "params": { + "page": "page-1", + "worktree": "id:worktree-1" + }, + "reply": { + "ok": true, + "result": { + "accepted": true + } + } + }, + { + "checkpoint": "dismissed" + } + ] + }, + { + "id": "browser-dialog-dismissed", + "operation": "browser.page-commands", + "version": 1, + "family": "browser.dialog", + "sites": [ + "mobile/src/browser/use-mobile-browser-request.ts", + "mobile/src/browser/use-mobile-browser-commands.ts" + ], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "action": "dialog", + "id": "dialog", + "args": { + "accept": false + } + }, + { + "complete": "browser.dialogDismiss#1", + "params": { + "page": "page-1", + "worktree": "id:worktree-1" + }, + "reply": { + "ok": true, + "result": { + "dismissed": true + } + } + }, + { + "checkpoint": "dismissed" + } + ] + }, + { + "id": "aivault-resume-prepare-repin", + "operation": "aiVault.resume-preparation", + "version": 1, + "family": "aiVault.resume-preparation", + "sites": ["mobile/src/session/ai-vault-resume-preparation.ts"], + "schedules": [], + "steps": [ + { + "action": "prepare", + "id": "prepare" + }, + { + "complete": "aiVault.prepareSessionResume#1", + "params": { + "agent": "codex", + "codexHome": "/hosts/codex-runtime-home/home", + "executionHostId": "local", + "filePath": "/sessions/rollout.jsonl" + }, + "reply": { + "ok": true, + "result": { + "useRealCodexHome": false, + "substituteCodexHome": "/hosts/codex-accounts/acct-1/home" + } + } + }, + { + "checkpoint": "repinned" + } + ] + }, + { + "id": "aivault-resume-prepare-unavailable", + "operation": "aiVault.resume-preparation", + "version": 1, + "family": "aiVault.resume-preparation", + "sites": ["mobile/src/session/ai-vault-resume-preparation.ts"], + "schedules": [], + "steps": [ + { + "action": "prepare", + "id": "prepare" + }, + { + "complete": "aiVault.prepareSessionResume#1", + "params": { + "agent": "codex", + "codexHome": "/hosts/codex-runtime-home/home", + "executionHostId": "local", + "filePath": "/sessions/rollout.jsonl" + }, + "reply": { + "ok": false, + "error": { + "code": "forbidden", + "message": "Method 'aiVault.prepareSessionResume' is not available to mobile clients" + } + } + }, + { + "checkpoint": "degraded-to-legacy" + } + ] + }, + { + "id": "aivault-resume-prepare-refused", + "operation": "aiVault.resume-preparation", + "version": 1, + "family": "aiVault.resume-preparation", + "sites": ["mobile/src/session/ai-vault-resume-preparation.ts"], + "schedules": [], + "steps": [ + { + "action": "prepare", + "id": "prepare" + }, + { + "complete": "aiVault.prepareSessionResume#1", + "params": { + "agent": "codex", + "codexHome": "/hosts/codex-runtime-home/home", + "executionHostId": "local", + "filePath": "/sessions/rollout.jsonl" + }, + "reply": { + "ok": false, + "error": { + "code": "internal", + "message": "codex home is locked" + } + } + }, + { + "checkpoint": "refused" + } + ] + }, + { + "id": "aivault-resume-prepare-skipped", + "operation": "aiVault.resume-preparation", + "version": 1, + "family": "aiVault.resume-preparation", + "sites": ["mobile/src/session/ai-vault-resume-preparation.ts"], + "schedules": [], + "steps": [ + { + "action": "claude", + "id": "claude" + }, + { + "checkpoint": "no-wire" + } + ] + }, + { + "id": "aivault-resume-launch-sent", + "operation": "aiVault.resume-launch", + "version": 1, + "family": "aiVault.resume-launch", + "sites": ["mobile/src/session/ai-vault-resume-launch.ts"], + "schedules": [], + "steps": [ + { + "action": "full", + "id": "full" + }, + { + "complete": "session.tabs.createTerminal#1", + "params": { + "activate": false, + "clientMutationId": "resume-mutation-1", + "env": { + "ORCA_RESUME": "1" + }, + "envToDelete": ["CODEX_HOME"], + "launchAgent": "codex", + "navigation": "caller", + "select": true, + "worktree": "id:workspace-1" + }, + "reply": { + "ok": true, + "result": { + "tab": { + "id": "tab-9", + "type": "terminal", + "title": "codex", + "terminal": "terminal-9" + } + } + } + }, + { + "complete": "terminal.send#1", + "params": { + "terminal": "terminal-9", + "text": "codex resume rollout", + "enter": true + }, + "reply": { + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + }, + { + "checkpoint": "resumed" + } + ] + }, + { + "id": "aivault-resume-launch-locked", + "operation": "aiVault.resume-launch", + "version": 1, + "family": "aiVault.resume-launch", + "sites": ["mobile/src/session/ai-vault-resume-launch.ts"], + "schedules": [], + "steps": [ + { + "action": "full", + "id": "full" + }, + { + "complete": "session.tabs.createTerminal#1", + "params": { + "activate": false, + "clientMutationId": "resume-mutation-1", + "env": { + "ORCA_RESUME": "1" + }, + "envToDelete": ["CODEX_HOME"], + "launchAgent": "codex", + "navigation": "caller", + "select": true, + "worktree": "id:workspace-1" + }, + "reply": { + "ok": true, + "result": { + "tab": { + "id": "tab-9", + "type": "terminal", + "title": "codex", + "terminal": "terminal-9" + } + } + } + }, + { + "complete": "terminal.send#1", + "params": { + "terminal": "terminal-9", + "text": "codex resume rollout", + "enter": true + }, + "reply": { + "ok": true, + "result": { + "send": { + "accepted": false + } + } + } + }, + { + "checkpoint": "input-locked" + } + ] + }, + { + "id": "aivault-resume-launch-create-refused", + "operation": "aiVault.resume-launch", + "version": 1, + "family": "aiVault.resume-launch", + "sites": ["mobile/src/session/ai-vault-resume-launch.ts"], + "schedules": [], + "steps": [ + { + "action": "bare", + "id": "bare" + }, + { + "complete": "session.tabs.createTerminal#1", + "params": { + "activate": false, + "navigation": "caller", + "select": true, + "worktree": "id:workspace-1" + }, + "reply": { + "ok": false, + "error": { + "code": "worktree_busy", + "message": "Workspace is busy" + } + } + }, + { + "checkpoint": "create-refused" + } + ] + }, + { + "id": "aivault-resume-launch-invalid-tab", + "operation": "aiVault.resume-launch", + "version": 1, + "family": "aiVault.resume-launch", + "sites": ["mobile/src/session/ai-vault-resume-launch.ts"], + "schedules": [], + "steps": [ + { + "action": "full", + "id": "full" + }, + { + "complete": "session.tabs.createTerminal#1", + "params": { + "activate": false, + "clientMutationId": "resume-mutation-1", + "env": { + "ORCA_RESUME": "1" + }, + "envToDelete": ["CODEX_HOME"], + "launchAgent": "codex", + "navigation": "caller", + "select": true, + "worktree": "id:workspace-1" + }, + "reply": { + "ok": true, + "result": { + "tab": { + "id": "tab-9" + } + } + } + }, + { + "checkpoint": "invalid-tab" + } + ] + }, + { + "id": "clipboard-image-upload-single-frame-fallback", + "operation": "clipboard.image-upload", + "version": 1, + "family": "clipboard.image-upload", + "sites": ["mobile/src/session/mobile-clipboard-image.ts"], + "schedules": [], + "steps": [ + { + "action": "remote", + "id": "remote" + }, + { + "complete": "clipboard.startImageUpload#1", + "params": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + }, + "reply": { + "ok": false, + "error": { + "code": "method_not_found", + "message": "Unknown method" + } + } + }, + { + "complete": "clipboard.saveImageAsTempFile#1", + "params": { + "contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "connectionId": "connection-1" + }, + "reply": { + "ok": true, + "result": "/tmp/legacy.png" + } + }, + { + "checkpoint": "fell-back" + } + ] + }, + { + "id": "clipboard-image-upload-chunked", + "operation": "clipboard.image-upload", + "version": 1, + "family": "clipboard.image-upload", + "sites": ["mobile/src/session/mobile-clipboard-image.ts"], + "schedules": [], + "steps": [ + { + "action": "remote", + "id": "remote" + }, + { + "complete": "clipboard.startImageUpload#1", + "params": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + }, + "reply": { + "ok": true, + "result": { + "uploadId": "upload-1" + } + } + }, + { + "complete": "clipboard.appendImageUploadChunk#1", + "params": { + "uploadId": "upload-1", + "offset": 0, + "contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "reply": { + "ok": true, + "result": { + "received": 32 + } + } + }, + { + "complete": "clipboard.commitImageUpload#1", + "params": { + "uploadId": "upload-1" + }, + "reply": { + "ok": true, + "result": "/tmp/img.png" + } + }, + { + "checkpoint": "uploaded" + } + ] + }, + { + "id": "clipboard-image-upload-aborts-on-chunk-failure", + "operation": "clipboard.image-upload", + "version": 1, + "family": "clipboard.image-upload", + "sites": ["mobile/src/session/mobile-clipboard-image.ts"], + "schedules": [], + "steps": [ + { + "action": "local", + "id": "local" + }, + { + "complete": "clipboard.startImageUpload#1", + "params": { + "connectionId": null, + "expectedBase64Length": 32 + }, + "reply": { + "ok": true, + "result": { + "uploadId": "upload-2" + } + } + }, + { + "complete": "clipboard.appendImageUploadChunk#1", + "params": { + "uploadId": "upload-2", + "offset": 0, + "contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "reply": { + "ok": false, + "error": { + "code": "upload_expired", + "message": "Upload slot expired" + } + } + }, + { + "complete": "clipboard.abortImageUpload#1", + "params": { + "uploadId": "upload-2" + }, + "reply": { + "ok": true, + "result": { + "aborted": true + } + } + }, + { + "checkpoint": "aborted" + } + ] + }, + { + "id": "clipboard-image-upload-start-refused", + "operation": "clipboard.image-upload", + "version": 1, + "family": "clipboard.image-upload", + "sites": ["mobile/src/session/mobile-clipboard-image.ts"], + "schedules": [], + "steps": [ + { + "action": "remote", + "id": "remote" + }, + { + "complete": "clipboard.startImageUpload#1", + "params": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + }, + "reply": { + "ok": false, + "error": { + "code": "too_large", + "message": "Image is too large" + } + } + }, + { + "checkpoint": "start-refused" + } + ] + }, + { + "id": "clipboard-image-attachment-upload-refused", + "operation": "clipboard.image-terminal-attachment", + "version": 1, + "family": "clipboard.image-attachment", + "sites": [ + "mobile/src/session/mobile-image-attachment.ts", + "mobile/src/session/mobile-clipboard-image.ts" + ], + "schedules": [], + "steps": [ + { + "action": "normal", + "id": "normal" + }, + { + "complete": "clipboard.startImageUpload#1", + "params": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + }, + "reply": { + "ok": false, + "error": { + "code": "too_large", + "message": "Image is too large" + } + } + }, + { + "checkpoint": "upload-refused" + } + ] + }, + { + "id": "clipboard-image-attachment-pasted", + "operation": "clipboard.image-terminal-attachment", + "version": 1, + "family": "clipboard.image-attachment", + "sites": [ + "mobile/src/session/mobile-image-attachment.ts", + "mobile/src/session/mobile-clipboard-image.ts" + ], + "schedules": [], + "steps": [ + { + "action": "normal", + "id": "normal" + }, + { + "complete": "clipboard.startImageUpload#1", + "params": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + }, + "reply": { + "ok": true, + "result": { + "uploadId": "upload-1" + } + } + }, + { + "complete": "clipboard.appendImageUploadChunk#1", + "params": { + "uploadId": "upload-1", + "offset": 0, + "contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "reply": { + "ok": true, + "result": { + "received": 32 + } + } + }, + { + "complete": "clipboard.commitImageUpload#1", + "params": { + "uploadId": "upload-1" + }, + "reply": { + "ok": true, + "result": "/tmp/img.png" + } + }, + { + "complete": "terminal.send#1", + "params": { + "terminal": "terminal-1", + "text": "\u001b[200~/tmp/img.png\u001b[201~ ", + "enter": false, + "client": { + "id": "device-token-1", + "type": "mobile" + } + }, + "reply": { + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + }, + { + "checkpoint": "attached" + } + ] + }, + { + "id": "clipboard-image-attachment-cancelled", + "operation": "clipboard.image-terminal-attachment", + "version": 1, + "family": "clipboard.image-attachment", + "sites": [ + "mobile/src/session/mobile-image-attachment.ts", + "mobile/src/session/mobile-clipboard-image.ts" + ], + "schedules": [], + "steps": [ + { + "action": "cancelled", + "id": "cancelled" + }, + { + "checkpoint": "no-wire" + } + ] + }, + { + "id": "clipboard-image-attachment-blocked-before-send", + "operation": "clipboard.image-terminal-attachment", + "version": 1, + "family": "clipboard.image-attachment", + "sites": [ + "mobile/src/session/mobile-image-attachment.ts", + "mobile/src/session/mobile-clipboard-image.ts" + ], + "schedules": [], + "steps": [ + { + "action": "blocked", + "id": "blocked" + }, + { + "complete": "clipboard.startImageUpload#1", + "params": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + }, + "reply": { + "ok": true, + "result": { + "uploadId": "upload-1" + } + } + }, + { + "complete": "clipboard.appendImageUploadChunk#1", + "params": { + "uploadId": "upload-1", + "offset": 0, + "contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "reply": { + "ok": true, + "result": { + "received": 32 + } + } + }, + { + "complete": "clipboard.commitImageUpload#1", + "params": { + "uploadId": "upload-1" + }, + "reply": { + "ok": true, + "result": "/tmp/img.png" + } + }, + { + "checkpoint": "blocked" + } + ] + }, + { + "id": "clipboard-image-attachment-anonymous", + "operation": "clipboard.image-terminal-attachment", + "version": 1, + "family": "clipboard.image-attachment", + "sites": [ + "mobile/src/session/mobile-image-attachment.ts", + "mobile/src/session/mobile-clipboard-image.ts" + ], + "schedules": [], + "steps": [ + { + "action": "anonymous", + "id": "anonymous" + }, + { + "complete": "clipboard.startImageUpload#1", + "params": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + }, + "reply": { + "ok": true, + "result": { + "uploadId": "upload-1" + } + } + }, + { + "complete": "clipboard.appendImageUploadChunk#1", + "params": { + "uploadId": "upload-1", + "offset": 0, + "contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "reply": { + "ok": true, + "result": { + "received": 32 + } + } + }, + { + "complete": "clipboard.commitImageUpload#1", + "params": { + "uploadId": "upload-1" + }, + "reply": { + "ok": true, + "result": "/tmp/img.png" + } + }, + { + "complete": "terminal.send#1", + "params": { + "terminal": "terminal-1", + "text": "\u001b[200~/tmp/img.png\u001b[201~ ", + "enter": false + }, + "reply": { + "ok": true, + "result": { + "send": { + "accepted": false + } + } + } + }, + { + "checkpoint": "rejected" + } + ] + }, + { + "id": "native-chat-image-paste-single", + "operation": "nativeChat.image-paste", + "version": 1, + "family": "nativeChat.image-paste", + "sites": ["mobile/src/session/mobile-native-chat-image-send.ts"], + "schedules": [], + "steps": [ + { + "action": "one", + "id": "one" + }, + { + "complete": "terminal.send#1", + "params": { + "terminal": "terminal-1", + "text": "\u0015", + "enter": false, + "client": { + "id": "device-token-1", + "type": "mobile" + } + }, + "reply": { + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + }, + { + "complete": "terminal.send#2", + "params": { + "terminal": "terminal-1", + "text": "\u001b[200~/tmp/a.png\u001b[201~ ", + "enter": false, + "client": { + "id": "device-token-1", + "type": "mobile" + } + }, + "reply": { + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + }, + { + "checkpoint": "pasted" + } + ] + }, + { + "id": "native-chat-image-paste-two-images", + "operation": "nativeChat.image-paste", + "version": 1, + "family": "nativeChat.image-paste", + "sites": ["mobile/src/session/mobile-native-chat-image-send.ts"], + "schedules": [], + "steps": [ + { + "action": "two", + "id": "two" + }, + { + "complete": "terminal.send#1", + "params": { + "terminal": "terminal-1", + "text": "\u0015", + "enter": false, + "client": { + "id": "device-token-1", + "type": "mobile" + } + }, + "reply": { + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + }, + { + "complete": "terminal.send#2", + "params": { + "terminal": "terminal-1", + "text": "\u001b[200~/tmp/a.png\u001b[201~", + "enter": false, + "client": { + "id": "device-token-1", + "type": "mobile" + } + }, + "reply": { + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + }, + { + "complete": "terminal.send#3", + "params": { + "terminal": "terminal-1", + "text": "\u001b[200~/tmp/b.png\u001b[201~ ", + "enter": false, + "client": { + "id": "device-token-1", + "type": "mobile" + } + }, + "reply": { + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + }, + { + "checkpoint": "pasted-both" + } + ] + }, + { + "id": "native-chat-image-paste-stops-on-rejection", + "operation": "nativeChat.image-paste", + "version": 1, + "family": "nativeChat.image-paste", + "sites": ["mobile/src/session/mobile-native-chat-image-send.ts"], + "schedules": [], + "steps": [ + { + "action": "two", + "id": "two" + }, + { + "complete": "terminal.send#1", + "params": { + "terminal": "terminal-1", + "text": "\u0015", + "enter": false, + "client": { + "id": "device-token-1", + "type": "mobile" + } + }, + "reply": { + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + }, + { + "complete": "terminal.send#2", + "params": { + "terminal": "terminal-1", + "text": "\u001b[200~/tmp/a.png\u001b[201~", + "enter": false, + "client": { + "id": "device-token-1", + "type": "mobile" + } + }, + "reply": { + "ok": true, + "result": { + "send": { + "accepted": false + } + } + } + }, + { + "checkpoint": "stopped" + } + ] + }, + { + "id": "native-chat-image-paste-trailing-image", + "operation": "nativeChat.image-paste", + "version": 1, + "family": "nativeChat.image-paste", + "sites": ["mobile/src/session/mobile-native-chat-image-send.ts"], + "schedules": [], + "steps": [ + { + "action": "trailing", + "id": "trailing" + }, + { + "complete": "terminal.send#1", + "params": { + "terminal": "terminal-1", + "text": "\u0015", + "enter": false, + "client": { + "id": "device-token-1", + "type": "mobile" + } + }, + "reply": { + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + }, + { + "complete": "terminal.send#2", + "params": { + "terminal": "terminal-1", + "text": "\u001b[200~/tmp/a.png\u001b[201~", + "enter": false, + "client": { + "id": "device-token-1", + "type": "mobile" + } + }, + "reply": { + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + }, + { + "checkpoint": "pasted" + } + ] + }, + { + "id": "native-chat-write-accepted", + "operation": "nativeChat.terminal-write", + "version": 1, + "family": "nativeChat.terminal-write", + "sites": ["mobile/src/session/mobile-native-chat-send.ts"], + "schedules": [], + "steps": [ + { + "action": "body", + "id": "body" + }, + { + "complete": "terminal.send#1", + "params": { + "terminal": "terminal-1", + "text": "hello", + "enter": true, + "client": { + "id": "device-token-1", + "type": "mobile" + } + }, + "reply": { + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + }, + { + "complete": "orchestration.workerTerminalUserInput#1", + "params": { + "terminal": "terminal-1" + }, + "reply": { + "ok": true, + "result": { + "reported": true + } + } + }, + { + "checkpoint": "accepted" + } + ] + }, + { + "id": "native-chat-write-rejected", + "operation": "nativeChat.terminal-write", + "version": 1, + "family": "nativeChat.terminal-write", + "sites": ["mobile/src/session/mobile-native-chat-send.ts"], + "schedules": [], + "steps": [ + { + "action": "body", + "id": "body" + }, + { + "complete": "terminal.send#1", + "params": { + "terminal": "terminal-1", + "text": "hello", + "enter": true, + "client": { + "id": "device-token-1", + "type": "mobile" + } + }, + "reply": { + "ok": true, + "result": { + "send": { + "accepted": false + } + } + } + }, + { + "checkpoint": "rejected" + } + ] + }, + { + "id": "native-chat-write-delivery-unknown", + "operation": "nativeChat.terminal-write", + "version": 1, + "family": "nativeChat.terminal-write", + "sites": ["mobile/src/session/mobile-native-chat-send.ts"], + "schedules": [], + "steps": [ + { + "action": "body", + "id": "body" + }, + { + "complete": "terminal.send#1", + "params": { + "terminal": "terminal-1", + "text": "hello", + "enter": true, + "client": { + "id": "device-token-1", + "type": "mobile" + } + }, + "reject": { + "message": "Connection lost", + "deliveryUnknown": true + } + }, + { + "checkpoint": "unknown" + } + ] + }, + { + "id": "native-chat-write-clear-line", + "operation": "nativeChat.terminal-write", + "version": 1, + "family": "nativeChat.terminal-write", + "sites": ["mobile/src/session/mobile-native-chat-send.ts"], + "schedules": [], + "steps": [ + { + "action": "clear", + "id": "clear" + }, + { + "complete": "terminal.send#1", + "params": { + "terminal": "terminal-1", + "text": "\u0015", + "enter": false, + "client": { + "id": "device-token-1", + "type": "mobile" + } + }, + "reply": { + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + }, + { + "checkpoint": "cleared" + } + ] + }, + { + "id": "native-chat-write-typed-command", + "operation": "nativeChat.terminal-write", + "version": 1, + "family": "nativeChat.terminal-write", + "sites": ["mobile/src/session/mobile-native-chat-send.ts"], + "schedules": [], + "steps": [ + { + "action": "command", + "id": "command" + }, + { + "complete": "terminal.send#1", + "params": { + "terminal": "terminal-1", + "text": "\u0015", + "enter": false, + "client": { + "id": "device-token-1", + "type": "mobile" + } + }, + "reply": { + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + }, + { + "complete": "orchestration.workerTerminalUserInput#1", + "params": { + "terminal": "terminal-1" + }, + "reply": { + "ok": true, + "result": { + "reported": true + } + } + }, + { + "advance": 16 + }, + { + "complete": "terminal.send#2", + "params": { + "terminal": "terminal-1", + "text": "o", + "enter": false, + "client": { + "id": "device-token-1", + "type": "mobile" + } + }, + "reply": { + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + }, + { + "advance": 16 + }, + { + "complete": "terminal.send#3", + "params": { + "terminal": "terminal-1", + "text": "k", + "enter": false, + "client": { + "id": "device-token-1", + "type": "mobile" + } + }, + "reply": { + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + }, + { + "advance": 16 + }, + { + "complete": "terminal.send#4", + "params": { + "terminal": "terminal-1", + "text": "\r", + "enter": false, + "client": { + "id": "device-token-1", + "type": "mobile" + } + }, + "reply": { + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + }, + { + "checkpoint": "typed" + } + ] + }, + { + "id": "native-chat-session-option-pick-written", + "operation": "nativeChat.session-option-pick", + "version": 1, + "family": "nativeChat.session-option-pick", + "sites": ["mobile/src/session/mobile-native-chat-session-option-persistence.ts"], + "schedules": [], + "steps": [ + { + "action": "pick", + "id": "pick" + }, + { + "complete": "settings.mutateNativeChatSessionOptions#1", + "params": { + "type": "apply-picks", + "agent": "claude", + "picks": [ + { + "modelId": "opus", + "optionId": "model", + "value": "opus" + } + ] + }, + "reply": { + "ok": true, + "result": { + "applied": true + } + } + }, + { + "checkpoint": "written" + } + ] + }, + { + "id": "native-chat-session-option-pick-refused", + "operation": "nativeChat.session-option-pick", + "version": 1, + "family": "nativeChat.session-option-pick", + "sites": ["mobile/src/session/mobile-native-chat-session-option-persistence.ts"], + "schedules": [], + "steps": [ + { + "action": "pick", + "id": "pick" + }, + { + "complete": "settings.mutateNativeChatSessionOptions#1", + "params": { + "type": "apply-picks", + "agent": "claude", + "picks": [ + { + "modelId": "opus", + "optionId": "model", + "value": "opus" + } + ] + }, + "reply": { + "ok": false, + "error": { + "code": "method_not_found", + "message": "Unknown method" + } + } + }, + { + "checkpoint": "refusal-swallowed" + } + ] + }, + { + "id": "native-chat-session-option-pick-empty", + "operation": "nativeChat.session-option-pick", + "version": 1, + "family": "nativeChat.session-option-pick", + "sites": ["mobile/src/session/mobile-native-chat-session-option-persistence.ts"], + "schedules": [], + "steps": [ + { + "action": "empty", + "id": "empty" + }, + { + "checkpoint": "no-wire" + } + ] + }, + { + "id": "session-tab-activation-focus-and-activate", + "operation": "session.tab-activation", + "version": 1, + "family": "session.tab-activation", + "sites": ["mobile/src/session/mobile-session-tab-activation.ts"], + "schedules": [], + "steps": [ + { + "action": "focus", + "id": "focus" + }, + { + "complete": "terminal.focus#1", + "params": { + "navigation": "host", + "terminal": "terminal-1" + }, + "reply": { + "ok": true, + "result": { + "focused": true + } + } + }, + { + "action": "activate", + "id": "activate" + }, + { + "complete": "session.tabs.activate#1", + "params": { + "intent": "user", + "navigation": "caller", + "notifyClients": false, + "tabId": "tab-1", + "worktree": "id:workspace-1" + }, + "reply": { + "ok": true, + "result": { + "activated": true + } + } + }, + { + "checkpoint": "activated" + } + ] + }, + { + "id": "session-tab-activation-refused", + "operation": "session.tab-activation", + "version": 1, + "family": "session.tab-activation", + "sites": ["mobile/src/session/mobile-session-tab-activation.ts"], + "schedules": [], + "steps": [ + { + "action": "activate", + "id": "activate" + }, + { + "complete": "session.tabs.activate#1", + "params": { + "intent": "user", + "navigation": "caller", + "notifyClients": false, + "tabId": "tab-1", + "worktree": "id:workspace-1" + }, + "reply": { + "ok": false, + "error": { + "code": "tab_not_found", + "message": "No such tab" + } + } + }, + { + "checkpoint": "refused" + } + ] + }, + { + "id": "session-tab-activation-transport-error", + "operation": "session.tab-activation", + "version": 1, + "family": "session.tab-activation", + "sites": ["mobile/src/session/mobile-session-tab-activation.ts"], + "schedules": [], + "steps": [ + { + "action": "focus", + "id": "focus" + }, + { + "complete": "terminal.focus#1", + "params": { + "navigation": "host", + "terminal": "terminal-1" + }, + "reject": { + "message": "Request timed out" + } + }, + { + "checkpoint": "errored" + } + ] + }, + { + "id": "session-tabs-health-reconciled", + "operation": "session.tabs-stream-health", + "version": 1, + "family": "session.tabs-stream-health", + "sites": ["mobile/src/session/mobile-session-tabs-stream-health.ts"], + "schedules": [], + "steps": [ + { + "action": "activate", + "id": "activate" + }, + { + "action": "reconcile", + "id": "reconcile" + }, + { + "complete": "session.tabs.list#1", + "params": { + "worktree": "id:workspace-1" + }, + "reply": { + "ok": true, + "result": { + "tabs": [ + { + "id": "tab-1" + } + ] + } + } + }, + { + "checkpoint": "reconciled" + } + ] + }, + { + "id": "session-tabs-health-refused", + "operation": "session.tabs-stream-health", + "version": 1, + "family": "session.tabs-stream-health", + "sites": ["mobile/src/session/mobile-session-tabs-stream-health.ts"], + "schedules": [], + "steps": [ + { + "action": "activate", + "id": "activate" + }, + { + "action": "reconcile", + "id": "reconcile" + }, + { + "complete": "session.tabs.list#1", + "params": { + "worktree": "id:workspace-1" + }, + "reply": { + "ok": false, + "error": { + "code": "worktree_not_found", + "message": "No such workspace" + } + } + }, + { + "checkpoint": "refused" + } + ] + }, + { + "id": "session-tabs-health-stale-application-revision", + "operation": "session.tabs-stream-health", + "version": 1, + "family": "session.tabs-stream-health", + "sites": ["mobile/src/session/mobile-session-tabs-stream-health.ts"], + "schedules": [], + "steps": [ + { + "action": "activate", + "id": "activate" + }, + { + "action": "reconcile", + "id": "reconcile" + }, + { + "action": "revise", + "id": "revise" + }, + { + "complete": "session.tabs.list#1", + "params": { + "worktree": "id:workspace-1" + }, + "reply": { + "ok": true, + "result": { + "tabs": [ + { + "id": "tab-1" + } + ] + } + } + }, + { + "checkpoint": "dropped" + } + ] + }, + { + "id": "session-tabs-health-errored", + "operation": "session.tabs-stream-health", + "version": 1, + "family": "session.tabs-stream-health", + "sites": ["mobile/src/session/mobile-session-tabs-stream-health.ts"], + "schedules": [], + "steps": [ + { + "action": "activate", + "id": "activate" + }, + { + "action": "reconcile", + "id": "reconcile" + }, + { + "complete": "session.tabs.list#1", + "params": { + "worktree": "id:workspace-1" + }, + "reject": { + "message": "Connection lost", + "deliveryUnknown": true + } + }, + { + "checkpoint": "errored" + } + ] + }, + { + "id": "file-tap-opens-worktree-file", + "operation": "files.terminal-path-tap", + "version": 1, + "family": "files.terminal-path-tap", + "sites": ["mobile/src/session/mobile-file-tap-open.ts"], + "schedules": [], + "steps": [ + { + "action": "tap", + "id": "tap" + }, + { + "complete": "files.resolveTerminalPath#1", + "params": { + "crossWorkspace": true, + "cwd": "/repo", + "pathText": "src/app.ts", + "terminal": "terminal-1", + "worktree": "id:workspace-1" + }, + "reply": { + "ok": true, + "result": { + "exists": true, + "isDirectory": false, + "relativePath": "src/app.ts", + "openTarget": { + "kind": "worktree-file", + "relativePath": "src/app.ts", + "absolutePath": "/repo/src/app.ts", + "provider": "ssh" + } + } + } + }, + { + "complete": "files.open#1", + "params": { + "worktree": "id:workspace-1", + "relativePath": "src/app.ts" + }, + "reply": { + "ok": true, + "result": { + "opened": true + } + } + }, + { + "action": "list", + "id": "list" + }, + { + "advance": 300 + }, + { + "checkpoint": "switched" + }, + { + "advance": 1500 + }, + { + "checkpoint": "settled" + } + ] + }, + { + "id": "file-tap-resolve-miss", + "operation": "files.terminal-path-tap", + "version": 1, + "family": "files.terminal-path-tap", + "sites": ["mobile/src/session/mobile-file-tap-open.ts"], + "schedules": [], + "steps": [ + { + "action": "tap", + "id": "tap" + }, + { + "complete": "files.resolveTerminalPath#1", + "params": { + "crossWorkspace": true, + "cwd": "/repo", + "pathText": "src/app.ts", + "terminal": "terminal-1", + "worktree": "id:workspace-1" + }, + "reply": { + "ok": true, + "result": { + "exists": false, + "isDirectory": false + } + } + }, + { + "checkpoint": "missed" + } + ] + }, + { + "id": "file-tap-resolve-refused", + "operation": "files.terminal-path-tap", + "version": 1, + "family": "files.terminal-path-tap", + "sites": ["mobile/src/session/mobile-file-tap-open.ts"], + "schedules": [], + "steps": [ + { + "action": "tap", + "id": "tap" + }, + { + "complete": "files.resolveTerminalPath#1", + "params": { + "crossWorkspace": true, + "cwd": "/repo", + "pathText": "src/app.ts", + "terminal": "terminal-1", + "worktree": "id:workspace-1" + }, + "reply": { + "ok": false, + "error": { + "code": "worktree_not_found", + "message": "No such workspace" + } + } + }, + { + "checkpoint": "refused" + } + ] + }, + { + "id": "file-tap-open-refused", + "operation": "files.terminal-path-tap", + "version": 1, + "family": "files.terminal-path-tap", + "sites": ["mobile/src/session/mobile-file-tap-open.ts"], + "schedules": [], + "steps": [ + { + "action": "tap", + "id": "tap" + }, + { + "complete": "files.resolveTerminalPath#1", + "params": { + "crossWorkspace": true, + "cwd": "/repo", + "pathText": "src/app.ts", + "terminal": "terminal-1", + "worktree": "id:workspace-1" + }, + "reply": { + "ok": true, + "result": { + "exists": true, + "isDirectory": false, + "relativePath": "src/app.ts", + "openTarget": { + "kind": "worktree-file", + "relativePath": "src/app.ts", + "absolutePath": "/repo/src/app.ts", + "provider": "ssh" + } + } + } + }, + { + "complete": "files.open#1", + "params": { + "worktree": "id:workspace-1", + "relativePath": "src/app.ts" + }, + "reply": { + "ok": false, + "error": { + "code": "file_locked", + "message": "File is locked" + } + } + }, + { + "checkpoint": "open-refused" + } + ] + }, + { + "id": "file-tap-previews-absolute-artifact", + "operation": "files.terminal-path-tap", + "version": 1, + "family": "files.terminal-path-tap", + "sites": ["mobile/src/session/mobile-file-tap-open.ts"], + "schedules": [], + "steps": [ + { + "action": "tap", + "id": "tap" + }, + { + "complete": "files.resolveTerminalPath#1", + "params": { + "crossWorkspace": true, + "cwd": "/repo", + "pathText": "src/app.ts", + "terminal": "terminal-1", + "worktree": "id:workspace-1" + }, + "reply": { + "ok": true, + "result": { + "exists": true, + "isDirectory": false, + "openTarget": { + "kind": "absolute-file", + "absolutePath": "/logs/run.txt", + "grantId": "grant-1" + } + } + } + }, + { + "checkpoint": "previewed" + } + ] + }, + { + "id": "structured-launch-unsupported", + "operation": "agentSession.structured-launch", + "version": 1, + "family": "agentSession.structured-launch", + "sites": ["mobile/src/session/mobile-structured-agent-session-launch.ts"], + "schedules": [], + "steps": [ + { + "action": "claude", + "id": "claude" + }, + { + "complete": "agentSession.createSupport#1", + "params": { + "agent": "claude", + "worktree": "id:workspace-1" + }, + "reply": { + "ok": true, + "result": { + "supported": false, + "reason": "remote" + } + } + }, + { + "checkpoint": "unsupported" + } + ] + }, + { + "id": "structured-launch-support-refused", + "operation": "agentSession.structured-launch", + "version": 1, + "family": "agentSession.structured-launch", + "sites": ["mobile/src/session/mobile-structured-agent-session-launch.ts"], + "schedules": [], + "steps": [ + { + "action": "claude", + "id": "claude" + }, + { + "complete": "agentSession.createSupport#1", + "params": { + "agent": "claude", + "worktree": "id:workspace-1" + }, + "reply": { + "ok": false, + "error": { + "code": "method_not_found", + "message": "Unknown method" + } + } + }, + { + "checkpoint": "unsupported" + } + ] + }, + { + "id": "structured-launch-created", + "operation": "agentSession.structured-launch", + "version": 1, + "family": "agentSession.structured-launch", + "sites": ["mobile/src/session/mobile-structured-agent-session-launch.ts"], + "schedules": [], + "steps": [ + { + "action": "claude", + "id": "claude" + }, + { + "complete": "agentSession.createSupport#1", + "params": { + "agent": "claude", + "worktree": "id:workspace-1" + }, + "reply": { + "ok": true, + "result": { + "supported": true + } + } + }, + { + "complete": "agentSession.create#1", + "params": { + "agent": "claude", + "envelope": { + "clientOperationId": "1767225600000-00000000000040008000000000000002", + "expectedRuntimeFence": null, + "payloadFingerprint": "ce04a6ad4f07079b36cb0b4e9b1bcfd95481b5cb2428fbe93b3c0cf995ef8605", + "sessionId": "claude_00000000_0000_4000_8000_000000000001" + }, + "worktree": "id:workspace-1" + }, + "reply": { + "ok": true, + "result": { + "ok": true, + "value": { + "sessionId": "claude_00000000_0000_4000_8000_000000000001" + } + } + } + }, + { + "checkpoint": "created" + } + ] + }, + { + "id": "structured-launch-definitive-refusal", + "operation": "agentSession.structured-launch", + "version": 1, + "family": "agentSession.structured-launch", + "sites": ["mobile/src/session/mobile-structured-agent-session-launch.ts"], + "schedules": [], + "steps": [ + { + "action": "claude", + "id": "claude" + }, + { + "complete": "agentSession.createSupport#1", + "params": { + "agent": "claude", + "worktree": "id:workspace-1" + }, + "reply": { + "ok": true, + "result": { + "supported": true + } + } + }, + { + "complete": "agentSession.create#1", + "params": { + "agent": "claude", + "envelope": { + "clientOperationId": "1767225600000-00000000000040008000000000000002", + "expectedRuntimeFence": null, + "payloadFingerprint": "ce04a6ad4f07079b36cb0b4e9b1bcfd95481b5cb2428fbe93b3c0cf995ef8605", + "sessionId": "claude_00000000_0000_4000_8000_000000000001" + }, + "worktree": "id:workspace-1" + }, + "reply": { + "ok": true, + "result": { + "ok": false, + "refusal": { + "code": "agent_session_unsupported", + "message": "No agent" + } + } + } + }, + { + "checkpoint": "refused" + } + ] + }, + { + "id": "structured-launch-replays-dropped-create", + "operation": "agentSession.structured-launch", + "version": 1, + "family": "agentSession.structured-launch", + "sites": ["mobile/src/session/mobile-structured-agent-session-launch.ts"], + "schedules": [], + "steps": [ + { + "action": "claude", + "id": "claude" + }, + { + "complete": "agentSession.createSupport#1", + "params": { + "agent": "claude", + "worktree": "id:workspace-1" + }, + "reply": { + "ok": true, + "result": { + "supported": true + } + } + }, + { + "complete": "agentSession.create#1", + "params": { + "agent": "claude", + "envelope": { + "clientOperationId": "1767225600000-00000000000040008000000000000002", + "expectedRuntimeFence": null, + "payloadFingerprint": "ce04a6ad4f07079b36cb0b4e9b1bcfd95481b5cb2428fbe93b3c0cf995ef8605", + "sessionId": "claude_00000000_0000_4000_8000_000000000001" + }, + "worktree": "id:workspace-1" + }, + "reject": { + "message": "Connection lost", + "deliveryUnknown": true + } + }, + { + "complete": "agentSession.create#2", + "params": { + "agent": "claude", + "envelope": { + "clientOperationId": "1767225600000-00000000000040008000000000000002", + "expectedRuntimeFence": null, + "payloadFingerprint": "ce04a6ad4f07079b36cb0b4e9b1bcfd95481b5cb2428fbe93b3c0cf995ef8605", + "sessionId": "claude_00000000_0000_4000_8000_000000000001" + }, + "worktree": "id:workspace-1" + }, + "reply": { + "ok": true, + "result": { + "ok": true, + "value": { + "sessionId": "claude_00000000_0000_4000_8000_000000000001" + } + } + } + }, + { + "checkpoint": "replayed" + } + ] + }, + { + "id": "session-markdown-tab-read", + "operation": "session.tab-documents", + "version": 1, + "family": "session.tab-documents", + "sites": ["mobile/src/session/use-mobile-session-document-readers.ts"], + "schedules": [], + "steps": [ + { + "action": "markdown", + "id": "markdown" + }, + { + "complete": "markdown.readTab#1", + "params": { + "tabId": "tab-md", + "worktree": "id:workspace-1" + }, + "reply": { + "ok": true, + "result": { + "content": "# a", + "version": "v1", + "isDirty": false, + "editable": true + } + } + }, + { + "checkpoint": "read" + } + ] + }, + { + "id": "session-markdown-tab-disk-fallback", + "operation": "session.tab-documents", + "version": 1, + "family": "session.tab-documents", + "sites": ["mobile/src/session/use-mobile-session-document-readers.ts"], + "schedules": [], + "steps": [ + { + "action": "markdown", + "id": "markdown" + }, + { + "complete": "markdown.readTab#1", + "params": { + "tabId": "tab-md", + "worktree": "id:workspace-1" + }, + "reply": { + "ok": false, + "error": { + "code": "renderer_unavailable", + "message": "Renderer unavailable" + } + } + }, + { + "complete": "files.read#1", + "params": { + "relativePath": "docs/readme.md", + "worktree": "id:workspace-1" + }, + "reply": { + "ok": true, + "result": { + "content": "# disk", + "truncated": false, + "byteLength": 6 + } + } + }, + { + "checkpoint": "fell-back" + } + ] + }, + { + "id": "session-markdown-tab-refused", + "operation": "session.tab-documents", + "version": 1, + "family": "session.tab-documents", + "sites": ["mobile/src/session/use-mobile-session-document-readers.ts"], + "schedules": [], + "steps": [ + { + "action": "markdown", + "id": "markdown" + }, + { + "complete": "markdown.readTab#1", + "params": { + "tabId": "tab-md", + "worktree": "id:workspace-1" + }, + "reply": { + "ok": false, + "error": { + "code": "tab_not_found", + "message": "No such tab" + } + } + }, + { + "checkpoint": "errored" + } + ] + }, + { + "id": "session-file-tab-read", + "operation": "session.tab-documents", + "version": 1, + "family": "session.tab-documents", + "sites": ["mobile/src/session/use-mobile-session-document-readers.ts"], + "schedules": [], + "steps": [ + { + "action": "file", + "id": "file" + }, + { + "complete": "files.read#1", + "params": { + "relativePath": "src/app.ts", + "worktree": "id:workspace-1" + }, + "reply": { + "ok": true, + "result": { + "content": "a\n", + "truncated": false, + "byteLength": 2 + } + } + }, + { + "checkpoint": "read" + } + ] + }, + { + "id": "session-terminal-list-merged", + "operation": "session.terminal-inventory", + "version": 1, + "family": "session.terminal-inventory", + "sites": ["mobile/src/session/use-mobile-session-terminal-list.ts"], + "schedules": [], + "steps": [ + { + "action": "fetch", + "id": "fetch" + }, + { + "complete": "terminal.list#1", + "params": { + "includeVisualLayouts": false, + "worktree": "id:workspace-1" + }, + "reply": { + "ok": true, + "result": { + "terminals": [ + { + "handle": "terminal-1", + "title": "one" + }, + { + "handle": "terminal-2", + "title": "two" + } + ] + } + } + }, + { + "checkpoint": "listed" + } + ] + }, + { + "id": "session-terminal-list-dedupes-handles", + "operation": "session.terminal-inventory", + "version": 1, + "family": "session.terminal-inventory", + "sites": ["mobile/src/session/use-mobile-session-terminal-list.ts"], + "schedules": [], + "steps": [ + { + "action": "fetch", + "id": "fetch" + }, + { + "complete": "terminal.list#1", + "params": { + "includeVisualLayouts": false, + "worktree": "id:workspace-1" + }, + "reply": { + "ok": true, + "result": { + "terminals": [ + { + "handle": "terminal-1", + "title": "one" + }, + { + "handle": "terminal-1", + "title": "renamed" + } + ] + } + } + }, + { + "checkpoint": "deduped" + } + ] + }, + { + "id": "session-terminal-list-refused", + "operation": "session.terminal-inventory", + "version": 1, + "family": "session.terminal-inventory", + "sites": ["mobile/src/session/use-mobile-session-terminal-list.ts"], + "schedules": [], + "steps": [ + { + "action": "fetch", + "id": "fetch" + }, + { + "complete": "terminal.list#1", + "params": { + "includeVisualLayouts": false, + "worktree": "id:workspace-1" + }, + "reply": { + "ok": false, + "error": { + "code": "worktree_not_found", + "message": "No such workspace" + } + } + }, + { + "checkpoint": "refused" + } + ] + }, + { + "id": "session-terminal-list-empty-guarded", + "operation": "session.terminal-inventory", + "version": 1, + "family": "session.terminal-inventory", + "sites": ["mobile/src/session/use-mobile-session-terminal-list.ts"], + "schedules": [], + "steps": [ + { + "action": "no-empty", + "id": "no-empty" + }, + { + "complete": "terminal.list#1", + "params": { + "includeVisualLayouts": false, + "worktree": "id:workspace-1" + }, + "reply": { + "ok": true, + "result": { + "terminals": [] + } + } + }, + { + "checkpoint": "kept" + } + ] + }, + { + "id": "native-chat-readability-local-repo", + "operation": "session.native-chat-readability", + "version": 1, + "family": "session.native-chat-readability", + "sites": ["mobile/src/session/use-mobile-native-chat-readability.ts"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "complete": "repo.list#1", + "params": { + "$undefined": true + }, + "reply": { + "ok": true, + "result": { + "repos": [ + { + "id": "repo-1", + "connectionId": null + } + ] + } + } + }, + { + "checkpoint": "readable" + } + ] + }, + { + "id": "native-chat-readability-remote-repo", + "operation": "session.native-chat-readability", + "version": 1, + "family": "session.native-chat-readability", + "sites": ["mobile/src/session/use-mobile-native-chat-readability.ts"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "complete": "repo.list#1", + "params": { + "$undefined": true + }, + "reply": { + "ok": true, + "result": { + "repos": [ + { + "id": "repo-1", + "connectionId": "ssh-1" + } + ] + } + } + }, + { + "checkpoint": "unreadable" + } + ] + }, + { + "id": "native-chat-readability-refused", + "operation": "session.native-chat-readability", + "version": 1, + "family": "session.native-chat-readability", + "sites": ["mobile/src/session/use-mobile-native-chat-readability.ts"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "complete": "repo.list#1", + "params": { + "$undefined": true + }, + "reply": { + "ok": false, + "error": { + "code": "internal", + "message": "Scan failed" + } + } + }, + { + "checkpoint": "unreadable" + } + ] + }, + { + "id": "native-chat-stop-accepted", + "operation": "session.native-chat-stop", + "version": 1, + "family": "session.native-chat-stop", + "sites": ["mobile/src/session/use-mobile-native-chat-stop.ts"], + "schedules": [], + "steps": [ + { + "action": "stop", + "id": "stop" + }, + { + "complete": "terminal.send#1", + "params": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "text": "\u001b" + }, + "reply": { + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + }, + { + "complete": "orchestration.workerTerminalUserInput#1", + "params": { + "terminal": "terminal-1" + }, + "reply": { + "ok": true, + "result": { + "reported": true + } + } + }, + { + "checkpoint": "first-accepted" + }, + { + "advance": 120 + }, + { + "complete": "terminal.send#2", + "params": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "text": "\u001b" + }, + "optional": true, + "reply": { + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + }, + { + "checkpoint": "settled" + } + ] + }, + { + "id": "native-chat-stop-both-rejected", + "operation": "session.native-chat-stop", + "version": 1, + "family": "session.native-chat-stop", + "sites": ["mobile/src/session/use-mobile-native-chat-stop.ts"], + "schedules": [], + "steps": [ + { + "action": "stop", + "id": "stop" + }, + { + "complete": "terminal.send#1", + "params": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "text": "\u001b" + }, + "reply": { + "ok": true, + "result": { + "send": { + "accepted": false + } + } + } + }, + { + "advance": 120 + }, + { + "complete": "terminal.send#2", + "params": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "text": "\u001b" + }, + "optional": true, + "reply": { + "ok": true, + "result": { + "send": { + "accepted": false + } + } + } + }, + { + "checkpoint": "reported" + } + ] + }, + { + "id": "native-chat-stop-delivery-unknown", + "operation": "session.native-chat-stop", + "version": 1, + "family": "session.native-chat-stop", + "sites": ["mobile/src/session/use-mobile-native-chat-stop.ts"], + "schedules": [], + "steps": [ + { + "action": "stop", + "id": "stop" + }, + { + "complete": "terminal.send#1", + "params": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "text": "\u001b" + }, + "reject": { + "message": "Connection lost", + "deliveryUnknown": true + } + }, + { + "advance": 120 + }, + { + "complete": "terminal.send#2", + "params": { + "client": { + "id": "device-token-1", + "type": "mobile" + }, + "terminal": "terminal-1", + "text": "\u001b" + }, + "optional": true, + "reject": { + "message": "Connection lost", + "deliveryUnknown": true + } + }, + { + "checkpoint": "unconfirmed" + } + ] + }, + { + "id": "session-create-markdown-note", + "operation": "session.content-create", + "version": 1, + "family": "session.content-create", + "sites": ["mobile/src/session/use-mobile-session-content-create-actions.ts"], + "schedules": [], + "steps": [ + { + "action": "markdown", + "id": "markdown" + }, + { + "complete": "status.get#1", + "params": { + "$undefined": true + }, + "reply": { + "ok": true, + "result": { + "capabilities": ["files.mutation-ownership.v1"] + } + } + }, + { + "complete": "worktree.show#1", + "params": { + "worktree": "id:workspace-1" + }, + "reply": { + "ok": true, + "result": { + "worktree": { + "hostId": "local" + } + } + } + }, + { + "complete": "files.createFile#1", + "params": { + "expectedExecutionHostId": "local", + "relativePath": "untitled.md", + "worktree": "id:workspace-1" + }, + "reply": { + "ok": true, + "result": { + "created": true + } + } + }, + { + "complete": "files.open#1", + "params": { + "relativePath": "untitled.md", + "worktree": "id:workspace-1" + }, + "reply": { + "ok": true, + "result": { + "opened": true + } + } + }, + { + "advance": 300 + }, + { + "checkpoint": "created" + } + ] + }, + { + "id": "session-create-markdown-name-collision", + "operation": "session.content-create", + "version": 1, + "family": "session.content-create", + "sites": ["mobile/src/session/use-mobile-session-content-create-actions.ts"], + "schedules": [], + "steps": [ + { + "action": "markdown", + "id": "markdown" + }, + { + "complete": "status.get#1", + "params": { + "$undefined": true + }, + "reply": { + "ok": true, + "result": { + "capabilities": ["files.mutation-ownership.v1"] + } + } + }, + { + "complete": "worktree.show#1", + "params": { + "worktree": "id:workspace-1" + }, + "reply": { + "ok": true, + "result": { + "worktree": { + "hostId": "local" + } + } + } + }, + { + "complete": "files.createFile#1", + "params": { + "expectedExecutionHostId": "local", + "relativePath": "untitled.md", + "worktree": "id:workspace-1" + }, + "reply": { + "ok": false, + "error": { + "code": "file_exists", + "message": "File already exists" + } + } + }, + { + "complete": "files.createFile#2", + "params": { + "expectedExecutionHostId": "local", + "relativePath": "untitled-2.md", + "worktree": "id:workspace-1" + }, + "reply": { + "ok": true, + "result": { + "created": true + } + } + }, + { + "complete": "files.open#1", + "params": { + "relativePath": "untitled-2.md", + "worktree": "id:workspace-1" + }, + "reply": { + "ok": true, + "result": { + "opened": true + } + } + }, + { + "advance": 300 + }, + { + "checkpoint": "created-second" + } + ] + }, + { + "id": "session-create-browser-tab", + "operation": "session.content-create", + "version": 1, + "family": "session.content-create", + "sites": ["mobile/src/session/use-mobile-session-content-create-actions.ts"], + "schedules": [], + "steps": [ + { + "action": "browser", + "id": "browser" + }, + { + "complete": "browser.tabCreate#1", + "params": { + "activate": true, + "url": "https://example.com/", + "worktree": "id:workspace-1" + }, + "reply": { + "ok": true, + "result": { + "browserPageId": "page-1" + } + } + }, + { + "advance": 1200 + }, + { + "checkpoint": "created" + } + ] + }, + { + "id": "session-create-browser-refused", + "operation": "session.content-create", + "version": 1, + "family": "session.content-create", + "sites": ["mobile/src/session/use-mobile-session-content-create-actions.ts"], + "schedules": [], + "steps": [ + { + "action": "browser", + "id": "browser" + }, + { + "complete": "browser.tabCreate#1", + "params": { + "activate": true, + "url": "https://example.com/", + "worktree": "id:workspace-1" + }, + "reply": { + "ok": false, + "error": { + "code": "browser_unavailable", + "message": "Browser unavailable" + } + } + }, + { + "checkpoint": "refused" + } + ] + }, + { + "id": "session-tab-close-terminal", + "operation": "session.tab-close", + "version": 1, + "family": "session.tab-close", + "sites": ["mobile/src/session/use-mobile-session-close-actions.ts"], + "schedules": [], + "steps": [ + { + "action": "close-terminal", + "id": "close-terminal" + }, + { + "complete": "terminal.close#1", + "params": { + "terminal": "terminal-1" + }, + "reply": { + "ok": true, + "result": { + "closed": true + } + } + }, + { + "checkpoint": "closed" + } + ] + }, + { + "id": "session-tab-close-refused-keeps-tab", + "operation": "session.tab-close", + "version": 1, + "family": "session.tab-close", + "sites": ["mobile/src/session/use-mobile-session-close-actions.ts"], + "schedules": [], + "steps": [ + { + "action": "close-terminal", + "id": "close-terminal" + }, + { + "complete": "terminal.close#1", + "params": { + "terminal": "terminal-1" + }, + "reply": { + "ok": false, + "error": { + "code": "terminal_not_found", + "message": "No such terminal" + } + } + }, + { + "checkpoint": "kept" + } + ] + }, + { + "id": "session-tab-rename", + "operation": "session.tab-close", + "version": 1, + "family": "session.tab-close", + "sites": ["mobile/src/session/use-mobile-session-close-actions.ts"], + "schedules": [], + "steps": [ + { + "action": "rename", + "id": "rename", + "args": { + "title": "build" + } + }, + { + "complete": "terminal.rename#1", + "params": { + "terminal": "terminal-1", + "title": "build" + }, + "reply": { + "ok": true, + "result": { + "renamed": true + } + } + }, + { + "advance": 300 + }, + { + "checkpoint": "renamed" + } + ] + }, + { + "id": "session-tab-close-session-tab", + "operation": "session.tab-close", + "version": 1, + "family": "session.tab-close", + "sites": ["mobile/src/session/use-mobile-session-close-actions.ts"], + "schedules": [], + "steps": [ + { + "action": "close-tab", + "id": "close-tab" + }, + { + "complete": "session.tabs.close#1", + "params": { + "reason": "user", + "tabId": "tab-1", + "worktree": "id:workspace-1" + }, + "reply": { + "ok": true, + "result": { + "closed": true + } + } + }, + { + "checkpoint": "closed" + } + ] + }, + { + "id": "review-mark-reviewed-persists", + "operation": "session.diff-review-actions", + "version": 1, + "family": "session.diff-review-actions", + "sites": [ + "mobile/src/session/use-mobile-diff-review-interactions.ts", + "mobile/src/session/use-mobile-diff-review-comment-actions.ts", + "mobile/src/session/use-mobile-diff-review-git-actions.ts", + "mobile/src/session/use-mobile-diff-review-send-actions.ts", + "mobile/src/session/mobile-native-chat-stale-input.ts" + ], + "schedules": [], + "steps": [ + { + "action": "mark-reviewed", + "id": "mark-reviewed" + }, + { + "complete": "worktree.set#1", + "params": { + "diffComments": [ + { + "body": "needs a test", + "createdAt": 0, + "filePath": "src/app.ts", + "id": "note-1", + "lineNumber": 4, + "worktreeId": "workspace-1", + "side": "modified" + } + ], + "mobileDiffReview": { + "completedAt": 1767225600000, + "files": { + "unstaged:src/app.ts": { + "filePath": "src/app.ts", + "key": "unstaged:src/app.ts", + "lastOpenedAt": { + "$undefined": true + }, + "lastSeenDiffIdentity": "identity-1", + "oldPath": { + "$undefined": true + }, + "reviewDiffIdentity": "identity-1", + "reviewedAt": 1767225600000, + "scope": "unstaged" + } + }, + "updatedAt": 1767225600000, + "version": 1 + }, + "worktree": "id:workspace-1" + }, + "reply": { + "ok": true, + "result": { + "updated": true + } + } + }, + { + "checkpoint": "persisted" + } + ] + }, + { + "id": "review-mark-reviewed-rolls-back", + "operation": "session.diff-review-actions", + "version": 1, + "family": "session.diff-review-actions", + "sites": [ + "mobile/src/session/use-mobile-diff-review-interactions.ts", + "mobile/src/session/use-mobile-diff-review-comment-actions.ts", + "mobile/src/session/use-mobile-diff-review-git-actions.ts", + "mobile/src/session/use-mobile-diff-review-send-actions.ts", + "mobile/src/session/mobile-native-chat-stale-input.ts" + ], + "schedules": [], + "steps": [ + { + "action": "mark-reviewed", + "id": "mark-reviewed" + }, + { + "complete": "worktree.set#1", + "params": { + "diffComments": [ + { + "body": "needs a test", + "createdAt": 0, + "filePath": "src/app.ts", + "id": "note-1", + "lineNumber": 4, + "worktreeId": "workspace-1", + "side": "modified" + } + ], + "mobileDiffReview": { + "completedAt": 1767225600000, + "files": { + "unstaged:src/app.ts": { + "filePath": "src/app.ts", + "key": "unstaged:src/app.ts", + "lastOpenedAt": { + "$undefined": true + }, + "lastSeenDiffIdentity": "identity-1", + "oldPath": { + "$undefined": true + }, + "reviewDiffIdentity": "identity-1", + "reviewedAt": 1767225600000, + "scope": "unstaged" + } + }, + "updatedAt": 1767225600000, + "version": 1 + }, + "worktree": "id:workspace-1" + }, + "reply": { + "ok": false, + "error": { + "code": "worktree_locked", + "message": "Workspace is locked" + } + } + }, + { + "checkpoint": "rolled-back" + } + ] + }, + { + "id": "review-stage-file", + "operation": "session.diff-review-actions", + "version": 1, + "family": "session.diff-review-actions", + "sites": [ + "mobile/src/session/use-mobile-diff-review-interactions.ts", + "mobile/src/session/use-mobile-diff-review-comment-actions.ts", + "mobile/src/session/use-mobile-diff-review-git-actions.ts", + "mobile/src/session/use-mobile-diff-review-send-actions.ts", + "mobile/src/session/mobile-native-chat-stale-input.ts" + ], + "schedules": [], + "steps": [ + { + "action": "stage", + "id": "stage" + }, + { + "complete": "git.stage#1", + "params": { + "filePath": "src/app.ts", + "worktree": "id:workspace-1" + }, + "reply": { + "ok": true, + "result": { + "staged": true + } + } + }, + { + "checkpoint": "staged" + } + ] + }, + { + "id": "review-stage-refused", + "operation": "session.diff-review-actions", + "version": 1, + "family": "session.diff-review-actions", + "sites": [ + "mobile/src/session/use-mobile-diff-review-interactions.ts", + "mobile/src/session/use-mobile-diff-review-comment-actions.ts", + "mobile/src/session/use-mobile-diff-review-git-actions.ts", + "mobile/src/session/use-mobile-diff-review-send-actions.ts", + "mobile/src/session/mobile-native-chat-stale-input.ts" + ], + "schedules": [], + "steps": [ + { + "action": "discard", + "id": "discard" + }, + { + "complete": "git.discard#1", + "params": { + "filePath": "src/app.ts", + "worktree": "id:workspace-1" + }, + "reply": { + "ok": false, + "error": { + "code": "git_conflict", + "message": "Cannot discard during a merge" + } + } + }, + { + "checkpoint": "refused" + } + ] + }, + { + "id": "review-open-in-session", + "operation": "session.diff-review-actions", + "version": 1, + "family": "session.diff-review-actions", + "sites": [ + "mobile/src/session/use-mobile-diff-review-interactions.ts", + "mobile/src/session/use-mobile-diff-review-comment-actions.ts", + "mobile/src/session/use-mobile-diff-review-git-actions.ts", + "mobile/src/session/use-mobile-diff-review-send-actions.ts", + "mobile/src/session/mobile-native-chat-stale-input.ts" + ], + "schedules": [], + "steps": [ + { + "action": "open-in-session", + "id": "open-in-session" + }, + { + "complete": "files.openDiff#1", + "params": { + "relativePath": "src/app.ts", + "staged": false, + "worktree": "id:workspace-1" + }, + "reply": { + "ok": true, + "result": { + "opened": true + } + } + }, + { + "checkpoint": "opened" + } + ] + }, + { + "id": "review-send-notes-heals-stale-input", + "operation": "session.diff-review-actions", + "version": 1, + "family": "session.diff-review-actions", + "sites": [ + "mobile/src/session/use-mobile-diff-review-interactions.ts", + "mobile/src/session/use-mobile-diff-review-comment-actions.ts", + "mobile/src/session/use-mobile-diff-review-git-actions.ts", + "mobile/src/session/use-mobile-diff-review-send-actions.ts", + "mobile/src/session/mobile-native-chat-stale-input.ts" + ], + "schedules": [], + "steps": [ + { + "action": "mark-stale", + "id": "mark-stale" + }, + { + "action": "send-notes", + "id": "send-notes" + }, + { + "complete": "terminal.send#1", + "params": { + "enter": false, + "terminal": "terminal-1", + "text": "\u0015" + }, + "reply": { + "ok": true, + "result": { + "send": { + "accepted": true + } + } + } + }, + { + "checkpoint": "healed" + } + ] + }, + { + "id": "review-create-terminal-refused", + "operation": "session.diff-review-actions", + "version": 1, + "family": "session.diff-review-actions", + "sites": [ + "mobile/src/session/use-mobile-diff-review-interactions.ts", + "mobile/src/session/use-mobile-diff-review-comment-actions.ts", + "mobile/src/session/use-mobile-diff-review-git-actions.ts", + "mobile/src/session/use-mobile-diff-review-send-actions.ts", + "mobile/src/session/mobile-native-chat-stale-input.ts" + ], + "schedules": [], + "steps": [ + { + "action": "create-and-send", + "id": "create-and-send" + }, + { + "complete": "session.tabs.createTerminal#1", + "params": { + "activate": false, + "navigation": "caller", + "select": true, + "worktree": "id:workspace-1" + }, + "reply": { + "ok": false, + "error": { + "code": "worktree_busy", + "message": "Workspace is busy" + } + } + }, + { + "checkpoint": "refused" + } + ] + }, + { + "id": "session-diff-notes-loaded", + "operation": "session.diff-notes", + "version": 1, + "family": "session.diff-notes", + "sites": ["mobile/src/session/use-mobile-session-diff-comments.ts"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "complete": "worktree.show#1", + "params": { + "worktree": "id:workspace-1" + }, + "reply": { + "ok": true, + "result": { + "worktree": { + "diffComments": [ + { + "body": "needs a test", + "createdAt": 0, + "filePath": "src/app.ts", + "id": "note-1", + "lineNumber": 4, + "worktreeId": "workspace-1" + } + ] + } + } + } + }, + { + "checkpoint": "loaded" + } + ] + }, + { + "id": "session-diff-notes-load-refused", + "operation": "session.diff-notes", + "version": 1, + "family": "session.diff-notes", + "sites": ["mobile/src/session/use-mobile-session-diff-comments.ts"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "complete": "worktree.show#1", + "params": { + "worktree": "id:workspace-1" + }, + "reply": { + "ok": false, + "error": { + "code": "worktree_not_found", + "message": "No such workspace" + } + } + }, + { + "checkpoint": "unchanged" + } + ] + }, + { + "id": "session-markdown-saved", + "operation": "session.markdown-save", + "version": 1, + "family": "session.markdown-save", + "sites": ["mobile/src/session/use-mobile-session-markdown-actions.ts"], + "schedules": [], + "steps": [ + { + "action": "save", + "id": "save" + }, + { + "complete": "markdown.saveTab#1", + "params": { + "baseVersion": "v1", + "content": "# b", + "tabId": "tab-md", + "worktree": "id:workspace-1" + }, + "reply": { + "ok": true, + "result": { + "content": "# b", + "version": "v2", + "isDirty": false + } + } + }, + { + "checkpoint": "saved" + } + ] + }, + { + "id": "session-markdown-save-conflict", + "operation": "session.markdown-save", + "version": 1, + "family": "session.markdown-save", + "sites": ["mobile/src/session/use-mobile-session-markdown-actions.ts"], + "schedules": [], + "steps": [ + { + "action": "save", + "id": "save" + }, + { + "complete": "markdown.saveTab#1", + "params": { + "baseVersion": "v1", + "content": "# b", + "tabId": "tab-md", + "worktree": "id:workspace-1" + }, + "reply": { + "ok": false, + "error": { + "code": "version_conflict", + "message": "Document changed on disk" + } + } + }, + { + "checkpoint": "conflicted" + } + ] + }, + { + "id": "quick-commands-loaded-and-saved", + "operation": "settings.quick-commands", + "version": 1, + "family": "settings.quick-commands", + "sites": ["mobile/src/session/use-quick-commands.ts"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "complete": "settings.getTerminalQuickCommands#1", + "params": { + "$undefined": true + }, + "reply": { + "ok": true, + "result": { + "terminalQuickCommands": [] + } + } + }, + { + "action": "persist", + "id": "persist" + }, + { + "complete": "settings.updateTerminalQuickCommands#1", + "params": { + "mutation": { + "command": { + "appendEnter": true, + "command": "pnpm build", + "id": "qc-1", + "label": "build" + }, + "type": "upsert" + } + }, + "reply": { + "ok": true, + "result": { + "terminalQuickCommands": [ + { + "id": "qc-1", + "label": "build", + "command": "pnpm build", + "appendEnter": true + } + ] + } + } + }, + { + "checkpoint": "saved" + } + ] + }, + { + "id": "quick-commands-save-refused-rolls-back", + "operation": "settings.quick-commands", + "version": 1, + "family": "settings.quick-commands", + "sites": ["mobile/src/session/use-quick-commands.ts"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "complete": "settings.getTerminalQuickCommands#1", + "params": { + "$undefined": true + }, + "reply": { + "ok": true, + "result": { + "terminalQuickCommands": [] + } + } + }, + { + "action": "persist", + "id": "persist" + }, + { + "complete": "settings.updateTerminalQuickCommands#1", + "params": { + "mutation": { + "command": { + "appendEnter": true, + "command": "pnpm build", + "id": "qc-1", + "label": "build" + }, + "type": "upsert" + } + }, + "reply": { + "ok": false, + "error": { + "code": "settings_locked", + "message": "Settings are locked" + } + } + }, + { + "checkpoint": "rolled-back" + } + ] + }, + { + "id": "quick-commands-load-refused", + "operation": "settings.quick-commands", + "version": 1, + "family": "settings.quick-commands", + "sites": ["mobile/src/session/use-quick-commands.ts"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "complete": "settings.getTerminalQuickCommands#1", + "params": { + "$undefined": true + }, + "reply": { + "ok": false, + "error": { + "code": "method_not_found", + "message": "Unknown method" + } + } + }, + { + "checkpoint": "errored" + } + ] + }, + { + "id": "native-chat-image-upload-start-refused", + "operation": "nativeChat.image-upload", + "version": 1, + "family": "nativeChat.image-upload", + "sites": ["mobile/src/session/mobile-native-chat-image-attachment.ts"], + "schedules": [], + "steps": [ + { + "action": "normal", + "id": "normal" + }, + { + "complete": "clipboard.startImageUpload#1", + "params": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + }, + "reply": { + "ok": false, + "error": { + "code": "too_large", + "message": "Image is too large" + } + } + }, + { + "checkpoint": "refused" + } + ] + }, + { + "id": "native-chat-image-upload-single", + "operation": "nativeChat.image-upload", + "version": 1, + "family": "nativeChat.image-upload", + "sites": ["mobile/src/session/mobile-native-chat-image-attachment.ts"], + "schedules": [], + "steps": [ + { + "action": "normal", + "id": "normal" + }, + { + "complete": "clipboard.startImageUpload#1", + "params": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + }, + "reply": { + "ok": true, + "result": { + "uploadId": "upload-1" + } + } + }, + { + "complete": "clipboard.appendImageUploadChunk#1", + "params": { + "uploadId": "upload-1", + "offset": 0, + "contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "reply": { + "ok": true, + "result": { + "received": 32 + } + } + }, + { + "complete": "clipboard.commitImageUpload#1", + "params": { + "uploadId": "upload-1" + }, + "reply": { + "ok": true, + "result": "/tmp/img-1.png" + } + }, + { + "checkpoint": "uploaded" + } + ] + }, + { + "id": "native-chat-image-upload-two", + "operation": "nativeChat.image-upload", + "version": 1, + "family": "nativeChat.image-upload", + "sites": ["mobile/src/session/mobile-native-chat-image-attachment.ts"], + "schedules": [], + "steps": [ + { + "action": "two", + "id": "two" + }, + { + "complete": "clipboard.startImageUpload#1", + "params": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + }, + "reply": { + "ok": true, + "result": { + "uploadId": "upload-1" + } + } + }, + { + "complete": "clipboard.appendImageUploadChunk#1", + "params": { + "uploadId": "upload-1", + "offset": 0, + "contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "reply": { + "ok": true, + "result": { + "received": 32 + } + } + }, + { + "complete": "clipboard.commitImageUpload#1", + "params": { + "uploadId": "upload-1" + }, + "reply": { + "ok": true, + "result": "/tmp/img-1.png" + } + }, + { + "complete": "clipboard.startImageUpload#2", + "params": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + }, + "reply": { + "ok": true, + "result": { + "uploadId": "upload-2" + } + } + }, + { + "complete": "clipboard.appendImageUploadChunk#2", + "params": { + "uploadId": "upload-2", + "offset": 0, + "contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "reply": { + "ok": true, + "result": { + "received": 32 + } + } + }, + { + "complete": "clipboard.commitImageUpload#2", + "params": { + "uploadId": "upload-2" + }, + "reply": { + "ok": true, + "result": "/tmp/img-2.png" + } + }, + { + "checkpoint": "uploaded-both" + } + ] + }, + { + "id": "native-chat-image-upload-second-fails", + "operation": "nativeChat.image-upload", + "version": 1, + "family": "nativeChat.image-upload", + "sites": ["mobile/src/session/mobile-native-chat-image-attachment.ts"], + "schedules": [], + "steps": [ + { + "action": "two", + "id": "two" + }, + { + "complete": "clipboard.startImageUpload#1", + "params": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + }, + "reply": { + "ok": true, + "result": { + "uploadId": "upload-1" + } + } + }, + { + "complete": "clipboard.appendImageUploadChunk#1", + "params": { + "uploadId": "upload-1", + "offset": 0, + "contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "reply": { + "ok": true, + "result": { + "received": 32 + } + } + }, + { + "complete": "clipboard.commitImageUpload#1", + "params": { + "uploadId": "upload-1" + }, + "reply": { + "ok": true, + "result": "/tmp/img-1.png" + } + }, + { + "complete": "clipboard.startImageUpload#2", + "params": { + "connectionId": "connection-1", + "expectedBase64Length": 32 + }, + "reply": { + "ok": false, + "error": { + "code": "too_large", + "message": "Image is too large" + } + } + }, + { + "checkpoint": "partial" + } + ] + }, + { + "id": "native-chat-image-upload-cancelled", + "operation": "nativeChat.image-upload", + "version": 1, + "family": "nativeChat.image-upload", + "sites": ["mobile/src/session/mobile-native-chat-image-attachment.ts"], + "schedules": [], + "steps": [ + { + "action": "cancelled", + "id": "cancelled" + }, + { + "checkpoint": "no-wire" + } + ] + }, + { + "id": "files-explorer-legacy-fallback", + "operation": "files.explorer-screen", + "version": 1, + "family": "files.explorer-screen", + "sites": ["mobile/src/files/MobileFileExplorerPanel.tsx"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "checkpoint": "loading" + }, + { + "complete": "files.readDir#1", + "params": { + "worktree": "id:wt-files", + "relativePath": "" + }, + "reply": { + "ok": false, + "error": { + "code": "method_not_found", + "message": "Unknown method" + } + } + }, + { + "complete": "files.list#1", + "params": { + "worktree": "id:wt-files" + }, + "reply": { + "ok": true, + "result": { + "files": [ + { + "relativePath": "README.md", + "basename": "README.md", + "kind": "text" + }, + { + "relativePath": "src/app.ts", + "basename": "app.ts", + "kind": "text" + } + ], + "totalCount": 2, + "truncated": true + } + } + }, + { + "checkpoint": "legacy-listed" + } + ] + }, + { + "id": "files-explorer-readdir", + "operation": "files.explorer-screen", + "version": 1, + "family": "files.explorer-screen", + "sites": ["mobile/src/files/MobileFileExplorerPanel.tsx"], + "schedules": [], + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "checkpoint": "loading" + }, + { + "complete": "files.readDir#1", + "params": { + "worktree": "id:wt-files", + "relativePath": "" + }, + "reply": { + "ok": true, + "result": [ + { + "name": "src", + "isDirectory": true + }, + { + "name": "README.md", + "isDirectory": false + } + ] + } + }, + { + "checkpoint": "listed" + } + ] + }, + { + "id": "new-workspace-repositories-fulfilled", + "operation": "workspace.repositories", + "version": 1, + "family": "components.new-workspace-repositories", + "sites": ["mobile/src/components/use-new-workspace-repositories.ts"], + "schedules": [], + "deviceStore": { + "orca:last-visited-worktree": "{\"hostId\":\"host-1\",\"worktreeId\":\"repo-b::/tmp/repo-b\"}" + }, + "steps": [ + { + "action": "mount", + "id": "mount" + }, + { + "checkpoint": "loading" + }, + { + "complete": "repo.list#1", + "params": { + "$undefined": true + }, + "reply": { + "ok": true, + "result": { + "repos": [ + { + "id": "repo-a", + "displayName": "alpha", + "path": "/tmp/repo-a" + }, + { + "id": "repo-b", + "displayName": "beta", + "path": "/tmp/repo-b" + } + ] + } + } + }, + { + "checkpoint": "selected" + } + ] + }, + { + "id": "codex-reset-credit-consumed", + "operation": "accounts.codex-reset-credit", + "version": 1, + "family": "components.codex-reset-credit", + "sites": [ + "mobile/src/components/codex-reset-credit.ts", + "mobile/src/storage/codex-reset-attempt-journal.ts" + ], + "schedules": [], + "deviceStore": {}, + "steps": [ + { + "action": "confirm", + "id": "confirm" + }, + { + "checkpoint": "requested" + }, + { + "complete": "accounts.consumeCodexResetCredit#1", + "params": { + "idempotencyKey": "00000000-0000-4000-8000-000000000001", + "expectedScope": { + "target": { + "runtime": "host", + "wslDistro": null + }, + "accountId": "codex-1", + "accountRevision": 1700000000000, + "offerRevision": "v1:[1,null,null,[],null,null,1700000000000]" + } + }, + "reply": { + "ok": true, + "result": { + "outcome": "reset", + "scope": { + "target": { + "runtime": "host", + "wslDistro": null + }, + "accountId": "codex-1", + "accountRevision": 1700000000000, + "offerRevision": "v1:[1,null,null,[],null,null,1700000000000]" + }, + "snapshot": { + "claude": { + "accounts": [], + "activeAccountId": null + }, + "codex": { + "accounts": [ + { + "id": "codex-1", + "email": "codex@example.test", + "updatedAt": 1700000000000 + } + ], + "activeAccountId": "codex-1", + "activeAccountIdsByRuntime": { + "host": "codex-1", + "wsl": {} + } + }, + "rateLimits": { + "claude": null, + "codex": { + "provider": "codex", + "session": null, + "weekly": null, + "rateLimitResetCredits": { + "availableCount": 1 + }, + "updatedAt": 1700000000000, + "error": null, + "status": "ok" + }, + "inactiveClaudeAccounts": [], + "inactiveCodexAccounts": [] + } + } + } + } + }, + { + "checkpoint": "consumed" + } + ] + }, + { + "id": "codex-reset-credit-resumed", + "operation": "accounts.codex-reset-credit", + "version": 1, + "family": "components.codex-reset-credit", + "sites": ["mobile/src/storage/codex-reset-attempt-journal.ts"], + "schedules": [], + "deviceStore": { + "orca:codex-reset-credit-attempt:v1:0832055c2fa90e8e145c588ad4db656a2fc2840ed2e851a28494eae769db9b3e": "{\"v\":1,\"hostId\":\"host-1\",\"expectedScope\":{\"target\":{\"runtime\":\"host\",\"wslDistro\":null},\"accountId\":\"codex-1\",\"accountRevision\":1700000000000,\"offerRevision\":\"v1:[1,null,null,[],null,null,1700000000000]\"},\"idempotencyKey\":\"11111111-1111-4111-8111-111111111111\"}" + }, + "steps": [ + { + "action": "confirm", + "id": "confirm" + }, + { + "checkpoint": "requested" + }, + { + "complete": "accounts.consumeCodexResetCredit#1", + "params": { + "idempotencyKey": "11111111-1111-4111-8111-111111111111", + "expectedScope": { + "target": { + "runtime": "host", + "wslDistro": null + }, + "accountId": "codex-1", + "accountRevision": 1700000000000, + "offerRevision": "v1:[1,null,null,[],null,null,1700000000000]" + } + }, + "reply": { + "ok": true, + "result": { + "outcome": "alreadyRedeemed", + "scope": { + "target": { + "runtime": "host", + "wslDistro": null + }, + "accountId": "codex-1", + "accountRevision": 1700000000000, + "offerRevision": "v1:[1,null,null,[],null,null,1700000000000]" + }, + "snapshot": { + "claude": { + "accounts": [], + "activeAccountId": null + }, + "codex": { + "accounts": [ + { + "id": "codex-1", + "email": "codex@example.test", + "updatedAt": 1700000000000 + } + ], + "activeAccountId": "codex-1", + "activeAccountIdsByRuntime": { + "host": "codex-1", + "wsl": {} + } + }, + "rateLimits": { + "claude": null, + "codex": { + "provider": "codex", + "session": null, + "weekly": null, + "rateLimitResetCredits": { + "availableCount": 1 + }, + "updatedAt": 1700000000000, + "error": null, + "status": "ok" + }, + "inactiveClaudeAccounts": [], + "inactiveCodexAccounts": [] + } + } + } + } + }, + { + "checkpoint": "consumed" + } + ] + }, + { + "id": "push-dismissal-tray-reconciled", + "operation": "notifications.push-dismissal", + "version": 1, + "family": "notifications.push-dismissal", + "sites": ["mobile/src/notifications/push-dismissal-reconciliation.ts"], + "schedules": [], + "deviceStore": { + "orca:hosts": "[{\"id\":\"host-1\",\"name\":\"Desk\",\"endpoint\":\"wss://desk.test\",\"publicKeyB64\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8=\",\"lastConnected\":1700000000000}]" + }, + "deviceState": { + "notificationTray": [ + { + "request": { + "identifier": "tray-1", + "content": { + "data": { + "hostFingerprint": "Yw3NKWbEM2aRElRI", + "kind": "alert", + "notificationId": "note-1", + "notificationEpoch": "epoch-1", + "notificationSeq": 7 + } + } + } + } + ] + }, + "steps": [ + { + "action": "catchup", + "id": "catchup" + }, + { + "checkpoint": "requested" + }, + { + "complete": "notifications.getMissedSince#1", + "params": { + "lastSeenSeq": 9007199254740991, + "deliveredPushes": [ + { + "notificationId": "note-1", + "notificationEpoch": "epoch-1", + "notificationSeq": 7 + } + ] + }, + "reply": { + "ok": true, + "result": { + "dismissedPushes": [ + { + "notificationId": "note-1", + "notificationEpoch": "epoch-1", + "notificationSeq": 7 + } + ] + } + } + }, + { + "checkpoint": "reconciled" + } + ] } ] } diff --git a/mobile/src/agent-history/MobileAgentSessionHistoryPanel.tsx b/mobile/src/agent-history/MobileAgentSessionHistoryPanel.tsx index 6d1ea4303fa..6be4acf29c7 100644 --- a/mobile/src/agent-history/MobileAgentSessionHistoryPanel.tsx +++ b/mobile/src/agent-history/MobileAgentSessionHistoryPanel.tsx @@ -1,4 +1,13 @@ import { optionalSettingsRead } from '../transport/settings-read-operations' +import { interpretOrThrowRefusalMessage } from '../transport/rpc-refusal-message' +import { rpcPayloadMember } from '../transport/rpc-reader-payload' +import { readAcceptedResumeList } from './resume-metadata-lists' +import { + resumeFolderWorkspaceListRead, + resumeProjectGroupListRead, + resumeRepoListRead, + resumeWorktreeListRead +} from './mobile-agent-history-operations' import { useCallback, useEffect, useMemo, useRef, useState } from 'react' import { ActivityIndicator, Pressable, Text, TextInput, View } from 'react-native' import { SafeAreaView } from 'react-native-safe-area-context' @@ -360,7 +369,7 @@ export function MobileAgentSessionHistoryPanel({ const EMPTY_SESSIONS: AiVaultSession[] = [] const EMPTY_ISSUES: { agent: AiVaultSession['agent']; path: string; message: string }[] = [] -async function loadMobileResumeMetadata(client: Pick): Promise<{ +async function loadMobileResumeMetadata(client: RpcClient): Promise<{ repos: MobileAiVaultResumeRepo[] folderWorkspaces: MobileAiVaultResumeFolderWorkspace[] projectGroups: MobileAiVaultResumeProjectGroup[] @@ -371,54 +380,43 @@ async function loadMobileResumeMetadata(client: Pick): // metadata after explicit user intent instead of delaying history browsing. // timeoutMs: without it a socket drop parks these on the reconnect waiter // for minutes, pinning the resume spinner (see RESUME_RPC_TIMEOUT_MS). - const [ - repoResponse, - folderWorkspaceResponse, - projectGroupResponse, - settingsResponse, - worktreeResponse - ] = await Promise.all([ - client.sendRequest('repo.list', undefined, { timeoutMs: RESUME_RPC_TIMEOUT_MS }), - client - .sendRequest('folderWorkspace.list', undefined, { timeoutMs: RESUME_RPC_TIMEOUT_MS }) - .catch(() => null), - client - .sendRequest('projectGroup.list', undefined, { timeoutMs: RESUME_RPC_TIMEOUT_MS }) - .catch(() => null), - optionalSettingsRead - .request(client, undefined, { timeoutMs: RESUME_RPC_TIMEOUT_MS }) - .catch(() => null), - client - .sendRequest('worktree.ps', { limit: 10000 }, { timeoutMs: RESUME_RPC_TIMEOUT_MS }) - .catch(() => null) - ]) - if (!repoResponse.ok) { - throw new Error(repoResponse.error?.message || 'Unable to load workspace metadata.') - } - const repoResult = repoResponse.result as { repos?: MobileAiVaultResumeRepo[] } + const [repoReply, folderWorkspaceReply, projectGroupReply, settingsReply, worktreeReply] = + await Promise.all([ + resumeRepoListRead.request(client, undefined, { timeoutMs: RESUME_RPC_TIMEOUT_MS }), + resumeFolderWorkspaceListRead + .request(client, undefined, { timeoutMs: RESUME_RPC_TIMEOUT_MS }) + .catch(() => null), + resumeProjectGroupListRead + .request(client, undefined, { timeoutMs: RESUME_RPC_TIMEOUT_MS }) + .catch(() => null), + optionalSettingsRead + .request(client, undefined, { timeoutMs: RESUME_RPC_TIMEOUT_MS }) + .catch(() => null), + resumeWorktreeListRead + .request(client, { limit: 10000 }, { timeoutMs: RESUME_RPC_TIMEOUT_MS }) + .catch(() => null) + ]) + const repoResult = interpretOrThrowRefusalMessage( + () => resumeRepoListRead.interpret(repoReply), + 'Unable to load workspace metadata.' + ) const folderWorkspaceResult = - folderWorkspaceResponse?.ok === true - ? (folderWorkspaceResponse.result as { - folderWorkspaces?: MobileAiVaultResumeFolderWorkspace[] - }) - : null + folderWorkspaceReply && resumeFolderWorkspaceListRead.interpret(folderWorkspaceReply) const projectGroupResult = - projectGroupResponse?.ok === true - ? (projectGroupResponse.result as { groups?: MobileAiVaultResumeProjectGroup[] }) - : null - const settingsResult = settingsResponse ? optionalSettingsRead.interpret(settingsResponse) : null + projectGroupReply && resumeProjectGroupListRead.interpret(projectGroupReply) + const settingsResult = settingsReply ? optionalSettingsRead.interpret(settingsReply) : null const settings = settingsResult?.accepted ? // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. (settingsResult.value as MobileAiVaultResumeSettings | null | undefined) : null - const worktreeResult = - worktreeResponse?.ok === true ? (worktreeResponse.result as { worktrees?: Worktree[] }) : null + const worktreeResult = worktreeReply && resumeWorktreeListRead.interpret(worktreeReply) return { - repos: repoResult.repos ?? [], - folderWorkspaces: folderWorkspaceResult?.folderWorkspaces ?? [], - projectGroups: projectGroupResult?.groups ?? [], + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + repos: (rpcPayloadMember(repoResult, 'repos') as MobileAiVaultResumeRepo[] | undefined) ?? [], + folderWorkspaces: readAcceptedResumeList(folderWorkspaceResult, 'folderWorkspaces') ?? [], + projectGroups: readAcceptedResumeList(projectGroupResult, 'groups') ?? [], settings: settings ?? null, - worktrees: worktreeResult?.worktrees ?? null + worktrees: readAcceptedResumeList(worktreeResult, 'worktrees') ?? null } } diff --git a/mobile/src/agent-history/mobile-agent-history-operations.ts b/mobile/src/agent-history/mobile-agent-history-operations.ts new file mode 100644 index 00000000000..7e10f050278 --- /dev/null +++ b/mobile/src/agent-history/mobile-agent-history-operations.ts @@ -0,0 +1,81 @@ +import { bindDeferredRpcOperation, defineRpcOperation } from '../transport/rpc-operation' +import { rpcUncheckedPayloadReader } from '../transport/rpc-reader-payload' + +// The agent-history screen's own reads: the capability gate and session scan it runs on open, and +// the workspace metadata the resume sheet loads once the user asks to resume a session. + +/** + * The capability gate. A second `status.get` family, alongside the Tasks screen's hydration read + * in mobile-task-runtime-operations.ts: both raise the host's message, but this one is a screen's + * own error state while that one fails a hydration barrier, so the two are not one family. The + * reader is the same unchecked payload read, so the method still has one decoding. + */ +export const agentHistoryHostStatusRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'status.agent-history', + method: 'status.get', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('host-status') + }) +) + +export const agentHistorySessionScan = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'aiVault.session-scan', + method: 'aiVault.listSessions', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('agent-sessions') + }) +) + +/** + * Repo identities, the one resume read whose refusal fails the sheet. The member read stays at the + * call site: main read `.repos` off the cast result at the return statement, so a null result threw + * a raw TypeError there, and a reader throw would instead be caught by the refusal fallback below + * and re-thrown as a plain Error. + */ +export const resumeRepoListRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'repo.resume-metadata', + method: 'repo.list', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('resume-repos') + }) +) + +// The rest of the resume metadata is enrichment: each degrades to an empty list, so a refusal is a +// skip and the member read stays at the call site, where main's optional chaining tolerated a null +// result instead of throwing on it. + +export const resumeFolderWorkspaceListRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'folderWorkspace.resume-metadata-or-skip', + method: 'folderWorkspace.list', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('resume-folder-workspaces') + }) +) + +export const resumeProjectGroupListRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'projectGroup.resume-metadata-or-skip', + method: 'projectGroup.list', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('resume-project-groups') + }) +) + +export const resumeWorktreeListRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'worktree.resume-metadata-or-skip', + method: 'worktree.ps', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('resume-worktrees') + }) +) diff --git a/mobile/src/agent-history/resume-metadata-lists.ts b/mobile/src/agent-history/resume-metadata-lists.ts new file mode 100644 index 00000000000..bb0507f37fb --- /dev/null +++ b/mobile/src/agent-history/resume-metadata-lists.ts @@ -0,0 +1,16 @@ +/** + * One list off an enrichment read in the resume sheet's metadata load. + * + * Optional-chained on purpose: main tolerated both a refusal and a null result here, so folding + * the member read into the operation's own reader would have started throwing on the latter. + */ +export function readAcceptedResumeList( + accepted: { accepted: false } | { accepted: true; value: unknown } | null, + key: string +): T[] | undefined { + if (!accepted?.accepted) { + return undefined + } + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + return (accepted.value as Record | null | undefined)?.[key] +} diff --git a/mobile/src/agent-history/use-mobile-agent-history-state.ts b/mobile/src/agent-history/use-mobile-agent-history-state.ts index a0a82bee019..d79eb89937b 100644 --- a/mobile/src/agent-history/use-mobile-agent-history-state.ts +++ b/mobile/src/agent-history/use-mobile-agent-history-state.ts @@ -1,6 +1,5 @@ import { useCallback, useEffect, useMemo, useRef, useState } from 'react' import { useHostClient, useForceReconnect } from '../transport/client-context' -import type { RpcSuccess } from '../transport/types' import type { AiVaultListResult, AiVaultScanIssue, @@ -9,6 +8,11 @@ import type { } from '../../../src/shared/ai-vault-types' import type { Worktree } from '../worktree/workspace-list-types' import { deriveMobileAiVaultScopePaths } from './agent-history-scope-paths' +import { + agentHistoryHostStatusRead, + agentHistorySessionScan +} from './mobile-agent-history-operations' +import { interpretOrThrowRefusalMessage } from '../transport/rpc-refusal-message' import { MOBILE_AI_VAULT_CAPABILITY } from './agent-history-capability' export { MOBILE_AI_VAULT_CAPABILITY } @@ -88,14 +92,15 @@ export function useMobileAgentHistoryState(params: MobileAgentHistoryStateParams try { // Gate on the capability so older hosts lacking the method are detected // and we never call a missing RPC. - const statusResponse = await client.sendRequest('status.get') + const statusReply = await agentHistoryHostStatusRead.request(client) if (!isCurrent()) { return } - if (!statusResponse.ok) { - throw new Error(statusResponse.error?.message || 'Unable to reach host') - } - const status = (statusResponse as RpcSuccess).result as StatusWithCapabilities + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const status = interpretOrThrowRefusalMessage( + () => agentHistoryHostStatusRead.interpret(statusReply), + 'Unable to reach host' + ) as StatusWithCapabilities setHostStatusResult(status) if (!status.capabilities?.includes(MOBILE_AI_VAULT_CAPABILITY)) { setScreenState({ kind: 'unsupported' }) @@ -114,7 +119,7 @@ export function useMobileAgentHistoryState(params: MobileAgentHistoryStateParams } const scopePaths = deriveMobileAiVaultScopePaths(options.scope, activeWorktree, worktrees) - const response = await client.sendRequest('aiVault.listSessions', { + const reply = await agentHistorySessionScan.request(client, { limit: MOBILE_AI_VAULT_SESSION_LIMIT, force: options.force, scopePaths @@ -122,10 +127,11 @@ export function useMobileAgentHistoryState(params: MobileAgentHistoryStateParams if (!isCurrent()) { return } - if (!response.ok) { - throw new Error(response.error?.message || 'Unable to load agent sessions') - } - const result = (response as RpcSuccess).result as AiVaultListResult + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = interpretOrThrowRefusalMessage( + () => agentHistorySessionScan.interpret(reply), + 'Unable to load agent sessions' + ) as AiVaultListResult setScreenState({ kind: 'ready', sessions: result.sessions, issues: result.issues }) } catch (err) { if (!isCurrent()) { diff --git a/mobile/src/browser/MobileBrowserPane.tsx b/mobile/src/browser/MobileBrowserPane.tsx index 2922d2005a4..bfdf2c3c6db 100644 --- a/mobile/src/browser/MobileBrowserPane.tsx +++ b/mobile/src/browser/MobileBrowserPane.tsx @@ -21,6 +21,12 @@ import { type PinchGesture } from './mobile-browser-frame-state' import { displayBrowserUrl, normalizeBrowserUrl } from './browser-url' +import { + browserGoBack, + browserGoForward, + browserNavigate, + browserReload +} from './mobile-browser-command-operations' import { resolveMobileBrowserAddressSync } from './mobile-browser-address-sync' import { MobileBrowserPaneView } from './MobileBrowserPaneView' import { useMobileBrowserInteractions } from './use-mobile-browser-interactions' @@ -237,11 +243,13 @@ export function MobileBrowserPane({ setError('Enter a valid URL.') return } - const result = (await sendBrowserRequest( - 'browser.goto', - { url }, + const settled = await sendBrowserRequest( + async (rpc, page, options) => + browserNavigate.interpret(await browserNavigate.request(rpc, { ...page, url }, options)), { showBusy: true, timeoutMs: 30_000 } - )) as { url?: string } | null + ) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = settled as { url?: string } | null if (typeof result?.url === 'string') { setAddressValue(displayBrowserUrl(result.url)) lastZoomResetUrlRef.current = result.url @@ -294,19 +302,31 @@ export function MobileBrowserPane({ if (controlsDisabled || !tab.canGoBack) { return } - void sendBrowserRequest('browser.back', {}, { suppressError: true }) + void sendBrowserRequest( + async (rpc, page, options) => + browserGoBack.interpret(await browserGoBack.request(rpc, page, options)), + { suppressError: true } + ) }, [controlsDisabled, sendBrowserRequest, tab.canGoBack]) const goForward = useCallback(() => { if (controlsDisabled || !tab.canGoForward) { return } - void sendBrowserRequest('browser.forward', {}, { suppressError: true }) + void sendBrowserRequest( + async (rpc, page, options) => + browserGoForward.interpret(await browserGoForward.request(rpc, page, options)), + { suppressError: true } + ) }, [controlsDisabled, sendBrowserRequest, tab.canGoForward]) const reloadPage = useCallback(() => { if (controlsDisabled) { return } - void sendBrowserRequest('browser.reload', {}, { suppressError: true }) + void sendBrowserRequest( + async (rpc, page, options) => + browserReload.interpret(await browserReload.request(rpc, page, options)), + { suppressError: true } + ) }, [controlsDisabled, sendBrowserRequest]) const selectBrowserViewMode = useCallback( diff --git a/mobile/src/browser/mobile-browser-command-operations.ts b/mobile/src/browser/mobile-browser-command-operations.ts new file mode 100644 index 00000000000..ac6545954d8 --- /dev/null +++ b/mobile/src/browser/mobile-browser-command-operations.ts @@ -0,0 +1,49 @@ +import { bindDeferredRpcOperation, defineRpcOperation } from '../transport/rpc-operation' +import type { RpcMethodName } from '../transport/rpc-params-contract' +import { rpcUncheckedPayloadReader } from '../transport/rpc-reader-payload' + +/** + * Every command the phone sends to a hosted browser page. + * + * All of them share one acceptance because the screen treats them alike: a refusal is raised with + * the host's own message, which the caller then either shows or swallows as a transient automation + * failure. What differs between them is the copy a message-less refusal falls back to, and that + * stays at the call site. None reads the reply beyond `browser.goto`'s settled URL. + * + * These are mutations against a live page, so a lost reply is unknown rather than failed: no call + * site retries one, and the delivery-unknown mark on a transport rejection is left intact. + */ +function browserPageCommand(name: string, method: Method) { + return bindDeferredRpcOperation( + defineRpcOperation({ + name, + method, + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('browser-command') + }) + ) +} + +export const browserNavigate = browserPageCommand('browser.navigate', 'browser.goto') +export const browserGoBack = browserPageCommand('browser.go-back', 'browser.back') +export const browserGoForward = browserPageCommand('browser.go-forward', 'browser.forward') +export const browserReload = browserPageCommand('browser.reload-page', 'browser.reload') +export const browserPointerClick = browserPageCommand('browser.pointer-click', 'browser.mouseClick') +export const browserPointerMove = browserPageCommand('browser.pointer-move', 'browser.mouseMove') +export const browserPointerDown = browserPageCommand('browser.pointer-down', 'browser.mouseDown') +export const browserPointerUp = browserPageCommand('browser.pointer-up', 'browser.mouseUp') +export const browserPointerWheel = browserPageCommand('browser.pointer-wheel', 'browser.mouseWheel') +export const browserInsertText = browserPageCommand( + 'browser.insert-text', + 'browser.keyboardInsertText' +) +export const browserKeypress = browserPageCommand('browser.keypress', 'browser.keypress') +export const browserDialogAccept = browserPageCommand( + 'browser.dialog-accept', + 'browser.dialogAccept' +) +export const browserDialogDismiss = browserPageCommand( + 'browser.dialog-dismiss', + 'browser.dialogDismiss' +) diff --git a/mobile/src/browser/mobile-browser-frame-state.ts b/mobile/src/browser/mobile-browser-frame-state.ts index 9609c2ffda4..15c6d5e35d4 100644 --- a/mobile/src/browser/mobile-browser-frame-state.ts +++ b/mobile/src/browser/mobile-browser-frame-state.ts @@ -1,6 +1,5 @@ import { Buffer } from 'buffer' import type { GestureResponderEvent, Image, View } from 'react-native' -import type { RpcFailure, RpcSuccess } from '../transport/types' import type { BrowserScreencastFrame, BrowserScreencastFrameMetadata @@ -104,15 +103,6 @@ export function updateBrowserImageSource(image: Image | null, uri: string): void image?.setNativeProps({ source, src: source }) } -export function assertRpcOk( - response: RpcSuccess | RpcFailure, - fallbackMessage: string -): asserts response is RpcSuccess { - if (!response.ok) { - throw new Error(response.error.message || fallbackMessage) - } -} - export function browserFrameMetadataEqual( a: BrowserScreencastFrameMetadata | null, b: BrowserScreencastFrameMetadata diff --git a/mobile/src/browser/use-mobile-browser-commands.ts b/mobile/src/browser/use-mobile-browser-commands.ts index 30554d4db5f..3aa1acd381f 100644 --- a/mobile/src/browser/use-mobile-browser-commands.ts +++ b/mobile/src/browser/use-mobile-browser-commands.ts @@ -1,7 +1,18 @@ import { useCallback, useRef, type Dispatch, type SetStateAction } from 'react' import type { RpcClient } from '../transport/rpc-client' import type { BrowserScreencastFrameMetadata } from '../transport/browser-screencast-protocol' -import { assertRpcOk } from './mobile-browser-frame-state' +import { + browserDialogAccept, + browserDialogDismiss, + browserInsertText, + browserKeypress, + browserPointerClick, + browserPointerDown, + browserPointerMove, + browserPointerUp, + browserPointerWheel +} from './mobile-browser-command-operations' +import type { BrowserPageCommandSend, BrowserPageParams } from './use-mobile-browser-request' import { computeBrowserFrameGeometry, computeBrowserTouchClickRadiusCss, @@ -13,7 +24,6 @@ import { import type { BrowserPointerModifier } from './MobileBrowserPointerModifiers' const TOUCH_CLICK_RADIUS_DIP = 14 -type BrowserPageParams = { worktree: string; page: string } type PendingWheelCommand = { base: BrowserPageParams point: BrowserPoint @@ -22,8 +32,7 @@ type PendingWheelCommand = { dy: number } type SendBrowserRequest = ( - method: string, - params?: Record, + send: BrowserPageCommandSend, options?: { showBusy?: boolean; suppressError?: boolean; timeoutMs?: number } ) => Promise @@ -76,22 +85,18 @@ export function useMobileBrowserCommands(args: MobileBrowserCommandArgs) { wheelCommandInFlightRef.current = true void (async () => { try { - assertRpcOk( - await client.sendRequest('browser.mouseMove', { - ...pending.base, - x: pending.point.x, - y: pending.point.y - }), - 'Browser pointer move failed' - ) - assertRpcOk( - await client.sendRequest('browser.mouseWheel', { - ...pending.base, - dx: pending.dx, - dy: pending.dy - }), - 'Browser scroll failed' - ) + const moveReply = await browserPointerMove.request(client, { + ...pending.base, + x: pending.point.x, + y: pending.point.y + }) + browserPointerMove.interpret(moveReply) + const wheelReply = await browserPointerWheel.request(client, { + ...pending.base, + dx: pending.dx, + dy: pending.dy + }) + browserPointerWheel.interpret(wheelReply) setError(null) } catch { // Scroll bursts commonly race page reload/navigation. Avoid replacing @@ -110,41 +115,46 @@ export function useMobileBrowserCommands(args: MobileBrowserCommandArgs) { return } const clickResult = await sendBrowserRequest( - 'browser.mouseClick', - { - x: point.x, - y: point.y, - button, - modifiers: pointerModifiers, - ...(button === 'left' - ? { - radius: computeBrowserTouchClickRadiusCss( - layoutRef.current, - frameMetadataRef.current, - zoomRef.current, - TOUCH_CLICK_RADIUS_DIP - ) - } - : {}) - }, + async (rpc, page, options) => + browserPointerClick.interpret( + await browserPointerClick.request( + rpc, + { + ...page, + x: point.x, + y: point.y, + button, + modifiers: pointerModifiers, + ...(button === 'left' + ? { + radius: computeBrowserTouchClickRadiusCss( + layoutRef.current, + frameMetadataRef.current, + zoomRef.current, + TOUCH_CLICK_RADIUS_DIP + ) + } + : {}) + }, + options + ) + ), { suppressError: true, timeoutMs: 5_000 } ) if (clickResult !== null || pointerModifiers.length > 0) { return } try { - assertRpcOk( - await client.sendRequest('browser.mouseMove', { ...base, x: point.x, y: point.y }), - 'Browser pointer move failed' - ) - assertRpcOk( - await client.sendRequest('browser.mouseDown', { ...base, button }), - 'Browser pointer down failed' - ) - assertRpcOk( - await client.sendRequest('browser.mouseUp', { ...base, button }), - 'Browser pointer up failed' - ) + const moveReply = await browserPointerMove.request(client, { + ...base, + x: point.x, + y: point.y + }) + browserPointerMove.interpret(moveReply) + const downReply = await browserPointerDown.request(client, { ...base, button }) + browserPointerDown.interpret(downReply) + const upReply = await browserPointerUp.request(client, { ...base, button }) + browserPointerUp.interpret(upReply) setError(null) } catch { // Pointer commands can race page navigation. Keep the stream visible; @@ -211,8 +221,10 @@ export function useMobileBrowserCommands(args: MobileBrowserCommandArgs) { } setKeyboardValue('') const result = await sendBrowserRequest( - 'browser.keyboardInsertText', - { text }, + async (rpc, page, options) => + browserInsertText.interpret( + await browserInsertText.request(rpc, { ...page, text }, options) + ), { suppressError: true } ) if (result !== null) { @@ -224,7 +236,11 @@ export function useMobileBrowserCommands(args: MobileBrowserCommandArgs) { const sendKeypress = useCallback( async (key: string) => { - await sendBrowserRequest('browser.keypress', { key }, { suppressError: true }) + await sendBrowserRequest( + async (rpc, page, options) => + browserKeypress.interpret(await browserKeypress.request(rpc, { ...page, key }, options)), + { suppressError: true } + ) }, [sendBrowserRequest] ) @@ -232,7 +248,11 @@ export function useMobileBrowserCommands(args: MobileBrowserCommandArgs) { const sendDialogCommand = useCallback( async (method: 'browser.dialogAccept' | 'browser.dialogDismiss') => { setDialog(null) - await sendBrowserRequest(method, {}, { suppressError: true, timeoutMs: 5_000 }) + const command = method === 'browser.dialogAccept' ? browserDialogAccept : browserDialogDismiss + await sendBrowserRequest( + async (rpc, page, options) => command.interpret(await command.request(rpc, page, options)), + { suppressError: true, timeoutMs: 5_000 } + ) }, [sendBrowserRequest] ) diff --git a/mobile/src/browser/use-mobile-browser-interactions.ts b/mobile/src/browser/use-mobile-browser-interactions.ts index 519ad45ab3b..b06c83e4866 100644 --- a/mobile/src/browser/use-mobile-browser-interactions.ts +++ b/mobile/src/browser/use-mobile-browser-interactions.ts @@ -20,6 +20,7 @@ import { type BrowserZoomState } from './browser-touch-geometry' import type { BrowserPointerModifier } from './MobileBrowserPointerModifiers' +import type { BrowserPageCommandSend, BrowserPageParams } from './use-mobile-browser-request' import type { BrowserScreencastFrameMetadata } from '../transport/browser-screencast-protocol' import { useMobileBrowserCommands } from './use-mobile-browser-commands' @@ -28,11 +29,9 @@ const SCROLL_START_SLOP = 22 const LONG_PRESS_MS = 550 const WHEEL_INTERVAL_MS = 70 -type BrowserPageParams = { worktree: string; page: string } type PanGesture = { x: number; y: number; offsetX: number; offsetY: number } type SendBrowserRequest = ( - method: string, - params?: Record, + send: BrowserPageCommandSend, options?: { showBusy?: boolean; suppressError?: boolean; timeoutMs?: number } ) => Promise diff --git a/mobile/src/browser/use-mobile-browser-request.ts b/mobile/src/browser/use-mobile-browser-request.ts index 311b9250ff0..f49160ab6fe 100644 --- a/mobile/src/browser/use-mobile-browser-request.ts +++ b/mobile/src/browser/use-mobile-browser-request.ts @@ -1,8 +1,19 @@ import { useCallback, type Dispatch, type SetStateAction } from 'react' -import type { RpcClient } from '../transport/rpc-client' -import type { RpcFailure, RpcSuccess } from '../transport/types' +import type { RpcClient, SendRequestOptions } from '../transport/rpc-client' import { browserErrorMessage, shouldSurfaceBrowserError } from './mobile-browser-frame-state' +export type BrowserPageParams = { worktree: string; page: string } +/** + * One command against the current page. It receives the client, the page params and the send + * options rather than choosing them, so the page guard, the busy flag and the 15 s default live + * here for every command instead of once per call site. + */ +export type BrowserPageCommandSend = ( + client: RpcClient, + base: BrowserPageParams, + options: SendRequestOptions +) => Promise + type BrowserRequestArgs = { busyRef: { current: boolean } client: RpcClient | null @@ -13,7 +24,7 @@ type BrowserRequestArgs = { } export function useMobileBrowserRequest(args: BrowserRequestArgs) { const { busyRef, client, pageId, setBusy, setError, worktreeId } = args - const pageParams = useCallback(() => { + const pageParams = useCallback((): BrowserPageParams | null => { if (!pageId) { return null } @@ -25,8 +36,7 @@ export function useMobileBrowserRequest(args: BrowserRequestArgs) { const sendBrowserRequest = useCallback( async ( - method: string, - params: Record = {}, + send: BrowserPageCommandSend, opts: { showBusy?: boolean; suppressError?: boolean; timeoutMs?: number } = {} ): Promise => { const base = pageParams() @@ -38,16 +48,9 @@ export function useMobileBrowserRequest(args: BrowserRequestArgs) { setBusy(true) } try { - const response = await client.sendRequest( - method, - { ...base, ...params }, - { timeoutMs: opts.timeoutMs ?? 15_000 } - ) - if (!response.ok) { - throw new Error((response as RpcFailure).error.message) - } + const result = await send(client, base, { timeoutMs: opts.timeoutMs ?? 15_000 }) setError(null) - return (response as RpcSuccess).result + return result } catch (err) { const message = browserErrorMessage(err, 'Browser command failed') if (!opts.suppressError && shouldSurfaceBrowserError(message)) { diff --git a/mobile/src/components/MobileRepoIcon.tsx b/mobile/src/components/MobileRepoIcon.tsx index e4f7f9664cf..2ea1f8d573b 100644 --- a/mobile/src/components/MobileRepoIcon.tsx +++ b/mobile/src/components/MobileRepoIcon.tsx @@ -16,6 +16,7 @@ import { Palette, Rocket, Server, + // `Shapes` is lucide's own export name; exempted in config/oxlint-anti-slop.json. Shapes, Sparkles, SquareTerminal, diff --git a/mobile/src/components/codex-reset-credit-capability-operations.ts b/mobile/src/components/codex-reset-credit-capability-operations.ts new file mode 100644 index 00000000000..71502c945e2 --- /dev/null +++ b/mobile/src/components/codex-reset-credit-capability-operations.ts @@ -0,0 +1,33 @@ +import { bindDeferredRpcOperation, defineRpcOperation } from '../transport/rpc-operation' +import type { RpcCompatibleReader } from '../transport/rpc-operation-contract' +import { rpcReadUnchecked } from '../transport/rpc-reader-payload' + +// Reads the capability list off a status the object policy already admitted, so a non-object +// result reads as no capabilities rather than throwing — which is what the probe's `catch` did. +const capabilityListReader: RpcCompatibleReader< + Record, + 'capabilities', + unknown +> = (raw) => rpcReadUnchecked('capabilities', raw.capabilities) + +/** + * status.get read for the Codex reset-credit probe, with its own policy on that method. + * + * The probe treats a refusal, a null result and a non-object result identically as "unsupported", + * which only `object-result-or-null` expresses, and which is what `rpcObjectResultOrNull` already + * spelled at this call site. + */ +export const codexResetCreditCapabilityRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'status.codex-reset-credit-capability', + method: 'status.get', + acceptance: 'object-result-or-null', + barrier: 'after-caller-barrier', + read: capabilityListReader + }) +) + +/** What the probe sends with, named from an operation so no module names the raw port. */ +export type MobileCodexResetCapabilityRpcSender = Parameters< + typeof codexResetCreditCapabilityRead.request +>[0] diff --git a/mobile/src/components/codex-reset-credit-capability.ts b/mobile/src/components/codex-reset-credit-capability.ts index 8e88f74f2f9..5246860a928 100644 --- a/mobile/src/components/codex-reset-credit-capability.ts +++ b/mobile/src/components/codex-reset-credit-capability.ts @@ -2,18 +2,22 @@ import { useEffect, useState } from 'react' import { CODEX_RESET_CREDIT_RUNTIME_CAPABILITY } from '../../../src/shared/protocol-version' import type { RpcClient } from '../transport/rpc-client' import { startRuntimeCapabilityProbe } from '../transport/runtime-capability-probe' -import { rpcObjectResultOrNull } from '../transport/rpc-acceptance-policies' +import { + codexResetCreditCapabilityRead, + type MobileCodexResetCapabilityRpcSender +} from './codex-reset-credit-capability-operations' // Why: source the capability string from the shared contract so a host bump can never // silently drift from the mobile probe. export const MOBILE_CODEX_RESET_CREDIT_CAPABILITY = CODEX_RESET_CREDIT_RUNTIME_CAPABILITY export async function readCodexResetCreditCapability( - client: Pick + client: MobileCodexResetCapabilityRpcSender ): Promise { try { - const response = await client.sendRequest('status.get') - const capabilities = rpcObjectResultOrNull(response)?.capabilities + const capabilities = codexResetCreditCapabilityRead.interpret( + await codexResetCreditCapabilityRead.request(client) + ) return ( Array.isArray(capabilities) && capabilities.includes(MOBILE_CODEX_RESET_CREDIT_CAPABILITY) ) diff --git a/mobile/src/components/new-workspace-operations.ts b/mobile/src/components/new-workspace-operations.ts new file mode 100644 index 00000000000..bd3a6a24990 --- /dev/null +++ b/mobile/src/components/new-workspace-operations.ts @@ -0,0 +1,40 @@ +import { bindDeferredRpcOperation, defineRpcOperation } from '../transport/rpc-operation' +import type { RpcCompatibleReader } from '../transport/rpc-operation-contract' +import { rpcReadUnchecked, rpcUncheckedPayloadReader } from '../transport/rpc-reader-payload' + +// The New Workspace drawer's own reads. Its SSH connect, SSH state and agent detection are the +// workspace-create operations in ../tasks/mobile-workspace-source-operations.ts, asked with the +// same acceptance by the same flow, so the drawer sends those rather than restating them. + +/** + * repo.hooks read for the drawer, the second of two policies on this method. + * + * The tasks create path (`repo.setup-hooks`) throws the host's message because it cannot decide + * whether to run setup without an answer. The drawer only decorates a form: a refusal leaves the + * advanced section on its defaults and the message is never shown, so refusal is a skip here. + */ +export const newWorkspaceSetupHooksRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'repo.drawer-setup-hooks-or-skip', + method: 'repo.hooks', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('repo-hooks') + }) +) + +// Reads `ui` the way the drawer always has: through optional chaining, so a null or absent result +// is untrusted-but-not-fatal rather than the property-read throw the Tasks screen's reader keeps. +const optionalUiMemberReader: RpcCompatibleReader = (raw) => + rpcReadUnchecked('optional-ui-member', raw == null ? undefined : Object(raw).ui) + +/** Persisted UI state, read for the trusted-hooks record only. A refused read trusts nothing. */ +export const newWorkspaceUiStateRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'ui.new-workspace-trust-or-skip', + method: 'ui.get', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: optionalUiMemberReader + }) +) diff --git a/mobile/src/components/use-new-workspace-execution-target.ts b/mobile/src/components/use-new-workspace-execution-target.ts index 27302d9ecb2..1a3c7798931 100644 --- a/mobile/src/components/use-new-workspace-execution-target.ts +++ b/mobile/src/components/use-new-workspace-execution-target.ts @@ -1,7 +1,12 @@ import { useEffect, useState } from 'react' import type { SshConnectionState } from '../../../src/shared/ssh-types' import type { RpcClient } from '../transport/rpc-client' -import type { RpcSuccess } from '../transport/types' +import { + localAgentDetectionRead, + remoteAgentDetectionRead, + sshRepoConnectRun, + sshRepoStateRead +} from '../tasks/mobile-workspace-source-operations' import { deriveWorkspaceSshGate, type WorkspaceSshGate } from '../tasks/workspace-ssh-gate' type DetectedAgentIdsState = { @@ -48,17 +53,15 @@ export function useNewWorkspaceExecutionTarget(args: { return } let stale = false - void client - .sendRequest('ssh.getState', { targetId: connectionId }) - .then((response) => { + void sshRepoStateRead + .request(client, { targetId: connectionId }) + .then((reply) => { if (stale) { return } - if (!response.ok) { - throw new Error(response.error.message) - } - const state = (response as RpcSuccess).result as { state?: SshConnectionState | null } - setSshState(state.state ?? fallbackSshState(connectionId, 'disconnected', null)) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const state = sshRepoStateRead.interpret(reply) as SshConnectionState | null | undefined + setSshState(state ?? fallbackSshState(connectionId, 'disconnected', null)) }) .catch((error) => { if (!stale) { @@ -83,13 +86,16 @@ export function useNewWorkspaceExecutionTarget(args: { let stale = false void (async () => { try { - const response = connectionId - ? await client.sendRequest('preflight.detectRemoteAgents', { connectionId }) - : await client.sendRequest('preflight.detectAgents') + const detected = connectionId + ? remoteAgentDetectionRead.interpret( + await remoteAgentDetectionRead.request(client, { connectionId }) + ) + : localAgentDetectionRead.interpret(await localAgentDetectionRead.request(client)) if (!stale) { setDetectedAgentIdsState({ connectionId, - ids: response.ok ? new Set((response as RpcSuccess).result as string[]) : new Set() + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + ids: detected.accepted ? new Set(detected.value as string[]) : new Set() }) } } catch { @@ -110,16 +116,14 @@ export function useNewWorkspaceExecutionTarget(args: { setConnectingTargetId(connectionId) setSshState(fallbackSshState(connectionId, 'connecting', null)) try { - const response = await client.sendRequest( - 'ssh.connect', + const reply = await sshRepoConnectRun.request( + client, { targetId: connectionId }, { timeoutMs: 120_000 } ) - if (!response.ok) { - throw new Error(response.error.message) - } - const result = (response as RpcSuccess).result as { state?: SshConnectionState | null } - setSshState(result.state ?? fallbackSshState(connectionId, 'connected', null)) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const state = sshRepoConnectRun.interpret(reply) as SshConnectionState | null | undefined + setSshState(state ?? fallbackSshState(connectionId, 'connected', null)) } catch (error) { setSshState( fallbackSshState( diff --git a/mobile/src/components/use-new-workspace-runtime-context.ts b/mobile/src/components/use-new-workspace-runtime-context.ts index b7d3b142675..a4540eb2ebb 100644 --- a/mobile/src/components/use-new-workspace-runtime-context.ts +++ b/mobile/src/components/use-new-workspace-runtime-context.ts @@ -1,19 +1,33 @@ import { optionalSettingsRead } from '../transport/settings-read-operations' import { useEffect, useState } from 'react' import type { PersistedTrustedOrcaHooks } from '../../../src/shared/orca-yaml-hook-types' +import type { RpcAcceptedResult } from '../transport/rpc-accepted-result' import type { RpcClient } from '../transport/rpc-client' -import type { RpcResponse, RpcSuccess } from '../transport/types' +import type { RpcResponse } from '../transport/types' +import { taskLinearStatusRead, taskPreflightRead } from '../tasks/mobile-task-runtime-operations' import { filterAvailableTaskProviders, normalizeVisibleTaskProviders, type TaskProvider } from '../tasks/mobile-task-providers' import type { NewWorktreeRuntimeSettings } from './new-worktree-agent-selection' +import { newWorkspaceUiStateRead } from './new-workspace-operations' -type UiGetResult = { ui?: { trustedOrcaHooks?: PersistedTrustedOrcaHooks } } | null | undefined +/** One member off a probe payload the drawer only re-typed, keeping its optional-chaining read. */ +function readProbeMember(payload: unknown, key: string): unknown { + return payload == null ? undefined : Object(payload)[key] +} -function settledSuccess(entry: PromiseSettledResult): RpcSuccess | null { - return entry.status === 'fulfilled' && entry.value.ok ? (entry.value as RpcSuccess) : null +/** A settled probe's accepted payload, or undefined when it never landed or was refused. */ +function settledValue( + entry: PromiseSettledResult, + interpret: (reply: RpcResponse) => RpcAcceptedResult +): unknown { + if (entry.status !== 'fulfilled') { + return undefined + } + const verdict = interpret(entry.value) + return verdict.accepted ? verdict.value : undefined } export function useNewWorkspaceRuntimeContext( @@ -38,12 +52,12 @@ export function useNewWorkspaceRuntimeContext( let stale = false void (async () => { const probes = Promise.allSettled([ - client.sendRequest('preflight.check'), - client.sendRequest('linear.status') + taskPreflightRead.request(client), + taskLinearStatusRead.request(client) ]) const [settingsRes, uiRes] = await Promise.allSettled([ optionalSettingsRead.request(client), - client.sendRequest('ui.get') + newWorkspaceUiStateRead.request(client) ]) if (stale) { return @@ -60,11 +74,13 @@ export function useNewWorkspaceRuntimeContext( if (settingsValue) { setRuntimeSettings(settingsValue) } - const uiResult = settledSuccess(uiRes) - if (uiResult) { - // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary; a missing result reads as untrusted. - const ui = (uiResult.result as UiGetResult)?.ui - setTrustedOrcaHooks(ui?.trustedOrcaHooks ?? {}) + if (uiRes.status === 'fulfilled') { + const ui = newWorkspaceUiStateRead.interpret(uiRes.value) + if (ui.accepted) { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary; a missing result reads as untrusted. + const trust = ui.value as { trustedOrcaHooks?: PersistedTrustedOrcaHooks } | undefined + setTrustedOrcaHooks(trust?.trustedOrcaHooks ?? {}) + } } const [preflightRes, linearRes] = await probes @@ -72,10 +88,12 @@ export function useNewWorkspaceRuntimeContext( return } const glabInstalled = - (settledSuccess(preflightRes)?.result as { glab?: { installed?: boolean } } | undefined) - ?.glab?.installed === true + readProbeMember( + readProbeMember(settledValue(preflightRes, taskPreflightRead.interpret), 'glab'), + 'installed' + ) === true const linearConnected = - (settledSuccess(linearRes)?.result as { connected?: boolean } | undefined)?.connected === + readProbeMember(settledValue(linearRes, taskLinearStatusRead.interpret), 'connected') === true const visibleProviders = normalizeVisibleTaskProviders(settingsValue?.visibleTaskProviders) setAvailableProviders( diff --git a/mobile/src/components/use-new-workspace-setup-script.ts b/mobile/src/components/use-new-workspace-setup-script.ts index e564b8365e3..2df9067c0e8 100644 --- a/mobile/src/components/use-new-workspace-setup-script.ts +++ b/mobile/src/components/use-new-workspace-setup-script.ts @@ -1,7 +1,7 @@ import { useEffect, useState } from 'react' import type { RpcClient } from '../transport/rpc-client' -import type { RpcSuccess } from '../transport/types' import { normalizeSetupHookTrust } from '../tasks/setup-hook-trust' +import { newWorkspaceSetupHooksRead } from './new-workspace-operations' import type { WorkspaceCreateSetupDecision } from '../tasks/workspace-create-params' import type { MobileWorkspaceRepo, @@ -39,13 +39,15 @@ export function useNewWorkspaceSetupScript(args: { return } let stale = false - void client - .sendRequest('repo.hooks', { repo: `id:${selectedRepo.id}` }) - .then((response) => { - if (stale || !response.ok) { + void newWorkspaceSetupHooksRead + .request(client, { repo: `id:${selectedRepo.id}` }) + .then((reply) => { + const hooks = newWorkspaceSetupHooksRead.interpret(reply) + if (stale || !hooks.accepted) { return } - const result = (response as RpcSuccess).result as RepoHooksResponse + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = hooks.value as RepoHooksResponse const command = result.hooks?.scripts?.setup?.trim() || null const runPolicy = result.setupRunPolicy ?? 'run-by-default' setDetails({ diff --git a/mobile/src/diagnostics/connection-diagnostics-screen-data.ts b/mobile/src/diagnostics/connection-diagnostics-screen-data.ts index c8a2ed589c8..3ab974b46df 100644 --- a/mobile/src/diagnostics/connection-diagnostics-screen-data.ts +++ b/mobile/src/diagnostics/connection-diagnostics-screen-data.ts @@ -2,10 +2,13 @@ import type { ConnectionLogStore } from '../transport/connection-log-buffer' import type { ConnectionLogEntry, HostProfile } from '../transport/types' import type { RpcClientContextValue } from '../transport/rpc-client-context-contract' +/** Route identity token: compared by reference to detect navigating away and back, never read. */ +export type DiagnosticsRouteKey = Record + export type DiagnosticsHostSelection = { hostId: string requestedHostId: string | undefined - routeKey?: object + routeKey?: DiagnosticsRouteKey } export type DiagnosticsSubmissionState = 'sending' | 'sent' | 'failed' @@ -29,7 +32,7 @@ export function resolveDiagnosticsHostId( hosts: readonly HostProfile[], requestedHostId: string | undefined, manualSelection: DiagnosticsHostSelection | null, - routeKey?: object + routeKey?: DiagnosticsRouteKey ): string | null { const selected = manualSelection if (selected && selected.requestedHostId === requestedHostId && selected.routeKey === routeKey) { diff --git a/mobile/src/dictation/mobile-dictation-operations.ts b/mobile/src/dictation/mobile-dictation-operations.ts new file mode 100644 index 00000000000..b3471808c74 --- /dev/null +++ b/mobile/src/dictation/mobile-dictation-operations.ts @@ -0,0 +1,99 @@ +import { bindDeferredRpcOperation, defineRpcOperation } from '../transport/rpc-operation' +import { rpcUncheckedPayloadReader } from '../transport/rpc-reader-payload' + +// The dictation setup sheet's reads and writes, and the three sends one dictation session makes. +// Every refusing site here surfaces the host's own message with a screen fallback, so they share +// one policy and differ only in the copy they fall back to, which stays at the call site. + +export const dictationSetupRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'speech.dictation-setup', + method: 'speech.models.list', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('dictation-setup') + }) +) + +/** Starts a download; the sheet polls `speech.models.list` for progress rather than reading this. */ +export const dictationModelDownload = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'speech.dictation-model-download', + method: 'speech.models.download', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('dictation-download-started') + }) +) + +/** Both writes answer with the whole setup again, which the sheet renders in place of a refetch. */ +export const dictationModelDelete = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'speech.dictation-model-delete', + method: 'speech.models.delete', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('dictation-setup') + }) +) + +export const dictationConfigWrite = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'speech.dictation-config', + method: 'speech.dictation.setup', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('dictation-setup') + }) +) + +export const dictationSessionStart = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'speech.dictation-start', + method: 'speech.dictation.start', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('dictation-started') + }) +) + +export const dictationAudioChunkSend = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'speech.dictation-chunk', + method: 'speech.dictation.chunk', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('dictation-chunk-received') + }) +) + +/** + * The transcript sits on the reply, but the member read stays at the call site: main checked the + * refusal before its staleness guard and read `.text` after it, so folding the read into the + * operation would move the property-read exception across that guard. + */ +export const dictationSessionFinish = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'speech.dictation-finish', + method: 'speech.dictation.finish', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('dictation-finished') + }) +) + +/** + * Cancel is the only dictation send no call site interprets: all five are cleanup, running under + * `catch(() => undefined)` or inside `Promise.allSettled`, and the session is already gone locally + * whatever the host answers. The policy is declared anyway so the operation has one — a refused + * cancel leaves host state alone, which is what a skip means — but no golden can observe it. + */ +export const dictationSessionCancel = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'speech.dictation-cancel-or-skip', + method: 'speech.dictation.cancel', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('dictation-cancelled') + }) +) diff --git a/mobile/src/dictation/mobile-dictation-setup.ts b/mobile/src/dictation/mobile-dictation-setup.ts index ca510ee4a31..9ac8aae5d21 100644 --- a/mobile/src/dictation/mobile-dictation-setup.ts +++ b/mobile/src/dictation/mobile-dictation-setup.ts @@ -1,7 +1,14 @@ import type { RuntimeSpeechSetupState } from '../../../src/shared/runtime-types' import type { RpcClient } from '../transport/rpc-client' +import type { RpcResponse } from '../transport/types' +import { interpretOrThrowRefusalMessage } from '../transport/rpc-refusal-message' import { LogicalClientCutoverError } from '../transport/stable-logical-rpc-client' -import type { RpcSuccess } from '../transport/types' +import { + dictationConfigWrite, + dictationModelDelete, + dictationModelDownload, + dictationSetupRead +} from './mobile-dictation-operations' export type MobileSpeechSetup = RuntimeSpeechSetupState export type MobileSpeechModel = RuntimeSpeechSetupState['models'][number] @@ -15,13 +22,17 @@ const LEGACY_DESKTOP_SPEECH_SETUP_MESSAGE = // Why: mobile can pair with older desktop runtimes that predate speech.models.list; // show upgrade guidance instead of leaking the raw denial or not-found error. -function isLegacyDesktopSpeechSetupError( - error: { code?: string; message?: string } | undefined -): boolean { - const message = error?.message ?? '' +// Why the raw reply: this reads the refusal's code alongside its message, and no acceptance +// policy carries both through — the same reason mobile-branch-base-ref.ts keeps its own check. +function isLegacyDesktopSpeechSetupReply(reply: RpcResponse): boolean { + if (reply.ok) { + return false + } + const message = reply.error?.message ?? '' return ( message.includes('speech.models.list') && - (error?.code === 'method_not_found' || message.includes('not available to mobile clients')) + (reply.error?.code === 'method_not_found' || + message.includes('not available to mobile clients')) ) } @@ -29,62 +40,61 @@ export function isDictationSetupRequiredError(message: string): boolean { return SETUP_REQUIRED_CODES.has(message) || message.startsWith('voice_model_not_ready:') } -export async function fetchDictationSetup( - client: Pick -): Promise { - const response = await fetchDictationSetupResponse(client) - if (!response.ok) { - if (isLegacyDesktopSpeechSetupError(response.error)) { - throw new Error(LEGACY_DESKTOP_SPEECH_SETUP_MESSAGE) - } - throw new Error(response.error?.message || 'Failed to load dictation models') +export async function fetchDictationSetup(client: RpcClient): Promise { + const reply = await requestDictationSetupReply(client) + if (isLegacyDesktopSpeechSetupReply(reply)) { + throw new Error(LEGACY_DESKTOP_SPEECH_SETUP_MESSAGE) } - return (response as RpcSuccess).result as MobileSpeechSetup + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + return interpretOrThrowRefusalMessage( + () => dictationSetupRead.interpret(reply), + 'Failed to load dictation models' + ) as MobileSpeechSetup } -async function fetchDictationSetupResponse(client: Pick) { +async function requestDictationSetupReply(client: RpcClient): Promise { try { - return await client.sendRequest('speech.models.list', null) + return await dictationSetupRead.request(client, null) } catch (error) { if (!(error instanceof LogicalClientCutoverError)) { throw error } // Why: this read can safely repeat on the authenticated replacement; mutation // RPCs must still surface cutover so callers never replay unknown commits. - return client.sendRequest('speech.models.list', null) + return dictationSetupRead.request(client, null) } } -export async function downloadDictationModel( - client: Pick, - modelId: string -): Promise { - const response = await client.sendRequest('speech.models.download', { modelId }) - if (!response.ok) { - throw new Error(response.error?.message || 'Failed to start download') - } +export async function downloadDictationModel(client: RpcClient, modelId: string): Promise { + const reply = await dictationModelDownload.request(client, { modelId }) + interpretOrThrowRefusalMessage( + () => dictationModelDownload.interpret(reply), + 'Failed to start download' + ) } export async function deleteDictationModel( - client: Pick, + client: RpcClient, modelId: string ): Promise { - const response = await client.sendRequest('speech.models.delete', { modelId }) - if (!response.ok) { - throw new Error(response.error?.message || 'Failed to delete model') - } - return (response as RpcSuccess).result as MobileSpeechSetup + const reply = await dictationModelDelete.request(client, { modelId }) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + return interpretOrThrowRefusalMessage( + () => dictationModelDelete.interpret(reply), + 'Failed to delete model' + ) as MobileSpeechSetup } export async function setDictationConfig( - client: Pick, + client: RpcClient, params: { enabled?: boolean; modelId?: string; dictationMode?: 'toggle' | 'hold' } ): Promise { - const response = await client.sendRequest('speech.dictation.setup', params) - if (!response.ok) { - throw new Error(response.error?.message || 'Failed to update dictation settings') - } - return (response as RpcSuccess).result as MobileSpeechSetup + const reply = await dictationConfigWrite.request(client, params) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + return interpretOrThrowRefusalMessage( + () => dictationConfigWrite.interpret(reply), + 'Failed to update dictation settings' + ) as MobileSpeechSetup } // A model is mid-download (or extracting) and the sheet should keep polling. diff --git a/mobile/src/files/mobile-file-mutation-ownership.ts b/mobile/src/files/mobile-file-mutation-ownership.ts index e5a1cbbeb65..978cb0796d8 100644 --- a/mobile/src/files/mobile-file-mutation-ownership.ts +++ b/mobile/src/files/mobile-file-mutation-ownership.ts @@ -2,8 +2,12 @@ import { parseExecutionHostId } from '../../../src/shared/execution-host' import { assertFileMutationOwnershipCapability } from '../../../src/shared/file-mutation-ownership' import type { RuntimeStatus } from '../../../src/shared/runtime-types' import type { SshConnectionState, SshMutationExpectation } from '../../../src/shared/ssh-types' -import type { RpcClient } from '../transport/rpc-client' -import type { RpcFailure, RpcSuccess } from '../transport/types' +import { + fileOwnershipRuntimeStatusRead, + fileOwnershipSshStateRead, + fileOwnershipWorktreeRead, + type MobileFileOwnershipRpcSender +} from './mobile-file-ownership-operations' const FILE_MUTATION_TIMEOUT_MS = 15_000 const SSH_OWNER_CHANGED_MESSAGE = @@ -35,47 +39,42 @@ export function buildMobileFileMutationOwnership( } export async function captureMobileFileMutationOwnership( - client: Pick, + client: MobileFileOwnershipRpcSender, worktree: string ): Promise { - const status = await requestResult>( - client, - 'status.get', - undefined - ) + const statusReply = await fileOwnershipRuntimeStatusRead.request(client, undefined, { + timeoutMs: FILE_MUTATION_TIMEOUT_MS + }) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const status = fileOwnershipRuntimeStatusRead.interpret(statusReply) as Pick< + RuntimeStatus, + 'capabilities' + > assertFileMutationOwnershipCapability(status) - const result = await requestResult<{ worktree?: { hostId?: string | null } }>( + const worktreeReply = await fileOwnershipWorktreeRead.request( client, - 'worktree.show', - { worktree } + { worktree }, + { timeoutMs: FILE_MUTATION_TIMEOUT_MS } ) - if (!result.worktree) { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const summary = fileOwnershipWorktreeRead.interpret(worktreeReply) as + | { hostId?: string | null } + | undefined + if (!summary) { throw new Error(SSH_OWNER_CHANGED_MESSAGE) } - const host = parseExecutionHostId(result.worktree.hostId) - const sshState = - host?.kind === 'ssh' - ? ( - await requestResult<{ state: SshConnectionState | null }>(client, 'ssh.getState', { - targetId: host.targetId - }) - ).state - : null - return buildMobileFileMutationOwnership(result.worktree.hostId, sshState) -} - -async function requestResult( - client: Pick, - method: string, - params: unknown -): Promise { - const response = await client.sendRequest(method, params, { - timeoutMs: FILE_MUTATION_TIMEOUT_MS - }) - if (!response.ok) { - throw new Error((response as RpcFailure).error.message) + const host = parseExecutionHostId(summary.hostId) + let sshState: SshConnectionState | null = null + if (host?.kind === 'ssh') { + const stateReply = await fileOwnershipSshStateRead.request( + client, + { targetId: host.targetId }, + { timeoutMs: FILE_MUTATION_TIMEOUT_MS } + ) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + sshState = fileOwnershipSshStateRead.interpret(stateReply) as SshConnectionState | null } - return (response as RpcSuccess).result as TResult + return buildMobileFileMutationOwnership(summary.hostId, sshState) } diff --git a/mobile/src/files/mobile-file-ownership-operations.ts b/mobile/src/files/mobile-file-ownership-operations.ts new file mode 100644 index 00000000000..82084993729 --- /dev/null +++ b/mobile/src/files/mobile-file-ownership-operations.ts @@ -0,0 +1,35 @@ +import { bindDeferredRpcOperation, defineRpcOperation } from '../transport/rpc-operation' +import { rpcUncheckedMemberReader } from '../transport/rpc-reader-payload' + +// The three reads that pin which execution host owns a workspace before a file mutation is sent. +// All three share one acceptance because the capture is all-or-nothing: any refusal aborts the +// mutation with the host's own message rather than letting a write land on the wrong host. + +// The runtime status this gate needs is the one the Tasks screen already asks for, field for +// field. A second operation would only be a second name for the same wire. +export { taskRuntimeStatusRead as fileOwnershipRuntimeStatusRead } from '../tasks/mobile-task-runtime-operations' + +/** The workspace row the mutation targets. A null result throws where `result.worktree` did. */ +export const fileOwnershipWorktreeRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'worktree.file-mutation-owner', + method: 'worktree.show', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedMemberReader('worktree-summary', 'worktree') + }) +) + +/** The SSH connection generation the mutation is expected to still be running on. */ +export const fileOwnershipSshStateRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'ssh.file-mutation-owner-state', + method: 'ssh.getState', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedMemberReader('ssh-connection-state', 'state') + }) +) + +/** What an ownership capture sends with, named from an operation so no module names the raw port. */ +export type MobileFileOwnershipRpcSender = Parameters[0] diff --git a/mobile/src/files/mobile-file-preview-operations.ts b/mobile/src/files/mobile-file-preview-operations.ts new file mode 100644 index 00000000000..ac679e61bce --- /dev/null +++ b/mobile/src/files/mobile-file-preview-operations.ts @@ -0,0 +1,83 @@ +import { bindDeferredRpcOperation, defineRpcOperation } from '../transport/rpc-operation' +import { rpcUncheckedPayloadReader } from '../transport/rpc-reader-payload' + +/** + * The preview screen's reads and writes. + * + * Every one of them is a skip rather than a throw, because a refused preview is not an error the + * screen raises: it is a result the screen renders. The refusal itself stays at the call site, + * which maps the host's code and message into display copy (`previewError`) and decides whether + * the failure is a stale terminal-artifact grant worth refreshing. No acceptance policy exposes a + * refusal code, and only these two consumers want one. + * + * The payloads are unchecked here because the shape depends on the path, not on the method: + * `normalizeMobileFilePreviewResult` picks the image or text projection from the file name, which + * a module-level reader cannot see. + */ + +/** files.read for a preview. The tab doc asks the same method under a throwing policy. */ +export const filePreviewTextRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'files.preview-text-or-skip', + method: 'files.read', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('file-preview') + }) +) + +/** files.readPreview for a preview; the tab doc's image read is the other policy on it. */ +export const filePreviewImageRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'files.preview-image-or-skip', + method: 'files.readPreview', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('file-preview') + }) +) + +export const terminalArtifactTextRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'files.terminal-artifact-text-or-skip', + method: 'files.readTerminalArtifact', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('file-preview') + }) +) + +export const terminalArtifactImageRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'files.terminal-artifact-image-or-skip', + method: 'files.readTerminalArtifactPreview', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('file-preview') + }) +) + +/** The save. Its reply body is never read: a success is the whole answer. */ +export const terminalArtifactWrite = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'files.write-terminal-artifact-or-skip', + method: 'files.writeTerminalArtifact', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('artifact-written') + }) +) + +/** Re-resolves a terminal path to mint a fresh grant. A refusal leaves the stale grant in place. */ +export const terminalArtifactPathResolve = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'files.resolve-terminal-path-or-skip', + method: 'files.resolveTerminalPath', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('terminal-path-resolution') + }) +) + +/** What a preview send takes, named from an operation so no module names the raw port. */ +export type MobileFilePreviewRpcSender = Parameters[0] diff --git a/mobile/src/files/mobile-file-preview-request.test.ts b/mobile/src/files/mobile-file-preview-request.test.ts index fe15cad0b07..9c8692e5a78 100644 --- a/mobile/src/files/mobile-file-preview-request.test.ts +++ b/mobile/src/files/mobile-file-preview-request.test.ts @@ -4,9 +4,12 @@ import { createMobileFilePreviewRequest, formatPreviewByteLength, loadMobileFilePreview, - normalizeMobileFilePreviewResponse, saveMobileTerminalArtifactPreview } from './mobile-file-preview-request' +import { + normalizeMobileFilePreviewResult, + previewErrorFromRefusal +} from './mobile-file-preview-response' function ok(result: unknown): RpcSuccess { return { id: '1', ok: true, result, _meta: { runtimeId: 'runtime-1' } } @@ -592,7 +595,7 @@ describe('mobile-file-preview-request', () => { ['missing mimeType', { content: 'aW1hZ2U=', isBinary: true, isImage: true }], ['empty content', { content: '', isBinary: true, isImage: true, mimeType: 'image/png' }] ])('rejects invalid image preview results: %s', (_label, result) => { - expect(normalizeMobileFilePreviewResponse('assets/logo.png', ok(result))).toEqual({ + expect(normalizeMobileFilePreviewResult('assets/logo.png', result)).toEqual({ status: 'error', message: 'Binary preview unavailable', reconnect: false @@ -601,10 +604,11 @@ describe('mobile-file-preview-request', () => { it('normalizes markdown, html, text, empty, and truncated reads', () => { expect( - normalizeMobileFilePreviewResponse( - 'README.md', - ok({ content: '# Hi', truncated: false, byteLength: 4 }) - ) + normalizeMobileFilePreviewResult('README.md', { + content: '# Hi', + truncated: false, + byteLength: 4 + }) ).toEqual({ status: 'ready', kind: 'markdown', @@ -613,16 +617,18 @@ describe('mobile-file-preview-request', () => { byteLength: 4 }) expect( - normalizeMobileFilePreviewResponse( - 'index.html', - ok({ content: '

Hi

', truncated: false, byteLength: 11 }) - ) + normalizeMobileFilePreviewResult('index.html', { + content: '

Hi

', + truncated: false, + byteLength: 11 + }) ).toMatchObject({ status: 'ready', kind: 'html' }) expect( - normalizeMobileFilePreviewResponse( - 'src/app.ts', - ok({ content: 'const a = 1', truncated: true, byteLength: 700_000 }) - ) + normalizeMobileFilePreviewResult('src/app.ts', { + content: 'const a = 1', + truncated: true, + byteLength: 700_000 + }) ).toEqual({ status: 'ready', kind: 'text', @@ -631,10 +637,11 @@ describe('mobile-file-preview-request', () => { byteLength: 700_000 }) expect( - normalizeMobileFilePreviewResponse( - 'empty.txt', - ok({ content: '', truncated: false, byteLength: 0 }) - ) + normalizeMobileFilePreviewResult('empty.txt', { + content: '', + truncated: false, + byteLength: 0 + }) ).toEqual({ status: 'empty', kind: 'text' }) }) @@ -651,7 +658,7 @@ describe('mobile-file-preview-request', () => { ['terminal_file_grant_stale', 'Reload preview before saving', false], ['permission denied', 'Unable to load preview', false] ])('maps preview failure %s', (message, expected, reconnect) => { - expect(normalizeMobileFilePreviewResponse('src/app.ts', fail(message))).toEqual({ + expect(previewErrorFromRefusal(fail(message).error)).toEqual({ status: 'error', message: expected, reconnect diff --git a/mobile/src/files/mobile-file-preview-request.ts b/mobile/src/files/mobile-file-preview-request.ts index 63b61326654..5a76dc33560 100644 --- a/mobile/src/files/mobile-file-preview-request.ts +++ b/mobile/src/files/mobile-file-preview-request.ts @@ -1,9 +1,18 @@ import { classifyMobileArtifact } from '../session/mobile-artifact-kind' +import type { RpcAcceptedResult } from '../transport/rpc-accepted-result' import type { RpcFailure, RpcResponse } from '../transport/types' -import type { RpcClient } from '../transport/rpc-client' import { - normalizeMobileFilePreviewResponse, + filePreviewImageRead, + filePreviewTextRead, + terminalArtifactImageRead, + terminalArtifactTextRead, + terminalArtifactWrite, + type MobileFilePreviewRpcSender +} from './mobile-file-preview-operations' +import { + normalizeMobileFilePreviewResult, previewError, + previewErrorFromRefusal, type MobileFilePreviewResult } from './mobile-file-preview-response' import { @@ -12,11 +21,8 @@ import { type TerminalArtifactRetryOptions } from './mobile-terminal-artifact-grant-refresh' -export { - formatPreviewByteLength, - normalizeMobileFilePreviewResponse, - previewError -} from './mobile-file-preview-response' +export { formatPreviewByteLength, previewError } from './mobile-file-preview-response' + export type { MobileFilePreviewResult, MobileFilePreviewTextKind @@ -35,17 +41,26 @@ export type MobileFilePreviewSource = } | MobileTerminalArtifactPreviewSource -export type MobileFilePreviewRequest = { - method: MobileFilePreviewReadMethod | MobileTerminalArtifactPreviewReadMethod - params: { - worktree: string - relativePath?: string - absolutePath?: string - grantId?: string - } -} +/** Which read the path selects, and the params that read takes. */ +export type MobileFilePreviewRequest = + | { + method: MobileFilePreviewReadMethod + params: { worktree: string; relativePath: string } + } + | { + method: MobileTerminalArtifactPreviewReadMethod + params: { worktree: string; absolutePath: string; grantId: string } + } + +/** + * A settled preview send. The refusal is carried rather than interpreted because the preview + * screen's fallback copy is the host's `code`, which no acceptance policy exposes, and the grant + * refresh reads the same code to decide whether a stale grant is worth re-minting. + */ +type MobileFilePreviewOutcome = + | { accepted: true; payload: unknown } + | { accepted: false; refusal: RpcFailure['error'] } -type MobileFilePreviewClient = Pick type TerminalArtifactSource = MobileTerminalArtifactPreviewSource type TerminalArtifactSaveOptions = TerminalArtifactRetryOptions & { baseContent?: string @@ -83,35 +98,80 @@ export function createMobileFilePreviewRequest( } } +async function sendMobileFilePreviewRead( + client: MobileFilePreviewRpcSender, + request: MobileFilePreviewRequest +): Promise { + switch (request.method) { + case 'files.read': + return settlePreviewSend( + await filePreviewTextRead.request(client, request.params), + filePreviewTextRead.interpret + ) + case 'files.readPreview': + return settlePreviewSend( + await filePreviewImageRead.request(client, request.params), + filePreviewImageRead.interpret + ) + case 'files.readTerminalArtifact': + return settlePreviewSend( + await terminalArtifactTextRead.request(client, request.params), + terminalArtifactTextRead.interpret + ) + case 'files.readTerminalArtifactPreview': + return settlePreviewSend( + await terminalArtifactImageRead.request(client, request.params), + terminalArtifactImageRead.interpret + ) + } +} + +function settlePreviewSend( + reply: RpcResponse, + interpret: (reply: RpcResponse) => RpcAcceptedResult +): MobileFilePreviewOutcome { + const verdict = interpret(reply) + return verdict.accepted + ? { accepted: true, payload: verdict.value } + : // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: this policy skips only a refusal, so an unaccepted reply is a failure envelope. + { accepted: false, refusal: (reply as RpcFailure).error } +} + export async function loadMobileFilePreview( - client: MobileFilePreviewClient, + client: MobileFilePreviewRpcSender, worktreeIdOrSource: string | MobileFilePreviewSource, relativePath?: string, options: TerminalArtifactRetryOptions = {} ): Promise { let source = worktreeIdOrSource - let request = createMobileFilePreviewRequest(source, relativePath) - let response = await client.sendRequest(request.method, request.params) - if (!response.ok && typeof source !== 'string' && source.source === 'terminalArtifact') { + let read = await sendMobileFilePreviewRead( + client, + createMobileFilePreviewRequest(source, relativePath) + ) + if (!read.accepted && typeof source !== 'string' && source.source === 'terminalArtifact') { const refreshed = await refreshTerminalArtifactSourceAfterGrantFailure( client, source, - response, + read.refusal, options ) if (refreshed) { source = refreshed options.onTerminalArtifactSourceRefreshed?.(refreshed) - request = createMobileFilePreviewRequest(source, relativePath) - response = await client.sendRequest(request.method, request.params) + read = await sendMobileFilePreviewRead( + client, + createMobileFilePreviewRequest(source, relativePath) + ) } } const previewPath = typeof source === 'string' ? relativePath! : previewPathForSource(source) - return normalizeMobileFilePreviewResponse(previewPath, response) + return read.accepted + ? normalizeMobileFilePreviewResult(previewPath, read.payload) + : previewErrorFromRefusal(read.refusal) } export async function saveMobileTerminalArtifactPreview( - client: MobileFilePreviewClient, + client: MobileFilePreviewRpcSender, source: TerminalArtifactSource, content: string, options: TerminalArtifactSaveOptions = {} @@ -135,26 +195,22 @@ export async function saveMobileTerminalArtifactPreview( options.onTerminalArtifactSourceRefreshed?.(verified.source) } } - let response = await writeTerminalArtifactPreview(client, writeSource, content) - if (response.ok) { + let write = await writeTerminalArtifactPreview(client, writeSource, content) + if (write.accepted) { return { status: 'saved' } } if (typeof options.baseContent !== 'string') { - return previewError( - (response as RpcFailure).error.message || (response as RpcFailure).error.code - ) + return previewErrorFromRefusal(write.refusal) } const refreshed = await refreshTerminalArtifactSourceAfterGrantFailure( client, writeSource, - response, + write.refusal, options ) if (!refreshed) { - return previewError( - (response as RpcFailure).error.message || (response as RpcFailure).error.code - ) + return previewErrorFromRefusal(write.refusal) } const verified = await verifyTerminalArtifactBaseContent(client, refreshed, options.baseContent, { refreshGrant: false @@ -164,17 +220,15 @@ export async function saveMobileTerminalArtifactPreview( } options.onTerminalArtifactSourceRefreshed?.(refreshed) writeSource = verified.source - response = await writeTerminalArtifactPreview(client, writeSource, content) - if (!response.ok) { - return previewError( - (response as RpcFailure).error.message || (response as RpcFailure).error.code - ) + write = await writeTerminalArtifactPreview(client, writeSource, content) + if (!write.accepted) { + return previewErrorFromRefusal(write.refusal) } return { status: 'saved' } } async function verifyTerminalArtifactBaseContent( - client: MobileFilePreviewClient, + client: MobileFilePreviewRpcSender, source: TerminalArtifactSource, baseContent: string, options: TerminalArtifactRetryOptions @@ -183,38 +237,26 @@ async function verifyTerminalArtifactBaseContent( | { status: 'error'; error: MobileFilePreviewResult } > { let readSource = source - let request = createMobileFilePreviewRequest(readSource) - let response = await client.sendRequest(request.method, request.params) + let read = await sendMobileFilePreviewRead(client, createMobileFilePreviewRequest(readSource)) let refreshed = false - if (!response.ok) { + if (!read.accepted) { const nextSource = await refreshTerminalArtifactSourceAfterGrantFailure( client, readSource, - response, + read.refusal, options ) if (!nextSource) { - return { - status: 'error', - error: previewError( - (response as RpcFailure).error.message || (response as RpcFailure).error.code - ) - } + return { status: 'error', error: previewErrorFromRefusal(read.refusal) } } readSource = nextSource refreshed = true - request = createMobileFilePreviewRequest(readSource) - response = await client.sendRequest(request.method, request.params) + read = await sendMobileFilePreviewRead(client, createMobileFilePreviewRequest(readSource)) } - if (!response.ok) { - return { - status: 'error', - error: previewError( - (response as RpcFailure).error.message || (response as RpcFailure).error.code - ) - } + if (!read.accepted) { + return { status: 'error', error: previewErrorFromRefusal(read.refusal) } } - const latest = normalizeMobileFilePreviewResponse(readSource.absolutePath, response) + const latest = normalizeMobileFilePreviewResult(readSource.absolutePath, read.payload) if (latest.status === 'error' || latest.status === 'waiting') { return { status: 'error', error: latest } } @@ -231,17 +273,20 @@ async function verifyTerminalArtifactBaseContent( return { status: 'ok', source: readSource, refreshed } } -function writeTerminalArtifactPreview( - client: MobileFilePreviewClient, +async function writeTerminalArtifactPreview( + client: MobileFilePreviewRpcSender, source: TerminalArtifactSource, content: string -): Promise { - return client.sendRequest('files.writeTerminalArtifact', { - worktree: `id:${source.worktreeId}`, - absolutePath: source.absolutePath, - grantId: source.grantId, - content - }) +): Promise { + return settlePreviewSend( + await terminalArtifactWrite.request(client, { + worktree: `id:${source.worktreeId}`, + absolutePath: source.absolutePath, + grantId: source.grantId, + content + }), + terminalArtifactWrite.interpret + ) } function terminalArtifactPreviewMatchesBase( diff --git a/mobile/src/files/mobile-file-preview-response.ts b/mobile/src/files/mobile-file-preview-response.ts index 0b7b1b23be8..fba691dd2c4 100644 --- a/mobile/src/files/mobile-file-preview-response.ts +++ b/mobile/src/files/mobile-file-preview-response.ts @@ -1,5 +1,5 @@ import { classifyMobileArtifact } from '../session/mobile-artifact-kind' -import type { RpcFailure, RpcResponse, RpcSuccess } from '../transport/types' +import type { RpcFailure } from '../transport/types' import { isMarkdownPath } from './file-tree' import { isTerminalArtifactGrantError } from './terminal-artifact-grant-error' @@ -37,23 +37,22 @@ export type MobileFilePreviewResult = reconnect: boolean } -export function normalizeMobileFilePreviewResponse( +/** The accepted arm, for a call site whose acceptance policy already admitted the payload. */ +export function normalizeMobileFilePreviewResult( relativePath: string, - response: RpcResponse + result: unknown ): MobileFilePreviewResult { - if (!response.ok) { - return previewError( - (response as RpcFailure).error.message || (response as RpcFailure).error.code - ) - } - - const result = (response as RpcSuccess).result if (classifyMobileArtifact(relativePath) === 'image') { return normalizeImagePreviewResult(result) } return normalizeTextPreviewResult(relativePath, result) } +/** The refused arm. The code is the fallback copy, which is why the refusal itself is needed. */ +export function previewErrorFromRefusal(error: RpcFailure['error']): MobileFilePreviewResult { + return previewError(error.message || error.code) +} + export function previewError(message: string): MobileFilePreviewResult { const normalized = message.toLowerCase() if (normalized === 'binary_file' || normalized.includes('binary_file')) { diff --git a/mobile/src/files/mobile-file-tab-doc-operations.ts b/mobile/src/files/mobile-file-tab-doc-operations.ts new file mode 100644 index 00000000000..244d44e5e39 --- /dev/null +++ b/mobile/src/files/mobile-file-tab-doc-operations.ts @@ -0,0 +1,47 @@ +import { bindDeferredRpcOperation, defineRpcOperation } from '../transport/rpc-operation' +import { rpcUncheckedPayloadReader } from '../transport/rpc-reader-payload' + +/** + * What a session file tab reads to render one document. + * + * All three throw the host's message on refusal, which is the opposite of the preview screen's + * policy on the same two file methods: a tab maps the throw to an error doc and keeps the tab, + * while the preview screen renders the refusal as body copy. Two policies, two families, named + * here and in mobile-file-preview-operations.ts so neither can drift onto the other. + * + * The payloads stay unchecked: the tab picks its projection from the path, and moving a shape + * check into a reader would reject replies the tab renders today. + */ + +export const fileTabDiffRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'git.file-tab-diff', + method: 'git.diff', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('file-tab-diff') + }) +) + +export const fileTabTextRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'files.file-tab-text', + method: 'files.read', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('file-tab-text') + }) +) + +export const fileTabImageRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'files.file-tab-image', + method: 'files.readPreview', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('file-tab-image') + }) +) + +/** What a file tab reads with, named from an operation so no module names the raw port. */ +export type MobileFileTabDocRpcSender = Parameters[0] diff --git a/mobile/src/files/mobile-file-tab-doc.ts b/mobile/src/files/mobile-file-tab-doc.ts index 78977b5fd30..1e9d43abbba 100644 --- a/mobile/src/files/mobile-file-tab-doc.ts +++ b/mobile/src/files/mobile-file-tab-doc.ts @@ -1,11 +1,13 @@ import { buildImageDataUri } from '../../../src/shared/image-data-uri' import { classifyMobileArtifact } from '../session/mobile-artifact-kind' import { buildMobileDiffLines, type MobileDiffLine } from '../session/mobile-diff-lines' -import type { RpcClient } from '../transport/rpc-client' -import type { RpcFailure, RpcSuccess } from '../transport/types' import { mobileDiffImageDataUri, type MobileBinaryDiffResult } from './mobile-diff-image-preview' - -type FileTabDocClient = Pick +import { + fileTabDiffRead, + fileTabImageRead, + fileTabTextRead, + type MobileFileTabDocRpcSender +} from './mobile-file-tab-doc-operations' // The ready doc a session file tab renders. Mirrors the ready arm of the route's // FileDocState; kept in src so the loader stays testable without the route. @@ -24,21 +26,19 @@ export type MobileFileTabDocRequest = { // Throws 'binary_file'/'file_too_large'/the RPC error message; callers map those // to error docs. export async function resolveMobileFileTabDoc( - client: FileTabDocClient, + client: MobileFileTabDocRpcSender, request: MobileFileTabDocRequest ): Promise { const worktree = `id:${request.worktreeId}` const { relativePath } = request if (request.diffSource === 'staged' || request.diffSource === 'unstaged') { - const response = await client.sendRequest('git.diff', { + const reply = await fileTabDiffRead.request(client, { worktree, filePath: relativePath, staged: request.diffSource === 'staged' }) - if (!response.ok) { - throw new Error((response as RpcFailure).error.message) - } - const result = (response as RpcSuccess).result as + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = fileTabDiffRead.interpret(reply) as | { kind: 'text'; originalContent: string; modifiedContent: string } | MobileBinaryDiffResult if (result.kind !== 'text') { @@ -56,11 +56,9 @@ export async function resolveMobileFileTabDoc( const artifactKind = classifyMobileArtifact(relativePath) if (artifactKind === 'image') { - const preview = await client.sendRequest('files.readPreview', { worktree, relativePath }) - if (!preview.ok) { - throw new Error((preview as RpcFailure).error.message) - } - const result = (preview as RpcSuccess).result as { + const preview = await fileTabImageRead.request(client, { worktree, relativePath }) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = fileTabImageRead.interpret(preview) as { content: string isImage?: boolean mimeType?: string @@ -72,11 +70,9 @@ export async function resolveMobileFileTabDoc( return { status: 'ready', kind: 'image', dataUri } } - const response = await client.sendRequest('files.read', { worktree, relativePath }) - if (!response.ok) { - throw new Error((response as RpcFailure).error.message) - } - const result = (response as RpcSuccess).result as { + const reply = await fileTabTextRead.request(client, { worktree, relativePath }) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = fileTabTextRead.interpret(reply) as { content: string truncated: boolean byteLength: number diff --git a/mobile/src/files/mobile-terminal-artifact-grant-refresh.ts b/mobile/src/files/mobile-terminal-artifact-grant-refresh.ts index cbe5ffdebd8..0e79764437b 100644 --- a/mobile/src/files/mobile-terminal-artifact-grant-refresh.ts +++ b/mobile/src/files/mobile-terminal-artifact-grant-refresh.ts @@ -1,10 +1,11 @@ import type { RuntimeNativeChatFileContext } from '../../../src/shared/runtime-types' -import type { RpcClient } from '../transport/rpc-client' -import type { RpcFailure, RpcResponse, RpcSuccess } from '../transport/types' +import type { RpcFailure } from '../transport/types' +import { + terminalArtifactPathResolve, + type MobileFilePreviewRpcSender +} from './mobile-file-preview-operations' import { isTerminalArtifactGrantError } from './terminal-artifact-grant-error' -type MobileFilePreviewClient = Pick - export type MobileTerminalArtifactPreviewSource = { source: 'terminalArtifact' worktreeId: string @@ -22,26 +23,28 @@ export type TerminalArtifactRetryOptions = { refreshGrant?: boolean } +/** Takes the refusal rather than the envelope: every caller already routed on its own acceptance. */ export async function refreshTerminalArtifactSourceAfterGrantFailure( - client: MobileFilePreviewClient, + client: MobileFilePreviewRpcSender, source: MobileTerminalArtifactPreviewSource, - response: RpcResponse, + refusal: RpcFailure['error'], options: TerminalArtifactRetryOptions = {} ): Promise { - if (response.ok || !isTerminalArtifactGrantFailure(response, options)) { + if (!isTerminalArtifactGrantFailure(refusal, options)) { return null } - const refreshed = await client.sendRequest('files.resolveTerminalPath', { + const reply = await terminalArtifactPathResolve.request(client, { worktree: `id:${source.worktreeId}`, pathText: source.pathText ?? source.absolutePath, ...(source.cwd ? { cwd: source.cwd } : {}), ...(source.terminalHandle ? { terminal: source.terminalHandle } : {}), ...(source.nativeChatContext ? { nativeChatContext: source.nativeChatContext } : {}) }) - if (!refreshed.ok) { + const resolved = terminalArtifactPathResolve.interpret(reply) + if (!resolved.accepted) { return null } - const result = (refreshed as RpcSuccess).result + const result = resolved.value if (!isTerminalArtifactResolution(result)) { return null } @@ -62,13 +65,13 @@ export async function refreshTerminalArtifactSourceAfterGrantFailure( } function isTerminalArtifactGrantFailure( - response: RpcFailure, + refusal: RpcFailure['error'], options: TerminalArtifactRetryOptions ): boolean { if (options.refreshGrant === false) { return false } - return isTerminalArtifactGrantError(`${response.error.code} ${response.error.message}`) + return isTerminalArtifactGrantError(`${refusal.code} ${refusal.message}`) } function isTerminalArtifactResolution(result: unknown): result is { diff --git a/mobile/src/home/mobile-home-host-operations.ts b/mobile/src/home/mobile-home-host-operations.ts new file mode 100644 index 00000000000..9bd77db3710 --- /dev/null +++ b/mobile/src/home/mobile-home-host-operations.ts @@ -0,0 +1,17 @@ +import { bindDeferredRpcOperation, defineRpcOperation } from '../transport/rpc-operation' +import { rpcUncheckedPayloadReader } from '../transport/rpc-reader-payload' + +/** + * The Home card's per-host counts. Decorative: a refused summary leaves the card on whatever it + * already showed, so refusal is a skip. Its glab and Linear probes are the task-tooling reads in + * ../tasks/mobile-task-runtime-operations.ts — the same question, asked by a second screen. + */ +export const homeHostStatsRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'stats.home-summary-or-skip', + method: 'stats.summary', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('home-stats-summary') + }) +) diff --git a/mobile/src/home/mobile-home-host-requests.ts b/mobile/src/home/mobile-home-host-requests.ts index cf4c45cf4a8..70ba1f93c20 100644 --- a/mobile/src/home/mobile-home-host-requests.ts +++ b/mobile/src/home/mobile-home-host-requests.ts @@ -1,6 +1,7 @@ import { settingsRead } from '../transport/settings-read-operations' import { decodeAccountsSnapshot, type AccountsSnapshot } from '../components/AccountUsage' import type { HomeStatsSummary } from '../stats/home-stats-total' +import { taskLinearStatusRead, taskPreflightRead } from '../tasks/mobile-task-runtime-operations' import { filterAvailableTaskProviders, normalizeVisibleTaskProviders, @@ -8,6 +9,7 @@ import { } from '../tasks/mobile-task-providers' import type { RpcClient } from '../transport/rpc-client' import { sendSingleFlightRequest } from '../transport/request-single-flight' +import { homeHostStatsRead } from './mobile-home-host-operations' type HomeTaskSettings = { visibleTaskProviders?: unknown @@ -39,12 +41,15 @@ export function fetchMobileHomeStats( setStats: HomeStatsSetter, disposed: () => boolean ): void { - sendSingleFlightRequest(client, hostId, 'stats.summary') - .then((response) => { - if (!disposed() && response.ok) { + homeHostStatsRead + .requestSingleFlight(client, hostId) + .then((reply) => { + const summary = homeHostStatsRead.interpret(reply) + if (!disposed() && summary.accepted) { setStats((previous) => ({ ...previous, - [hostId]: response.result as HomeStatsSummary + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + [hostId]: summary.value as HomeStatsSummary })) } }) @@ -75,8 +80,8 @@ export function fetchMobileHomeTaskProviders( ): void { Promise.all([ settingsRead.requestSingleFlight(client, hostId), - sendSingleFlightRequest(client, hostId, 'preflight.check'), - sendSingleFlightRequest(client, hostId, 'linear.status') + taskPreflightRead.requestSingleFlight(client, hostId), + taskLinearStatusRead.requestSingleFlight(client, hostId) ]) .then(([settingsResponse, preflightResponse, linearResponse]) => { if (disposed()) { @@ -87,10 +92,16 @@ export function fetchMobileHomeTaskProviders( ? // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. ((settingsResult.value ?? {}) as HomeTaskSettings) : {} - const preflight = preflightResponse.ok - ? (preflightResponse.result as HomePreflightStatus) + const preflightResult = taskPreflightRead.interpret(preflightResponse) + const preflight = preflightResult.accepted + ? // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + (preflightResult.value as HomePreflightStatus) + : null + const linearResult = taskLinearStatusRead.interpret(linearResponse) + const linear = linearResult.accepted + ? // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + (linearResult.value as HomeLinearStatus) : null - const linear = linearResponse.ok ? (linearResponse.result as HomeLinearStatus) : null const providers = filterAvailableTaskProviders( normalizeVisibleTaskProviders(settings.visibleTaskProviders), { diff --git a/mobile/src/hooks/mobile-dictation-audio-chunk.ts b/mobile/src/hooks/mobile-dictation-audio-chunk.ts index 792292e6c16..bb094f04807 100644 --- a/mobile/src/hooks/mobile-dictation-audio-chunk.ts +++ b/mobile/src/hooks/mobile-dictation-audio-chunk.ts @@ -3,6 +3,7 @@ import { MOBILE_DICTATION_PCM_SAMPLE_RATE } from './mobile-dictation-pending-audio-budget' import { bytesToBase64 } from './mobile-dictation-session-state' +import { dictationAudioChunkSend } from '../dictation/mobile-dictation-operations' import type { MicrophoneDataEvent } from '@orca/expo-two-way-audio' import type { MobileDictationPendingAudioBudget } from './mobile-dictation-pending-audio-budget' import type { RpcClient } from '../transport/rpc-client' @@ -30,16 +31,14 @@ export function enqueueMobileDictationAudioChunk( ) return } - const sendChunk = client - .sendRequest('speech.dictation.chunk', { + const sendChunk = dictationAudioChunkSend + .request(client, { dictationId, audioBase64: bytesToBase64(bytes), sampleRate: MOBILE_DICTATION_PCM_SAMPLE_RATE }) - .then((response) => { - if (!response.ok) { - throw new Error(response.error.message) - } + .then((reply) => { + dictationAudioChunkSend.interpret(reply) }) .catch((err) => queue.failActiveDictation(dictationId, err)) .finally(() => { diff --git a/mobile/src/hooks/mobile-dictation-desktop-start.ts b/mobile/src/hooks/mobile-dictation-desktop-start.ts index 581b2b99d9f..c0ce4c948ac 100644 --- a/mobile/src/hooks/mobile-dictation-desktop-start.ts +++ b/mobile/src/hooks/mobile-dictation-desktop-start.ts @@ -2,6 +2,10 @@ import { MOBILE_DICTATION_KEEP_AWAKE_STARTUP_BUDGET_MS, isCurrentMobileDictationStart } from './mobile-dictation-session-state' +import { + dictationSessionCancel, + dictationSessionStart +} from '../dictation/mobile-dictation-operations' import type { MobileDictationKeepAwakeOwner } from './mobile-dictation-keep-awake' import type { RpcClient } from '../transport/rpc-client' @@ -50,9 +54,7 @@ async function cancelStaleStart( const { client, dictationId, keepAwakeOwner } = options options.clearActiveId(dictationId) setIdleIfGenerationCurrent(options) - const cleanups: Promise[] = [ - client.sendRequest('speech.dictation.cancel', { dictationId }) - ] + const cleanups: Promise[] = [dictationSessionCancel.request(client, { dictationId })] if (releaseKeepAwake) { cleanups.push(keepAwakeOwner.release(dictationId)) } @@ -65,14 +67,12 @@ export async function startMobileDictationDesktopSession( const { client, dictationId, keepAwakeOwner } = options try { - const response = await client.sendRequest('speech.dictation.start', { dictationId }) - if (!response.ok) { - throw new Error(response.error.message) - } + const reply = await dictationSessionStart.request(client, { dictationId }) + dictationSessionStart.interpret(reply) } catch (err) { const wasCurrent = isCurrentStart(options) options.clearActiveId(dictationId) - await client.sendRequest('speech.dictation.cancel', { dictationId }).catch(() => undefined) + await dictationSessionCancel.request(client, { dictationId }).catch(() => undefined) // Awaited cleanup may overlap a newer start; stale work must not reset or // report over the replacement session. const shouldReport = wasCurrent && canReportStartFailure(options) @@ -129,7 +129,7 @@ export async function startMobileDictationDesktopSession( options.clearActiveId(dictationId) await Promise.allSettled([ keepAwakeOwner.release(dictationId), - client.sendRequest('speech.dictation.cancel', { dictationId }) + dictationSessionCancel.request(client, { dictationId }) ]) const shouldReport = wasCurrent && canReportStartFailure(options) setIdleIfGenerationCurrent(options) diff --git a/mobile/src/hooks/use-mobile-dictation-source.test.ts b/mobile/src/hooks/use-mobile-dictation-source.test.ts index a3192ce86ea..3b1e305d1ae 100644 --- a/mobile/src/hooks/use-mobile-dictation-source.test.ts +++ b/mobile/src/hooks/use-mobile-dictation-source.test.ts @@ -109,7 +109,7 @@ describe('useMobileDictation source invariants', () => { ' return true' ) const desktopStartIndex = startBody.indexOf( - "client.sendRequest('speech.dictation.start', { dictationId })" + 'dictationSessionStart.request(client, { dictationId })' ) const acquireIndex = startBody.indexOf('.acquire(dictationId)') const desktopSessionIndex = hookStartBody.indexOf('await startMobileDictationDesktopSession') @@ -154,7 +154,7 @@ describe('useMobileDictation source invariants', () => { 'export async function startMobileDictationDesktopSession' ) expect(cancelStaleStartBody).toContain( - "client.sendRequest('speech.dictation.cancel', { dictationId })" + 'dictationSessionCancel.request(client, { dictationId })' ) expect(cancelStaleStartBody).toContain('cleanups.push(keepAwakeOwner.release(dictationId))') expect(cancelStaleStartBody).toContain('await Promise.allSettled(cleanups)') diff --git a/mobile/src/hooks/use-mobile-dictation.ts b/mobile/src/hooks/use-mobile-dictation.ts index 7dd1689c94e..e835592d685 100644 --- a/mobile/src/hooks/use-mobile-dictation.ts +++ b/mobile/src/hooks/use-mobile-dictation.ts @@ -16,6 +16,11 @@ import { isCurrentMobileDictationFinish } from './mobile-dictation-session-state' import { startMobileDictationDesktopSession } from './mobile-dictation-desktop-start' +import { + dictationSessionCancel, + dictationSessionFinish +} from '../dictation/mobile-dictation-operations' +import { rpcPayloadMember } from '../transport/rpc-reader-payload' import type { DictationStatus, UseMobileDictationOptions, @@ -82,7 +87,7 @@ export function useMobileDictation(options: UseMobileDictationOptions): UseMobil activeIdRef.current = null closeDictationAudio(dictationId) if (client && dictationId) { - void client.sendRequest('speech.dictation.cancel', { dictationId }).catch(() => undefined) + void dictationSessionCancel.request(client, { dictationId }).catch(() => undefined) } reportError(err) }, @@ -210,14 +215,13 @@ export function useMobileDictation(options: UseMobileDictationOptions): UseMobil ) { return } - const response = await client.sendRequest( - 'speech.dictation.finish', - { dictationId }, - { timeoutMs: DICTATION_FINISH_TIMEOUT_MS } + const finished = dictationSessionFinish.interpret( + await dictationSessionFinish.request( + client, + { dictationId }, + { timeoutMs: DICTATION_FINISH_TIMEOUT_MS } + ) ) - if (!response.ok) { - throw new Error(response.error.message) - } if ( !isCurrentMobileDictationFinish( generationRef.current, @@ -230,8 +234,8 @@ export function useMobileDictation(options: UseMobileDictationOptions): UseMobil ) { return } - const result = response.result as { text?: unknown } - const text = typeof result.text === 'string' ? result.text.trim() : '' + const transcript = rpcPayloadMember(finished, 'text') + const text = typeof transcript === 'string' ? transcript.trim() : '' activeIdRef.current = null finishingIdRef.current = null pendingChunksRef.current.clear() @@ -262,7 +266,7 @@ export function useMobileDictation(options: UseMobileDictationOptions): UseMobil finishingIdRef.current = null closeDictationAudio(dictationId) if (client && dictationId) { - await client.sendRequest('speech.dictation.cancel', { dictationId }).catch(() => undefined) + await dictationSessionCancel.request(client, { dictationId }).catch(() => undefined) } setStatus('idle') setError(null) @@ -294,8 +298,8 @@ export function useMobileDictation(options: UseMobileDictationOptions): UseMobil closeDictationAudio(dictationId) void tearDown() if (clientRef.current && dictationId) { - void clientRef.current - .sendRequest('speech.dictation.cancel', { dictationId }) + void dictationSessionCancel + .request(clientRef.current, { dictationId }) .catch(() => undefined) } } diff --git a/mobile/src/host-screen/host-screen-operations.ts b/mobile/src/host-screen/host-screen-operations.ts new file mode 100644 index 00000000000..4c0d3e46055 --- /dev/null +++ b/mobile/src/host-screen/host-screen-operations.ts @@ -0,0 +1,106 @@ +import { bindDeferredRpcOperation, defineRpcOperation } from '../transport/rpc-operation' +import { + rpcUncheckedMemberReader, + rpcUncheckedPayloadReader +} from '../transport/rpc-reader-payload' + +// What the host screen reads to label its rows and to mirror the desktop's workspace view store. +// Every read here is decorative: a refusal leaves the screen on what it already has and the next +// refresh retries, so all of them skip rather than throw. + +export const hostRepoCatalogRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'repo.host-catalog-or-skip', + method: 'repo.list', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('repo-catalog') + }) +) + +/** Row labels for a catalog that spans hosts. Absent on a host that predates the method. */ +export const hostSshTargetSummariesRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'ssh.host-target-summaries-or-skip', + method: 'ssh.listTargetSummaries', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('ssh-target-summaries') + }) +) + +export const hostPlatformRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'host.platform-or-skip', + method: 'host.platform', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('host-platform') + }) +) + +/** + * The desktop's shared workspace view settings, a third family on ui.get. + * + * It keeps the Tasks screen's property-read throw on a null result — the screen's own try/catch is + * what that throw has always landed in — where the New Workspace drawer's reader degrades instead. + */ +export const hostViewSettingsRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'ui.host-view-settings-or-skip', + method: 'ui.get', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: rpcUncheckedMemberReader('ui-view-settings', 'ui') + }) +) + +/** Patching the same store. Best-effort: the local state already moved, and no reply is read. */ +export const hostViewSettingsWrite = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'ui.set-host-view-settings-or-skip', + method: 'ui.set', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('ui-view-settings-written') + }) +) + +/** + * The host list's three row mutations. + * + * All three skip on refusal, which is not the policy `worktree.set-review-link` uses on the same + * method in source-control: a review link throws so the composer can report it, where a pin write + * is optimistic and its `.catch` already swallowed everything. Two policies, both named. + */ +export const worktreePinWrite = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'worktree.set-pinned-or-skip', + method: 'worktree.set', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('pin-written') + }) +) + +/** Deleting a row. Only acceptance is read: a refusal is what puts the row back. */ +export const worktreeRemove = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'worktree.remove-or-skip', + method: 'worktree.rm', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('worktree-removed') + }) +) + +/** Telling the host which workspace the phone opened. Best-effort; navigation does not wait. */ +export const worktreeActivate = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'worktree.activate-or-skip', + method: 'worktree.activate', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('worktree-activated') + }) +) diff --git a/mobile/src/host-screen/use-host-repo-metadata.ts b/mobile/src/host-screen/use-host-repo-metadata.ts index 64ece7b700e..d87d917b467 100644 --- a/mobile/src/host-screen/use-host-repo-metadata.ts +++ b/mobile/src/host-screen/use-host-repo-metadata.ts @@ -2,32 +2,47 @@ import { optionalSettingsRead } from '../transport/settings-read-operations' import { useCallback } from 'react' import { getRepoExecutionHostId } from '../../../src/shared/execution-host' import { setCachedRepos } from '../cache/repo-cache' +import type { RpcAcceptedResult } from '../transport/rpc-accepted-result' import type { RpcClient } from '../transport/rpc-client' -import type { ConnectionState, RpcResponse, RpcSuccess } from '../transport/types' +import type { ConnectionState, RpcResponse } from '../transport/types' import type { RepoSummary } from '../worktree/host-worktree-rpc-types' import { repoColor } from '../worktree/repo-color' import { buildHostLabelById, buildRepoHostIdByRepoId } from '../worktree/worktree-host-context-labels' +import { + hostPlatformRead, + hostRepoCatalogRead, + hostSshTargetSummariesRead +} from './host-screen-operations' import type { HostScreenState } from './use-host-screen-state' const REPO_METADATA_REFRESH_MS = 60_000 type SshTargetSummaryRow = { id: string; label: string } -async function requestMetadataResponse( - client: RpcClient, - method: 'repo.list' | 'ssh.listTargetSummaries' | 'host.platform' -): Promise { +async function settledMetadataReply(send: () => Promise): Promise { try { - return await client.sendRequest(method) + return await send() } catch { // Best-effort: hosts that predate a method still list repos; labels degrade to host ids. return null } } +/** An accepted metadata payload, or null for a refusal or a send that never landed. */ +function acceptedMetadata( + reply: RpcResponse | null, + interpret: (reply: RpcResponse) => RpcAcceptedResult +): unknown { + if (!reply) { + return null + } + const verdict = interpret(reply) + return verdict.accepted ? verdict.value : null +} + function readSshTargets(result: unknown): SshTargetSummaryRow[] { const targets = (result as { targets?: unknown } | null)?.targets if (!Array.isArray(targets)) { @@ -93,15 +108,18 @@ export function useHostRepoMetadata(args: { try { do { fetchRepoMetadataPendingRef.current.delete(requestClient) - const repoResponse = await requestMetadataResponse(requestClient, 'repo.list') - if ( - clientRef.current !== requestClient || - hostId !== requestHostId || - !repoResponse?.ok - ) { + const repoReply = await settledMetadataReply(() => + hostRepoCatalogRead.request(requestClient) + ) + if (clientRef.current !== requestClient || hostId !== requestHostId) { return } - const repoResult = (repoResponse as RpcSuccess).result as { repos: RepoSummary[] } + const repos = repoReply && hostRepoCatalogRead.interpret(repoReply) + if (!repos || !repos.accepted) { + return + } + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const repoResult = repos.value as { repos: RepoSummary[] } repoMetadataFetchedAtRef.current = Date.now() setCachedRepos(requestHostId, repoResult.repos) setRepoColorsByName( @@ -127,9 +145,9 @@ export function useHostRepoMetadata(args: { const hostIds = new Set(repoResult.repos.map((repo) => getRepoExecutionHostId(repo))) if (hostIds.size > 1) { const [sshTargets, hostSettings, hostPlatform] = await Promise.all([ - requestMetadataResponse(requestClient, 'ssh.listTargetSummaries'), + settledMetadataReply(() => hostSshTargetSummariesRead.request(requestClient)), optionalSettingsRead.request(requestClient).catch(() => null), - requestMetadataResponse(requestClient, 'host.platform') + settledMetadataReply(() => hostPlatformRead.request(requestClient)) ]) if (clientRef.current !== requestClient || hostId !== requestHostId) { return @@ -139,13 +157,17 @@ export function useHostRepoMetadata(args: { : null setHostLabelById( buildHostLabelById({ - sshTargets: readSshTargets(sshTargets?.ok ? sshTargets.result : null), + sshTargets: readSshTargets( + acceptedMetadata(sshTargets, hostSshTargetSummariesRead.interpret) + ), hostSettingOverrides: readHostSettingOverrides( hostSettingsResult?.accepted ? hostSettingsResult.value : undefined ) }) ) - setHostPlatform(readHostPlatform(hostPlatform?.ok ? hostPlatform.result : null)) + setHostPlatform( + readHostPlatform(acceptedMetadata(hostPlatform, hostPlatformRead.interpret)) + ) } } while (fetchRepoMetadataPendingRef.current.has(requestClient)) } catch { diff --git a/mobile/src/host-screen/use-host-view-settings.ts b/mobile/src/host-screen/use-host-view-settings.ts index 877aa5f3c9f..9fb192b76ab 100644 --- a/mobile/src/host-screen/use-host-view-settings.ts +++ b/mobile/src/host-screen/use-host-view-settings.ts @@ -1,6 +1,6 @@ import { useCallback, useEffect, useMemo } from 'react' import type { RpcClient } from '../transport/rpc-client' -import type { ConnectionState, RpcSuccess } from '../transport/types' +import type { ConnectionState } from '../transport/types' import { getMobileWorkspaceLineageGroupKey } from '../worktree/mobile-workspace-lineage' import { WORKSPACE_SORT_OPTIONS as SORT_OPTIONS } from '../worktree/workspace-list-picker-options' import { @@ -12,6 +12,7 @@ import { type WorkspaceViewSettings } from '../worktree/workspace-view-settings' import type { Worktree } from '../worktree/workspace-list-sections' +import { hostViewSettingsRead, hostViewSettingsWrite } from './host-screen-operations' import type { HostScreenState } from './use-host-screen-state' export function useHostViewSettings(args: { @@ -79,7 +80,7 @@ export function useHostViewSettings(args: { if (Object.keys(payload).length === 0) { return } - void client.sendRequest('ui.set', payload).catch(() => { + void hostViewSettingsWrite.request(client, payload).catch(() => { // Best-effort: view settings are a convenience preference. }) }, @@ -94,11 +95,16 @@ export function useHostViewSettings(args: { const requestClient = client const requestHostId = hostId try { - const response = await requestClient.sendRequest('ui.get') - if (clientRef.current !== requestClient || hostId !== requestHostId || !response.ok) { + const reply = await hostViewSettingsRead.request(requestClient) + if (clientRef.current !== requestClient || hostId !== requestHostId) { return } - const ui = ((response as RpcSuccess).result as { ui?: WorkspaceViewSettings }).ui + const settings = hostViewSettingsRead.interpret(reply) + if (!settings.accepted) { + return + } + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const ui = settings.value as WorkspaceViewSettings | undefined if (!ui) { return } diff --git a/mobile/src/host-screen/use-host-worktree-actions.ts b/mobile/src/host-screen/use-host-worktree-actions.ts index 21f49a4f306..61956476209 100644 --- a/mobile/src/host-screen/use-host-worktree-actions.ts +++ b/mobile/src/host-screen/use-host-worktree-actions.ts @@ -11,6 +11,7 @@ import { setHostRouteNewWorktreeVisible } from '../host-route-action-state' import { leaveHostRoute } from '../host-route-exit' import { getWorktreeRowIdentity, removeWorktreeRow } from '../worktree/worktree-host-row-identity' import { isWorktreePinned, type Worktree } from '../worktree/workspace-list-sections' +import { worktreeActivate, worktreePinWrite, worktreeRemove } from './host-screen-operations' import type { HostScreenState } from './use-host-screen-state' export function useHostWorktreeActions(args: { @@ -101,8 +102,8 @@ export function useHostWorktreeActions(args: { updateLocalPins(worktreeId, newPinned) if (client) { - client - .sendRequest('worktree.set', { + worktreePinWrite + .request(client, { worktree: `id:${worktreeId}`, isPinned: newPinned }) @@ -123,11 +124,11 @@ export function useHostWorktreeActions(args: { setLastKnownWorktrees(removeFromList) try { - const response = await client.sendRequest('worktree.rm', { + const reply = await worktreeRemove.request(client, { worktree: `id:${item.worktreeId}`, force: true }) - if (!response.ok) { + if (!worktreeRemove.interpret(reply).accepted) { setWorktrees((prev) => [...prev, item]) setLastKnownWorktrees((prev) => [...prev, item]) } @@ -176,8 +177,8 @@ export function useHostWorktreeActions(args: { (item: Worktree) => { setOptimisticActiveWorktreeIdentity(getWorktreeRowIdentity(item)) if (client && connState === 'connected') { - void client - .sendRequest('worktree.activate', { + void worktreeActivate + .request(client, { worktree: `id:${item.worktreeId}`, notifyClients: false, navigation: 'caller' diff --git a/mobile/src/notifications/mobile-push-registration-operations.ts b/mobile/src/notifications/mobile-push-registration-operations.ts new file mode 100644 index 00000000000..7dd975e3bec --- /dev/null +++ b/mobile/src/notifications/mobile-push-registration-operations.ts @@ -0,0 +1,29 @@ +import { bindDeferredRpcOperation, defineRpcOperation } from '../transport/rpc-operation' +import { rpcUncheckedPayloadReader } from '../transport/rpc-reader-payload' + +// The two sends that keep this device's push route on a host current. +// +// Both are skips rather than throws: each runs under `catch(() => null)` inside a reconciliation +// chain whose answer is only ever "did this land", and a refusal means the stored records stay as +// they are until the next reconcile. Neither has a screen to show a host message on. + +export const pushRouteRegister = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'notifications.register-push-or-skip', + method: 'notifications.registerPush', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('push-registration') + }) +) + +/** The reply body is unread: a fulfilled unregister is the whole answer. */ +export const pushRouteUnregister = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'notifications.unregister-push-or-skip', + method: 'notifications.unregisterPush', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('push-unregistered') + }) +) diff --git a/mobile/src/notifications/push-registration.ts b/mobile/src/notifications/push-registration.ts index f5463714b7d..f52e3d88ae6 100644 --- a/mobile/src/notifications/push-registration.ts +++ b/mobile/src/notifications/push-registration.ts @@ -15,6 +15,7 @@ import type { import { NOTIFICATIONS_REMOTE_PUSH_RUNTIME_CAPABILITY } from '../../../src/shared/protocol-version' import type { RpcClient } from '../transport/rpc-client' import { startRuntimeCapabilityProbe } from '../transport/runtime-capability-probe' +import { pushRouteRegister, pushRouteUnregister } from './mobile-push-registration-operations' import { loadPushNotificationsEnabled, loadRemotePushHostRegistrations, @@ -25,7 +26,7 @@ import { addPushTokenListener, getDevicePushToken, type MobilePushToken } from ' export const NOTIFICATIONS_REMOTE_PUSH_CAPABILITY = NOTIFICATIONS_REMOTE_PUSH_RUNTIME_CAPABILITY -type PushClient = Pick +type PushClient = RpcClient const REQUEST_TIMEOUT_MS = 5_000 const REMOVAL_TIMEOUT_MS = 2_000 @@ -107,26 +108,22 @@ async function sendRegister( ...(token.apnsEnvironment ? { apnsEnvironment: token.apnsEnvironment } : {}), filter } - const response = await client - .sendRequest('notifications.registerPush', params, { - timeoutMs: REQUEST_TIMEOUT_MS, - failWhenDisconnected: true - }) + const reply = await pushRouteRegister + .request(client, params, { timeoutMs: REQUEST_TIMEOUT_MS, failWhenDisconnected: true }) .catch(() => null) - if (!response?.ok) { + const registration = reply && pushRouteRegister.interpret(reply) + if (!registration?.accepted) { return false } - return (response.result as MobilePushRegisterResult | null)?.registered === true + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + return (registration.value as MobilePushRegisterResult | null)?.registered === true } async function sendUnregister(client: PushClient, timeoutMs: number): Promise { - const response = await client - .sendRequest('notifications.unregisterPush', null, { - timeoutMs, - failWhenDisconnected: true - }) + const reply = await pushRouteUnregister + .request(client, null, { timeoutMs, failWhenDisconnected: true }) .catch(() => null) - return response?.ok === true + return reply !== null && pushRouteUnregister.interpret(reply).accepted } async function reconcileHost(hostId: string): Promise { diff --git a/mobile/src/session/ai-vault-resume-launch.ts b/mobile/src/session/ai-vault-resume-launch.ts index 11608084814..73b47e9e859 100644 --- a/mobile/src/session/ai-vault-resume-launch.ts +++ b/mobile/src/session/ai-vault-resume-launch.ts @@ -16,12 +16,10 @@ import { normalizeAiVaultResumeFilePath } from '../../../src/shared/ai-vault-res import type { TuiAgent } from '../../../src/shared/tui-agent' import { parseWslUncPath } from '../../../src/shared/wsl-paths' import { resolveWindowsShellStartupFamily } from '../../../src/shared/windows-terminal-shell' -import type { RpcClient } from '../transport/rpc-client' -import { - readMobileReviewCreatedTerminal, - readMobileReviewTerminalSendAccepted, - type MobileReviewTerminalTab -} from './mobile-diff-review-rpc' +import type { RpcOperationSender } from '../transport/rpc-operation-sender' +import { interpretOrThrowRefusalMessage } from '../transport/rpc-refusal-message' +import { reviewTerminalCreateRun, reviewTerminalSendRun } from './mobile-review-terminal-operations' +import type { MobileReviewTerminalTab } from './mobile-diff-review-rpc' import type { MobileAiVaultResumeTargetStatus } from '../agent-history/agent-history-resume-target' export function buildMobileAiVaultResumeCommand(args: { @@ -151,12 +149,14 @@ function normalizeMobileAiVaultResumeCommandOverrides( } export async function resumeAiVaultSessionInTerminal( - client: Pick, + client: RpcOperationSender, worktreeId: string, launch: MobileAiVaultResumeLaunch & { clientMutationId?: string } ): Promise { - const created = await client.sendRequest( - 'session.tabs.createTerminal', + // Each request is awaited outside its catch so a transport drop propagates as the original error + // object; only a refusal is rewritten into this step's own copy. + const created = await reviewTerminalCreateRun.request( + client, { worktree: `id:${worktreeId}`, ...(launch.env ? { env: launch.env } : {}), @@ -170,15 +170,16 @@ export async function resumeAiVaultSessionInTerminal( }, { timeoutMs: RESUME_RPC_TIMEOUT_MS } ) - if (!created.ok) { - throw new Error(created.error?.message || 'Failed to create terminal') - } - const terminalTab = readMobileReviewCreatedTerminal(created.result) + let terminalTab + terminalTab = interpretOrThrowRefusalMessage( + () => reviewTerminalCreateRun.interpret(created), + 'Failed to create terminal' + ) if (!terminalTab) { throw new Error('Created terminal response was invalid') } - const sent = await client.sendRequest( - 'terminal.send', + const sent = await reviewTerminalSendRun.request( + client, { terminal: terminalTab.terminal, text: launch.command, @@ -186,10 +187,12 @@ export async function resumeAiVaultSessionInTerminal( }, { timeoutMs: RESUME_RPC_TIMEOUT_MS } ) - if (!sent.ok) { - throw new Error(sent.error?.message || 'Failed to send resume command') - } - if (!readMobileReviewTerminalSendAccepted(sent.result)) { + let accepted + accepted = interpretOrThrowRefusalMessage( + () => reviewTerminalSendRun.interpret(sent), + 'Failed to send resume command' + ) + if (!accepted) { throw new Error('Terminal input is locked') } return terminalTab diff --git a/mobile/src/session/ai-vault-resume-preparation.ts b/mobile/src/session/ai-vault-resume-preparation.ts index 4265442ff66..a9047156874 100644 --- a/mobile/src/session/ai-vault-resume-preparation.ts +++ b/mobile/src/session/ai-vault-resume-preparation.ts @@ -5,14 +5,15 @@ import { isPerAccountManagedCodexHome } from '../../../src/shared/ai-vault-resume-preparation' import { LOCAL_EXECUTION_HOST_ID } from '../../../src/shared/execution-host' -import type { RpcClient } from '../transport/rpc-client' +import { aiVaultResumePreparationRun } from './mobile-session-launch-operations' +import type { RpcOperationSender } from '../transport/rpc-operation-sender' // Why: without an explicit timeout, a socket drop mid-resume parks the request // on the reconnect waiter for the full reconnect budget, pinning the spinner. export const RESUME_RPC_TIMEOUT_MS = 30_000 export async function prepareMobileAiVaultSessionResume( - client: Pick, + client: RpcOperationSender, session: AiVaultSession ): Promise { // Why: per-account repinning runs on the serving host, whose account @@ -26,8 +27,8 @@ export async function prepareMobileAiVaultSessionResume( ) { return session } - const response = await client.sendRequest( - 'aiVault.prepareSessionResume', + const response = await aiVaultResumePreparationRun.request( + client, { agent: session.agent, filePath: session.filePath, @@ -45,7 +46,8 @@ export async function prepareMobileAiVaultSessionResume( response.error?.message || 'Could not prepare this legacy Codex session. Retry resume.' ) } - const result = response.result as { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = aiVaultResumePreparationRun.interpret(response) as { useRealCodexHome?: unknown substituteCodexHome?: unknown } | null diff --git a/mobile/src/session/github-pr-mutation-operations.ts b/mobile/src/session/github-pr-mutation-operations.ts new file mode 100644 index 00000000000..67b06a3a816 --- /dev/null +++ b/mobile/src/session/github-pr-mutation-operations.ts @@ -0,0 +1,128 @@ +import { bindDeferredRpcOperation, defineRpcOperation } from '../transport/rpc-operation' +import type { RpcMethodName } from '../transport/rpc-params-contract' +import type { RpcCompatibleReader } from '../transport/rpc-operation-contract' +import { + rpcPayloadMember, + rpcReadUnchecked, + rpcUncheckedPayloadReader +} from '../transport/rpc-reader-payload' + +// Host-state changes on the `github.*` PR surface. A lost reply here is *unknown*, never failed: +// none of these operations interprets a transport rejection, so the rejection object — and the +// delivery-unknown mark the WeakSet holds on it — reaches the wrapper's own catch intact. The +// wrappers still collapse it into their `{ ok: false }` outcome, exactly as main did; nothing here +// retries, and no operation below treats a dropped reply as evidence the mutation did not happen. + +/** + * What a PR mutation reported in-band. `structured: false` is the host returning void or a bare + * value with no `ok` member, which every caller has always read as success. + */ +export type GitHubPrMutationStatus = + | { readonly structured: false } + | { readonly structured: true; readonly ok: unknown; readonly error: unknown } + +/** + * One reader for ten methods, not ten readers. + * + * The `ok in result` test and the `error` read are a single host convention — GitHubProjectMutation + * -Result and GitHubCommentResult share it — so there is no input on which two of these methods + * would want different answers. Which failure text a caller shows is the caller's, not the + * reader's: `extractMutationError` still names the method in its fallback. + */ +const mutationStatusReader: RpcCompatibleReader< + unknown, + 'pr-mutation-status', + GitHubPrMutationStatus +> = (raw) => + raw && typeof raw === 'object' && 'ok' in raw + ? rpcReadUnchecked('pr-mutation-status', { + structured: true, + ok: raw.ok, + error: rpcPayloadMember(raw, 'error') + }) + : rpcReadUnchecked('pr-mutation-status', { structured: false }) + +// Ten operations, one definition site: they share a method-independent acceptance, barrier and +// reader, and writing the same five lines ten times would hide that rather than show it. Name and +// method stay per operation, which is what a call site picks. +function mutationStatusOperation(name: string, method: Method) { + return bindDeferredRpcOperation( + defineRpcOperation({ + name, + method, + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: mutationStatusReader + }) + ) +} + +export const githubPrMergeRun = mutationStatusOperation('github.merge-pr', 'github.mergePR') + +export const githubPrAutoMergeSet = mutationStatusOperation( + 'github.set-pr-auto-merge', + 'github.setPRAutoMerge' +) + +export const githubPrStateSet = mutationStatusOperation( + 'github.update-pr-state', + 'github.updatePRState' +) + +export const githubPrReviewersRequest = mutationStatusOperation( + 'github.request-pr-reviewers', + 'github.requestPRReviewers' +) + +export const githubPrReviewersRemove = mutationStatusOperation( + 'github.remove-pr-reviewers', + 'github.removePRReviewers' +) + +export const githubPrChecksRerun = mutationStatusOperation( + 'github.rerun-pr-checks', + 'github.rerunPRChecks' +) + +export const githubPrReviewCommentReplyAdd = mutationStatusOperation( + 'github.add-pr-review-comment-reply', + 'github.addPRReviewCommentReply' +) + +export const githubPrIssueCommentAdd = mutationStatusOperation( + 'github.add-issue-comment', + 'github.addIssueComment' +) + +export const githubPrIssueCommentEdit = mutationStatusOperation( + 'github.update-issue-comment-by-slug', + 'github.project.updateIssueCommentBySlug' +) + +export const githubPrIssueCommentDelete = mutationStatusOperation( + 'github.delete-issue-comment-by-slug', + 'github.project.deleteIssueCommentBySlug' +) + +// The two mutations whose host result is a bare boolean rather than a status envelope. Their +// payload is unread here on purpose: `=== true` is the caller's confirmation rule, and reading it +// as a status would turn a `false` into the "no structured status" success the envelope methods get. +export const githubPrTitleSet = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'github.update-pr-title', + method: 'github.updatePRTitle', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('pr-mutation-confirmation') + }) +) + +export const githubPrReviewThreadResolve = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'github.resolve-review-thread', + method: 'github.resolveReviewThread', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('pr-mutation-confirmation') + }) +) diff --git a/mobile/src/session/github-pr-mutation-outcome.ts b/mobile/src/session/github-pr-mutation-outcome.ts new file mode 100644 index 00000000000..71bba9baa2a --- /dev/null +++ b/mobile/src/session/github-pr-mutation-outcome.ts @@ -0,0 +1,94 @@ +import type { RpcMethodName } from '../transport/rpc-params-contract' +import { refusedRpcMessageOrFallback } from '../transport/rpc-refusal-message' +import type { RpcResponse } from '../transport/types' +import type { GitHubPrMutationStatus } from './github-pr-mutation-operations' + +// How a `github.*` PR mutation's reply becomes the one outcome the action engine routes on. The +// two settle shapes below are the two reply contracts the host uses, and they differ in one place +// that matters: what an empty failure message becomes. + +export type GitHubPrMutationOutcome = { ok: true } | { ok: false; error: string } + +// Host failure `error` is either a bare string (github.* PR mutations) or an +// object `{ message }` (github.project.* slug mutations). Read whichever is present +// so the slug edit/delete failures surface a real message, not a generic fallback. +function extractMutationError(error: unknown, method: string): string { + if (typeof error === 'string') { + return error + } + if (error && typeof error === 'object' && 'message' in error) { + const message = error.message + if (typeof message === 'string' && message.length > 0) { + return message + } + } + return `Request failed: ${method}` +} + +/** As much of a bound operation as a settle shape needs; the read settle takes the same shape. */ +export type GitHubPrSettleableOperation = { + readonly operation: { readonly method: RpcMethodName } + readonly interpret: (reply: RpcResponse) => Value +} + +/** + * The status-envelope mutations. Two catches, because main had two paths: a transport drop + * surfaces its own message verbatim, empty included, while a refusal with no message falls back to + * the method's copy. The transport rejection reaches this catch as the original object, so the + * delivery-unknown mark it carries is intact for anything that later asks — nothing here retries, + * and a dropped reply is never read as evidence the mutation failed to reach the host. + */ +export async function settleGithubPrMutation( + mutation: GitHubPrSettleableOperation, + send: () => Promise +): Promise { + const method = mutation.operation.method + const fallback = `Request failed: ${method}` + let reply: RpcResponse + try { + reply = await send() + } catch (error) { + return { ok: false, error: error instanceof Error ? error.message : fallback } + } + let status: GitHubPrMutationStatus + try { + status = mutation.interpret(reply) + } catch (error) { + return { ok: false, error: refusedRpcMessageOrFallback(error, fallback) } + } + // No structured status (host returned void/undefined) — treat as success. + if (!status.structured || status.ok === true) { + return { ok: true } + } + return { ok: false, error: extractMutationError(status.error, method) } +} + +/** + * The two mutations whose host result is a bare boolean. + * + * Both catches fall back here, unlike the status-envelope shape above: main sent these through + * `sendRaw`, whose empty message was then replaced by the wrapper's own `|| 'Request failed: …'`, + * so an empty transport message never reached the caller on this path. + */ +export async function settleGithubPrConfirmation( + mutation: GitHubPrSettleableOperation, + send: () => Promise, + unconfirmed: string +): Promise { + const fallback = `Request failed: ${mutation.operation.method}` + let reply: RpcResponse + try { + reply = await send() + } catch (error) { + return { ok: false, error: refusedRpcMessageOrFallback(error, fallback) } + } + let confirmation: unknown + try { + confirmation = mutation.interpret(reply) + } catch (error) { + return { ok: false, error: refusedRpcMessageOrFallback(error, fallback) } + } + // Why: the host returns a bare `true` on success; a missing/undefined result is + // not a confirmed success, so require an explicit `=== true` rather than `!== false`. + return confirmation === true ? { ok: true } : { ok: false, error: unconfirmed } +} diff --git a/mobile/src/session/github-pr-mutations.ts b/mobile/src/session/github-pr-mutations.ts index bd1d9c423b9..94cc72b1ace 100644 --- a/mobile/src/session/github-pr-mutations.ts +++ b/mobile/src/session/github-pr-mutations.ts @@ -1,83 +1,39 @@ import type { GitHubPRMergeMethod } from '../../../src/shared/github/pull-request-types' -import type { RpcClient } from '../transport/rpc-client' -import { buildGithubPrParams, githubPrRepoSlugParam, type GitHubPrRepoSlug } from './github-pr-rpc' +import { + githubPrAutoMergeSet, + githubPrChecksRerun, + githubPrIssueCommentAdd, + githubPrIssueCommentDelete, + githubPrIssueCommentEdit, + githubPrMergeRun, + githubPrReviewCommentReplyAdd, + githubPrReviewersRemove, + githubPrReviewersRequest, + githubPrReviewThreadResolve, + githubPrStateSet, + githubPrTitleSet +} from './github-pr-mutation-operations' +import { + settleGithubPrConfirmation, + settleGithubPrMutation, + type GitHubPrMutationOutcome +} from './github-pr-mutation-outcome' +import { + githubPrRepoSlugParam, + githubPrRequestParams, + type GitHubPrRepoSlug +} from './github-pr-repo-slug' +import type { RpcOperationSender } from '../transport/rpc-operation-sender' -// Mutation wrappers for the github.* PR surface, split out so github-pr-rpc.ts -// stays under the max-lines budget. They mirror the read wrappers' shape but -// return a host-status outcome (the host mutations all return -// `{ ok: true } | { ok: false; error: string }`). +// The github.* PR mutation surface: merge, auto-merge, open/close, reviewers, check reruns, the +// inline title edit, and the conversation mutations (thread replies, root comments, resolution, +// slug-addressed comment edit/delete). Each wrapper builds params and hands the bound operation to +// the settle shape its host reply contract calls for. -export type GitHubPrMutationOutcome = { ok: true } | { ok: false; error: string } +export type { GitHubPrMutationOutcome } from './github-pr-mutation-outcome' -// Sends a request whose host result is a bare boolean (not the `{ ok }` envelope), -// normalizing a transport throw into a failure so the raw-boolean callers below -// never see an unhandled rejection. -type RawResult = { ok: true; result: unknown } | { ok: false; error: string } - -async function sendRaw( - client: Pick, - method: string, - params: Record -): Promise { - try { - const response = await client.sendRequest(method, params) - if (!response.ok) { - return { ok: false, error: response.error?.message || `Request failed: ${method}` } - } - return { ok: true, result: response.result } - } catch (err) { - return { ok: false, error: err instanceof Error ? err.message : `Request failed: ${method}` } - } -} - -// Host failure `error` is either a bare string (github.* PR mutations) or an -// object `{ message }` (github.project.* slug mutations). Read whichever is present -// so the slug edit/delete failures surface a real message, not a generic fallback. -function extractMutationError(error: unknown, method: string): string { - if (typeof error === 'string') { - return error - } - if (error && typeof error === 'object' && 'message' in error) { - const message = (error as { message?: unknown }).message - if (typeof message === 'string' && message.length > 0) { - return message - } - } - return `Request failed: ${method}` -} - -// The host returns the success/failure shape inside `result`; a transport-level -// `response.ok === false` (timeout/connection) is also a failure. Both collapse -// into one outcome the action hook classifies via classifyPrSidebarFailure. -async function sendGithubPrMutation( - client: Pick, - method: string, - params: Record -): Promise { - try { - const response = await client.sendRequest(method, params) - if (!response.ok) { - return { ok: false, error: response.error?.message || `Request failed: ${method}` } - } - const result = response.result - if (result && typeof result === 'object' && 'ok' in result) { - const r = result as { ok: boolean; error?: unknown } - if (r.ok === true) { - return { ok: true } - } - return { ok: false, error: extractMutationError(r.error, method) } - } - // No structured status (host returned void/undefined) — treat as success. - return { ok: true } - } catch (err) { - // Why: a transport drop must not escape as an unhandled rejection — normalize - // to the `{ ok:false, error }` outcome the action engine routes on. - return { ok: false, error: err instanceof Error ? err.message : `Request failed: ${method}` } - } -} - -export async function fetchMergePR( - client: Pick, +export function fetchMergePR( + client: RpcOperationSender, worktreeId: string, args: { prNumber: number; method?: GitHubPRMergeMethod; prRepo?: GitHubPrRepoSlug | null } ): Promise { @@ -85,40 +41,39 @@ export async function fetchMergePR( if (args.method) { params.method = args.method } - return sendGithubPrMutation( - client, - 'github.mergePR', - buildGithubPrParams('github.mergePR', worktreeId, params, { prRepo: args.prRepo }) + return settleGithubPrMutation(githubPrMergeRun, () => + githubPrMergeRun.request( + client, + githubPrRequestParams(githubPrMergeRun.operation.method, worktreeId, params, { + prRepo: args.prRepo + }) + ) ) } // Edit the hosted-review title. The host returns a bare boolean (true on success), -// which sendGithubPrMutation reads via its "no structured status" success branch -// only when not boolean — so handle the boolean explicitly like resolveReviewThread. -export async function fetchUpdatePRTitle( - client: Pick, +// so it takes the confirmation shape rather than the status envelope. +export function fetchUpdatePRTitle( + client: RpcOperationSender, worktreeId: string, args: { prNumber: number; title: string; prRepo?: GitHubPrRepoSlug | null } ): Promise { const params: Record = { prNumber: args.prNumber, title: args.title } - const response = await sendRaw( - client, - 'github.updatePRTitle', - buildGithubPrParams('github.updatePRTitle', worktreeId, params, { prRepo: args.prRepo }) + return settleGithubPrConfirmation( + githubPrTitleSet, + () => + githubPrTitleSet.request( + client, + githubPrRequestParams(githubPrTitleSet.operation.method, worktreeId, params, { + prRepo: args.prRepo + }) + ), + 'Failed to update title.' ) - if (!response.ok) { - return { ok: false, error: response.error || 'Request failed: github.updatePRTitle' } - } - // Why: the host returns a bare `true` on success; a missing/undefined result is - // not a confirmed success, so require an explicit `=== true` rather than `!== false`. - if (response.result !== true) { - return { ok: false, error: 'Failed to update title.' } - } - return { ok: true } } -export async function fetchSetPRAutoMerge( - client: Pick, +export function fetchSetPRAutoMerge( + client: RpcOperationSender, worktreeId: string, args: { prNumber: number @@ -131,69 +86,102 @@ export async function fetchSetPRAutoMerge( if (args.method) { params.method = args.method } - return sendGithubPrMutation( - client, - 'github.setPRAutoMerge', - buildGithubPrParams('github.setPRAutoMerge', worktreeId, params, { prRepo: args.prRepo }) + return settleGithubPrMutation(githubPrAutoMergeSet, () => + githubPrAutoMergeSet.request( + client, + githubPrRequestParams(githubPrAutoMergeSet.operation.method, worktreeId, params, { + prRepo: args.prRepo + }) + ) ) } -export async function fetchUpdatePRState( - client: Pick, +export function fetchUpdatePRState( + client: RpcOperationSender, worktreeId: string, args: { prNumber: number; state: 'open' | 'closed'; prRepo?: GitHubPrRepoSlug | null } ): Promise { - return sendGithubPrMutation( - client, - 'github.updatePRState', - buildGithubPrParams( - 'github.updatePRState', - worktreeId, - { prNumber: args.prNumber, updates: { state: args.state } }, - { prRepo: args.prRepo } + return settleGithubPrMutation(githubPrStateSet, () => + githubPrStateSet.request( + client, + githubPrRequestParams( + githubPrStateSet.operation.method, + worktreeId, + { prNumber: args.prNumber, updates: { state: args.state } }, + { prRepo: args.prRepo } + ) ) ) } -export async function fetchRequestPRReviewers( - client: Pick, +export function fetchRequestPRReviewers( + client: RpcOperationSender, worktreeId: string, args: { prNumber: number; reviewers: string[]; prRepo?: GitHubPrRepoSlug | null } ): Promise { - return sendGithubPrMutation( - client, - 'github.requestPRReviewers', - buildGithubPrParams( - 'github.requestPRReviewers', - worktreeId, - { prNumber: args.prNumber, reviewers: args.reviewers }, - { prRepo: args.prRepo } + return settleGithubPrMutation(githubPrReviewersRequest, () => + githubPrReviewersRequest.request( + client, + githubPrRequestParams( + githubPrReviewersRequest.operation.method, + worktreeId, + { prNumber: args.prNumber, reviewers: args.reviewers }, + { prRepo: args.prRepo } + ) ) ) } -export async function fetchRemovePRReviewers( - client: Pick, +export function fetchRemovePRReviewers( + client: RpcOperationSender, worktreeId: string, args: { prNumber: number; reviewers: string[]; prRepo?: GitHubPrRepoSlug | null } ): Promise { - return sendGithubPrMutation( - client, - 'github.removePRReviewers', - buildGithubPrParams( - 'github.removePRReviewers', - worktreeId, - { prNumber: args.prNumber, reviewers: args.reviewers }, - { prRepo: args.prRepo } + return settleGithubPrMutation(githubPrReviewersRemove, () => + githubPrReviewersRemove.request( + client, + githubPrRequestParams( + githubPrReviewersRemove.operation.method, + worktreeId, + { prNumber: args.prNumber, reviewers: args.reviewers }, + { prRepo: args.prRepo } + ) + ) + ) +} + +export function fetchRerunPRChecks( + client: RpcOperationSender, + worktreeId: string, + args: { + prNumber: number + headSha?: string | null + failedOnly?: boolean + prRepo?: GitHubPrRepoSlug | null + } +): Promise { + const params: Record = { prNumber: args.prNumber } + if (args.failedOnly !== undefined) { + params.failedOnly = args.failedOnly + } + if (args.headSha) { + params.headSha = args.headSha + } + return settleGithubPrMutation(githubPrChecksRerun, () => + githubPrChecksRerun.request( + client, + githubPrRequestParams(githubPrChecksRerun.operation.method, worktreeId, params, { + prRepo: args.prRepo + }) ) ) } // Reply within a review thread. Host returns GitHubCommentResult -// (`{ ok, comment } | { ok:false, error }`), which sendGithubPrMutation reads via -// its `ok in result` branch. We refetch afterward, so the returned comment is unused. -export async function fetchAddPRReviewCommentReply( - client: Pick, +// (`{ ok, comment } | { ok:false, error }`), which the status reader admits. +// We refetch afterward, so the returned comment is unused. +export function fetchAddPRReviewCommentReply( + client: RpcOperationSender, worktreeId: string, args: { prNumber: number @@ -219,18 +207,19 @@ export async function fetchAddPRReviewCommentReply( if (typeof args.line === 'number') { params.line = args.line } - return sendGithubPrMutation( - client, - 'github.addPRReviewCommentReply', - buildGithubPrParams('github.addPRReviewCommentReply', worktreeId, params, { - prRepo: args.prRepo - }) + return settleGithubPrMutation(githubPrReviewCommentReplyAdd, () => + githubPrReviewCommentReplyAdd.request( + client, + githubPrRequestParams(githubPrReviewCommentReplyAdd.operation.method, worktreeId, params, { + prRepo: args.prRepo + }) + ) ) } // Add a root conversation comment to the PR. Host returns GitHubCommentResult. -export async function fetchAddIssueComment( - client: Pick, +export function fetchAddIssueComment( + client: RpcOperationSender, worktreeId: string, args: { prNumber: number; body: string; prRepo?: GitHubPrRepoSlug | null } ): Promise { @@ -239,91 +228,66 @@ export async function fetchAddIssueComment( body: args.body, type: 'pr' } - return sendGithubPrMutation( - client, - 'github.addIssueComment', - buildGithubPrParams('github.addIssueComment', worktreeId, params, { prRepo: args.prRepo }) + return settleGithubPrMutation(githubPrIssueCommentAdd, () => + githubPrIssueCommentAdd.request( + client, + githubPrRequestParams(githubPrIssueCommentAdd.operation.method, worktreeId, params, { + prRepo: args.prRepo + }) + ) ) } // Resolve/unresolve a review thread. `resolve` picks the direction (the host runs // the matching GraphQL mutation). Unlike the comment mutations, the host returns a // bare boolean, so a falsy result is a failure rather than the "no status" success. -export async function fetchResolveReviewThread( - client: Pick, +export function fetchResolveReviewThread( + client: RpcOperationSender, worktreeId: string, args: { threadId: string; resolve: boolean; prRepo?: GitHubPrRepoSlug | null } ): Promise { - const response = await sendRaw( - client, - 'github.resolveReviewThread', - buildGithubPrParams( - 'github.resolveReviewThread', - worktreeId, - { threadId: args.threadId, resolve: args.resolve }, - { prRepo: args.prRepo } - ) + return settleGithubPrConfirmation( + githubPrReviewThreadResolve, + () => + githubPrReviewThreadResolve.request( + client, + githubPrRequestParams( + githubPrReviewThreadResolve.operation.method, + worktreeId, + { threadId: args.threadId, resolve: args.resolve }, + { prRepo: args.prRepo } + ) + ), + 'Failed to update review thread.' ) - if (!response.ok) { - return { - ok: false, - error: response.error || 'Request failed: github.resolveReviewThread' - } - } - // Why: the host returns a bare `true` on success; a missing/undefined result is - // not a confirmed success, so require an explicit `=== true` rather than `!== false`. - if (response.result !== true) { - return { ok: false, error: 'Failed to update review thread.' } - } - return { ok: true } } // Edit a root conversation (issue) comment. The host RPC is slug-addressed // (owner/repo/commentId), not worktree-addressed, so the params are passed -// directly rather than via buildGithubPrParams. Host returns the -// GitHubProjectMutationResult `{ ok }` envelope sendGithubPrMutation reads. -export async function fetchUpdateIssueComment( - client: Pick, +// directly rather than via the PR-scoped builder. Host returns the +// GitHubProjectMutationResult `{ ok }` envelope the status reader admits. +export function fetchUpdateIssueComment( + client: RpcOperationSender, args: { owner: string; repo: string; host?: string; commentId: number; body: string } ): Promise { - return sendGithubPrMutation(client, 'github.project.updateIssueCommentBySlug', { - ...githubPrRepoSlugParam(args), - commentId: args.commentId, - body: args.body - }) + return settleGithubPrMutation(githubPrIssueCommentEdit, () => + githubPrIssueCommentEdit.request(client, { + ...githubPrRepoSlugParam(args), + commentId: args.commentId, + body: args.body + }) + ) } // Delete a root conversation (issue) comment. Slug-addressed like the edit wrapper. -export async function fetchDeleteIssueComment( - client: Pick, +export function fetchDeleteIssueComment( + client: RpcOperationSender, args: { owner: string; repo: string; host?: string; commentId: number } ): Promise { - return sendGithubPrMutation(client, 'github.project.deleteIssueCommentBySlug', { - ...githubPrRepoSlugParam(args), - commentId: args.commentId - }) -} - -export async function fetchRerunPRChecks( - client: Pick, - worktreeId: string, - args: { - prNumber: number - headSha?: string | null - failedOnly?: boolean - prRepo?: GitHubPrRepoSlug | null - } -): Promise { - const params: Record = { prNumber: args.prNumber } - if (args.failedOnly !== undefined) { - params.failedOnly = args.failedOnly - } - if (args.headSha) { - params.headSha = args.headSha - } - return sendGithubPrMutation( - client, - 'github.rerunPRChecks', - buildGithubPrParams('github.rerunPRChecks', worktreeId, params, { prRepo: args.prRepo }) + return settleGithubPrMutation(githubPrIssueCommentDelete, () => + githubPrIssueCommentDelete.request(client, { + ...githubPrRepoSlugParam(args), + commentId: args.commentId + }) ) } diff --git a/mobile/src/session/github-pr-parsers.ts b/mobile/src/session/github-pr-parsers.ts index 05a59200d1c..b1f8e4a7a0c 100644 --- a/mobile/src/session/github-pr-parsers.ts +++ b/mobile/src/session/github-pr-parsers.ts @@ -14,6 +14,10 @@ import type { GitHubWorkItem, GitHubWorkItemDetails } from '../../../src/shared/github/work-item-types' +import { + normalizeGitHubPRForBranchOutcome, + type GitHubPRForBranchResponse +} from '../../../src/shared/github/pull-request-for-branch-outcome' import { readPRComments } from './github-pr-comment-parsers' import type { HostedReviewInfo } from '../../../src/shared/hosted-review' import { @@ -109,6 +113,29 @@ export function readPRForBranch(value: unknown): PRInfo | null { } } +/** + * The branch lookup's whole answer, outcome classification included. + * + * Throws rather than degrading, twice: a host that could not reach GitHub answers in-band with + * `kind: 'upstream-error'` and the sidebar has always surfaced that message, and a reply whose PR + * body will not parse would otherwise render as "no pull request". + */ +export function readPRForBranchOutcome(value: unknown): PRInfo | null { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the normalizer discriminates on `kind` before reading anything else and treats every other shape as a legacy PRInfo, which readPRForBranch then validates. + const outcome = normalizeGitHubPRForBranchOutcome(value as GitHubPRForBranchResponse) + if (outcome.kind === 'upstream-error') { + throw new Error(outcome.message) + } + if (outcome.kind === 'no-pr') { + return null + } + const pr = readPRForBranch(outcome.pr) + if (!pr) { + throw new Error('GitHub returned an invalid pull request response.') + } + return pr +} + function readWorkItem(value: unknown): Omit | null { if (!isRecord(value)) { return null diff --git a/mobile/src/session/github-pr-read-operations.ts b/mobile/src/session/github-pr-read-operations.ts new file mode 100644 index 00000000000..c345d0fec4d --- /dev/null +++ b/mobile/src/session/github-pr-read-operations.ts @@ -0,0 +1,143 @@ +import type { PRCheckDetail, PRCheckRunDetails } from '../../../src/shared/github/check-types' +import type { GitHubAssignableUser, PRInfo } from '../../../src/shared/github/pull-request-types' +import type { GitHubWorkItemDetails } from '../../../src/shared/github/work-item-types' +import type { HostedReviewInfo } from '../../../src/shared/hosted-review' +import { bindDeferredRpcOperation, defineRpcOperation } from '../transport/rpc-operation' +import type { RpcCompatibleReader } from '../transport/rpc-operation-contract' +import { rpcPayloadMember, rpcReadUnchecked } from '../transport/rpc-reader-payload' +import type { GitHubPrRepoSlug } from './github-pr-repo-slug' +import { + readAssignableUsers, + readForBranch, + readPRCheckDetails, + readPRChecks, + readPRForBranchOutcome, + readWorkItemDetails +} from './github-pr-parsers' + +// The PR sidebar's reads. Every one of these replies was re-typed and hand-parsed at the wrapper; +// the readers below are now the only place that says what each payload is. They keep the defensive +// parsers unchanged, so a payload that used to degrade to null still degrades to null. +// +// All seven share one acceptance: a refused read is an error the sidebar shows, never a skip. The +// wrapper turns the throw back into its `{ ok: false, error }` outcome, which is the contract the +// sidebar's loaders route on. + +const repoSlugReader: RpcCompatibleReader = ( + raw +) => { + if (!raw || typeof raw !== 'object') { + return rpcReadUnchecked('pr-repo-slug', null) + } + const owner = rpcPayloadMember(raw, 'owner') + const repo = rpcPayloadMember(raw, 'repo') + const host = rpcPayloadMember(raw, 'host') + return rpcReadUnchecked( + 'pr-repo-slug', + typeof owner === 'string' && typeof repo === 'string' + ? { owner, repo, ...(typeof host === 'string' && host ? { host } : {}) } + : null + ) +} + +/** Whether the worktree's repo has a GitHub remote, which gates the dedicated PR-view icon. */ +export const githubPrRepoSlugRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'github.pr-repo-slug', + method: 'github.repoSlug', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: repoSlugReader + }) +) + +const hostedReviewInfoReader: RpcCompatibleReader< + unknown, + 'hosted-review-for-branch', + HostedReviewInfo | null +> = (raw) => rpcReadUnchecked('hosted-review-for-branch', readForBranch(raw)) + +export const hostedReviewBranchLookupRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'hostedReview.for-branch', + method: 'hostedReview.forBranch', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: hostedReviewInfoReader + }) +) + +/** The one reader here that throws rather than degrading, because main's parse did. */ +const prForBranchReader: RpcCompatibleReader = (raw) => + rpcReadUnchecked('pr-for-branch', readPRForBranchOutcome(raw)) + +export const githubPrForBranchRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'github.pr-for-branch', + method: 'github.prForBranch', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: prForBranchReader + }) +) + +const workItemDetailsReader: RpcCompatibleReader< + unknown, + 'pr-work-item-details', + GitHubWorkItemDetails | null +> = (raw) => rpcReadUnchecked('pr-work-item-details', readWorkItemDetails(raw)) + +export const githubPrWorkItemDetailsRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'github.pr-work-item-details', + method: 'github.workItemDetails', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: workItemDetailsReader + }) +) + +const prChecksReader: RpcCompatibleReader = (raw) => + rpcReadUnchecked('pr-checks', readPRChecks(raw)) + +export const githubPrChecksRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'github.pr-checks', + method: 'github.prChecks', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: prChecksReader + }) +) + +const prCheckDetailsReader: RpcCompatibleReader< + unknown, + 'pr-check-run-details', + PRCheckRunDetails | null +> = (raw) => rpcReadUnchecked('pr-check-run-details', readPRCheckDetails(raw)) + +export const githubPrCheckDetailsRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'github.pr-check-details', + method: 'github.prCheckDetails', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: prCheckDetailsReader + }) +) + +const assignableUsersReader: RpcCompatibleReader< + unknown, + 'pr-assignable-users', + GitHubAssignableUser[] +> = (raw) => rpcReadUnchecked('pr-assignable-users', readAssignableUsers(raw)) + +export const githubPrAssignableUsersRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'github.pr-assignable-users', + method: 'github.listAssignableUsers', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: assignableUsersReader + }) +) diff --git a/mobile/src/session/github-pr-repo-slug.ts b/mobile/src/session/github-pr-repo-slug.ts new file mode 100644 index 00000000000..85a7e0f5501 --- /dev/null +++ b/mobile/src/session/github-pr-repo-slug.ts @@ -0,0 +1,80 @@ +import type { RpcMethodName, RpcSendParams } from '../transport/rpc-params-contract' +import { mobileRepoSelectorFromWorktreeId } from '../source-control/mobile-pr-create' + +// Why: a fork PR's head lives in a different owner/repo; the host's SlugRepo +// (`{ owner, repo }`) identifies it. Only a subset of github.* methods accept it. +// Why: `host` must survive the RPC boundary or GHES actions on the host fall +// back to a same-named github.com repo (src/shared/types.ts identity contract). +export type GitHubPrRepoSlug = { owner: string; repo: string; host?: string } + +export function githubPrRepoSlugParam(slug: GitHubPrRepoSlug): { + owner: string + repo: string + host?: string +} { + return { owner: slug.owner, repo: slug.repo, ...(slug.host ? { host: slug.host } : {}) } +} + +// Why: `prRepo` remains method-asymmetric. Keep the RPC schema allow-list here +// so fork/GHES identity reaches every PR-scoped read or mutation that accepts it. +const METHODS_ACCEPTING_PR_REPO = new Set([ + 'github.prChecks', + 'github.prCheckDetails', + 'github.rerunPRChecks', + 'github.resolveReviewThread', + 'github.setPRFileViewed', + 'github.updatePRState', + 'github.requestPRReviewers', + 'github.removePRReviewers', + 'github.mergePR', + 'github.setPRAutoMerge', + 'github.updatePRTitle', + 'github.prComments', + 'github.prFileContents', + 'github.addPRReviewComment', + 'github.addIssueComment', + 'github.addPRReviewCommentReply' +]) + +// Why: only github.prChecks declares a `headSha` param (PullRequestCheckDetails +// does not), so headSha is forwarded just to that read. Check runs are commit-keyed. +const METHODS_ACCEPTING_HEAD_SHA = new Set(['github.prChecks']) + +type GitHubPrParamOptions = { + prRepo?: GitHubPrRepoSlug | null + headSha?: string | null +} + +export function buildGithubPrParams( + method: string, + worktreeId: string, + params: Record, + options?: GitHubPrParamOptions +): Record { + const built: Record = { + repo: mobileRepoSelectorFromWorktreeId(worktreeId), + ...params + } + if (options?.prRepo && METHODS_ACCEPTING_PR_REPO.has(method) && !('prRepo' in built)) { + built.prRepo = githubPrRepoSlugParam(options.prRepo) + } + if (options?.headSha && METHODS_ACCEPTING_HEAD_SHA.has(method) && !('headSha' in built)) { + built.headSha = options.headSha + } + return built +} + +/** + * The same record, presented as one method's send params — the single seam where the PR surface's + * record-shaped builder meets the typed operations. The builder is method-generic and returns a + * record, so it cannot be typed per method; one assertion here rather than one per wrapper. + */ +export function githubPrRequestParams( + method: Method, + worktreeId: string, + params: Record, + options?: GitHubPrParamOptions +): RpcSendParams { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the caller supplies the method's own declared fields; this adds only `repo`, and `prRepo`/`headSha` for the methods whose schema declares them. + return buildGithubPrParams(method, worktreeId, params, options) as RpcSendParams +} diff --git a/mobile/src/session/github-pr-rpc.ts b/mobile/src/session/github-pr-rpc.ts index 485184993ec..afdef7b3d55 100644 --- a/mobile/src/session/github-pr-rpc.ts +++ b/mobile/src/session/github-pr-rpc.ts @@ -2,24 +2,24 @@ import type { PRCheckDetail, PRCheckRunDetails } from '../../../src/shared/githu import type { GitHubAssignableUser, PRInfo } from '../../../src/shared/github/pull-request-types' import type { GitHubWorkItemDetails } from '../../../src/shared/github/work-item-types' import type { HostedReviewInfo } from '../../../src/shared/hosted-review' -import { - normalizeGitHubPRForBranchOutcome, - type GitHubPRForBranchResponse -} from '../../../src/shared/github/pull-request-for-branch-outcome' -import type { RpcClient } from '../transport/rpc-client' -import type { RpcSuccess } from '../transport/types' +import { refusedRpcMessageOrFallback } from '../transport/rpc-refusal-message' +import type { RpcResponse } from '../transport/types' import { mobileRepoSelectorFromWorktreeId } from '../source-control/mobile-pr-create' import { - readAssignableUsers, - readForBranch, - readPRCheckDetails, - readPRChecks, - readPRForBranch, - readWorkItemDetails -} from './github-pr-parsers' + githubPrAssignableUsersRead, + githubPrCheckDetailsRead, + githubPrChecksRead, + githubPrForBranchRead, + githubPrRepoSlugRead, + githubPrWorkItemDetailsRead, + hostedReviewBranchLookupRead +} from './github-pr-read-operations' +import type { GitHubPrSettleableOperation } from './github-pr-mutation-outcome' +import { githubPrRequestParams, type GitHubPrRepoSlug } from './github-pr-repo-slug' +import type { RpcOperationSender } from '../transport/rpc-operation-sender' -// Re-export the defensive parsers so consumers (and tests) have a single entry -// point for the github.* PR RPC surface. +// Re-export the defensive parsers and the PR-scoped param builder so consumers (and tests) have a +// single entry point for the github.* PR RPC surface. export { readAssignableUsers, readForBranch, @@ -28,193 +28,132 @@ export { readPRForBranch, readWorkItemDetails } from './github-pr-parsers' - -// Why: a fork PR's head lives in a different owner/repo; the host's SlugRepo -// (`{ owner, repo }`) identifies it. Only a subset of github.* methods accept it. -// Why: `host` must survive the RPC boundary or GHES actions on the host fall -// back to a same-named github.com repo (src/shared/types.ts identity contract). -export type GitHubPrRepoSlug = { owner: string; repo: string; host?: string } - -export function githubPrRepoSlugParam(slug: GitHubPrRepoSlug): Record { - return { owner: slug.owner, repo: slug.repo, ...(slug.host ? { host: slug.host } : {}) } -} +export { + buildGithubPrParams, + githubPrRepoSlugParam, + type GitHubPrRepoSlug +} from './github-pr-repo-slug' export type GitHubPrReadOutcome = { ok: true; result: T } | { ok: false; error: string } -// Why: `prRepo` remains method-asymmetric. Keep the RPC schema allow-list here -// so fork/GHES identity reaches every PR-scoped read or mutation that accepts it. -const METHODS_ACCEPTING_PR_REPO = new Set([ - 'github.prChecks', - 'github.prCheckDetails', - 'github.rerunPRChecks', - 'github.resolveReviewThread', - 'github.setPRFileViewed', - 'github.updatePRState', - 'github.requestPRReviewers', - 'github.removePRReviewers', - 'github.mergePR', - 'github.setPRAutoMerge', - 'github.updatePRTitle', - 'github.prComments', - 'github.prFileContents', - 'github.addPRReviewComment', - 'github.addIssueComment', - 'github.addPRReviewCommentReply' -]) - -// Why: only github.prChecks declares a `headSha` param (PullRequestCheckDetails -// does not), so headSha is forwarded just to that read. Check runs are commit-keyed. -const METHODS_ACCEPTING_HEAD_SHA = new Set(['github.prChecks']) - -export function buildGithubPrParams( - method: string, - worktreeId: string, - params: Record, - options?: { prRepo?: GitHubPrRepoSlug | null; headSha?: string | null } -): Record { - const built: Record = { - repo: mobileRepoSelectorFromWorktreeId(worktreeId), - ...params +/** + * Two failure texts main kept apart, and one it shared. + * + * A refusal with no message falls back to the method's own copy, because that is what + * `response.error?.message || ...` did. A reader that threw — the host reporting an upstream error + * in-band, or a PR body that would not parse — surfaces its own text verbatim, because that threw + * into the same catch a transport drop did. + */ +function githubPrFailureText(reply: RpcResponse, error: unknown, fallback: string): string { + if (!reply.ok) { + return refusedRpcMessageOrFallback(error, fallback) } - if (options?.prRepo && METHODS_ACCEPTING_PR_REPO.has(method) && !('prRepo' in built)) { - built.prRepo = githubPrRepoSlugParam(options.prRepo) - } - if (options?.headSha && METHODS_ACCEPTING_HEAD_SHA.has(method) && !('headSha' in built)) { - built.headSha = options.headSha - } - return built + return error instanceof Error ? error.message : fallback } -async function sendGithubPrRead( - client: Pick, - method: string, - params: Record, - parse: (value: unknown) => T -): Promise> { +async function settleGithubPrRead( + read: GitHubPrSettleableOperation, + send: () => Promise +): Promise> { + const fallback = `Request failed: ${read.operation.method}` + let reply: RpcResponse try { - const response = await client.sendRequest(method, params) - if (!response.ok) { - return { ok: false, error: response.error?.message || `Request failed: ${method}` } - } - return { ok: true, result: parse((response as RpcSuccess).result) } - } catch (err) { - // Why: a transport drop or a parser throw must not escape as an unhandled - // rejection — normalize to the `{ ok:false, error }` contract callers expect. - return { ok: false, error: err instanceof Error ? err.message : `Request failed: ${method}` } + reply = await send() + } catch (error) { + // A transport drop surfaces its own message verbatim, empty included. + return { ok: false, error: error instanceof Error ? error.message : fallback } + } + try { + return { ok: true, result: read.interpret(reply) } + } catch (error) { + return { ok: false, error: githubPrFailureText(reply, error, fallback) } } } // Probes whether the worktree's repo has a GitHub remote (a non-null slug). Used // to decide whether the dedicated PR-view icon is available — independent of // whether the branch has an open PR. -export async function fetchGithubRepoSlug( - client: Pick, +export function fetchGithubRepoSlug( + client: RpcOperationSender, worktreeId: string ): Promise> { - return sendGithubPrRead( - client, - 'github.repoSlug', - buildGithubPrParams('github.repoSlug', worktreeId, {}), - (value) => { - if (!value || typeof value !== 'object') { - return null - } - const record = value as Record - const owner = record.owner - const repo = record.repo - const host = record.host - return typeof owner === 'string' && typeof repo === 'string' - ? { owner, repo, ...(typeof host === 'string' && host ? { host } : {}) } - : null - } + return settleGithubPrRead(githubPrRepoSlugRead, () => + githubPrRepoSlugRead.request( + client, + githubPrRequestParams(githubPrRepoSlugRead.operation.method, worktreeId, {}) + ) ) } -export async function fetchHostedReviewForBranch( - client: Pick, +export function fetchHostedReviewForBranch( + client: RpcOperationSender, worktreeId: string, args: { branch: string; linkedGitHubPR?: number | null } ): Promise> { - return sendGithubPrRead( - client, - 'hostedReview.forBranch', - { + return settleGithubPrRead(hostedReviewBranchLookupRead, () => + hostedReviewBranchLookupRead.request(client, { repo: mobileRepoSelectorFromWorktreeId(worktreeId), branch: args.branch, linkedGitHubPR: args.linkedGitHubPR ?? null, // Why: the mobile PR sidebar is only ever open on the selected worktree, // so it belongs in the host's fast re-check tier (#11532). active: true - }, - readForBranch + }) ) } -export async function fetchPRForBranch( - client: Pick, +export function fetchPRForBranch( + client: RpcOperationSender, worktreeId: string, args: { branch: string; linkedPRNumber?: number | null } ): Promise> { - return sendGithubPrRead( - client, - 'github.prForBranch', - buildGithubPrParams('github.prForBranch', worktreeId, { - branch: args.branch, - linkedPRNumber: args.linkedPRNumber ?? null - }), - (value) => { - const outcome = normalizeGitHubPRForBranchOutcome(value as GitHubPRForBranchResponse) - if (outcome.kind === 'upstream-error') { - throw new Error(outcome.message) - } - if (outcome.kind === 'no-pr') { - return null - } - const pr = readPRForBranch(outcome.pr) - if (!pr) { - throw new Error('GitHub returned an invalid pull request response.') - } - return pr - } + return settleGithubPrRead(githubPrForBranchRead, () => + githubPrForBranchRead.request( + client, + githubPrRequestParams(githubPrForBranchRead.operation.method, worktreeId, { + branch: args.branch, + linkedPRNumber: args.linkedPRNumber ?? null + }) + ) ) } -export async function fetchWorkItemDetails( - client: Pick, +export function fetchWorkItemDetails( + client: RpcOperationSender, worktreeId: string, args: { prNumber: number } ): Promise> { - return sendGithubPrRead( - client, - 'github.workItemDetails', - buildGithubPrParams('github.workItemDetails', worktreeId, { - number: args.prNumber, - type: 'pr' - }), - readWorkItemDetails + return settleGithubPrRead(githubPrWorkItemDetailsRead, () => + githubPrWorkItemDetailsRead.request( + client, + githubPrRequestParams(githubPrWorkItemDetailsRead.operation.method, worktreeId, { + number: args.prNumber, + type: 'pr' + }) + ) ) } -export async function fetchPRChecks( - client: Pick, +export function fetchPRChecks( + client: RpcOperationSender, worktreeId: string, args: { prNumber: number; headSha?: string | null; prRepo?: GitHubPrRepoSlug | null } ): Promise> { - return sendGithubPrRead( - client, - 'github.prChecks', - buildGithubPrParams( - 'github.prChecks', - worktreeId, - { prNumber: args.prNumber }, - { prRepo: args.prRepo, headSha: args.headSha } - ), - readPRChecks + return settleGithubPrRead(githubPrChecksRead, () => + githubPrChecksRead.request( + client, + githubPrRequestParams( + githubPrChecksRead.operation.method, + worktreeId, + { prNumber: args.prNumber }, + { prRepo: args.prRepo, headSha: args.headSha } + ) + ) ) } -export async function fetchPRCheckDetails( - client: Pick, +export function fetchPRCheckDetails( + client: RpcOperationSender, worktreeId: string, args: { checkRunId?: number @@ -237,22 +176,24 @@ export async function fetchPRCheckDetails( if (args.url !== undefined) { params.url = args.url } - return sendGithubPrRead( - client, - 'github.prCheckDetails', - buildGithubPrParams('github.prCheckDetails', worktreeId, params, { prRepo: args.prRepo }), - readPRCheckDetails + return settleGithubPrRead(githubPrCheckDetailsRead, () => + githubPrCheckDetailsRead.request( + client, + githubPrRequestParams(githubPrCheckDetailsRead.operation.method, worktreeId, params, { + prRepo: args.prRepo + }) + ) ) } -export async function fetchAssignableUsers( - client: Pick, +export function fetchAssignableUsers( + client: RpcOperationSender, worktreeId: string ): Promise> { - return sendGithubPrRead( - client, - 'github.listAssignableUsers', - buildGithubPrParams('github.listAssignableUsers', worktreeId, {}), - readAssignableUsers + return settleGithubPrRead(githubPrAssignableUsersRead, () => + githubPrAssignableUsersRead.request( + client, + githubPrRequestParams(githubPrAssignableUsersRead.operation.method, worktreeId, {}) + ) ) } diff --git a/mobile/src/session/mobile-clipboard-image-operations.ts b/mobile/src/session/mobile-clipboard-image-operations.ts new file mode 100644 index 00000000000..b4c2facb147 --- /dev/null +++ b/mobile/src/session/mobile-clipboard-image-operations.ts @@ -0,0 +1,70 @@ +import { bindDeferredRpcOperation, defineRpcOperation } from '../transport/rpc-operation' +import { rpcUncheckedPayloadReader } from '../transport/rpc-reader-payload' + +// The chunked clipboard image upload: open a slot, append the base64 in chunks, commit, and abort +// what a failure left behind. Every leg raises the host's own message, because the composer shows +// it verbatim and has no copy of its own for a failed transfer. + +/** + * Opening an upload slot. Its refusal is read raw before interpretation: `method_not_found` is what + * an older host answers, and a small enough image then goes over the single-frame method instead. + * No acceptance policy carries a code, so that branch stays on the reply. + */ +export const clipboardImageUploadStart = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'clipboard.start-image-upload', + method: 'clipboard.startImageUpload', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('clipboard-image-upload-slot') + }) +) + +export const clipboardImageUploadAppend = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'clipboard.append-image-upload-chunk', + method: 'clipboard.appendImageUploadChunk', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('clipboard-image-chunk-appended') + }) +) + +/** The commit and the legacy single-frame write both answer the host path as a bare string. */ +export const clipboardImageUploadCommit = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'clipboard.commit-image-upload', + method: 'clipboard.commitImageUpload', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('clipboard-image-path') + }) +) + +export const clipboardImageSaveAsTempFile = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'clipboard.save-image-as-temp-file', + method: 'clipboard.saveImageAsTempFile', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('clipboard-image-path') + }) +) + +/** + * Releasing the slot a failed upload left open. Its own outcome is discarded whatever happens — the + * error the caller is about to rethrow is the one that matters — so it skips rather than throws and + * cannot turn a reported failure into a different one. + */ +export const clipboardImageUploadAbort = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'clipboard.abort-image-upload-or-skip', + method: 'clipboard.abortImageUpload', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('clipboard-image-upload-aborted') + }) +) + +/** What a clipboard image send takes, named from an operation so no module names the raw port. */ +export type MobileClipboardImageRpcSender = Parameters[0] diff --git a/mobile/src/session/mobile-clipboard-image.ts b/mobile/src/session/mobile-clipboard-image.ts index 578dabefcb9..675a0b0358e 100644 --- a/mobile/src/session/mobile-clipboard-image.ts +++ b/mobile/src/session/mobile-clipboard-image.ts @@ -1,6 +1,12 @@ -import type { RpcClient } from '../transport/rpc-client' import { isLogicalClientCutoverError } from '../transport/stable-logical-rpc-client' -import type { RpcFailure, RpcSuccess } from '../transport/types' +import { + clipboardImageSaveAsTempFile, + clipboardImageUploadAbort, + clipboardImageUploadAppend, + clipboardImageUploadCommit, + clipboardImageUploadStart, + type MobileClipboardImageRpcSender +} from './mobile-clipboard-image-operations' export const MOBILE_CLIPBOARD_IMAGE_MAX_BASE64_CHARS = 24 * 1024 * 1024 export const MOBILE_CLIPBOARD_IMAGE_UPLOAD_CHUNK_BASE64_CHARS = 512 * 1024 @@ -94,15 +100,8 @@ export async function prepareMobileClipboardImageBase64( return data } -function assertSuccess(response: RpcSuccess | RpcFailure): T { - if (!response.ok) { - throw new Error(response.error.message) - } - return response.result as T -} - export async function saveMobileClipboardImageAsTempFile( - client: Pick, + client: MobileClipboardImageRpcSender, imageData: string, args?: { connectionId?: string | null } ): Promise { @@ -124,27 +123,35 @@ export async function saveMobileClipboardImageAsTempFile( } async function uploadMobileClipboardImageTransaction( - client: Pick, + client: MobileClipboardImageRpcSender, contentBase64: string, connectionId: string | null ): Promise { - const startResponse = await client.sendRequest('clipboard.startImageUpload', { + const startResponse = await clipboardImageUploadStart.request(client, { expectedBase64Length: contentBase64.length, connectionId }) + // Why the raw refusal: a host too old to offer a slot answers with a code, and a small enough + // image then goes over the single-frame method — no acceptance policy carries the code. if (!startResponse.ok) { if ( startResponse.error.code === 'method_not_found' && contentBase64.length <= MOBILE_CLIPBOARD_IMAGE_SINGLE_FRAME_FALLBACK_BASE64_CHARS ) { - return assertSuccess( - await client.sendRequest('clipboard.saveImageAsTempFile', { contentBase64, connectionId }) - ) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + return clipboardImageSaveAsTempFile.interpret( + await clipboardImageSaveAsTempFile.request(client, { contentBase64, connectionId }) + ) as string } throw new Error(startResponse.error.message) } + // Why the raw result rather than the interpretation: a success carrying no result throws a + // TypeError here, and V8 puts the destructured expression's source text in its message — which + // the composer then shows. Reading the slot off the accepted payload would rewrite that sentence + // for every user who hits a malformed reply, which is the one change this migration must not make. + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the same cast main made, kept so the thrown message is the same one. const { uploadId } = startResponse.result as { uploadId: string } try { for ( @@ -152,8 +159,8 @@ async function uploadMobileClipboardImageTransaction( offset < contentBase64.length; offset += MOBILE_CLIPBOARD_IMAGE_UPLOAD_CHUNK_BASE64_CHARS ) { - assertSuccess( - await client.sendRequest('clipboard.appendImageUploadChunk', { + clipboardImageUploadAppend.interpret( + await clipboardImageUploadAppend.request(client, { uploadId, offset, contentBase64: contentBase64.slice( @@ -163,13 +170,14 @@ async function uploadMobileClipboardImageTransaction( }) ) } - return assertSuccess( - await client.sendRequest('clipboard.commitImageUpload', { uploadId }) - ) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + return clipboardImageUploadCommit.interpret( + await clipboardImageUploadCommit.request(client, { uploadId }) + ) as string } catch (error) { // Why: failed mobile image sends create server-side upload state; abort so // the bounded upload slot is released immediately instead of waiting for TTL. - await client.sendRequest('clipboard.abortImageUpload', { uploadId }).catch(() => {}) + await clipboardImageUploadAbort.request(client, { uploadId }).catch(() => {}) throw error } } diff --git a/mobile/src/session/mobile-diff-review-git-operations.ts b/mobile/src/session/mobile-diff-review-git-operations.ts new file mode 100644 index 00000000000..846a7846737 --- /dev/null +++ b/mobile/src/session/mobile-diff-review-git-operations.ts @@ -0,0 +1,46 @@ +import { bindDeferredRpcOperation, defineRpcOperation } from '../transport/rpc-operation' +import { rpcUncheckedPayloadReader } from '../transport/rpc-reader-payload' +import type { GitMutationMethod } from './mobile-diff-review-screen-model' + +// The three file-level git mutations the review screen runs. Each is its own operation because an +// operation fixes its method; the screen picks between them by the action the user tapped. + +/** + * Two policies over the same three methods, because the screen means two different things by them. + * + * A single-file action is one thing the user asked for, so a refusal is raised with the host's own + * message and the screen shows it. "Stage all reviewed" is a loop over many files that reports a + * count, so each refusal is counted rather than raised — one locked file must not abandon the rest. + */ +function reviewGitMutation(name: string, method: GitMutationMethod) { + return bindDeferredRpcOperation( + defineRpcOperation({ + name, + method, + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('review-git-mutation') + }) + ) +} + +export const reviewGitStage = reviewGitMutation('git.review-stage', 'git.stage') +export const reviewGitUnstage = reviewGitMutation('git.review-unstage', 'git.unstage') +export const reviewGitDiscard = reviewGitMutation('git.review-discard', 'git.discard') + +/** The bulk arm's `git.stage`: a refused file is a tally entry, never the end of the sweep. */ +export const reviewGitStageRun = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'git.review-stage-reviewed-or-skip', + method: 'git.stage', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('review-git-mutation') + }) +) + +export const MOBILE_DIFF_REVIEW_GIT_MUTATIONS = { + 'git.stage': reviewGitStage, + 'git.unstage': reviewGitUnstage, + 'git.discard': reviewGitDiscard +} as const satisfies Record diff --git a/mobile/src/session/mobile-diff-review-loaders.ts b/mobile/src/session/mobile-diff-review-loaders.ts index 0b1a14d156b..636275af68a 100644 --- a/mobile/src/session/mobile-diff-review-loaders.ts +++ b/mobile/src/session/mobile-diff-review-loaders.ts @@ -8,18 +8,22 @@ import { normalizeMobileDiffComments } from './mobile-diff-comments' import { buildMobileDiffHunks } from './mobile-diff-hunks' import { highlightMobileDiffLines, resolveMobileSyntaxLanguage } from './mobile-file-syntax' import { - readMobileBranchCompareResult, - readMobileGitStatusResult, - readMobileReviewGitDiffResult, - readMobileReviewWorktreeMetadata -} from './mobile-diff-review-rpc' + reviewBranchCompareRead, + reviewBranchFileDiffRead, + reviewFileDiffRead, + reviewWorktreeMetadataRead +} from './mobile-diff-review-operations' +import type { MobileReviewGitDiffResult } from './mobile-diff-review-rpc' import { canOpenMobileBranchCompareDiff, type MobileGitBranchCompareResult } from '../source-control/mobile-branch-compare' import { resolveMobileBranchCompareBaseRef } from '../source-control/mobile-branch-base-ref' +import { gitStatusProjectionRead } from '../source-control/mobile-git-read-operations' import { isMobileGitUnavailable } from '../source-control/mobile-git-status' +import { refusedRpcMessageOrFallback } from '../transport/rpc-refusal-message' import type { RpcClient } from '../transport/rpc-client' +import type { RpcResponse } from '../transport/types' import type { MobileDiffReviewQueueItem } from './mobile-diff-review-queue' import type { ReviewDiffState, ReviewScreenState } from './mobile-diff-review-screen-model' import { reviewDescriptorFromItem } from './mobile-diff-review-screen-model' @@ -36,6 +40,12 @@ type DiffLoadInput = { branchCompare: MobileGitBranchCompareResult | null } +/** One settled file diff and the operation that reads it; the two methods share a reader. */ +type PendingFileDiff = { + reply: RpcResponse + interpret: (reply: RpcResponse) => MobileReviewGitDiffResult | null +} + export async function loadMobileDiffReviewBranchCompare( client: RpcClient, worktreeId: string @@ -45,21 +55,29 @@ export async function loadMobileDiffReviewBranchCompare( if (!baseRef) { return { result: null } } - const response = await client.sendRequest('git.branchCompare', { + const reply = await reviewBranchCompareRead.request(client, { worktree: `id:${worktreeId}`, baseRef }) - if (!response.ok) { - if (isMobileGitUnavailable(response.error?.code, response.error?.message)) { - return { result: null } + // Why the raw refusal: a host that does not offer git to mobile is a capability gap this + // screen degrades on, and no acceptance policy carries the code and message through. + if (!reply.ok && isMobileGitUnavailable(reply.error?.code, reply.error?.message)) { + return { result: null } + } + let parsed: MobileGitBranchCompareResult | null + try { + parsed = reviewBranchCompareRead.interpret(reply) + } catch (error) { + return { + result: null, + error: refusedRpcMessageOrFallback(error, 'Committed changes unavailable') } - return { result: null, error: response.error?.message || 'Committed changes unavailable' } } - const parsed = readMobileBranchCompareResult(response.result) return parsed ? { result: parsed } : { result: null, error: 'Committed changes response was invalid' } } catch (err) { + // A transport drop surfaces its own message verbatim; only a refusal falls back above. return { result: null, error: err instanceof Error ? err.message : 'Committed changes failed' } } } @@ -68,27 +86,38 @@ export async function loadMobileDiffReviewSnapshot( client: RpcClient, worktreeId: string ): Promise { - const statusResponse = await client.sendRequest('git.status', { worktree: `id:${worktreeId}` }) - if (!statusResponse.ok) { - if (isMobileGitUnavailable(statusResponse.error?.code, statusResponse.error?.message)) { - return { kind: 'unavailable', message: 'Update Orca desktop to review changes on mobile.' } - } - throw new Error(statusResponse.error?.message || 'Unable to load changes') + const statusReply = await gitStatusProjectionRead.request(client, { + worktree: `id:${worktreeId}` + }) + if ( + !statusReply.ok && + isMobileGitUnavailable(statusReply.error?.code, statusReply.error?.message) + ) { + return { kind: 'unavailable', message: 'Update Orca desktop to review changes on mobile.' } + } + let status + try { + status = gitStatusProjectionRead.interpret(statusReply) + } catch (error) { + throw new Error(refusedRpcMessageOrFallback(error, 'Unable to load changes')) } - const status = readMobileGitStatusResult(statusResponse.result) if (!status) { throw new Error('Source control response was invalid') } - const [branch, worktreeResponse] = await Promise.all([ + // Both legs are interpreted after the barrier, not as each lands: a refused worktree.show must + // not decide the error before the compare leg has had its own chance to fail. + const [branch, worktreeReply] = await Promise.all([ loadMobileDiffReviewBranchCompare(client, worktreeId), - client.sendRequest('worktree.show', { worktree: `id:${worktreeId}` }) + reviewWorktreeMetadataRead.request(client, { worktree: `id:${worktreeId}` }) ]) - if (!worktreeResponse.ok) { - throw new Error(worktreeResponse.error?.message || 'Unable to load review notes') + let metadata + try { + metadata = reviewWorktreeMetadataRead.interpret(worktreeReply) + } catch (error) { + throw new Error(refusedRpcMessageOrFallback(error, 'Unable to load review notes')) } - const metadata = readMobileReviewWorktreeMetadata(worktreeResponse.result) const comments = normalizeMobileDiffComments(metadata.diffComments, worktreeId) const normalizedReviewState = normalizeMobileDiffReviewState(metadata.mobileDiffReview) const branchEntries = @@ -121,24 +150,26 @@ export async function loadMobileDiffReviewSnapshot( export async function loadMobileDiffReviewDiff(input: DiffLoadInput): Promise { const { client, worktreeId, item, branchCompare } = input - const response = + const pending = item.scope === 'branch' - ? await loadBranchFileDiff(client, worktreeId, item, branchCompare) - : await client.sendRequest('git.diff', { - worktree: `id:${worktreeId}`, - filePath: item.filePath, - staged: item.scope === 'staged' - }) - if (!response.ok) { - if (response.error?.code === 'diff_too_large') { + ? await requestBranchFileDiff(client, worktreeId, item, branchCompare) + : await requestWorktreeFileDiff(client, worktreeId, item) + if (!pending.reply.ok) { + // Why the raw refusal: `diff_too_large` is a render mode rather than a failure, and no + // acceptance policy carries the code through. + if (pending.reply.error?.code === 'diff_too_large') { return { kind: 'too-large', itemKey: item.key } } if (item.status === 'deleted') { return { kind: 'deleted', itemKey: item.key } } - throw new Error(response.error?.message || 'Unable to load diff') } - const result = readMobileReviewGitDiffResult(response.result) + let result: MobileReviewGitDiffResult | null + try { + result = pending.interpret(pending.reply) + } catch (error) { + throw new Error(refusedRpcMessageOrFallback(error, 'Unable to load diff')) + } if (!result) { throw new Error('Diff response was invalid') } @@ -159,17 +190,30 @@ export async function loadMobileDiffReviewDiff(input: DiffLoadInput): Promise { + const reply = await reviewFileDiffRead.request(client, { + worktree: `id:${worktreeId}`, + filePath: item.filePath, + staged: item.scope === 'staged' + }) + return { reply, interpret: (settled) => reviewFileDiffRead.interpret(settled) } +} + +async function requestBranchFileDiff( client: RpcClient, worktreeId: string, item: MobileDiffReviewQueueItem, branchCompare: MobileGitBranchCompareResult | null -) { +): Promise { const summary = branchCompare?.summary if (!summary || !summary.headOid || !summary.mergeBase) { throw new Error('Committed diff is unavailable') } - return client.sendRequest('git.branchDiff', { + const reply = await reviewBranchFileDiffRead.request(client, { worktree: `id:${worktreeId}`, filePath: item.filePath, ...(item.oldPath ? { oldPath: item.oldPath } : {}), @@ -180,4 +224,5 @@ async function loadBranchFileDiff( mergeBase: summary.mergeBase } }) + return { reply, interpret: (settled) => reviewBranchFileDiffRead.interpret(settled) } } diff --git a/mobile/src/session/mobile-diff-review-operations.ts b/mobile/src/session/mobile-diff-review-operations.ts new file mode 100644 index 00000000000..c7ddc74705d --- /dev/null +++ b/mobile/src/session/mobile-diff-review-operations.ts @@ -0,0 +1,130 @@ +import { bindDeferredRpcOperation, defineRpcOperation } from '../transport/rpc-operation' +import type { RpcCompatibleReader } from '../transport/rpc-operation-contract' +import { rpcReadUnchecked } from '../transport/rpc-reader-payload' +import type { MobileGitBranchCompareResult } from '../source-control/mobile-branch-compare' +import { gitStatusProjectionReader } from '../source-control/mobile-git-read-operations' +import { + readMobileBranchCompareResult, + readMobileReviewGitDiffResult, + readMobileReviewWorktreeMetadata, + type MobileReviewGitDiffResult, + type MobileReviewWorktreeMetadata +} from './mobile-diff-review-rpc' + +// What the review screen and the PR branch-context loader read. Both work from the same three +// projections — normalized status, normalized branch compare, the review notes on the worktree — +// and neither reads a raw host payload. + +/** + * git.status read for the PR branch context. The third policy on this method, and the only one that + * skips: the standalone PR entry point derives branch and head SHA from status and falls back to + * branchCompare's headOid, so a refused status leaves it with no branch rather than an error to + * show. The review screen's read (`gitStatusProjectionRead`) must surface the message instead, + * because the screen has nothing to render without it. Both bind the same + * `gitStatusProjectionReader`; only what a refusal means differs. + */ +export const branchContextStatusRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'git.branch-context-status-or-skip', + method: 'git.status', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: gitStatusProjectionReader + }) +) + +const branchCompareProjectionReader: RpcCompatibleReader< + unknown, + 'normalized-branch-compare', + MobileGitBranchCompareResult | null +> = (raw) => rpcReadUnchecked('normalized-branch-compare', readMobileBranchCompareResult(raw)) + +/** + * git.branchCompare, second reader on the method. The Changes screen publishes the host payload + * verbatim through `gitBranchCompareRead`; this one normalizes. The projection is not a superset — + * it answers null when `summary` or `entries` is not the expected shape, or when `baseRef`, + * `compareRef` or `changedFiles` is missing — and review and PR context both depend on that null to + * report "committed changes response was invalid" rather than rendering a partial compare. Sharing + * the verbatim reader would hand them a payload they would then have to re-parse. + */ +export const reviewBranchCompareRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'git.review-branch-compare', + method: 'git.branchCompare', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: branchCompareProjectionReader + }) +) + +/** The same projection, read where a refused compare only costs the head-SHA fallback. */ +export const branchContextCompareRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'git.branch-context-compare-or-skip', + method: 'git.branchCompare', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: branchCompareProjectionReader + }) +) + +const reviewMetadataReader: RpcCompatibleReader< + unknown, + 'review-worktree-metadata', + MobileReviewWorktreeMetadata +> = (raw) => rpcReadUnchecked('review-worktree-metadata', readMobileReviewWorktreeMetadata(raw)) + +/** + * worktree.show, second reader on the method. `worktreeSummaryRead` projects `{ baseRef, linkedPR }` + * and drops everything else, so it would answer the review screen with no notes at all for every + * reply. The two are read side by side in one snapshot — branch-base resolution asks for the + * summary while the screen asks for the notes — which is why neither can be widened into the other + * without changing what the other sees. + */ +export const reviewWorktreeMetadataRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'worktree.review-metadata', + method: 'worktree.show', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: reviewMetadataReader + }) +) + +const reviewDiffReader: RpcCompatibleReader< + unknown, + 'review-file-diff', + MobileReviewGitDiffResult | null +> = (raw) => rpcReadUnchecked('review-file-diff', readMobileReviewGitDiffResult(raw)) + +/** + * The worktree file diff. Its refusal carries meaning the acceptance policy cannot: `diff_too_large` + * is a render mode, not a failure, so the caller reads that code off the raw reply before it + * interprets — the same raw-refusal read `use-mobile-source-control-loaders.ts` makes for the + * mobile-git capability gap. + */ +export const reviewFileDiffRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'git.review-file-diff', + method: 'git.diff', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: reviewDiffReader + }) +) + +/** + * The committed-range equivalent, second reader on git.branchDiff. `gitBranchDiffRead` hands the + * Changes screen's branch preview the host payload verbatim; review needs the + * text/binary/too-large discrimination, and a reply that matches none of the three has to read as + * null so the screen says the diff was invalid instead of rendering an empty file. + */ +export const reviewBranchFileDiffRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'git.review-branch-file-diff', + method: 'git.branchDiff', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: reviewDiffReader + }) +) diff --git a/mobile/src/session/mobile-file-tap-open.ts b/mobile/src/session/mobile-file-tap-open.ts index 9c25dd215ca..21d90fa77fe 100644 --- a/mobile/src/session/mobile-file-tap-open.ts +++ b/mobile/src/session/mobile-file-tap-open.ts @@ -6,9 +6,9 @@ import type { import { filesystemPathToFileUri } from '../../../src/shared/file-uri-path' import { createMobileFilePreviewHref } from '../files/mobile-file-preview-route' import { classifyMobileArtifact } from './mobile-artifact-kind' -import type { RpcClient } from '../transport/rpc-client' -import type { RpcSuccess } from '../transport/types' +import { fileTapOpenRun, fileTapPathResolve } from './mobile-session-launch-operations' import { shouldActivateOpenedMobileSessionTab } from './opened-mobile-session-tab' +import type { RpcOperationSender } from '../transport/rpc-operation-sender' export type FileTapSessionTab = { id: string @@ -16,7 +16,7 @@ export type FileTapSessionTab = { } export type OpenMobileFileTapOptions = { - client: Pick + client: RpcOperationSender hostId: string worktreeId: string worktreeName?: string @@ -74,8 +74,8 @@ async function openMobileFileTapAsync( options: OpenMobileFileTapOptions ): Promise { const worktree = `id:${options.worktreeId}` - const response = await options.client.sendRequest( - 'files.resolveTerminalPath', + const response = await fileTapPathResolve.request( + options.client, { worktree, pathText: options.pathText, @@ -89,11 +89,13 @@ async function openMobileFileTapAsync( }, { timeoutMs: 10_000 } ) - if (!response.ok) { + const accepted = fileTapPathResolve.interpret(response) + if (!accepted.accepted) { reportOpenFailure(options) return } - const resolved = (response as RpcSuccess).result as RuntimeTerminalPathResolution + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const resolved = accepted.value as RuntimeTerminalPathResolution if (!resolved.exists || resolved.isDirectory) { reportOpenFailure(options) return @@ -172,17 +174,18 @@ async function openMobileFileTapAsync( options.openBrowser(filesystemPathToFileUri(resolved.openTarget.absolutePath)) return } - const openResponse = await options.client.sendRequest( - 'files.open', + const openResponse = await fileTapOpenRun.request( + options.client, { worktree: resolvedWorktree, relativePath: openedPath }, { timeoutMs: 15_000 } ) - if (!openResponse.ok) { + const opened = fileTapOpenRun.interpret(openResponse) + if (!opened.accepted) { reportOpenFailure(options) return } - const openResult = (openResponse as RpcSuccess).result as RuntimeFileOpenResult - if (!openResult.opened) { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + if (!(opened.value as RuntimeFileOpenResult).opened) { reportOpenFailure(options) return } diff --git a/mobile/src/session/mobile-image-attachment.ts b/mobile/src/session/mobile-image-attachment.ts index 9cb7d60aa8e..d027f947ca0 100644 --- a/mobile/src/session/mobile-image-attachment.ts +++ b/mobile/src/session/mobile-image-attachment.ts @@ -1,14 +1,14 @@ -import type { RpcClient } from '../transport/rpc-client' import { separateImagePasteFromFollowingText } from '../../../src/shared/image-paste-following-text' import { buildMobileImagePastePayload, saveMobileClipboardImageAsTempFile } from './mobile-clipboard-image' import type { MobileImageSource, PickedMobileImage } from './mobile-image-source-picker' -import { isTerminalSendRpcAccepted } from '../terminal/terminal-send-rpc-response' +import { nativeChatTerminalWrite } from './mobile-session-write-operations' +import type { MobileClipboardImageRpcSender } from './mobile-clipboard-image-operations' export type AttachMobileImageDeps = { - readonly client: Pick + readonly client: MobileClipboardImageRpcSender readonly terminal: string readonly deviceToken: string | null readonly getConnectionId: () => Promise @@ -55,11 +55,11 @@ export async function attachMobileImageToTerminal( if (beforeTerminalSend && !(await beforeTerminalSend(terminal))) { return false } - const response = await client.sendRequest('terminal.send', { + const response = await nativeChatTerminalWrite.request(client, { terminal, text: payload, enter: false, ...(deviceToken ? { client: { id: deviceToken, type: 'mobile' as const } } : {}) }) - return isTerminalSendRpcAccepted(response) + return nativeChatTerminalWrite.interpret(response) === true } diff --git a/mobile/src/session/mobile-native-chat-image-attachment.ts b/mobile/src/session/mobile-native-chat-image-attachment.ts index 1520bcd9cbd..e4007646325 100644 --- a/mobile/src/session/mobile-native-chat-image-attachment.ts +++ b/mobile/src/session/mobile-native-chat-image-attachment.ts @@ -1,5 +1,5 @@ -import type { RpcClient } from '../transport/rpc-client' import { saveMobileClipboardImageAsTempFile } from './mobile-clipboard-image' +import type { MobileClipboardImageRpcSender } from './mobile-clipboard-image-operations' import { structuredAgentSessionDomainFingerprint } from '../../../src/shared/structured-agent-session-mutation' // Type-only import so this module (and its unit test) stays free of the expo/ // react-native picker chain; the concrete `pickImage` is injected by the hook. @@ -39,7 +39,7 @@ export function appendPendingNativeChatImages( } export type UploadNativeChatImagesDeps = { - readonly client: Pick + readonly client: MobileClipboardImageRpcSender readonly getConnectionId: () => Promise // Injected so this module stays free of expo/react-native imports (unit-testable). readonly pickImages: ( diff --git a/mobile/src/session/mobile-native-chat-image-send.ts b/mobile/src/session/mobile-native-chat-image-send.ts index 9f3c555062f..8ed3eb07b3c 100644 --- a/mobile/src/session/mobile-native-chat-image-send.ts +++ b/mobile/src/session/mobile-native-chat-image-send.ts @@ -1,11 +1,11 @@ -import type { RpcClient } from '../transport/rpc-client' import { imagePasteWritesFollowedByText } from '../../../src/shared/image-paste-following-text' import { buildMobileImagePastePayload } from './mobile-clipboard-image' import { MOBILE_NATIVE_CHAT_MIN_WRITE_TIMEOUT_MS, openMobileNativeChatSendBudget } from './mobile-native-chat-send' -import { isTerminalSendRpcAccepted } from '../terminal/terminal-send-rpc-response' +import { nativeChatTerminalWrite } from './mobile-session-write-operations' +import type { MobileNativeChatRpcSender } from './mobile-native-chat-send' // Give the agent TUI a beat to register each bracketed image paste before the // message text + Enter arrive, so the image attaches instead of being treated as @@ -20,7 +20,7 @@ const MOBILE_NATIVE_CHAT_CLEAR_UNSUBMITTED_INPUT = '\x15' type MobileTerminalClient = { id: string; type: 'mobile' } type PasteImagesArgs = { - readonly client: Pick + readonly client: MobileNativeChatRpcSender readonly terminal: string readonly deviceToken: string | null readonly imagePaths: readonly string[] @@ -67,8 +67,8 @@ export async function pasteMobileNativeChatImagePaths({ if (remainingMs < MOBILE_NATIVE_CHAT_MIN_WRITE_TIMEOUT_MS) { return false } - const response = await client.sendRequest( - 'terminal.send', + const response = await nativeChatTerminalWrite.request( + client, { terminal, text, @@ -79,7 +79,7 @@ export async function pasteMobileNativeChatImagePaths({ // clock here would let one write outlast the whole sequence's ceiling. { timeoutMs: remainingMs, budgetSpansConnect: true } ) - if (!isTerminalSendRpcAccepted(response)) { + if (nativeChatTerminalWrite.interpret(response) !== true) { return false } } diff --git a/mobile/src/session/mobile-native-chat-send.ts b/mobile/src/session/mobile-native-chat-send.ts index 22c44f3eb84..7bc1b94f993 100644 --- a/mobile/src/session/mobile-native-chat-send.ts +++ b/mobile/src/session/mobile-native-chat-send.ts @@ -2,9 +2,12 @@ import { reportWorkerTerminalUserInput } from '../terminal/worker-terminal-takeo import type { RpcClient } from '../transport/rpc-client' import { isRpcDeliveryUnknown } from '../transport/rpc-delivery-ambiguity' import { isLogicalClientCutoverError } from '../transport/stable-logical-rpc-client' -import { isTerminalSendRpcAccepted } from '../terminal/terminal-send-rpc-response' +import { nativeChatTerminalWrite } from './mobile-session-write-operations' import { typeAgentTuiCommand } from '../../../src/shared/agent-tui-command-typing' +/** What a native-chat write takes, named from an operation so no module names the raw port. */ +export type MobileNativeChatRpcSender = Parameters[0] + type MobileTerminalClient = { id: string type: 'mobile' @@ -51,8 +54,8 @@ export async function sendMobileNativeChatMessageWithOutcome( return 'rejected' } try { - const response = await args.client.sendRequest( - 'terminal.send', + const response = await nativeChatTerminalWrite.request( + args.client, { terminal: args.terminal, text: args.text, @@ -65,7 +68,7 @@ export async function sendMobileNativeChatMessageWithOutcome( // pins the composer for twice as long. { timeoutMs, budgetSpansConnect: true } ) - if (!isTerminalSendRpcAccepted(response)) { + if (nativeChatTerminalWrite.interpret(response) !== true) { return 'rejected' } reportWorkerTerminalUserInput(args.client, args.terminal) @@ -139,8 +142,8 @@ export async function clearMobileNativeChatInput(args: { return false } try { - const response = await args.client.sendRequest( - 'terminal.send', + const response = await nativeChatTerminalWrite.request( + args.client, { terminal: args.terminal, text: args.clearInput, @@ -149,7 +152,7 @@ export async function clearMobileNativeChatInput(args: { }, { timeoutMs, budgetSpansConnect: true } ) - return isTerminalSendRpcAccepted(response) + return nativeChatTerminalWrite.interpret(response) === true } catch { // A failed clear must not send the body on top of an uncleared line. return false diff --git a/mobile/src/session/mobile-native-chat-session-option-persistence.ts b/mobile/src/session/mobile-native-chat-session-option-persistence.ts index aaad5a92f51..fba5f4a98a5 100644 --- a/mobile/src/session/mobile-native-chat-session-option-persistence.ts +++ b/mobile/src/session/mobile-native-chat-session-option-persistence.ts @@ -1,6 +1,7 @@ import type { AgentType } from '../../../src/shared/agent-status-types' import type { StructuredSessionOptionPick } from '../../../src/shared/structured-agent-session-options' import type { RpcClient } from '../transport/rpc-client' +import { nativeChatSessionOptionsWrite } from './mobile-session-launch-operations' /** The host owns the record a later launch seeds from, so a phone-side pick writes there * rather than to any client-local store. Best-effort: a failed write only costs the @@ -14,12 +15,12 @@ export function persistMobileStructuredOptionPicks(args: { if (!client || picks.length === 0) { return Promise.resolve() } - return client - .sendRequest('settings.mutateNativeChatSessionOptions', { - type: 'apply-picks', - agent, - picks - }) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the catalog names the five TUI agents and the two settable option shapes; the composer's own types are wider, and narrowing either here would change the bytes main put on the wire. + const params = { type: 'apply-picks', agent, picks: [...picks] } as Parameters< + typeof nativeChatSessionOptionsWrite.request + >[1] + return nativeChatSessionOptionsWrite + .request(client, params) .then(() => undefined) .catch(() => undefined) } diff --git a/mobile/src/session/mobile-native-chat-stale-input.ts b/mobile/src/session/mobile-native-chat-stale-input.ts index cdc21067683..7762f7762ea 100644 --- a/mobile/src/session/mobile-native-chat-stale-input.ts +++ b/mobile/src/session/mobile-native-chat-stale-input.ts @@ -1,5 +1,5 @@ -import type { RpcClient } from '../transport/rpc-client' import { pasteMobileNativeChatImagePaths } from './mobile-native-chat-image-send' +import type { MobileNativeChatRpcSender } from './mobile-native-chat-send' // The condition tracked here — a bracketed image paste left sitting on the agent's // unsubmitted input line — lives on the HOST terminal, so it outlives any one @@ -38,7 +38,7 @@ export function resetMobileNativeChatStaleInputForTests(): void { * leaving the next real message to be corrupted by the paste. The host acks a * write, never a cleared line, so consumption can't be made conditional on it. */ export async function healMobileNativeChatStaleInput(args: { - readonly client: Pick + readonly client: MobileNativeChatRpcSender readonly terminal: string readonly deviceToken: string | null /** Budget shared with the write this heal precedes, so a hung clear can't spend a diff --git a/mobile/src/session/mobile-new-tab-agent-loader.ts b/mobile/src/session/mobile-new-tab-agent-loader.ts index 22ec2957df6..b1b9426c3e2 100644 --- a/mobile/src/session/mobile-new-tab-agent-loader.ts +++ b/mobile/src/session/mobile-new-tab-agent-loader.ts @@ -1,6 +1,12 @@ import { newTabSettingsRead } from '../transport/settings-read-operations' +import { + type MobileRuntimeRepoSummary, + newTabRepoListRead, + preflightDetectAgentsRead, + preflightDetectRemoteAgentsRead +} from './mobile-session-read-operations' import type { RpcClient } from '../transport/rpc-client' -import type { RpcFailure, RpcSuccess } from '../transport/types' +import type { RpcResponse } from '../transport/types' import { isFloatingWorkspaceWorktreeId } from './floating-workspace' import { getRepoIdFromMobileWorktreeId } from './mobile-session-route-helpers' import { @@ -9,49 +15,63 @@ import { type MobileNewTabAgentSettings } from './mobile-new-tab-agent-options' -type RuntimeRepoSummary = { - id: string - connectionId?: string | null -} - export async function loadMobileNewTabAgentOptions(args: { client: RpcClient worktreeId: string }): Promise { const { client, worktreeId } = args - // Why: the floating workspace runs on the paired host, so it has no repo connection to resolve. - const detectedAgentsRequest = isFloatingWorkspaceWorktreeId(worktreeId) - ? client.sendRequest('preflight.detectAgents') - : loadWorkspaceDetectedAgents(client, worktreeId) - const [settingsResponse, detectedResponse] = await Promise.all([ + // Started before the settings read, not inside the array: the detection request goes on the wire + // first, and the recorded sender order is what says so. + const detectedAgentsRequest = loadDetectedAgents(client, worktreeId) + const [settingsResponse, detectedAgents] = await Promise.all([ newTabSettingsRead.request(client), detectedAgentsRequest ]) const readSettings = newTabSettingsRead.interpret(settingsResponse) - if (!detectedResponse.ok) { - throw new Error((detectedResponse as RpcFailure).error.message) - } + // Interpreted after the group, not inside it: whichever peer failed first must not decide the + // error the sheet shows, and main raised the detection refusal only once settings had settled. + const detected = detectedAgents.interpret(detectedAgents.reply) return buildMobileNewTabAgentOptions( // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. readSettings() as MobileNewTabAgentSettings | undefined, - (detectedResponse as RpcSuccess).result as unknown[] + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + detected as unknown[] ) } -async function loadWorkspaceDetectedAgents(client: RpcClient, worktreeId: string) { - const repoResponse = await client.sendRequest('repo.list') - if (!repoResponse.ok) { - throw new Error((repoResponse as RpcFailure).error.message) +/** The reply and the operation that reads it: two methods detect agents and each reads its own. */ +type DetectedAgentsReply = { + reply: RpcResponse + interpret: (reply: RpcResponse) => unknown +} + +async function loadDetectedAgents( + client: RpcClient, + worktreeId: string +): Promise { + // Why: the floating workspace runs on the paired host, so it has no repo connection to resolve. + if (isFloatingWorkspaceWorktreeId(worktreeId)) { + return { + reply: await preflightDetectAgentsRead.request(client), + interpret: preflightDetectAgentsRead.interpret + } } + const repoResponse = await newTabRepoListRead.request(client) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const repos = (newTabRepoListRead.interpret(repoResponse) as MobileRuntimeRepoSummary[]) ?? [] const repoId = getRepoIdFromMobileWorktreeId(worktreeId) - const repos = - ((repoResponse as RpcSuccess).result as { repos?: RuntimeRepoSummary[] }).repos ?? [] const repo = repos.find((candidate) => candidate.id === repoId) if (!repo) { throw new Error('worktree_repo_not_found') } const connectionId = repo.connectionId?.trim() || null return connectionId - ? client.sendRequest('preflight.detectRemoteAgents', { connectionId }) - : client.sendRequest('preflight.detectAgents') + ? { + reply: await preflightDetectRemoteAgentsRead.request(client, { connectionId }), + interpret: preflightDetectRemoteAgentsRead.interpret + } + : { + reply: await preflightDetectAgentsRead.request(client), + interpret: preflightDetectAgentsRead.interpret + } } diff --git a/mobile/src/session/mobile-review-terminal-operations.ts b/mobile/src/session/mobile-review-terminal-operations.ts new file mode 100644 index 00000000000..2b998732fe5 --- /dev/null +++ b/mobile/src/session/mobile-review-terminal-operations.ts @@ -0,0 +1,70 @@ +import { bindDeferredRpcOperation, defineRpcOperation } from '../transport/rpc-operation' +import type { RpcCompatibleReader } from '../transport/rpc-operation-contract' +import { rpcReadUnchecked } from '../transport/rpc-reader-payload' +import { + readMobileReviewCreatedTerminal, + readMobileReviewTerminalSendAccepted, + readMobileReviewTerminalTabs, + type MobileReviewTerminalTab +} from './mobile-diff-review-rpc' + +// Dropping a prompt into a fresh agent terminal: create the tab, then send the text. There is no +// higher-level agent-composer RPC on mobile, so this pair is the launch mechanism — the PR triage +// actions and the review-notes send sheet both drive it. + +const createdTerminalReader: RpcCompatibleReader< + unknown, + 'created-terminal-tab', + MobileReviewTerminalTab | null +> = (raw) => rpcReadUnchecked('created-terminal-tab', readMobileReviewCreatedTerminal(raw)) + +/** + * A refused create is an error the caller surfaces: there is nowhere to put the prompt. The reply + * is read for the terminal handle the send below is addressed to, so an unreadable tab is a failure + * even though the envelope was accepted. + */ +export const reviewTerminalCreateRun = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'session.create-review-terminal', + method: 'session.tabs.createTerminal', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: createdTerminalReader + }) +) + +/** + * An accepted send can still report in-band that the terminal is locked, which is a different + * failure from a refused send and the caller says so. The reader answers that one question. + */ +const terminalSendAcceptedReader: RpcCompatibleReader< + unknown, + 'terminal-send-accepted', + boolean +> = (raw) => rpcReadUnchecked('terminal-send-accepted', readMobileReviewTerminalSendAccepted(raw)) + +export const reviewTerminalSendRun = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'terminal.send-review-prompt', + method: 'terminal.send', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: terminalSendAcceptedReader + }) +) + +/** + * The agent terminals the send sheet lists. Third reader on `session.tabs.list`: the reveal poller + * projects file tabs and answers null for anything else, and the reconciliation controller hands + * its owner the snapshot whole so its own type parameter can name it. This one keeps only the + * terminal tabs the sheet can drop a prompt into, which both of those drop. + */ +export const reviewTerminalListRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'session.review-terminal-list', + method: 'session.tabs.list', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: (raw) => rpcReadUnchecked('review-terminal-tabs', readMobileReviewTerminalTabs(raw)) + }) +) diff --git a/mobile/src/session/mobile-session-launch-operations.ts b/mobile/src/session/mobile-session-launch-operations.ts new file mode 100644 index 00000000000..d55a2ad4966 --- /dev/null +++ b/mobile/src/session/mobile-session-launch-operations.ts @@ -0,0 +1,108 @@ +import { bindDeferredRpcOperation, defineRpcOperation } from '../transport/rpc-operation' +import { rpcUncheckedPayloadReader } from '../transport/rpc-reader-payload' + +// Opening things from the session screen: a tapped terminal path, a new markdown note or browser +// tab, the legacy-Codex resume repin, and the structured agent chat. + +// The tap resolves the same path on the same method, with the same skip on refusal and the same +// whole-payload read, as the preview screen's grant refresh, so a second operation would only be a +// second name for one wire. Same reason `fileOwnershipRuntimeStatusRead` re-exports the Tasks +// screen's status read. +export { terminalArtifactPathResolve as fileTapPathResolve } from '../files/mobile-file-preview-operations' + +/** + * The worktree open a tap leads to. Its own skip: the tap is best-effort and a refusal is the same + * silent miss as a path that resolved to nothing. `sourceFileOpenRun` is the Changes screen's read + * of the same method and raises the host's message instead, because there the user asked for a tab + * and has nothing otherwise. + */ +export const fileTapOpenRun = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'files.open-tapped-file-or-skip', + method: 'files.open', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('tapped-file-opened') + }) +) + +/** + * Creating an untitled markdown note. The refusal message is read for the file-exists text the + * caller retries on, so it has to survive as the thrown message rather than a coded one. + */ +export const sessionMarkdownNoteCreate = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'files.create-markdown-note', + method: 'files.createFile', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('markdown-note-created') + }) +) + +/** The browser tab a user opens from the tab strip; the reply carries the page id to focus. */ +export const sessionBrowserTabCreate = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'browser.create-session-tab', + method: 'browser.tabCreate', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('browser-tab-created') + }) +) + +/** + * The legacy-Codex resume repin. Its refusal is read raw before interpretation: an older host that + * cannot prepare answers `method_not_found` or a named `forbidden`, and the phone resumes on the + * shared home instead — neither a failure nor a value any acceptance policy can express. + */ +export const aiVaultResumePreparationRun = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'aiVault.prepare-session-resume', + method: 'aiVault.prepareSessionResume', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('ai-vault-resume-preparation') + }) +) + +/** + * Whether a workspace can host a structured agent chat at all. The launch distrusts the declared + * envelope type here — a malformed reply must read as unsupported rather than be classified — so + * the raw reply stays at the call site and no policy interprets it. + */ +export const structuredAgentSupportProbe = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'agentSession.create-support', + method: 'agentSession.createSupport', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('structured-create-support') + }) +) + +/** + * The durable create. Same distrust, and for a stronger reason: anything this call cannot prove is + * a definitive refusal has to stay `unknown`, because a create that may have committed must not + * grow a sibling terminal. The envelope is examined field by field at the call site. + */ +export const structuredAgentSessionCreate = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'agentSession.create', + method: 'agentSession.create', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('structured-session-created') + }) +) + +/** The host record a session-option pick is written to. Best-effort: every outcome is swallowed. */ +export const nativeChatSessionOptionsWrite = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'settings.mutate-native-chat-session-options', + method: 'settings.mutateNativeChatSessionOptions', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('native-chat-session-options-written') + }) +) diff --git a/mobile/src/session/mobile-session-read-operations.ts b/mobile/src/session/mobile-session-read-operations.ts new file mode 100644 index 00000000000..3fa00be2799 --- /dev/null +++ b/mobile/src/session/mobile-session-read-operations.ts @@ -0,0 +1,174 @@ +import { bindDeferredRpcOperation, defineRpcOperation } from '../transport/rpc-operation' +import { + rpcUncheckedMemberReader, + rpcUncheckedPayloadReader +} from '../transport/rpc-reader-payload' + +// What the session screen reads: the terminal inventory, the repo list two screens resolve a +// workspace's connection through, the session tab snapshot, the quick-command list, the +// worktree-stored review notes and a markdown tab's document. + +/** + * The terminal inventory. A refused list leaves the strip exactly as it was — the screen treats it + * as "no news", not as an empty host — which is what the skip policy says and what the throwing + * policies would get wrong. + */ +export const sessionTerminalListRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'terminal.list', + method: 'terminal.list', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('terminal-inventory') + }) +) + +export type MobileRuntimeRepoSummary = { id: string; connectionId?: string | null } + +const repoListReader = rpcUncheckedMemberReader('runtime-repo-list', 'repos') + +/** + * The repo list, read for one workspace's connection id. Two call sites want it and disagree about + * a refusal, so each declares its own operation over the same reader rather than sharing a policy: + * the new-tab agent loader has nothing to show without it and raises the host's message, while the + * native-chat readability probe answers "not readable" and lets the screen render. + */ +export const newTabRepoListRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'repo.list-for-new-tab', + method: 'repo.list', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: repoListReader + }) +) + +export const nativeChatRepoListRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'repo.list-or-unreadable', + method: 'repo.list', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: repoListReader + }) +) + +/** + * The agents a host reports for a workspace. Both the local and the remote probe read the payload + * as the list it is, and the loader raises the host's message when either refuses. + * + * Separate from the task drawer's readers on the same two methods, which skip: there detection is + * advisory and an empty set is a fine answer, where this loader gates a tab the user is opening and + * has to say why no agent came back. Different acceptance, so two operations. + */ +export const preflightDetectAgentsRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'preflight.detect-agents', + method: 'preflight.detectAgents', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('detected-agents') + }) +) + +export const preflightDetectRemoteAgentsRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'preflight.detect-remote-agents', + method: 'preflight.detectRemoteAgents', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('detected-agents') + }) +) + +/** + * The session tab snapshot the reconciliation controller polls. Its own generation, barrier and + * application-revision guards decide whether a reply may be applied, all of which run before the + * payload is read, so the controller keeps the raw reply and reports the refusal to its owner. + */ +export const sessionTabsListRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'session.tabs-list', + method: 'session.tabs.list', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('session-tabs-snapshot') + }) +) + +/** + * The two ways native chat gets workspace paths. Both project the same `files[].relativePath` list, + * and both refuse by leaving the suggestion list alone — the search's `method_not_found` is read + * raw beforehand, because that code is what makes the composer fall back to the full inventory. + */ +export const nativeChatFileSearchRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'files.search-paths-or-skip', + method: 'files.searchPaths', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: rpcUncheckedMemberReader('workspace-files', 'files') + }) +) + +export const nativeChatFileInventoryRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'files.list-or-skip', + method: 'files.list', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: rpcUncheckedMemberReader('workspace-files', 'files') + }) +) + +/** Shared with the save leg in the write module: one list read, so neither leg can adopt `[]`. */ +export const quickCommandsReader = rpcUncheckedPayloadReader('terminal-quick-commands') + +/** + * The quick-command list, read the same way on load and on save: the host re-normalizes and returns + * the canonical list, and a payload the parser rejects reads as null so neither leg can adopt `[]` + * and erase commands that still exist on the host. + */ +export const quickCommandsRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'settings.quick-commands-read', + method: 'settings.getTerminalQuickCommands', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: quickCommandsReader + }) +) + +/** + * The review notes as they sit on the worktree record, and the fourth reader on `worktree.show`. + * Two of the other three project a narrower value and would answer this screen with no notes: the + * summary keeps `{ baseRef, linkedPR }`, the review screen keeps `{ diffComments, mobileDiffReview }`. + * The third, `fileOwnershipWorktreeRead`, reads the same `worktree` member whole with the same + * reader shape, so acceptance is the only thing separating them: a file mutation throws the host's + * message rather than write to the wrong host, where a session screen missing its notes just shows + * none and keeps working. + */ +export const sessionWorktreeNotesRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'worktree.show-review-notes', + method: 'worktree.show', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: rpcUncheckedMemberReader('worktree-review-notes', 'worktree') + }) +) + +/** + * A markdown tab's document. The refusal is read raw before interpretation, because a headless host + * answers `renderer_unavailable` and the screen falls back to the file on disk — a code no + * acceptance policy carries. + */ +export const markdownTabRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'markdown.read-tab', + method: 'markdown.readTab', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('markdown-tab-doc') + }) +) diff --git a/mobile/src/session/mobile-session-route-parity.test.ts b/mobile/src/session/mobile-session-route-parity.test.ts index 7b3b91af7a6..3e73969effc 100644 --- a/mobile/src/session/mobile-session-route-parity.test.ts +++ b/mobile/src/session/mobile-session-route-parity.test.ts @@ -66,11 +66,15 @@ const HEAD_MAIN_HOOK_SHA256 = 'c7a1bbc0588a5d27797bbab13168e76eb20200288921fdc33 const HEAD_HOOK_BINDING_SHA256 = '06edf1a4314eba41b1d3e1cb67b0cfab2a936aef7d127c5dc48e789c9adc6c8f' const HEAD_CALLBACK_IDENTITY_SHA256 = '2a9e4825df007f6ef53b81aa5004991d6318eee7507b44d625c07e630be432eb' -const HEAD_CALLBACK_BODY_SHA256 = '85c4f4605e66c45e2b6bc7de739cb3493d9e2d0db9c9242c379db8ed34a8cefe' +// Body text, not behaviour: refreshed when the session hooks' refusal try/catch blocks became +// `interpretOrThrowRefusalMessage` calls. One of them lives in a callback. +const HEAD_CALLBACK_BODY_SHA256 = '309666c03fdfaa4b48fe6e32d86e885e0c92c42954bc2917ac605ef1e50061de' const HEAD_EFFECT_SHA256 = '73d80845e0a4b6363cfb4bb55551af97965b1f676b97adf0b2a8504219b9a501' const HEAD_CONTENT_HOOK_SHA256 = '9c3b612fef3f370d66873aefdbe1d701f20cb64ded31fef5cc45fde6f8189581' +// Same refresh as the callback-body hash above, for the three of those blocks that sit in +// nested functions rather than callbacks. Count still 12. const HEAD_NESTED_FUNCTION_SHA256 = - '97ce5457d8059974f500022a4382ff687074e26843d6c1525be938d6c0537928' + '74772a16be98781d85d12caa7771b373a908e3da00651412a1e15647ec67398c' const HEAD_NATIVE_REGISTRATION_SHA256 = 'cab85e4e4a3f43289ba93ddea9ccce57aea83e0bf14fd1620a965aad0c1cb49e' const HEAD_NATIVE_REMOVAL_SHA256 = @@ -79,7 +83,7 @@ const HEAD_TIMER_CREATION_SHA256 = '1a31b625e2174c3db77272249843196d2b6b06ab1e654a96d8f7858e3082e66b' const HEAD_TIMER_CLEANUP_SHA256 = 'c73f1d1c2cc89642f3d727d6f3b6b81860a9d6f34234541a2065ec3d1a8cd116' const HEAD_RUNTIME_STRING_SHA256 = - '57ef354b97fb4fd3776fd1b09a34305d84022c04c43c6391bd130517bf6e37af' + '3d4c680adb34c5871530fa4bd7ecd2f800048b8b00f98ef503693d9c44cf6464' const HEAD_HOST_JSX_SHA256 = '390405926b1695fa3a33686f0bc192b432f5468d8576499d7cafbb4922defbb5' const HEAD_LEAF_JSX_SHA256 = '21dba981875e173f692590bf910d60964660c5f4cbb79f3a377c7e54f6a1f016' const HEAD_STYLE_REFERENCE_SHA256 = @@ -517,7 +521,7 @@ describe('mobile session route extraction parity', () => { it('preserves runtime strings, styles, and the expanded JSX tree', () => { const strings = readRuntimeStrings() - expect(strings).toHaveLength(546) + expect(strings).toHaveLength(540) expect(hash(strings)).toBe(HEAD_RUNTIME_STRING_SHA256) const jsx = readJsxFacts(readDefinitions()) expect(jsx.host).toHaveLength(124) diff --git a/mobile/src/session/mobile-session-startup-source.test.ts b/mobile/src/session/mobile-session-startup-source.test.ts index 83b2021b95e..ae666206070 100644 --- a/mobile/src/session/mobile-session-startup-source.test.ts +++ b/mobile/src/session/mobile-session-startup-source.test.ts @@ -138,7 +138,7 @@ describe('mobile session startup', () => { 'committedScope !== null && committedScope !== scopeKey' ) expect(terminalListSource).toContain('return terminalInventoryRequest.activate()') - expect(terminalListSource).toContain('if (!isCurrent() || !response.ok)') + expect(terminalListSource).toContain('if (!isCurrent() || !response.accepted)') expect(terminalInventoryRecoverySource).toContain( 'TERMINAL_INVENTORY_CONFIRMATION_DELAY_MS = 750' ) diff --git a/mobile/src/session/mobile-session-tab-activation.ts b/mobile/src/session/mobile-session-tab-activation.ts index ff8353459b4..d6d35295336 100644 --- a/mobile/src/session/mobile-session-tab-activation.ts +++ b/mobile/src/session/mobile-session-tab-activation.ts @@ -1,6 +1,6 @@ import type { TabActivationIntent } from '../../../src/shared/tab-activation-intent' -import type { RpcClient } from '../transport/rpc-client' import { LogicalClientCutoverError } from '../transport/stable-logical-rpc-client' +import { sessionTabActivate, sessionTerminalFocus } from './mobile-session-write-operations' import type { RpcResponse } from '../transport/types' import { getMobileTerminalDiagnosticErrorName, @@ -8,7 +8,7 @@ import { shortenMobileTerminalDiagnosticId } from './mobile-terminal-diagnostics' -type ActivationClient = Pick +type ActivationClient = Parameters[0] type MobileSessionTabActivationParams = { worktree: string @@ -76,7 +76,7 @@ export function focusMobileTerminal( terminal: string ): Promise { return retryIdempotentActivationAfterCutover( - () => client.sendRequest('terminal.focus', { terminal, navigation: 'host' }), + () => sessionTerminalFocus.request(client, { terminal, navigation: 'host' }), 'terminal.focus', terminal ) @@ -87,7 +87,7 @@ export function activateMobileSessionTab( params: MobileSessionTabActivationParams ): Promise { return retryIdempotentActivationAfterCutover( - () => client.sendRequest('session.tabs.activate', params), + () => sessionTabActivate.request(client, params), 'session.tabs.activate', params.tabId ) diff --git a/mobile/src/session/mobile-session-tabs-stream-health.ts b/mobile/src/session/mobile-session-tabs-stream-health.ts index 66dfd21ddb3..50fd3f424e2 100644 --- a/mobile/src/session/mobile-session-tabs-stream-health.ts +++ b/mobile/src/session/mobile-session-tabs-stream-health.ts @@ -1,5 +1,6 @@ +import { sessionTabsListRead } from './mobile-session-read-operations' import type { RpcClient } from '../transport/rpc-client' -import type { RpcFailure, RpcSuccess } from '../transport/types' +import type { RpcFailure } from '../transport/types' export type SessionTabsApplyOutcome = | { accepted: false } @@ -255,7 +256,7 @@ export class MobileSessionTabsStreamHealth { private async runRequest(owner: RequestOwner): Promise { try { this.options.onFetchStarted?.() - const response = await this.options.client.sendRequest('session.tabs.list', { + const response = await sessionTabsListRead.request(this.options.client, { worktree: this.options.scope }) if (!this.isCurrentGeneration(owner.generation)) { @@ -267,7 +268,8 @@ export class MobileSessionTabsStreamHealth { } return false } - const result = (response as RpcSuccess).result as Result + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the snapshot's shape is the owner's type parameter, which no module-level reader can name. + const result = sessionTabsListRead.interpret(response) as Result if (owner.barrier !== this.barrier) { return false } diff --git a/mobile/src/session/mobile-session-write-operations.ts b/mobile/src/session/mobile-session-write-operations.ts new file mode 100644 index 00000000000..2f45b4a1f6d --- /dev/null +++ b/mobile/src/session/mobile-session-write-operations.ts @@ -0,0 +1,133 @@ +import { bindDeferredRpcOperation, defineRpcOperation } from '../transport/rpc-operation' +import { rpcReadUnchecked, rpcUncheckedPayloadReader } from '../transport/rpc-reader-payload' +import { isTerminalSendResultAccepted } from '../terminal/terminal-send-rpc-response' +import { quickCommandsReader } from './mobile-session-read-operations' + +// The session screen's writes: terminal input from native chat and the image surfaces, the tab +// strip's rename/close/activate, the markdown tab save and the quick-command save. +// The `subscribe` and `sendUnsubscribe` ports these files sit next to are a separate boundary and +// are untouched here. + +/** + * A terminal write whose whole meaning is whether the runtime took the bytes. Native chat, the two + * image paste paths and the stop key all read exactly this and treat a refusal, a non-object result + * and an unaccepted one as the same "not delivered" — which is what `object-result-or-null` says, + * and the only policy that turns an unreadable result into a verdict instead of a throw. + * + * Separate from `terminalInputSend` despite the identical policy and reader: that family is the + * query-reply responder and the live accessory, and these callers differ in what a *lost* reply + * means. Here a drop is delivery-unknown and must not be retried, so the two keep their own names + * and their own recorded families rather than sharing one. + */ +export const nativeChatTerminalWrite = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'terminal.native-chat-write', + method: 'terminal.send', + acceptance: 'object-result-or-null', + barrier: 'after-caller-barrier', + read: (raw) => rpcReadUnchecked('terminal-send-accepted', isTerminalSendResultAccepted(raw)) + }) +) + +/** Renaming a terminal. The reply body is unread: only acceptance decides whether the strip keeps + * the new title, and a refusal leaves the server title to the next refresh. */ +export const sessionTerminalRename = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'terminal.rename', + method: 'terminal.rename', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('terminal-renamed') + }) +) + +/** Closing a terminal. Same skip policy for the same reason: a refused close must not prune the + * local list, because the pane is still there. */ +export const sessionTerminalClose = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'terminal.close', + method: 'terminal.close', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('terminal-closed') + }) +) + +/** Closing a session tab, with the same accepted-or-leave-it-alone rule as the two above. */ +export const sessionTabClose = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'session.tabs-close', + method: 'session.tabs.close', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('session-tab-closed') + }) +) + +/** + * Focusing a terminal and activating a session tab. Both are sent through the cutover retry, which + * logs the envelope's own `ok` and `error.code` and hands the raw reply back to its caller, so + * neither is interpreted here — the acceptance is declared for the callers that eventually read a + * verdict rather than the diagnostics. + */ +export const sessionTerminalFocus = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'terminal.focus', + method: 'terminal.focus', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('terminal-focused') + }) +) + +export const sessionTabActivate = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'session.tabs-activate', + method: 'session.tabs.activate', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('session-tab-activated') + }) +) + +/** + * Writing the review notes and the per-file review state onto the worktree record. Both call sites + * raise the host's message on a refusal and roll their optimistic list back, so the message has to + * survive; the reply body is never read. + * + * Kept separate from source-control's `worktree.set-review-link` even though the two configs match + * today: `worktree.set` is a partial update, and these two sites write disjoint members. Sharing one + * operation would let a change to the link save's acceptance or params reach the review screen's + * rollback path, and the host list's pin write already proves this method carries no single policy. + */ +export const sessionWorktreeNotesWrite = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'worktree.set-review-notes', + method: 'worktree.set', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('worktree-notes-written') + }) +) + +/** The save leg. Its reply is the canonical document, and a refusal is shown on the tab. */ +export const markdownTabSave = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'markdown.save-tab', + method: 'markdown.saveTab', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('markdown-tab-doc') + }) +) + +/** The save leg's reply is the canonical list, read exactly as the load leg reads it. */ +export const quickCommandsWrite = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'settings.quick-commands-write', + method: 'settings.updateTerminalQuickCommands', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: quickCommandsReader + }) +) diff --git a/mobile/src/session/mobile-structured-agent-session-cancel.ts b/mobile/src/session/mobile-structured-agent-session-cancel.ts index 9c67e7480d0..f144accc2e7 100644 --- a/mobile/src/session/mobile-structured-agent-session-cancel.ts +++ b/mobile/src/session/mobile-structured-agent-session-cancel.ts @@ -61,7 +61,10 @@ export async function requestMobileStructuredAgentSessionCancel(args: { fields, clientOperationId }) - if (result.status !== 'unknown') { + // Cancel's plan recovers no unknown ledger row, so an id the host answered that + // way earns the same refusal until it expires; keeping it leaves Stop unusable. + // Transport doubt proves nothing about delivery, so it stays a replay. + if (result.status !== 'unknown' || result.hostReportedOperationUnknown === true) { operationIds.delete(key) } if (result.status === 'accepted') { diff --git a/mobile/src/session/mobile-structured-agent-session-launch.ts b/mobile/src/session/mobile-structured-agent-session-launch.ts index bd15e595736..8a35f7499ec 100644 --- a/mobile/src/session/mobile-structured-agent-session-launch.ts +++ b/mobile/src/session/mobile-structured-agent-session-launch.ts @@ -12,6 +12,10 @@ import { import { TUI_AGENT_DISPLAY_NAMES } from '../../../src/shared/tui-agent-display-names' import { hasRuntimeRpcErrorCode } from '../../../src/shared/runtime-rpc-error-code' import type { RpcClient } from '../transport/rpc-client' +import { + structuredAgentSessionCreate, + structuredAgentSupportProbe +} from './mobile-session-launch-operations' import { structuredSessionRandomUuid } from './mobile-structured-agent-session-rpc' type StructuredCreateSupport = { @@ -82,7 +86,7 @@ export async function createMobileStructuredAgentSession( let supportResponse for (let attempt = 0; ; attempt += 1) { try { - supportResponse = await client.sendRequest('agentSession.createSupport', { worktree, agent }) + supportResponse = await structuredAgentSupportProbe.request(client, { worktree, agent }) } catch (error) { const retryDelayMs = CREATE_SUPPORT_RETRY_DELAYS_MS[attempt] if ( @@ -120,14 +124,14 @@ export async function createMobileStructuredAgentSession( const params = createParamsFor(agent, worktree) let response try { - response = await client.sendRequest('agentSession.create', params, { + response = await structuredAgentSessionCreate.request(client, params, { timeoutMs: 15_000, budgetSpansConnect: true }) } catch { // Replay the durable envelope once so a lost acknowledgement cannot create a sibling. try { - response = await client.sendRequest('agentSession.create', params, { + response = await structuredAgentSessionCreate.request(client, params, { timeoutMs: 15_000, budgetSpansConnect: true }) diff --git a/mobile/src/session/mobile-structured-agent-session-rpc.ts b/mobile/src/session/mobile-structured-agent-session-rpc.ts index 279893f6673..4e3861a058e 100644 --- a/mobile/src/session/mobile-structured-agent-session-rpc.ts +++ b/mobile/src/session/mobile-structured-agent-session-rpc.ts @@ -22,7 +22,11 @@ export type StructuredAgentSessionMutationCallResult = | { status: 'accepted'; value: TValue } | { status: 'refused'; code: AgentSessionWireRefusalCode; message: string } | { status: 'failed'; message: string } - | { status: 'unknown' } + /** `hostReportedOperationUnknown` separates a host answer about the id from doubt + * about the effect. Whether that id can still be retried is the method's own + * question: a plan that recovers an unknown ledger row replays or reruns it, one + * that does not refuses the same id until the row expires. */ + | { status: 'unknown'; hostReportedOperationUnknown?: true } export type StructuredAgentSessionMutationResult = | { status: 'accepted'; value: TValue; sameFence: boolean } @@ -169,7 +173,7 @@ export async function requestStructuredAgentSessionMutation(args: { (method === 'agentSession.cancel' || method === 'agentSession.conversationCommand') && result.refusal.code === 'agent_session_operation_unknown' ) { - return { status: 'unknown' } + return { status: 'unknown', hostReportedOperationUnknown: true } } return result.ok ? { status: 'accepted', value: result.value } diff --git a/mobile/src/session/mobile-structured-operation-id-retirement.test.ts b/mobile/src/session/mobile-structured-operation-id-retirement.test.ts new file mode 100644 index 00000000000..6c8b50e33b8 --- /dev/null +++ b/mobile/src/session/mobile-structured-operation-id-retirement.test.ts @@ -0,0 +1,133 @@ +import { describe, expect, it, vi } from 'vitest' +import type { StructuredAgentSessionState } from '../../../src/shared/structured-agent-session-reducer' +import type { RpcClient } from '../transport/rpc-client' +import { markRpcDeliveryUnknown } from '../transport/rpc-delivery-ambiguity' +import { requestMobileStructuredAgentSessionCancel } from './mobile-structured-agent-session-cancel' +import { requestStructuredAgentSessionMutation } from './mobile-structured-agent-session-rpc' + +type SentParams = { envelope: { clientOperationId: string } } + +function operationRefusedAsUnknown() { + return { + ok: true, + result: { + ok: false, + refusal: { + code: 'agent_session_operation_unknown', + message: 'The outcome of operation X is unknown; it was not run again.' + } + }, + _meta: { runtimeId: 'runtime-1' } + } +} + +function fakeClient( + sendRequest: (method: string, params: SentParams) => Promise +): RpcClient { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: both paths under test reach only `sendRequest`. + return { sendRequest } as unknown as RpcClient +} + +function runningState(): StructuredAgentSessionState { + const state = { + fence: 3, + items: [ + { + itemId: 'status-1', + revision: 1, + sequence: 1, + observedAt: 10, + body: { + kind: 'status', + text: 'Working', + turnLifecycle: { turnId: 'turn-1', state: 'running' } + } + } + ] + } + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: cancel reads only the fence and the running turn. + return state as unknown as StructuredAgentSessionState +} + +function cancelArgs(client: RpcClient, operationIds: Map) { + return { + client, + sessionId: 'session-1', + enabled: true, + stateRef: { current: runningState() }, + sessionKey: 'key-1', + operationIds, + promptCancelSupported: null, + onSendError: vi.fn() + } +} + +describe('structured mutation id retirement', () => { + it('marks a host answer about the id apart from doubt about the effect', async () => { + const result = await requestStructuredAgentSessionMutation({ + client: fakeClient(async () => operationRefusedAsUnknown()), + method: 'agentSession.cancel', + fingerprintMethod: 'agentSession.cancel', + sessionId: 'session-1', + expectedRuntimeFence: 3, + fields: { turnId: 'turn-1' }, + clientOperationId: `1900000000000-${'a'.repeat(32)}` + }) + + expect(result).toEqual({ status: 'unknown', hostReportedOperationUnknown: true }) + }) + + it('leaves the id replayable when only the transport was in doubt', async () => { + const result = await requestStructuredAgentSessionMutation({ + client: fakeClient(async () => { + throw markRpcDeliveryUnknown(new Error('Connection closed')) + }), + method: 'agentSession.cancel', + fingerprintMethod: 'agentSession.cancel', + sessionId: 'session-1', + expectedRuntimeFence: 3, + fields: { turnId: 'turn-1' }, + clientOperationId: `1900000000000-${'b'.repeat(32)}` + }) + + expect(result).toEqual({ status: 'unknown' }) + }) +}) + +describe('structured Stop after an unknown outcome', () => { + it('retries under a fresh id once the host has answered about the previous one', async () => { + const sent: string[] = [] + const client = fakeClient(async (_method, params) => { + sent.push(params.envelope.clientOperationId) + return operationRefusedAsUnknown() + }) + const operationIds = new Map() + const args = cancelArgs(client, operationIds) + + await requestMobileStructuredAgentSessionCancel(args) + await requestMobileStructuredAgentSessionCancel(args) + + expect(sent).toHaveLength(2) + // Reusing it earns the same refusal until the row expires, leaving Stop unusable. + expect(sent[1]).not.toBe(sent[0]) + expect(operationIds.size).toBe(0) + }) + + it('replays the same id when the host never answered', async () => { + const sent: string[] = [] + const client = fakeClient(async (_method, params) => { + sent.push(params.envelope.clientOperationId) + throw markRpcDeliveryUnknown(new Error('Connection closed')) + }) + const operationIds = new Map() + const args = cancelArgs(client, operationIds) + + await requestMobileStructuredAgentSessionCancel(args) + await requestMobileStructuredAgentSessionCancel(args) + + expect(sent).toHaveLength(2) + // Nothing proves the first Stop missed, so the retry must stay a replay. + expect(sent[1]).toBe(sent[0]) + expect(operationIds.size).toBe(1) + }) +}) diff --git a/mobile/src/session/mobile-terminal-viewport-resubscribe.ts b/mobile/src/session/mobile-terminal-viewport-resubscribe.ts index 8ad3c99c13e..175eb9d92b8 100644 --- a/mobile/src/session/mobile-terminal-viewport-resubscribe.ts +++ b/mobile/src/session/mobile-terminal-viewport-resubscribe.ts @@ -79,6 +79,9 @@ export function shouldResubscribeAfterViewportMeasure(args: { return args.hostCols !== args.measured.cols || args.hostRows !== args.measured.rows } +/** Reference-identity token for a resubscribe attempt; carries no data, only compared by `===`. */ +type RetryGenerationToken = Readonly> + /** Per-handle resubscribe budget, mirroring the chat-side rearm bound: attempts * refill only when the handle actually left terminal.list and came back. A * still-listed non-converging handle re-funded on every list refresh would undo @@ -87,7 +90,7 @@ export class TerminalViewportResubscribeBudget { private readonly attemptsByHandle = new Map() private readonly absentSinceExhaustion = new Set() private readonly announcedExhaustion = new Set() - private readonly retryGenerationByHandle = new Map() + private readonly retryGenerationByHandle = new Map() attempts(handle: string): number { return this.attemptsByHandle.get(handle) ?? 0 @@ -97,17 +100,17 @@ export class TerminalViewportResubscribeBudget { this.attemptsByHandle.set(handle, this.attempts(handle) + 1) } - retryGeneration(handle: string): object { + retryGeneration(handle: string): RetryGenerationToken { const existing = this.retryGenerationByHandle.get(handle) if (existing) { return existing } - const generation = {} + const generation: RetryGenerationToken = {} this.retryGenerationByHandle.set(handle, generation) return generation } - isRetryGenerationCurrent(handle: string, generation: object): boolean { + isRetryGenerationCurrent(handle: string, generation: RetryGenerationToken): boolean { return this.retryGenerationByHandle.get(handle) === generation } diff --git a/mobile/src/session/pr-ai-triage-launch.ts b/mobile/src/session/pr-ai-triage-launch.ts index 6d6c0bbc8b2..87f0f264946 100644 --- a/mobile/src/session/pr-ai-triage-launch.ts +++ b/mobile/src/session/pr-ai-triage-launch.ts @@ -1,42 +1,46 @@ -import type { RpcClient } from '../transport/rpc-client' -import { - readMobileReviewCreatedTerminal, - readMobileReviewTerminalSendAccepted -} from './mobile-diff-review-rpc' +import { refusedRpcMessageOrFallback } from '../transport/rpc-refusal-message' +import { reviewTerminalCreateRun, reviewTerminalSendRun } from './mobile-review-terminal-operations' +import type { RpcOperationSender } from '../transport/rpc-operation-sender' // Pure launch path for the PR triage actions ("Fix checks with AI" / "Resolve // conflicts with AI"). Reuses the same two RPCs the diff-review send flow uses — // session.tabs.createTerminal then terminal.send — so the prompt is dropped into a -// fresh agent terminal in the worktree. There is no higher-level agent-composer RPC -// on mobile, so this createTerminal+send pair is the launch mechanism. Kept free of -// react-native imports so it stays unit-testable in the node test environment. +// fresh agent terminal in the worktree. Kept free of react-native imports so it +// stays unit-testable in the node test environment. export async function createTerminalAndSendPrompt( - client: Pick, + client: RpcOperationSender, worktreeId: string, prompt: string ): Promise { - const created = await client.sendRequest('session.tabs.createTerminal', { + // Each request is awaited outside its catch so a transport drop propagates as the original + // error object; only a refusal is rewritten into the step's own copy. + const createdReply = await reviewTerminalCreateRun.request(client, { worktree: `id:${worktreeId}`, activate: false, select: true, navigation: 'caller' }) - if (!created.ok) { - throw new Error(created.error?.message || 'Failed to create terminal') + let terminalTab + try { + terminalTab = reviewTerminalCreateRun.interpret(createdReply) + } catch (error) { + throw new Error(refusedRpcMessageOrFallback(error, 'Failed to create terminal')) } - const terminalTab = readMobileReviewCreatedTerminal(created.result) if (!terminalTab) { throw new Error('Created terminal response was invalid') } - const sent = await client.sendRequest('terminal.send', { + const sentReply = await reviewTerminalSendRun.request(client, { terminal: terminalTab.terminal, text: prompt, enter: true }) - if (!sent.ok) { - throw new Error(sent.error?.message || 'Failed to send prompt') + let accepted + try { + accepted = reviewTerminalSendRun.interpret(sentReply) + } catch (error) { + throw new Error(refusedRpcMessageOrFallback(error, 'Failed to send prompt')) } - if (!readMobileReviewTerminalSendAccepted(sent.result)) { + if (!accepted) { throw new Error('Terminal input is locked') } } diff --git a/mobile/src/session/use-mobile-diff-review-comment-actions.ts b/mobile/src/session/use-mobile-diff-review-comment-actions.ts index 730f1e83354..d49350f1519 100644 --- a/mobile/src/session/use-mobile-diff-review-comment-actions.ts +++ b/mobile/src/session/use-mobile-diff-review-comment-actions.ts @@ -3,6 +3,8 @@ import type { DiffComment, MobileDiffReviewState } from '../../../src/shared/dif import { triggerError, triggerSuccess } from '../platform/haptics' import type { ConnectionState } from '../transport/types' import type { RpcClient } from '../transport/rpc-client' +import { interpretOrThrowRefusalMessage } from '../transport/rpc-refusal-message' +import { sessionWorktreeNotesWrite } from './mobile-session-write-operations' import { addMobileDiffComment, removeMobileDiffComments } from './mobile-diff-comments' import { updateMobileDiffComment } from './mobile-diff-comment-edit' import { @@ -66,14 +68,15 @@ export function useMobileDiffReviewCommentActions(input: CommentActionsInput) { if (!client || connState !== 'connected') { throw new Error('Waiting for desktop...') } - const response = await client.sendRequest('worktree.set', { + const response = await sessionWorktreeNotesWrite.request(client, { worktree: `id:${worktreeId}`, - diffComments: comments, + diffComments: [...comments], mobileDiffReview: reviewState }) - if (!response.ok) { - throw new Error(response.error?.message || 'Failed to save review state') - } + interpretOrThrowRefusalMessage( + () => sessionWorktreeNotesWrite.interpret(response), + 'Failed to save review state' + ) }, [client, connState, worktreeId] ) diff --git a/mobile/src/session/use-mobile-diff-review-git-actions.ts b/mobile/src/session/use-mobile-diff-review-git-actions.ts index 9ddcda0487d..a3aa6cc060d 100644 --- a/mobile/src/session/use-mobile-diff-review-git-actions.ts +++ b/mobile/src/session/use-mobile-diff-review-git-actions.ts @@ -1,6 +1,11 @@ import { useCallback, type Dispatch, type SetStateAction } from 'react' import type { ConnectionState } from '../transport/types' import type { RpcClient } from '../transport/rpc-client' +import { interpretOrThrowRefusalMessage } from '../transport/rpc-refusal-message' +import { + MOBILE_DIFF_REVIEW_GIT_MUTATIONS, + reviewGitStageRun +} from './mobile-diff-review-git-operations' import { triggerError, triggerSuccess } from '../platform/haptics' import type { MobileDiffReviewQueueItem } from './mobile-diff-review-queue' import type { GitMutationMethod } from './mobile-diff-review-screen-model' @@ -29,13 +34,15 @@ export function useMobileDiffReviewGitActions(input: GitActionsInput) { setBusyAction(`${method}:${item.filePath}`) setActionError(null) try { - const response = await client.sendRequest(method, { + const mutation = MOBILE_DIFF_REVIEW_GIT_MUTATIONS[method] + const response = await mutation.request(client, { worktree: `id:${worktreeId}`, filePath: item.filePath }) - if (!response.ok) { - throw new Error(response.error?.message || 'Source control action failed') - } + interpretOrThrowRefusalMessage( + () => mutation.interpret(response), + 'Source control action failed' + ) triggerSuccess() await loadReviewData() } catch (err) { @@ -64,11 +71,13 @@ export function useMobileDiffReviewGitActions(input: GitActionsInput) { let staged = 0 let failed = 0 for (const item of files) { - const response = await client.sendRequest('git.stage', { - worktree: `id:${worktreeId}`, - filePath: item.filePath - }) - if (response.ok) { + const response = reviewGitStageRun.interpret( + await reviewGitStageRun.request(client, { + worktree: `id:${worktreeId}`, + filePath: item.filePath + }) + ) + if (response.accepted) { staged += 1 } else { failed += 1 diff --git a/mobile/src/session/use-mobile-diff-review-interactions.ts b/mobile/src/session/use-mobile-diff-review-interactions.ts index 079874933e2..161048fc9ce 100644 --- a/mobile/src/session/use-mobile-diff-review-interactions.ts +++ b/mobile/src/session/use-mobile-diff-review-interactions.ts @@ -15,6 +15,8 @@ import type { ReviewScreenState, SendSheetState } from './mobile-diff-review-screen-model' +import { sourceFileDiffOpenRun } from '../source-control/mobile-source-file-open-operations' +import { refusedRpcMessageOrFallback } from '../transport/rpc-refusal-message' import { useMobileDiffReviewCommentActions } from './use-mobile-diff-review-comment-actions' import { useMobileDiffReviewGitActions } from './use-mobile-diff-review-git-actions' import { useMobileDiffReviewSendActions } from './use-mobile-diff-review-send-actions' @@ -182,13 +184,15 @@ export function useMobileDiffReviewInteractions(input: InteractionInput) { if (!client || !currentItem || currentItem.scope === 'branch') { return } - const response = await client.sendRequest('files.openDiff', { + const response = await sourceFileDiffOpenRun.request(client, { worktree: `id:${worktreeId}`, relativePath: currentItem.filePath, staged: currentItem.scope === 'staged' }) - if (!response.ok) { - setActionError(response.error?.message || 'Unable to open in session') + try { + sourceFileDiffOpenRun.interpret(response) + } catch (error) { + setActionError(refusedRpcMessageOrFallback(error, 'Unable to open in session')) return } onOpenSession() diff --git a/mobile/src/session/use-mobile-diff-review-send-actions.ts b/mobile/src/session/use-mobile-diff-review-send-actions.ts index 40423f95664..cf061c47e9f 100644 --- a/mobile/src/session/use-mobile-diff-review-send-actions.ts +++ b/mobile/src/session/use-mobile-diff-review-send-actions.ts @@ -7,10 +7,11 @@ import { triggerSuccess } from '../platform/haptics' import { formatDiffComments, formatMobileDiffReviewPrompt } from './mobile-diff-comments' import { clearSentMobileDiffComments, markMobileDiffCommentsSent } from './mobile-diff-comment-edit' import { - readMobileReviewCreatedTerminal, - readMobileReviewTerminalSendAccepted, - readMobileReviewTerminalTabs -} from './mobile-diff-review-rpc' + reviewTerminalCreateRun, + reviewTerminalListRead, + reviewTerminalSendRun +} from './mobile-review-terminal-operations' +import { interpretOrThrowRefusalMessage } from '../transport/rpc-refusal-message' import { healMobileNativeChatStaleInput } from './mobile-native-chat-stale-input' import type { ReviewScreenState, SendSheetState } from './mobile-diff-review-screen-model' @@ -80,15 +81,17 @@ export function useMobileDiffReviewSendActions(input: SendActionsInput) { if (!(await healMobileNativeChatStaleInput({ client, terminal, deviceToken: null }))) { throw new Error('Failed to send notes') } - const response = await client.sendRequest('terminal.send', { + const response = await reviewTerminalSendRun.request(client, { terminal, text: formatMobileDiffReviewPrompt(comments), enter: true }) - if (!response.ok) { - throw new Error(response.error?.message || 'Failed to send notes') - } - if (!readMobileReviewTerminalSendAccepted(response.result)) { + let accepted + accepted = interpretOrThrowRefusalMessage( + () => reviewTerminalSendRun.interpret(response), + 'Failed to send notes' + ) + if (!accepted) { throw new Error('Terminal input is locked') } await markNotesSent(comments) @@ -104,16 +107,17 @@ export function useMobileDiffReviewSendActions(input: SendActionsInput) { if (!client || connState !== 'connected') { throw new Error('Waiting for desktop...') } - const response = await client.sendRequest('session.tabs.createTerminal', { + const response = await reviewTerminalCreateRun.request(client, { worktree: `id:${worktreeId}`, activate: false, select: true, navigation: 'caller' }) - if (!response.ok) { - throw new Error(response.error?.message || 'Failed to create terminal') - } - const created = readMobileReviewCreatedTerminal(response.result) + let created + created = interpretOrThrowRefusalMessage( + () => reviewTerminalCreateRun.interpret(response), + 'Failed to create terminal' + ) if (!created) { throw new Error('Created terminal response was invalid') } @@ -129,13 +133,15 @@ export function useMobileDiffReviewSendActions(input: SendActionsInput) { } setSendSheet({ kind: 'loading' }) try { - const response = await client.sendRequest('session.tabs.list', { + const response = await reviewTerminalListRead.request(client, { worktree: `id:${worktreeId}` }) - if (!response.ok) { - throw new Error(response.error?.message || 'Unable to load agent sessions') - } - setSendSheet({ kind: 'ready', terminals: readMobileReviewTerminalTabs(response.result) }) + let terminals + terminals = interpretOrThrowRefusalMessage( + () => reviewTerminalListRead.interpret(response), + 'Unable to load agent sessions' + ) + setSendSheet({ kind: 'ready', terminals }) } catch (err) { setSendSheet({ kind: 'error', diff --git a/mobile/src/session/use-mobile-file-tap-handlers.ts b/mobile/src/session/use-mobile-file-tap-handlers.ts index 5bfe71f839b..9c3019f3073 100644 --- a/mobile/src/session/use-mobile-file-tap-handlers.ts +++ b/mobile/src/session/use-mobile-file-tap-handlers.ts @@ -1,12 +1,12 @@ import { useCallback, useLayoutEffect, useRef, type MutableRefObject } from 'react' import { useRouter } from 'expo-router' import { triggerSelection } from '../platform/haptics' -import type { RpcClient } from '../transport/rpc-client' import { openMobileFileTap, type FileTapSessionTab } from './mobile-file-tap-open' import { openMobileNativeChatFileTap } from './mobile-native-chat-open-file' +import type { RpcOperationSender } from '../transport/rpc-operation-sender' type MobileFileTapHandlerOptions = { - client: Pick | null + client: RpcOperationSender | null hostId: string worktreeId: string worktreeName?: string diff --git a/mobile/src/session/use-mobile-native-chat-file-search.ts b/mobile/src/session/use-mobile-native-chat-file-search.ts index 53df98e3ee0..5cd97e04830 100644 --- a/mobile/src/session/use-mobile-native-chat-file-search.ts +++ b/mobile/src/session/use-mobile-native-chat-file-search.ts @@ -1,18 +1,22 @@ import { useCallback, useEffect, useRef, useState } from 'react' import type { RpcClient } from '../transport/rpc-client' +import { + nativeChatFileInventoryRead, + nativeChatFileSearchRead +} from './mobile-session-read-operations' import { rankSuggestions } from './mobile-native-chat-autocomplete' +function extractPaths(files: unknown): string[] { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + return ((files as { relativePath?: string }[] | undefined) ?? []) + .map((file) => file.relativePath ?? '') + .filter((path): path is string => path.length > 0) +} + const FILE_SEARCH_DEBOUNCE_MS = 120 const FILE_SEARCH_RESULT_LIMIT = 16 const FILE_SEARCH_QUERY_CACHE_LIMIT = 20 -function extractPaths(result: unknown): string[] { - const files = (result as { files?: Array<{ relativePath?: string }> }).files ?? [] - return files - .map((file) => file.relativePath ?? '') - .filter((path): path is string => path.length > 0) -} - /** Debounces current-host path searches, bounds the mobile result/cache, and * falls back to the legacy one-time full list when paired to an older host. */ export function useMobileNativeChatFileSearch(args: { @@ -88,13 +92,14 @@ export function useMobileNativeChatFileSearch(args: { const loadLegacyPaths = async (): Promise => { if (!legacyPathsRef.current) { if (!legacyLoadRef.current) { - const request = client - .sendRequest('files.list', { worktree: `id:${worktreeId}` }) + const request = nativeChatFileInventoryRead + .request(client, { worktree: `id:${worktreeId}` }) .then((response) => { - if (!response.ok || generationRef.current !== generation) { + const accepted = nativeChatFileInventoryRead.interpret(response) + if (!accepted.accepted || generationRef.current !== generation) { return null } - const paths = extractPaths(response.result) + const paths = extractPaths(accepted.value) legacyPathsRef.current = paths return paths }) @@ -122,17 +127,20 @@ export function useMobileNativeChatFileSearch(args: { await loadLegacyPaths() return } - const response = await client.sendRequest('files.searchPaths', { + const response = await nativeChatFileSearchRead.request(client, { worktree: `id:${worktreeId}`, query: normalizedQuery, limit: FILE_SEARCH_RESULT_LIMIT }) - if (response.ok) { + const accepted = nativeChatFileSearchRead.interpret(response) + if (accepted.accepted) { searchSupportedRef.current = true - applyPaths(extractPaths(response.result)) + applyPaths(extractPaths(accepted.value)) return } - if (response.error.code === 'method_not_found') { + // Why the raw refusal: `method_not_found` is what makes the composer fall back to the + // full inventory, and no acceptance policy carries a code. + if (!response.ok && response.error.code === 'method_not_found') { searchSupportedRef.current = false await loadLegacyPaths() } diff --git a/mobile/src/session/use-mobile-native-chat-readability.ts b/mobile/src/session/use-mobile-native-chat-readability.ts index e3729022d38..167e70f832f 100644 --- a/mobile/src/session/use-mobile-native-chat-readability.ts +++ b/mobile/src/session/use-mobile-native-chat-readability.ts @@ -1,10 +1,13 @@ import { useEffect, useState } from 'react' import type { RpcClient } from '../transport/rpc-client' +import { + nativeChatRepoListRead, + type MobileRuntimeRepoSummary +} from './mobile-session-read-operations' import { isFloatingWorkspaceWorktreeId } from './floating-workspace' import { isMobileNativeChatTranscriptReadable } from './mobile-native-chat-eligibility' import { getRepoIdFromMobileWorktreeId } from './mobile-session-route-helpers' -type RepoSummary = { id: string; connectionId?: string | null } type ReadabilityState = { client: RpcClient | null; worktreeId: string; readable: boolean } export function useMobileNativeChatReadability( @@ -27,14 +30,16 @@ export function useMobileNativeChatReadability( setState({ client, worktreeId, readable: false }) return } - void client - .sendRequest('repo.list') + void nativeChatRepoListRead + .request(client) .then((response) => { if (!active) { return } - const repos = response.ok - ? ((response.result as { repos?: RepoSummary[] }).repos ?? []) + const accepted = nativeChatRepoListRead.interpret(response) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const repos = accepted.accepted + ? ((accepted.value as MobileRuntimeRepoSummary[]) ?? []) : [] const repoId = getRepoIdFromMobileWorktreeId(worktreeId) const repo = repos.find((candidate) => candidate.id === repoId) diff --git a/mobile/src/session/use-mobile-native-chat-stop.ts b/mobile/src/session/use-mobile-native-chat-stop.ts index 69d2d8e73e8..6cfbc327dfb 100644 --- a/mobile/src/session/use-mobile-native-chat-stop.ts +++ b/mobile/src/session/use-mobile-native-chat-stop.ts @@ -2,7 +2,7 @@ import { useCallback, useEffect, useRef, type MutableRefObject } from 'react' import type { RpcClient } from '../transport/rpc-client' import { isRpcDeliveryUnknown } from '../transport/rpc-delivery-ambiguity' import { isLogicalClientCutoverError } from '../transport/stable-logical-rpc-client' -import { isTerminalSendRpcAccepted } from '../terminal/terminal-send-rpc-response' +import { nativeChatTerminalWrite } from './mobile-session-write-operations' import { reportWorkerTerminalUserInput } from '../terminal/worker-terminal-takeover-report' import { openMobileNativeChatSendBudget } from './mobile-native-chat-send' @@ -94,9 +94,9 @@ export function useMobileNativeChatStop(args: { reportIfSettled() return } - void client - .sendRequest( - 'terminal.send', + void nativeChatTerminalWrite + .request( + client, { terminal: handle, text: String.fromCharCode(27), @@ -110,7 +110,7 @@ export function useMobileNativeChatStop(args: { { timeoutMs, budgetSpansConnect: true } ) .then((response) => { - if (isTerminalSendRpcAccepted(response)) { + if (nativeChatTerminalWrite.interpret(response) === true) { sawAccepted = true // A deliberate Stop is human input; it takes the worker over like any other key. reportWorkerTerminalUserInput(client, handle) diff --git a/mobile/src/session/use-mobile-pr-actions.ts b/mobile/src/session/use-mobile-pr-actions.ts index 51c06e529c0..c7413189640 100644 --- a/mobile/src/session/use-mobile-pr-actions.ts +++ b/mobile/src/session/use-mobile-pr-actions.ts @@ -10,6 +10,7 @@ import { fetchUpdatePRState } from './github-pr-mutations' import type { GitHubPrRepoSlug } from './github-pr-rpc' +import type { RpcOperationSender } from '../transport/rpc-operation-sender' import { PrActionsEngine, type PrActionMutations, type PrActionBusyKey } from './pr-actions-engine' export type { PrActionBusyKey, PrActionMutations } from './pr-actions-engine' @@ -26,10 +27,7 @@ export type PrActionsInput = { mutations?: PrActionMutations } -function realMutations( - client: Pick, - worktreeId: string -): PrActionMutations { +function realMutations(client: RpcOperationSender, worktreeId: string): PrActionMutations { return { mergePR: (args) => fetchMergePR(client, worktreeId, args), setPRAutoMerge: (args) => fetchSetPRAutoMerge(client, worktreeId, args), diff --git a/mobile/src/session/use-mobile-pr-branch-context.ts b/mobile/src/session/use-mobile-pr-branch-context.ts index d0816b02f71..7c67ded6ecf 100644 --- a/mobile/src/session/use-mobile-pr-branch-context.ts +++ b/mobile/src/session/use-mobile-pr-branch-context.ts @@ -5,7 +5,7 @@ import type { MobileGitBranchCompareResult } from '../source-control/mobile-bran import type { MobileGitStatusResult } from '../source-control/mobile-git-status' import { resolveMobileBranchCompareBaseRef } from '../source-control/mobile-branch-base-ref' import { fetchGithubRepoSlug } from './github-pr-rpc' -import { readMobileBranchCompareResult, readMobileGitStatusResult } from './mobile-diff-review-rpc' +import { branchContextCompareRead, branchContextStatusRead } from './mobile-diff-review-operations' export type MobilePrBranchContext = { branch: string | null @@ -173,8 +173,9 @@ async function readGitStatus( client: RpcClient, worktreeId: string ): Promise { - const response = await client.sendRequest('git.status', { worktree: `id:${worktreeId}` }) - return response.ok ? readMobileGitStatusResult(response.result) : null + const reply = await branchContextStatusRead.request(client, { worktree: `id:${worktreeId}` }) + const status = branchContextStatusRead.interpret(reply) + return status.accepted ? status.value : null } async function readBranchCompare( @@ -187,9 +188,10 @@ async function readBranchCompare( if (!baseRef) { return null } - const response = await client.sendRequest('git.branchCompare', { + const reply = await branchContextCompareRead.request(client, { worktree: `id:${worktreeId}`, baseRef }) - return response.ok ? readMobileBranchCompareResult(response.result) : null + const compared = branchContextCompareRead.interpret(reply) + return compared.accepted ? compared.value : null } diff --git a/mobile/src/session/use-mobile-pr-comment-actions.ts b/mobile/src/session/use-mobile-pr-comment-actions.ts index 187dc32dbdb..abcd957d815 100644 --- a/mobile/src/session/use-mobile-pr-comment-actions.ts +++ b/mobile/src/session/use-mobile-pr-comment-actions.ts @@ -3,6 +3,7 @@ import type { PRComment } from '../../../src/shared/github/comment-types' import type { ConnectionState } from '../transport/types' import type { RpcClient } from '../transport/rpc-client' import type { GitHubPrRepoSlug } from './github-pr-rpc' +import type { RpcOperationSender } from '../transport/rpc-operation-sender' import { fetchAddIssueComment, fetchAddPRReviewCommentReply, @@ -69,10 +70,7 @@ export type PrCommentActionsInput = { mutations?: PrCommentMutations } -function realMutations( - client: Pick, - worktreeId: string -): PrCommentMutations { +function realMutations(client: RpcOperationSender, worktreeId: string): PrCommentMutations { return { reply: (args) => fetchAddPRReviewCommentReply(client, worktreeId, args), resolveThread: (args) => fetchResolveReviewThread(client, worktreeId, args), diff --git a/mobile/src/session/use-mobile-pr-title-action.ts b/mobile/src/session/use-mobile-pr-title-action.ts index bcf8d8ea96e..f4281302579 100644 --- a/mobile/src/session/use-mobile-pr-title-action.ts +++ b/mobile/src/session/use-mobile-pr-title-action.ts @@ -2,6 +2,7 @@ import { useCallback, useMemo, useRef, useState } from 'react' import type { ConnectionState } from '../transport/types' import type { RpcClient } from '../transport/rpc-client' import type { GitHubPrRepoSlug } from './github-pr-rpc' +import type { RpcOperationSender } from '../transport/rpc-operation-sender' import { fetchUpdatePRTitle, type GitHubPrMutationOutcome } from './github-pr-mutations' import { triggerError, triggerSuccess } from '../platform/haptics' import { buildUpdatePRTitleParams } from './pr-title-edit' @@ -27,10 +28,7 @@ export type PrTitleActionInput = { mutations?: PrTitleMutations } -function realMutations( - client: Pick, - worktreeId: string -): PrTitleMutations { +function realMutations(client: RpcOperationSender, worktreeId: string): PrTitleMutations { return { updateTitle: (args) => fetchUpdatePRTitle(client, worktreeId, args) } diff --git a/mobile/src/session/use-mobile-session-close-actions.ts b/mobile/src/session/use-mobile-session-close-actions.ts index c2ff6825b0a..98f9f6cbc7a 100644 --- a/mobile/src/session/use-mobile-session-close-actions.ts +++ b/mobile/src/session/use-mobile-session-close-actions.ts @@ -1,3 +1,8 @@ +import { + sessionTabClose, + sessionTerminalClose, + sessionTerminalRename +} from './mobile-session-write-operations' import type { MobileSessionTab, Terminal } from './mobile-session-route-types' import type { MobileSessionContentCreateActionsModel } from './use-mobile-session-content-create-actions' @@ -39,11 +44,10 @@ export function useMobileSessionCloseActions(scope: MobileSessionContentCreateAc try { const title = value.trim() - const response = await client.sendRequest('terminal.rename', { - terminal: target.handle, - title - }) - if (response.ok) { + const response = sessionTerminalRename.interpret( + await sessionTerminalRename.request(client, { terminal: target.handle, title }) + ) + if (response.accepted) { setTerminals((prev) => { const next = prev.map((terminal) => terminal.handle === target.handle @@ -66,10 +70,10 @@ export function useMobileSessionCloseActions(scope: MobileSessionContentCreateAc } try { - const response = await client.sendRequest('terminal.close', { - terminal: target.handle - }) - if (response.ok) { + const response = sessionTerminalClose.interpret( + await sessionTerminalClose.request(client, { terminal: target.handle }) + ) + if (response.accepted) { unsubscribeTerminal(target.handle) terminalRefs.current.delete(target.handle) initializedHandlesRef.current.delete(target.handle) @@ -97,14 +101,16 @@ export function useMobileSessionCloseActions(scope: MobileSessionContentCreateAc return } try { - const response = await client.sendRequest('session.tabs.close', { - worktree: `id:${worktreeId}`, - tabId: tab.id, - // Why: a tapped tab close is explicit user intent; older hosts strip - // the unknown field and keep their legacy behavior. - reason: 'user' - }) - if (response.ok) { + const response = sessionTabClose.interpret( + await sessionTabClose.request(client, { + worktree: `id:${worktreeId}`, + tabId: tab.id, + // Why: a tapped tab close is explicit user intent; older hosts strip + // the unknown field and keep their legacy behavior. + reason: 'user' + }) + ) + if (response.accepted) { const remainingTabs = sessionTabsRef.current.filter((candidate) => candidate.id !== tab.id) reconcileBufferedDraftsRef.current(sessionTabsRef.current, remainingTabs) if (tab.type === 'browser' && tab.browserPageId === pendingBrowserFocusPageIdRef.current) { diff --git a/mobile/src/session/use-mobile-session-content-create-actions.ts b/mobile/src/session/use-mobile-session-content-create-actions.ts index f9980d379ba..1812e2cf122 100644 --- a/mobile/src/session/use-mobile-session-content-create-actions.ts +++ b/mobile/src/session/use-mobile-session-content-create-actions.ts @@ -1,10 +1,28 @@ -import type { RpcFailure, RpcSuccess } from '../transport/types' import { normalizeBrowserUrl } from '../browser/browser-url' import { captureMobileFileMutationOwnership } from '../files/mobile-file-mutation-ownership' +import { + browserGoBack, + browserGoForward, + browserReload +} from '../browser/mobile-browser-command-operations' +import { sourceFileOpenRun } from '../source-control/mobile-source-file-open-operations' +import { + sessionBrowserTabCreate, + sessionMarkdownNoteCreate +} from './mobile-session-launch-operations' +import { interpretOrThrowRefusalMessage } from '../transport/rpc-refusal-message' +import type { MobileBrowserNavigationMethod } from './MobileBrowserTabActionSheet' import { isFileExistsErrorMessage } from './mobile-session-route-helpers' import type { MobileSessionTab } from './mobile-session-route-types' import type { MobileSessionTerminalCreateActionsModel } from './use-mobile-session-terminal-create-actions' +/** The tab sheet names the method it wants; each one is a separate operation on the same policy. */ +const BROWSER_NAVIGATION_COMMANDS = { + 'browser.back': browserGoBack, + 'browser.forward': browserGoForward, + 'browser.reload': browserReload +} as const + export function useMobileSessionContentCreateActions( scope: MobileSessionTerminalCreateActionsModel ) { @@ -37,27 +55,25 @@ export function useMobileSessionContentCreateActions( const mutationOwnership = await captureMobileFileMutationOwnership(client, worktree) for (let attempt = 1; attempt <= 100; attempt += 1) { const relativePath = attempt === 1 ? 'untitled.md' : `untitled-${attempt}.md` - const createResponse = await client.sendRequest( - 'files.createFile', + const createResponse = await sessionMarkdownNoteCreate.request( + client, { worktree, relativePath, ...mutationOwnership }, { timeoutMs: 15_000 } ) if (!createResponse.ok) { - const message = (createResponse as RpcFailure).error.message + const message = createResponse.error.message if (isFileExistsErrorMessage(message) && attempt < 100) { continue } throw new Error(message || 'Failed to create markdown note') } - const openResponse = await client.sendRequest( - 'files.open', + const openResponse = await sourceFileOpenRun.request( + client, { worktree, relativePath }, { timeoutMs: 15_000 } ) - if (!openResponse.ok) { - throw new Error((openResponse as RpcFailure).error.message) - } + interpretOrThrowRefusalMessage(() => sourceFileOpenRun.interpret(openResponse), '') scheduleDelayedAction(() => void fetchSessionTabs(), 300) return } @@ -91,8 +107,8 @@ export function useMobileSessionContentCreateActions( setCreatingBrowser(true) setCreateError('') try { - const response = await client.sendRequest( - 'browser.tabCreate', + const response = await sessionBrowserTabCreate.request( + client, { worktree: `id:${worktreeId}`, url, @@ -101,11 +117,12 @@ export function useMobileSessionContentCreateActions( }, { timeoutMs: 30_000 } ) - if (!response.ok) { - throw new Error((response as RpcFailure).error.message) - } + const created = interpretOrThrowRefusalMessage( + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: main cast this payload unread; the reader hands it back whole. + () => sessionBrowserTabCreate.interpret(response) as { browserPageId?: string }, + '' + ) // Focus the new browser tab once it syncs; refresh a few times since the desktop registers the tab asynchronously. - const created = (response as RpcSuccess).result as { browserPageId?: string } if (created.browserPageId) { pendingBrowserFocusPageIdRef.current = created.browserPageId } @@ -127,24 +144,23 @@ export function useMobileSessionContentCreateActions( async function handleBrowserNavigationCommand( tab: Extract, - method: 'browser.back' | 'browser.forward' | 'browser.reload' + method: MobileBrowserNavigationMethod ) { if (!client || !tab.browserPageId) { showToast('Browser page is not available yet.', 1500) return } try { - const response = await client.sendRequest( - method, + const command = BROWSER_NAVIGATION_COMMANDS[method] + const response = await command.request( + client, { worktree: `id:${worktreeId}`, page: tab.browserPageId }, { timeoutMs: 15_000 } ) - if (!response.ok) { - throw new Error((response as RpcFailure).error.message) - } + interpretOrThrowRefusalMessage(() => command.interpret(response), '') scheduleDelayedAction(() => void fetchSessionTabs(), 250) } catch (err) { const message = err instanceof Error ? err.message : 'Browser command failed' diff --git a/mobile/src/session/use-mobile-session-diff-comments.ts b/mobile/src/session/use-mobile-session-diff-comments.ts index e66db92a955..59350d51d00 100644 --- a/mobile/src/session/use-mobile-session-diff-comments.ts +++ b/mobile/src/session/use-mobile-session-diff-comments.ts @@ -1,6 +1,8 @@ import { useEffect, useCallback } from 'react' import * as Clipboard from 'expo-clipboard' -import type { RpcFailure, RpcSuccess } from '../transport/types' +import { interpretOrThrowRefusalMessage } from '../transport/rpc-refusal-message' +import { sessionWorktreeNotesRead } from './mobile-session-read-operations' +import { sessionWorktreeNotesWrite } from './mobile-session-write-operations' import { triggerSelection, triggerSuccess, triggerError } from '../platform/haptics' import { addMobileDiffComment, @@ -30,16 +32,15 @@ export function useMobileSessionDiffComments(scope: MobileSessionDocumentReaders setDiffComments([]) return } - const response = await client.sendRequest('worktree.show', { - worktree: `id:${worktreeId}` - }) - if (!response.ok) { + const response = sessionWorktreeNotesRead.interpret( + await sessionWorktreeNotesRead.request(client, { worktree: `id:${worktreeId}` }) + ) + if (!response.accepted) { return } - const result = (response as RpcSuccess).result as { - worktree?: { diffComments?: unknown } - } - setDiffComments(normalizeMobileDiffComments(result.worktree?.diffComments, worktreeId)) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: main cast this member unread; the reader hands back the same `worktree` value. + const worktree = response.value as { diffComments?: unknown } | undefined + setDiffComments(normalizeMobileDiffComments(worktree?.diffComments, worktreeId)) }, [client, connState, worktreeId, isFloatingWorkspaceRoute]) const persistDiffComments = useCallback( @@ -47,13 +48,14 @@ export function useMobileSessionDiffComments(scope: MobileSessionDocumentReaders if (!client || connState !== 'connected') { throw new Error('Waiting for desktop...') } - const response = await client.sendRequest('worktree.set', { + const response = await sessionWorktreeNotesWrite.request(client, { worktree: `id:${worktreeId}`, - diffComments: comments + diffComments: [...comments] }) - if (!response.ok) { - throw new Error((response as RpcFailure).error.message || 'Failed to save review notes') - } + interpretOrThrowRefusalMessage( + () => sessionWorktreeNotesWrite.interpret(response), + 'Failed to save review notes' + ) }, [client, connState, worktreeId] ) diff --git a/mobile/src/session/use-mobile-session-document-readers.ts b/mobile/src/session/use-mobile-session-document-readers.ts index dbf78b1a45a..6f68a649876 100644 --- a/mobile/src/session/use-mobile-session-document-readers.ts +++ b/mobile/src/session/use-mobile-session-document-readers.ts @@ -1,6 +1,8 @@ import { useCallback } from 'react' -import type { RpcFailure, RpcSuccess } from '../transport/types' +import type { RpcFailure } from '../transport/types' import { resolveMobileFileTabDoc } from '../files/mobile-file-tab-doc' +import { filePreviewTextRead } from '../files/mobile-file-preview-operations' +import { markdownTabRead } from './mobile-session-read-operations' import { buildMarkdownDiskFallbackDoc, shouldReadMarkdownFromDiskAfterReadTabFailure @@ -17,12 +19,13 @@ export function useMobileSessionDocumentReaders(scope: MobileSessionTabApplicati } setMarkdownDocs((prev) => new Map(prev).set(tab.id, { status: 'loading' })) try { - const response = await client.sendRequest('markdown.readTab', { + const response = await markdownTabRead.request(client, { worktree: `id:${worktreeId}`, tabId: tab.id }) if (response.ok) { - const result = (response as RpcSuccess).result as { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = markdownTabRead.interpret(response) as { content: string version: string isDirty: boolean @@ -47,14 +50,17 @@ export function useMobileSessionDocumentReaders(scope: MobileSessionTabApplicati throw new Error((response as RpcFailure).error.message) } // Why: a headless host fails markdown.readTab (renderer_unavailable); fall back to the on-disk file for read-only render. - const fallback = await client.sendRequest('files.read', { - worktree: `id:${worktreeId}`, - relativePath: tab.relativePath - }) - if (!fallback.ok) { + const fallback = filePreviewTextRead.interpret( + await filePreviewTextRead.request(client, { + worktree: `id:${worktreeId}`, + relativePath: tab.relativePath + }) + ) + if (!fallback.accepted) { throw new Error('Unable to read markdown') } - const fileResult = (fallback as RpcSuccess).result as { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: main cast this payload unread; the shared preview reader hands it back whole. + const fileResult = fallback.value as { content: string truncated: boolean byteLength: number diff --git a/mobile/src/session/use-mobile-session-markdown-actions.ts b/mobile/src/session/use-mobile-session-markdown-actions.ts index 50b6dbd7b29..70726dc4be7 100644 --- a/mobile/src/session/use-mobile-session-markdown-actions.ts +++ b/mobile/src/session/use-mobile-session-markdown-actions.ts @@ -1,7 +1,7 @@ import { useEffect, useCallback } from 'react' import { BackHandler, Keyboard } from 'react-native' import * as Clipboard from 'expo-clipboard' -import type { RpcFailure, RpcSuccess } from '../transport/types' +import { markdownTabSave } from './mobile-session-write-operations' import { triggerSuccess, triggerError } from '../platform/haptics' import type { DirtyMarkdownDraft, MobileSessionTab } from './mobile-session-route-types' import type { MobileSessionDiffCommentsModel } from './use-mobile-session-diff-comments' @@ -138,16 +138,14 @@ export function useMobileSessionMarkdownActions(scope: MobileSessionDiffComments return new Map(prev).set(tab.id, { ...existing, saving: true, saveError: undefined }) }) try { - const response = await client.sendRequest('markdown.saveTab', { + const response = await markdownTabSave.request(client, { worktree: `id:${worktreeId}`, tabId: tab.id, baseVersion: current.baseVersion, content: current.localContent }) - if (!response.ok) { - throw new Error((response as RpcFailure).error.message) - } - const result = (response as RpcSuccess).result as { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = markdownTabSave.interpret(response) as { content: string version: string isDirty: false diff --git a/mobile/src/session/use-mobile-session-terminal-list.ts b/mobile/src/session/use-mobile-session-terminal-list.ts index 105677533de..b479c02f60f 100644 --- a/mobile/src/session/use-mobile-session-terminal-list.ts +++ b/mobile/src/session/use-mobile-session-terminal-list.ts @@ -1,12 +1,12 @@ import { useRef, useCallback, useEffect, useMemo } from 'react' -import type { RpcSuccess } from '../transport/types' +import { sessionTerminalListRead } from './mobile-session-read-operations' +import type { Terminal } from './mobile-session-route-types' import { mergeTerminalListWithKnownRecords, terminalRecordsEqual } from './mobile-terminal-records' import { createTerminalPrunePredicate, pruneTerminalKeyboardMetrics, resolveRetainedTerminalHandles } from './mobile-terminal-prune-decision' -import type { Terminal } from './mobile-session-route-types' import type { MobileSessionTerminalStreamDisplayModel } from './use-mobile-session-terminal-stream-display' import { MobileTerminalInventoryRequest } from './mobile-terminal-inventory-request' import type { MobileTerminalInventoryRefreshOptions } from './use-mobile-terminal-inventory-recovery' @@ -54,14 +54,17 @@ export function useMobileSessionTerminalList(scope: MobileSessionTerminalStreamD allowEmptyLoaded, async (allowsEmpty, isCurrent) => { try { - const response = await client.sendRequest('terminal.list', { - worktree: `id:${worktreeId}`, - includeVisualLayouts: false - }) - if (!isCurrent() || !response.ok) { + const response = sessionTerminalListRead.interpret( + await sessionTerminalListRead.request(client, { + worktree: `id:${worktreeId}`, + includeVisualLayouts: false + }) + ) + if (!isCurrent() || !response.accepted) { return false } - const result = (response as RpcSuccess).result as { terminals: Terminal[] } + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = response.value as { terminals: Terminal[] } if (result.terminals.length === 0 && !allowsEmpty()) { return true } diff --git a/mobile/src/session/use-quick-commands.ts b/mobile/src/session/use-quick-commands.ts index 6537551be7a..4000a5205ce 100644 --- a/mobile/src/session/use-quick-commands.ts +++ b/mobile/src/session/use-quick-commands.ts @@ -1,14 +1,26 @@ import { useCallback, useEffect, useRef, useState } from 'react' import type { RpcClient } from '../transport/rpc-client' import { isLogicalClientCutoverError } from '../transport/stable-logical-rpc-client' -import type { RpcFailure, RpcResponse, RpcSuccess } from '../transport/types' +import { + interpretOrThrowRefusalMessage, + refusedRpcMessageOrFallback +} from '../transport/rpc-refusal-message' +import type { RpcResponse } from '../transport/types' import type { TerminalQuickCommand } from '../../../src/shared/terminal-quick-command-types' +import { quickCommandsRead } from './mobile-session-read-operations' +import { quickCommandsWrite } from './mobile-session-write-operations' import { applyTerminalQuickCommandMutation, parseNormalizedTerminalQuickCommands, type TerminalQuickCommandMutation } from '../terminal/quick-commands' +function readQuickCommands(result: unknown): TerminalQuickCommand[] | null { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const list = (result as { terminalQuickCommands?: unknown } | null)?.terminalQuickCommands + return parseNormalizedTerminalQuickCommands(list) +} + type Args = { client: RpcClient | null // Fetch only while the sheet is open — quick commands are settings data we @@ -39,11 +51,6 @@ type MutationContext = { nextMutationId: number } -function readQuickCommands(result: unknown): TerminalQuickCommand[] | null { - const list = (result as { terminalQuickCommands?: unknown } | null)?.terminalQuickCommands - return parseNormalizedTerminalQuickCommands(list) -} - const LOAD_CUTOVER_MAX_RETRIES = 5 // Why: opening the sheet right after connecting over relay races the relay→direct @@ -55,7 +62,7 @@ async function loadQuickCommandsWithCutoverRetry( ): Promise { for (let migrationRetry = 0; ; migrationRetry += 1) { try { - return await client.sendRequest('settings.getTerminalQuickCommands') + return await quickCommandsRead.request(client) } catch (error) { if ( cancelled() || @@ -129,11 +136,13 @@ export function useQuickCommands({ client, enabled }: Args): QuickCommandsState ) { return } - if (!response.ok) { - setError((response as RpcFailure).error.message || 'Failed to load quick commands') + let next + try { + next = readQuickCommands(quickCommandsRead.interpret(response)) + } catch (err) { + setError(refusedRpcMessageOrFallback(err, 'Failed to load quick commands')) return } - const next = readQuickCommands((response as RpcSuccess).result) if (!next) { setError('Failed to load quick commands') return @@ -189,15 +198,14 @@ export function useQuickCommands({ client, enabled }: Args): QuickCommandsState let succeeded = false let failureMessage: string | null = null try { - const response = await client.sendRequest('settings.updateTerminalQuickCommands', { + const response = await quickCommandsWrite.request(client, { mutation: commandMutation }) - if (!response.ok) { - throw new Error( - (response as RpcFailure).error.message || 'Failed to save quick command' - ) - } - const confirmed = readQuickCommands((response as RpcSuccess).result) + let confirmed + confirmed = interpretOrThrowRefusalMessage( + () => readQuickCommands(quickCommandsWrite.interpret(response)), + 'Failed to save quick command' + ) if (!confirmed) { // Why: treating an invalid success payload as [] would let the next // full-list mutation erase commands that still exist on the host. diff --git a/mobile/src/settings/native-voice-settings-operations.ts b/mobile/src/settings/native-voice-settings-operations.ts index 12903c72b85..b2e05a35831 100644 --- a/mobile/src/settings/native-voice-settings-operations.ts +++ b/mobile/src/settings/native-voice-settings-operations.ts @@ -7,9 +7,7 @@ import { } from '../dictation/mobile-dictation-setup' import type { VoiceSettingsOperations } from './voice-settings-operations' -export function nativeVoiceSettingsOperations( - client: Pick -): VoiceSettingsOperations { +export function nativeVoiceSettingsOperations(client: RpcClient): VoiceSettingsOperations { return { load: () => fetchDictationSetup(client), configure: (params) => setDictationConfig(client, params), diff --git a/mobile/src/source-control/mobile-branch-base-ref.ts b/mobile/src/source-control/mobile-branch-base-ref.ts index 4daa111c3d2..ed1c1bc8584 100644 --- a/mobile/src/source-control/mobile-branch-base-ref.ts +++ b/mobile/src/source-control/mobile-branch-base-ref.ts @@ -1,7 +1,7 @@ import { refusedRpcMessageOrFallback } from '../transport/rpc-refusal-message' import { isMobileGitUnavailableReply } from './mobile-git-status' import { repoBaseRefListRead, repoDefaultBaseRefRead } from './mobile-repo-base-ref-operations' -import type { MobileSourceControlRpcSender } from './mobile-source-control-rpc-sender' +import type { RpcOperationSender } from '../transport/rpc-operation-sender' import { worktreeSummaryRead } from './mobile-worktree-metadata-operations' function getRepoIdFromMobileWorktreeId(id: string): string { @@ -10,7 +10,7 @@ function getRepoIdFromMobileWorktreeId(id: string): string { } export async function resolveMobileBranchCompareBaseRef( - client: MobileSourceControlRpcSender, + client: RpcOperationSender, worktreeId: string ): Promise { const repoId = getRepoIdFromMobileWorktreeId(worktreeId) diff --git a/mobile/src/source-control/mobile-commit-message-ai.ts b/mobile/src/source-control/mobile-commit-message-ai.ts index 17bcce4bab1..a0c4d29751e 100644 --- a/mobile/src/source-control/mobile-commit-message-ai.ts +++ b/mobile/src/source-control/mobile-commit-message-ai.ts @@ -4,14 +4,14 @@ import { gitGenerateCommitMessageRun, type MobileGenerateCommitMessageResult } from './mobile-git-mutation-operations' -import type { MobileSourceControlRpcSender } from './mobile-source-control-rpc-sender' +import type { RpcOperationSender } from '../transport/rpc-operation-sender' export type { MobileGenerateCommitMessageResult } // A refusal or a malformed payload collapses to { success:false } so the caller never has to // special-case either; the operation's reader owns the payload half of that. export async function requestMobileCommitMessage( - client: MobileSourceControlRpcSender, + client: RpcOperationSender, worktreeId: string ): Promise { const reply = await gitGenerateCommitMessageRun.request(client, { @@ -28,7 +28,7 @@ export async function requestMobileCommitMessage( } export async function cancelMobileCommitMessage( - client: MobileSourceControlRpcSender, + client: RpcOperationSender, worktreeId: string ): Promise { const reply = await gitCancelGenerateCommitMessageRun.request(client, { diff --git a/mobile/src/source-control/mobile-git-history.ts b/mobile/src/source-control/mobile-git-history.ts index 7a9c0479a58..53795b63b44 100644 --- a/mobile/src/source-control/mobile-git-history.ts +++ b/mobile/src/source-control/mobile-git-history.ts @@ -1,7 +1,7 @@ import type { GitHistoryItem, GitHistoryResult } from '../../../src/shared/git-history-types' import { refusedRpcMessageOrFallback } from '../transport/rpc-refusal-message' import { gitHistoryRead } from './mobile-git-read-operations' -import type { MobileSourceControlRpcSender } from './mobile-source-control-rpc-sender' +import type { RpcOperationSender } from '../transport/rpc-operation-sender' export type MobileCommitRow = { id: string @@ -58,7 +58,7 @@ export function mapMobileCommitRows(result: GitHistoryResult, nowMs: number): Mo } export async function fetchMobileGitHistory( - client: MobileSourceControlRpcSender, + client: RpcOperationSender, worktreeId: string, limit = 50 ): Promise { diff --git a/mobile/src/source-control/mobile-git-read-operations.ts b/mobile/src/source-control/mobile-git-read-operations.ts index 3b815f3eb5b..ff9af96f6f2 100644 --- a/mobile/src/source-control/mobile-git-read-operations.ts +++ b/mobile/src/source-control/mobile-git-read-operations.ts @@ -29,7 +29,8 @@ export const gitStatusHostPayloadRead = bindDeferredRpcOperation( }) ) -const gitStatusProjectionReader: RpcCompatibleReader< +/** Shared with the session's branch-context read, which wants the same projection under a skip. */ +export const gitStatusProjectionReader: RpcCompatibleReader< unknown, 'normalized-status', MobileGitStatusResult | null diff --git a/mobile/src/source-control/mobile-hosted-review-create-intent-runner.ts b/mobile/src/source-control/mobile-hosted-review-create-intent-runner.ts index 26087d34541..2188b3aa51d 100644 --- a/mobile/src/source-control/mobile-hosted-review-create-intent-runner.ts +++ b/mobile/src/source-control/mobile-hosted-review-create-intent-runner.ts @@ -10,7 +10,7 @@ import { prepareMobileHostedReviewCreateIntent, type MobileHostedReviewCreateIntentProgress } from './mobile-hosted-review-create-intent' -import type { MobileSourceControlRpcSender } from './mobile-source-control-rpc-sender' +import type { RpcOperationSender } from '../transport/rpc-operation-sender' type RunInput = { branch: string @@ -47,7 +47,7 @@ export function isMobileHostedReviewCommitFailure( } export async function runMobileHostedReviewCreateIntent( - client: MobileSourceControlRpcSender, + client: RpcOperationSender, worktreeId: string, input: RunInput ): Promise { diff --git a/mobile/src/source-control/mobile-hosted-review-create-intent.ts b/mobile/src/source-control/mobile-hosted-review-create-intent.ts index f056e1eeaab..0fde60e89e3 100644 --- a/mobile/src/source-control/mobile-hosted-review-create-intent.ts +++ b/mobile/src/source-control/mobile-hosted-review-create-intent.ts @@ -9,7 +9,7 @@ import { stageMobileHostedReviewPaths } from './mobile-hosted-review-git-preparation' import { applyMobileHostedReviewRemotePrerequisite } from './mobile-hosted-review-remote-prerequisite' -import type { MobileSourceControlRpcSender } from './mobile-source-control-rpc-sender' +import type { RpcOperationSender } from '../transport/rpc-operation-sender' export type MobileHostedReviewCreateIntentProgress = | 'staging' @@ -71,7 +71,7 @@ function hasUnresolvedConflicts(status: MobileGitStatusResult | null): boolean { } async function resolvePrefillFromStatus( - client: MobileSourceControlRpcSender, + client: RpcOperationSender, worktreeId: string, branch: string, title: string, @@ -85,7 +85,7 @@ async function resolvePrefillFromStatus( } async function ensureLocalChangesCommitted( - client: MobileSourceControlRpcSender, + client: RpcOperationSender, worktreeId: string, input: PrepareInput, currentStatus: MobileGitStatusResult | null @@ -184,7 +184,7 @@ async function ensureLocalChangesCommitted( } export async function prepareMobileHostedReviewCreateIntent( - client: MobileSourceControlRpcSender, + client: RpcOperationSender, worktreeId: string, input: PrepareInput ): Promise { diff --git a/mobile/src/source-control/mobile-hosted-review-git-preparation.ts b/mobile/src/source-control/mobile-hosted-review-git-preparation.ts index 518a8724254..3c7414a6f2f 100644 --- a/mobile/src/source-control/mobile-hosted-review-git-preparation.ts +++ b/mobile/src/source-control/mobile-hosted-review-git-preparation.ts @@ -7,7 +7,7 @@ import type { RpcResponse } from '../transport/types' import { gitBulkStageRun, gitCommitRun, gitPushRun } from './mobile-git-mutation-operations' import { gitStatusProjectionRead } from './mobile-git-read-operations' import type { MobileGitStatusResult } from './mobile-git-status' -import type { MobileSourceControlRpcSender } from './mobile-source-control-rpc-sender' +import type { RpcOperationSender } from '../transport/rpc-operation-sender' export type MobileHostedReviewStatusReadResult = | { ok: true; status: MobileGitStatusResult | null } @@ -16,7 +16,7 @@ export type MobileHostedReviewStatusReadResult = export type MobileHostedReviewMutationResult = { ok: true } | { ok: false; error: string } export async function readMobileHostedReviewGitStatus( - client: MobileSourceControlRpcSender, + client: RpcOperationSender, worktreeId: string ): Promise { const reply = await gitStatusProjectionRead.request(client, { worktree: `id:${worktreeId}` }) @@ -63,7 +63,7 @@ async function settleMobileHostedReviewMutation( } export function pushMobileHostedReviewBranch( - client: MobileSourceControlRpcSender, + client: RpcOperationSender, params: RpcSendParams<'git.push'>, fallback: string ): Promise { @@ -75,7 +75,7 @@ export function pushMobileHostedReviewBranch( } export function stageMobileHostedReviewPaths( - client: MobileSourceControlRpcSender, + client: RpcOperationSender, worktreeId: string, filePaths: string[] ): Promise { @@ -87,7 +87,7 @@ export function stageMobileHostedReviewPaths( } export async function commitMobileHostedReviewStagedChanges( - client: MobileSourceControlRpcSender, + client: RpcOperationSender, worktreeId: string, message: string ): Promise { diff --git a/mobile/src/source-control/mobile-hosted-review-remote-prerequisite.ts b/mobile/src/source-control/mobile-hosted-review-remote-prerequisite.ts index 8ddbd344069..f21e0694504 100644 --- a/mobile/src/source-control/mobile-hosted-review-remote-prerequisite.ts +++ b/mobile/src/source-control/mobile-hosted-review-remote-prerequisite.ts @@ -2,7 +2,7 @@ import type { MobileGitStatusResult } from './mobile-git-status' import type { MobileHostedReviewCreateIntentProgress } from './mobile-hosted-review-create-intent' import type { MobilePrPrefill } from './mobile-pr-create' import { pushMobileHostedReviewBranch } from './mobile-hosted-review-git-preparation' -import type { MobileSourceControlRpcSender } from './mobile-source-control-rpc-sender' +import type { RpcOperationSender } from '../transport/rpc-operation-sender' type RemotePrerequisiteInput = { status: MobileGitStatusResult | null @@ -10,7 +10,7 @@ type RemotePrerequisiteInput = { } export async function applyMobileHostedReviewRemotePrerequisite( - client: MobileSourceControlRpcSender, + client: RpcOperationSender, worktreeId: string, prefill: MobilePrPrefill, input: RemotePrerequisiteInput diff --git a/mobile/src/source-control/mobile-hosted-review-service.ts b/mobile/src/source-control/mobile-hosted-review-service.ts index 56d53031873..80d76ac893a 100644 --- a/mobile/src/source-control/mobile-hosted-review-service.ts +++ b/mobile/src/source-control/mobile-hosted-review-service.ts @@ -15,7 +15,7 @@ import { } from './mobile-hosted-review-operations' import { pushMobileHostedReviewBranch } from './mobile-hosted-review-git-preparation' import { linkMobileHostedReview } from './mobile-pr-link' -import type { MobileSourceControlRpcSender } from './mobile-source-control-rpc-sender' +import type { RpcOperationSender } from '../transport/rpc-operation-sender' // The mobile worktree id is `${repoId}::${path}`; hosted-review RPCs expect the // repo selector separately, matching the desktop/runtime hosted-review service. @@ -37,7 +37,7 @@ export type MobileHostedReviewEligibilityInput = { } export async function fetchMobileHostedReviewEligibility( - client: MobileSourceControlRpcSender, + client: RpcOperationSender, worktreeId: string, input: MobileHostedReviewEligibilityInput ): Promise { @@ -78,7 +78,7 @@ export type MobileHostedReviewPrefill = { // service desktop uses. If eligibility is unavailable, return a blocked prefill // instead of inventing a provider/base locally. export async function resolveMobileHostedReviewPrefill( - client: MobileSourceControlRpcSender, + client: RpcOperationSender, worktreeId: string, args: { branch: string | undefined @@ -182,7 +182,7 @@ const PUSH_BEFORE_CREATE_ERROR = 'Push failed. Resolve the push error, then try // Why the host's own message is discarded here: the compose form shows one actionable line for // every push failure, refusal and transport drop alike. async function pushMobileBranchBeforeCreate( - client: MobileSourceControlRpcSender, + client: RpcOperationSender, worktreeId: string ): Promise<{ ok: true } | { ok: false; error: string }> { const pushed = await pushMobileHostedReviewBranch( @@ -209,7 +209,7 @@ function formatMobileHostedReviewCreateError( } async function finishMobileHostedReviewCreateSuccess( - client: MobileSourceControlRpcSender, + client: RpcOperationSender, worktreeId: string, input: MobileHostedReviewCreateInput, result: { number: number; url: string }, @@ -231,7 +231,7 @@ async function finishMobileHostedReviewCreateSuccess( } export async function createMobileHostedReview( - client: MobileSourceControlRpcSender, + client: RpcOperationSender, worktreeId: string, input: MobileHostedReviewCreateInput ): Promise { diff --git a/mobile/src/source-control/mobile-pr-link.ts b/mobile/src/source-control/mobile-pr-link.ts index 351d534218b..5e525689055 100644 --- a/mobile/src/source-control/mobile-pr-link.ts +++ b/mobile/src/source-control/mobile-pr-link.ts @@ -1,7 +1,7 @@ import type { RpcSendParams } from '../transport/rpc-params-contract' import { refusedRpcMessageOrFallback } from '../transport/rpc-refusal-message' import type { HostedReviewProvider } from '../../../src/shared/hosted-review' -import type { MobileSourceControlRpcSender } from './mobile-source-control-rpc-sender' +import type { RpcOperationSender } from '../transport/rpc-operation-sender' import { worktreeLinkSet, worktreeSummaryRead } from './mobile-worktree-metadata-operations' // Link / unlink review metadata via worktree.set (the same path desktop uses). @@ -51,7 +51,7 @@ export function buildWorktreeSetHostedReviewLinkParams( * host sent no message, while a transport drop surfaces its own message verbatim. */ async function setWorktreeReviewLink( - client: MobileSourceControlRpcSender, + client: RpcOperationSender, params: RpcSendParams<'worktree.set'>, fallback: string ): Promise { @@ -70,7 +70,7 @@ async function setWorktreeReviewLink( } export function linkMobilePr( - client: MobileSourceControlRpcSender, + client: RpcOperationSender, worktreeId: string, prNumber: number ): Promise { @@ -82,7 +82,7 @@ export function linkMobilePr( } export async function linkMobileHostedReview( - client: MobileSourceControlRpcSender, + client: RpcOperationSender, worktreeId: string, provider: HostedReviewProvider, number: number, @@ -98,7 +98,7 @@ export async function linkMobileHostedReview( } export function unlinkMobilePr( - client: MobileSourceControlRpcSender, + client: RpcOperationSender, worktreeId: string ): Promise { return setWorktreeReviewLink( @@ -111,7 +111,7 @@ export function unlinkMobilePr( // Reads the worktree's persisted linkedPR so the sidebar can surface a linked PR even when it's // closed/merged and the branch-based lookup returns nothing. Null when unset or on any failure. export async function fetchWorktreeLinkedPR( - client: MobileSourceControlRpcSender, + client: RpcOperationSender, worktreeId: string ): Promise { try { diff --git a/mobile/src/source-control/reveal-mobile-source-control-session-diff.ts b/mobile/src/source-control/reveal-mobile-source-control-session-diff.ts index 7b0c2082c38..1eb80db82a0 100644 --- a/mobile/src/source-control/reveal-mobile-source-control-session-diff.ts +++ b/mobile/src/source-control/reveal-mobile-source-control-session-diff.ts @@ -3,10 +3,10 @@ import { sessionFileTabListRead, type MobileSessionFileTabCandidate } from './mobile-source-file-open-operations' -import type { MobileSourceControlRpcSender } from './mobile-source-control-rpc-sender' +import type { RpcOperationSender } from '../transport/rpc-operation-sender' type Options = { - client: MobileSourceControlRpcSender + client: RpcOperationSender worktreeId: string relativePath: string tabMode: 'diff' | 'edit' diff --git a/mobile/src/tasks/github-project-host-routing-source.test.ts b/mobile/src/tasks/github-project-host-routing-source.test.ts index 7a13aab09a2..5d05f93bd69 100644 --- a/mobile/src/tasks/github-project-host-routing-source.test.ts +++ b/mobile/src/tasks/github-project-host-routing-source.test.ts @@ -1,7 +1,9 @@ -import { readFileSync } from 'node:fs' +import { readFileSync, readdirSync } from 'node:fs' +import { join, relative, resolve } from 'node:path' import { describe, expect, it } from 'vitest' const readSource = (path: string): string => readFileSync(new URL(path, import.meta.url), 'utf8') +const productRoot = resolve(import.meta.dirname, '..') const source = [ readSource('./use-mobile-tasks-project-loading-actions.tsx'), readSource('./use-mobile-tasks-project-workspace-comment-actions.tsx'), @@ -12,41 +14,98 @@ const source = [ readSource('./use-mobile-tasks-project-review-check-actions.tsx'), readSource('./use-mobile-tasks-project-file-merge-actions.tsx') ].join('\n') +const boardOperations = readSource('./mobile-task-project-board-operations.ts') +const itemOperations = [ + readSource('./mobile-task-item-state-operations.ts'), + readSource('./mobile-task-item-comment-operations.ts') +].join('\n') + +/** The operation a board site sends now names the method, so the pin is in two halves: the + * site carries the host or the row identity, and the operation still sends that method. */ +function sendsMethod(operations: string, operation: string, method: string): boolean { + const offset = operations.indexOf(`export const ${operation} =`) + return offset !== -1 && operations.slice(offset, offset + 400).includes(`method: '${method}'`) +} + +/** Every product file that could send a board request. Recorder fixtures are not call sites. */ +function productSources(directory: string): string[] { + return readdirSync(directory, { withFileTypes: true }).flatMap((entry) => { + const path = join(directory, entry.name) + if (entry.isDirectory()) { + return entry.name === 'test-support' ? [] : productSources(path) + } + return /\.tsx?$/.test(entry.name) && !entry.name.includes('.test.') ? [path] : [] + }) +} + +/** + * The board's operations by the method each declares, never by the `githubProject` identifier + * prefix: renaming an operation off that prefix takes it out of a prefix match, so the rename can + * delete the host with this test still green. The method it sends is what routing follows. + */ +function projectOperations(): string[] { + const declarations = [...boardOperations.matchAll(/export const (\w+) =/g)] + return declarations + .filter((declaration, index) => + boardOperations + .slice(declaration.index, declarations[index + 1]?.index ?? boardOperations.length) + .includes("method: 'github.project.") + ) + .map((declaration) => declaration[1]!) +} describe('mobile GitHub Project host routing boundary', () => { it('host-qualifies every Project RPC request', () => { - const calls = [...source.matchAll(/['"](github\.project\.[^'"]+)['"]/g)] - expect(calls.length).toBeGreaterThan(10) - for (const call of calls) { - const request = source.slice(call.index, call.index + 700) - expect(request, `${call[1]} must carry a host`).toMatch(/\bhost\s*:/) + const operations = projectOperations() + expect(operations.length).toBeGreaterThan(10) + const unrouted: string[] = [] + const wired = new Set() + for (const path of productSources(productRoot)) { + const contents = readFileSync(path, 'utf8') + for (const operation of operations) { + for (const call of contents.matchAll(new RegExp(`\\b${operation}\\s*\\.request\\(`, 'g'))) { + wired.add(operation) + if (!/\bhost\s*:/.test(contents.slice(call.index, call.index + 700))) { + unrouted.push(`${relative(productRoot, path)} sends ${operation} with no host`) + } + } + } } + expect(unrouted).toEqual([]) + expect(operations.filter((operation) => !wired.has(operation))).toEqual([]) }) it('pins Project-row PR actions to the row repository identity', () => { const actions = source.slice(source.indexOf('const toggleProjectGitHubReviewThread')) - for (const method of [ - 'github.resolveReviewThread', - 'github.addPRReviewCommentReply', - 'github.addIssueComment', - 'github.requestPRReviewers', - 'github.prChecks', - 'github.rerunPRChecks', - 'github.setPRFileViewed', - 'github.prFileContents', - 'github.addPRReviewComment', - 'github.mergePR' - ]) { - const offset = actions.indexOf(`'${method}'`) + for (const [operation, method] of [ + ['githubReviewThreadResolve', 'github.resolveReviewThread'], + ['githubReviewCommentReplyWrite', 'github.addPRReviewCommentReply'], + ['githubIssueCommentWrite', 'github.addIssueComment'], + ['githubReviewerRequest', 'github.requestPRReviewers'], + ['githubPullRequestChecksRead', 'github.prChecks'], + ['githubPullRequestChecksRerun', 'github.rerunPRChecks'], + ['githubPullRequestFileViewedWrite', 'github.setPRFileViewed'], + ['githubPullRequestFileContentsRead', 'github.prFileContents'], + ['githubReviewCommentWrite', 'github.addPRReviewComment'], + ['githubPullRequestMerge', 'github.mergePR'] + ] as const) { + const offset = actions.indexOf(`${operation}.request(`) expect(offset, `${method} must remain wired in the Project action path`).toBeGreaterThan(-1) expect(actions.slice(offset, offset + 700), `${method} must carry prRepo`).toContain( 'prRepo: projectRowGitHubRepository(row, activeGitHubProjectHost)' ) + expect( + sendsMethod(itemOperations, operation, method), + `${operation} must still send ${method}` + ).toBe(true) } }) it('pins discovery to github.com while pasted URLs supply their parsed host', () => { - expect(source).toContain("'github.project.listAccessible', {\n host: 'github.com'") + expect(source).toContain("githubProjectListRead.request(client, { host: 'github.com' })") + expect( + sendsMethod(boardOperations, 'githubProjectListRead', 'github.project.listAccessible') + ).toBe(true) expect(source).toContain('host: githubProjectHost(parsed.host)') }) }) diff --git a/mobile/src/tasks/mobile-task-item-comment-operations.ts b/mobile/src/tasks/mobile-task-item-comment-operations.ts new file mode 100644 index 00000000000..171de189439 --- /dev/null +++ b/mobile/src/tasks/mobile-task-item-comment-operations.ts @@ -0,0 +1,79 @@ +import { bindDeferredRpcOperation, defineRpcOperation } from '../transport/rpc-operation' +import { rpcUncheckedPayloadReader } from '../transport/rpc-reader-payload' + +// Writing comments and replies on a task item, over all three providers. Every one of these +// answers with an accepted `{ ok, error, comment }` envelope the call site reads itself, and every +// one keeps its own fallback copy for an envelope that carries no error text — so the acceptance +// policy here only decides whether there is an envelope to read at all. + +export const githubIssueCommentWrite = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'github.add-issue-comment', + method: 'github.addIssueComment', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('github-issue-comment') + }) +) + +export const githubReviewCommentWrite = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'github.add-pr-review-comment', + method: 'github.addPRReviewComment', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('github-review-comment') + }) +) + +export const githubReviewCommentReplyWrite = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'github.add-pr-review-comment-reply', + method: 'github.addPRReviewCommentReply', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('github-review-comment-reply') + }) +) + +export const gitlabIssueCommentWrite = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'gitlab.add-issue-comment', + method: 'gitlab.addIssueComment', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('gitlab-issue-comment') + }) +) + +export const gitlabMergeRequestCommentWrite = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'gitlab.add-mr-comment', + method: 'gitlab.addMRComment', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('gitlab-mr-comment') + }) +) + +/** Linear answers with an id rather than a comment, which the sheet turns into a local row. */ +export const linearIssueCommentWrite = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'linear.add-issue-comment', + method: 'linear.addIssueComment', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('linear-issue-comment') + }) +) + +/** Resolving or reopening a review thread. The reply is `true` or the write did not happen. */ +export const githubReviewThreadResolve = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'github.resolve-review-thread', + method: 'github.resolveReviewThread', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('github-review-thread-resolved') + }) +) diff --git a/mobile/src/tasks/mobile-task-item-detail-operations.ts b/mobile/src/tasks/mobile-task-item-detail-operations.ts new file mode 100644 index 00000000000..1b92087ff58 --- /dev/null +++ b/mobile/src/tasks/mobile-task-item-detail-operations.ts @@ -0,0 +1,105 @@ +import { bindDeferredRpcOperation, defineRpcOperation } from '../transport/rpc-operation' +import { rpcUncheckedPayloadReader } from '../transport/rpc-reader-payload' + +// What one task item's detail sheet reads: the provider's own detail payload, the Linear comment +// list beside it, and the label, assignee and workflow-state pickers the sheet opens. Every reply +// here is one the call site only re-typed, so the readers are unchecked. + +export const githubItemDetailRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'github.work-item-details', + method: 'github.workItemDetails', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('github-work-item-details') + }) +) + +export const gitlabItemDetailRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'gitlab.work-item-details', + method: 'gitlab.workItemDetails', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('gitlab-work-item-details') + }) +) + +/** + * One Linear issue. The detail sheet and the sub-issue opener share it: both throw the host's + * message on refusal and both treat an accepted `null` as "not found" with their own copy, which + * is the fallback each keeps at its own site. + */ +export const linearIssueRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'linear.issue-detail', + method: 'linear.getIssue', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('linear-issue') + }) +) + +/** + * The comment list beside a Linear issue, asked in the same group as the issue itself. A refused + * comment read leaves the sheet with no comments rather than failing it, so refusal is a skip — + * which is exactly why the two legs of that group cannot share one policy. + */ +export const linearIssueCommentsRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'linear.issue-comments-or-skip', + method: 'linear.issueComments', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('linear-issue-comments') + }) +) + +export const githubRepoLabelListRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'github.repo-labels', + method: 'github.listLabels', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('github-labels') + }) +) + +export const githubAssignableUserListRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'github.assignable-users', + method: 'github.listAssignableUsers', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('github-assignable-users') + }) +) + +/** + * A Linear team's workflow states, for the status picker. Advisory: a refusal empties the picker + * rather than failing the sheet, so it is a skip. + */ +export const linearTeamStateListRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'linear.team-states-or-skip', + method: 'linear.teamStates', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('linear-team-states') + }) +) + +/** + * The composer's Linear team list, the first of two policies on this method. The composer empties + * its picker on a refusal and stays open; hydration in mobile-task-list-operations.ts cannot + * proceed without the list and surfaces the host's message. One reader serves both. + */ +export const linearComposerTeamListRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'linear.composer-team-list-or-skip', + method: 'linear.listTeams', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('linear-teams') + }) +) diff --git a/mobile/src/tasks/mobile-task-item-state-operations.ts b/mobile/src/tasks/mobile-task-item-state-operations.ts new file mode 100644 index 00000000000..fa09d81bc08 --- /dev/null +++ b/mobile/src/tasks/mobile-task-item-state-operations.ts @@ -0,0 +1,180 @@ +import { bindDeferredRpcOperation, defineRpcOperation } from '../transport/rpc-operation' +import { rpcUncheckedPayloadReader } from '../transport/rpc-reader-payload' + +// The rest of a task item's writes and the PR reads that go with them: creating an item, editing +// its metadata or state, reviewers, checks, file contents and viewed state, and merge. A mutation +// whose reply is lost stays a transport rejection on the promise, so the screen reports the drop +// rather than a failure the host never sent. + +export const githubIssueCreate = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'github.create-issue', + method: 'github.createIssue', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('github-created-issue') + }) +) + +export const gitlabIssueCreate = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'gitlab.create-issue', + method: 'gitlab.createIssue', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('gitlab-created-issue') + }) +) + +/** The composer and the sub-issue field both create through this; each keeps its own copy. */ +export const linearIssueCreate = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'linear.create-issue', + method: 'linear.createIssue', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('linear-created-issue') + }) +) + +export const githubIssueUpdate = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'github.update-issue', + method: 'github.updateIssue', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('github-updated-issue') + }) +) + +export const githubPullRequestUpdate = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'github.update-pull-request', + method: 'github.updatePR', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('github-updated-pull-request') + }) +) + +export const githubPullRequestStateUpdate = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'github.update-pull-request-state', + method: 'github.updatePRState', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('github-updated-pull-request-state') + }) +) + +export const gitlabIssueUpdate = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'gitlab.update-issue', + method: 'gitlab.updateIssue', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('gitlab-updated-issue') + }) +) + +export const gitlabMergeRequestUpdate = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'gitlab.update-merge-request', + method: 'gitlab.updateMR', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('gitlab-updated-merge-request') + }) +) + +export const gitlabMergeRequestStateUpdate = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'gitlab.update-merge-request-state', + method: 'gitlab.updateMRState', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('gitlab-updated-merge-request-state') + }) +) + +export const linearIssueUpdate = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'linear.update-issue', + method: 'linear.updateIssue', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('linear-updated-issue') + }) +) + +export const githubReviewerRequest = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'github.request-pr-reviewers', + method: 'github.requestPRReviewers', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('github-requested-reviewers') + }) +) + +/** Both readers of this reply require an array and raise their own copy otherwise. */ +export const githubPullRequestChecksRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'github.pr-checks', + method: 'github.prChecks', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('github-pr-checks') + }) +) + +export const githubPullRequestChecksRerun = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'github.rerun-pr-checks', + method: 'github.rerunPRChecks', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('github-rerun-pr-checks') + }) +) + +export const githubPullRequestFileContentsRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'github.pr-file-contents', + method: 'github.prFileContents', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('github-pr-file-contents') + }) +) + +/** Syncing one file's viewed state. Like the thread toggle, the reply is `true` or nothing ran. */ +export const githubPullRequestFileViewedWrite = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'github.set-pr-file-viewed', + method: 'github.setPRFileViewed', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('github-pr-file-viewed') + }) +) + +export const githubPullRequestMerge = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'github.merge-pull-request', + method: 'github.mergePR', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('github-merged-pull-request') + }) +) + +export const gitlabMergeRequestMerge = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'gitlab.merge-merge-request', + method: 'gitlab.mergeMR', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('gitlab-merged-merge-request') + }) +) diff --git a/mobile/src/tasks/mobile-task-list-operations.ts b/mobile/src/tasks/mobile-task-list-operations.ts new file mode 100644 index 00000000000..0069cd5f63c --- /dev/null +++ b/mobile/src/tasks/mobile-task-list-operations.ts @@ -0,0 +1,88 @@ +import { bindDeferredRpcOperation, defineRpcOperation } from '../transport/rpc-operation' +import { rpcUncheckedPayloadReader } from '../transport/rpc-reader-payload' + +// What the Tasks list reads to fill itself for a provider, plus the one write that connects a +// Linear account. The per-repo item searches themselves are the Smart picker's operations in +// mobile-task-source-search-operations.ts: the list asks the same methods with the same +// acceptance, so it sends the same operations rather than a second copy. + +/** + * Linear account status for provider hydration, the second of two policies on this method. The + * Tasks screen cannot list Linear issues without knowing the workspace and surfaces the host's + * message; the runtime hydration hook's probe in mobile-task-runtime-operations.ts treats an + * unanswered probe as "not connected" and degrades. One reader serves both. + */ +export const linearAccountStatusRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'linear.account-status', + method: 'linear.status', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('linear-status') + }) +) + +/** + * The team list for a hydrated Linear workspace, the second of two policies on this method. + * Hydration cannot reconcile the saved team selection without it and surfaces the host's message; + * the composer's picker in mobile-task-item-detail-operations.ts empties instead. One reader. + */ +export const linearWorkspaceTeamListRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'linear.workspace-team-list', + method: 'linear.listTeams', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('linear-teams') + }) +) + +/** The GitHub total for the current filter, asked per repo and summed. */ +export const githubWorkItemCountRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'github.work-item-count', + method: 'github.countWorkItems', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('github-work-item-count') + }) +) + +/** The GitLab to-do inbox, which is its own list view rather than a work-item query. */ +export const gitlabTodoListRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'gitlab.todo-list', + method: 'gitlab.todos', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('gitlab-todos') + }) +) + +/** + * Connecting a Linear account with a pasted API key. A refusal is shown in the connect sheet, and + * an accepted reply can still carry a soft `{ ok: false, error }` the sheet raises itself. + */ +export const linearAccountConnect = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'linear.connect-account', + method: 'linear.connect', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('linear-connection') + }) +) + +/** + * A repository's issue-source preference. The screen re-reads the repo list afterwards rather than + * patching its cached copy, so the reply body is not read — only its refusal is. + */ +export const taskRepoPreferenceWrite = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'repo.update-issue-source', + method: 'repo.update', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('repo-updated') + }) +) diff --git a/mobile/src/tasks/mobile-task-project-board-operations.ts b/mobile/src/tasks/mobile-task-project-board-operations.ts new file mode 100644 index 00000000000..783962ad7d8 --- /dev/null +++ b/mobile/src/tasks/mobile-task-project-board-operations.ts @@ -0,0 +1,193 @@ +import { bindDeferredRpcOperation, defineRpcOperation } from '../transport/rpc-operation' +import { rpcUncheckedPayloadReader } from '../transport/rpc-reader-payload' + +// The GitHub Projects board. Every `github.project.*` reply is an accepted result carrying its own +// `{ ok, error }` envelope, which the board reads itself and whose message it prefers over its own +// copy; the acceptance policy only decides whether there is an envelope to read. The board also +// sends the plain `github.*` pull-request operations in mobile-task-item-state-operations.ts, +// with a `prRepo` the item screen does not send — same method, same acceptance, one operation. + +export const githubProjectListRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'github.project.accessible-list', + method: 'github.project.listAccessible', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('github-project-list') + }) +) + +export const githubProjectViewListRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'github.project.view-list', + method: 'github.project.listViews', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('github-project-views') + }) +) + +export const githubProjectViewTableRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'github.project.view-table', + method: 'github.project.viewTable', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('github-project-table') + }) +) + +/** A pasted project URL or owner/number. A soft `{ ok: false }` lands in the paste field, not + * the board's error line, so the two are distinguished at the site rather than by the policy. */ +export const githubProjectRefResolve = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'github.project.resolve-ref', + method: 'github.project.resolveRef', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('github-project-ref') + }) +) + +export const githubProjectRowDetailRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'github.project.row-details', + method: 'github.project.workItemDetailsBySlug', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('github-project-row-details') + }) +) + +export const githubProjectLabelListRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'github.project.repo-labels', + method: 'github.project.listLabelsBySlug', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('github-project-labels') + }) +) + +export const githubProjectAssignableUserListRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'github.project.assignable-users', + method: 'github.project.listAssignableUsersBySlug', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('github-project-assignable-users') + }) +) + +export const githubProjectIssueTypeListRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'github.project.issue-types', + method: 'github.project.listIssueTypesBySlug', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('github-project-issue-types') + }) +) + +/** + * A board row's issue edits. Two call sites send it — the metadata sheet's labels and assignees, + * and the row editor's title, body and state — and they disagree about a null reply: the metadata + * sheet reads `result.ok` off it and throws a property-read TypeError, which #20563 left in place + * as recorded behaviour. That difference is in the call sites, not in the acceptance. + */ +export const githubProjectIssueUpdate = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'github.project.update-issue', + method: 'github.project.updateIssueBySlug', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('github-project-updated-issue') + }) +) + +export const githubProjectPullRequestUpdate = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'github.project.update-pull-request', + method: 'github.project.updatePullRequestBySlug', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('github-project-updated-pull-request') + }) +) + +export const githubProjectIssueTypeUpdate = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'github.project.update-issue-type', + method: 'github.project.updateIssueTypeBySlug', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('github-project-updated-issue-type') + }) +) + +export const githubProjectFieldUpdate = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'github.project.update-item-field', + method: 'github.project.updateItemField', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('github-project-updated-field') + }) +) + +export const githubProjectFieldClear = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'github.project.clear-item-field', + method: 'github.project.clearItemField', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('github-project-cleared-field') + }) +) + +export const githubProjectCommentWrite = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'github.project.add-issue-comment', + method: 'github.project.addIssueCommentBySlug', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('github-project-issue-comment') + }) +) + +export const githubProjectCommentUpdate = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'github.project.update-issue-comment', + method: 'github.project.updateIssueCommentBySlug', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('github-project-updated-comment') + }) +) + +export const githubProjectCommentDelete = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'github.project.delete-issue-comment', + method: 'github.project.deleteIssueCommentBySlug', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('github-project-deleted-comment') + }) +) + +/** + * A repo's owner/repo slug, the second of two policies on this method. The board matches its rows + * against Orca repos and must distinguish "this repo has no slug" from "the ask failed", so it + * throws and caches the failure for retry; the Smart picker's paste lookup in + * mobile-task-source-search-operations.ts caches a refusal as "no slug" and carries on, so there + * a refusal is a skip. One reader serves both. + */ +export const githubProjectRepoSlugRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'github.project-repo-slug', + method: 'github.repoSlug', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('repo-slug') + }) +) diff --git a/mobile/src/tasks/mobile-task-runtime-operations.ts b/mobile/src/tasks/mobile-task-runtime-operations.ts index c69651af666..bf77d496df6 100644 --- a/mobile/src/tasks/mobile-task-runtime-operations.ts +++ b/mobile/src/tasks/mobile-task-runtime-operations.ts @@ -7,8 +7,8 @@ import { // What the Tasks screen reads once per host to hydrate, and the preferences it writes back. /** - * status.get read for task hydration, the first of two policies on this method. A refused status - * stops hydration with the host's own message; the create-time probe in + * status.get read for task hydration, with its own policy on that method: a refused status stops + * hydration with the host's own message, where the create-time probe in * mobile-workspace-create-operations.ts degrades instead. One reader serves both. */ export const taskRuntimeStatusRead = bindDeferredRpcOperation( diff --git a/mobile/src/tasks/mobile-tasks-refactor-parity.test.ts b/mobile/src/tasks/mobile-tasks-refactor-parity.test.ts index dcd84ba1656..d51c77f7222 100644 --- a/mobile/src/tasks/mobile-tasks-refactor-parity.test.ts +++ b/mobile/src/tasks/mobile-tasks-refactor-parity.test.ts @@ -16,17 +16,19 @@ const hash = (parts: string[] | string): string => .update(Array.isArray(parts) ? parts.join('\n') : parts) .digest('hex') -// Bound workspace-creation requests change source signatures the same way bound settings requests -// did: the method string and the envelope read leave the screen and an operation name arrives. The -// behaviour they used to pin is pinned by the recordings in mobile/rpc-foundation/goldens instead, -// which did not move. Statement, declaration, render and style counts are unchanged; `semantics` -// loses exactly the 22 `rpc:` signatures and 22 method literals the migration deleted. -const WORKSPACE_RPC_SCREEN_HOOKS = - '26ed5700089a9de13ea984274eb10ddea62f72b28135992514e3c16ef8e47e30' +// Bound provider requests change source signatures the same way bound workspace-creation and +// settings requests did: the method string and the envelope read leave the screen and an operation +// name arrives. The behaviour they used to pin is pinned by the recordings in +// mobile/rpc-foundation/goldens instead, which did not move. Statement, declaration, render and +// style counts are unchanged, and `semantics` is a pure deletion — 148 lines out, none in: 70 +// `rpc:` call signatures, 75 method literals over 58 methods, and three duplicated discriminant +// comparisons that only existed because one `sendRequest` had to pick both a method and a matching +// params shape from the same `item.source.type` test. +const PROVIDER_RPC_SCREEN_HOOKS = '7af4478d440cd913770b8a2d5e96c33aaf956192d2a820787af0727a0f33c018' const PRE_REFACTOR_DIFF_HOOKS = '93c7189b32bed8456cc51814fffa8ce80cf62011ef968a9d53ddec2b9686f58f' -const WORKSPACE_RPC_STATEMENTS = 'c25179660e089fd602b06e8c235e5f92d62e63d6d4add4c33ff89a4b5f9493cc' +const PROVIDER_RPC_STATEMENTS = '13cd2225760647eff19c027be26fa60100b3274b340e8c3b674b499d96d214a5' const MAIN_REBASED_DECLARATIONS = '6ad0397123e59fc1047a14049c86ff31d81723673a7a7f5c41677471aec58415' -const WORKSPACE_RPC_SEMANTICS = '7a00e700fe7293df9b5b68470185197c56a27007d89038a183153b29326113c0' +const PROVIDER_RPC_SEMANTICS = '3d9fa237c5a2aa471004dd745cfb76ffe1600a351058e3d4ea08185421175301' const PRE_REFACTOR_STYLES = '1db6af69c791d9963928541ad5310942fcbda6d984b422c90b6eb92b6816579a' const PRE_REFACTOR_RENDER_TREE = '2111145136b1e4fbca150d4792d735a90e992488e9934cfc1a8b8f3be981f39f' @@ -34,7 +36,7 @@ describe('Mobile Tasks refactor parity', () => { it('preserves recursively flattened hook and dependency order', () => { const screenHooks = readFlattenedMobileTasksHookSignatures('MobileTasksScreen') expect(screenHooks).toHaveLength(350) - expect(hash(screenHooks)).toBe(WORKSPACE_RPC_SCREEN_HOOKS) + expect(hash(screenHooks)).toBe(PROVIDER_RPC_SCREEN_HOOKS) const diffHooks = readFlattenedMobileTasksHookSignatures('GitHubPrFileDiff') expect(diffHooks).toHaveLength(3) @@ -44,7 +46,7 @@ describe('Mobile Tasks refactor parity', () => { it('preserves every screen statement in execution order', () => { const statements = readFlattenedMobileTasksCoreStatements() expect(statements).toHaveLength(417) - expect(hash(statements)).toBe(WORKSPACE_RPC_STATEMENTS) + expect(hash(statements)).toBe(PROVIDER_RPC_STATEMENTS) }) it('preserves every moved top-level declaration', () => { @@ -55,8 +57,8 @@ describe('Mobile Tasks refactor parity', () => { it('preserves RPC calls, runtime strings, and JSX host signatures', () => { const semantics = readMobileTasksSemanticSource() - expect(semantics.split('\n')).toHaveLength(3_452) - expect(hash(semantics)).toBe(WORKSPACE_RPC_SEMANTICS) + expect(semantics.split('\n')).toHaveLength(3_304) + expect(hash(semantics)).toBe(PROVIDER_RPC_SEMANTICS) }) it('preserves render expressions and event handlers in tree order', () => { diff --git a/mobile/src/tasks/mobile-workspace-create-operations.ts b/mobile/src/tasks/mobile-workspace-create-operations.ts index 55cad2f373f..186d04b1498 100644 --- a/mobile/src/tasks/mobile-workspace-create-operations.ts +++ b/mobile/src/tasks/mobile-workspace-create-operations.ts @@ -46,9 +46,9 @@ export const worktreeMrBaseResolve = bindDeferredRpcOperation( ) /** - * status.get read for create-time capabilities, the second of two policies on this method. + * status.get read for create-time capabilities, with its own policy on that method. * - * Both policies named because the two callers disagree about what a refused status means: the + * Separately named because the callers disagree about what a refused status means: the * Tasks screen cannot hydrate without it and surfaces the host's message (`taskRuntimeStatusRead`), * while create-time capability probing degrades to "no capabilities" and creates anyway, so here a * refusal is a skip. One reader serves both — the payload is unchecked in each. diff --git a/mobile/src/tasks/use-mobile-tasks-github-check-file-actions.tsx b/mobile/src/tasks/use-mobile-tasks-github-check-file-actions.tsx index a21649cdf4b..29f6b68cee8 100644 --- a/mobile/src/tasks/use-mobile-tasks-github-check-file-actions.tsx +++ b/mobile/src/tasks/use-mobile-tasks-github-check-file-actions.tsx @@ -1,12 +1,20 @@ import type { HostedCommentReviewActionsModel } from './use-mobile-tasks-hosted-comment-review-actions' import { useCallback } from './mobile-tasks-dependencies' import { - type DetailComment, - type DetailPayload, - type GitHubDetailFile, - type GitHubPRFileContents, - type TaskItem, - isSuccess + githubPullRequestChecksRerun, + githubPullRequestFileContentsRead, + githubPullRequestFileViewedWrite +} from './mobile-task-item-state-operations' +import { + githubReviewCommentWrite, + githubReviewThreadResolve +} from './mobile-task-item-comment-operations' +import type { + DetailComment, + DetailPayload, + GitHubDetailFile, + GitHubPRFileContents, + TaskItem } from './mobile-tasks-legacy-foundation' export function useMobileTasksGithubCheckFileActions(model: HostedCommentReviewActionsModel) { @@ -34,8 +42,8 @@ export function useMobileTasksGithubCheckFileActions(model: HostedCommentReviewA setMutatingStatus(true) setError('') try { - const response = await client.sendRequest( - 'github.rerunPRChecks', + const reply = await githubPullRequestChecksRerun.request( + client, { repo: `id:${item.source.repoId}`, prNumber: item.source.number, @@ -44,10 +52,11 @@ export function useMobileTasksGithubCheckFileActions(model: HostedCommentReviewA }, { timeoutMs: 60_000 } ) - if (!isSuccess(response)) { - throw new Error(response.error.message) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = githubPullRequestChecksRerun.interpret(reply) as { + ok?: boolean + error?: string } - const result = response.result as { ok?: boolean; error?: string } if (result.ok === false) { throw new Error(result.error ?? 'Failed to rerun checks') } @@ -77,8 +86,8 @@ export function useMobileTasksGithubCheckFileActions(model: HostedCommentReviewA setMutatingStatus(true) setError('') try { - const response = await client.sendRequest( - 'github.setPRFileViewed', + const reply = await githubPullRequestFileViewedWrite.request( + client, { repo: `id:${item.source.repoId}`, pullRequestId: detailPayload.pullRequestId, @@ -87,10 +96,7 @@ export function useMobileTasksGithubCheckFileActions(model: HostedCommentReviewA }, { timeoutMs: 30_000 } ) - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - if (response.result !== true) { + if (githubPullRequestFileViewedWrite.interpret(reply) !== true) { throw new Error('Failed to sync viewed state with GitHub.') } setDetailPayload((current) => @@ -126,8 +132,8 @@ export function useMobileTasksGithubCheckFileActions(model: HostedCommentReviewA setMutatingStatus(true) setError('') try { - const response = await client.sendRequest( - 'github.resolveReviewThread', + const reply = await githubReviewThreadResolve.request( + client, { repo: `id:${item.source.repoId}`, threadId: comment.threadId, @@ -135,10 +141,7 @@ export function useMobileTasksGithubCheckFileActions(model: HostedCommentReviewA }, { timeoutMs: 30_000 } ) - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - if (response.result !== true) { + if (githubReviewThreadResolve.interpret(reply) !== true) { throw new Error(resolve ? 'Failed to resolve thread' : 'Failed to reopen thread') } setDetailPayload((current) => @@ -188,8 +191,8 @@ export function useMobileTasksGithubCheckFileActions(model: HostedCommentReviewA setPrFileLoadingPath(file.path) setError('') try { - const response = await client.sendRequest( - 'github.prFileContents', + const reply = await githubPullRequestFileContentsRead.request( + client, { repo: `id:${item.source.repoId}`, prNumber: item.source.number, @@ -201,13 +204,9 @@ export function useMobileTasksGithubCheckFileActions(model: HostedCommentReviewA }, { timeoutMs: 30_000 } ) - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - setPrFileContents((current) => ({ - ...current, - [file.path]: response.result as GitHubPRFileContents - })) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const contents = githubPullRequestFileContentsRead.interpret(reply) as GitHubPRFileContents + setPrFileContents((current) => ({ ...current, [file.path]: contents })) } catch (err) { setError(err instanceof Error ? err.message : 'Failed to load file contents') } finally { @@ -238,8 +237,8 @@ export function useMobileTasksGithubCheckFileActions(model: HostedCommentReviewA setMutatingStatus(true) setError('') try { - const response = await client.sendRequest( - 'github.addPRReviewComment', + const reply = await githubReviewCommentWrite.request( + client, { repo: `id:${item.source.repoId}`, prNumber: item.source.number, @@ -250,10 +249,8 @@ export function useMobileTasksGithubCheckFileActions(model: HostedCommentReviewA }, { timeoutMs: 30_000 } ) - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - const result = response.result as { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = githubReviewCommentWrite.interpret(reply) as { ok?: boolean error?: string comment?: DetailComment diff --git a/mobile/src/tasks/use-mobile-tasks-github-reply-merge-actions.tsx b/mobile/src/tasks/use-mobile-tasks-github-reply-merge-actions.tsx index 9bf6b14a23b..4b582351f57 100644 --- a/mobile/src/tasks/use-mobile-tasks-github-reply-merge-actions.tsx +++ b/mobile/src/tasks/use-mobile-tasks-github-reply-merge-actions.tsx @@ -1,5 +1,14 @@ import type { GithubCheckFileActionsModel } from './use-mobile-tasks-github-check-file-actions' import { useCallback } from './mobile-tasks-dependencies' +import { + githubIssueCommentWrite, + githubReviewCommentReplyWrite +} from './mobile-task-item-comment-operations' +import { + githubPullRequestMerge, + gitlabMergeRequestMerge, + linearIssueUpdate +} from './mobile-task-item-state-operations' import { type DetailComment, type HostedReviewMergeMethod, @@ -7,8 +16,7 @@ import { type TaskItem, commentAuthor, createLinearTask, - isGitHubPrMergeBlocked, - isSuccess + isGitHubPrMergeBlocked } from './mobile-tasks-legacy-foundation' export function useMobileTasksGithubReplyMergeActions(model: GithubCheckFileActionsModel) { @@ -41,47 +49,55 @@ export function useMobileTasksGithubReplyMergeActions(model: GithubCheckFileActi setMutatingStatus(true) setError('') try { - const canUseReviewReply = + // The same predicate as before, but as the anchor it selects: `commentId` and `line` are + // numbers only inside it, which the boolean it used to be could not carry to the send. + const reviewAnchor = item.source.type === 'pr' && comment.path && typeof comment.line === 'number' && typeof comment.id === 'number' - const response = canUseReviewReply - ? await client.sendRequest( - 'github.addPRReviewCommentReply', - { - repo: `id:${item.source.repoId}`, - prNumber: item.source.number, - commentId: comment.id, - body, - threadId: comment.threadId, - path: comment.path, - line: comment.line - }, - { timeoutMs: 30_000 } + ? { path: comment.path, line: comment.line, commentId: comment.id } + : null + // A review reply and a plain issue comment are different methods, so each arm sends its + // own operation rather than one call picking a method string. + const replyResult = reviewAnchor + ? githubReviewCommentReplyWrite.interpret( + await githubReviewCommentReplyWrite.request( + client, + { + repo: `id:${item.source.repoId}`, + prNumber: item.source.number, + commentId: reviewAnchor.commentId, + body, + threadId: comment.threadId, + path: reviewAnchor.path, + line: reviewAnchor.line + }, + { timeoutMs: 30_000 } + ) ) - : await client.sendRequest( - 'github.addIssueComment', - { - repo: `id:${item.source.repoId}`, - number: item.source.number, - body: `@${commentAuthor(comment)} ${body}`, - type: item.source.type - }, - { timeoutMs: 30_000 } + : githubIssueCommentWrite.interpret( + await githubIssueCommentWrite.request( + client, + { + repo: `id:${item.source.repoId}`, + number: item.source.number, + body: `@${commentAuthor(comment)} ${body}`, + type: item.source.type + }, + { timeoutMs: 30_000 } + ) ) - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - const result = response.result as { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const envelope = replyResult as { ok?: boolean error?: string comment?: DetailComment } - if (result.ok === false) { - throw new Error(result.error ?? 'Failed to reply') + if (envelope.ok === false) { + throw new Error(envelope.error ?? 'Failed to reply') } - const reply: DetailComment = result.comment ?? { + const reply: DetailComment = envelope.comment ?? { id: `local-${Date.now()}`, body, createdAt: new Date().toISOString(), @@ -130,31 +146,33 @@ export function useMobileTasksGithubReplyMergeActions(model: GithubCheckFileActi setMutatingStatus(true) setError('') try { - const response = + const merged = item.provider === 'github' - ? await client.sendRequest( - 'github.mergePR', - { - repo: `id:${item.source.repoId}`, - prNumber: item.source.number, - method - }, - { timeoutMs: 60_000 } + ? githubPullRequestMerge.interpret( + await githubPullRequestMerge.request( + client, + { + repo: `id:${item.source.repoId}`, + prNumber: item.source.number, + method + }, + { timeoutMs: 60_000 } + ) ) - : await client.sendRequest( - 'gitlab.mergeMR', - { - repo: `id:${item.source.repoId}`, - iid: item.source.number, - method, - projectRef: item.source.projectRef - }, - { timeoutMs: 60_000 } + : gitlabMergeRequestMerge.interpret( + await gitlabMergeRequestMerge.request( + client, + { + repo: `id:${item.source.repoId}`, + iid: item.source.number, + method, + projectRef: item.source.projectRef + }, + { timeoutMs: 60_000 } + ) ) - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - const result = response.result as { ok?: boolean; error?: string } + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = merged as { ok?: boolean; error?: string } if (result.ok === false) { throw new Error(result.error ?? 'Failed to merge') } @@ -181,14 +199,12 @@ export function useMobileTasksGithubReplyMergeActions(model: GithubCheckFileActi setMutatingStatus(true) setError('') try { - const response = await client.sendRequest('linear.updateIssue', { + const reply = await linearIssueUpdate.request(client, { id: item.source.id, workspaceId: item.source.workspaceId, updates: { stateId: state.id } }) - if (!isSuccess(response)) { - throw new Error(response.error.message) - } + linearIssueUpdate.interpret(reply) const nextState = { name: state.name, type: state.type, diff --git a/mobile/src/tasks/use-mobile-tasks-gitlab-github-status-actions.tsx b/mobile/src/tasks/use-mobile-tasks-gitlab-github-status-actions.tsx index b36f7da117e..92c74bc58ae 100644 --- a/mobile/src/tasks/use-mobile-tasks-gitlab-github-status-actions.tsx +++ b/mobile/src/tasks/use-mobile-tasks-gitlab-github-status-actions.tsx @@ -1,6 +1,11 @@ import type { ProjectFileMergeActionsModel } from './use-mobile-tasks-project-file-merge-actions' import { useCallback } from './mobile-tasks-dependencies' -import { type TaskItem, isSuccess } from './mobile-tasks-legacy-foundation' +import type { TaskItem } from './mobile-tasks-legacy-foundation' +import { + githubIssueUpdate, + gitlabIssueUpdate, + gitlabMergeRequestStateUpdate +} from './mobile-task-item-state-operations' export function useMobileTasksGitlabGithubStatusActions(model: ProjectFileMergeActionsModel) { const { @@ -27,24 +32,28 @@ export function useMobileTasksGitlabGithubStatusActions(model: ProjectFileMergeA setError('') const nextState = item.source.state === 'closed' ? 'opened' : 'closed' try { - const response = + // An issue edit and a merge-request state change are different methods, so each arm sends + // its own operation rather than one call picking a method string. + const updated = item.source.type === 'issue' - ? await client.sendRequest('gitlab.updateIssue', { - repo: `id:${item.source.repoId}`, - number: item.source.number, - updates: { state: nextState }, - projectRef: item.source.projectRef - }) - : await client.sendRequest('gitlab.updateMRState', { - repo: `id:${item.source.repoId}`, - iid: item.source.number, - state: nextState, - projectRef: item.source.projectRef - }) - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - const result = response.result as { ok?: boolean; error?: string } + ? gitlabIssueUpdate.interpret( + await gitlabIssueUpdate.request(client, { + repo: `id:${item.source.repoId}`, + number: item.source.number, + updates: { state: nextState }, + projectRef: item.source.projectRef + }) + ) + : gitlabMergeRequestStateUpdate.interpret( + await gitlabMergeRequestStateUpdate.request(client, { + repo: `id:${item.source.repoId}`, + iid: item.source.number, + state: nextState, + projectRef: item.source.projectRef + }) + ) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = updated as { ok?: boolean; error?: string } if (result.ok === false) { throw new Error(result.error ?? 'Failed to update GitLab item') } @@ -77,8 +86,8 @@ export function useMobileTasksGitlabGithubStatusActions(model: ProjectFileMergeA setMutatingStatus(true) setError('') try { - const response = await client.sendRequest( - 'github.updateIssue', + const reply = await githubIssueUpdate.request( + client, { repo: `id:${item.source.repoId}`, number: item.source.number, @@ -86,10 +95,8 @@ export function useMobileTasksGitlabGithubStatusActions(model: ProjectFileMergeA }, { timeoutMs: 30_000 } ) - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - const result = response.result as { ok?: boolean; error?: string } + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = githubIssueUpdate.interpret(reply) as { ok?: boolean; error?: string } if (result.ok === false) { throw new Error(result.error ?? 'Failed to update GitHub issue') } diff --git a/mobile/src/tasks/use-mobile-tasks-hosted-comment-review-actions.tsx b/mobile/src/tasks/use-mobile-tasks-hosted-comment-review-actions.tsx index 81f29da0ec5..67705a97ae3 100644 --- a/mobile/src/tasks/use-mobile-tasks-hosted-comment-review-actions.tsx +++ b/mobile/src/tasks/use-mobile-tasks-hosted-comment-review-actions.tsx @@ -10,9 +10,17 @@ import { type GitHubAssignableUser, type GitHubDetailCheck, type TaskItem, - isSuccess, splitReviewerList } from './mobile-tasks-legacy-foundation' +import { + githubIssueCommentWrite, + gitlabIssueCommentWrite, + gitlabMergeRequestCommentWrite +} from './mobile-task-item-comment-operations' +import { + githubPullRequestChecksRead, + githubReviewerRequest +} from './mobile-task-item-state-operations' export function useMobileTasksHostedCommentReviewActions(model: HostedMetadataActionsModel) { const { @@ -45,39 +53,49 @@ export function useMobileTasksHostedCommentReviewActions(model: HostedMetadataAc setMutatingStatus(true) setError('') try { - const response = + // Three methods, one per provider and item type. Each arm sends its own operation rather + // than one call picking a method string and a matching params shape. + const written = item.provider === 'github' - ? await client.sendRequest( - 'github.addIssueComment', - { - repo: `id:${item.source.repoId}`, - number: item.source.number, - body, - type: item.source.type - }, - { timeoutMs: 30_000 } + ? githubIssueCommentWrite.interpret( + await githubIssueCommentWrite.request( + client, + { + repo: `id:${item.source.repoId}`, + number: item.source.number, + body, + type: item.source.type + }, + { timeoutMs: 30_000 } + ) ) - : await client.sendRequest( - item.source.type === 'mr' ? 'gitlab.addMRComment' : 'gitlab.addIssueComment', - item.source.type === 'mr' - ? { + : item.source.type === 'mr' + ? gitlabMergeRequestCommentWrite.interpret( + await gitlabMergeRequestCommentWrite.request( + client, + { repo: `id:${item.source.repoId}`, iid: item.source.number, body, projectRef: item.source.projectRef - } - : { + }, + { timeoutMs: 30_000 } + ) + ) + : gitlabIssueCommentWrite.interpret( + await gitlabIssueCommentWrite.request( + client, + { repo: `id:${item.source.repoId}`, number: item.source.number, body, projectRef: item.source.projectRef }, - { timeoutMs: 30_000 } - ) - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - const result = response.result as { + { timeoutMs: 30_000 } + ) + ) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = written as { ok?: boolean error?: string comment?: DetailComment @@ -140,8 +158,8 @@ export function useMobileTasksHostedCommentReviewActions(model: HostedMetadataAc setMutatingStatus(true) setError('') try { - const response = await client.sendRequest( - 'github.requestPRReviewers', + const reply = await githubReviewerRequest.request( + client, { repo: `id:${item.source.repoId}`, prNumber: item.source.number, @@ -149,10 +167,8 @@ export function useMobileTasksHostedCommentReviewActions(model: HostedMetadataAc }, { timeoutMs: 30_000 } ) - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - const result = response.result as { ok?: boolean; error?: string } + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = githubReviewerRequest.interpret(reply) as { ok?: boolean; error?: string } if (result.ok === false) { throw new Error(result.error ?? 'Failed to request reviewers') } @@ -221,8 +237,8 @@ export function useMobileTasksHostedCommentReviewActions(model: HostedMetadataAc setMutatingStatus(true) setError('') try { - const response = await client.sendRequest( - 'github.prChecks', + const reply = await githubPullRequestChecksRead.request( + client, { repo: `id:${item.source.repoId}`, prNumber: item.source.number, @@ -231,13 +247,12 @@ export function useMobileTasksHostedCommentReviewActions(model: HostedMetadataAc }, { timeoutMs: 30_000 } ) - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - if (!Array.isArray(response.result)) { + const payload = githubPullRequestChecksRead.interpret(reply) + if (!Array.isArray(payload)) { throw new Error('Invalid checks response') } - const checks = response.result as GitHubDetailCheck[] + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const checks = payload as GitHubDetailCheck[] const checksSummary = buildGitHubCheckSummary(checks) setDetailPayload((current) => current?.provider === 'github' ? { ...current, checks } : current diff --git a/mobile/src/tasks/use-mobile-tasks-hosted-metadata-actions.tsx b/mobile/src/tasks/use-mobile-tasks-hosted-metadata-actions.tsx index eca60a21e1c..9c77e313306 100644 --- a/mobile/src/tasks/use-mobile-tasks-hosted-metadata-actions.tsx +++ b/mobile/src/tasks/use-mobile-tasks-hosted-metadata-actions.tsx @@ -1,6 +1,11 @@ import type { GitlabGithubStatusActionsModel } from './use-mobile-tasks-gitlab-github-status-actions' import { useCallback } from './mobile-tasks-dependencies' -import { type TaskItem, isSuccess } from './mobile-tasks-legacy-foundation' +import type { TaskItem } from './mobile-tasks-legacy-foundation' +import { + githubPullRequestUpdate, + gitlabIssueUpdate, + gitlabMergeRequestUpdate +} from './mobile-task-item-state-operations' export function useMobileTasksHostedMetadataActions(model: GitlabGithubStatusActionsModel) { const { @@ -33,8 +38,8 @@ export function useMobileTasksHostedMetadataActions(model: GitlabGithubStatusAct setMutatingStatus(true) setError('') try { - const response = await client.sendRequest( - 'github.updatePR', + const reply = await githubPullRequestUpdate.request( + client, { repo: `id:${item.source.repoId}`, prNumber: item.source.number, @@ -45,10 +50,11 @@ export function useMobileTasksHostedMetadataActions(model: GitlabGithubStatusAct }, { timeoutMs: 30_000 } ) - if (!isSuccess(response)) { - throw new Error(response.error.message) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = githubPullRequestUpdate.interpret(reply) as { + ok?: boolean + error?: string } - const result = response.result as { ok?: boolean; error?: string } if (result.ok === false) { throw new Error(result.error ?? 'Failed to update GitHub pull request') } @@ -107,31 +113,41 @@ export function useMobileTasksHostedMetadataActions(model: GitlabGithubStatusAct setMutatingStatus(true) setError('') try { - const method = item.source.type === 'issue' ? 'gitlab.updateIssue' : 'gitlab.updateMR' - const params = + // The method and its params were a pair of local ternaries over the item type, not a step + // handed in at runtime, so each arm sends its own operation with its own params type. + const updated = item.source.type === 'issue' - ? { - repo: `id:${item.source.repoId}`, - number: item.source.number, - updates, - projectRef: item.source.projectRef - } - : { - repo: `id:${item.source.repoId}`, - iid: item.source.number, - projectRef: item.source.projectRef, - updates: { - title: updates.title, - body: updates.body, - addLabels: updates.addLabels, - removeLabels: updates.removeLabels - } - } - const response = await client.sendRequest(method, params, { timeoutMs: 30_000 }) - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - const result = response.result as { ok?: boolean; error?: string } + ? gitlabIssueUpdate.interpret( + await gitlabIssueUpdate.request( + client, + { + repo: `id:${item.source.repoId}`, + number: item.source.number, + updates, + projectRef: item.source.projectRef + }, + { timeoutMs: 30_000 } + ) + ) + : gitlabMergeRequestUpdate.interpret( + await gitlabMergeRequestUpdate.request( + client, + { + repo: `id:${item.source.repoId}`, + iid: item.source.number, + projectRef: item.source.projectRef, + updates: { + title: updates.title, + body: updates.body, + addLabels: updates.addLabels, + removeLabels: updates.removeLabels + } + }, + { timeoutMs: 30_000 } + ) + ) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = updated as { ok?: boolean; error?: string } if (result.ok === false) { throw new Error(result.error ?? 'Failed to update GitLab item') } diff --git a/mobile/src/tasks/use-mobile-tasks-item-detail-loading.tsx b/mobile/src/tasks/use-mobile-tasks-item-detail-loading.tsx index 4b401927596..eae64ede6c4 100644 --- a/mobile/src/tasks/use-mobile-tasks-item-detail-loading.tsx +++ b/mobile/src/tasks/use-mobile-tasks-item-detail-loading.tsx @@ -12,9 +12,14 @@ import { type GitHubPRReviewSummary, type LinearIssue, type TaskItem, - createLinearTask, - isSuccess + createLinearTask } from './mobile-tasks-legacy-foundation' +import { + githubItemDetailRead, + gitlabItemDetailRead, + linearIssueCommentsRead, + linearIssueRead +} from './mobile-task-item-detail-operations' export function useMobileTasksItemDetailLoading(model: ItemDetailMetadataEffectsModel) { const { @@ -43,8 +48,8 @@ export function useMobileTasksItemDetailLoading(model: ItemDetailMetadataEffects const loadDetails = async (): Promise => { if (actionItem.provider === 'github') { - const response = await client.sendRequest( - 'github.workItemDetails', + const reply = await githubItemDetailRead.request( + client, { repo: `id:${actionItem.source.repoId}`, number: actionItem.source.number, @@ -52,10 +57,8 @@ export function useMobileTasksItemDetailLoading(model: ItemDetailMetadataEffects }, { timeoutMs: 30_000 } ) - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - const details = response.result as { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const details = githubItemDetailRead.interpret(reply) as { body?: string comments?: DetailComment[] item?: { @@ -103,8 +106,8 @@ export function useMobileTasksItemDetailLoading(model: ItemDetailMetadataEffects } if (actionItem.provider === 'gitlab') { - const response = await client.sendRequest( - 'gitlab.workItemDetails', + const reply = await gitlabItemDetailRead.request( + client, { repo: `id:${actionItem.source.repoId}`, iid: actionItem.source.number, @@ -113,10 +116,8 @@ export function useMobileTasksItemDetailLoading(model: ItemDetailMetadataEffects }, { timeoutMs: 30_000 } ) - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - const details = response.result as { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const details = gitlabItemDetailRead.interpret(reply) as { body?: string comments?: DetailComment[] item?: { labels?: string[]; mergeable?: 'MERGEABLE' | 'CONFLICTING' | 'UNKNOWN' } @@ -186,17 +187,20 @@ export function useMobileTasksItemDetailLoading(model: ItemDetailMetadataEffects return } - const [issueResponse, commentsResponse] = await Promise.all([ - client.sendRequest( - 'linear.getIssue', + // Interpretation is deferred past the group on purpose: this Promise.all rejects as soon as + // one leg's transport does, and interpreting only after both settled is what makes the issue + // error win over the comments error. startRpcOperation would wait for the slower peer. + const [issueReply, commentsReply] = await Promise.all([ + linearIssueRead.request( + client, { id: actionItem.source.id, workspaceId: actionItem.source.workspaceId }, { timeoutMs: 30_000 } ), - client.sendRequest( - 'linear.issueComments', + linearIssueCommentsRead.request( + client, { issueId: actionItem.source.id, workspaceId: actionItem.source.workspaceId @@ -204,13 +208,11 @@ export function useMobileTasksItemDetailLoading(model: ItemDetailMetadataEffects { timeoutMs: 30_000 } ) ]) - if (!isSuccess(issueResponse)) { - throw new Error(issueResponse.error.message) - } - const issue = issueResponse.result as LinearIssue | null - const comments = isSuccess(commentsResponse) - ? ((commentsResponse.result as DetailComment[]) ?? []) - : [] + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const issue = linearIssueRead.interpret(issueReply) as LinearIssue | null + const accepted = linearIssueCommentsRead.interpret(commentsReply) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const comments = accepted.accepted ? ((accepted.value as DetailComment[]) ?? []) : [] if (!issue) { throw new Error('Details not found') } diff --git a/mobile/src/tasks/use-mobile-tasks-item-detail-metadata-effects.tsx b/mobile/src/tasks/use-mobile-tasks-item-detail-metadata-effects.tsx index 44aff16e637..4a4af3bf4b2 100644 --- a/mobile/src/tasks/use-mobile-tasks-item-detail-metadata-effects.tsx +++ b/mobile/src/tasks/use-mobile-tasks-item-detail-metadata-effects.tsx @@ -1,6 +1,10 @@ import type { ListAndDetailEffectsModel } from './use-mobile-tasks-list-and-detail-effects' import { useEffect } from './mobile-tasks-dependencies' -import { type GitHubAssignableUser, isSuccess } from './mobile-tasks-legacy-foundation' +import type { GitHubAssignableUser } from './mobile-tasks-legacy-foundation' +import { + githubAssignableUserListRead, + githubRepoLabelListRead +} from './mobile-task-item-detail-operations' export function useMobileTasksItemDetailMetadataEffects(model: ListAndDetailEffectsModel) { const { @@ -42,20 +46,14 @@ export function useMobileTasksItemDetailMetadataEffects(model: ListAndDetailEffe setItemAvailableLabels([]) setItemLabelsError('') setItemLabelsLoading(true) - void client - .sendRequest( - 'github.listLabels', - { repo: `id:${actionItem.source.repoId}` }, - { timeoutMs: 30_000 } - ) + void githubRepoLabelListRead + .request(client, { repo: `id:${actionItem.source.repoId}` }, { timeoutMs: 30_000 }) .then((response) => { if (stale) { return } - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - setItemAvailableLabels(response.result as string[]) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + setItemAvailableLabels(githubRepoLabelListRead.interpret(response) as string[]) }) .catch((err) => { if (!stale) { @@ -76,20 +74,16 @@ export function useMobileTasksItemDetailMetadataEffects(model: ListAndDetailEffe setItemAssignableUsers([]) setItemAssignableUsersError('') setItemAssignableUsersLoading(true) - void client - .sendRequest( - 'github.listAssignableUsers', - { repo: `id:${actionItem.source.repoId}` }, - { timeoutMs: 30_000 } - ) + void githubAssignableUserListRead + .request(client, { repo: `id:${actionItem.source.repoId}` }, { timeoutMs: 30_000 }) .then((response) => { if (stale) { return } - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - setItemAssignableUsers(response.result as GitHubAssignableUser[]) + setItemAssignableUsers( + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + githubAssignableUserListRead.interpret(response) as GitHubAssignableUser[] + ) }) .catch((err) => { if (!stale) { diff --git a/mobile/src/tasks/use-mobile-tasks-linear-item-actions.tsx b/mobile/src/tasks/use-mobile-tasks-linear-item-actions.tsx index 021737f5672..ddf93db8ad9 100644 --- a/mobile/src/tasks/use-mobile-tasks-linear-item-actions.tsx +++ b/mobile/src/tasks/use-mobile-tasks-linear-item-actions.tsx @@ -5,9 +5,11 @@ import { type LinearIssue, type LinearIssueChild, type TaskItem, - createLinearTask, - isSuccess + createLinearTask } from './mobile-tasks-legacy-foundation' +import { linearIssueRead } from './mobile-task-item-detail-operations' +import { linearIssueCommentWrite } from './mobile-task-item-comment-operations' +import { linearIssueCreate } from './mobile-task-item-state-operations' export function useMobileTasksLinearItemActions(model: GithubReplyMergeActionsModel) { const { @@ -34,8 +36,8 @@ export function useMobileTasksLinearItemActions(model: GithubReplyMergeActionsMo setMutatingStatus(true) setError('') try { - const response = await client.sendRequest( - 'linear.addIssueComment', + const reply = await linearIssueCommentWrite.request( + client, { issueId: item.source.id, workspaceId: item.source.workspaceId, @@ -43,10 +45,12 @@ export function useMobileTasksLinearItemActions(model: GithubReplyMergeActionsMo }, { timeoutMs: 30_000 } ) - if (!isSuccess(response)) { - throw new Error(response.error.message) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = linearIssueCommentWrite.interpret(reply) as { + ok?: boolean + id?: string + error?: string } - const result = response.result as { ok?: boolean; id?: string; error?: string } if (result.ok === false) { throw new Error(result.error ?? 'Failed to add comment') } @@ -79,15 +83,13 @@ export function useMobileTasksLinearItemActions(model: GithubReplyMergeActionsMo setMutatingStatus(true) setError('') try { - const response = await client.sendRequest( - 'linear.getIssue', + const reply = await linearIssueRead.request( + client, { id: child.id, workspaceId }, { timeoutMs: 30_000 } ) - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - const issue = response.result as LinearIssue | null + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const issue = linearIssueRead.interpret(reply) as LinearIssue | null if (!issue) { throw new Error('Sub-issue not found') } @@ -113,8 +115,8 @@ export function useMobileTasksLinearItemActions(model: GithubReplyMergeActionsMo setMutatingStatus(true) setError('') try { - const response = await client.sendRequest( - 'linear.createIssue', + const reply = await linearIssueCreate.request( + client, { teamId: item.source.team.id, title, @@ -124,10 +126,8 @@ export function useMobileTasksLinearItemActions(model: GithubReplyMergeActionsMo }, { timeoutMs: 30_000 } ) - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - const result = response.result as { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = linearIssueCreate.interpret(reply) as { ok?: boolean id?: string identifier?: string diff --git a/mobile/src/tasks/use-mobile-tasks-list-and-detail-effects.tsx b/mobile/src/tasks/use-mobile-tasks-list-and-detail-effects.tsx index 25b6c975e61..300f2263b35 100644 --- a/mobile/src/tasks/use-mobile-tasks-list-and-detail-effects.tsx +++ b/mobile/src/tasks/use-mobile-tasks-list-and-detail-effects.tsx @@ -10,9 +10,12 @@ import { type LinearState, type LinearTeam, getTaskPresetQuery, - isSuccess, scopeGitHubTaskSearch } from './mobile-tasks-legacy-foundation' +import { + linearComposerTeamListRead, + linearTeamStateListRead +} from './mobile-task-item-detail-operations' export function useMobileTasksListAndDetailEffects(model: ProjectLoadingActionsModel) { const { @@ -191,14 +194,16 @@ export function useMobileTasksListAndDetailEffects(model: ProjectLoadingActionsM } let stale = false setCreateTeamId(null) - void client - .sendRequest('linear.listTeams') + void linearComposerTeamListRead + .request(client) .then((response) => { if (stale) { return } - if (isSuccess(response)) { - const teams = response.result as LinearTeam[] + const accepted = linearComposerTeamListRead.interpret(response) + if (accepted.accepted) { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const teams = accepted.value as LinearTeam[] setLinearTeams(teams) setCreateTeamId((current) => current ?? teams[0]?.id ?? null) } else { @@ -232,17 +237,15 @@ export function useMobileTasksListAndDetailEffects(model: ProjectLoadingActionsM teamId: linearMetadataItem.source.team.id, workspaceId: linearMetadataItem.source.workspaceId } - void client - .sendRequest('linear.teamStates', baseParams) + void linearTeamStateListRead + .request(client, baseParams) .then((statesResponse) => { if (stale) { return } - if (isSuccess(statesResponse)) { - setLinearStates(statesResponse.result as LinearState[]) - } else { - setLinearStates([]) - } + const accepted = linearTeamStateListRead.interpret(statesResponse) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + setLinearStates(accepted.accepted ? (accepted.value as LinearState[]) : []) }) .catch(() => { if (!stale) { diff --git a/mobile/src/tasks/use-mobile-tasks-project-detail-loading.tsx b/mobile/src/tasks/use-mobile-tasks-project-detail-loading.tsx index b596f8858a9..21ccad359ef 100644 --- a/mobile/src/tasks/use-mobile-tasks-project-detail-loading.tsx +++ b/mobile/src/tasks/use-mobile-tasks-project-detail-loading.tsx @@ -7,11 +7,11 @@ import { type GitHubDetailFile, type GitHubPRReviewSummary, editableProjectFields, - isSuccess, projectFieldDraftValue, projectRowType, splitRepositorySlug } from './mobile-tasks-legacy-foundation' +import { githubProjectRowDetailRead } from './mobile-task-project-board-operations' export function useMobileTasksProjectDetailLoading(model: ItemDetailLoadingModel) { const { @@ -86,9 +86,9 @@ export function useMobileTasksProjectDetailLoading(model: ItemDetailLoadingModel let stale = false setProjectRowDetailLoading(true) - void client - .sendRequest( - 'github.project.workItemDetailsBySlug', + void githubProjectRowDetailRead + .request( + client, { owner: slug.owner, repo: slug.repo, @@ -102,10 +102,8 @@ export function useMobileTasksProjectDetailLoading(model: ItemDetailLoadingModel if (stale) { return } - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - const result = response.result as + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = githubProjectRowDetailRead.interpret(response) as | { ok: true details: { diff --git a/mobile/src/tasks/use-mobile-tasks-project-file-merge-actions.tsx b/mobile/src/tasks/use-mobile-tasks-project-file-merge-actions.tsx index 6586d054197..f5693ecd723 100644 --- a/mobile/src/tasks/use-mobile-tasks-project-file-merge-actions.tsx +++ b/mobile/src/tasks/use-mobile-tasks-project-file-merge-actions.tsx @@ -7,9 +7,15 @@ import { type GitHubProjectRow, type HostedReviewMergeMethod, type TaskItem, - isSuccess, projectRowGitHubRepository } from './mobile-tasks-legacy-foundation' +import { + githubIssueUpdate, + githubPullRequestFileContentsRead, + githubPullRequestMerge, + githubPullRequestStateUpdate +} from './mobile-task-item-state-operations' +import { githubReviewCommentWrite } from './mobile-task-item-comment-operations' export function useMobileTasksProjectFileMergeActions(model: ProjectReviewCheckActionsModel) { const { @@ -62,8 +68,8 @@ export function useMobileTasksProjectFileMergeActions(model: ProjectReviewCheckA setPrFileLoadingPath(file.path) setProjectRowDetailError('') try { - const response = await client.sendRequest( - 'github.prFileContents', + const reply = await githubPullRequestFileContentsRead.request( + client, { repo: `id:${repo.id}`, prNumber: row.content.number, @@ -76,13 +82,9 @@ export function useMobileTasksProjectFileMergeActions(model: ProjectReviewCheckA }, { timeoutMs: 30_000 } ) - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - setPrFileContents((current) => ({ - ...current, - [file.path]: response.result as GitHubPRFileContents - })) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const contents = githubPullRequestFileContentsRead.interpret(reply) as GitHubPRFileContents + setPrFileContents((current) => ({ ...current, [file.path]: contents })) } catch (err) { setProjectRowDetailError( err instanceof Error ? err.message : 'Failed to load file contents' @@ -125,8 +127,8 @@ export function useMobileTasksProjectFileMergeActions(model: ProjectReviewCheckA setProjectMutating(true) setProjectRowDetailError('') try { - const response = await client.sendRequest( - 'github.addPRReviewComment', + const reply = await githubReviewCommentWrite.request( + client, { repo: `id:${repo.id}`, prNumber: row.content.number, @@ -138,10 +140,8 @@ export function useMobileTasksProjectFileMergeActions(model: ProjectReviewCheckA }, { timeoutMs: 30_000 } ) - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - const result = response.result as { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = githubReviewCommentWrite.interpret(reply) as { ok?: boolean error?: string comment?: DetailComment @@ -203,8 +203,8 @@ export function useMobileTasksProjectFileMergeActions(model: ProjectReviewCheckA setProjectMutating(true) setProjectRowDetailError('') try { - const response = await client.sendRequest( - 'github.mergePR', + const reply = await githubPullRequestMerge.request( + client, { repo: `id:${repo.id}`, prNumber: row.content.number, @@ -213,10 +213,8 @@ export function useMobileTasksProjectFileMergeActions(model: ProjectReviewCheckA }, { timeoutMs: 60_000 } ) - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - const result = response.result as { ok?: boolean; error?: string } + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = githubPullRequestMerge.interpret(reply) as { ok?: boolean; error?: string } if (result.ok === false) { throw new Error(result.error ?? 'Failed to merge pull request') } @@ -257,24 +255,26 @@ export function useMobileTasksProjectFileMergeActions(model: ProjectReviewCheckA setError('') const nextState = item.source.state === 'closed' ? 'open' : 'closed' try { - const method = item.source.type === 'issue' ? 'github.updateIssue' : 'github.updatePRState' - const params = + // The method and its params were a pair of local ternaries over the item type, not a step + // handed in at runtime, so each arm sends its own operation with its own params type. + const updated = item.source.type === 'issue' - ? { - repo: `id:${item.source.repoId}`, - number: item.source.number, - updates: { state: nextState } - } - : { - repo: `id:${item.source.repoId}`, - prNumber: item.source.number, - updates: { state: nextState } - } - const response = await client.sendRequest(method, params) - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - const result = response.result as { ok?: boolean; error?: string } + ? githubIssueUpdate.interpret( + await githubIssueUpdate.request(client, { + repo: `id:${item.source.repoId}`, + number: item.source.number, + updates: { state: nextState } + }) + ) + : githubPullRequestStateUpdate.interpret( + await githubPullRequestStateUpdate.request(client, { + repo: `id:${item.source.repoId}`, + prNumber: item.source.number, + updates: { state: nextState } + }) + ) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = updated as { ok?: boolean; error?: string } if (result.ok === false) { throw new Error(result.error ?? 'Failed to update GitHub status') } diff --git a/mobile/src/tasks/use-mobile-tasks-project-loading-actions.tsx b/mobile/src/tasks/use-mobile-tasks-project-loading-actions.tsx index 221134e46ee..5af884d7c99 100644 --- a/mobile/src/tasks/use-mobile-tasks-project-loading-actions.tsx +++ b/mobile/src/tasks/use-mobile-tasks-project-loading-actions.tsx @@ -11,7 +11,13 @@ import { parseProjectInput, useCallback } from './mobile-tasks-dependencies' -import { type GitHubProjectTable, isSuccess } from './mobile-tasks-legacy-foundation' +import type { GitHubProjectTable } from './mobile-tasks-legacy-foundation' +import { + githubProjectListRead, + githubProjectRefResolve, + githubProjectViewListRead, + githubProjectViewTableRead +} from './mobile-task-project-board-operations' export function useMobileTasksProjectLoadingActions(model: TaskPaginationActionsModel) { const { @@ -48,13 +54,9 @@ export function useMobileTasksProjectLoadingActions(model: TaskPaginationActions } setGithubProjectError('') setGithubProjectPartialFailures([]) - const response = await client.sendRequest('github.project.listAccessible', { - host: 'github.com' - }) - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - const result = response.result as + const reply = await githubProjectListRead.request(client, { host: 'github.com' }) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = githubProjectListRead.interpret(reply) as | { ok: true projects: GitHubProjectSummary[] @@ -73,16 +75,14 @@ export function useMobileTasksProjectLoadingActions(model: TaskPaginationActions if (!client || connState !== 'connected' || !tasksSupported || !taskStateHydrated) { return [] } - const response = await client.sendRequest('github.project.listViews', { + const reply = await githubProjectViewListRead.request(client, { owner: project.owner, host: githubProjectHost(project.host), ownerType: project.ownerType, projectNumber: project.number }) - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - const result = response.result as + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = githubProjectViewListRead.interpret(reply) as | { ok: true; views: GitHubProjectViewSummary[] } | { ok: false; error: { message: string } } if (!result.ok) { @@ -109,8 +109,8 @@ export function useMobileTasksProjectLoadingActions(model: TaskPaginationActions setGithubProjectLoading(true) setGithubProjectError('') try { - const response = await client.sendRequest( - 'github.project.viewTable', + const reply = await githubProjectViewTableRead.request( + client, { owner: activeGitHubProject.owner, host: activeGitHubProjectHost, @@ -121,10 +121,8 @@ export function useMobileTasksProjectLoadingActions(model: TaskPaginationActions }, { timeoutMs: 60_000 } ) - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - const result = response.result as + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = githubProjectViewTableRead.interpret(reply) as | { ok: true; data: GitHubProjectTable } | { ok: false; error: { message: string }; totalCount?: number } if (!result.ok) { @@ -262,14 +260,12 @@ export function useMobileTasksProjectLoadingActions(model: TaskPaginationActions setGithubProjectPasteError('') setGithubProjectError('') try { - const response = await client.sendRequest('github.project.resolveRef', { + const reply = await githubProjectRefResolve.request(client, { input, host: githubProjectHost(parsed.host) }) - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - const result = response.result as + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = githubProjectRefResolve.interpret(reply) as | { ok: true owner: string diff --git a/mobile/src/tasks/use-mobile-tasks-project-metadata-actions.tsx b/mobile/src/tasks/use-mobile-tasks-project-metadata-actions.tsx index 90c217f3696..2d628130314 100644 --- a/mobile/src/tasks/use-mobile-tasks-project-metadata-actions.tsx +++ b/mobile/src/tasks/use-mobile-tasks-project-metadata-actions.tsx @@ -5,10 +5,15 @@ import { type GitHubProjectField, type GitHubProjectFieldMutationValue, type GitHubProjectRow, - isSuccess, optimisticProjectFieldValue, splitRepositorySlug } from './mobile-tasks-legacy-foundation' +import { + githubProjectFieldClear, + githubProjectFieldUpdate, + githubProjectIssueTypeUpdate, + githubProjectIssueUpdate +} from './mobile-task-project-board-operations' export function useMobileTasksProjectMetadataActions(model: ProjectThreadReplyActionsModel) { const { @@ -43,8 +48,8 @@ export function useMobileTasksProjectMetadataActions(model: ProjectThreadReplyAc } setProjectMutating(true) try { - const response = await client.sendRequest( - 'github.project.updateIssueBySlug', + const reply = await githubProjectIssueUpdate.request( + client, { owner: slug.owner, repo: slug.repo, @@ -54,10 +59,11 @@ export function useMobileTasksProjectMetadataActions(model: ProjectThreadReplyAc }, { timeoutMs: 30_000 } ) - if (!isSuccess(response)) { - throw new Error(response.error.message) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = githubProjectIssueUpdate.interpret(reply) as { + ok?: boolean + error?: { message?: string } } - const result = response.result as { ok?: boolean; error?: { message?: string } } if (result.ok === false) { throw new Error(result.error?.message ?? 'Failed to update GitHub item') } @@ -147,28 +153,37 @@ export function useMobileTasksProjectMetadataActions(model: ProjectThreadReplyAc } setProjectMutating(true) try { - const response = await client.sendRequest( - value === null ? 'github.project.clearItemField' : 'github.project.updateItemField', + // Clearing and setting a field are different methods with different params, so each arm + // sends its own operation rather than one call picking a method string. + const written = value === null - ? { - projectId: githubProjectTable.project.id, - host: activeGitHubProjectHost, - itemId: row.id, - fieldId: field.id - } - : { - projectId: githubProjectTable.project.id, - host: activeGitHubProjectHost, - itemId: row.id, - fieldId: field.id, - value - }, - { timeoutMs: 30_000 } - ) - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - const result = response.result as { ok?: boolean; error?: { message?: string } } + ? githubProjectFieldClear.interpret( + await githubProjectFieldClear.request( + client, + { + projectId: githubProjectTable.project.id, + host: activeGitHubProjectHost, + itemId: row.id, + fieldId: field.id + }, + { timeoutMs: 30_000 } + ) + ) + : githubProjectFieldUpdate.interpret( + await githubProjectFieldUpdate.request( + client, + { + projectId: githubProjectTable.project.id, + host: activeGitHubProjectHost, + itemId: row.id, + fieldId: field.id, + value + }, + { timeoutMs: 30_000 } + ) + ) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = written as { ok?: boolean; error?: { message?: string } } if (result.ok === false) { throw new Error(result.error?.message ?? 'Failed to update project field') } @@ -220,8 +235,8 @@ export function useMobileTasksProjectMetadataActions(model: ProjectThreadReplyAc } setProjectMutating(true) try { - const response = await client.sendRequest( - 'github.project.updateIssueTypeBySlug', + const reply = await githubProjectIssueTypeUpdate.request( + client, { owner: slug.owner, repo: slug.repo, @@ -231,10 +246,11 @@ export function useMobileTasksProjectMetadataActions(model: ProjectThreadReplyAc }, { timeoutMs: 30_000 } ) - if (!isSuccess(response)) { - throw new Error(response.error.message) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = githubProjectIssueTypeUpdate.interpret(reply) as { + ok?: boolean + error?: { message?: string } } - const result = response.result as { ok?: boolean; error?: { message?: string } } if (result.ok === false) { throw new Error(result.error?.message ?? 'Failed to update issue type') } diff --git a/mobile/src/tasks/use-mobile-tasks-project-metadata-loading.tsx b/mobile/src/tasks/use-mobile-tasks-project-metadata-loading.tsx index 5a4e9c48d1f..df01eba05a2 100644 --- a/mobile/src/tasks/use-mobile-tasks-project-metadata-loading.tsx +++ b/mobile/src/tasks/use-mobile-tasks-project-metadata-loading.tsx @@ -3,9 +3,13 @@ import { useEffect } from './mobile-tasks-dependencies' import { type GitHubAssignableUser, type GitHubIssueType, - isSuccess, splitRepositorySlug } from './mobile-tasks-legacy-foundation' +import { + githubProjectAssignableUserListRead, + githubProjectIssueTypeListRead, + githubProjectLabelListRead +} from './mobile-task-project-board-operations' export function useMobileTasksProjectMetadataLoading(model: ProjectDetailLoadingModel) { const { @@ -38,9 +42,9 @@ export function useMobileTasksProjectMetadataLoading(model: ProjectDetailLoading setProjectAvailableLabels([]) setProjectLabelsError('') setProjectLabelsLoading(true) - void client - .sendRequest( - 'github.project.listLabelsBySlug', + void githubProjectLabelListRead + .request( + client, { owner: slug.owner, repo: slug.repo, host: activeGitHubProjectHost }, { timeoutMs: 30_000 } ) @@ -48,10 +52,8 @@ export function useMobileTasksProjectMetadataLoading(model: ProjectDetailLoading if (stale) { return } - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - const result = response.result as + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = githubProjectLabelListRead.interpret(response) as | { ok: true; labels?: string[] } | { ok: false; error?: { message?: string } } if (!result.ok) { @@ -88,9 +90,9 @@ export function useMobileTasksProjectMetadataLoading(model: ProjectDetailLoading setProjectAssignableUsers([]) setProjectAssignableUsersError('') setProjectAssignableUsersLoading(true) - void client - .sendRequest( - 'github.project.listAssignableUsersBySlug', + void githubProjectAssignableUserListRead + .request( + client, { owner: slug.owner, repo: slug.repo, @@ -103,10 +105,8 @@ export function useMobileTasksProjectMetadataLoading(model: ProjectDetailLoading if (stale) { return } - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - const result = response.result as + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = githubProjectAssignableUserListRead.interpret(response) as | { ok: true; users?: GitHubAssignableUser[] } | { ok: false; error?: { message?: string } } if (!result.ok) { @@ -151,9 +151,9 @@ export function useMobileTasksProjectMetadataLoading(model: ProjectDetailLoading setProjectIssueTypes([]) setProjectIssueTypesError('') setProjectIssueTypesLoading(true) - void client - .sendRequest( - 'github.project.listIssueTypesBySlug', + void githubProjectIssueTypeListRead + .request( + client, { owner: slug.owner, repo: slug.repo, host: activeGitHubProjectHost }, { timeoutMs: 30_000 } ) @@ -161,10 +161,8 @@ export function useMobileTasksProjectMetadataLoading(model: ProjectDetailLoading if (stale) { return } - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - const result = response.result as + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = githubProjectIssueTypeListRead.interpret(response) as | { ok: true; types?: GitHubIssueType[] } | { ok: false; error?: { message?: string } } if (!result.ok) { diff --git a/mobile/src/tasks/use-mobile-tasks-project-repository-resolution.tsx b/mobile/src/tasks/use-mobile-tasks-project-repository-resolution.tsx index e2d077493b6..f9495ad908f 100644 --- a/mobile/src/tasks/use-mobile-tasks-project-repository-resolution.tsx +++ b/mobile/src/tasks/use-mobile-tasks-project-repository-resolution.tsx @@ -8,11 +8,11 @@ import { import { GITHUB_REPO_CONCURRENCY, getGitHubReviewerSeedUsers, - isSuccess, mapWithConcurrency, mergeGitHubAssignableUsers, projectRowType } from './mobile-tasks-legacy-foundation' +import { githubProjectRepoSlugRead } from './mobile-task-project-board-operations' export function useMobileTasksProjectRepositoryResolution(model: ProjectProjectionModel) { const { @@ -59,15 +59,13 @@ export function useMobileTasksProjectRepositoryResolution(model: ProjectProjecti let cancelled = false void mapWithConcurrency(missing, GITHUB_REPO_CONCURRENCY, async (repo) => { try { - const response = await client.sendRequest( - 'github.repoSlug', + const reply = await githubProjectRepoSlugRead.request( + client, { repo: `id:${repo.id}` }, { timeoutMs: 30_000 } ) - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - const result = response.result as GitHubOwnerRepo | null + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = githubProjectRepoSlugRead.interpret(reply) as GitHubOwnerRepo | null return { repoId: repo.id, entry: { path: repo.path, repository: result } } } catch { // Cached so readiness settles; `failed` marks it for retry on refresh. diff --git a/mobile/src/tasks/use-mobile-tasks-project-review-check-actions.tsx b/mobile/src/tasks/use-mobile-tasks-project-review-check-actions.tsx index ac538cee29c..1394a62b449 100644 --- a/mobile/src/tasks/use-mobile-tasks-project-review-check-actions.tsx +++ b/mobile/src/tasks/use-mobile-tasks-project-review-check-actions.tsx @@ -5,10 +5,15 @@ import { type GitHubDetailCheck, type GitHubDetailFile, type GitHubProjectRow, - isSuccess, projectRowGitHubRepository, splitReviewerList } from './mobile-tasks-legacy-foundation' +import { + githubPullRequestChecksRead, + githubPullRequestChecksRerun, + githubPullRequestFileViewedWrite, + githubReviewerRequest +} from './mobile-task-item-state-operations' export function useMobileTasksProjectReviewCheckActions(model: ProjectMetadataActionsModel) { const { @@ -37,8 +42,8 @@ export function useMobileTasksProjectReviewCheckActions(model: ProjectMetadataAc setProjectMutating(true) setProjectRowDetailError('') try { - const response = await client.sendRequest( - 'github.requestPRReviewers', + const reply = await githubReviewerRequest.request( + client, { repo: `id:${repo.id}`, prNumber: row.content.number, @@ -47,10 +52,8 @@ export function useMobileTasksProjectReviewCheckActions(model: ProjectMetadataAc }, { timeoutMs: 30_000 } ) - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - const result = response.result as { ok?: boolean; error?: string } + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = githubReviewerRequest.interpret(reply) as { ok?: boolean; error?: string } if (result.ok === false) { throw new Error(result.error ?? 'Failed to request reviewers') } @@ -115,8 +118,8 @@ export function useMobileTasksProjectReviewCheckActions(model: ProjectMetadataAc setProjectMutating(true) setProjectRowDetailError('') try { - const response = await client.sendRequest( - 'github.prChecks', + const reply = await githubPullRequestChecksRead.request( + client, { repo: `id:${repo.id}`, prNumber: row.content.number, @@ -126,13 +129,12 @@ export function useMobileTasksProjectReviewCheckActions(model: ProjectMetadataAc }, { timeoutMs: 30_000 } ) - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - if (!Array.isArray(response.result)) { + const payload = githubPullRequestChecksRead.interpret(reply) + if (!Array.isArray(payload)) { throw new Error('Invalid checks response') } - const checks = response.result as GitHubDetailCheck[] + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const checks = payload as GitHubDetailCheck[] setProjectRowDetail((current) => current?.provider === 'github' ? { ...current, checks } : current ) @@ -160,8 +162,8 @@ export function useMobileTasksProjectReviewCheckActions(model: ProjectMetadataAc setProjectMutating(true) setProjectRowDetailError('') try { - const response = await client.sendRequest( - 'github.rerunPRChecks', + const reply = await githubPullRequestChecksRerun.request( + client, { repo: `id:${repo.id}`, prNumber: row.content.number, @@ -171,10 +173,11 @@ export function useMobileTasksProjectReviewCheckActions(model: ProjectMetadataAc }, { timeoutMs: 60_000 } ) - if (!isSuccess(response)) { - throw new Error(response.error.message) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = githubPullRequestChecksRerun.interpret(reply) as { + ok?: boolean + error?: string } - const result = response.result as { ok?: boolean; error?: string } if (result.ok === false) { throw new Error(result.error ?? 'Failed to rerun checks') } @@ -202,8 +205,8 @@ export function useMobileTasksProjectReviewCheckActions(model: ProjectMetadataAc setProjectMutating(true) setProjectRowDetailError('') try { - const response = await client.sendRequest( - 'github.setPRFileViewed', + const reply = await githubPullRequestFileViewedWrite.request( + client, { repo: `id:${repo.id}`, prRepo: projectRowGitHubRepository(row, activeGitHubProjectHost), @@ -213,10 +216,7 @@ export function useMobileTasksProjectReviewCheckActions(model: ProjectMetadataAc }, { timeoutMs: 30_000 } ) - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - if (response.result !== true) { + if (githubPullRequestFileViewedWrite.interpret(reply) !== true) { throw new Error('Failed to sync viewed state with GitHub.') } setProjectRowDetail((current) => diff --git a/mobile/src/tasks/use-mobile-tasks-project-thread-reply-actions.tsx b/mobile/src/tasks/use-mobile-tasks-project-thread-reply-actions.tsx index e853bcb03bb..584cea4d128 100644 --- a/mobile/src/tasks/use-mobile-tasks-project-thread-reply-actions.tsx +++ b/mobile/src/tasks/use-mobile-tasks-project-thread-reply-actions.tsx @@ -4,11 +4,16 @@ import { type DetailComment, type GitHubProjectRow, commentAuthor, - isSuccess, projectRowGitHubRepository, projectRowType, splitRepositorySlug } from './mobile-tasks-legacy-foundation' +import { githubProjectCommentDelete } from './mobile-task-project-board-operations' +import { + githubIssueCommentWrite, + githubReviewCommentReplyWrite, + githubReviewThreadResolve +} from './mobile-task-item-comment-operations' export function useMobileTasksProjectThreadReplyActions( model: ProjectWorkspaceCommentActionsModel @@ -41,8 +46,8 @@ export function useMobileTasksProjectThreadReplyActions( setProjectMutating(true) setProjectRowDetailError('') try { - const response = await client.sendRequest( - 'github.project.deleteIssueCommentBySlug', + const reply = await githubProjectCommentDelete.request( + client, { owner: slug.owner, repo: slug.repo, @@ -51,10 +56,8 @@ export function useMobileTasksProjectThreadReplyActions( }, { timeoutMs: 30_000 } ) - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - const result = response.result as { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = githubProjectCommentDelete.interpret(reply) as { ok?: boolean error?: string | { message?: string } } @@ -102,8 +105,8 @@ export function useMobileTasksProjectThreadReplyActions( setProjectMutating(true) setProjectRowDetailError('') try { - const response = await client.sendRequest( - 'github.resolveReviewThread', + const reply = await githubReviewThreadResolve.request( + client, { repo: `id:${repo.id}`, prRepo: projectRowGitHubRepository(row, activeGitHubProjectHost), @@ -112,10 +115,7 @@ export function useMobileTasksProjectThreadReplyActions( }, { timeoutMs: 30_000 } ) - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - if (response.result !== true) { + if (githubReviewThreadResolve.interpret(reply) !== true) { throw new Error(resolve ? 'Failed to resolve thread' : 'Failed to reopen thread') } setProjectRowDetail((current) => @@ -155,41 +155,49 @@ export function useMobileTasksProjectThreadReplyActions( setProjectMutating(true) setProjectRowDetailError('') try { - const canUseReviewReply = + // The same predicate as before, but as the anchor it selects: `commentId` and `line` are + // numbers only inside it, which the boolean it used to be could not carry to the send. + const reviewAnchor = row.itemType === 'PULL_REQUEST' && comment.path && typeof comment.line === 'number' && typeof comment.id === 'number' - const response = canUseReviewReply - ? await client.sendRequest( - 'github.addPRReviewCommentReply', - { - repo: `id:${repo.id}`, - prNumber: row.content.number, - prRepo: projectRowGitHubRepository(row, activeGitHubProjectHost), - commentId: comment.id, - body, - threadId: comment.threadId, - path: comment.path, - line: comment.line - }, - { timeoutMs: 30_000 } + ? { path: comment.path, line: comment.line, commentId: comment.id } + : null + // A review reply and a plain issue comment are different methods, so each arm sends its + // own operation rather than one call picking a method string. + const written = reviewAnchor + ? githubReviewCommentReplyWrite.interpret( + await githubReviewCommentReplyWrite.request( + client, + { + repo: `id:${repo.id}`, + prNumber: row.content.number, + prRepo: projectRowGitHubRepository(row, activeGitHubProjectHost), + commentId: reviewAnchor.commentId, + body, + threadId: comment.threadId, + path: reviewAnchor.path, + line: reviewAnchor.line + }, + { timeoutMs: 30_000 } + ) ) - : await client.sendRequest( - 'github.addIssueComment', - { - repo: `id:${repo.id}`, - number: row.content.number, - prRepo: projectRowGitHubRepository(row, activeGitHubProjectHost), - body: `@${commentAuthor(comment)} ${body}`, - type: projectRowType(row) ?? 'issue' - }, - { timeoutMs: 30_000 } + : githubIssueCommentWrite.interpret( + await githubIssueCommentWrite.request( + client, + { + repo: `id:${repo.id}`, + number: row.content.number, + prRepo: projectRowGitHubRepository(row, activeGitHubProjectHost), + body: `@${commentAuthor(comment)} ${body}`, + type: projectRowType(row) ?? 'issue' + }, + { timeoutMs: 30_000 } + ) ) - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - const result = response.result as { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = written as { ok?: boolean error?: string comment?: DetailComment diff --git a/mobile/src/tasks/use-mobile-tasks-project-workspace-comment-actions.tsx b/mobile/src/tasks/use-mobile-tasks-project-workspace-comment-actions.tsx index b4aa8ea7460..a71bc23980d 100644 --- a/mobile/src/tasks/use-mobile-tasks-project-workspace-comment-actions.tsx +++ b/mobile/src/tasks/use-mobile-tasks-project-workspace-comment-actions.tsx @@ -4,11 +4,16 @@ import { type DetailComment, type GitHubProjectRow, type GitHubWorkItem, - isSuccess, projectRowStatusLabel, projectRowType, splitRepositorySlug } from './mobile-tasks-legacy-foundation' +import { + githubProjectCommentUpdate, + githubProjectCommentWrite, + githubProjectIssueUpdate, + githubProjectPullRequestUpdate +} from './mobile-task-project-board-operations' export function useMobileTasksProjectWorkspaceCommentActions(model: WorkspaceCreateActionsModel) { const { @@ -101,23 +106,40 @@ export function useMobileTasksProjectWorkspaceCommentActions(model: WorkspaceCre } setProjectMutating(true) try { - const response = await client.sendRequest( + // An issue and a pull request are different methods, so each arm sends its own operation + // rather than one call picking a method string. + // Params repeated rather than hoisted so each send textually carries its own host, which + // is what github-project-host-routing-source.test.ts pins. + const updated = type === 'issue' - ? 'github.project.updateIssueBySlug' - : 'github.project.updatePullRequestBySlug', - { - owner: slug.owner, - repo: slug.repo, - host: activeGitHubProjectHost, - number: row.content.number, - updates - }, - { timeoutMs: 30_000 } - ) - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - const result = response.result as { ok?: boolean; error?: { message?: string } } + ? githubProjectIssueUpdate.interpret( + await githubProjectIssueUpdate.request( + client, + { + owner: slug.owner, + repo: slug.repo, + host: activeGitHubProjectHost, + number: row.content.number, + updates + }, + { timeoutMs: 30_000 } + ) + ) + : githubProjectPullRequestUpdate.interpret( + await githubProjectPullRequestUpdate.request( + client, + { + owner: slug.owner, + repo: slug.repo, + host: activeGitHubProjectHost, + number: row.content.number, + updates + }, + { timeoutMs: 30_000 } + ) + ) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = updated as { ok?: boolean; error?: { message?: string } } if (result.ok === false) { throw new Error(result.error?.message ?? 'Failed to update GitHub item') } @@ -185,8 +207,8 @@ export function useMobileTasksProjectWorkspaceCommentActions(model: WorkspaceCre } setProjectMutating(true) try { - const response = await client.sendRequest( - 'github.project.addIssueCommentBySlug', + const reply = await githubProjectCommentWrite.request( + client, { owner: slug.owner, repo: slug.repo, @@ -196,10 +218,8 @@ export function useMobileTasksProjectWorkspaceCommentActions(model: WorkspaceCre }, { timeoutMs: 30_000 } ) - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - const result = response.result as + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = githubProjectCommentWrite.interpret(reply) as | { ok: true; comment?: DetailComment } | { ok: false; error?: { message?: string } } if (!result.ok) { @@ -237,8 +257,8 @@ export function useMobileTasksProjectWorkspaceCommentActions(model: WorkspaceCre setProjectMutating(true) setProjectRowDetailError('') try { - const response = await client.sendRequest( - 'github.project.updateIssueCommentBySlug', + const reply = await githubProjectCommentUpdate.request( + client, { owner: slug.owner, repo: slug.repo, @@ -248,10 +268,8 @@ export function useMobileTasksProjectWorkspaceCommentActions(model: WorkspaceCre }, { timeoutMs: 30_000 } ) - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - const result = response.result as { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = githubProjectCommentUpdate.interpret(reply) as { ok?: boolean error?: string | { message?: string } } diff --git a/mobile/src/tasks/use-mobile-tasks-provider-load-actions.tsx b/mobile/src/tasks/use-mobile-tasks-provider-load-actions.tsx index 4550de1492c..30e905f9b73 100644 --- a/mobile/src/tasks/use-mobile-tasks-provider-load-actions.tsx +++ b/mobile/src/tasks/use-mobile-tasks-provider-load-actions.tsx @@ -1,4 +1,5 @@ import type { RuntimeHydrationModel } from './use-mobile-tasks-runtime-hydration' +import type { RpcSendParams } from '../transport/rpc-params-contract' import { CROSS_REPO_DISPLAY_LIMIT, type GitHubIssueSourceError, @@ -19,12 +20,18 @@ import { type RepoSummary, type TaskItem, createGitHubTask, - isSuccess, mapWithConcurrency, reconcileTeamSelection, scopeGitHubTaskSearch, taskTime } from './mobile-tasks-legacy-foundation' +import { + githubWorkItemCountRead, + linearAccountStatusRead, + linearWorkspaceTeamListRead +} from './mobile-task-list-operations' +import { githubWorkItemSearchRead } from './mobile-task-source-search-operations' +import { taskSettingsWrite } from './mobile-task-runtime-operations' export function useMobileTasksProviderLoadActions(model: RuntimeHydrationModel) { const { @@ -45,11 +52,9 @@ export function useMobileTasksProviderLoadActions(model: RuntimeHydrationModel) if (!client || connState !== 'connected' || !tasksSupported) { return } - const statusResponse = await client.sendRequest('linear.status') - if (!isSuccess(statusResponse)) { - throw new Error(statusResponse.error.message) - } - const status = statusResponse.result as LinearStatusResponse + const statusReply = await linearAccountStatusRead.request(client) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const status = linearAccountStatusRead.interpret(statusReply) as LinearStatusResponse setLinearConnected(status.connected === true) if (status.connected !== true) { setLinearWorkspaces([]) @@ -64,13 +69,11 @@ export function useMobileTasksProviderLoadActions(model: RuntimeHydrationModel) setLinearWorkspaces(workspaces) setSelectedLinearWorkspaceId(workspaceId) - const teamsResponse = await client.sendRequest('linear.listTeams', { + const teamsReply = await linearWorkspaceTeamListRead.request(client, { workspaceId: workspaceId ?? undefined }) - if (!isSuccess(teamsResponse)) { - throw new Error(teamsResponse.error.message) - } - const teams = teamsResponse.result as LinearTeam[] + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const teams = linearWorkspaceTeamListRead.interpret(teamsReply) as LinearTeam[] setLinearTeams(teams) setSelectedLinearTeamIds(reconcileTeamSelection(teams, defaultLinearTeamSelectionRef.current)) }, [client, connState, tasksSupported]) @@ -82,8 +85,9 @@ export function useMobileTasksProviderLoadActions(model: RuntimeHydrationModel) } const selection = teamIds.size === allTeams.length ? null : [...teamIds] defaultLinearTeamSelectionRef.current = selection - void client - .sendRequest('settings.update', { defaultLinearTeamSelection: selection }) + // Fire-and-forget: the reply is never interpreted, so no acceptance policy applies here. + void taskSettingsWrite + .request(client, { defaultLinearTeamSelection: selection }) .catch(() => { // Best-effort preference persistence; the local picker state already changed. }) @@ -108,16 +112,23 @@ export function useMobileTasksProviderLoadActions(model: RuntimeHydrationModel) GITHUB_REPO_CONCURRENCY, async (repo) => { try { - const response = await requestClient.sendRequest('github.listWorkItems', { + // `before` is the list's pagination cursor, and github.listWorkItems' params schema + // does not declare it, so the host has always dropped it. Sent verbatim anyway: + // removing it would change the bytes, and making the host honour the cursor is a + // product fix with its own recording, not part of this migration. + const pageParams = { repo: `id:${repo.id}`, limit: PER_REPO_FETCH_LIMIT, query: scopeGitHubTaskSearch(appliedQuery, githubKind), before - }) - if (!isSuccess(response)) { - throw new Error(response.error.message) } - const envelope = response.result as { + const reply = await githubWorkItemSearchRead.request( + requestClient, + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: `before` is the undeclared key described above; every other field matches the schema. + pageParams as RpcSendParams<'github.listWorkItems'> + ) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const envelope = githubWorkItemSearchRead.interpret(reply) as { items: Array> sources?: GitHubRepoSources errors?: { issues?: { message: string } } @@ -183,18 +194,16 @@ export function useMobileTasksProviderLoadActions(model: RuntimeHydrationModel) GITHUB_REPO_CONCURRENCY, async (repo) => { try { - const response = await requestClient.sendRequest( - 'github.countWorkItems', + const reply = await githubWorkItemCountRead.request( + requestClient, { repo: `id:${repo.id}`, query: scopeGitHubTaskSearch(appliedQuery, githubKind) }, { timeoutMs: 30_000 } ) - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - return typeof response.result === 'number' ? response.result : 0 + const count = githubWorkItemCountRead.interpret(reply) + return typeof count === 'number' ? count : 0 } catch (err) { const isExpectedSshSkip = isGitHubWorkItemsSshRemoteRequiredError(err) const logWorkItemCountFailure = isExpectedSshSkip ? console.log : console.warn diff --git a/mobile/src/tasks/use-mobile-tasks-provider-view-projection.test.tsx b/mobile/src/tasks/use-mobile-tasks-provider-view-projection.test.tsx index 0eb8d3d32f7..3ab8ae149d4 100644 --- a/mobile/src/tasks/use-mobile-tasks-provider-view-projection.test.tsx +++ b/mobile/src/tasks/use-mobile-tasks-provider-view-projection.test.tsx @@ -243,7 +243,7 @@ function countLinearWork(run: () => void): WorkCounts { } } -function shape(sections: LinearIssueSection[]) { +function summarizeSections(sections: LinearIssueSection[]) { return sections.map((section) => ({ key: section.key, label: section.label, @@ -268,8 +268,8 @@ describe('useMobileTasksProviderViewProjection linear sections', () => { (linearGroupBy) => { const projection = mount({ linearGroupBy }) expect(projection.linearBoardSections).toBe(projection.linearIssueSections) - expect(shape(projection.linearBoardSections)).toEqual( - shape(legacyProjection({ ...DEFAULT_INPUT, linearGroupBy }).boardSections) + expect(summarizeSections(projection.linearBoardSections)).toEqual( + summarizeSections(legacyProjection({ ...DEFAULT_INPUT, linearGroupBy }).boardSections) ) } ) @@ -278,8 +278,12 @@ describe('useMobileTasksProviderViewProjection linear sections', () => { const projection = mount({ linearGroupBy: 'none' }) const legacy = legacyProjection({ ...DEFAULT_INPUT, linearGroupBy: 'none' }) expect(projection.linearBoardSections).not.toBe(projection.linearIssueSections) - expect(shape(projection.linearIssueSections)).toEqual(shape(legacy.listSections)) - expect(shape(projection.linearBoardSections)).toEqual(shape(legacy.boardSections)) + expect(summarizeSections(projection.linearIssueSections)).toEqual( + summarizeSections(legacy.listSections) + ) + expect(summarizeSections(projection.linearBoardSections)).toEqual( + summarizeSections(legacy.boardSections) + ) expect(projection.linearIssueSections.map((section) => section.key)).toEqual(['all']) expect(projection.linearBoardSections.length).toBeGreaterThan(1) expect(projection.linearListEntries.every((entry) => entry.type === 'issue')).toBe(true) @@ -293,8 +297,12 @@ describe('useMobileTasksProviderViewProjection linear sections', () => { linearGroupBy, linearOrderBy: order }) - expect(shape(projection.linearIssueSections)).toEqual(shape(legacy.listSections)) - expect(shape(projection.linearBoardSections)).toEqual(shape(legacy.boardSections)) + expect(summarizeSections(projection.linearIssueSections)).toEqual( + summarizeSections(legacy.listSections) + ) + expect(summarizeSections(projection.linearBoardSections)).toEqual( + summarizeSections(legacy.boardSections) + ) expect(projection.linearIssuesForView.map((issue) => issue.id)).toEqual( legacy.issuesForView.map((issue) => issue.id) ) @@ -310,20 +318,24 @@ describe('useMobileTasksProviderViewProjection transitions', () => { const grouped = rerender({ linearGroupBy: 'status' }) expect(grouped.linearBoardSections).toBe(grouped.linearIssueSections) - expect(shape(grouped.linearBoardSections)).toEqual( - shape(legacyProjection({ ...DEFAULT_INPUT, linearGroupBy: 'status' }).boardSections) + expect(summarizeSections(grouped.linearBoardSections)).toEqual( + summarizeSections( + legacyProjection({ ...DEFAULT_INPUT, linearGroupBy: 'status' }).boardSections + ) ) const assignee = rerender({ linearGroupBy: 'assignee' }) expect(assignee.linearBoardSections).toBe(assignee.linearIssueSections) - expect(shape(assignee.linearBoardSections)).toEqual( - shape(legacyProjection({ ...DEFAULT_INPUT, linearGroupBy: 'assignee' }).boardSections) + expect(summarizeSections(assignee.linearBoardSections)).toEqual( + summarizeSections( + legacyProjection({ ...DEFAULT_INPUT, linearGroupBy: 'assignee' }).boardSections + ) ) const none = rerender({ linearGroupBy: 'none' }) expect(none.linearBoardSections).not.toBe(none.linearIssueSections) - expect(shape(none.linearBoardSections)).toEqual( - shape(legacyProjection({ ...DEFAULT_INPUT, linearGroupBy: 'none' }).boardSections) + expect(summarizeSections(none.linearBoardSections)).toEqual( + summarizeSections(legacyProjection({ ...DEFAULT_INPUT, linearGroupBy: 'none' }).boardSections) ) }) @@ -333,8 +345,8 @@ describe('useMobileTasksProviderViewProjection transitions', () => { const next = rerender({ linearGroupBy: 'priority', linearOrderBy: 'identifier' }) expect(next.linearBoardSections).not.toBe(firstSections) expect(next.linearBoardSections).toBe(next.linearIssueSections) - expect(shape(next.linearBoardSections)).toEqual( - shape( + expect(summarizeSections(next.linearBoardSections)).toEqual( + summarizeSections( legacyProjection({ ...DEFAULT_INPUT, linearGroupBy: 'priority', @@ -369,17 +381,17 @@ describe('useMobileTasksProviderViewProjection transitions', () => { const refreshed = rerender({ linearGroupBy: 'status', items: makeItems(50) }) expect(refreshed.linearBoardSections).not.toBe(sections) expect(refreshed.linearBoardSections).toBe(refreshed.linearIssueSections) - expect(shape(refreshed.linearBoardSections)).toEqual(shape(sections)) + expect(summarizeSections(refreshed.linearBoardSections)).toEqual(summarizeSections(sections)) }) it('does not mutate the shared sections when the list entries are built', () => { const projection = mount({ linearGroupBy: 'status' }) - const before = shape(projection.linearIssueSections) + const before = summarizeSections(projection.linearIssueSections) const entryIssueIds = projection.linearListEntries .filter((entry) => entry.type === 'issue') .map((entry) => (entry.type === 'issue' ? entry.issue.id : '')) expect(entryIssueIds).toHaveLength(50) - expect(shape(projection.linearBoardSections)).toEqual(before) + expect(summarizeSections(projection.linearBoardSections)).toEqual(before) }) }) diff --git a/mobile/src/tasks/use-mobile-tasks-task-create-actions.tsx b/mobile/src/tasks/use-mobile-tasks-task-create-actions.tsx index b532272b841..f6970177e5c 100644 --- a/mobile/src/tasks/use-mobile-tasks-task-create-actions.tsx +++ b/mobile/src/tasks/use-mobile-tasks-task-create-actions.tsx @@ -5,9 +5,14 @@ import { type TaskItem, createGitHubTask, createGitLabTask, - createLinearTask, - isSuccess + createLinearTask } from './mobile-tasks-legacy-foundation' +import { + githubIssueCreate, + gitlabIssueCreate, + linearIssueCreate +} from './mobile-task-item-state-operations' +import { taskRepoPreferenceWrite } from './mobile-task-list-operations' export function useMobileTasksTaskCreateActions(model: LinearItemActionsModel) { const { @@ -50,18 +55,26 @@ export function useMobileTasksTaskCreateActions(model: LinearItemActionsModel) { `Add a Git repository before creating a ${provider === 'github' ? 'GitHub' : 'GitLab'} issue.` ) } - const response = await client.sendRequest( - provider === 'github' ? 'github.createIssue' : 'gitlab.createIssue', - { - repo: `id:${repo.id}`, - title, - body: createBody - } - ) - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - const result = response.result as { + // Two providers, two methods: each arm sends its own operation rather than one call + // picking a method string. + const created = + provider === 'github' + ? githubIssueCreate.interpret( + await githubIssueCreate.request(client, { + repo: `id:${repo.id}`, + title, + body: createBody + }) + ) + : gitlabIssueCreate.interpret( + await gitlabIssueCreate.request(client, { + repo: `id:${repo.id}`, + title, + body: createBody + }) + ) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = created as { ok?: boolean number?: number url?: string @@ -109,16 +122,14 @@ export function useMobileTasksTaskCreateActions(model: LinearItemActionsModel) { if (!team) { throw new Error('Select a Linear team first.') } - const response = await client.sendRequest('linear.createIssue', { + const reply = await linearIssueCreate.request(client, { teamId: team.id, title, description: createBody.trim() || undefined, workspaceId: team.workspaceId }) - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - const result = response.result as { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = linearIssueCreate.interpret(reply) as { ok?: boolean id?: string identifier?: string @@ -177,17 +188,15 @@ export function useMobileTasksTaskCreateActions(model: LinearItemActionsModel) { } setError('') try { - const response = await client.sendRequest( - 'repo.update', + const reply = await taskRepoPreferenceWrite.request( + client, { repo: `id:${repo.id}`, updates: { issueSourcePreference: preference } }, { timeoutMs: 15_000 } ) - if (!isSuccess(response)) { - throw new Error(response.error.message) - } + taskRepoPreferenceWrite.interpret(reply) // Why: the host owns issueSourcePreference, so re-read the list instead of // patching the cached copy and hoping the two stay in step. await repoListReload().catch(() => {}) diff --git a/mobile/src/tasks/use-mobile-tasks-task-list-loading.tsx b/mobile/src/tasks/use-mobile-tasks-task-list-loading.tsx index 8f53fd38dc3..12fca82b038 100644 --- a/mobile/src/tasks/use-mobile-tasks-task-list-loading.tsx +++ b/mobile/src/tasks/use-mobile-tasks-task-list-loading.tsx @@ -1,13 +1,10 @@ import type { ProviderLoadActionsModel } from './use-mobile-tasks-provider-load-actions' -import { - extractLinearIssueReadItems, - isHostedTaskRepo, - useCallback -} from './mobile-tasks-dependencies' +import { isHostedTaskRepo, useCallback } from './mobile-tasks-dependencies' import { GITHUB_REPO_CONCURRENCY, GITLAB_PER_PAGE, type GitLabTodo, + type LinearIssue, type GitLabWorkItem, LINEAR_LIMIT, type TaskItem, @@ -16,10 +13,15 @@ import { createGitLabTask, createGitLabTodoTask, createLinearTask, - isSuccess, mapWithConcurrency, taskTime } from './mobile-tasks-legacy-foundation' +import { gitlabTodoListRead } from './mobile-task-list-operations' +import { + gitlabWorkItemSearchRead, + linearAssignedIssueListRead, + linearIssueSearchRead +} from './mobile-task-source-search-operations' export function useMobileTasksTaskListLoading(model: ProviderLoadActionsModel) { const { @@ -140,16 +142,18 @@ export function useMobileTasksTaskListLoading(model: ProviderLoadActionsModel) { return } if (provider === 'gitlab' && gitlabView === 'todos') { - const response = await requestClient.sendRequest('gitlab.todos', { + const reply = await gitlabTodoListRead.request(requestClient, { repo: `id:${queriedRepos[0]!.id}` }) - if (!isSuccess(response)) { - throw new Error(response.error.message) - } + // Kept spelled `response.result`: a reply that is neither an array nor nullish + // crashes in `.map` below, and the message the screen shows is this expression's + // source text, which `matrix-tasks.task-list-gitlab-todos-gitlab.todos-1` pins. + const response = { result: gitlabTodoListRead.interpret(reply) } if (!isCurrent()) { return } setItems( + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. ((response.result as GitLabTodo[]) ?? []) .map(createGitLabTodoTask) .sort((a, b) => taskTime(b.updatedAt) - taskTime(a.updatedAt)) @@ -161,17 +165,15 @@ export function useMobileTasksTaskListLoading(model: ProviderLoadActionsModel) { GITHUB_REPO_CONCURRENCY, async (repo) => { try { - const response = await requestClient.sendRequest('gitlab.listWorkItems', { + const reply = await gitlabWorkItemSearchRead.request(requestClient, { repo: `id:${repo.id}`, state: gitlabFilter, page: 1, perPage: GITLAB_PER_PAGE, query: appliedQuery.trim() || undefined }) - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - const envelope = response.result as { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const envelope = gitlabWorkItemSearchRead.interpret(reply) as { items: Array> error?: { type?: string; message: string } } @@ -209,21 +211,25 @@ export function useMobileTasksTaskListLoading(model: ProviderLoadActionsModel) { } } else { const normalizedQuery = appliedQuery.trim() - const response = normalizedQuery - ? await requestClient.sendRequest('linear.searchIssues', { - query: normalizedQuery, - limit: LINEAR_LIMIT, - workspaceId: selectedLinearWorkspaceId ?? undefined - }) - : await requestClient.sendRequest('linear.listIssues', { - filter: linearFilter, - limit: LINEAR_LIMIT, - workspaceId: selectedLinearWorkspaceId ?? undefined - }) - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - const issues = extractLinearIssueReadItems(response.result) + // A query searches and no query lists: two methods, so each arm sends its own + // operation. Both project the reply through the same Linear item reader. + const found = normalizedQuery + ? linearIssueSearchRead.interpret( + await linearIssueSearchRead.request(requestClient, { + query: normalizedQuery, + limit: LINEAR_LIMIT, + workspaceId: selectedLinearWorkspaceId ?? undefined + }) + ) + : linearAssignedIssueListRead.interpret( + await linearAssignedIssueListRead.request(requestClient, { + filter: linearFilter, + limit: LINEAR_LIMIT, + workspaceId: selectedLinearWorkspaceId ?? undefined + }) + ) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const issues = found as LinearIssue[] const filtered = selectedLinearTeamIds.size > 0 ? issues.filter((issue) => selectedLinearTeamIds.has(issue.team.id)) diff --git a/mobile/src/tasks/use-mobile-tasks-task-pagination-actions.tsx b/mobile/src/tasks/use-mobile-tasks-task-pagination-actions.tsx index 9c2b0b06873..b7cc45ef8a0 100644 --- a/mobile/src/tasks/use-mobile-tasks-task-pagination-actions.tsx +++ b/mobile/src/tasks/use-mobile-tasks-task-pagination-actions.tsx @@ -5,11 +5,8 @@ import { useCallback, useMemo } from './mobile-tasks-dependencies' -import { - type TaskItem, - buildPartialRepositoryNotice, - isSuccess -} from './mobile-tasks-legacy-foundation' +import { type TaskItem, buildPartialRepositoryNotice } from './mobile-tasks-legacy-foundation' +import { linearAccountConnect } from './mobile-task-list-operations' export function useMobileTasksTaskPaginationActions(model: TaskListLoadingModel) { const { @@ -53,11 +50,9 @@ export function useMobileTasksTaskPaginationActions(model: TaskListLoadingModel) setLinearConnectState('connecting') setLinearConnectError('') try { - const response = await client.sendRequest('linear.connect', { apiKey }) - if (!isSuccess(response)) { - throw new Error(response.error.message) - } - const result = response.result as { ok?: boolean; error?: string } + const reply = await linearAccountConnect.request(client, { apiKey }) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = linearAccountConnect.interpret(reply) as { ok?: boolean; error?: string } if (result.ok === false) { throw new Error(result.error ?? 'Failed to connect Linear') } diff --git a/mobile/src/terminal/mobile-terminal-operations.ts b/mobile/src/terminal/mobile-terminal-operations.ts new file mode 100644 index 00000000000..2d6d4a6b879 --- /dev/null +++ b/mobile/src/terminal/mobile-terminal-operations.ts @@ -0,0 +1,73 @@ +import { bindDeferredRpcOperation, defineRpcOperation } from '../transport/rpc-operation' +import type { RpcCompatibleReader } from '../transport/rpc-operation-contract' +import { rpcReadUnchecked, rpcUncheckedPayloadReader } from '../transport/rpc-reader-payload' +import { isTerminalSendResultAccepted } from './terminal-send-rpc-response' +import type { TerminalViewportUpdateOutcome } from './terminal-viewport-refit-state' + +// Terminal input and the in-place viewport update. The `subscribe` and `sendUnsubscribe` ports +// these files also reach are a separate boundary and are untouched. + +/** + * Whether the runtime took the bytes, which is the whole of what a terminal send means to mobile: + * a refusal, a non-object result and an unaccepted one are all "not delivered". `object-result-or- + * null` is what makes those three the same answer, because it is the only policy that turns a + * result the reader cannot read into null rather than a throw. + */ +const terminalSendAcceptanceReader: RpcCompatibleReader< + Record, + 'terminal-send-accepted', + boolean +> = (raw) => rpcReadUnchecked('terminal-send-accepted', isTerminalSendResultAccepted(raw)) + +/** + * Two call sites send terminal input this way — the query-reply responder and the live accessory's + * raw send — and they agree on acceptance, differing only in the params they build. + */ +export const terminalInputSend = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'terminal.input-send', + method: 'terminal.send', + acceptance: 'object-result-or-null', + barrier: 'after-caller-barrier', + read: terminalSendAcceptanceReader + }) +) + +const terminalViewportUpdateReader: RpcCompatibleReader< + Record, + 'terminal-viewport-updated', + TerminalViewportUpdateOutcome +> = (raw) => + rpcReadUnchecked('terminal-viewport-updated', { + updated: raw.updated === true, + applied: raw.applied === true + }) + +/** + * The refit's in-place viewport update. Its capability verdict still comes off the raw reply: the + * refusal code decides whether the method exists at all, and no acceptance policy carries a code. + */ +export const terminalViewportUpdate = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'terminal.viewport-update', + method: 'terminal.updateViewport', + acceptance: 'object-result-or-null', + barrier: 'after-caller-barrier', + read: terminalViewportUpdateReader + }) +) + +/** + * The worker-takeover report. It is a skip rather than a message-throw because the caller raises a + * fixed sentence of its own on any refusal, never the host's: the report is a background write + * whose only consumer is the retry, so a host message would have nowhere to be shown. + */ +export const workerTerminalTakeoverReport = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'orchestration.worker-terminal-input-or-skip', + method: 'orchestration.workerTerminalUserInput', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('worker-terminal-input-reported') + }) +) diff --git a/mobile/src/terminal/mobile-terminal-query-reply.ts b/mobile/src/terminal/mobile-terminal-query-reply.ts index 4dd7ae7a8a5..a14a97144e4 100644 --- a/mobile/src/terminal/mobile-terminal-query-reply.ts +++ b/mobile/src/terminal/mobile-terminal-query-reply.ts @@ -1,6 +1,6 @@ import { isTerminalQueryReply } from '../../../src/shared/terminal-query-reply' import type { RpcClient } from '../transport/rpc-client' -import { isTerminalSendRpcAccepted } from './terminal-send-rpc-response' +import { terminalInputSend } from './mobile-terminal-operations' type TerminalSubscriptionRegistry = { has: (handle: string) => boolean @@ -8,7 +8,7 @@ type TerminalSubscriptionRegistry = { type MobileTerminalQueryReplyOptions = { bytes: string - client: Pick | null + client: RpcClient | null clientId: string | null connected: boolean handle: string @@ -39,13 +39,16 @@ export function sendMobileTerminalQueryReply({ return Promise.resolve(false) } - return client - .sendRequest('terminal.send', { + return terminalInputSend + .request(client, { terminal: handle, text: bytes, enter: false, inputKind: 'query-reply', ...(clientId ? { client: { id: clientId, type: 'mobile' as const } } : {}) }) - .then(isTerminalSendRpcAccepted, () => false) + .then( + (reply) => terminalInputSend.interpret(reply) === true, + () => false + ) } diff --git a/mobile/src/terminal/terminal-live-accessory-raw-send.ts b/mobile/src/terminal/terminal-live-accessory-raw-send.ts index 6fa00ce7bac..2133d1855ac 100644 --- a/mobile/src/terminal/terminal-live-accessory-raw-send.ts +++ b/mobile/src/terminal/terminal-live-accessory-raw-send.ts @@ -1,12 +1,12 @@ import { reportWorkerTerminalUserInput } from './worker-terminal-takeover-report' import { getTerminalLiveAccessoryRawSendTarget } from './terminal-live-accessory-raw-send-target' -import { isTerminalSendRpcAccepted } from './terminal-send-rpc-response' import { buildTerminalSendParams, TERMINAL_INPUT_SEND_OPTIONS } from './terminal-send-request' +import { terminalInputSend } from './mobile-terminal-operations' import type { RpcClient } from '../transport/rpc-client' import type { ConnectionState } from '../transport/types' type TerminalLiveAccessoryRawSendArgs = { - readonly client: Pick | null + readonly client: RpcClient | null readonly targetHandle: string readonly activeHandle: string | null readonly activeSessionTabType: string | null @@ -27,9 +27,9 @@ export async function sendTerminalLiveAccessoryRawBytes( if (!args.client || !rawSendTarget || args.connState !== 'connected') { return false } - return args.client - .sendRequest( - 'terminal.send', + return terminalInputSend + .request( + args.client, buildTerminalSendParams({ terminal: rawSendTarget, text: args.bytes, @@ -39,8 +39,8 @@ export async function sendTerminalLiveAccessoryRawBytes( TERMINAL_INPUT_SEND_OPTIONS ) .then( - (response) => { - const accepted = isTerminalSendRpcAccepted(response) + (reply) => { + const accepted = terminalInputSend.interpret(reply) === true if (accepted) { reportWorkerTerminalUserInput(args.client!, rawSendTarget) } diff --git a/mobile/src/terminal/terminal-send-rpc-response.ts b/mobile/src/terminal/terminal-send-rpc-response.ts index 454c5e32972..62a93e6130f 100644 --- a/mobile/src/terminal/terminal-send-rpc-response.ts +++ b/mobile/src/terminal/terminal-send-rpc-response.ts @@ -4,12 +4,11 @@ function isRecord(value: unknown): value is Record { return typeof value === 'object' && value !== null } +/** The same verdict read off an admitted payload, for a call site that sends through an operation. */ +export function isTerminalSendResultAccepted(result: unknown): boolean { + return isRecord(result) && isRecord(result.send) && result.send.accepted === true +} + export function isTerminalSendRpcAccepted(response: RpcResponse): boolean { - if (!response.ok) { - return false - } - if (!isRecord(response.result) || !isRecord(response.result.send)) { - return false - } - return response.result.send.accepted === true + return response.ok && isTerminalSendResultAccepted(response.result) } diff --git a/mobile/src/terminal/terminal-viewport-refit-state.ts b/mobile/src/terminal/terminal-viewport-refit-state.ts index 766345d8c73..5d57c991cde 100644 --- a/mobile/src/terminal/terminal-viewport-refit-state.ts +++ b/mobile/src/terminal/terminal-viewport-refit-state.ts @@ -1,8 +1,5 @@ import type { RpcResponse } from '../transport/types' -import { - isMethodNotFoundRefusal, - rpcObjectResultOrNull -} from '../transport/rpc-acceptance-policies' +import { isMethodNotFoundRefusal } from '../transport/rpc-acceptance-policies' export type TerminalUpdateViewportCapability = 'unknown' | 'supported' | 'unsupported' @@ -17,13 +14,8 @@ export type TerminalViewportRefitTargetState = { currentRunSeq: number } -export function isTerminalUpdateViewportUpdated(response: RpcResponse): boolean { - return rpcObjectResultOrNull(response)?.updated === true -} - -export function isTerminalUpdateViewportApplied(response: RpcResponse): boolean { - return rpcObjectResultOrNull(response)?.applied === true -} +/** What the runtime did with the viewport: recorded it, and whether it re-fitted the PTY too. */ +export type TerminalViewportUpdateOutcome = { updated: boolean; applied: boolean } export function resolveTerminalUpdateViewportCapability( response: RpcResponse diff --git a/mobile/src/terminal/terminal-viewport-refit.test.ts b/mobile/src/terminal/terminal-viewport-refit.test.ts index 81ca306f3a4..f781afa6a58 100644 --- a/mobile/src/terminal/terminal-viewport-refit.test.ts +++ b/mobile/src/terminal/terminal-viewport-refit.test.ts @@ -2,9 +2,8 @@ import { readFileSync } from 'node:fs' import { describe, expect, it } from 'vitest' import type { RpcResponse } from '../transport/types' import { readMobileSessionRouteSource } from '../session/mobile-session-route-source-family.test-support' +import { terminalViewportUpdate } from './mobile-terminal-operations' import { - isTerminalUpdateViewportApplied, - isTerminalUpdateViewportUpdated, isTerminalViewportRefitTargetCurrent, reduceTerminalFrameHeightRefit, resolveTerminalUpdateViewportCapability, @@ -196,13 +195,13 @@ describe('terminal viewport refit', () => { 'if (!forceRefit && prev && prev.cols === dims.cols && prev.rows === dims.rows)' ) const forceRead = hookSource.indexOf('const forceRefit = forceNextRefitRef.current') - const updateViewport = hookSource.indexOf("sendRequest('terminal.updateViewport'") + const updateViewport = hookSource.indexOf('terminalViewportUpdate.request(rpc,') expect(forceRead).toBeGreaterThanOrEqual(0) expect(updateViewport).toBeGreaterThan(forceRead) }) it('prefers the in-place updateViewport RPC over resubscribe', () => { - const rpcIndex = hookSource.indexOf("sendRequest('terminal.updateViewport'") + const rpcIndex = hookSource.indexOf('terminalViewportUpdate.request(rpc,') const cacheUpdateIndex = hookSource.indexOf('updateTerminalSubscriptionViewport(handle, dims)') const resubscribeIndex = hookSource.indexOf('subscribeToTerminal(handle)') expect(rpcIndex).toBeGreaterThanOrEqual(0) @@ -217,7 +216,7 @@ describe('terminal viewport refit', () => { error: { code: 'method_not_found', message: 'Unknown method: terminal.updateViewport' }, _meta: { runtimeId: 'runtime' } } satisfies RpcResponse - expect(isTerminalUpdateViewportUpdated(unsupported)).toBe(false) + expect(terminalViewportUpdate.interpret(unsupported)).toBe(null) expect( resolveTerminalUpdateViewportCapability({ ...unsupported, @@ -236,7 +235,7 @@ describe('terminal viewport refit', () => { } expect(probeCount).toBe(1) - const responseCheckIndex = hookSource.indexOf('isTerminalUpdateViewportUpdated(response)') + const responseCheckIndex = hookSource.indexOf('if (outcome?.updated)') const unsubscribeIndex = hookSource.indexOf('unsubscribeTerminal(handle)', responseCheckIndex) const subscribeIndex = hookSource.indexOf('subscribeToTerminal(handle)', unsubscribeIndex) expect(responseCheckIndex).toBeGreaterThanOrEqual(0) @@ -250,7 +249,7 @@ describe('terminal viewport refit', () => { // Why: updateViewport may only record an informational mobile viewport in // desktop mode. Reflow local scrollback only after the server says it // actually applied phone-fit to the PTY. - const appliedIndex = hookSource.indexOf('isTerminalUpdateViewportApplied(response)') + const appliedIndex = hookSource.indexOf('if (outcome.applied)') const reflowIndex = hookSource.indexOf('ref.reflow(dims.cols, dims.rows)') const cacheUpdateIndex = hookSource.indexOf('updateTerminalSubscriptionViewport(handle, dims)') // Assert each anchor exists before ordering: a missing marker yields -1 and would @@ -265,7 +264,7 @@ describe('terminal viewport refit', () => { it('checks refit freshness after updateViewport resolves before side effects', () => { // Why: rapid dock/sidebar resizing can complete RPCs out of order; a stale // response must not update the viewport cache or locally reflow the old dims. - const responseIndex = hookSource.indexOf("sendRequest('terminal.updateViewport'") + const responseIndex = hookSource.indexOf('terminalViewportUpdate.request(rpc,') const postRpcCurrentIndex = hookSource.indexOf('if (!isCurrentTarget())', responseIndex) const cacheUpdateIndex = hookSource.indexOf('updateTerminalSubscriptionViewport(handle, dims)') expect(postRpcCurrentIndex).toBeGreaterThan(responseIndex) @@ -298,13 +297,17 @@ describe('terminal viewport refit', () => { _meta: { runtimeId: 'runtime' } } satisfies RpcResponse - expect(isTerminalUpdateViewportUpdated(okUpdated)).toBe(true) - expect(isTerminalUpdateViewportUpdated(okRecordedButNotApplied)).toBe(true) - expect(isTerminalUpdateViewportUpdated(okNotUpdated)).toBe(false) - expect(isTerminalUpdateViewportApplied(okUpdated)).toBe(true) - expect(isTerminalUpdateViewportApplied(okRecordedButNotApplied)).toBe(false) - expect(isTerminalUpdateViewportApplied(okNotUpdated)).toBe(false) - expect(isTerminalUpdateViewportApplied(failed)).toBe(false) + expect(terminalViewportUpdate.interpret(okUpdated)).toEqual({ updated: true, applied: true }) + expect(terminalViewportUpdate.interpret(okRecordedButNotApplied)).toEqual({ + updated: true, + applied: false + }) + expect(terminalViewportUpdate.interpret(okNotUpdated)).toEqual({ + updated: false, + applied: false + }) + // A refusal is not an outcome at all, which is what keeps the refit on its resubscribe path. + expect(terminalViewportUpdate.interpret(failed)).toBe(null) }) it('rejects stale async refits when the active terminal, ref, or run changes', () => { diff --git a/mobile/src/terminal/terminal-viewport-refit.ts b/mobile/src/terminal/terminal-viewport-refit.ts index 8a9ab281455..50388ee2d7f 100644 --- a/mobile/src/terminal/terminal-viewport-refit.ts +++ b/mobile/src/terminal/terminal-viewport-refit.ts @@ -4,9 +4,8 @@ import type { RpcClient } from '../transport/rpc-client' import type { ConnectionState } from '../transport/types' import type { TerminalWebViewHandle } from './TerminalWebView' import { shouldRecoverTerminalOnAppStateChange } from './terminal-foreground-recovery' +import { terminalViewportUpdate } from './mobile-terminal-operations' import { - isTerminalUpdateViewportApplied, - isTerminalUpdateViewportUpdated, isTerminalViewportRefitTargetCurrent, reduceTerminalFrameHeightRefit, resolveTerminalUpdateViewportCapability, @@ -142,7 +141,7 @@ export function useTerminalViewportRefit( const deviceToken = deviceTokenRef.current if (rpc && deviceToken && updateViewportCapabilityRef.current !== 'unsupported') { try { - const response = await rpc.sendRequest('terminal.updateViewport', { + const reply = await terminalViewportUpdate.request(rpc, { terminal: handle, client: { id: deviceToken, type: 'mobile' as const }, viewport: dims @@ -150,11 +149,11 @@ export function useTerminalViewportRefit( if (!isCurrentTarget()) { return } - updateViewportCapabilityRef.current = - resolveTerminalUpdateViewportCapability(response) - if (isTerminalUpdateViewportUpdated(response)) { + updateViewportCapabilityRef.current = resolveTerminalUpdateViewportCapability(reply) + const outcome = terminalViewportUpdate.interpret(reply) + if (outcome?.updated) { rpc.updateTerminalSubscriptionViewport(handle, dims) - if (isTerminalUpdateViewportApplied(response)) { + if (outcome.applied) { // Why: updateViewport re-streams only the visible screen, so local scrollback stays wrapped at the old width — reflow it locally. ref.reflow(dims.cols, dims.rows) } diff --git a/mobile/src/terminal/worker-terminal-takeover-report.ts b/mobile/src/terminal/worker-terminal-takeover-report.ts index a3ed7f6424d..91151123687 100644 --- a/mobile/src/terminal/worker-terminal-takeover-report.ts +++ b/mobile/src/terminal/worker-terminal-takeover-report.ts @@ -1,6 +1,7 @@ import type { RpcClient } from '../transport/rpc-client' +import { workerTerminalTakeoverReport } from './mobile-terminal-operations' -type ReportClient = Pick +type ReportClient = RpcClient const REPORT_INTERVAL_MS = 30_000 const REPORT_RETRY_DELAY_MS = 250 let reportsByClient = new WeakMap>() @@ -37,12 +38,12 @@ export function reportWorkerTerminalUserInput(client: ReportClient, terminal: st async function sendTakeoverReport(client: ReportClient, terminal: string): Promise { const report = async (): Promise => { - const response = await client.sendRequest( - 'orchestration.workerTerminalUserInput', + const reply = await workerTerminalTakeoverReport.request( + client, { terminal }, { timeoutMs: 5_000, budgetSpansConnect: true, failWhenDisconnected: true } ) - if (!response.ok) { + if (!workerTerminalTakeoverReport.interpret(reply).accepted) { throw new Error('Worker takeover report rejected') } } diff --git a/mobile/src/test-support/rpc-recording/README.md b/mobile/src/test-support/rpc-recording/README.md index b6d5f1379ba..8878136f648 100644 --- a/mobile/src/test-support/rpc-recording/README.md +++ b/mobile/src/test-support/rpc-recording/README.md @@ -8,12 +8,52 @@ logic. The module loader transpiles the real source with TypeScript and resolves task barrels lazily so unused native views do not need a device. Accessing an unspecified native import fails. The history metadata function is exposed to its adapter without rewriting its body. +JSX compiles through the automatic runtime, because product sources use it and never import React; +a classic `React.createElement` emit throws `React is not defined` on the first screen render. The transport reuses `createStableLogicalRpcClient`, `projectMobileRpcRequestParams` (through that client), `RpcClientRequestTracker`, and the delivery-unknown marker. Hook mounting follows `use-mobile-native-chat-file-search.test.ts`; physical session mounting follows `stable-logical-rpc-client.test.ts`. Neither test exported a reusable mount utility. +## Mounting a screen + +`screenMount` mounts a component rather than a hook, and `projectMountedScreen` reads back what it +rendered: the inert primitives it chose, the copy it put on them, the labels it gave them, and the +crash instead if a reply took it down. A screen that throws is a recording, not a suite failure — +several reply partitions do exactly that, and refusing to record them would leave the shapes that +break a screen the only ones this oracle cannot see. The boundary also reports the crash to the +effect sink, so a hook mount, whose projection is the hook's own value and never a crash, still +carries it into a golden: an effect forces a cleanup checkpoint even when no adapter looks. + +The view packages a screen imports are in `screen-native-substitutes.ts`, under the table's usual +rule: only what a recording is known to read is listed, the rest throws. Every element there is +inert. It renders its children and keeps its props where a projection can read them, and does +nothing else: no callback it is handed is ever invoked, nothing is measured and no navigation +happens. `renderedElementProps` is the consequence — an inert list never calls `renderItem`, so the +data it was handed is the only record of what the screen would have drawn. +`screen-native-substitutes.test.ts` is the census; it renders every element with a callback prop and +a render callback as children and fails if either is called. + +Nothing is listed ahead of a reader, and that is a rule rather than an oversight. A member +provisioned before any recording reads it converts a refusal that would have forced a decision into +a silent stand-in, and a silent stand-in is how an inert `InteractionManager` or `Alert` swallows the +send a screen deferred behind it. The table was cut back to the members a recording actually reads; +whoever mounts the next screen adds what it needs together with the recording that reads it. + +## What a scenario declares about its device + +Two device surfaces are backed by the scenario instead of refused: `deviceStore` backs +`@react-native-async-storage/async-storage`, and `deviceState.notificationTray` backs +`expo-notifications`. Undeclared, both stay exactly as they were — a throwing store and an unlisted +package — so no existing recording changes and no new one reaches a device by accident. + +Reads resolve the declared entry or `null`, and never a write. A write that fed back into a read +would let a later read return a byte nothing declared, which is the device back inside the +recording; writes are recorded as effects instead, where they are observed rather than assumed. +That is the whole point of the declaration: every byte a read can return is visible in the scenario +file, and `scenarioSha256` pins it per golden like any other scenario field. + ## Scenario actions ```json @@ -122,7 +162,15 @@ file rather than of a restatement of it; `golden-header-digest.test.ts` pins wha buy. Checkpoints contain ordered sender calls and serialized physical application payloads, action and -request settlements, projected state, and ordered external effects. Sender args have three +request settlements, projected state, and ordered external effects. Each effect also carries `sent`, +the number of requests sent when it was recorded: sender and effects are two independent lists, so +without it a send reordered ahead of a device write moves neither list and no golden notices. +Scheduling the journal write in `codex-reset-attempt-journal.ts` on a timer instead of awaiting it +moved none of the 520 goldens before `sent` existed and moves two now, `codex-reset-credit-consumed` +and its reply matrix, where the write's `sent` goes from 0 to 1. What `sent` cannot see is a defer +shorter than the product's own await chain: dropping that `await`, or deferring the write by one +microtask, still lands it before the send, because resolving the journal's promise chain costs more +microtask ticks than the defer saved. Sender args have three positional slots; absent, undefined and null are distinct `$rpc` tags. Literal objects containing `$rpc` are escaped. Only object keys are sorted; array/effect order, options, budgets, settlement times and errors stay observable. Errors contain category, message and `isRpcDeliveryUnknown`, never @@ -365,9 +413,10 @@ so closing them needs new adapter capability rather than another scenario. Anyon call sites should not assume the recordings will notice a change here: - **`use-host-repo-metadata.ts` cross-module cache write.** Deleting `setCachedRepos(...)` survives. - No adapter mounts `useNewWorkspaceRepositories`, which is the consumer that reads that cache to - open workspace creation without waiting, so the write has no observer. Closing it needs a - cache-consumer mount after the metadata fetch. + `workspace.repositories` now mounts `useNewWorkspaceRepositories`, which is the consumer that + reads that cache to open workspace creation without waiting, but no recording runs the metadata + fetch and that consumer in the same mount, so the write still has no observer. Closing it needs + one recording that does both, not another scenario for either. - **`use-pr-bot-author-overrides.ts` client-identity guard.** Forcing `sourceClientRef.current !== client` to `false` survives. The adapter closes over one client object: `reset` changes only the refresh key, `cutover` migrates the same stable logical client, diff --git a/mobile/src/test-support/rpc-recording/adapter-load-deferral.test.ts b/mobile/src/test-support/rpc-recording/adapter-load-deferral.test.ts new file mode 100644 index 00000000000..9d18ed02f65 --- /dev/null +++ b/mobile/src/test-support/rpc-recording/adapter-load-deferral.test.ts @@ -0,0 +1,34 @@ +import { describe, expect, it } from 'vitest' +import { MOUNTED_OPERATION_MODULES } from './adapters/mounted-operation-modules' +import type { operationModuleLoader } from './operation-module-loader' + +/** + * Building a module's table must name product sources without reading them. A `modules.load` hoisted + * out of `useHook` and into the table literal loads at registration time instead of at mount time, + * which breaks two things far from the edit: a mutant anchored in a file two families share is then + * applied more than once and `assertMutationApplied` reports the wrong count, and + * `golden-header-digest.test.ts` builds its tables in a tree holding one family's files and throws + * `Module not found` for the rest. Both read as an engine fault; neither names the adapter. + */ +function refusingLoader(): ReturnType { + return { + load: (path: string) => { + throw new Error(`loaded ${path} before a mount ran`) + }, + mutationsApplied: () => 0 + } +} + +describe('adapter mount tables', () => { + it('reads no product source until a mount runs', () => { + const eager = MOUNTED_OPERATION_MODULES.flatMap(({ source, mounts }) => { + try { + mounts(refusingLoader(), {}) + return [] + } catch (error) { + return [`${source} ${error instanceof Error ? error.message : String(error)}`] + } + }) + expect(eager).toEqual([]) + }) +}) diff --git a/mobile/src/test-support/rpc-recording/adapters/agent-history-mount-adapters.ts b/mobile/src/test-support/rpc-recording/adapters/agent-history-mount-adapters.ts new file mode 100644 index 00000000000..54ac81c7435 --- /dev/null +++ b/mobile/src/test-support/rpc-recording/adapters/agent-history-mount-adapters.ts @@ -0,0 +1,129 @@ +import { createElement } from 'react' +import { act, create, type ReactTestRenderer } from 'react-test-renderer' +import type { OperationExposure, operationModuleLoader } from '../operation-module-loader' +import type { MountAdapter, MountContext } from '../recording-scenario' + +const HOST_ID = 'host-1' +const WORKTREE_ID = 'worktree-1' +const CLIENT_ID = 'device-token-1' +// Hoisted: the hook's load effect keys on this list's identity, so a fresh array each render loops. +const WORKTREES = [ + { worktreeId: WORKTREE_ID, path: '/repo/feature', repoId: 'repo-1' }, + { worktreeId: 'worktree-2', path: '/repo/sibling', repoId: 'repo-1' } +] +/** Hoisted for the same reason, and empty because an unloaded list has nothing in it yet. */ +const UNLOADED_WORKTREES: typeof WORKTREES = [] + +/** + * The history hook reaches its client through the shared per-host context rather than a parameter, + * so the context object is the mounting boundary. Exposing the provider is what lets the real hook + * run against the scripted client; reimplementing `useHostClient` would put acquisition and + * connection-state policy in the adapter, which is exactly what these recordings exist to observe. + */ +export const agentHistoryMountExposures: readonly OperationExposure[] = [ + ['transport/client-context.tsx', '\nexports.RecordingHostClientContext = Ctx;'] +] + +/** A connected single-host context: one client, one state, no acquisition or reconnect behaviour. */ +function hostClientContext(client: MountContext['client'], effect: MountContext['effect']) { + return { + acquire: () => client, + release: () => {}, + releaseAndCloseIfUnused: () => {}, + closeIfUnused: () => {}, + forceReconnect: () => { + effect('force-reconnect', { hostId: HOST_ID }) + return Promise.resolve() + }, + refreshHostClient: () => {}, + forgetHostClient: () => {}, + disconnectHostClient: () => {}, + getState: () => 'connected', + getKnownState: () => 'connected', + getClientId: () => CLIENT_ID, + getReconnectAttempt: () => 0, + getLastConnectedAt: () => 0, + getActivePath: () => 'lan', + getPendingPath: () => null, + isPairingRejected: () => false, + isHostSignedOut: () => false, + subscribeHostState: () => () => {}, + getAllClients: () => [{ hostId: HOST_ID, client }], + subscribeAllHosts: () => () => {}, + primeHosts: () => {} + } +} + +export function agentHistoryMountAdapters( + modules: ReturnType +): Record { + return { + 'aiVault.history-scan': ({ client, effect }) => { + const useHistory = modules.load< + typeof import('../../../agent-history/use-mobile-agent-history-state') + >('mobile/src/agent-history/use-mobile-agent-history-state.ts').useMobileAgentHistoryState + const { RecordingHostClientContext } = modules.load<{ + RecordingHostClientContext: React.Context + }>('mobile/src/transport/client-context.tsx') + const context = hostClientContext(client, effect) + // A holder rather than a bare binding: the harness is a component, and a component may not + // assign a variable declared outside it. + const observed: { history?: ReturnType } = {} + // The list and the flag move together, because the screen learns both from the same fetch. + let worktrees = WORKTREES + let worktreesLoaded = true + let renderer: ReactTestRenderer | undefined + function Harness() { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the hook and its scope derivation read only these three worktree fields. + const params = { + hostId: HOST_ID, + worktreeId: WORKTREE_ID, + worktrees, + worktreesLoaded + } as unknown as Parameters[0] + observed.history = useHistory(params) + return null + } + const element = () => + createElement( + RecordingHostClientContext.Provider, + { value: context }, + createElement(Harness) + ) + return { + action(name, args) { + if (name === 'mount') { + if (args.worktreesLoaded === false) { + worktrees = UNLOADED_WORKTREES + worktreesLoaded = false + } + act(() => { + renderer = create(element()) + }) + return + } + if (name === 'worktrees-loaded') { + worktrees = WORKTREES + worktreesLoaded = true + act(() => renderer?.update(element())) + return + } + throw new Error(`Unknown agent history action: ${name}`) + }, + state: () => ({ + scope: observed.history!.scope, + screenState: observed.history!.screenState, + refreshing: observed.history!.refreshing, + hostStatusResult: observed.history!.hostStatusResult, + activeWorktreePath: observed.history!.activeWorktreePath + }), + dispose() { + act(() => { + renderer?.unmount() + renderer = undefined + }) + } + } + } + } +} diff --git a/mobile/src/test-support/rpc-recording/adapters/ai-vault-resume-mount-adapters.ts b/mobile/src/test-support/rpc-recording/adapters/ai-vault-resume-mount-adapters.ts new file mode 100644 index 00000000000..29492269833 --- /dev/null +++ b/mobile/src/test-support/rpc-recording/adapters/ai-vault-resume-mount-adapters.ts @@ -0,0 +1,87 @@ +import type { MountAdapter } from '../recording-scenario' +import { mountFixture } from '../recorder-fixture-shape' +import type { operationModuleLoader } from '../operation-module-loader' + +const WORKTREE = 'workspace-1' +/** The shared-home layout `isLegacySharedCodexHome` matches; anything else returns before sending. */ +const LEGACY_CODEX_HOME = '/hosts/codex-runtime-home/home' + +/** + * Resuming a sleeping agent: the legacy-Codex repin the phone asks for first, then the create/send + * pair that puts the resume command in a terminal. Both are exported async functions taking a + * client, so the recorded state is each function's own answer and no React host is needed. + */ +export function aiVaultResumeMountAdapters( + modules: ReturnType +): Record { + return { + 'aiVault.resume-preparation': ({ client }) => { + const prepare = modules.load( + 'mobile/src/session/ai-vault-resume-preparation.ts' + ).prepareMobileAiVaultSessionResume + let prepared: unknown = 'unprepared' + let failure: unknown = null + return { + action: (name) => + prepare( + client, + mountFixture[1]>({ + // `claude` never reaches the wire: the preparation is Codex-only and returns first. + agent: name === 'claude' ? 'claude' : 'codex', + filePath: '/sessions/rollout.jsonl', + codexHome: LEGACY_CODEX_HOME, + executionHostId: 'local' + }) + ).then( + (value: unknown) => { + prepared = value + return value + }, + (error: unknown) => { + failure = error instanceof Error ? error.message : String(error) + throw error + } + ), + state: () => ({ prepared, failure }), + dispose: () => {} + } + }, + 'aiVault.resume-launch': ({ client }) => { + const resume = modules.load( + 'mobile/src/session/ai-vault-resume-launch.ts' + ).resumeAiVaultSessionInTerminal + let launched: unknown = 'unlaunched' + let failure: unknown = null + return { + action: (name) => + resume( + client, + WORKTREE, + mountFixture[2]>({ + command: 'codex resume rollout', + // The bare arm drops every optional launch field, which changes the create params. + ...(name === 'bare' + ? {} + : { + env: { ORCA_RESUME: '1' }, + envToDelete: ['CODEX_HOME'], + launchAgent: 'codex', + clientMutationId: 'resume-mutation-1' + }) + }) + ).then( + (value: unknown) => { + launched = value + return value + }, + (error: unknown) => { + failure = error instanceof Error ? error.message : String(error) + throw error + } + ), + state: () => ({ launched, failure }), + dispose: () => {} + } + } + } +} diff --git a/mobile/src/test-support/rpc-recording/adapters/browser-mount-adapters.ts b/mobile/src/test-support/rpc-recording/adapters/browser-mount-adapters.ts new file mode 100644 index 00000000000..444989c3444 --- /dev/null +++ b/mobile/src/test-support/rpc-recording/adapters/browser-mount-adapters.ts @@ -0,0 +1,139 @@ +import type { Dispatch, SetStateAction } from 'react' +import type { MountAdapter } from '../recording-scenario' +import { hookMount, performHookAction } from '../hook-mount' +import type { operationModuleLoader } from '../operation-module-loader' + +const WORKTREE_ID = 'worktree-1' +const PAGE_ID = 'page-1' +const LAYOUT = { width: 390, height: 700, pageX: 0, pageY: 0 } +const FRAME_METADATA = { deviceWidth: 390, deviceHeight: 700, pageScaleFactor: 1 } + +/** + * The hosted browser's pointer, keyboard and dialog commands, mounted over the real page-request + * hook rather than a stand-in: the commands hook takes its sender as an argument, so supplying one + * here would leave the send the migration moves outside the recording. + */ +export function browserMountAdapters( + modules: ReturnType +): Record { + return { + 'browser.page-commands': ({ client, effect }) => { + const useRequest = modules.load( + 'mobile/src/browser/use-mobile-browser-request.ts' + ).useMobileBrowserRequest + const useCommands = modules.load< + typeof import('../../../browser/use-mobile-browser-commands') + >('mobile/src/browser/use-mobile-browser-commands.ts').useMobileBrowserCommands + const busyRef = { current: false } + let busy = false + let error: string | null = null + let dialog: { dialogType: string; message: string } | null = null + let keyboardValue = 'hello' + let pointerModifiers: string[] = [] + // React's own setter shape, so the recorder reads an updater the way the hook writes one. + const setter = + (read: () => T, write: (value: T) => void): Dispatch> => + (next) => + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: SetStateAction's function arm is exactly this updater; the typeof check is what narrows it. + write(typeof next === 'function' ? (next as (prev: T) => T)(read()) : next) + let commands: ReturnType + const hook = hookMount(() => { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the recorder supplies plain setters where the hook declares React dispatchers. + const { pageParams, sendBrowserRequest } = useRequest({ + busyRef, + client, + pageId: PAGE_ID, + setBusy: setter( + () => busy, + (value) => { + busy = value + } + ), + setError: setter( + () => error, + (value) => { + error = value + } + ), + worktreeId: WORKTREE_ID + } as unknown as Parameters[0]) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the recorder supplies only the refs, setters and geometry the commands hook reads. + commands = useCommands({ + client, + frameMetadataRef: { current: FRAME_METADATA }, + keyboardValue, + layoutRef: { current: LAYOUT }, + onToast: (message: string) => effect('toast', { message }), + pageParams, + pointerModifiers, + sendBrowserRequest, + setDialog: setter( + () => dialog, + (value) => { + dialog = value + } + ), + setError: setter( + () => error, + (value) => { + error = value + } + ), + setKeyboardValue: setter( + () => keyboardValue, + (value) => { + keyboardValue = value + } + ), + setPointerModifiers: setter( + () => pointerModifiers, + (value) => { + pointerModifiers = value + } + ), + zoomRef: { current: { scale: 1, offsetX: 0, offsetY: 0 } } + } as unknown as Parameters[0]) + }) + return { + action(name, args) { + if (name === 'mount') { + return hook.mount() + } + if (name === 'keyboard-text') { + return performHookAction(() => commands.sendKeyboardText()) + } + if (name === 'keypress') { + return performHookAction(() => commands.sendKeypress(String(args.key ?? 'Enter'))) + } + if (name === 'dialog') { + return performHookAction(() => + commands.sendDialogCommand( + args.accept === false ? 'browser.dialogDismiss' : 'browser.dialogAccept' + ) + ) + } + if (name === 'wheel') { + return performHookAction(() => commands.sendWheel({ x: 40, y: 80 }, 0, 120, 1)) + } + if (name === 'click') { + return performHookAction(() => + commands.sendPointerClick( + { x: 40, y: 80 }, + args.button === 'right' ? 'right' : 'left' + ) + ) + } + throw new Error(`Unknown browser command action: ${name}`) + }, + state: () => ({ + busy, + error, + dialog, + keyboardValue, + pointerModifiers: [...pointerModifiers] + }), + dispose: hook.unmount + } + } + } +} diff --git a/mobile/src/test-support/rpc-recording/adapters/clipboard-image-mount-adapters.ts b/mobile/src/test-support/rpc-recording/adapters/clipboard-image-mount-adapters.ts new file mode 100644 index 00000000000..1998127d67a --- /dev/null +++ b/mobile/src/test-support/rpc-recording/adapters/clipboard-image-mount-adapters.ts @@ -0,0 +1,150 @@ +import type { MountAdapter } from '../recording-scenario' +import { mountFixture } from '../recorder-fixture-shape' +import type { operationModuleLoader } from '../operation-module-loader' + +const TERMINAL = 'terminal-1' +const DEVICE_TOKEN = 'device-token-1' +const CONNECTION = 'connection-1' +/** Four base64 characters per byte-triple; short enough that one chunk covers a whole upload. */ +const IMAGE_BASE64 = 'AAAA'.repeat(8) + +/** + * The clipboard image path a phone takes to get pixels into a terminal: the chunked host upload and + * its single-frame fallback, the picker-driven attachment that rides on it, and the native-chat + * paste sequence. The picker itself is injected by the attachment's own dependency object, so no + * image-picker module is reached; the recording observes the upload and the terminal writes. + */ +export function clipboardImageMountAdapters( + modules: ReturnType +): Record { + return { + 'clipboard.image-upload': ({ client }) => { + const save = modules.load( + 'mobile/src/session/mobile-clipboard-image.ts' + ).saveMobileClipboardImageAsTempFile + let path: unknown = 'unsaved' + let failure: unknown = null + return { + action: (name, args) => + save(client, String(args.data ?? IMAGE_BASE64), { + connectionId: name === 'local' ? null : CONNECTION + }).then( + (value: unknown) => { + path = value + return value + }, + (error: unknown) => { + failure = error instanceof Error ? error.message : String(error) + throw error + } + ), + state: () => ({ path, failure }), + dispose: () => {} + } + }, + 'clipboard.image-terminal-attachment': ({ client, effect }) => { + const attach = modules.load( + 'mobile/src/session/mobile-image-attachment.ts' + ).attachMobileImageToTerminal + let attached: unknown = 'unattached' + let failure: unknown = null + return { + action: (name) => + attach( + 'library', + mountFixture[1]>({ + client, + terminal: TERMINAL, + deviceToken: name === 'anonymous' ? null : DEVICE_TOKEN, + getConnectionId: () => Promise.resolve(CONNECTION), + pickImage: () => + Promise.resolve(name === 'cancelled' ? null : { base64: IMAGE_BASE64 }), + onUploadStart: () => effect('upload-start', {}), + beforeTerminalSend: (terminal: string) => { + effect('before-terminal-send', { terminal }) + return Promise.resolve(name !== 'blocked') + } + }) + ).then( + (value: unknown) => { + attached = value + return value + }, + (error: unknown) => { + failure = error instanceof Error ? error.message : String(error) + throw error + } + ), + state: () => ({ attached, failure }), + dispose: () => {} + } + }, + 'nativeChat.image-upload': ({ client, effect }) => { + const upload = modules.load< + typeof import('../../../session/mobile-native-chat-image-attachment') + >('mobile/src/session/mobile-native-chat-image-attachment.ts').uploadMobileNativeChatImages + let uploaded: unknown = 'unuploaded' + let failure: unknown = null + return { + action: (name) => + upload( + 'library', + mountFixture[1]>({ + client, + getConnectionId: () => Promise.resolve(CONNECTION), + pickImages: () => + name === 'cancelled' + ? [] + : name === 'two' + ? [{ base64: IMAGE_BASE64 }, { base64: IMAGE_BASE64, uri: 'file:///b.png' }] + : [{ base64: IMAGE_BASE64, uri: 'file:///a.png' }], + onUploadStart: () => effect('upload-start', {}), + onImageUploaded: (image) => effect('image-uploaded', image) + }) + ).then( + (value: unknown) => { + uploaded = value + return value + }, + (error: unknown) => { + failure = error instanceof Error ? error.message : String(error) + throw error + } + ), + state: () => ({ uploaded, failure }), + dispose: () => {} + } + }, + 'nativeChat.image-paste': ({ client }) => { + const paste = modules.load( + 'mobile/src/session/mobile-native-chat-image-send.ts' + ).pasteMobileNativeChatImagePaths + let pasted: unknown = 'unpasted' + let failure: unknown = null + return { + action: (name) => + paste( + mountFixture[0]>({ + client, + terminal: TERMINAL, + deviceToken: name === 'anonymous' ? null : DEVICE_TOKEN, + imagePaths: name === 'two' ? ['/tmp/a.png', '/tmp/b.png'] : ['/tmp/a.png'], + followedByText: name !== 'trailing', + ...(name === 'burst' ? { clearInput: '' } : {}) + }) + ).then( + (value: unknown) => { + pasted = value + return value + }, + (error: unknown) => { + failure = error instanceof Error ? error.message : String(error) + throw error + } + ), + state: () => ({ pasted, failure }), + dispose: () => {} + } + } + } +} diff --git a/mobile/src/test-support/rpc-recording/adapters/codex-reset-credit-mount-adapters.ts b/mobile/src/test-support/rpc-recording/adapters/codex-reset-credit-mount-adapters.ts new file mode 100644 index 00000000000..cb99d8fd01d --- /dev/null +++ b/mobile/src/test-support/rpc-recording/adapters/codex-reset-credit-mount-adapters.ts @@ -0,0 +1,82 @@ +import { mountFixture } from '../recorder-fixture-shape' +import type { operationModuleLoader } from '../operation-module-loader' +import type { MountAdapter } from '../recording-scenario' +import type { AccountsSnapshot } from '../../../components/accounts-snapshot' + +const HOST = 'host-1' +const ACCOUNT_REVISION = 1_700_000_000_000 + +/** + * The offer the scenario confirms against. Recorded rather than invented: the expected scope the + * request carries is derived from this by the product's own `getCodexResetCreditScope`, so the + * bytes on the wire are the ones a screen holding this snapshot would send. + */ +const CODEX_ACCOUNTS = mountFixture({ + claude: { accounts: [], activeAccountId: null }, + codex: { + accounts: [{ id: 'codex-1', email: 'codex@example.test', updatedAt: ACCOUNT_REVISION }], + activeAccountId: 'codex-1', + activeAccountIdsByRuntime: { host: 'codex-1', wsl: {} } + }, + rateLimits: { + claude: null, + codex: { + provider: 'codex', + session: null, + weekly: null, + rateLimitResetCredits: { availableCount: 1 }, + updatedAt: ACCOUNT_REVISION, + error: null, + status: 'ok' + }, + inactiveClaudeAccounts: [], + inactiveCodexAccounts: [] + } +}) + +/** Redeeming a Codex rate-limit reset credit, and the attempt journal that makes it idempotent. */ +export function codexResetCreditMountAdapters( + modules: ReturnType +): Record { + return { + 'accounts.codex-reset-credit': ({ client }) => { + const credit = modules.load( + 'mobile/src/components/codex-reset-credit.ts' + ) + const snapshot = modules + .load( + 'mobile/src/components/accounts-snapshot.ts' + ) + .decodeAccountsSnapshot(CODEX_ACCOUNTS) + let settled: unknown = null + return { + action(name) { + if (name !== 'confirm') { + throw new Error(`Unknown reset credit action: ${name}`) + } + const expectedScope = credit.getCodexResetCreditScope(snapshot) + if (!expectedScope) { + throw new Error('The recorded snapshot offers no reset credit to confirm') + } + const pending = credit.requestCodexResetCredit(client, { + hostId: HOST, + expectedScope, + createIdempotencyKey: () => globalThis.crypto.randomUUID() + }) + void pending.then( + (result) => { + settled = { + outcome: 'outcome' in result ? result.outcome : result.status, + attemptJournalRetained: result.attemptJournalRetained + } + }, + () => undefined + ) + return pending + }, + state: () => ({ settled }), + dispose: () => {} + } + } + } +} diff --git a/mobile/src/test-support/rpc-recording/adapters/dictation-mount-adapters.ts b/mobile/src/test-support/rpc-recording/adapters/dictation-mount-adapters.ts new file mode 100644 index 00000000000..104cd5367df --- /dev/null +++ b/mobile/src/test-support/rpc-recording/adapters/dictation-mount-adapters.ts @@ -0,0 +1,189 @@ +import type { MountAdapter, MountContext } from '../recording-scenario' +import { hookMount, performHookAction } from '../hook-mount' +import type { operationModuleLoader } from '../operation-module-loader' + +const DICTATION_ID = 'dictation-1' +const MODEL_ID = 'whisper-small' + +/** The keep-awake owner the desktop-start flow serializes against; acquire/release are observed. */ +function keepAwakeOwner(effect: MountContext['effect']) { + return { + acquire: (id: string) => { + effect('keep-awake-acquire', { id }) + return Promise.resolve() + }, + release: (id?: string) => { + effect('keep-awake-release', { id: id ?? null }) + return Promise.resolve() + }, + reacquire: (id: string) => { + effect('keep-awake-reacquire', { id }) + return Promise.resolve() + } + } +} + +/** + * The dictation setup sheet's four senders, the desktop session handshake, one audio chunk, and + * the session hook that owns finish and cancel. + * + * The chunk is enqueued directly rather than through a microphone event so the recording carries + * the base64 the real encoder produced for known bytes: the substitute audio module never fires an + * event, so a driven emitter would be the adapter's payload rather than the product's. + */ +export function dictationMountAdapters( + modules: ReturnType +): Record { + return { + 'speech.setup-sheet': ({ client }) => { + const setup = modules.load( + 'mobile/src/dictation/mobile-dictation-setup.ts' + ) + const results: Record = {} + return { + action(name, args) { + if (name !== 'download' && name !== 'delete' && name !== 'configure' && name !== 'list') { + throw new Error(`Unknown dictation setup action: ${name}`) + } + const modelId = String(args.modelId ?? MODEL_ID) + const request = + name === 'download' + ? setup.downloadDictationModel(client, modelId) + : name === 'delete' + ? setup.deleteDictationModel(client, modelId) + : name === 'configure' + ? setup.setDictationConfig(client, { enabled: true, modelId }) + : setup.fetchDictationSetup(client) + return request.then((value: unknown) => { + results[name] = value === undefined ? 'started' : value + return value + }) + }, + state: () => ({ ...results }), + dispose: () => {} + } + }, + 'speech.desktop-start': ({ client, effect }) => { + const start = modules.load( + 'mobile/src/hooks/mobile-dictation-desktop-start.ts' + ).startMobileDictationDesktopSession + let generation = 1 + let activeId: string | null = DICTATION_ID + let started: unknown = 'unstarted' + let idle = false + return { + action(name, args) { + if (name === 'supersede') { + generation += 1 + return + } + if (name !== 'start') { + throw new Error(`Unknown dictation start action: ${name}`) + } + return start({ + client, + dictationId: DICTATION_ID, + generation: 1, + getCurrentGeneration: () => generation, + getEnabled: () => true, + getActiveId: () => activeId, + clearActiveId: (id: string) => { + if (activeId === id) { + activeId = null + } + }, + setIdle: () => { + idle = true + }, + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the recorder supplies only the owner members the start flow calls. + keepAwakeOwner: keepAwakeOwner(effect) as unknown as Parameters< + typeof start + >[0]['keepAwakeOwner'], + commitRecordingStart: () => args.recording !== false, + rollbackRecordingStart: () => effect('rollback-recording', {}) + }).then((value: unknown) => { + started = value + return value + }) + }, + state: () => ({ started, activeId, idle }), + dispose: () => {} + } + }, + 'speech.audio-chunk': ({ client, effect }) => { + const enqueue = modules.load( + 'mobile/src/hooks/mobile-dictation-audio-chunk.ts' + ).enqueueMobileDictationAudioChunk + const budget = modules.load< + typeof import('../../../hooks/mobile-dictation-pending-audio-budget') + >('mobile/src/hooks/mobile-dictation-pending-audio-budget.ts') + const pendingChunks = new Set>() + const pendingAudioBudget = new budget.MobileDictationPendingAudioBudget() + const failures: string[] = [] + return { + action: (_name, args) => { + const bytes = Uint8Array.from( + { length: Number(args.length ?? 8) }, + (_value, index) => (index * 37) % 256 + ) + enqueue( + client, + DICTATION_ID, + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the chunk sender reads only `data` off the microphone event. + { data: bytes } as unknown as Parameters[2], + { + pendingChunks, + pendingAudioBudget, + shouldReleaseBudget: () => true, + failActiveDictation: (id: string, error: unknown) => { + failures.push(error instanceof Error ? error.message : String(error)) + effect('dictation-failed', { id }) + } + } + ) + return Promise.allSettled(pendingChunks) + }, + state: () => ({ pending: pendingChunks.size, failures: [...failures] }), + dispose: () => {} + } + }, + 'speech.dictation-session': ({ client, effect }) => { + const useDictation = modules.load( + 'mobile/src/hooks/use-mobile-dictation.ts' + ).useMobileDictation + let session: ReturnType + const transcripts: string[] = [] + const hook = hookMount(() => { + session = useDictation({ + client, + enabled: true, + onTranscript: (text: string) => transcripts.push(text), + onError: (error: Error) => effect('dictation-error', { message: error.message }) + }) + }) + return { + action(name) { + if (name === 'mount') { + return hook.mount() + } + if (name === 'start') { + return performHookAction(() => session.start()) + } + if (name === 'cancel') { + return performHookAction(() => session.cancel()) + } + if (name === 'stop') { + return performHookAction(() => session.stop()) + } + throw new Error(`Unknown dictation session action: ${name}`) + }, + state: () => ({ + status: session.status, + error: session.error, + transcripts: [...transcripts] + }), + dispose: hook.unmount + } + } + } +} diff --git a/mobile/src/test-support/rpc-recording/adapters/diff-review-action-mount-adapters.ts b/mobile/src/test-support/rpc-recording/adapters/diff-review-action-mount-adapters.ts new file mode 100644 index 00000000000..e192d454bae --- /dev/null +++ b/mobile/src/test-support/rpc-recording/adapters/diff-review-action-mount-adapters.ts @@ -0,0 +1,171 @@ +import { hookMount, performHookAction } from '../hook-mount' +import { mountFixture } from '../recorder-fixture-shape' +import type { DiffComment } from '../../../../../src/shared/diff-comment-types' +import type { MobileDiffReviewQueueItem } from '../../../session/mobile-diff-review-queue' +import type { + ReviewScreenState, + SendSheetState +} from '../../../session/mobile-diff-review-screen-model' +import type { MountAdapter } from '../recording-scenario' +import type { operationModuleLoader } from '../operation-module-loader' + +const WORKSPACE = 'workspace-1' +const HOST = 'host-1' +const FILE = 'src/app.ts' +const TERMINAL = 'terminal-1' + +/** + * Everything the review screen writes: the note/review-state metadata save, the stage/unstage/ + * discard mutations, the reveal-in-session open, and the two ways review notes reach a terminal. + * + * One mount, because the screen composes the comment, git and send hooks into a single interaction + * surface and they share the client and the error setter. The send arm also drives the stale-input + * heal, whose clearing write only happens when a prior image paste marked the handle — so the + * marker is set by an action rather than assumed. + */ +export function diffReviewActionMountAdapters( + modules: ReturnType +): Record { + return { + 'session.diff-review-actions': ({ client, effect }) => { + const useInteractions = modules.load< + typeof import('../../../session/use-mobile-diff-review-interactions') + >('mobile/src/session/use-mobile-diff-review-interactions.ts').useMobileDiffReviewInteractions + const staleInput = modules.load< + typeof import('../../../session/mobile-native-chat-stale-input') + >('mobile/src/session/mobile-native-chat-stale-input.ts') + staleInput.resetMobileNativeChatStaleInputForTests() + const comment: DiffComment = { + side: 'modified', + id: 'note-1', + worktreeId: WORKSPACE, + filePath: FILE, + lineNumber: 4, + body: 'needs a test', + createdAt: 0 + } + const item: MobileDiffReviewQueueItem = { + key: `unstaged:${FILE}`, + scope: 'unstaged' as const, + area: 'unstaged' as const, + filePath: FILE, + status: 'modified' as const, + title: 'app.ts', + subtitle: 'src', + canStage: true, + canUnstage: false, + canDiscard: true, + isGeneratedOrLockFile: false, + diffIdentity: 'identity-1', + noteCount: 1, + unsentNoteCount: 1, + staleNoteCount: 0, + isReviewed: true, + changedSinceReview: false + } + let screenState: ReviewScreenState = { + kind: 'ready', + // These actions never read the status; the queue item above is what they branch on. + status: mountFixture['status']>({ + entries: [] + }), + branchCompare: null, + comments: [comment], + reviewState: { version: 1, files: {} } + } + let actionError: string | null = null + let busyAction: string | null = null + let sendSheet: SendSheetState | null = null + let interactions: ReturnType + const hook = hookMount(() => { + interactions = useInteractions( + mountFixture[0]>({ + client, + connState: 'connected', + hostId: HOST, + worktreeId: WORKSPACE, + screenState, + diffState: { kind: 'idle' }, + currentItem: item, + queue: [item], + filteredQueue: [item], + filter: 'all', + currentIndex: 0, + activeHunkIndex: null, + composer: null, + composerBody: '', + listRef: { current: null }, + setScreenState: (update) => { + screenState = typeof update === 'function' ? update(screenState) : update + }, + setFilter: () => {}, + setCurrentIndex: () => {}, + setActiveHunkIndex: () => {}, + setComposer: () => {}, + setComposerBody: () => {}, + setActionError: (update) => { + actionError = typeof update === 'function' ? update(actionError) : update + }, + setBusyAction: (update) => { + busyAction = typeof update === 'function' ? update(busyAction) : update + }, + setSendSheet: (update) => { + sendSheet = typeof update === 'function' ? update(sendSheet) : update + }, + setShowCompletion: () => {}, + loadReviewData: () => { + effect('load-review-data', {}) + return Promise.resolve() + }, + onOpenSession: () => effect('open-session', {}), + onReconnect: (hostId: string) => effect('reconnect', { hostId }) + }) + ) + }) + hook.mount() + return { + action(name, args) { + if (name === 'mark-stale') { + staleInput.markMobileNativeChatInputStale(TERMINAL) + return TERMINAL + } + return performHookAction(() => { + if (name === 'mark-reviewed') { + return interactions.markReviewed() + } + if (name === 'stage') { + return interactions.runGitMutation('git.stage', item) + } + if (name === 'discard') { + return interactions.runGitMutation('git.discard', item) + } + if (name === 'stage-reviewed') { + return interactions.stageReviewedFiles() + } + if (name === 'open-in-session') { + return interactions.openInSession() + } + if (name === 'send-notes') { + return interactions.sendPromptToTerminal(TERMINAL, [comment]) + } + if (name === 'create-and-send') { + return interactions.createTerminalAndSend([comment]) + } + if (name === 'copy-notes') { + return interactions.copyNotes() + } + if (name === 'clear-sent') { + return interactions.clearSentNotes() + } + throw new Error(`Unknown review action: ${name}${String(args.unused ?? '')}`) + }) + }, + state: () => ({ screenState, actionError, busyAction, sendSheet }), + dispose: () => { + staleInput.resetMobileNativeChatStaleInputForTests() + hook.unmount() + } + } + } + } +} diff --git a/mobile/src/test-support/rpc-recording/adapters/diff-review-mount-adapters.ts b/mobile/src/test-support/rpc-recording/adapters/diff-review-mount-adapters.ts new file mode 100644 index 00000000000..60481b1bd58 --- /dev/null +++ b/mobile/src/test-support/rpc-recording/adapters/diff-review-mount-adapters.ts @@ -0,0 +1,99 @@ +import type { MountAdapter } from '../recording-scenario' +import type { operationModuleLoader } from '../operation-module-loader' + +const WORKTREE = 'repo-9::/w' + +const BRANCH_COMPARE = { + summary: { + baseRef: 'origin/main', + baseOid: 'base-oid', + compareRef: 'feature', + headOid: 'head-oid', + mergeBase: 'merge-base', + changedFiles: 1, + status: 'ready' + }, + entries: [] +} + +/** + * The review screen's three loaders, mounted as the plain async senders they are. `scope` picks the + * diff arm: a worktree item asks `git.diff`, a branch item asks `git.branchDiff` from the compare + * summary above. Text diffs are deliberately not scripted — highlighting them reaches `lowlight`, + * which the module loader refuses as an unspecified native dependency. + */ +export function diffReviewMountAdapters( + modules: ReturnType +): Record { + return { + 'session.diff-review-load': ({ client }) => { + const loaders = modules.load( + 'mobile/src/session/mobile-diff-review-loaders.ts' + ) + let snapshot: unknown = 'unloaded' + let branchCompare: unknown = 'unloaded' + let diff: unknown = 'unloaded' + function reviewItem(args: Record) { + const scope = + args.scope === 'branch' ? 'branch' : args.scope === 'staged' ? 'staged' : 'unstaged' + return { + key: `${scope}:src/app.ts`, + scope, + area: scope, + filePath: 'src/app.ts', + status: args.status === 'deleted' ? 'deleted' : 'modified', + title: 'app.ts', + subtitle: 'src', + canStage: true, + canUnstage: false, + canDiscard: true, + isGeneratedOrLockFile: false, + diffIdentity: 'identity-1', + noteCount: 0, + unsentNoteCount: 0, + staleNoteCount: 0, + isReviewed: false, + changedSinceReview: false + } + } + return { + action(name, args) { + if (name === 'snapshot') { + return loaders.loadMobileDiffReviewSnapshot(client, WORKTREE).then((value) => { + snapshot = value + return value + }) + } + if (name === 'branch-compare') { + return loaders.loadMobileDiffReviewBranchCompare(client, WORKTREE).then((value) => { + branchCompare = value + return value + }) + } + if (name === 'diff') { + return loaders + .loadMobileDiffReviewDiff({ + client, + worktreeId: WORKTREE, + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the loader reads only scope, filePath, oldPath, status and key. + item: reviewItem(args) as Parameters< + typeof loaders.loadMobileDiffReviewDiff + >[0]['item'], + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the branch arm reads only the compare summary's refs and oids. + branchCompare: (args.compare === false ? null : BRANCH_COMPARE) as Parameters< + typeof loaders.loadMobileDiffReviewDiff + >[0]['branchCompare'] + }) + .then((value) => { + diff = value + return value + }) + } + throw new Error(`Unknown diff review action: ${name}`) + }, + state: () => ({ snapshot, branchCompare, diff }), + dispose: () => {} + } + } + } +} diff --git a/mobile/src/test-support/rpc-recording/adapters/file-explorer-screen-mount-adapters.ts b/mobile/src/test-support/rpc-recording/adapters/file-explorer-screen-mount-adapters.ts new file mode 100644 index 00000000000..9021d1b0059 --- /dev/null +++ b/mobile/src/test-support/rpc-recording/adapters/file-explorer-screen-mount-adapters.ts @@ -0,0 +1,82 @@ +import { createElement, type Context } from 'react' +import { projectMountedScreen, renderedElementProps, screenMount } from '../mounted-screen-tree' +import { mountFixture } from '../recorder-fixture-shape' +import type { OperationExposure, operationModuleLoader } from '../operation-module-loader' +import type { MountAdapter } from '../recording-scenario' +import type { RpcClientContextValue } from '../../../transport/rpc-client-context-contract' + +const HOST = 'host-1' +const WORKTREE = 'wt-files' + +/** + * The panel reads its client through the shared host-client context, whose handle is module-private + * in `client-context.tsx`. Exposing it mounts the real `useHostClient` — acquire, subscribe, + * release — over a scripted client, instead of reconstructing the hook against a prop. + */ +export const fileExplorerScreenMountExposures: readonly OperationExposure[] = [ + ['client-context.tsx', '\nexports.recorderHostClientContext = Ctx;'] +] + +/** The mobile files tab: the directory read, and the capped legacy list it falls back to. */ +export function fileExplorerScreenMountAdapters( + modules: ReturnType +): Record { + return { + 'files.explorer-screen': ({ client, effect }) => { + const Panel = modules.load( + 'mobile/src/files/MobileFileExplorerPanel.tsx' + ).MobileFileExplorerPanel + const { recorderHostClientContext } = modules.load<{ + recorderHostClientContext: Context + }>('mobile/src/transport/client-context.tsx') + const context = mountFixture({ + acquire: () => client, + release: () => {}, + getKnownState: () => 'connected', + getClientId: () => 'client-1', + getAllClients: () => [{ hostId: HOST, client }], + subscribeHostState: () => () => {}, + // A reconnect is the screen reaching past the socket the recording scripts, so it is + // recorded rather than performed. + forceReconnect: (hostId) => { + effect('host-client.force-reconnect', { hostId }) + return Promise.resolve() + } + }) + const screen = screenMount( + () => + createElement( + recorderHostClientContext.Provider, + { value: context }, + createElement(Panel, { hostId: HOST, worktreeId: WORKTREE, name: 'orca-files' }) + ), + effect + ) + return { + action(name) { + if (name === 'mount' || name === 'remount') { + return screen.mount() + } + if (name === 'unmount') { + return screen.unmount() + } + if (name === 'blur') { + return + } + throw new Error(`Unknown file explorer action: ${name}`) + }, + state: () => ({ + ...projectMountedScreen(screen), + // The inert list never calls `renderItem`, so the rows it was handed are the only + // record of what the screen would have drawn. + rows: renderedElementProps(screen.tree(), 'FlatList').flatMap((props) => + Array.isArray(props.data) + ? props.data.map((row: { id?: unknown }) => row?.id) + : [props.data] + ) + }), + dispose: screen.unmount + } + } + } +} diff --git a/mobile/src/test-support/rpc-recording/adapters/file-request-mount-adapters.ts b/mobile/src/test-support/rpc-recording/adapters/file-request-mount-adapters.ts new file mode 100644 index 00000000000..334ecde80ed --- /dev/null +++ b/mobile/src/test-support/rpc-recording/adapters/file-request-mount-adapters.ts @@ -0,0 +1,108 @@ +import type { MountAdapter } from '../recording-scenario' +import type { operationModuleLoader } from '../operation-module-loader' + +const WORKSPACE = 'workspace-1' +/** The artifact a scenario reads; the path decides which of the two artifact methods it asks. */ +function artifactSource(absolutePath: string) { + return { + source: 'terminalArtifact' as const, + worktreeId: WORKSPACE, + absolutePath, + grantId: 'grant-1', + terminalHandle: 'terminal-1', + pathText: absolutePath.slice(absolutePath.lastIndexOf('/') + 1), + cwd: '/logs' + } +} + +const ARTIFACT = artifactSource('/logs/run.txt') + +/** + * The file reads and writes a session file tab runs: ownership capture before a mutation, the + * preview loader with its terminal-artifact grant refresh, the artifact save, and the tab doc's + * three shapes. Each is an exported async function taking a client, so the recorded state is the + * function's own answer and no React host is needed. + */ +export function fileRequestMountAdapters( + modules: ReturnType +): Record { + return { + 'files.mutation-ownership': ({ client }) => { + const capture = modules.load( + 'mobile/src/files/mobile-file-mutation-ownership.ts' + ).captureMobileFileMutationOwnership + let ownership: unknown = 'uncaptured' + return { + action: () => + capture(client, `id:${WORKSPACE}`).then((value: unknown) => { + ownership = value + return value + }), + state: () => ({ ownership }), + dispose: () => {} + } + }, + 'files.preview-load': ({ client, effect }) => { + const load = modules.load( + 'mobile/src/files/mobile-file-preview-request.ts' + ).loadMobileFilePreview + let preview: unknown = 'unloaded' + return { + action(name, args) { + const request = + name === 'worktree' + ? load(client, WORKSPACE, String(args.path ?? 'docs/readme.md')) + : load(client, artifactSource(String(args.path ?? '/logs/run.txt')), undefined, { + onTerminalArtifactSourceRefreshed: (source: unknown) => + effect('artifact-source-refreshed', source) + }) + return request.then((value: unknown) => { + preview = value + return value + }) + }, + state: () => ({ preview }), + dispose: () => {} + } + }, + 'files.preview-save': ({ client, effect }) => { + const save = modules.load( + 'mobile/src/files/mobile-file-preview-request.ts' + ).saveMobileTerminalArtifactPreview + let saved: unknown = 'unsaved' + return { + action: (name) => + save(client, ARTIFACT, 'next', { + onTerminalArtifactSourceRefreshed: (source: unknown) => + effect('artifact-source-refreshed', source), + // The verified arm re-reads the artifact first; the blind arm writes straight away. + ...(name === 'blind' ? {} : { baseContent: 'base' }) + }).then((value: unknown) => { + saved = value + return value + }), + state: () => ({ saved }), + dispose: () => {} + } + }, + 'files.tab-doc': ({ client }) => { + const resolve = modules.load( + 'mobile/src/files/mobile-file-tab-doc.ts' + ).resolveMobileFileTabDoc + const docs: Record = {} + return { + action: (name) => + resolve(client, { + worktreeId: WORKSPACE, + relativePath: name === 'image' ? 'docs/logo.png' : 'docs/readme.md', + ...(name === 'diff' ? { diffSource: 'staged' as const } : {}) + }).then((value: unknown) => { + docs[name] = value + return value + }), + state: () => ({ ...docs }), + dispose: () => {} + } + } + } +} diff --git a/mobile/src/test-support/rpc-recording/adapters/file-tap-open-mount-adapters.ts b/mobile/src/test-support/rpc-recording/adapters/file-tap-open-mount-adapters.ts new file mode 100644 index 00000000000..57779cb5eae --- /dev/null +++ b/mobile/src/test-support/rpc-recording/adapters/file-tap-open-mount-adapters.ts @@ -0,0 +1,92 @@ +import type { MountAdapter } from '../recording-scenario' +import { mountFixture } from '../recorder-fixture-shape' +import type { operationModuleLoader } from '../operation-module-loader' + +const HOST = 'host-1' +const WORKSPACE = 'workspace-1' +const TERMINAL = 'terminal-1' + +/** + * Tapping a path a terminal printed: the host resolve, then the worktree open it may lead to. + * + * The entry point is fire-and-forget (`void ... .catch`), so the recording observes the two sends, + * the route it pushed and the miss callback rather than a returned value. Its three delayed + * activation attempts run on the scenario's own clock, which is what makes the tab-switch order + * observable at all. + */ +export function fileTapOpenMountAdapters( + modules: ReturnType +): Record { + return { + 'files.terminal-path-tap': ({ client, effect }) => { + const open = modules.load( + 'mobile/src/session/mobile-file-tap-open.ts' + ).openMobileFileTap + type Tab = { id: string; relativePath?: string } + const timers: ReturnType[] = [] + let sessionTabs: readonly Tab[] = [] + let activeSessionTabId: string | null = 'tab-source' + let switched: unknown = null + let failed = 0 + return { + action(name, args) { + if (name === 'list') { + sessionTabs = [{ id: 'tab-opened', relativePath: 'src/app.ts' }] + return sessionTabs + } + if (name !== 'tap') { + throw new Error(`Unknown file tap action: ${name}`) + } + return open( + mountFixture>[0]>({ + client, + hostId: HOST, + worktreeId: WORKSPACE, + worktreeName: 'workspace', + terminalHandle: TERMINAL, + pathText: String(args.pathText ?? 'src/app.ts'), + cwd: '/repo', + line: args.line === undefined ? null : Number(args.line), + column: null, + pushPreviewRoute: (href) => effect('push-preview-route', href), + openBrowser: (url: string) => effect('open-browser', { url }), + triggerOpenFeedback: () => effect('open-feedback', {}), + fetchSessionTabs: () => { + effect('fetch-session-tabs', {}) + return Promise.resolve() + }, + getSessionTabs: () => sessionTabs, + getActiveSessionTabId: () => activeSessionTabId, + getActivationState: (activated: boolean) => ({ + activated, + activationSeq: 1, + latestActivationSeq: 1, + sourceTerminalHandle: TERMINAL, + activeTerminalHandle: args.moved === true ? 'terminal-2' : TERMINAL, + activeTabType: 'terminal' + }), + switchSessionTab: (tab: Tab) => { + switched = tab + activeSessionTabId = tab.id + }, + scheduleDelayedAction: (callback: () => void, delayMs: number) => { + const timer = setTimeout(callback, delayMs) + timers.push(timer) + return timer + }, + onOpenFailed: () => { + failed += 1 + } + }) + ) + }, + state: () => ({ switched, failed, activeSessionTabId }), + dispose: () => { + for (const timer of timers) { + clearTimeout(timer) + } + } + } + } + } +} diff --git a/mobile/src/test-support/rpc-recording/adapters/github-pr-mount-adapters.ts b/mobile/src/test-support/rpc-recording/adapters/github-pr-mount-adapters.ts new file mode 100644 index 00000000000..f61d9b6eb6c --- /dev/null +++ b/mobile/src/test-support/rpc-recording/adapters/github-pr-mount-adapters.ts @@ -0,0 +1,212 @@ +import type { MountAdapter } from '../recording-scenario' +import type { operationModuleLoader } from '../operation-module-loader' + +const WORKTREE = 'repo-9::/w' +const PR_NUMBER = 12 +const FORK_REPO = { owner: 'fork-owner', repo: 'fork-repo', host: 'github.enterprise.test' } + +/** + * The PR sidebar's `github.*` surface: seven reads and twelve mutations, all exported async + * functions taking a client, so no React host is needed and the recorded state is each wrapper's + * own `{ ok }` outcome. `fork` picks the arm that forwards a `prRepo` slug, which only the + * allow-listed methods accept. + */ +export function githubPrMountAdapters( + modules: ReturnType +): Record { + return { + 'session.pr-reads': ({ client }) => { + const reads = modules.load( + 'mobile/src/session/github-pr-rpc.ts' + ) + const results: Record = {} + function send(name: string, args: Record): Promise { + const prRepo = args.fork === true ? FORK_REPO : null + if (name === 'repo-slug') { + return reads.fetchGithubRepoSlug(client, WORKTREE) + } + if (name === 'hosted-review') { + return reads.fetchHostedReviewForBranch(client, WORKTREE, { + branch: 'feature', + linkedGitHubPR: PR_NUMBER + }) + } + if (name === 'pr-for-branch') { + return reads.fetchPRForBranch(client, WORKTREE, { branch: 'feature' }) + } + if (name === 'work-item') { + return reads.fetchWorkItemDetails(client, WORKTREE, { prNumber: PR_NUMBER }) + } + if (name === 'checks') { + return reads.fetchPRChecks(client, WORKTREE, { + prNumber: PR_NUMBER, + headSha: args.headSha === null ? null : 'head-sha-1', + prRepo + }) + } + if (name === 'check-details') { + return reads.fetchPRCheckDetails(client, WORKTREE, { + checkRunId: 7, + checkName: 'build', + url: null, + prRepo + }) + } + if (name === 'assignable') { + return reads.fetchAssignableUsers(client, WORKTREE) + } + throw new Error(`Unknown pr read action: ${name}`) + } + return { + action: (name, args) => + send(name, args).then((value) => { + results[name] = value + return value + }), + state: () => ({ ...results }), + dispose: () => {} + } + }, + 'session.pr-mutations': ({ client }) => { + const mutations = modules.load( + 'mobile/src/session/github-pr-mutations.ts' + ) + const results: Record = {} + function send(name: string, args: Record): Promise { + const prRepo = args.fork === true ? FORK_REPO : null + const slug = { owner: 'owner', repo: 'repo', commentId: 55 } + if (name === 'merge') { + return mutations.fetchMergePR(client, WORKTREE, { + prNumber: PR_NUMBER, + method: 'squash', + prRepo + }) + } + if (name === 'auto-merge') { + return mutations.fetchSetPRAutoMerge(client, WORKTREE, { + prNumber: PR_NUMBER, + enabled: true, + prRepo + }) + } + if (name === 'close') { + return mutations.fetchUpdatePRState(client, WORKTREE, { + prNumber: PR_NUMBER, + state: 'closed', + prRepo + }) + } + if (name === 'request-reviewers') { + return mutations.fetchRequestPRReviewers(client, WORKTREE, { + prNumber: PR_NUMBER, + reviewers: ['octocat'], + prRepo + }) + } + if (name === 'remove-reviewers') { + return mutations.fetchRemovePRReviewers(client, WORKTREE, { + prNumber: PR_NUMBER, + reviewers: ['octocat'], + prRepo + }) + } + if (name === 'rerun-checks') { + return mutations.fetchRerunPRChecks(client, WORKTREE, { + prNumber: PR_NUMBER, + headSha: 'head-sha-1', + failedOnly: true, + prRepo + }) + } + if (name === 'reply') { + return mutations.fetchAddPRReviewCommentReply(client, WORKTREE, { + prNumber: PR_NUMBER, + commentId: 55, + body: 'recorded reply', + threadId: 'thread-1', + path: 'src/app.ts', + line: 3, + prRepo + }) + } + if (name === 'root-comment') { + return mutations.fetchAddIssueComment(client, WORKTREE, { + prNumber: PR_NUMBER, + body: 'recorded comment', + prRepo + }) + } + if (name === 'resolve-thread') { + return mutations.fetchResolveReviewThread(client, WORKTREE, { + threadId: 'thread-1', + resolve: true, + prRepo + }) + } + if (name === 'edit-comment') { + return mutations.fetchUpdateIssueComment(client, { ...slug, body: 'edited' }) + } + if (name === 'delete-comment') { + return mutations.fetchDeleteIssueComment(client, slug) + } + if (name === 'title') { + return mutations.fetchUpdatePRTitle(client, WORKTREE, { + prNumber: PR_NUMBER, + title: 'Recorded title', + prRepo + }) + } + throw new Error(`Unknown pr mutation action: ${name}`) + } + return { + action: (name, args) => + send(name, args).then((value) => { + results[name] = value + return value + }), + state: () => ({ ...results }), + dispose: () => {} + } + }, + 'session.pr-triage-launch': ({ client }) => { + const launch = modules.load( + 'mobile/src/session/pr-ai-triage-launch.ts' + ).createTerminalAndSendPrompt + let launched: unknown = 'unlaunched' + return { + action: (_name, args) => + launch(client, WORKTREE, String(args.prompt ?? 'Fix the failing checks')).then(() => { + launched = 'sent' + }), + state: () => ({ launched }), + dispose: () => {} + } + }, + 'session.pr-branch-context': ({ client }) => { + const context = modules.load( + 'mobile/src/session/use-mobile-pr-branch-context.ts' + ) + let repoContext: unknown = 'unread' + let identity: unknown = 'unread' + return { + action(name) { + if (name === 'repo-context') { + return context.loadMobilePrRepoContext(client, WORKTREE).then((value) => { + repoContext = value + return value + }) + } + if (name === 'identity') { + return context.loadMobilePrBranchIdentity(client, WORKTREE).then((value) => { + identity = value + return value + }) + } + throw new Error(`Unknown pr branch context action: ${name}`) + }, + state: () => ({ repoContext, identity }), + dispose: () => {} + } + } + } +} diff --git a/mobile/src/test-support/rpc-recording/adapters/host-screen-mount-adapters.ts b/mobile/src/test-support/rpc-recording/adapters/host-screen-mount-adapters.ts new file mode 100644 index 00000000000..6c10c79aa3f --- /dev/null +++ b/mobile/src/test-support/rpc-recording/adapters/host-screen-mount-adapters.ts @@ -0,0 +1,111 @@ +import type { MountAdapter } from '../recording-scenario' +import { hookMount, performHookAction } from '../hook-mount' +import { observableModel, projectObservable } from '../observable-model' +import type { operationModuleLoader } from '../operation-module-loader' + +const HOST = 'host-1' + +const INITIAL_VIEW_STATE = { + groupMode: 'none', + sortMode: 'recent', + hideSleeping: false, + hideDefaultBranch: false, + alwaysShowDefaultBranch: true, + filterRepoIds: [], + collapsedGroups: [], + workspaceStatuses: [] +} + +/** + * The host screen's shared view settings, and the Home card's per-host stats read. Both belong to + * the host list: one mirrors the desktop's workspace view store, the other fills the card's counts. + */ +export function hostScreenMountAdapters( + modules: ReturnType +): Record { + return { + 'host.view-settings': (context) => { + const useViewSettings = modules.load< + typeof import('../../../host-screen/use-host-view-settings') + >('mobile/src/host-screen/use-host-view-settings.ts').useHostViewSettings + const state = observableModel(context, { + clientRef: { current: context.client }, + collapsedGroups: new Set(), + filters: { + filterRepoIds: new Set(), + hideSleeping: false, + hideDefaultBranch: false, + alwaysShowDefaultBranch: true + }, + groupMode: 'none', + sortMode: 'recent', + viewStateRef: { current: { ...INITIAL_VIEW_STATE } }, + workspaceStatuses: [] + }) + let actions: ReturnType + const hook = hookMount(() => { + actions = useViewSettings({ + client: context.client, + connState: 'connected', + hostId: HOST, + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the recorder supplies only the members the hook reads. + state: state as unknown as Parameters[0]['state'] + }) + }) + return { + action(name) { + if (name === 'mount') { + return hook.mount() + } + if (name === 'sync') { + return actions.syncViewSettingsFromDesktop() + } + if (name === 'sort') { + return performHookAction(() => actions.handleSortChange('name')) + } + if (name === 'hide-sleeping') { + return performHookAction(() => actions.toggleHideSleeping()) + } + throw new Error(`Unknown view settings action: ${name}`) + }, + state: () => + projectObservable({ + groupMode: state.groupMode, + sortMode: state.sortMode, + filters: state.filters, + collapsed: state.collapsedGroups, + statuses: state.workspaceStatuses + }), + dispose: hook.unmount + } + }, + 'home.host-stats': (context) => { + const fetchStats = modules.load( + 'mobile/src/home/mobile-home-host-requests.ts' + ).fetchMobileHomeStats + let stats: Record = {} + let disposed = false + return { + action(name) { + if (name === 'unmount') { + disposed = true + return + } + return fetchStats( + context.client, + HOST, + (update: (value: Record) => Record) => { + stats = update(stats) + context.effect('stats', stats) + }, + () => disposed + ) + }, + state: () => ({ ...stats }), + dispose: () => { + disposed = true + } + } + } + } +} diff --git a/mobile/src/test-support/rpc-recording/adapters/host-worktree-action-mount-adapters.ts b/mobile/src/test-support/rpc-recording/adapters/host-worktree-action-mount-adapters.ts new file mode 100644 index 00000000000..562f642f039 --- /dev/null +++ b/mobile/src/test-support/rpc-recording/adapters/host-worktree-action-mount-adapters.ts @@ -0,0 +1,90 @@ +import type { MountAdapter } from '../recording-scenario' +import { hookMount, performHookAction } from '../hook-mount' +import { observableModel, projectObservable } from '../observable-model' +import type { operationModuleLoader } from '../operation-module-loader' + +const ROW = { + worktreeId: 'wt-1', + repoId: 'repo-1', + repo: 'marlin', + branch: 'feature/pin', + displayName: 'marlin', + path: '/repos/marlin/wt-1', + liveTerminalCount: 0, + hasAttachedPty: false, + preview: '', + unread: false, + isPinned: false, + linkedPR: null +} + +/** + * The host screen's three worktree mutations: pin, delete and open. + * + * Mounted with no hostId, which is the only thing that keeps the hook off native storage: the + * pinned-id write is the sole native call and it sits behind `if (hostId)`. + */ +export function hostWorktreeActionMountAdapters( + modules: ReturnType +): Record { + return { + 'host.worktree-actions': (context) => { + const useActions = modules.load< + typeof import('../../../host-screen/use-host-worktree-actions') + >('mobile/src/host-screen/use-host-worktree-actions.ts').useHostWorktreeActions + const state = observableModel(context, { + newWorktreeModalRef: { current: null }, + newWorktreeModalVisibleRef: { current: false }, + pinnedIds: new Set(), + worktrees: [ROW], + lastKnownWorktrees: [ROW], + confirmRemoveHost: false, + optimisticActiveWorktreeIdentity: null, + routeActionState: {} + }) + let actions: ReturnType + const hook = hookMount(() => { + actions = useActions({ + client: context.client, + connState: 'connected', + embedded: false, + fetchWorktrees: async () => {}, + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the hook only forwards this to host removal, which no scenario drives. + forgetHostClient: (() => {}) as unknown as Parameters< + typeof useActions + >[0]['forgetHostClient'], + hostId: undefined, + pathname: '/h/host-1', + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: navigation is observed through the recorded sends, not the router. + router: { push: () => {}, replace: () => {} } as unknown as Parameters< + typeof useActions + >[0]['router'], + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the recorder supplies only the members the hook reads. + state: state as unknown as Parameters[0]['state'] + }) + }) + return { + action(name) { + if (name === 'mount') { + return hook.mount() + } + if (name === 'toggle-pin') { + return performHookAction(() => actions.togglePin(ROW.worktreeId)) + } + if (name === 'delete') { + return performHookAction(() => actions.handleDeleteWorktree(ROW)) + } + if (name === 'open-session') { + return performHookAction(() => actions.openWorktreeSession(ROW)) + } + throw new Error(`Unknown worktree action: ${name}`) + }, + state: () => + projectObservable( + Object.fromEntries(Object.entries(state).filter(([key]) => !key.endsWith('Ref'))) + ), + dispose: hook.unmount + } + } + } +} diff --git a/mobile/src/test-support/rpc-recording/adapters/mounted-operation-modules.ts b/mobile/src/test-support/rpc-recording/adapters/mounted-operation-modules.ts index 137ee683f8e..5fdcd0e197e 100644 --- a/mobile/src/test-support/rpc-recording/adapters/mounted-operation-modules.ts +++ b/mobile/src/test-support/rpc-recording/adapters/mounted-operation-modules.ts @@ -1,12 +1,61 @@ +import { aiVaultResumeMountAdapters } from './ai-vault-resume-mount-adapters' +import { + agentHistoryMountAdapters, + agentHistoryMountExposures +} from './agent-history-mount-adapters' +import { browserMountAdapters } from './browser-mount-adapters' +import { clipboardImageMountAdapters } from './clipboard-image-mount-adapters' +import { codexResetCreditMountAdapters } from './codex-reset-credit-mount-adapters' +import { dictationMountAdapters } from './dictation-mount-adapters' +import { diffReviewActionMountAdapters } from './diff-review-action-mount-adapters' +import { diffReviewMountAdapters } from './diff-review-mount-adapters' +import { + fileExplorerScreenMountAdapters, + fileExplorerScreenMountExposures +} from './file-explorer-screen-mount-adapters' import { fileInventoryMountAdapters } from './file-inventory-mount-adapters' +import { fileTapOpenMountAdapters } from './file-tap-open-mount-adapters' +import { fileRequestMountAdapters } from './file-request-mount-adapters' +import { githubPrMountAdapters } from './github-pr-mount-adapters' +import { hostScreenMountAdapters } from './host-screen-mount-adapters' +import { hostWorktreeActionMountAdapters } from './host-worktree-action-mount-adapters' import { hostedReviewMountAdapters } from './hosted-review-mount-adapters' +import { nativeChatWriteMountAdapters } from './native-chat-write-mount-adapters' import { newTabAgentMountAdapters } from './new-tab-agent-mount-adapters' +import { newWorkspaceMountAdapters } from './new-workspace-mount-adapters' +import { newWorkspaceRepositoryMountAdapters } from './new-workspace-repository-mount-adapters' +import { pairingJournalMountAdapters } from './pairing-journal-mount-adapters' +import { pushDismissalMountAdapters } from './push-dismissal-mount-adapters' +import { + pushRegistrationMountAdapters, + pushRegistrationMountExposures +} from './push-registration-mount-adapters' +import { relayCredentialMountAdapters } from './relay-credential-mount-adapters' +import { sessionNotesMountAdapters } from './session-notes-mount-adapters' +import { sessionScreenReadMountAdapters } from './session-screen-read-mount-adapters' +import { sessionScreenTabMountAdapters } from './session-screen-tab-mount-adapters' +import { sessionTabMountAdapters } from './session-tab-mount-adapters' import { settingsMountAdapters, settingsMountExposures } from './settings-mount-adapters' import { sourceControlMountAdapters } from './source-control-mount-adapters' +import { structuredAgentLaunchMountAdapters } from './structured-agent-launch-mount-adapters' +import { taskItemChecksStatusMountAdapters } from './task-item-checks-status-mount-adapters' +import { taskItemConversationMountAdapters } from './task-item-conversation-mount-adapters' +import { taskItemDetailMountAdapters } from './task-item-detail-mount-adapters' +import { taskItemHostedMetadataMountAdapters } from './task-item-hosted-metadata-mount-adapters' +import { taskItemMetadataMountAdapters } from './task-item-metadata-mount-adapters' +import { taskListMountAdapters } from './task-list-mount-adapters' import { taskMountAdapters } from './task-mount-adapters' +import { taskProjectBoardLoadMountAdapters } from './task-project-board-load-mount-adapters' +import { taskProjectRowCommentMountAdapters } from './task-project-row-comment-mount-adapters' +import { taskProjectRowFieldMountAdapters } from './task-project-row-field-mount-adapters' +import { taskProjectRowMergeMountAdapters } from './task-project-row-merge-mount-adapters' +import { taskProjectRowReadMountAdapters } from './task-project-row-read-mount-adapters' import { taskWorkspaceHookMountAdapters } from './task-workspace-hook-mount-adapters' import { taskWorkspaceSenderMountAdapters } from './task-workspace-sender-mount-adapters' +import { terminalMountAdapters } from './terminal-mount-adapters' +import { transportStatusMountAdapters } from './transport-status-mount-adapters' import { workspaceSettingsMounts } from './workspace-settings-mounts' +import { worktreeCatalogMountAdapters } from './worktree-catalog-mount-adapters' import type { MountedOperationModule } from '../mounted-operation-module' /** @@ -15,23 +64,93 @@ import type { MountedOperationModule } from '../mounted-operation-module' * `adapter-seam.test.ts` checks each pairing names the file that declares it. */ export const MOUNTED_OPERATION_MODULES: readonly MountedOperationModule[] = [ + { + source: 'agent-history-mount-adapters.ts', + mounts: agentHistoryMountAdapters, + exposes: agentHistoryMountExposures + }, + { source: 'ai-vault-resume-mount-adapters.ts', mounts: aiVaultResumeMountAdapters }, + { source: 'browser-mount-adapters.ts', mounts: browserMountAdapters }, + { source: 'clipboard-image-mount-adapters.ts', mounts: clipboardImageMountAdapters }, + { source: 'codex-reset-credit-mount-adapters.ts', mounts: codexResetCreditMountAdapters }, + { source: 'dictation-mount-adapters.ts', mounts: dictationMountAdapters }, + { source: 'diff-review-action-mount-adapters.ts', mounts: diffReviewActionMountAdapters }, + { source: 'diff-review-mount-adapters.ts', mounts: diffReviewMountAdapters }, + { + source: 'file-explorer-screen-mount-adapters.ts', + mounts: fileExplorerScreenMountAdapters, + exposes: fileExplorerScreenMountExposures + }, { source: 'file-inventory-mount-adapters.ts', mounts: fileInventoryMountAdapters }, + { source: 'file-tap-open-mount-adapters.ts', mounts: fileTapOpenMountAdapters }, + { source: 'file-request-mount-adapters.ts', mounts: fileRequestMountAdapters }, + { source: 'github-pr-mount-adapters.ts', mounts: githubPrMountAdapters }, + { source: 'host-screen-mount-adapters.ts', mounts: hostScreenMountAdapters }, + { + source: 'host-worktree-action-mount-adapters.ts', + mounts: hostWorktreeActionMountAdapters + }, { source: 'hosted-review-mount-adapters.ts', mounts: hostedReviewMountAdapters }, + { source: 'native-chat-write-mount-adapters.ts', mounts: nativeChatWriteMountAdapters }, { source: 'new-tab-agent-mount-adapters.ts', mounts: newTabAgentMountAdapters }, + { source: 'new-workspace-mount-adapters.ts', mounts: newWorkspaceMountAdapters }, + { + source: 'new-workspace-repository-mount-adapters.ts', + mounts: newWorkspaceRepositoryMountAdapters + }, + { source: 'pairing-journal-mount-adapters.ts', mounts: pairingJournalMountAdapters }, + { source: 'push-dismissal-mount-adapters.ts', mounts: pushDismissalMountAdapters }, + { + source: 'push-registration-mount-adapters.ts', + mounts: pushRegistrationMountAdapters, + exposes: pushRegistrationMountExposures + }, + { source: 'relay-credential-mount-adapters.ts', mounts: relayCredentialMountAdapters }, + { source: 'session-notes-mount-adapters.ts', mounts: sessionNotesMountAdapters }, + { + source: 'session-screen-read-mount-adapters.ts', + mounts: sessionScreenReadMountAdapters + }, + { source: 'session-screen-tab-mount-adapters.ts', mounts: sessionScreenTabMountAdapters }, + { source: 'session-tab-mount-adapters.ts', mounts: sessionTabMountAdapters }, { source: 'settings-mount-adapters.ts', mounts: settingsMountAdapters, exposes: settingsMountExposures }, { source: 'source-control-mount-adapters.ts', mounts: sourceControlMountAdapters }, + { + source: 'structured-agent-launch-mount-adapters.ts', + mounts: structuredAgentLaunchMountAdapters + }, + { + source: 'task-item-checks-status-mount-adapters.ts', + mounts: taskItemChecksStatusMountAdapters + }, + { source: 'task-item-conversation-mount-adapters.ts', mounts: taskItemConversationMountAdapters }, + { source: 'task-item-detail-mount-adapters.ts', mounts: taskItemDetailMountAdapters }, + { + source: 'task-item-hosted-metadata-mount-adapters.ts', + mounts: taskItemHostedMetadataMountAdapters + }, + { source: 'task-item-metadata-mount-adapters.ts', mounts: taskItemMetadataMountAdapters }, + { source: 'task-list-mount-adapters.ts', mounts: taskListMountAdapters }, { source: 'task-mount-adapters.ts', mounts: taskMountAdapters }, { - source: 'task-workspace-hook-mount-adapters.ts', - mounts: taskWorkspaceHookMountAdapters + source: 'task-project-board-load-mount-adapters.ts', + mounts: taskProjectBoardLoadMountAdapters }, { - source: 'task-workspace-sender-mount-adapters.ts', - mounts: taskWorkspaceSenderMountAdapters + source: 'task-project-row-comment-mount-adapters.ts', + mounts: taskProjectRowCommentMountAdapters }, - { source: 'workspace-settings-mounts.ts', mounts: workspaceSettingsMounts } + { source: 'task-project-row-field-mount-adapters.ts', mounts: taskProjectRowFieldMountAdapters }, + { source: 'task-project-row-merge-mount-adapters.ts', mounts: taskProjectRowMergeMountAdapters }, + { source: 'task-project-row-read-mount-adapters.ts', mounts: taskProjectRowReadMountAdapters }, + { source: 'task-workspace-hook-mount-adapters.ts', mounts: taskWorkspaceHookMountAdapters }, + { source: 'task-workspace-sender-mount-adapters.ts', mounts: taskWorkspaceSenderMountAdapters }, + { source: 'terminal-mount-adapters.ts', mounts: terminalMountAdapters }, + { source: 'transport-status-mount-adapters.ts', mounts: transportStatusMountAdapters }, + { source: 'workspace-settings-mounts.ts', mounts: workspaceSettingsMounts }, + { source: 'worktree-catalog-mount-adapters.ts', mounts: worktreeCatalogMountAdapters } ] diff --git a/mobile/src/test-support/rpc-recording/adapters/native-chat-write-mount-adapters.ts b/mobile/src/test-support/rpc-recording/adapters/native-chat-write-mount-adapters.ts new file mode 100644 index 00000000000..02ab14da790 --- /dev/null +++ b/mobile/src/test-support/rpc-recording/adapters/native-chat-write-mount-adapters.ts @@ -0,0 +1,94 @@ +import type { MountAdapter } from '../recording-scenario' +import { mountFixture } from '../recorder-fixture-shape' +import type { operationModuleLoader } from '../operation-module-loader' + +const TERMINAL = 'terminal-1' +const DEVICE_TOKEN = 'device-token-1' + +/** + * The three writes native chat makes to a terminal — the message body, the standalone input clear + * and the paced command typing — plus the host-side record of a session-option pick. + * + * Each is an exported async function taking a client. The send's delivery-unknown arm is the reason + * these are recorded rather than reasoned about: a cutover and an ack loss must both answer + * `unknown`, and only a recording shows which of the three outcomes a given failure produced. + */ +export function nativeChatWriteMountAdapters( + modules: ReturnType +): Record { + return { + 'nativeChat.terminal-write': ({ client }) => { + const send = modules.load( + 'mobile/src/session/mobile-native-chat-send.ts' + ) + const outcomes: Record = {} + return { + action(name, args) { + const mobileClient = { id: DEVICE_TOKEN, type: 'mobile' as const } + const shared = { + client, + terminal: TERMINAL, + ...(args.anonymous === true ? {} : { mobileClient }), + ...(args.deadline === undefined ? {} : { deadline: Number(args.deadline) }) + } + const request = + name === 'clear' + ? send.clearMobileNativeChatInput( + mountFixture[0]>({ + ...shared, + clearInput: '\x15' + }) + ) + : name === 'command' + ? send.typeMobileNativeChatCommandWithOutcome( + mountFixture[0]>( + { ...shared, command: 'ok' } + ) + ) + : send.sendMobileNativeChatMessageWithOutcome( + mountFixture[0]>( + { + ...shared, + text: 'hello', + ...(args.enter === false ? { enter: false } : {}), + ...(args.draft === true + ? { resolvedLaunchDraft: { text: 'hello', createdAt: 0 } } + : {}) + } + ) + ) + return request.then((value: unknown) => { + outcomes[name] = value + return value + }) + }, + state: () => ({ ...outcomes }), + dispose: () => {} + } + }, + 'nativeChat.session-option-pick': ({ client }) => { + const persist = modules.load< + typeof import('../../../session/mobile-native-chat-session-option-persistence') + >( + 'mobile/src/session/mobile-native-chat-session-option-persistence.ts' + ).persistMobileStructuredOptionPicks + let settled: unknown = 'unsent' + return { + action: (name) => + persist( + mountFixture[0]>({ + client, + agent: 'claude', + // An empty pick list returns before the wire; the write is best-effort either way. + picks: name === 'empty' ? [] : [{ modelId: 'opus', optionId: 'model', value: 'opus' }] + }) + ).then((value: unknown) => { + settled = value === undefined ? 'settled' : value + return value + }), + state: () => ({ settled }), + dispose: () => {} + } + } + } +} diff --git a/mobile/src/test-support/rpc-recording/adapters/new-workspace-mount-adapters.ts b/mobile/src/test-support/rpc-recording/adapters/new-workspace-mount-adapters.ts new file mode 100644 index 00000000000..83195fa6c80 --- /dev/null +++ b/mobile/src/test-support/rpc-recording/adapters/new-workspace-mount-adapters.ts @@ -0,0 +1,107 @@ +import type { MountAdapter } from '../recording-scenario' +import { hookMount, performHookAction } from '../hook-mount' +import { projectObservable } from '../observable-model' +import type { operationModuleLoader } from '../operation-module-loader' + +const REPO = { id: 'repo-1', displayName: 'Repo' } + +/** + * The host screen's New Workspace drawer: the SSH/agent execution target, the repo's setup hook, + * and the Codex reset-credit capability probe the account rows gate on. The drawer's own repo list + * is absent because its hook also reads native storage, which no recording may reach. + */ +export function newWorkspaceMountAdapters( + modules: ReturnType +): Record { + // `connectionId` picks the arm the detection effect takes: an SSH repo detects remote agents, + // a repo without a connection detects local ones. + function executionTargetAdapter(connectionId: string | null): MountAdapter { + return ({ client }) => { + const useTarget = modules.load< + typeof import('../../../components/use-new-workspace-execution-target') + >( + 'mobile/src/components/use-new-workspace-execution-target.ts' + ).useNewWorkspaceExecutionTarget + let state: ReturnType + let visible = true + const hook = hookMount(() => { + state = useTarget({ client, connectionId, visible }) + }) + return { + action(name) { + if (name === 'mount' || name === 'remount') { + return hook.mount() + } + if (name === 'unmount') { + return hook.unmount() + } + if (name === 'blur') { + visible = false + return hook.update() + } + if (name === 'connect') { + return performHookAction(() => state.connect()) + } + throw new Error(`Unknown execution target action: ${name}`) + }, + state: () => + projectObservable({ + gate: state?.sshGate, + detected: state?.detectedAgentIds + }), + dispose: hook.unmount + } + } + } + + return { + 'components.execution-target': executionTargetAdapter('ssh-1'), + 'components.execution-target-local': executionTargetAdapter(null), + 'components.setup-script': ({ client }) => { + const useSetup = modules.load< + typeof import('../../../components/use-new-workspace-setup-script') + >('mobile/src/components/use-new-workspace-setup-script.ts').useNewWorkspaceSetupScript + let state: ReturnType + const hook = hookMount(() => { + state = useSetup({ + client, + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the hook reads only the repo's id. + selectedRepo: REPO as Parameters[0]['selectedRepo'] + }) + }) + return { + action(name) { + if (name === 'mount') { + return hook.mount() + } + throw new Error(`Unknown setup script action: ${name}`) + }, + state: () => + projectObservable({ + command: state?.setupCommand, + source: state?.setupSource, + trust: state?.setupTrust, + runPolicy: state?.setupRunPolicy, + advanced: state?.showAdvanced, + run: state?.runSetup + }), + dispose: hook.unmount + } + }, + 'components.codex-reset-capability': ({ client }) => { + const read = modules.load( + 'mobile/src/components/codex-reset-credit-capability.ts' + ).readCodexResetCreditCapability + let supported: unknown = 'unprobed' + return { + action: () => + read(client).then((value: unknown) => { + supported = value + return value + }), + state: () => ({ supported }), + dispose: () => {} + } + } + } +} diff --git a/mobile/src/test-support/rpc-recording/adapters/new-workspace-repository-mount-adapters.ts b/mobile/src/test-support/rpc-recording/adapters/new-workspace-repository-mount-adapters.ts new file mode 100644 index 00000000000..f0e302bf3af --- /dev/null +++ b/mobile/src/test-support/rpc-recording/adapters/new-workspace-repository-mount-adapters.ts @@ -0,0 +1,61 @@ +import { hookScreenMount } from '../mounted-screen-tree' +import type { operationModuleLoader } from '../operation-module-loader' +import type { MountAdapter } from '../recording-scenario' + +const HOST = 'host-1' + +/** + * The repository list the new-workspace dialog opens on: a `repo.list` refresh, and the last + * visited worktree the scenario declares in its device store, which is what picks the initial + * selection out of the refreshed list. + * + * Mounted through `hookScreenMount` rather than `hookMount` for its crash boundary — several reply + * partitions take this hook's effect down, and the message is the recording. + */ +export function newWorkspaceRepositoryMountAdapters( + modules: ReturnType +): Record { + return { + 'workspace.repositories': ({ client, effect }) => { + const useRepositories = modules.load< + typeof import('../../../components/use-new-workspace-repositories') + >('mobile/src/components/use-new-workspace-repositories.ts').useNewWorkspaceRepositories + let state: ReturnType | undefined + let visible = true + const screen = hookScreenMount(() => { + state = useRepositories({ client, hostId: HOST, visible }) + }, effect) + return { + action(name) { + if (name === 'mount' || name === 'remount') { + return screen.mount() + } + if (name === 'unmount') { + return screen.unmount() + } + if (name === 'blur') { + visible = false + return screen.update() + } + if (name === 'reset') { + visible = true + return screen.update() + } + throw new Error(`Unknown repositories action: ${name}`) + }, + state: () => { + const repos = state?.repos + return { + // Not only the ids: a reply partition can leave a non-array here, and that is the + // observation rather than something to normalise away. + repos: Array.isArray(repos) ? repos.map((repo) => repo?.id) : repos, + selected: state?.selectedRepo?.id ?? null, + loading: state?.loading ?? null, + crash: screen.crash() + } + }, + dispose: screen.unmount + } + } + } +} diff --git a/mobile/src/test-support/rpc-recording/adapters/pairing-journal-mount-adapters.ts b/mobile/src/test-support/rpc-recording/adapters/pairing-journal-mount-adapters.ts new file mode 100644 index 00000000000..64a6c8715b5 --- /dev/null +++ b/mobile/src/test-support/rpc-recording/adapters/pairing-journal-mount-adapters.ts @@ -0,0 +1,132 @@ +import type { MobileRelayPairingJournal } from '../../../transport/mobile-relay-pairing-journal' +import type { MountAdapter, MountContext } from '../recording-scenario' +import type { operationModuleLoader } from '../operation-module-loader' +import { + HOST_ID, + credentialHash, + JOURNAL_ID, + candidateClient, + pairingJournal, + pairingOffer, + pairingRelay +} from '../relay-pairing-fixtures' + +/** + * The two senders that run before a host profile exists: first pairing, and the startup recovery + * that reconciles a journal a crash or a lost reply left behind. Both race or retry candidates and + * advance only on an authoritative install status, which is what the recordings have to show. + */ +export function pairingJournalMountAdapters( + modules: ReturnType +): Record { + return { + 'relay.pairing-recovery': ({ client, effect }: MountContext) => { + const recovery = modules.load< + typeof import('../../../transport/mobile-relay-pairing-recovery') + >('mobile/src/transport/mobile-relay-pairing-recovery.ts') + let journal: MobileRelayPairingJournal | null = pairingJournal(credentialHash(modules)) + let outcome: unknown = 'unrecovered' + return { + action(_name, args) { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the adapter supplies each injected dependency recovery calls. + const started = recovery.recoverMobileRelayPairing({ + loadJournal: async () => journal, + updateJournal: async ( + _id: string, + update: (metadata: MobileRelayPairingJournal['metadata']) => unknown + ) => { + if (journal) { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the store persists the metadata its caller just derived. + const metadata = update(journal.metadata) as MobileRelayPairingJournal['metadata'] + journal = { ...journal, metadata } + } + effect('journal-updated', journal?.metadata.authorizationMode ?? null) + }, + clearJournal: async () => { + journal = null + effect('journal-cleared', 'recovery') + }, + readCredentialBundle: async () => null, + writeCredentialBundle: async (written: { current: { version: number } }) => { + effect('bundle-written', { version: written.current.version }) + }, + loadHosts: async () => [], + saveHost: async () => { + effect('host-saved', HOST_ID) + }, + connectRelay: () => candidateClient(client, effect, 'relay'), + resolveInviteDirector: async () => pairingRelay(), + now: () => Date.now() + Number(args.clockSkewMs ?? 0), + platform: 'ios' + } as Parameters[0]) + started.then( + (result: unknown) => { + outcome = result + }, + (error: unknown) => { + outcome = `failed: ${error instanceof Error ? error.message : String(error)}` + } + ) + return started + }, + state: () => ({ outcome, winner: journal?.metadata.winner ?? null }), + dispose: () => recovery.resetMobileRelayPairingRecoveryForTests() + } + }, + 'pairing.pre-profile': ({ client, effect }: MountContext) => { + const start = modules.load< + typeof import('../../../transport/pre-profile-pairing-coordinator') + >('mobile/src/transport/pre-profile-pairing-coordinator.ts').startPreProfilePairing + let outcome: unknown = 'unpaired' + let attempt: ReturnType | null = null + let savedHost: unknown = null + return { + action(name, args) { + if (name === 'dispose') { + attempt?.dispose() + return + } + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the fixture offer and dependencies carry the members the coordinator reads. + attempt = start({ + offer: args.relay === false ? { ...pairingOffer(), relay: undefined } : pairingOffer(), + timeoutMs: Number(args.timeoutMs ?? 30_000), + dependencies: { + connectDirect: () => candidateClient(client, effect, 'direct'), + connectRelay: () => candidateClient(client, effect, 'relay'), + resolveInviteDirector: async () => pairingRelay(), + resolveHostIdentity: async () => ({ id: HOST_ID, name: 'Fixture host' }), + saveHost: async (host: { relayHostId?: string }) => { + savedHost = host.relayHostId ?? 'direct-only' + effect('host-saved', savedHost) + }, + saveJournal: async () => { + effect('journal-saved', JOURNAL_ID) + }, + updateJournal: async () => { + effect('journal-updated', JOURNAL_ID) + }, + clearJournal: async () => { + effect('journal-cleared', JOURNAL_ID) + }, + writeCredentialBundle: async (written: { current: { version: number } }) => { + effect('bundle-written', { version: written.current.version }) + }, + platform: 'ios' + } + } as Parameters[0]) + attempt.result.then( + (result) => { + outcome = result.hostId + }, + (error: unknown) => { + outcome = `failed: ${error instanceof Error ? error.message : String(error)}` + } + ) + return attempt.result + }, + state: () => ({ outcome, savedHost, timedOut: attempt?.timedOut ?? null }), + dispose: () => attempt?.dispose() + } + } + } +} diff --git a/mobile/src/test-support/rpc-recording/adapters/push-dismissal-mount-adapters.ts b/mobile/src/test-support/rpc-recording/adapters/push-dismissal-mount-adapters.ts new file mode 100644 index 00000000000..a98445aedff --- /dev/null +++ b/mobile/src/test-support/rpc-recording/adapters/push-dismissal-mount-adapters.ts @@ -0,0 +1,38 @@ +import type { operationModuleLoader } from '../operation-module-loader' +import type { MountAdapter } from '../recording-scenario' + +const HOST = 'host-1' + +/** + * Reconciling the OS notification tray with the host. Everything this reads off the device is + * declared by the scenario — the presented notifications, and the stored host list the push + * fingerprint is resolved against — so the identities it puts on the wire are scenario bytes. + */ +export function pushDismissalMountAdapters( + modules: ReturnType +): Record { + return { + 'notifications.push-dismissal': ({ client }) => { + const requestNotificationCatchup = modules.load< + typeof import('../../../notifications/push-dismissal-reconciliation') + >('mobile/src/notifications/push-dismissal-reconciliation.ts').requestNotificationCatchup + let disposed = false + return { + action(name) { + if (name === 'catchup') { + return requestNotificationCatchup(client, HOST, () => disposed) + } + if (name === 'unmount') { + disposed = true + return + } + throw new Error(`Unknown push dismissal action: ${name}`) + }, + state: () => ({ disposed }), + dispose: () => { + disposed = true + } + } + } + } +} diff --git a/mobile/src/test-support/rpc-recording/adapters/push-registration-mount-adapters.ts b/mobile/src/test-support/rpc-recording/adapters/push-registration-mount-adapters.ts new file mode 100644 index 00000000000..56e5253fb74 --- /dev/null +++ b/mobile/src/test-support/rpc-recording/adapters/push-registration-mount-adapters.ts @@ -0,0 +1,55 @@ +import type { OperationExposure, operationModuleLoader } from '../operation-module-loader' +import type { MountAdapter } from '../recording-scenario' + +/** + * The two push senders are module-private, and the exported entry points that reach them read the + * keychain host catalog and the device token first. Exposing the senders records the wire the + * migration moves without teaching the substitute table to fake a device store. + */ +export const pushRegistrationMountExposures: readonly OperationExposure[] = [ + [ + 'notifications/push-registration.ts', + '\nexports.sendRegister = sendRegister;\nexports.sendUnregister = sendUnregister;' + ] +] + +const REGISTER_TIMEOUT_MS = 5_000 + +export function pushRegistrationMountAdapters( + modules: ReturnType +): Record { + return { + 'notifications.push-registration': ({ client }) => { + const push = modules.load<{ + sendRegister: (client: unknown, token: unknown, filter: unknown) => Promise + sendUnregister: (client: unknown, timeoutMs: number) => Promise + }>('mobile/src/notifications/push-registration.ts') + const results: Record = {} + return { + action(name, args) { + if (name !== 'register' && name !== 'unregister') { + throw new Error(`Unknown push registration action: ${name}`) + } + const request = + name === 'unregister' + ? push.sendUnregister(client, Number(args.timeoutMs ?? REGISTER_TIMEOUT_MS)) + : push.sendRegister( + client, + { + platform: 'ios', + token: 'apns-token-1', + ...(args.sandbox === true ? { apnsEnvironment: 'sandbox' } : {}) + }, + { onlyWhenDesktopAway: true, sound: args.sound !== false } + ) + return request.then((value: unknown) => { + results[name] = value + return value + }) + }, + state: () => ({ ...results }), + dispose: () => {} + } + } + } +} diff --git a/mobile/src/test-support/rpc-recording/adapters/relay-credential-mount-adapters.ts b/mobile/src/test-support/rpc-recording/adapters/relay-credential-mount-adapters.ts new file mode 100644 index 00000000000..6cf359e7fb4 --- /dev/null +++ b/mobile/src/test-support/rpc-recording/adapters/relay-credential-mount-adapters.ts @@ -0,0 +1,132 @@ +import type { MountAdapter, MountContext } from '../recording-scenario' +import type { operationModuleLoader } from '../operation-module-loader' +import { + HOST_ID, + credentialHash, + INSTALL_REQ_ID, + PENDING_RESUME_TOKEN, + credentialBundle, + directHost +} from '../relay-pairing-fixtures' + +/** + * The two credential installers that run over an already-paired client: the seven-day rotation and + * the direct-to-relay upgrade. Both are mutations whose lost reply is unknown rather than failed, + * so what the recordings have to show is the request order and which authoritative install status + * each step demanded before it wrote anything down. + */ +export function relayCredentialMountAdapters( + modules: ReturnType +): Record { + return { + 'relay.credential-rotation': ({ client, effect }: MountContext) => { + const rotate = modules.load< + typeof import('../../../transport/mobile-relay-credential-rotation') + >('mobile/src/transport/mobile-relay-credential-rotation.ts').rotateMobileRelayCredential + const hash = credentialHash(modules) + let bundle = credentialBundle(hash) + let outcome: unknown = 'unrotated' + return { + action(_name, args) { + const started = rotate({ + client, + bundle: + args.pending === true + ? { + ...bundle, + pending: { + token: PENDING_RESUME_TOKEN, + hash: hash(PENDING_RESUME_TOKEN), + reqId: INSTALL_REQ_ID + } + } + : bundle, + writeBundle: async (next) => { + bundle = next + effect('bundle-written', { + version: next.current.version, + pending: next.pending !== undefined, + grace: next.grace?.expiresAt ?? null + }) + } + }) + started.then( + (result) => { + outcome = { + version: result.bundle.current.version, + relayHostId: result.relay.relayHostId + } + }, + (error: unknown) => { + outcome = `failed: ${error instanceof Error ? error.message : String(error)}` + } + ) + return started + }, + state: () => ({ + outcome, + version: bundle.current.version, + pending: bundle.pending !== undefined + }), + dispose: () => {} + } + }, + 'relay.direct-upgrade': ({ client, effect }: MountContext) => { + const upgrade = modules.load( + 'mobile/src/transport/mobile-relay-direct-upgrade.ts' + ).upgradeDirectMobileRelay + const hash = credentialHash(modules) + let journal: unknown = null + let outcome: unknown = 'unupgraded' + return { + action(_name, args) { + if (args.journal === true) { + journal = { + v: 1, + hostId: HOST_ID, + reqId: INSTALL_REQ_ID, + pendingResumeToken: PENDING_RESUME_TOKEN, + pendingResumeTokenHash: hash(PENDING_RESUME_TOKEN) + } + } + const started = upgrade({ + client, + host: directHost(), + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: each mock stands in for the dependency it names; the upgrade defaults the rest. + dependencies: { + readJournal: async () => journal, + writeJournal: async (next: unknown) => { + journal = next + effect('journal-written', 'upgrade') + }, + clearJournal: async () => { + journal = null + effect('journal-cleared', 'upgrade') + }, + writeBundle: async (written: { current: { version: number } }) => { + effect('bundle-written', { version: written.current.version }) + }, + saveHost: async () => { + effect('host-saved', HOST_ID) + }, + deleteBundle: async () => { + effect('bundle-deleted', HOST_ID) + } + } as Parameters[0]['dependencies'] + }) + started.then( + (result) => { + outcome = result === null ? 'declined' : result.host.relayHostId + }, + (error: unknown) => { + outcome = `failed: ${error instanceof Error ? error.message : String(error)}` + } + ) + return started + }, + state: () => ({ outcome, journal: journal === null ? null : 'present' }), + dispose: () => {} + } + } + } +} diff --git a/mobile/src/test-support/rpc-recording/adapters/session-notes-mount-adapters.ts b/mobile/src/test-support/rpc-recording/adapters/session-notes-mount-adapters.ts new file mode 100644 index 00000000000..682be1134f6 --- /dev/null +++ b/mobile/src/test-support/rpc-recording/adapters/session-notes-mount-adapters.ts @@ -0,0 +1,199 @@ +import { hookMount, performHookAction } from '../hook-mount' +import { mountFixture } from '../recorder-fixture-shape' +import type { DiffComment } from '../../../../../src/shared/diff-comment-types' +import type { + DiffNotesDelivery, + MarkdownDocState +} from '../../../session/mobile-session-route-types' +import type { MountAdapter } from '../recording-scenario' +import type { operationModuleLoader } from '../operation-module-loader' + +const WORKSPACE = 'workspace-1' +const TAB = 'tab-md' + +/** + * The session screen's own persisted text: the worktree-stored review notes, the markdown tab save, + * and the quick-command list the terminal sheet edits. + * + * All three are optimistic writes with a rollback, so the projection is the local list rather than + * the reply: what a golden has to show is which value survives a refusal. Quick commands adds a + * serialized queue, so its recording is also the order two overlapping saves settle in. + */ +export function sessionNotesMountAdapters( + modules: ReturnType +): Record { + return { + 'session.diff-notes': ({ client, effect }) => { + const useComments = modules.load< + typeof import('../../../session/use-mobile-session-diff-comments') + >('mobile/src/session/use-mobile-session-diff-comments.ts').useMobileSessionDiffComments + let diffComments: DiffComment[] = [] + const diffCommentsRef = { current: diffComments } + let busy = false + let pendingDelivery: DiffNotesDelivery | null = null + let comments: ReturnType + const hook = hookMount(() => { + comments = useComments( + mountFixture[0]>({ + worktreeId: WORKSPACE, + isFloatingWorkspaceRoute: false, + client, + connState: 'connected', + setDiffComments: (update) => { + diffComments = typeof update === 'function' ? update(diffComments) : update + diffCommentsRef.current = diffComments + }, + diffCommentsRef, + diffCommentBusy: busy, + setDiffCommentBusy: (update) => { + busy = typeof update === 'function' ? update(busy) : update + }, + setPendingDiffNotesDelivery: (update) => { + pendingDelivery = typeof update === 'function' ? update(pendingDelivery) : update + }, + showToast: (message: string) => effect('toast', { message }) + }) + ) + }) + return { + action(name, args) { + if (name === 'mount') { + return hook.mount() + } + return performHookAction(() => { + if (name === 'add') { + return comments.addDiffCommentForFile( + 'src/app.ts', + Number(args.line ?? 4), + String(args.body ?? 'needs a test') + ) + } + if (name === 'delete') { + return comments.deleteDiffCommentForFile(String(args.id ?? 'note-1')) + } + if (name === 'copy') { + return comments.copyDiffCommentsToClipboard() + } + if (name === 'reload') { + return comments.loadDiffComments() + } + throw new Error(`Unknown diff notes action: ${name}`) + }) + }, + state: () => ({ diffComments, busy, pendingDelivery }), + dispose: hook.unmount + } + }, + 'session.markdown-save': ({ client, effect }) => { + const useMarkdown = modules.load< + typeof import('../../../session/use-mobile-session-markdown-actions') + >('mobile/src/session/use-mobile-session-markdown-actions.ts').useMobileSessionMarkdownActions + let markdownDocs = new Map([ + [ + TAB, + { + status: 'ready', + content: '# a', + localContent: '# b', + baseVersion: 'v1', + isDirty: true, + editable: true + } + ] + ]) + let actions: ReturnType + const hook = hookMount(() => { + actions = useMarkdown( + mountFixture[0]>({ + hostId: 'host-1', + worktreeId: WORKSPACE, + router: { push: (href: unknown) => effect('router-push', href), back: () => {} }, + client, + sessionTabs: [{ id: TAB, type: 'markdown', relativePath: 'docs/readme.md' }], + markdownDocs, + setMarkdownDocs: (update) => { + markdownDocs = typeof update === 'function' ? update(markdownDocs) : update + }, + setDiscardMarkdownTarget: () => {}, + discardMarkdownTarget: null, + setLeaveDrafts: () => {}, + markdownSaveSeqRef: { current: new Map() }, + markdownSaveInFlightRef: { current: new Set() }, + showToast: (message: string) => effect('toast', { message }), + readMarkdownTab: () => { + effect('read-markdown-tab', {}) + return Promise.resolve() + } + }) + ) + }) + hook.mount() + return { + action: (name) => + performHookAction(() => { + if (name === 'save') { + return actions.saveMarkdownTab( + mountFixture[0]>({ + type: 'markdown', + id: TAB, + relativePath: 'docs/readme.md' + }) + ) + } + throw new Error(`Unknown markdown action: ${name}`) + }), + state: () => ({ markdown: Object.fromEntries(markdownDocs) }), + dispose: hook.unmount + } + }, + 'settings.quick-commands': ({ client }) => { + const useQuickCommands = modules.load( + 'mobile/src/session/use-quick-commands.ts' + ).useQuickCommands + let enabled = true + let model: ReturnType + const persisted: unknown[] = [] + const hook = hookMount(() => { + model = useQuickCommands({ client, enabled }) + }) + return { + action(name, args) { + if (name === 'mount') { + return hook.mount() + } + if (name === 'close') { + enabled = false + return hook.update() + } + if (name === 'persist') { + return performHookAction(() => + model + .persist({ + type: 'upsert', + command: { + id: String(args.id ?? 'qc-1'), + label: String(args.label ?? 'build'), + command: 'pnpm build', + appendEnter: true + } + }) + .then((value: unknown) => { + persisted.push(value) + return value + }) + ) + } + throw new Error(`Unknown quick command action: ${name}`) + }, + state: () => ({ + commands: model.commands, + loading: model.loading, + ready: model.ready, + error: model.error, + persisted: [...persisted] + }), + dispose: hook.unmount + } + } + } +} diff --git a/mobile/src/test-support/rpc-recording/adapters/session-screen-read-mount-adapters.ts b/mobile/src/test-support/rpc-recording/adapters/session-screen-read-mount-adapters.ts new file mode 100644 index 00000000000..5afe5253e73 --- /dev/null +++ b/mobile/src/test-support/rpc-recording/adapters/session-screen-read-mount-adapters.ts @@ -0,0 +1,199 @@ +import { hookMount, performHookAction } from '../hook-mount' +import type { + FileDocState, + MarkdownDocState, + MobileSessionTab +} from '../../../session/mobile-session-route-types' +import type { TerminalRecord } from '../../../session/mobile-terminal-records' +import { mountFixture } from '../recorder-fixture-shape' +import type { MountAdapter } from '../recording-scenario' +import type { operationModuleLoader } from '../operation-module-loader' + +const WORKSPACE = 'workspace-1' +const HANDLE = 'terminal-1' +const DEVICE_TOKEN = 'device-token-1' + +/** + * What the session screen reads while it is open: a markdown or file tab's document, the terminal + * inventory, the repo probe native chat gates readability on, and the paced double-Escape stop. + * + * These hooks take the screen's accumulated model, so each mount supplies only the members the hook + * destructures — a fixture completed into a whole session model would invent state no scenario + * observes. The setters are recorded as model values rather than as native UI. + */ +export function sessionScreenReadMountAdapters( + modules: ReturnType +): Record { + return { + 'session.tab-documents': ({ client }) => { + const useReaders = modules.load< + typeof import('../../../session/use-mobile-session-document-readers') + >('mobile/src/session/use-mobile-session-document-readers.ts').useMobileSessionDocumentReaders + let markdownDocs = new Map() + let fileDocs = new Map() + let readers: ReturnType + const hook = hookMount(() => { + readers = useReaders( + mountFixture[0]>({ + worktreeId: WORKSPACE, + client, + setMarkdownDocs: (update) => { + markdownDocs = typeof update === 'function' ? update(markdownDocs) : update + }, + setFileDocs: (update) => { + fileDocs = typeof update === 'function' ? update(fileDocs) : update + } + }) + ) + }) + hook.mount() + return { + action(name, args) { + if (name === 'markdown') { + return performHookAction(() => + readers.readMarkdownTab( + mountFixture[0]>({ + type: 'markdown', + id: 'tab-md', + relativePath: 'docs/readme.md', + isDirty: args.dirty === true + }) + ) + ) + } + if (name === 'file') { + return performHookAction(() => + readers.readFileTab( + mountFixture[0]>({ + type: 'file', + id: 'tab-file', + relativePath: 'src/app.ts', + ...(args.diff === true ? { diffSource: 'staged' as const } : {}) + }) + ) + ) + } + throw new Error(`Unknown document action: ${name}`) + }, + state: () => ({ + markdown: Object.fromEntries(markdownDocs), + file: Object.fromEntries(fileDocs) + }), + dispose: hook.unmount + } + }, + 'session.terminal-inventory': ({ client, effect }) => { + const useList = modules.load< + typeof import('../../../session/use-mobile-session-terminal-list') + >('mobile/src/session/use-mobile-session-terminal-list.ts').useMobileSessionTerminalList + let terminals: TerminalRecord[] = [] + const terminalsRef: { current: TerminalRecord[] } = { current: [] } + const sessionTabsRef: { current: MobileSessionTab[] } = { current: [] } + const unsubs = new Map void>([[HANDLE, () => {}]]) + let listModel: ReturnType + const hook = hookMount(() => { + listModel = useList( + mountFixture[0]>({ + hostId: 'host-1', + worktreeId: WORKSPACE, + client, + setTerminals: (update) => { + terminals = typeof update === 'function' ? update(terminals) : update + }, + terminalsRef, + sessionTabsRef, + pruneTerminalHandlesFromLiveInput: (handles) => + effect('prune-live-input', [...handles]), + defaultTerminalHandlesToLiveInput: (handles) => + effect('default-live-input', [...handles]), + clearTerminalLiveInputDefault: (handle) => effect('clear-live-input', { handle }), + setTerminalKeyboardMetrics: () => {}, + terminalRefs: { current: new Map() }, + terminalUnsubsRef: { current: unsubs }, + initializedHandlesRef: { current: new Set([HANDLE]) }, + viewportResubscribeBudgetRef: { + current: { + forget: (handle: string) => effect('forget-viewport-budget', { handle }), + notifyListedHandles: () => {} + } + }, + activeHandleRef: { current: HANDLE }, + showNativeChatRef: { current: false }, + unsubscribeTerminal: (handle: string) => effect('unsubscribe-terminal', { handle }), + nativeChatStream: { notifyListedHandles: () => {} }, + bufferedTerminalDraftState: { pruneDrafts: () => {} } + }) + ) + }) + hook.mount() + return { + action: (name) => + performHookAction(() => + listModel.fetchTerminals(name === 'no-empty' ? { allowEmptyLoaded: false } : {}) + ), + state: () => ({ terminals, known: terminalsRef.current }), + dispose: hook.unmount + } + }, + 'session.native-chat-readability': ({ client }) => { + const useReadability = modules.load< + typeof import('../../../session/use-mobile-native-chat-readability') + >('mobile/src/session/use-mobile-native-chat-readability.ts').useMobileNativeChatReadability + let readable = false + let worktreeId = `repo-1::/w` + const hook = hookMount(() => { + readable = useReadability(client, worktreeId) + }) + return { + action(name) { + if (name === 'mount') { + return hook.mount() + } + if (name === 'reroute') { + worktreeId = 'repo-2::/w' + return hook.update() + } + throw new Error(`Unknown readability action: ${name}`) + }, + state: () => ({ readable, worktreeId }), + dispose: hook.unmount + } + }, + 'session.native-chat-stop': ({ client, effect }) => { + const useStop = modules.load( + 'mobile/src/session/use-mobile-native-chat-stop.ts' + ).useMobileNativeChatStop + const errors: string[] = [] + let stop: () => void + let enabled = true + const hook = hookMount(() => { + stop = useStop( + mountFixture[0]>({ + client, + enabled, + handleRef: { current: HANDLE }, + deviceTokenRef: { current: DEVICE_TOKEN }, + streamIdentity: 'stream-1', + cancelPending: () => effect('cancel-pending', {}), + onSendError: (message: string) => errors.push(message) + }) + ) + }) + hook.mount() + return { + action(name) { + if (name === 'stop') { + return performHookAction(() => stop()) + } + if (name === 'leave') { + enabled = false + return hook.update() + } + throw new Error(`Unknown stop action: ${name}`) + }, + state: () => ({ errors: [...errors] }), + dispose: hook.unmount + } + } + } +} diff --git a/mobile/src/test-support/rpc-recording/adapters/session-screen-tab-mount-adapters.ts b/mobile/src/test-support/rpc-recording/adapters/session-screen-tab-mount-adapters.ts new file mode 100644 index 00000000000..f593ebc2a0d --- /dev/null +++ b/mobile/src/test-support/rpc-recording/adapters/session-screen-tab-mount-adapters.ts @@ -0,0 +1,189 @@ +import { hookMount, performHookAction } from '../hook-mount' +import type { MobileSessionTab } from '../../../session/mobile-session-route-types' +import type { TerminalRecord } from '../../../session/mobile-terminal-records' +import { mountFixture } from '../recorder-fixture-shape' +import type { MountAdapter } from '../recording-scenario' +import type { operationModuleLoader } from '../operation-module-loader' + +const WORKSPACE = 'workspace-1' +const HANDLE = 'terminal-1' + +/** + * Adding and removing session tabs: the markdown note and browser tab a user creates, and the + * rename/close writes the tab strip makes. + * + * Each of these keeps local tab state only on an accepted reply, so the state projection is the tab + * list itself — a golden that showed the same list after a refusal would be recording the erasure + * these call sites exist to avoid. + */ +export function sessionScreenTabMountAdapters( + modules: ReturnType +): Record { + return { + 'session.content-create': ({ client, effect }) => { + const useCreate = modules.load< + typeof import('../../../session/use-mobile-session-content-create-actions') + >( + 'mobile/src/session/use-mobile-session-content-create-actions.ts' + ).useMobileSessionContentCreateActions + let creatingBrowser = false + let creatingMarkdown = false + let createError = '' + let screencastSupported = true + const pendingBrowserFocusPageIdRef: { current: string | null } = { current: null } + let actions: ReturnType + const timers: ReturnType[] = [] + const hook = hookMount(() => { + actions = useCreate( + mountFixture[0]>({ + worktreeId: WORKSPACE, + client, + creatingBrowser, + setCreatingBrowser: (value) => { + creatingBrowser = typeof value === 'function' ? value(creatingBrowser) : value + }, + creatingMarkdown, + setCreatingMarkdown: (value) => { + creatingMarkdown = typeof value === 'function' ? value(creatingMarkdown) : value + }, + setCreateError: (value) => { + createError = typeof value === 'function' ? value(createError) : value + }, + pendingBrowserFocusPageIdRef, + handleCreateBrowserRef: { current: () => Promise.resolve(false) }, + browserScreencastSupportedRef: { current: screencastSupported }, + scheduleDelayedAction: (callback: () => void, delayMs: number) => { + timers.push(setTimeout(callback, delayMs)) + }, + showToast: (message: string) => effect('toast', { message }), + fetchSessionTabs: () => { + effect('fetch-session-tabs', {}) + return Promise.resolve() + }, + fetchPendingBrowserSessionTabs: () => { + effect('fetch-pending-browser-tabs', {}) + return Promise.resolve() + } + }) + ) + }) + hook.mount() + return { + action(name, args) { + if (name === 'unsupported') { + screencastSupported = false + return hook.update() + } + return performHookAction(() => + name === 'markdown' + ? actions.handleCreateMarkdownNote() + : actions.handleCreateBrowser(String(args.url ?? 'https://example.com')) + ) + }, + state: () => ({ + creatingBrowser, + creatingMarkdown, + createError, + pendingBrowserFocusPageId: pendingBrowserFocusPageIdRef.current + }), + dispose: () => { + for (const timer of timers) { + clearTimeout(timer) + } + hook.unmount() + } + } + }, + 'session.tab-close': ({ client, effect }) => { + const useClose = modules.load< + typeof import('../../../session/use-mobile-session-close-actions') + >('mobile/src/session/use-mobile-session-close-actions.ts').useMobileSessionCloseActions + const terminalTab = mountFixture>({ + id: 'tab-1', + type: 'terminal', + title: 'Terminal', + terminal: HANDLE, + isActive: true + }) + let terminals: TerminalRecord[] = [{ handle: HANDLE, title: 'Terminal', isActive: true }] + const terminalsRef = { current: terminals } + const sessionTabsRef = { current: [terminalTab] } + let sessionTabs: MobileSessionTab[] = sessionTabsRef.current + let activeHandle: string | null = HANDLE + const activeHandleRef: { current: string | null } = { current: HANDLE } + const renameTarget: { handle: string } | null = { handle: HANDLE } + const timers: ReturnType[] = [] + let actions: ReturnType + const hook = hookMount(() => { + actions = useClose( + mountFixture[0]>({ + worktreeId: WORKSPACE, + client, + terminals, + terminalsRef, + setTerminals: (update) => { + terminals = typeof update === 'function' ? update(terminals) : update + }, + sessionTabsRef, + setSessionTabs: (update) => { + sessionTabs = typeof update === 'function' ? update(sessionTabs) : update + }, + reconcileBufferedDraftsRef: { current: () => {} }, + closedTabTombstonesRef: { current: new Map() }, + clearTerminalLiveInputDefault: (handle: string) => + effect('clear-live-input', { handle }), + setActiveHandle: (value) => { + activeHandle = typeof value === 'function' ? value(activeHandle) : value + }, + setActiveSessionTabId: () => {}, + activeSessionTabIdRef: { current: 'tab-1' }, + selectedSessionTabIdRef: { current: 'tab-1' }, + renameTarget, + setRenameTarget: () => {}, + terminalRefs: { current: new Map() }, + initializedHandlesRef: { current: new Set([HANDLE]) }, + activeHandleRef, + activeSessionTabTypeRef: { current: 'terminal' }, + pendingActiveTerminalHandleRef: { current: null }, + pendingBrowserFocusPageIdRef: { current: null }, + scheduleDelayedAction: (callback: () => void, delayMs: number) => { + timers.push(setTimeout(callback, delayMs)) + }, + unsubscribeTerminal: (handle: string) => effect('unsubscribe-terminal', { handle }), + subscribeToTerminal: (handle: string) => effect('subscribe-terminal', { handle }), + fetchTerminals: () => { + effect('fetch-terminals', {}) + return Promise.resolve(true) + } + }) + ) + }) + hook.mount() + return { + action(name, args) { + if (name === 'rename') { + return performHookAction(() => + actions.handleRenameTerminal(String(args.title ?? 'renamed')) + ) + } + if (name === 'close-terminal') { + return performHookAction(() => + actions.handleCloseTerminal({ handle: HANDLE, title: 'Terminal', isActive: true }) + ) + } + if (name === 'close-tab') { + return performHookAction(() => actions.handleCloseSessionTab(terminalTab)) + } + throw new Error(`Unknown tab close action: ${name}`) + }, + state: () => ({ terminals, sessionTabs, activeHandle }), + dispose: () => { + for (const timer of timers) { + clearTimeout(timer) + } + hook.unmount() + } + } + } + } +} diff --git a/mobile/src/test-support/rpc-recording/adapters/session-tab-mount-adapters.ts b/mobile/src/test-support/rpc-recording/adapters/session-tab-mount-adapters.ts new file mode 100644 index 00000000000..c93d4ae0860 --- /dev/null +++ b/mobile/src/test-support/rpc-recording/adapters/session-tab-mount-adapters.ts @@ -0,0 +1,111 @@ +import type { MountAdapter } from '../recording-scenario' +import { mountFixture } from '../recorder-fixture-shape' +import type { operationModuleLoader } from '../operation-module-loader' + +const WORKTREE = 'id:workspace-1' +const TERMINAL = 'terminal-1' +const TAB = 'tab-1' + +/** + * Making a session tab the active one, and the reconciliation loop that keeps the tab list honest. + * + * The activation pair is recorded because of its one retry: a logical cutover is replayed once, so + * a golden has to show two sender calls for one action and a non-cutover error showing one. The + * stream-health controller is recorded for the opposite reason — its generation, barrier and + * application-revision guards each drop a reply, and only a recording says which drop happened. + */ +export function sessionTabMountAdapters( + modules: ReturnType +): Record { + return { + 'session.tab-activation': ({ client }) => { + const activation = modules.load< + typeof import('../../../session/mobile-session-tab-activation') + >('mobile/src/session/mobile-session-tab-activation.ts') + const replies: Record = {} + let failure: unknown = null + return { + action: (name) => + (name === 'focus' + ? activation.focusMobileTerminal(client, TERMINAL) + : activation.activateMobileSessionTab(client, { + worktree: WORKTREE, + tabId: TAB, + notifyClients: false, + navigation: 'caller', + intent: 'user' + }) + ).then( + (value: unknown) => { + replies[name] = value + return value + }, + (error: unknown) => { + failure = error instanceof Error ? error.message : String(error) + throw error + } + ), + state: () => ({ ...replies, failure }), + dispose: () => {} + } + }, + 'session.tabs-stream-health': ({ client, effect }) => { + const Controller = modules.load< + typeof import('../../../session/mobile-session-tabs-stream-health') + >('mobile/src/session/mobile-session-tabs-stream-health.ts').MobileSessionTabsStreamHealth + let applicationRevision = 0 + let accepted: unknown = 'unapplied' + let rejectApply = false + const controller = new Controller<{ tabs?: readonly { id: string }[] }, { id: string }>( + mountFixture< + ConstructorParameters< + typeof Controller<{ tabs?: readonly { id: string }[] }, { id: string }> + >[0] + >({ + client, + scope: WORKTREE, + apply: (result) => + rejectApply + ? { accepted: false } + : { accepted: true, effectiveTabs: result.tabs ?? [], applicationRevision }, + consumeAccepted: (_result, effectiveTabs, source) => { + accepted = { tabs: effectiveTabs, source } + }, + hasRecoveryNeed: () => false, + getApplicationRevision: () => applicationRevision, + onFetchStarted: () => effect('fetch-started', {}), + onFetchSucceeded: (result) => effect('fetch-succeeded', result), + onFetchFailed: (failure) => effect('fetch-failed', failure.error), + onFetchErrored: (error) => + effect('fetch-errored', error instanceof Error ? error.message : String(error)) + }) + ) + return { + action(name) { + if (name === 'activate') { + // Nothing is fetched until the screen turns reconciliation on; the class starts off. + controller.setReconciliationActive(true) + return true + } + if (name === 'reconcile') { + return controller.requestReconciliation() + } + if (name === 'retry') { + return controller.retryReconciliation() + } + if (name === 'revise') { + applicationRevision += 1 + return applicationRevision + } + if (name === 'reject-apply') { + rejectApply = true + return rejectApply + } + throw new Error(`Unknown session tabs health action: ${name}`) + }, + state: () => ({ accepted, applicationRevision }), + dispose: () => controller.dispose() + } + } + } +} diff --git a/mobile/src/test-support/rpc-recording/adapters/structured-agent-launch-mount-adapters.ts b/mobile/src/test-support/rpc-recording/adapters/structured-agent-launch-mount-adapters.ts new file mode 100644 index 00000000000..9091b7cb437 --- /dev/null +++ b/mobile/src/test-support/rpc-recording/adapters/structured-agent-launch-mount-adapters.ts @@ -0,0 +1,38 @@ +import type { MountAdapter } from '../recording-scenario' +import type { operationModuleLoader } from '../operation-module-loader' + +const WORKSPACE = 'workspace-1' + +/** + * Opening a structured agent chat: the support probe, its bounded selector retry, and the durable + * create the phone replays exactly once when the transport drops. + * + * Recorded rather than reasoned about because every failure here has to stay `unknown` rather than + * `failed` unless the host names the refusal definitive — a create that may have committed must not + * grow a sibling terminal. The replay makes that visible as two sends for one action. + */ +export function structuredAgentLaunchMountAdapters( + modules: ReturnType +): Record { + return { + 'agentSession.structured-launch': ({ client }) => { + const create = modules.load< + typeof import('../../../session/mobile-structured-agent-session-launch') + >( + 'mobile/src/session/mobile-structured-agent-session-launch.ts' + ).createMobileStructuredAgentSession + let launched: unknown = 'unlaunched' + return { + action: (name) => + create(client, WORKSPACE, name === 'codex' ? 'codex' : 'claude').then( + (value: unknown) => { + launched = value + return value + } + ), + state: () => ({ launched }), + dispose: () => {} + } + } + } +} diff --git a/mobile/src/test-support/rpc-recording/adapters/task-item-checks-status-mount-adapters.ts b/mobile/src/test-support/rpc-recording/adapters/task-item-checks-status-mount-adapters.ts new file mode 100644 index 00000000000..e6c96f7bb9c --- /dev/null +++ b/mobile/src/test-support/rpc-recording/adapters/task-item-checks-status-mount-adapters.ts @@ -0,0 +1,270 @@ +import { hookMount, performHookAction } from '../hook-mount' +import { observableModel, projectObservable } from '../observable-model' +import type { MountAdapter, MountContext, MountedOperation } from '../recording-scenario' +import type { operationModuleLoader } from '../operation-module-loader' +import { mountFixture } from '../recorder-fixture-shape' + +const REPO_ID = 'repo-1' + +/** A PR review comment: has a path, a numeric line and a numeric id, so a reply is a review reply. */ +const REVIEW_COMMENT = { + id: 501, + author: 'octocat', + body: 'please fix', + createdAt: '2020-01-01T00:00:00.000Z', + path: 'src/index.ts', + line: 12, + threadId: 'thread-1', + isResolved: false +} as const + +/** An issue comment: no path or line, so a reply falls back to a plain issue comment. */ +const ISSUE_COMMENT = { + id: 'comment-2', + author: 'octocat', + body: 'a thought', + createdAt: '2020-01-01T00:00:00.000Z' +} as const + +const DETAIL_FILE = { + path: 'src/index.ts', + oldPath: undefined, + status: 'modified', + additions: 2, + deletions: 1, + viewerViewedState: 'UNVIEWED' +} as const + +function githubDetailPayload(): Record { + return { + provider: 'github', + body: 'body', + comments: [REVIEW_COMMENT, ISSUE_COMMENT], + labels: ['bug'], + assignees: ['octocat'], + reviewDecision: null, + reviewRequests: [], + latestReviews: [], + headSha: 'head-sha', + baseSha: 'base-sha', + pullRequestId: 'PR_kwDO', + checks: [], + files: [DETAIL_FILE] + } +} + +const GITHUB_PR_ITEM = { + provider: 'github', + title: 'A pull request', + source: { + id: 'github:pr:12', + repoId: REPO_ID, + number: 12, + type: 'pr', + state: 'open', + labels: ['bug'], + reviewRequests: [], + latestReviews: [], + reviewDecision: null + } +} as const + +const GITHUB_ISSUE_ITEM = { + provider: 'github', + title: 'An issue', + source: { + id: 'github:issue:9', + repoId: REPO_ID, + number: 9, + type: 'issue', + state: 'open', + labels: ['bug'], + reviewRequests: [] + } +} as const + +const GITLAB_ISSUE_ITEM = { + provider: 'gitlab', + title: 'A GitLab issue', + source: { + id: 'gitlab:issue:4', + repoId: REPO_ID, + number: 4, + type: 'issue', + state: 'opened', + labels: ['bug'], + projectRef: 'group/project' + } +} as const + +const GITLAB_MR_ITEM = { + provider: 'gitlab', + title: 'A merge request', + source: { + id: 'gitlab:mr:7', + repoId: REPO_ID, + number: 7, + type: 'mr', + state: 'opened', + labels: [], + projectRef: 'group/project' + } +} as const + +function gitlabDetailPayload(): Record { + return { + provider: 'gitlab', + body: 'body', + comments: [ISSUE_COMMENT], + labels: ['bug'], + assignees: [], + pipelineJobs: [] + } +} + +/** + * One model in, an actions object out, every setter recorded as an effect: the shape this domain's + * hooks share. Copied per module rather than shared, because an adapter may not import another file + * in this directory: a golden pins the one module it was recorded through, so plumbing reaching + * across the seam would drive recordings its header does not cover. + */ +type ModelHookSpec = { + /** Called inside the render body, so a hook that throws is recorded as a mount failure. */ + readonly useHook: (model: never) => Actions + readonly fixture: Record + readonly actions: (context: { + /** A getter, not a value: an action that re-renders first needs the rebuilt callbacks. */ + readonly actions: () => Actions + readonly model: Record + readonly update: () => void + }) => Record) => unknown> + readonly state: (model: Record) => Record +} + +function mountModelHook( + context: MountContext, + spec: ModelHookSpec +): MountedOperation { + const model = observableModel(context, { client: context.client, ...spec.fixture }) + let actions!: Actions + const hook = hookMount(() => { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the recorder supplies every member the hook reads. + actions = spec.useHook(model as unknown as never) + }) + return { + action(name, args) { + if (name === 'mount') { + return hook.mount() + } + if (name === 'update') { + return hook.update() + } + const step = spec.actions({ + actions: () => actions, + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the proxy is the fixture record the spec declared. + model: model as unknown as Record, + update: hook.update + })[name] + if (!step) { + throw new Error(`Unknown action: ${name}`) + } + return performHookAction(() => step(args)) + }, + state: () => projectObservable(spec.state(model)), + dispose: hook.unmount + } +} + +/** + * A pull request's checks and file list, and the open-or-closed state a hosted item can be moved + * to. Both read a detail payload the screen already holds rather than re-fetching it. + */ +export function taskItemChecksStatusMountAdapters( + modules: ReturnType +): Record { + const load = (file: string): T => modules.load(`mobile/src/tasks/${file}`) + const checkFiles: MountAdapter = (context) => { + const useActions = load< + typeof import('../../../tasks/use-mobile-tasks-github-check-file-actions') + >('use-mobile-tasks-github-check-file-actions.tsx').useMobileTasksGithubCheckFileActions + return mountModelHook(context, { + useHook: (model) => useActions(model), + fixture: { + detailPayload: githubDetailPayload(), + expandedPrFilePath: null, + mutatingStatus: false, + prFileCommentDrafts: { 'src/index.ts:12': 'a review comment' }, + prFileContents: {}, + detailRefreshSeq: 0, + error: '' + }, + actions: ({ actions }) => ({ + rerun: () => actions().rerunGitHubChecks(mountFixture(GITHUB_PR_ITEM), true), + viewed: () => + actions().toggleGitHubFileViewed(mountFixture(GITHUB_PR_ITEM), mountFixture(DETAIL_FILE)), + thread: () => + actions().toggleGitHubReviewThread( + mountFixture(GITHUB_PR_ITEM), + mountFixture(REVIEW_COMMENT) + ), + expand: () => + actions().toggleGitHubFileExpansion( + mountFixture(GITHUB_PR_ITEM), + mountFixture(DETAIL_FILE) + ), + 'file-comment': () => + actions().addGitHubFileReviewComment( + mountFixture(GITHUB_PR_ITEM), + mountFixture(DETAIL_FILE), + 12 + ) + }), + state: (model) => ({ + payload: model.detailPayload, + contents: model.prFileContents, + drafts: model.prFileCommentDrafts, + refreshSeq: model.detailRefreshSeq, + error: model.error, + mutating: model.mutatingStatus + }) + }) + } + function hostedStatus(item: Record) { + return (context: Parameters[0]) => + mountModelHook(context, { + useHook: (model) => + load( + 'use-mobile-tasks-gitlab-github-status-actions.tsx' + ).useMobileTasksGitlabGithubStatusActions(model), + fixture: { + detailPayload: item.provider === 'github' ? githubDetailPayload() : gitlabDetailPayload(), + loadTasks: async () => {}, + mutatingStatus: false, + actionItem: item, + items: [item], + error: '' + }, + actions: ({ actions }) => ({ + 'gitlab-status': () => actions().toggleGitLabStatus(mountFixture(item)), + 'github-metadata': () => + actions().updateGitHubIssueMetadata(mountFixture(GITHUB_ISSUE_ITEM), { + title: 'Renamed', + addLabels: ['triage'], + removeLabels: ['bug'] + }) + }), + state: (model) => ({ + payload: model.detailPayload, + item: model.actionItem, + items: model.items, + error: model.error, + mutating: model.mutatingStatus + }) + }) + } + return { + 'tasks.item-checks-files-github': checkFiles, + 'tasks.item-status-gitlab': hostedStatus(GITLAB_ISSUE_ITEM), + 'tasks.item-status-gitlab-mr': hostedStatus(GITLAB_MR_ITEM) + } +} diff --git a/mobile/src/test-support/rpc-recording/adapters/task-item-conversation-mount-adapters.ts b/mobile/src/test-support/rpc-recording/adapters/task-item-conversation-mount-adapters.ts new file mode 100644 index 00000000000..d4b2794a5e5 --- /dev/null +++ b/mobile/src/test-support/rpc-recording/adapters/task-item-conversation-mount-adapters.ts @@ -0,0 +1,289 @@ +import { hookMount, performHookAction } from '../hook-mount' +import { observableModel, projectObservable } from '../observable-model' +import type { MountAdapter, MountContext, MountedOperation } from '../recording-scenario' +import type { operationModuleLoader } from '../operation-module-loader' +import { mountFixture } from '../recorder-fixture-shape' + +const REPO_ID = 'repo-1' + +const GITHUB_PR_ITEM = { + provider: 'github', + title: 'A pull request', + source: { + id: 'github:pr:12', + repoId: REPO_ID, + number: 12, + type: 'pr', + state: 'open', + labels: ['bug'], + reviewRequests: [], + latestReviews: [], + reviewDecision: null + } +} as const + +const GITHUB_ISSUE_ITEM = { + provider: 'github', + title: 'An issue', + source: { + id: 'github:issue:9', + repoId: REPO_ID, + number: 9, + type: 'issue', + state: 'open', + labels: ['bug'], + reviewRequests: [] + } +} as const + +const GITLAB_ISSUE_ITEM = { + provider: 'gitlab', + title: 'A GitLab issue', + source: { + id: 'gitlab:issue:4', + repoId: REPO_ID, + number: 4, + type: 'issue', + state: 'opened', + labels: ['bug'], + projectRef: 'group/project' + } +} as const + +const GITLAB_MR_ITEM = { + provider: 'gitlab', + title: 'A merge request', + source: { + id: 'gitlab:mr:7', + repoId: REPO_ID, + number: 7, + type: 'mr', + state: 'opened', + labels: [], + projectRef: 'group/project' + } +} as const + +const LINEAR_ITEM = { + provider: 'linear', + title: 'A Linear issue', + source: { + id: 'issue-1', + workspaceId: 'linear-workspace', + identifier: 'ENG-1', + workspaceName: 'Workspace', + url: '', + description: '', + labels: [], + priority: 0, + updatedAt: '2020-01-01T00:00:00.000Z', + state: { name: 'Todo', type: 'unstarted', color: '#000000' }, + team: { id: 'team-1', key: 'ENG', name: 'Engineering', workspaceId: 'linear-workspace' }, + project: null, + subIssues: [] + } +} as const + +/** A PR review comment: has a path, a numeric line and a numeric id, so a reply is a review reply. */ +const REVIEW_COMMENT = { + id: 501, + author: 'octocat', + body: 'please fix', + createdAt: '2020-01-01T00:00:00.000Z', + path: 'src/index.ts', + line: 12, + threadId: 'thread-1', + isResolved: false +} as const + +/** An issue comment: no path or line, so a reply falls back to a plain issue comment. */ +const ISSUE_COMMENT = { + id: 'comment-2', + author: 'octocat', + body: 'a thought', + createdAt: '2020-01-01T00:00:00.000Z' +} as const + +const DETAIL_FILE = { + path: 'src/index.ts', + oldPath: undefined, + status: 'modified', + additions: 2, + deletions: 1, + viewerViewedState: 'UNVIEWED' +} as const + +function githubDetailPayload(): Record { + return { + provider: 'github', + body: 'body', + comments: [REVIEW_COMMENT, ISSUE_COMMENT], + labels: ['bug'], + assignees: ['octocat'], + reviewDecision: null, + reviewRequests: [], + latestReviews: [], + headSha: 'head-sha', + baseSha: 'base-sha', + pullRequestId: 'PR_kwDO', + checks: [], + files: [DETAIL_FILE] + } +} + +function gitlabDetailPayload(): Record { + return { + provider: 'gitlab', + body: 'body', + comments: [ISSUE_COMMENT], + labels: ['bug'], + assignees: [], + pipelineJobs: [] + } +} + +/** + * One model in, an actions object out, every setter recorded as an effect: the shape this domain's + * hooks share. Copied per module rather than shared, because an adapter may not import another file + * in this directory: a golden pins the one module it was recorded through, so plumbing reaching + * across the seam would drive recordings its header does not cover. + */ +type ModelHookSpec = { + /** Called inside the render body, so a hook that throws is recorded as a mount failure. */ + readonly useHook: (model: never) => Actions + readonly fixture: Record + readonly actions: (context: { + /** A getter, not a value: an action that re-renders first needs the rebuilt callbacks. */ + readonly actions: () => Actions + readonly model: Record + readonly update: () => void + }) => Record) => unknown> + readonly state: (model: Record) => Record +} + +function mountModelHook( + context: MountContext, + spec: ModelHookSpec +): MountedOperation { + const model = observableModel(context, { client: context.client, ...spec.fixture }) + let actions!: Actions + const hook = hookMount(() => { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the recorder supplies every member the hook reads. + actions = spec.useHook(model as unknown as never) + }) + return { + action(name, args) { + if (name === 'mount') { + return hook.mount() + } + if (name === 'update') { + return hook.update() + } + const step = spec.actions({ + actions: () => actions, + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the proxy is the fixture record the spec declared. + model: model as unknown as Record, + update: hook.update + })[name] + if (!step) { + throw new Error(`Unknown action: ${name}`) + } + return performHookAction(() => step(args)) + }, + state: () => projectObservable(spec.state(model)), + dispose: hook.unmount + } +} + +/** + * Writing on a task item: issue comments, pull-request review comments and their replies, and the + * merge that a reply-or-merge hook shares a screen with. Each provider keeps its own refusal text. + */ +export function taskItemConversationMountAdapters( + modules: ReturnType +): Record { + const load = (file: string): T => modules.load(`mobile/src/tasks/${file}`) + function commentReview(item: Record, payload: Record) { + return (context: Parameters[0]) => + mountModelHook(context, { + useHook: (model) => + load( + 'use-mobile-tasks-hosted-comment-review-actions.tsx' + ).useMobileTasksHostedCommentReviewActions(model), + fixture: { + copiedLinkResetTimerRef: { current: null }, + detailPayload: payload, + itemCommentDraft: 'a comment', + itemReviewersDraft: 'octocat', + mutatingStatus: false, + actionItem: item, + items: [item], + copiedLinkKey: null, + error: '' + }, + actions: ({ actions }) => ({ + comment: () => actions().addHostedItemComment(mountFixture(item)), + reviewers: () => actions().requestGitHubReviewers(mountFixture(item)), + checks: () => actions().refreshGitHubChecks(mountFixture(item)) + }), + state: (model) => ({ + payload: model.detailPayload, + item: model.actionItem, + error: model.error, + mutating: model.mutatingStatus, + draft: model.itemCommentDraft + }) + }) + } + function replyMerge(item: Record) { + return (context: Parameters[0]) => + mountModelHook(context, { + useHook: (model) => + load( + 'use-mobile-tasks-github-reply-merge-actions.tsx' + ).useMobileTasksGithubReplyMergeActions(model), + fixture: { + itemReplyDrafts: { '501': 'a reply', 'comment-2': 'a reply' }, + loadTasks: async () => {}, + mutatingStatus: false, + taskUiReady: true, + actionItem: item, + items: [item], + detailPayload: item.provider === 'github' ? githubDetailPayload() : gitlabDetailPayload(), + error: '' + }, + actions: ({ actions }) => ({ + 'review-reply': () => + actions().replyToGitHubComment(mountFixture(item), mountFixture(REVIEW_COMMENT)), + 'issue-reply': () => + actions().replyToGitHubComment(mountFixture(item), mountFixture(ISSUE_COMMENT)), + merge: () => actions().mergeHostedReview(mountFixture(item), 'squash'), + 'linear-status': () => + actions().setLinearStatus( + mountFixture(LINEAR_ITEM), + mountFixture({ + id: 'state-2', + name: 'Done', + type: 'completed', + color: '#00ff00' + }) + ) + }), + state: (model) => ({ + payload: model.detailPayload, + item: model.actionItem, + items: model.items, + error: model.error, + mutating: model.mutatingStatus + }) + }) + } + return { + 'tasks.item-comment-github': commentReview(GITHUB_ISSUE_ITEM, githubDetailPayload()), + 'tasks.item-review-github': commentReview(GITHUB_PR_ITEM, githubDetailPayload()), + 'tasks.item-comment-gitlab': commentReview(GITLAB_ISSUE_ITEM, gitlabDetailPayload()), + 'tasks.item-comment-gitlab-mr': commentReview(GITLAB_MR_ITEM, gitlabDetailPayload()), + 'tasks.item-reply-merge-github': replyMerge(GITHUB_PR_ITEM), + 'tasks.item-merge-gitlab': replyMerge(GITLAB_MR_ITEM) + } +} diff --git a/mobile/src/test-support/rpc-recording/adapters/task-item-detail-mount-adapters.ts b/mobile/src/test-support/rpc-recording/adapters/task-item-detail-mount-adapters.ts new file mode 100644 index 00000000000..bf9b508b873 --- /dev/null +++ b/mobile/src/test-support/rpc-recording/adapters/task-item-detail-mount-adapters.ts @@ -0,0 +1,154 @@ +import { hookMount, performHookAction } from '../hook-mount' +import { observableModel, projectObservable } from '../observable-model' +import type { MountAdapter, MountContext, MountedOperation } from '../recording-scenario' +import type { operationModuleLoader } from '../operation-module-loader' + +const REPO_ID = 'repo-1' + +const GITHUB_PR_ITEM = { + provider: 'github', + title: 'A pull request', + source: { + id: 'github:pr:12', + repoId: REPO_ID, + number: 12, + type: 'pr', + state: 'open', + labels: ['bug'], + reviewRequests: [], + latestReviews: [], + reviewDecision: null + } +} as const + +const GITLAB_ISSUE_ITEM = { + provider: 'gitlab', + title: 'A GitLab issue', + source: { + id: 'gitlab:issue:4', + repoId: REPO_ID, + number: 4, + type: 'issue', + state: 'opened', + labels: ['bug'], + projectRef: 'group/project' + } +} as const + +const LINEAR_ITEM = { + provider: 'linear', + title: 'A Linear issue', + source: { + id: 'issue-1', + workspaceId: 'linear-workspace', + identifier: 'ENG-1', + workspaceName: 'Workspace', + url: '', + description: '', + labels: [], + priority: 0, + updatedAt: '2020-01-01T00:00:00.000Z', + state: { name: 'Todo', type: 'unstarted', color: '#000000' }, + team: { id: 'team-1', key: 'ENG', name: 'Engineering', workspaceId: 'linear-workspace' }, + project: null, + subIssues: [] + } +} as const + +/** + * One model in, an actions object out, every setter recorded as an effect: the shape this domain's + * hooks share. Copied per module rather than shared, because an adapter may not import another file + * in this directory: a golden pins the one module it was recorded through, so plumbing reaching + * across the seam would drive recordings its header does not cover. + */ +type ModelHookSpec = { + /** Called inside the render body, so a hook that throws is recorded as a mount failure. */ + readonly useHook: (model: never) => Actions + readonly fixture: Record + readonly actions: (context: { + /** A getter, not a value: an action that re-renders first needs the rebuilt callbacks. */ + readonly actions: () => Actions + readonly model: Record + readonly update: () => void + }) => Record) => unknown> + readonly state: (model: Record) => Record +} + +function mountModelHook( + context: MountContext, + spec: ModelHookSpec +): MountedOperation { + const model = observableModel(context, { client: context.client, ...spec.fixture }) + let actions!: Actions + const hook = hookMount(() => { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the recorder supplies every member the hook reads. + actions = spec.useHook(model as unknown as never) + }) + return { + action(name, args) { + if (name === 'mount') { + return hook.mount() + } + if (name === 'update') { + return hook.update() + } + const step = spec.actions({ + actions: () => actions, + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the proxy is the fixture record the spec declared. + model: model as unknown as Record, + update: hook.update + })[name] + if (!step) { + throw new Error(`Unknown action: ${name}`) + } + return performHookAction(() => step(args)) + }, + state: () => projectObservable(spec.state(model)), + dispose: hook.unmount + } +} + +/** + * One task item's provider details. The hook keeps a `stale` guard between the request and the + * state commit, so these families record that the guard still sits there rather than asserting it. + */ +export function taskItemDetailMountAdapters( + modules: ReturnType +): Record { + const load = (file: string): T => modules.load(`mobile/src/tasks/${file}`) + function itemDetail(item: Record) { + // Loaded on mount, not while the table is built: `task-mount-adapters.ts` mounts this same hook, + // and a mutant anchored in it would otherwise be applied by both modules' loaders at once. + return (context: Parameters[0]) => + mountModelHook(context, { + useHook: (model) => + load( + 'use-mobile-tasks-item-detail-loading.tsx' + ).useMobileTasksItemDetailLoading(model), + fixture: { + actionItem: item, + detailRefreshSeq: 0, + tasksSupported: true, + detailLoading: false, + detailError: '', + detailPayload: null, + items: [item] + }, + actions: () => ({}), + state: (model) => ({ + loading: model.detailLoading, + error: model.detailError, + payload: model.detailPayload, + item: model.actionItem, + items: model.items + }) + }) + } + return { + 'tasks.item-detail-github': itemDetail(GITHUB_PR_ITEM), + 'tasks.item-detail-gitlab': itemDetail(GITLAB_ISSUE_ITEM), + // The Linear arm with its issue leg answered. The b3 seed refuses that leg, so its matrix + // never reaches the comment leg's acceptance: the issue error is raised first either way. + 'tasks.item-detail-linear': itemDetail(LINEAR_ITEM) + } +} diff --git a/mobile/src/test-support/rpc-recording/adapters/task-item-hosted-metadata-mount-adapters.ts b/mobile/src/test-support/rpc-recording/adapters/task-item-hosted-metadata-mount-adapters.ts new file mode 100644 index 00000000000..bd932050411 --- /dev/null +++ b/mobile/src/test-support/rpc-recording/adapters/task-item-hosted-metadata-mount-adapters.ts @@ -0,0 +1,277 @@ +import { hookMount, performHookAction } from '../hook-mount' +import { observableModel, projectObservable } from '../observable-model' +import type { MountAdapter, MountContext, MountedOperation } from '../recording-scenario' +import type { operationModuleLoader } from '../operation-module-loader' +import { mountFixture } from '../recorder-fixture-shape' + +const REPO_ID = 'repo-1' + +/** A PR review comment: has a path, a numeric line and a numeric id, so a reply is a review reply. */ +const REVIEW_COMMENT = { + id: 501, + author: 'octocat', + body: 'please fix', + createdAt: '2020-01-01T00:00:00.000Z', + path: 'src/index.ts', + line: 12, + threadId: 'thread-1', + isResolved: false +} as const + +/** An issue comment: no path or line, so a reply falls back to a plain issue comment. */ +const ISSUE_COMMENT = { + id: 'comment-2', + author: 'octocat', + body: 'a thought', + createdAt: '2020-01-01T00:00:00.000Z' +} as const + +const DETAIL_FILE = { + path: 'src/index.ts', + oldPath: undefined, + status: 'modified', + additions: 2, + deletions: 1, + viewerViewedState: 'UNVIEWED' +} as const + +function githubDetailPayload(): Record { + return { + provider: 'github', + body: 'body', + comments: [REVIEW_COMMENT, ISSUE_COMMENT], + labels: ['bug'], + assignees: ['octocat'], + reviewDecision: null, + reviewRequests: [], + latestReviews: [], + headSha: 'head-sha', + baseSha: 'base-sha', + pullRequestId: 'PR_kwDO', + checks: [], + files: [DETAIL_FILE] + } +} + +const GITHUB_PR_ITEM = { + provider: 'github', + title: 'A pull request', + source: { + id: 'github:pr:12', + repoId: REPO_ID, + number: 12, + type: 'pr', + state: 'open', + labels: ['bug'], + reviewRequests: [], + latestReviews: [], + reviewDecision: null + } +} as const + +const GITLAB_ISSUE_ITEM = { + provider: 'gitlab', + title: 'A GitLab issue', + source: { + id: 'gitlab:issue:4', + repoId: REPO_ID, + number: 4, + type: 'issue', + state: 'opened', + labels: ['bug'], + projectRef: 'group/project' + } +} as const + +const GITLAB_MR_ITEM = { + provider: 'gitlab', + title: 'A merge request', + source: { + id: 'gitlab:mr:7', + repoId: REPO_ID, + number: 7, + type: 'mr', + state: 'opened', + labels: [], + projectRef: 'group/project' + } +} as const + +const LINEAR_ITEM = { + provider: 'linear', + title: 'A Linear issue', + source: { + id: 'issue-1', + workspaceId: 'linear-workspace', + identifier: 'ENG-1', + workspaceName: 'Workspace', + url: '', + description: '', + labels: [], + priority: 0, + updatedAt: '2020-01-01T00:00:00.000Z', + state: { name: 'Todo', type: 'unstarted', color: '#000000' }, + team: { id: 'team-1', key: 'ENG', name: 'Engineering', workspaceId: 'linear-workspace' }, + project: null, + subIssues: [] + } +} as const + +function gitlabDetailPayload(): Record { + return { + provider: 'gitlab', + body: 'body', + comments: [ISSUE_COMMENT], + labels: ['bug'], + assignees: [], + pipelineJobs: [] + } +} + +function linearDetailPayload(): Record { + return { + provider: 'linear', + description: 'description', + comments: [], + labels: [], + assignee: undefined, + project: null, + children: [] + } +} + +/** + * One model in, an actions object out, every setter recorded as an effect: the shape this domain's + * hooks share. Copied per module rather than shared, because an adapter may not import another file + * in this directory: a golden pins the one module it was recorded through, so plumbing reaching + * across the seam would drive recordings its header does not cover. + */ +type ModelHookSpec = { + /** Called inside the render body, so a hook that throws is recorded as a mount failure. */ + readonly useHook: (model: never) => Actions + readonly fixture: Record + readonly actions: (context: { + /** A getter, not a value: an action that re-renders first needs the rebuilt callbacks. */ + readonly actions: () => Actions + readonly model: Record + readonly update: () => void + }) => Record) => unknown> + readonly state: (model: Record) => Record +} + +function mountModelHook( + context: MountContext, + spec: ModelHookSpec +): MountedOperation { + const model = observableModel(context, { client: context.client, ...spec.fixture }) + let actions!: Actions + const hook = hookMount(() => { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the recorder supplies every member the hook reads. + actions = spec.useHook(model as unknown as never) + }) + return { + action(name, args) { + if (name === 'mount') { + return hook.mount() + } + if (name === 'update') { + return hook.update() + } + const step = spec.actions({ + actions: () => actions, + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the proxy is the fixture record the spec declared. + model: model as unknown as Record, + update: hook.update + })[name] + if (!step) { + throw new Error(`Unknown action: ${name}`) + } + return performHookAction(() => step(args)) + }, + state: () => projectObservable(spec.state(model)), + dispose: hook.unmount + } +} + +/** + * Editing an item's labels, assignees and reviewers, and the Linear equivalents. The hosted hook + * routes by provider and item type, so each arm is mounted against the item shape that selects it. + */ +export function taskItemHostedMetadataMountAdapters( + modules: ReturnType +): Record { + const load = (file: string): T => modules.load(`mobile/src/tasks/${file}`) + function hostedMetadata(item: Record) { + return (context: Parameters[0]) => + mountModelHook(context, { + useHook: (model) => + load( + 'use-mobile-tasks-hosted-metadata-actions.tsx' + ).useMobileTasksHostedMetadataActions(model), + fixture: { + detailPayload: item.provider === 'github' ? githubDetailPayload() : gitlabDetailPayload(), + loadTasks: async () => {}, + mutatingStatus: false, + actionItem: item, + items: [item], + error: '' + }, + actions: ({ actions }) => ({ + 'update-pr': () => + actions().updateGitHubPullRequestMetadata(mountFixture(GITHUB_PR_ITEM), { + title: 'Renamed', + body: 'new body' + }), + 'update-gitlab': () => + actions().updateGitLabIssueMetadata(mountFixture(item), { + title: 'Renamed', + addLabels: ['triage'] + }) + }), + state: (model) => ({ + payload: model.detailPayload, + item: model.actionItem, + items: model.items, + error: model.error, + mutating: model.mutatingStatus + }) + }) + } + const linearItem: MountAdapter = (context) => { + const useActions = load( + 'use-mobile-tasks-linear-item-actions.tsx' + ).useMobileTasksLinearItemActions + return mountModelHook(context, { + useHook: (model) => useActions(model), + fixture: { + linearCommentDraft: 'a linear comment', + linearSubIssueTitle: 'A sub-issue', + mutatingStatus: false, + actionItem: LINEAR_ITEM, + detailPayload: linearDetailPayload(), + error: '' + }, + actions: ({ actions }) => ({ + comment: () => actions().addLinearComment(mountFixture(LINEAR_ITEM)), + 'sub-issue-open': () => + actions().openLinearSubIssue( + mountFixture({ id: 'issue-2', identifier: 'ENG-2' }), + 'linear-workspace' + ), + 'sub-issue-create': () => actions().createLinearSubIssue(mountFixture(LINEAR_ITEM)) + }), + state: (model) => ({ + payload: model.detailPayload, + item: model.actionItem, + error: model.error, + mutating: model.mutatingStatus + }) + }) + } + return { + 'tasks.item-metadata-github': hostedMetadata(GITHUB_PR_ITEM), + 'tasks.item-metadata-gitlab': hostedMetadata(GITLAB_ISSUE_ITEM), + 'tasks.item-metadata-gitlab-mr': hostedMetadata(GITLAB_MR_ITEM), + 'tasks.linear-item-actions': linearItem + } +} diff --git a/mobile/src/test-support/rpc-recording/adapters/task-item-metadata-mount-adapters.ts b/mobile/src/test-support/rpc-recording/adapters/task-item-metadata-mount-adapters.ts new file mode 100644 index 00000000000..a1a06db4456 --- /dev/null +++ b/mobile/src/test-support/rpc-recording/adapters/task-item-metadata-mount-adapters.ts @@ -0,0 +1,245 @@ +import { hookMount, performHookAction } from '../hook-mount' +import { observableModel, projectObservable } from '../observable-model' +import type { MountAdapter, MountContext, MountedOperation } from '../recording-scenario' +import type { operationModuleLoader } from '../operation-module-loader' + +const REPO_ID = 'repo-1' + +/** A PR review comment: has a path, a numeric line and a numeric id, so a reply is a review reply. */ +const REVIEW_COMMENT = { + id: 501, + author: 'octocat', + body: 'please fix', + createdAt: '2020-01-01T00:00:00.000Z', + path: 'src/index.ts', + line: 12, + threadId: 'thread-1', + isResolved: false +} as const + +/** An issue comment: no path or line, so a reply falls back to a plain issue comment. */ +const ISSUE_COMMENT = { + id: 'comment-2', + author: 'octocat', + body: 'a thought', + createdAt: '2020-01-01T00:00:00.000Z' +} as const + +const DETAIL_FILE = { + path: 'src/index.ts', + oldPath: undefined, + status: 'modified', + additions: 2, + deletions: 1, + viewerViewedState: 'UNVIEWED' +} as const + +function githubDetailPayload(): Record { + return { + provider: 'github', + body: 'body', + comments: [REVIEW_COMMENT, ISSUE_COMMENT], + labels: ['bug'], + assignees: ['octocat'], + reviewDecision: null, + reviewRequests: [], + latestReviews: [], + headSha: 'head-sha', + baseSha: 'base-sha', + pullRequestId: 'PR_kwDO', + checks: [], + files: [DETAIL_FILE] + } +} + +/** The one hosted repository every task family queries, shaped the way `isHostedTaskRepo` needs. */ +const HOSTED_REPO = { id: REPO_ID, displayName: 'Repo', path: '/repo', provider: 'github' } + +const GITHUB_ISSUE_ITEM = { + provider: 'github', + title: 'An issue', + source: { + id: 'github:issue:9', + repoId: REPO_ID, + number: 9, + type: 'issue', + state: 'open', + labels: ['bug'], + reviewRequests: [] + } +} as const + +const LINEAR_ITEM = { + provider: 'linear', + title: 'A Linear issue', + source: { + id: 'issue-1', + workspaceId: 'linear-workspace', + identifier: 'ENG-1', + workspaceName: 'Workspace', + url: '', + description: '', + labels: [], + priority: 0, + updatedAt: '2020-01-01T00:00:00.000Z', + state: { name: 'Todo', type: 'unstarted', color: '#000000' }, + team: { id: 'team-1', key: 'ENG', name: 'Engineering', workspaceId: 'linear-workspace' }, + project: null, + subIssues: [] + } +} as const + +/** + * One model in, an actions object out, every setter recorded as an effect: the shape this domain's + * hooks share. Copied per module rather than shared, because an adapter may not import another file + * in this directory: a golden pins the one module it was recorded through, so plumbing reaching + * across the seam would drive recordings its header does not cover. + */ +type ModelHookSpec = { + /** Called inside the render body, so a hook that throws is recorded as a mount failure. */ + readonly useHook: (model: never) => Actions + readonly fixture: Record + readonly actions: (context: { + /** A getter, not a value: an action that re-renders first needs the rebuilt callbacks. */ + readonly actions: () => Actions + readonly model: Record + readonly update: () => void + }) => Record) => unknown> + readonly state: (model: Record) => Record +} + +function mountModelHook( + context: MountContext, + spec: ModelHookSpec +): MountedOperation { + const model = observableModel(context, { client: context.client, ...spec.fixture }) + let actions!: Actions + const hook = hookMount(() => { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the recorder supplies every member the hook reads. + actions = spec.useHook(model as unknown as never) + }) + return { + action(name, args) { + if (name === 'mount') { + return hook.mount() + } + if (name === 'update') { + return hook.update() + } + const step = spec.actions({ + actions: () => actions, + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the proxy is the fixture record the spec declared. + model: model as unknown as Record, + update: hook.update + })[name] + if (!step) { + throw new Error(`Unknown action: ${name}`) + } + return performHookAction(() => step(args)) + }, + state: () => projectObservable(spec.state(model)), + dispose: hook.unmount + } +} + +/** + * The label and assignee pickers behind one item's metadata sheet, and the Linear team context the + * composer and the status picker share. Both keep a `stale` guard between request and commit. + */ +export function taskItemMetadataMountAdapters( + modules: ReturnType +): Record { + const load = (file: string): T => modules.load(`mobile/src/tasks/${file}`) + const itemMetadata: MountAdapter = (context) => { + const useEffects = load< + typeof import('../../../tasks/use-mobile-tasks-item-detail-metadata-effects') + >('use-mobile-tasks-item-detail-metadata-effects.tsx').useMobileTasksItemDetailMetadataEffects + return mountModelHook(context, { + useHook: (model) => useEffects(model), + fixture: { + actionItem: GITHUB_ISSUE_ITEM, + detailPayload: githubDetailPayload(), + tasksSupported: true, + itemAvailableLabels: [], + itemAvailableLabelsError: '', + itemLabelsLoading: false, + itemLabelsError: '', + itemAssignableUsers: [], + itemAssignableUsersLoading: false, + itemAssignableUsersError: '', + itemBodyDraft: '' + }, + actions: () => ({}), + state: (model) => ({ + labels: model.itemAvailableLabels, + labelsError: model.itemLabelsError, + labelsLoading: model.itemLabelsLoading, + users: model.itemAssignableUsers, + usersError: model.itemAssignableUsersError, + usersLoading: model.itemAssignableUsersLoading + }) + }) + } + const linearTeamContext: MountAdapter = (context) => { + const useEffects = load< + typeof import('../../../tasks/use-mobile-tasks-list-and-detail-effects') + >('use-mobile-tasks-list-and-detail-effects.tsx').useMobileTasksListAndDetailEffects + return mountModelHook(context, { + useHook: (model) => useEffects(model), + fixture: { + actionItem: null, + activeGitHubProject: null, + activeGitHubProjectViewId: null, + appliedGithubProjectSearch: undefined, + appliedQuery: '', + connState: 'connected', + copiedLinkResetTimerRef: { current: null }, + githubKind: 'issues', + githubMode: 'items', + githubPreset: 'issues', + hostedRepos: [HOSTED_REPO], + linearConnected: true, + linearFilter: 'all', + linearMetadataItem: null, + loadGitHubProjectTable: async () => {}, + loadGitHubProjects: async () => {}, + loadLinearContext: async () => {}, + loadTasks: async () => {}, + persistTaskResumeState: () => {}, + provider: 'linear', + query: '', + refreshTasks: () => {}, + selectGitHubProject: async () => {}, + showCreateTask: false, + showGitHubProjectPicker: false, + taskStateHydrated: true, + taskUiReady: true, + tasksSupported: true, + linearTeams: [], + linearStates: [], + linearStatesLoading: false, + createTeamId: null + }, + actions: ({ model, update }) => ({ + 'open-composer': () => { + model.showCreateTask = true + return update() + }, + 'select-metadata-item': () => { + model.linearMetadataItem = LINEAR_ITEM + return update() + } + }), + state: (model) => ({ + teams: model.linearTeams, + createTeamId: model.createTeamId, + states: model.linearStates, + statesLoading: model.linearStatesLoading + }) + }) + } + return { + 'tasks.item-detail-metadata': itemMetadata, + 'tasks.linear-team-context': linearTeamContext + } +} diff --git a/mobile/src/test-support/rpc-recording/adapters/task-list-mount-adapters.ts b/mobile/src/test-support/rpc-recording/adapters/task-list-mount-adapters.ts new file mode 100644 index 00000000000..683b2d75916 --- /dev/null +++ b/mobile/src/test-support/rpc-recording/adapters/task-list-mount-adapters.ts @@ -0,0 +1,264 @@ +import { hookMount, performHookAction } from '../hook-mount' +import { observableModel, projectObservable } from '../observable-model' +import type { MountAdapter, MountContext, MountedOperation } from '../recording-scenario' +import type { operationModuleLoader } from '../operation-module-loader' +import { mountFixture } from '../recorder-fixture-shape' + +const REPO_ID = 'repo-1' + +/** The one hosted repository every task family queries, shaped the way `isHostedTaskRepo` needs. */ +const HOSTED_REPO = { id: REPO_ID, displayName: 'Repo', path: '/repo', provider: 'github' } + +/** + * One model in, an actions object out, every setter recorded as an effect: the shape this domain's + * hooks share. Copied per module rather than shared, because an adapter may not import another file + * in this directory: a golden pins the one module it was recorded through, so plumbing reaching + * across the seam would drive recordings its header does not cover. + */ +type ModelHookSpec = { + /** Called inside the render body, so a hook that throws is recorded as a mount failure. */ + readonly useHook: (model: never) => Actions + readonly fixture: Record + readonly actions: (context: { + /** A getter, not a value: an action that re-renders first needs the rebuilt callbacks. */ + readonly actions: () => Actions + readonly model: Record + readonly update: () => void + }) => Record) => unknown> + readonly state: (model: Record) => Record +} + +function mountModelHook( + context: MountContext, + spec: ModelHookSpec +): MountedOperation { + const model = observableModel(context, { client: context.client, ...spec.fixture }) + let actions!: Actions + const hook = hookMount(() => { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the recorder supplies every member the hook reads. + actions = spec.useHook(model as unknown as never) + }) + return { + action(name, args) { + if (name === 'mount') { + return hook.mount() + } + if (name === 'update') { + return hook.update() + } + const step = spec.actions({ + actions: () => actions, + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the proxy is the fixture record the spec declared. + model: model as unknown as Record, + update: hook.update + })[name] + if (!step) { + throw new Error(`Unknown action: ${name}`) + } + return performHookAction(() => step(args)) + }, + state: () => projectObservable(spec.state(model)), + dispose: hook.unmount + } +} + +/** + * The task list screen's loads and the composer's writes: provider item pages and counts, the + * Linear account context, the list query itself, connecting Linear, and creating a task. Every one + * of these keeps a generation guard between the request and the state commit. + */ +export function taskListMountAdapters( + modules: ReturnType +): Record { + const load = (file: string): T => modules.load(`mobile/src/tasks/${file}`) + + const providerLoad: MountAdapter = (context) => { + const useActions = load( + 'use-mobile-tasks-provider-load-actions.tsx' + ).useMobileTasksProviderLoadActions + return mountModelHook(context, { + useHook: (model) => useActions(model), + fixture: { + appliedQuery: 'bug', + connState: 'connected', + defaultLinearTeamSelectionRef: { current: null }, + githubKind: 'issues', + taskUiReady: true, + tasksSupported: true, + linearConnected: false, + linearTeams: [], + linearWorkspaces: [], + selectedLinearTeamIds: new Set(), + selectedLinearWorkspaceId: null + }, + actions: ({ actions }) => ({ + 'linear-context': () => actions().loadLinearContext(), + 'persist-teams': () => + actions().persistLinearTeamSelection( + new Set(['team-1']), + mountFixture([{ id: 'team-1' }, { id: 'team-2' }]) + ), + // `context.client` rather than `model.client`: the model holds that same client under an + // `unknown` fixture record, and reading it there would need a cast the context does not. + 'github-page': () => + actions().fetchGitHubItemsPage(context.client, mountFixture([HOSTED_REPO])), + 'github-count': () => + actions().countGitHubItems(context.client, mountFixture([HOSTED_REPO])) + }), + state: (model) => ({ + connected: model.linearConnected, + teams: model.linearTeams, + workspaces: model.linearWorkspaces, + selectedTeams: model.selectedLinearTeamIds, + workspaceId: model.selectedLinearWorkspaceId + }) + }) + } + + function taskList(provider: string, extra: Record) { + return (context: Parameters[0]) => + mountModelHook(context, { + useHook: (model) => + load( + 'use-mobile-tasks-task-list-loading.tsx' + ).useMobileTasksTaskListLoading(model), + fixture: { + appliedQuery: '', + clientRef: { current: context.client }, + connState: 'connected', + countGitHubItems: async () => 0, + fetchGitHubItemsPage: async () => ({ + items: [], + failedCount: 0, + sourcesByRepoId: {}, + sourceErrors: [], + sourceFallbacks: [] + }), + githubMode: 'items', + gitlabFilter: 'opened', + gitlabView: 'project', + linearConnected: true, + linearFilter: 'all', + linearOrderBy: 'priority', + loadGenerationRef: { current: 0 }, + provider, + repoListEnsureLoaded: async () => [HOSTED_REPO], + resetGitHubItemsState: () => {}, + selectedLinearTeamIds: new Set(), + selectedLinearWorkspaceId: 'linear-workspace', + selectedRepoIds: new Set(), + taskStateHydrated: true, + tasksSupported: true, + items: [], + error: '', + loading: false, + refreshing: false, + ...extra + }, + actions: ({ actions, model, update }) => ({ + load: () => actions().loadTasks(), + // Re-renders and sends nothing: loadTasks is a useCallback over appliedQuery, so the + // search arm is only reachable through a rebuilt closure. + 'set-query': (args) => { + model.appliedQuery = String(args.query ?? '') + return update() + } + }), + state: (model) => ({ + items: model.items, + error: model.error, + loading: model.loading, + refreshing: model.refreshing + }) + }) + } + + const linearConnect: MountAdapter = (context) => { + const useActions = load< + typeof import('../../../tasks/use-mobile-tasks-task-pagination-actions') + >('use-mobile-tasks-task-pagination-actions.tsx').useMobileTasksTaskPaginationActions + return mountModelHook(context, { + useHook: (model) => useActions(model), + fixture: { + connState: 'connected', + fetchGitHubItemsPage: async () => ({ items: [], failedCount: 0 }), + githubCurrentPage: 0, + githubPages: [[]], + githubPaginationLoading: false, + githubTotalCount: null, + linearApiKeyDraft: 'lin_api_key', + linearConnectState: 'idle', + loadLinearContext: async () => {}, + loadTasks: async () => {}, + selectedHostedRepos: [HOSTED_REPO], + taskUiReady: true, + tasksSupported: true, + linearConnectError: '', + linearConnected: false, + provider: 'github', + visibleProviders: ['github'], + showLinearConnect: true + }, + actions: ({ actions }) => ({ connect: () => actions().connectLinearAccount() }), + state: (model) => ({ + state: model.linearConnectState, + error: model.linearConnectError, + connected: model.linearConnected, + provider: model.provider, + providers: model.visibleProviders + }) + }) + } + + function taskCreate(provider: string) { + return (context: Parameters[0]) => + mountModelHook(context, { + useHook: (model) => + load( + 'use-mobile-tasks-task-create-actions.tsx' + ).useMobileTasksTaskCreateActions(model), + fixture: { + createBody: 'a body', + createRepoId: REPO_ID, + createTeamId: 'team-1', + createTitle: 'A new task', + creatingTask: false, + hostedRepos: [HOSTED_REPO], + linearTeams: [ + { id: 'team-1', workspaceId: 'linear-workspace', workspaceName: 'Workspace' } + ], + loadTasks: async () => {}, + provider, + repoListReload: async () => [HOSTED_REPO], + taskStateHydrated: true, + taskUiReady: true, + tasksSupported: true, + actionItem: null, + error: '', + showCreateTask: true + }, + actions: ({ actions }) => ({ + create: () => actions().createTask(), + 'issue-source': () => + actions().setGitHubIssueSourcePreference(mountFixture(HOSTED_REPO), 'upstream') + }), + state: (model) => ({ + item: model.actionItem, + error: model.error, + creating: model.creatingTask, + composer: model.showCreateTask + }) + }) + } + + return { + 'tasks.provider-load': providerLoad, + 'tasks.task-list-gitlab-todos': taskList('gitlab', { gitlabView: 'todos' }), + 'tasks.task-list-gitlab-items': taskList('gitlab', {}), + 'tasks.task-list-linear': taskList('linear', {}), + 'tasks.linear-connect': linearConnect, + 'tasks.task-create-github': taskCreate('github'), + 'tasks.task-create-gitlab': taskCreate('gitlab'), + 'tasks.task-create-linear': taskCreate('linear') + } +} diff --git a/mobile/src/test-support/rpc-recording/adapters/task-project-board-load-mount-adapters.ts b/mobile/src/test-support/rpc-recording/adapters/task-project-board-load-mount-adapters.ts new file mode 100644 index 00000000000..46f762b05cd --- /dev/null +++ b/mobile/src/test-support/rpc-recording/adapters/task-project-board-load-mount-adapters.ts @@ -0,0 +1,276 @@ +import { hookMount, performHookAction } from '../hook-mount' +import { observableModel, projectObservable } from '../observable-model' +import type { MountAdapter, MountContext, MountedOperation } from '../recording-scenario' +import type { operationModuleLoader } from '../operation-module-loader' +import { mountFixture } from '../recorder-fixture-shape' + +const REPO_ID = 'repo-1' + +/** A PR review comment: has a path, a numeric line and a numeric id, so a reply is a review reply. */ +const REVIEW_COMMENT = { + id: 501, + author: 'octocat', + body: 'please fix', + createdAt: '2020-01-01T00:00:00.000Z', + path: 'src/index.ts', + line: 12, + threadId: 'thread-1', + isResolved: false +} as const + +/** An issue comment: no path or line, so a reply falls back to a plain issue comment. */ +const ISSUE_COMMENT = { + id: 'comment-2', + author: 'octocat', + body: 'a thought', + createdAt: '2020-01-01T00:00:00.000Z' +} as const + +const DETAIL_FILE = { + path: 'src/index.ts', + oldPath: undefined, + status: 'modified', + additions: 2, + deletions: 1, + viewerViewedState: 'UNVIEWED' +} as const + +function githubDetailPayload(): Record { + return { + provider: 'github', + body: 'body', + comments: [REVIEW_COMMENT, ISSUE_COMMENT], + labels: ['bug'], + assignees: ['octocat'], + reviewDecision: null, + reviewRequests: [], + latestReviews: [], + headSha: 'head-sha', + baseSha: 'base-sha', + pullRequestId: 'PR_kwDO', + checks: [], + files: [DETAIL_FILE] + } +} + +const PROJECT_HOST = 'github.enterprise.test' + +const PROJECT_REPO = { id: REPO_ID, displayName: 'Repo', path: '/repo' } + +const ISSUE_ROW = { + id: 'item-1', + itemType: 'ISSUE', + content: { + repository: 'owner/repo', + number: 1, + url: 'https://github.com/owner/repo/issues/1', + state: 'OPEN', + labels: [], + assignees: [], + issueType: null + }, + fieldValuesByFieldId: {} +} as const + +const PR_ROW = { + id: 'item-2', + itemType: 'PULL_REQUEST', + content: { + repository: 'owner/repo', + number: 2, + url: 'https://github.com/owner/repo/pull/2', + state: 'OPEN', + labels: [], + assignees: [], + issueType: null + }, + fieldValuesByFieldId: {} +} as const + +const STATUS_FIELD = { + id: 'field-1', + name: 'Status', + dataType: 'SINGLE_SELECT', + options: [] +} + +const PROJECT_TABLE = { + project: { id: 'project-1', title: 'Board', number: 3 }, + selectedView: { id: 'view-1', number: 1, name: 'Table', filter: '', layout: 'TABLE_LAYOUT' }, + fields: [STATUS_FIELD], + rows: [ISSUE_ROW, PR_ROW] +} + +/** + * One model in, an actions object out, every setter recorded as an effect: the shape this domain's + * hooks share. Copied per module rather than shared, because an adapter may not import another file + * in this directory: a golden pins the one module it was recorded through, so plumbing reaching + * across the seam would drive recordings its header does not cover. + */ +type ModelHookSpec = { + /** Called inside the render body, so a hook that throws is recorded as a mount failure. */ + readonly useHook: (model: never) => Actions + readonly fixture: Record + readonly actions: (context: { + /** A getter, not a value: an action that re-renders first needs the rebuilt callbacks. */ + readonly actions: () => Actions + readonly model: Record + readonly update: () => void + }) => Record) => unknown> + readonly state: (model: Record) => Record +} + +function mountModelHook( + context: MountContext, + spec: ModelHookSpec +): MountedOperation { + const model = observableModel(context, { client: context.client, ...spec.fixture }) + let actions!: Actions + const hook = hookMount(() => { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the recorder supplies every member the hook reads. + actions = spec.useHook(model as unknown as never) + }) + return { + action(name, args) { + if (name === 'mount') { + return hook.mount() + } + if (name === 'update') { + return hook.update() + } + const step = spec.actions({ + actions: () => actions, + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the proxy is the fixture record the spec declared. + model: model as unknown as Record, + update: hook.update + })[name] + if (!step) { + throw new Error(`Unknown action: ${name}`) + } + return performHookAction(() => step(args)) + }, + state: () => projectObservable(spec.state(model)), + dispose: hook.unmount + } +} + +/** + * Getting a GitHub Projects board on screen: which projects and views the account can see, one + * view's table, and resolving a pasted project reference to a repository. Every `github.project.*` + * reply carries its own `{ok, error}` envelope inside an accepted result, which the board reads + * itself — acceptance only decides whether there is a payload at all. + */ +export function taskProjectBoardLoadMountAdapters( + modules: ReturnType +): Record { + const load = (file: string): T => modules.load(`mobile/src/tasks/${file}`) + const boardFixture = { + activeGitHubProjectHost: PROJECT_HOST, + findProjectRowRepo: () => PROJECT_REPO, + projectMutating: false, + projectRowDetail: githubDetailPayload(), + projectRowItem: ISSUE_ROW, + githubProjectTable: PROJECT_TABLE, + projectRowDetailError: '', + projectRowDetailRefreshSeq: 0 + } + const boardLoad: MountAdapter = (context) => { + const useActions = load< + typeof import('../../../tasks/use-mobile-tasks-project-loading-actions') + >('use-mobile-tasks-project-loading-actions.tsx').useMobileTasksProjectLoadingActions + return mountModelHook(context, { + useHook: (model) => useActions(model), + fixture: { + activeGitHubProject: { + owner: 'owner', + ownerType: 'organization', + number: 3, + host: PROJECT_HOST + }, + activeGitHubProjectHost: PROJECT_HOST, + activeGitHubProjectViewId: 'view-1', + connState: 'connected', + githubProjectPasteInput: 'https://github.com/orgs/owner/projects/3', + githubProjectSettings: { recent: [], lastViewByProject: {}, activeProject: null }, + loadTasks: async () => {}, + persistGitHubProjectSettings: () => {}, + repoListReload: async () => [PROJECT_REPO], + taskStateHydrated: true, + tasksSupported: true, + githubProjects: [], + githubProjectViews: [], + githubProjectTable: null, + githubProjectError: '', + githubProjectLoading: false, + githubProjectPartialFailures: [], + githubProjectPasteBusy: false, + githubProjectPasteError: '', + githubProjectSearch: '', + appliedGithubProjectSearch: undefined, + pendingGitHubProjectViewSelection: null, + showGitHubProjectPicker: true, + showGitHubProjectViewPicker: false + }, + actions: ({ actions }) => ({ + projects: () => actions().loadGitHubProjects(), + views: () => + actions().loadGitHubProjectViews( + mountFixture({ + owner: 'owner', + ownerType: 'organization', + number: 3, + host: PROJECT_HOST + }) + ), + table: () => actions().loadGitHubProjectTable(), + paste: () => actions().resolveGitHubProjectFromInput() + }), + state: (model) => ({ + projects: model.githubProjects, + views: model.githubProjectViews, + table: model.githubProjectTable, + error: model.githubProjectError, + pasteError: model.githubProjectPasteError, + loading: model.githubProjectLoading + }) + }) + } + const repoSlugs: MountAdapter = (context) => { + const useResolution = load< + typeof import('../../../tasks/use-mobile-tasks-project-repository-resolution') + >( + 'use-mobile-tasks-project-repository-resolution.tsx' + ).useMobileTasksProjectRepositoryResolution + return mountModelHook(context, { + useHook: (model) => useResolution(model), + fixture: { + ...boardFixture, + actionItem: null, + activeGitHubProject: { + owner: 'owner', + ownerType: 'organization', + number: 3, + host: PROJECT_HOST + }, + connState: 'connected', + detailPayload: null, + githubMode: 'project', + githubProjectSettings: { recent: [], lastViewByProject: {}, activeProject: null }, + githubProjectViews: [], + githubRepoSlugCache: {}, + hostedRepos: [PROJECT_REPO], + itemAssignableUsers: [], + projectAssignableUsers: [], + provider: 'github', + taskStateHydrated: true, + tasksSupported: true + }, + actions: () => ({}), + state: (model) => ({ cache: model.githubRepoSlugCache }) + }) + } + return { + 'tasks.project-repo-slugs': repoSlugs, + 'tasks.project-board-load': boardLoad + } +} diff --git a/mobile/src/test-support/rpc-recording/adapters/task-project-row-comment-mount-adapters.ts b/mobile/src/test-support/rpc-recording/adapters/task-project-row-comment-mount-adapters.ts new file mode 100644 index 00000000000..137d927c5c3 --- /dev/null +++ b/mobile/src/test-support/rpc-recording/adapters/task-project-row-comment-mount-adapters.ts @@ -0,0 +1,249 @@ +import { hookMount, performHookAction } from '../hook-mount' +import { observableModel, projectObservable } from '../observable-model' +import type { MountAdapter, MountContext, MountedOperation } from '../recording-scenario' +import type { operationModuleLoader } from '../operation-module-loader' +import { mountFixture } from '../recorder-fixture-shape' + +const REPO_ID = 'repo-1' + +/** A PR review comment: has a path, a numeric line and a numeric id, so a reply is a review reply. */ +const REVIEW_COMMENT = { + id: 501, + author: 'octocat', + body: 'please fix', + createdAt: '2020-01-01T00:00:00.000Z', + path: 'src/index.ts', + line: 12, + threadId: 'thread-1', + isResolved: false +} as const + +/** An issue comment: no path or line, so a reply falls back to a plain issue comment. */ +const ISSUE_COMMENT = { + id: 'comment-2', + author: 'octocat', + body: 'a thought', + createdAt: '2020-01-01T00:00:00.000Z' +} as const + +const DETAIL_FILE = { + path: 'src/index.ts', + oldPath: undefined, + status: 'modified', + additions: 2, + deletions: 1, + viewerViewedState: 'UNVIEWED' +} as const + +function githubDetailPayload(): Record { + return { + provider: 'github', + body: 'body', + comments: [REVIEW_COMMENT, ISSUE_COMMENT], + labels: ['bug'], + assignees: ['octocat'], + reviewDecision: null, + reviewRequests: [], + latestReviews: [], + headSha: 'head-sha', + baseSha: 'base-sha', + pullRequestId: 'PR_kwDO', + checks: [], + files: [DETAIL_FILE] + } +} + +const PROJECT_HOST = 'github.enterprise.test' + +const PROJECT_REPO = { id: REPO_ID, displayName: 'Repo', path: '/repo' } + +const ISSUE_ROW = { + id: 'item-1', + itemType: 'ISSUE', + content: { + repository: 'owner/repo', + number: 1, + url: 'https://github.com/owner/repo/issues/1', + state: 'OPEN', + labels: [], + assignees: [], + issueType: null + }, + fieldValuesByFieldId: {} +} as const + +const PR_ROW = { + id: 'item-2', + itemType: 'PULL_REQUEST', + content: { + repository: 'owner/repo', + number: 2, + url: 'https://github.com/owner/repo/pull/2', + state: 'OPEN', + labels: [], + assignees: [], + issueType: null + }, + fieldValuesByFieldId: {} +} as const + +const STATUS_FIELD = { + id: 'field-1', + name: 'Status', + dataType: 'SINGLE_SELECT', + options: [] +} + +const PROJECT_TABLE = { + project: { id: 'project-1', title: 'Board', number: 3 }, + selectedView: { id: 'view-1', number: 1, name: 'Table', filter: '', layout: 'TABLE_LAYOUT' }, + fields: [STATUS_FIELD], + rows: [ISSUE_ROW, PR_ROW] +} + +/** + * One model in, an actions object out, every setter recorded as an effect: the shape this domain's + * hooks share. Copied per module rather than shared, because an adapter may not import another file + * in this directory: a golden pins the one module it was recorded through, so plumbing reaching + * across the seam would drive recordings its header does not cover. + */ +type ModelHookSpec = { + /** Called inside the render body, so a hook that throws is recorded as a mount failure. */ + readonly useHook: (model: never) => Actions + readonly fixture: Record + readonly actions: (context: { + /** A getter, not a value: an action that re-renders first needs the rebuilt callbacks. */ + readonly actions: () => Actions + readonly model: Record + readonly update: () => void + }) => Record) => unknown> + readonly state: (model: Record) => Record +} + +function mountModelHook( + context: MountContext, + spec: ModelHookSpec +): MountedOperation { + const model = observableModel(context, { client: context.client, ...spec.fixture }) + let actions!: Actions + const hook = hookMount(() => { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the recorder supplies every member the hook reads. + actions = spec.useHook(model as unknown as never) + }) + return { + action(name, args) { + if (name === 'mount') { + return hook.mount() + } + if (name === 'update') { + return hook.update() + } + const step = spec.actions({ + actions: () => actions, + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the proxy is the fixture record the spec declared. + model: model as unknown as Record, + update: hook.update + })[name] + if (!step) { + throw new Error(`Unknown action: ${name}`) + } + return performHookAction(() => step(args)) + }, + state: () => projectObservable(spec.state(model)), + dispose: hook.unmount + } +} + +/** + * Writing on a board row's conversation: review threads and their replies, and plain comments on + * an issue or a pull-request row. + */ +export function taskProjectRowCommentMountAdapters( + modules: ReturnType +): Record { + const load = (file: string): T => modules.load(`mobile/src/tasks/${file}`) + const boardFixture = { + activeGitHubProjectHost: PROJECT_HOST, + findProjectRowRepo: () => PROJECT_REPO, + projectMutating: false, + projectRowDetail: githubDetailPayload(), + projectRowItem: ISSUE_ROW, + githubProjectTable: PROJECT_TABLE, + projectRowDetailError: '', + projectRowDetailRefreshSeq: 0 + } + const rowThreads: MountAdapter = (context) => { + const useActions = load< + typeof import('../../../tasks/use-mobile-tasks-project-thread-reply-actions') + >('use-mobile-tasks-project-thread-reply-actions.tsx').useMobileTasksProjectThreadReplyActions + return mountModelHook(context, { + useHook: (model) => useActions(model), + fixture: { + ...boardFixture, + projectRowItem: PR_ROW, + itemReplyDrafts: { '501': 'a reply', 'comment-2': 'a reply' }, + projectEditingCommentId: null, + projectEditingCommentDraft: '' + }, + actions: ({ actions }) => ({ + 'delete-comment': () => + actions().deleteProjectRowComment( + mountFixture(PR_ROW), + mountFixture({ ...REVIEW_COMMENT }) + ), + thread: () => + actions().toggleProjectGitHubReviewThread( + mountFixture(PR_ROW), + mountFixture(REVIEW_COMMENT) + ), + 'review-reply': () => + actions().replyToProjectGitHubComment(mountFixture(PR_ROW), mountFixture(REVIEW_COMMENT)), + 'issue-reply': () => + actions().replyToProjectGitHubComment(mountFixture(PR_ROW), mountFixture(ISSUE_COMMENT)) + }), + state: (model) => ({ + detail: model.projectRowDetail, + error: model.projectRowDetailError, + mutating: model.projectMutating + }) + }) + } + function rowComments(row: Record) { + return (context: Parameters[0]) => + mountModelHook(context, { + useHook: (model) => + load( + 'use-mobile-tasks-project-workspace-comment-actions.tsx' + ).useMobileTasksProjectWorkspaceCommentActions(model), + fixture: { + ...boardFixture, + projectRowItem: row, + openWorkspaceCreate: () => {}, + projectCommentDraft: 'a project comment', + projectEditingCommentDraft: 'an edited comment', + projectEditingCommentId: '501', + tasksSupported: true, + error: '', + projectRepoNotInOrca: null + }, + actions: ({ actions }) => ({ + 'update-item': () => + actions().mutateProjectRowIssueOrPr(mountFixture(row), { title: 'Renamed' }), + 'add-comment': () => actions().addProjectRowComment(mountFixture(row)), + 'update-comment': () => + actions().updateProjectRowComment(mountFixture(row), mountFixture(REVIEW_COMMENT)) + }), + state: (model) => ({ + row: model.projectRowItem, + detail: model.projectRowDetail, + error: model.projectRowDetailError, + mutating: model.projectMutating + }) + }) + } + return { + 'tasks.project-row-threads': rowThreads, + 'tasks.project-row-comments-issue': rowComments(ISSUE_ROW), + 'tasks.project-row-comments-pr': rowComments(PR_ROW) + } +} diff --git a/mobile/src/test-support/rpc-recording/adapters/task-project-row-field-mount-adapters.ts b/mobile/src/test-support/rpc-recording/adapters/task-project-row-field-mount-adapters.ts new file mode 100644 index 00000000000..36e10d4a949 --- /dev/null +++ b/mobile/src/test-support/rpc-recording/adapters/task-project-row-field-mount-adapters.ts @@ -0,0 +1,249 @@ +import { hookMount, performHookAction } from '../hook-mount' +import { observableModel, projectObservable } from '../observable-model' +import type { MountAdapter, MountContext, MountedOperation } from '../recording-scenario' +import type { operationModuleLoader } from '../operation-module-loader' +import { mountFixture } from '../recorder-fixture-shape' + +const REPO_ID = 'repo-1' + +/** A PR review comment: has a path, a numeric line and a numeric id, so a reply is a review reply. */ +const REVIEW_COMMENT = { + id: 501, + author: 'octocat', + body: 'please fix', + createdAt: '2020-01-01T00:00:00.000Z', + path: 'src/index.ts', + line: 12, + threadId: 'thread-1', + isResolved: false +} as const + +/** An issue comment: no path or line, so a reply falls back to a plain issue comment. */ +const ISSUE_COMMENT = { + id: 'comment-2', + author: 'octocat', + body: 'a thought', + createdAt: '2020-01-01T00:00:00.000Z' +} as const + +const DETAIL_FILE = { + path: 'src/index.ts', + oldPath: undefined, + status: 'modified', + additions: 2, + deletions: 1, + viewerViewedState: 'UNVIEWED' +} as const + +function githubDetailPayload(): Record { + return { + provider: 'github', + body: 'body', + comments: [REVIEW_COMMENT, ISSUE_COMMENT], + labels: ['bug'], + assignees: ['octocat'], + reviewDecision: null, + reviewRequests: [], + latestReviews: [], + headSha: 'head-sha', + baseSha: 'base-sha', + pullRequestId: 'PR_kwDO', + checks: [], + files: [DETAIL_FILE] + } +} + +const PROJECT_HOST = 'github.enterprise.test' + +const PROJECT_REPO = { id: REPO_ID, displayName: 'Repo', path: '/repo' } + +const ISSUE_ROW = { + id: 'item-1', + itemType: 'ISSUE', + content: { + repository: 'owner/repo', + number: 1, + url: 'https://github.com/owner/repo/issues/1', + state: 'OPEN', + labels: [], + assignees: [], + issueType: null + }, + fieldValuesByFieldId: {} +} as const + +const PR_ROW = { + id: 'item-2', + itemType: 'PULL_REQUEST', + content: { + repository: 'owner/repo', + number: 2, + url: 'https://github.com/owner/repo/pull/2', + state: 'OPEN', + labels: [], + assignees: [], + issueType: null + }, + fieldValuesByFieldId: {} +} as const + +/** + * A single-select field as the board actually holds one. `kind` is the discriminant + * `optimisticProjectFieldValue` switches on, and the option has to be present for the optimistic + * value to carry its name and colour rather than the not-found fallback. + */ +const STATUS_FIELD = { + kind: 'single-select', + id: 'field-1', + name: 'Status', + dataType: 'SINGLE_SELECT', + options: [{ id: 'option-1', name: 'In progress', color: 'YELLOW' }] +} as const + +const PROJECT_TABLE = { + project: { id: 'project-1', title: 'Board', number: 3 }, + selectedView: { id: 'view-1', number: 1, name: 'Table', filter: '', layout: 'TABLE_LAYOUT' }, + fields: [STATUS_FIELD], + rows: [ISSUE_ROW, PR_ROW] +} + +/** + * One model in, an actions object out, every setter recorded as an effect: the shape this domain's + * hooks share. Copied per module rather than shared, because an adapter may not import another file + * in this directory: a golden pins the one module it was recorded through, so plumbing reaching + * across the seam would drive recordings its header does not cover. + */ +type ModelHookSpec = { + /** Called inside the render body, so a hook that throws is recorded as a mount failure. */ + readonly useHook: (model: never) => Actions + readonly fixture: Record + readonly actions: (context: { + /** A getter, not a value: an action that re-renders first needs the rebuilt callbacks. */ + readonly actions: () => Actions + readonly model: Record + readonly update: () => void + }) => Record) => unknown> + readonly state: (model: Record) => Record +} + +function mountModelHook( + context: MountContext, + spec: ModelHookSpec +): MountedOperation { + const model = observableModel(context, { client: context.client, ...spec.fixture }) + let actions!: Actions + const hook = hookMount(() => { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the recorder supplies every member the hook reads. + actions = spec.useHook(model as unknown as never) + }) + return { + action(name, args) { + if (name === 'mount') { + return hook.mount() + } + if (name === 'update') { + return hook.update() + } + const step = spec.actions({ + actions: () => actions, + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the proxy is the fixture record the spec declared. + model: model as unknown as Record, + update: hook.update + })[name] + if (!step) { + throw new Error(`Unknown action: ${name}`) + } + return performHookAction(() => step(args)) + }, + state: () => projectObservable(spec.state(model)), + dispose: hook.unmount + } +} + +/** + * Writing a board row's own state: a project field value, and re-running or reviewing the checks + * on the pull request behind a row. + */ +export function taskProjectRowFieldMountAdapters( + modules: ReturnType +): Record { + const load = (file: string): T => modules.load(`mobile/src/tasks/${file}`) + const boardFixture = { + activeGitHubProjectHost: PROJECT_HOST, + findProjectRowRepo: () => PROJECT_REPO, + projectMutating: false, + projectRowDetail: githubDetailPayload(), + projectRowItem: ISSUE_ROW, + githubProjectTable: PROJECT_TABLE, + projectRowDetailError: '', + projectRowDetailRefreshSeq: 0 + } + const rowFields: MountAdapter = (context) => { + const useActions = load< + typeof import('../../../tasks/use-mobile-tasks-project-metadata-actions') + >('use-mobile-tasks-project-metadata-actions.tsx').useMobileTasksProjectMetadataActions + return mountModelHook(context, { + useHook: (model) => useActions(model), + fixture: { ...boardFixture, projectFieldDrafts: {} }, + actions: ({ actions }) => ({ + 'set-field': () => + actions().mutateProjectRowField( + mountFixture(ISSUE_ROW), + mountFixture(STATUS_FIELD), + mountFixture({ kind: 'single-select', optionId: 'option-1' }) + ), + 'clear-field': () => + actions().mutateProjectRowField( + mountFixture(ISSUE_ROW), + mountFixture(STATUS_FIELD), + null + ), + 'issue-type': () => + actions().mutateProjectRowIssueType( + mountFixture(ISSUE_ROW), + mountFixture({ id: 'type-1', name: 'Bug', color: 'RED', description: null }) + ) + }), + state: (model) => ({ + row: model.projectRowItem, + table: model.githubProjectTable, + error: model.projectRowDetailError, + mutating: model.projectMutating + }) + }) + } + const rowReviewChecks: MountAdapter = (context) => { + const useActions = load< + typeof import('../../../tasks/use-mobile-tasks-project-review-check-actions') + >('use-mobile-tasks-project-review-check-actions.tsx').useMobileTasksProjectReviewCheckActions + return mountModelHook(context, { + useHook: (model) => useActions(model), + fixture: { ...boardFixture, projectRowItem: PR_ROW, projectReviewersDraft: 'octocat' }, + actions: ({ actions }) => ({ + reviewers: () => actions().requestProjectGitHubReviewers(mountFixture(PR_ROW)), + checks: () => actions().refreshProjectGitHubChecks(mountFixture(PR_ROW)), + rerun: () => actions().rerunProjectGitHubChecks(mountFixture(PR_ROW), true), + viewed: () => + actions().toggleProjectGitHubFileViewed( + mountFixture(PR_ROW), + mountFixture({ + path: 'src/index.ts', + status: 'modified', + viewerViewedState: 'UNVIEWED' + }) + ) + }), + state: (model) => ({ + detail: model.projectRowDetail, + draft: model.projectReviewersDraft, + refreshSeq: model.projectRowDetailRefreshSeq, + error: model.projectRowDetailError, + mutating: model.projectMutating + }) + }) + } + return { + 'tasks.project-row-fields': rowFields, + 'tasks.project-row-review-checks': rowReviewChecks + } +} diff --git a/mobile/src/test-support/rpc-recording/adapters/task-project-row-merge-mount-adapters.ts b/mobile/src/test-support/rpc-recording/adapters/task-project-row-merge-mount-adapters.ts new file mode 100644 index 00000000000..4641b468972 --- /dev/null +++ b/mobile/src/test-support/rpc-recording/adapters/task-project-row-merge-mount-adapters.ts @@ -0,0 +1,256 @@ +import { hookMount, performHookAction } from '../hook-mount' +import { observableModel, projectObservable } from '../observable-model' +import type { MountAdapter, MountContext, MountedOperation } from '../recording-scenario' +import type { operationModuleLoader } from '../operation-module-loader' +import { mountFixture } from '../recorder-fixture-shape' + +const REPO_ID = 'repo-1' + +const GITHUB_PR_ITEM = { + provider: 'github', + title: 'A pull request', + source: { + id: 'github:pr:12', + repoId: REPO_ID, + number: 12, + type: 'pr', + state: 'open', + labels: ['bug'], + reviewRequests: [], + latestReviews: [], + reviewDecision: null + } +} as const + +const GITHUB_ISSUE_ITEM = { + provider: 'github', + title: 'An issue', + source: { + id: 'github:issue:9', + repoId: REPO_ID, + number: 9, + type: 'issue', + state: 'open', + labels: ['bug'], + reviewRequests: [] + } +} as const + +/** A PR review comment: has a path, a numeric line and a numeric id, so a reply is a review reply. */ +const REVIEW_COMMENT = { + id: 501, + author: 'octocat', + body: 'please fix', + createdAt: '2020-01-01T00:00:00.000Z', + path: 'src/index.ts', + line: 12, + threadId: 'thread-1', + isResolved: false +} as const + +/** An issue comment: no path or line, so a reply falls back to a plain issue comment. */ +const ISSUE_COMMENT = { + id: 'comment-2', + author: 'octocat', + body: 'a thought', + createdAt: '2020-01-01T00:00:00.000Z' +} as const + +const DETAIL_FILE = { + path: 'src/index.ts', + oldPath: undefined, + status: 'modified', + additions: 2, + deletions: 1, + viewerViewedState: 'UNVIEWED' +} as const + +function githubDetailPayload(): Record { + return { + provider: 'github', + body: 'body', + comments: [REVIEW_COMMENT, ISSUE_COMMENT], + labels: ['bug'], + assignees: ['octocat'], + reviewDecision: null, + reviewRequests: [], + latestReviews: [], + headSha: 'head-sha', + baseSha: 'base-sha', + pullRequestId: 'PR_kwDO', + checks: [], + files: [DETAIL_FILE] + } +} + +const PROJECT_HOST = 'github.enterprise.test' + +const PROJECT_REPO = { id: REPO_ID, displayName: 'Repo', path: '/repo' } + +const ISSUE_ROW = { + id: 'item-1', + itemType: 'ISSUE', + content: { + repository: 'owner/repo', + number: 1, + url: 'https://github.com/owner/repo/issues/1', + state: 'OPEN', + labels: [], + assignees: [], + issueType: null + }, + fieldValuesByFieldId: {} +} as const + +const PR_ROW = { + id: 'item-2', + itemType: 'PULL_REQUEST', + content: { + repository: 'owner/repo', + number: 2, + url: 'https://github.com/owner/repo/pull/2', + state: 'OPEN', + labels: [], + assignees: [], + issueType: null + }, + fieldValuesByFieldId: {} +} as const + +const STATUS_FIELD = { + id: 'field-1', + name: 'Status', + dataType: 'SINGLE_SELECT', + options: [] +} + +const PROJECT_TABLE = { + project: { id: 'project-1', title: 'Board', number: 3 }, + selectedView: { id: 'view-1', number: 1, name: 'Table', filter: '', layout: 'TABLE_LAYOUT' }, + fields: [STATUS_FIELD], + rows: [ISSUE_ROW, PR_ROW] +} + +/** + * One model in, an actions object out, every setter recorded as an effect: the shape this domain's + * hooks share. Copied per module rather than shared, because an adapter may not import another file + * in this directory: a golden pins the one module it was recorded through, so plumbing reaching + * across the seam would drive recordings its header does not cover. + */ +type ModelHookSpec = { + /** Called inside the render body, so a hook that throws is recorded as a mount failure. */ + readonly useHook: (model: never) => Actions + readonly fixture: Record + readonly actions: (context: { + /** A getter, not a value: an action that re-renders first needs the rebuilt callbacks. */ + readonly actions: () => Actions + readonly model: Record + readonly update: () => void + }) => Record) => unknown> + readonly state: (model: Record) => Record +} + +function mountModelHook( + context: MountContext, + spec: ModelHookSpec +): MountedOperation { + const model = observableModel(context, { client: context.client, ...spec.fixture }) + let actions!: Actions + const hook = hookMount(() => { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the recorder supplies every member the hook reads. + actions = spec.useHook(model as unknown as never) + }) + return { + action(name, args) { + if (name === 'mount') { + return hook.mount() + } + if (name === 'update') { + return hook.update() + } + const step = spec.actions({ + actions: () => actions, + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the proxy is the fixture record the spec declared. + model: model as unknown as Record, + update: hook.update + })[name] + if (!step) { + throw new Error(`Unknown action: ${name}`) + } + return performHookAction(() => step(args)) + }, + state: () => projectObservable(spec.state(model)), + dispose: hook.unmount + } +} + +/** + * A board row's file list and the merge it shares a screen with, plus the issue and pull-request + * state writes that hook exposes alongside them. + */ +export function taskProjectRowMergeMountAdapters( + modules: ReturnType +): Record { + const load = (file: string): T => modules.load(`mobile/src/tasks/${file}`) + const boardFixture = { + activeGitHubProjectHost: PROJECT_HOST, + findProjectRowRepo: () => PROJECT_REPO, + projectMutating: false, + projectRowDetail: githubDetailPayload(), + projectRowItem: ISSUE_ROW, + githubProjectTable: PROJECT_TABLE, + projectRowDetailError: '', + projectRowDetailRefreshSeq: 0 + } + const rowFilesMerge: MountAdapter = (context) => { + const useActions = load< + typeof import('../../../tasks/use-mobile-tasks-project-file-merge-actions') + >('use-mobile-tasks-project-file-merge-actions.tsx').useMobileTasksProjectFileMergeActions + return mountModelHook(context, { + useHook: (model) => useActions(model), + fixture: { + ...boardFixture, + projectRowItem: PR_ROW, + expandedPrFilePath: null, + loadTasks: async () => {}, + mutatingStatus: false, + prFileCommentDrafts: { 'src/index.ts:12': 'a review comment' }, + prFileContents: {}, + prFileLoadingPath: null, + actionItem: null, + error: '' + }, + actions: ({ actions }) => ({ + expand: () => + actions().toggleProjectGitHubFileExpansion( + mountFixture(PR_ROW), + mountFixture({ + path: 'src/index.ts', + status: 'modified' + }) + ), + 'file-comment': () => + actions().addProjectGitHubFileReviewComment( + mountFixture(PR_ROW), + mountFixture({ path: 'src/index.ts', status: 'modified' }), + 12 + ), + merge: () => + actions().mergeProjectGitHubPullRequest(mountFixture(PR_ROW), mountFixture('squash')), + // The same hook also owns the item screen's open/close toggle, whose method is a local + // two-literal ternary over the item type rather than a project-board call. + 'issue-state': () => actions().toggleGitHubStatus(mountFixture(GITHUB_ISSUE_ITEM)), + 'pr-state': () => actions().toggleGitHubStatus(mountFixture(GITHUB_PR_ITEM)) + }), + state: (model) => ({ + row: model.projectRowItem, + contents: model.prFileContents, + error: model.projectRowDetailError, + mutating: model.projectMutating + }) + }) + } + return { + 'tasks.project-row-files-merge': rowFilesMerge + } +} diff --git a/mobile/src/test-support/rpc-recording/adapters/task-project-row-read-mount-adapters.ts b/mobile/src/test-support/rpc-recording/adapters/task-project-row-read-mount-adapters.ts new file mode 100644 index 00000000000..61aa616f8db --- /dev/null +++ b/mobile/src/test-support/rpc-recording/adapters/task-project-row-read-mount-adapters.ts @@ -0,0 +1,242 @@ +import { hookMount, performHookAction } from '../hook-mount' +import { observableModel, projectObservable } from '../observable-model' +import type { MountAdapter, MountContext, MountedOperation } from '../recording-scenario' +import type { operationModuleLoader } from '../operation-module-loader' + +const REPO_ID = 'repo-1' + +/** A PR review comment: has a path, a numeric line and a numeric id, so a reply is a review reply. */ +const REVIEW_COMMENT = { + id: 501, + author: 'octocat', + body: 'please fix', + createdAt: '2020-01-01T00:00:00.000Z', + path: 'src/index.ts', + line: 12, + threadId: 'thread-1', + isResolved: false +} as const + +/** An issue comment: no path or line, so a reply falls back to a plain issue comment. */ +const ISSUE_COMMENT = { + id: 'comment-2', + author: 'octocat', + body: 'a thought', + createdAt: '2020-01-01T00:00:00.000Z' +} as const + +const DETAIL_FILE = { + path: 'src/index.ts', + oldPath: undefined, + status: 'modified', + additions: 2, + deletions: 1, + viewerViewedState: 'UNVIEWED' +} as const + +function githubDetailPayload(): Record { + return { + provider: 'github', + body: 'body', + comments: [REVIEW_COMMENT, ISSUE_COMMENT], + labels: ['bug'], + assignees: ['octocat'], + reviewDecision: null, + reviewRequests: [], + latestReviews: [], + headSha: 'head-sha', + baseSha: 'base-sha', + pullRequestId: 'PR_kwDO', + checks: [], + files: [DETAIL_FILE] + } +} + +const PROJECT_HOST = 'github.enterprise.test' + +const PROJECT_REPO = { id: REPO_ID, displayName: 'Repo', path: '/repo' } + +const ISSUE_ROW = { + id: 'item-1', + itemType: 'ISSUE', + content: { + repository: 'owner/repo', + number: 1, + url: 'https://github.com/owner/repo/issues/1', + state: 'OPEN', + labels: [], + assignees: [], + issueType: null + }, + fieldValuesByFieldId: {} +} as const + +const PR_ROW = { + id: 'item-2', + itemType: 'PULL_REQUEST', + content: { + repository: 'owner/repo', + number: 2, + url: 'https://github.com/owner/repo/pull/2', + state: 'OPEN', + labels: [], + assignees: [], + issueType: null + }, + fieldValuesByFieldId: {} +} as const + +const STATUS_FIELD = { + id: 'field-1', + name: 'Status', + dataType: 'SINGLE_SELECT', + options: [] +} + +const PROJECT_TABLE = { + project: { id: 'project-1', title: 'Board', number: 3 }, + selectedView: { id: 'view-1', number: 1, name: 'Table', filter: '', layout: 'TABLE_LAYOUT' }, + fields: [STATUS_FIELD], + rows: [ISSUE_ROW, PR_ROW] +} + +/** + * One model in, an actions object out, every setter recorded as an effect: the shape this domain's + * hooks share. Copied per module rather than shared, because an adapter may not import another file + * in this directory: a golden pins the one module it was recorded through, so plumbing reaching + * across the seam would drive recordings its header does not cover. + */ +type ModelHookSpec = { + /** Called inside the render body, so a hook that throws is recorded as a mount failure. */ + readonly useHook: (model: never) => Actions + readonly fixture: Record + readonly actions: (context: { + /** A getter, not a value: an action that re-renders first needs the rebuilt callbacks. */ + readonly actions: () => Actions + readonly model: Record + readonly update: () => void + }) => Record) => unknown> + readonly state: (model: Record) => Record +} + +function mountModelHook( + context: MountContext, + spec: ModelHookSpec +): MountedOperation { + const model = observableModel(context, { client: context.client, ...spec.fixture }) + let actions!: Actions + const hook = hookMount(() => { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the recorder supplies every member the hook reads. + actions = spec.useHook(model as unknown as never) + }) + return { + action(name, args) { + if (name === 'mount') { + return hook.mount() + } + if (name === 'update') { + return hook.update() + } + const step = spec.actions({ + actions: () => actions, + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the proxy is the fixture record the spec declared. + model: model as unknown as Record, + update: hook.update + })[name] + if (!step) { + throw new Error(`Unknown action: ${name}`) + } + return performHookAction(() => step(args)) + }, + state: () => projectObservable(spec.state(model)), + dispose: hook.unmount + } +} + +/** + * One board row's reads: its details, and the label, assignee and issue-type pickers behind its + * metadata sheet. The envelope note on the board-load module applies here too. + */ +export function taskProjectRowReadMountAdapters( + modules: ReturnType +): Record { + const load = (file: string): T => modules.load(`mobile/src/tasks/${file}`) + const boardFixture = { + activeGitHubProjectHost: PROJECT_HOST, + findProjectRowRepo: () => PROJECT_REPO, + projectMutating: false, + projectRowDetail: githubDetailPayload(), + projectRowItem: ISSUE_ROW, + githubProjectTable: PROJECT_TABLE, + projectRowDetailError: '', + projectRowDetailRefreshSeq: 0 + } + const rowDetail: MountAdapter = (context) => { + const useLoading = load< + typeof import('../../../tasks/use-mobile-tasks-project-detail-loading') + >('use-mobile-tasks-project-detail-loading.tsx').useMobileTasksProjectDetailLoading + return mountModelHook(context, { + useHook: (model) => useLoading(model), + fixture: { + ...boardFixture, + projectRowDetail: null, + tasksSupported: true, + projectRowDetailLoading: false, + projectFieldDrafts: {}, + projectTitleDraft: '', + projectBodyDraft: '', + projectCommentDraft: '', + projectEditingCommentId: null, + projectEditingCommentDraft: '', + projectReviewersDraft: '', + expandedPrFilePath: null, + prFileCommentDrafts: {}, + prFileContents: {}, + prFileLoadingPath: null + }, + actions: () => ({}), + state: (model) => ({ + detail: model.projectRowDetail, + loading: model.projectRowDetailLoading, + error: model.projectRowDetailError + }) + }) + } + const rowMetadataLoad: MountAdapter = (context) => { + const useLoading = load< + typeof import('../../../tasks/use-mobile-tasks-project-metadata-loading') + >('use-mobile-tasks-project-metadata-loading.tsx').useMobileTasksProjectMetadataLoading + return mountModelHook(context, { + useHook: (model) => useLoading(model), + fixture: { + activeGitHubProjectHost: PROJECT_HOST, + projectIssueTypeRepository: 'owner/repo', + projectMetadataRepository: 'owner/repo', + projectMetadataSeedLogins: 'octocat', + tasksSupported: true, + projectAvailableLabels: [], + projectLabelsLoading: false, + projectLabelsError: '', + projectAssignableUsers: [], + projectAssignableUsersLoading: false, + projectAssignableUsersError: '', + projectIssueTypes: [], + projectIssueTypesLoading: false, + projectIssueTypesError: '' + }, + actions: () => ({}), + state: (model) => ({ + labels: model.projectAvailableLabels, + labelsError: model.projectLabelsError, + users: model.projectAssignableUsers, + usersError: model.projectAssignableUsersError, + types: model.projectIssueTypes, + typesError: model.projectIssueTypesError + }) + }) + } + return { + 'tasks.project-row-detail': rowDetail, + 'tasks.project-row-metadata-load': rowMetadataLoad + } +} diff --git a/mobile/src/test-support/rpc-recording/adapters/terminal-mount-adapters.ts b/mobile/src/test-support/rpc-recording/adapters/terminal-mount-adapters.ts new file mode 100644 index 00000000000..0cb0d559cbc --- /dev/null +++ b/mobile/src/test-support/rpc-recording/adapters/terminal-mount-adapters.ts @@ -0,0 +1,139 @@ +import type { MountAdapter, MountContext } from '../recording-scenario' +import { hookMount } from '../hook-mount' +import type { operationModuleLoader } from '../operation-module-loader' + +const HANDLE = 'terminal-1' +const DEVICE_TOKEN = 'device-token-1' +const VIEWPORT = { cols: 100, rows: 30 } + +/** The xterm handle the refit hook drives; `reflow` is an observation, not a native call. */ +function terminalWebViewHandle( + effect: MountContext['effect'], + dims: { cols: number; rows: number } +) { + return { + measureFitDimensions: (frameHeight?: number) => { + effect('measure-fit', { frameHeight: frameHeight ?? null }) + return Promise.resolve(dims) + }, + reflow: (cols: number, rows: number) => effect('reflow', { cols, rows }) + } +} + +/** + * Terminal input, the worker-takeover report it triggers, and the in-place viewport refit. + * + * Every send here is a request/response call; the `subscribe` and `sendUnsubscribe` ports these + * files sit next to are a separate boundary and are not driven. The refit hook's resubscribe + * fallback is recorded as an effect for the same reason — what the recording observes is that the + * hook chose it, not what resubscribing does. + */ +export function terminalMountAdapters( + modules: ReturnType +): Record { + return { + 'terminal.query-reply': ({ client }) => { + const send = modules.load( + 'mobile/src/terminal/mobile-terminal-query-reply.ts' + ).sendMobileTerminalQueryReply + const subscribed = new Set([HANDLE]) + let accepted: unknown = 'unsent' + return { + action: (_name, args) => + send({ + bytes: String(args.bytes ?? ''), + client, + clientId: args.clientId === null ? null : String(args.clientId ?? DEVICE_TOKEN), + connected: args.connected !== false, + handle: String(args.handle ?? HANDLE), + hostSupportsQueryReplyInput: args.supported !== false, + subscribedTerminals: { has: (handle: string) => subscribed.has(handle) } + }).then((value: unknown) => { + accepted = value + return value + }), + state: () => ({ accepted }), + dispose: () => {} + } + }, + 'terminal.accessory-raw-send': ({ client }) => { + const send = modules.load< + typeof import('../../../terminal/terminal-live-accessory-raw-send') + >('mobile/src/terminal/terminal-live-accessory-raw-send.ts').sendTerminalLiveAccessoryRawBytes + let accepted: unknown = 'unsent' + return { + action: (_name, args) => + send({ + client, + targetHandle: HANDLE, + activeHandle: args.activeHandle === null ? null : String(args.activeHandle ?? HANDLE), + activeSessionTabType: String(args.tabType ?? 'terminal'), + connState: args.connected === false ? 'disconnected' : 'connected', + bytes: String(args.bytes ?? 'ls'), + deviceToken: args.deviceToken === null ? null : String(args.deviceToken ?? DEVICE_TOKEN) + }).then((value: unknown) => { + accepted = value + return value + }), + state: () => ({ accepted }), + dispose: () => {} + } + }, + 'terminal.takeover-report': ({ client }) => { + const report = modules.load< + typeof import('../../../terminal/worker-terminal-takeover-report') + >('mobile/src/terminal/worker-terminal-takeover-report.ts') + // The per-client report window is module state; a fresh recording must not inherit one. + report.resetWorkerTerminalTakeoverReportsForTest() + return { + action: (_name, args) => + report.reportWorkerTerminalUserInput(client, String(args.terminal ?? HANDLE)), + state: () => ({}), + dispose: report.resetWorkerTerminalTakeoverReportsForTest + } + }, + 'terminal.viewport-refit': ({ client, effect }) => { + const useRefit = modules.load( + 'mobile/src/terminal/terminal-viewport-refit.ts' + ).useTerminalViewportRefit + const terminalRefs = { current: new Map([[HANDLE, terminalWebViewHandle(effect, VIEWPORT)]]) } + const viewportRef: { current: { cols: number; rows: number } | null } = { current: null } + const viewportMeasuredRef = { current: false } + const connState = 'connected' + let notifications: ReturnType + const hook = hookMount(() => { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the recorder supplies only the refs and callbacks the hook reads. + notifications = useRefit({ + activeHandleRef: { current: HANDLE }, + terminalRefs, + terminalFrameHeightRef: { current: 600 }, + viewportRef, + viewportMeasuredRef, + nativeChatCoveredRef: { current: false }, + clientRef: { current: client }, + deviceTokenRef: { current: DEVICE_TOKEN }, + initializedHandlesRef: { current: new Set([HANDLE]) }, + connState, + tabStripVisible: true, + textScale: 1, + terminalFrameWidth: 390, + unsubscribeTerminal: (handle: string) => effect('unsubscribe-terminal', { handle }), + subscribeToTerminal: (handle: string) => effect('subscribe-terminal', { handle }) + } as unknown as Parameters[0]) + }) + return { + action(name, args) { + if (name === 'mount') { + return hook.mount() + } + if (name === 'height') { + return notifications.notifyTerminalFrameHeight(Number(args.height ?? 640)) + } + throw new Error(`Unknown terminal viewport action: ${name}`) + }, + state: () => ({ viewport: viewportRef.current, measured: viewportMeasuredRef.current }), + dispose: hook.unmount + } + } + } +} diff --git a/mobile/src/test-support/rpc-recording/adapters/transport-status-mount-adapters.ts b/mobile/src/test-support/rpc-recording/adapters/transport-status-mount-adapters.ts new file mode 100644 index 00000000000..ffbb2870d64 --- /dev/null +++ b/mobile/src/test-support/rpc-recording/adapters/transport-status-mount-adapters.ts @@ -0,0 +1,114 @@ +import type { ConnectionState } from '../../../transport/types' +import type { MountAdapter, MountContext } from '../recording-scenario' +import type { operationModuleLoader } from '../operation-module-loader' +import { hookMount } from '../hook-mount' +import { candidateClient } from '../relay-pairing-fixtures' + +const HOST = 'host-1' + +/** + * The three `status.get` readers the transport owns: the protocol gate hook, the retrying + * capability probe, and the pairing race that treats a reply as "this path works". They agree on + * acceptance and disagree on what a refusal costs, which is what the recordings have to show. + */ +export function transportStatusMountAdapters( + modules: ReturnType +): Record { + return { + 'transport.host-status-gates': ({ client }: MountContext) => { + const useGates = modules.load( + 'mobile/src/transport/host-status-gates.ts' + ).useHostStatusGates + let connState: ConnectionState = 'connected' + let gates: ReturnType | undefined + const hook = hookMount(() => { + gates = useGates({ hostId: HOST, client, connState }) + }) + return { + action(name, args) { + if (name === 'mount' || name === 'remount') { + return hook.mount() + } + if (name === 'unmount') { + return hook.unmount() + } + if (name === 'state') { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the scenario names one of the connection states the hook switches on. + connState = String(args.connState ?? 'connected') as ConnectionState + return hook.update() + } + throw new Error(`Unknown host-status-gates action: ${name}`) + }, + state: () => ({ + capabilities: gates?.hostCapabilities ?? null, + floatingWorkspace: gates?.floatingWorkspaceEnabled ?? null, + appVersion: gates?.desktopAppVersion ?? null, + verdict: gates?.compatVerdict ?? null, + pending: gates?.statusPending ?? null + }), + dispose: hook.unmount + } + }, + 'transport.capability-probe': ({ client }: MountContext) => { + const start = modules.load( + 'mobile/src/transport/runtime-capability-probe.ts' + ).startRuntimeCapabilityProbe + const published: unknown[] = [] + let stop: (() => void) | null = null + return { + action(name) { + if (name === 'start') { + stop = start(client, (capabilities) => { + published.push([...capabilities]) + }) + return + } + if (name === 'stop') { + stop?.() + stop = null + return + } + throw new Error(`Unknown capability-probe action: ${name}`) + }, + state: () => ({ published }), + dispose: () => stop?.() + } + }, + 'transport.pairing-race': ({ client, effect }: MountContext) => { + const race = modules.load( + 'mobile/src/transport/pairing-candidate-race.ts' + ).racePairingCandidates + let outcome: unknown = 'unraced' + const candidate = (path: 'direct' | 'relay') => ({ + path, + client: candidateClient(client, effect, path) + }) + return { + action(_name, args) { + const candidates = + args.relay === false + ? [candidate('direct')] + : args.order === 'relay-first' + ? [candidate('relay'), candidate('direct')] + : [candidate('direct'), candidate('relay')] + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the adapter supplies the two members racePairingCandidates reads. + const settled = race(candidates as Parameters[0]) + // The winner carries a live client, which the recorder cannot observe; the path it chose + // is the whole decision, so settle on that and let the rejection through unchanged. + return settled.then( + (winner) => { + outcome = winner.path + return winner.path + }, + (error: unknown) => { + outcome = `failed: ${error instanceof Error ? error.message : String(error)}` + throw error + } + ) + }, + state: () => ({ outcome }), + dispose: () => {} + } + } + } +} diff --git a/mobile/src/test-support/rpc-recording/adapters/worktree-catalog-mount-adapters.ts b/mobile/src/test-support/rpc-recording/adapters/worktree-catalog-mount-adapters.ts new file mode 100644 index 00000000000..82bb78851a3 --- /dev/null +++ b/mobile/src/test-support/rpc-recording/adapters/worktree-catalog-mount-adapters.ts @@ -0,0 +1,90 @@ +import type { MountAdapter } from '../recording-scenario' +import { hookMount } from '../hook-mount' +import { projectObservable } from '../observable-model' +import type { operationModuleLoader } from '../operation-module-loader' + +const HOST = 'host-1' +const REPO = 'repo-1' + +/** + * The workspace catalog reads: the Home card's per-host summary, the snapshot client the host + * screen polls with, and the retired-name registry the create sheet asks for per repo. + */ +export function worktreeCatalogMountAdapters( + modules: ReturnType +): Record { + return { + 'worktree.home-catalog': (context) => { + const fetchInfo = modules.load( + 'mobile/src/worktree/home-host-worktree-fetch.ts' + ).fetchHomeHostWorktreeInfo + let info: Record = {} + let disposed = false + return { + action(name) { + if (name === 'unmount') { + disposed = true + return + } + return fetchInfo( + context.client, + HOST, + (update: (value: Record) => Record) => { + info = update(info) + context.effect('info', projectObservable(info)) + }, + () => disposed + ) + }, + state: () => projectObservable(info), + dispose: () => { + disposed = true + } + } + }, + 'worktree.catalog-snapshot': ({ client }) => { + const SnapshotClient = modules.load< + typeof import('../../../worktree/worktree-catalog-snapshot-client') + >('mobile/src/worktree/worktree-catalog-snapshot-client.ts').WorktreeCatalogSnapshotClient + const snapshots = new SnapshotClient() + let fetched: unknown = 'unfetched' + let admitted: unknown = 'unadmitted' + return { + action: () => + snapshots.fetch(client, HOST).then((result) => { + fetched = result + // Admitting is what advances the snapshot token a later poll sends back. + admitted = snapshots.admit(result.kind === 'response' ? result.pending : null) + // The pending catalog carries the live client, which the recorder cannot observe. + return projectObservable(result) + }), + state: () => projectObservable({ fetched, admitted }), + dispose: () => {} + } + }, + 'worktree.retired-names': ({ client }) => { + const useRetired = modules.load< + typeof import('../../../worktree/use-retired-worktree-names') + >('mobile/src/worktree/use-retired-worktree-names.ts').useRetiredWorktreeNames + let registry: unknown + let refreshKey = 1 + const hook = hookMount(() => { + registry = useRetired(client, REPO, refreshKey) + }) + return { + action(name) { + if (name === 'mount') { + return hook.mount() + } + if (name === 'refresh') { + refreshKey++ + return hook.update() + } + throw new Error(`Unknown retired names action: ${name}`) + }, + state: () => projectObservable({ registry }), + dispose: hook.unmount + } + } + } +} diff --git a/mobile/src/test-support/rpc-recording/declared-device-state.test.ts b/mobile/src/test-support/rpc-recording/declared-device-state.test.ts new file mode 100644 index 00000000000..78b4629f40e --- /dev/null +++ b/mobile/src/test-support/rpc-recording/declared-device-state.test.ts @@ -0,0 +1,162 @@ +import { resolve } from 'node:path' +import { describe, expect, it } from 'vitest' +import { declaredDeviceSubstitutes } from './declared-device-state' +import { nativeMountingSubstitutes } from './native-mounting-substitutes' +import { pilotMountAdapters } from './pilot-mount-adapters' +import { runRecording } from './run-recording' +import { readScenarios } from './scenario-input' +import { vitestRecordingScheduler } from './vitest-recording-scheduler' +import type { Recording, RecordingScenario } from './recording-scenario' +import type { RecordedValue } from './recording-values' + +const root = resolve(import.meta.dirname, '../../../..') +const manifest = readScenarios( + process.env.RPC_FOUNDATION_SCENARIOS ?? + resolve(root, 'mobile/rpc-foundation/pilot-scenarios.json') +).scenarios + +const STORE = '@react-native-async-storage/async-storage' + +function store(declared: Record): { + module: Record Promise> + effects: { name: string; value: unknown }[] +} { + const effects: { name: string; value: unknown }[] = [] + const device = declaredDeviceSubstitutes({ deviceStore: declared }) + device.bind((name, value) => effects.push({ name, value })) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the declared store answers every member; the test asserts what each one does. + const module = device.substitutes.get(STORE) as Record< + string, + (...args: unknown[]) => Promise + > + return { module, effects } +} + +function scenario(id: string): RecordingScenario { + const found = manifest.find((candidate) => candidate.id === id) + if (!found) { + throw new Error(`No scenario named ${id}`) + } + return found +} + +async function record(id: string): Promise { + const declared = scenario(id) + const { adapters } = pilotMountAdapters(root, { device: declared }) + return runRecording(declared, adapters[declared.operation]!, vitestRecordingScheduler()) +} + +function lastCheckpoint(recording: Recording): { + sender: RecordedValue + effects: RecordedValue + state: RecordedValue +} { + const { observation } = recording.checkpoints.at(-1)! + return { sender: observation.sender, effects: observation.effects, state: observation.state } +} + +function sentParams(recording: Recording, index = 0): unknown { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: a recorded sender entry has three positional argument slots. + const sender = lastCheckpoint(recording).sender as { + name: string + args: { name: string; value: unknown }[] + }[] + return { name: sender[index]?.name, params: sender[index]?.args[1]?.value } +} + +describe('a scenario that declares its device', () => { + it('leaves the refusing store in place when nothing is declared', () => { + const undeclared = declaredDeviceSubstitutes({}) + expect(undeclared.substitutes.size).toBe(0) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the table's default store answers every member with a throwing call. + const fallback = nativeMountingSubstitutes().get(STORE) as { getItem: () => unknown } + expect(() => fallback.getItem()).toThrow('Native store reached during recording') + }) + + it('reads the declared entry, and null for everything else', async () => { + const { module } = store({ 'orca:key': 'declared' }) + await expect(module.getItem!('orca:key')).resolves.toBe('declared') + await expect(module.getItem!('orca:other')).resolves.toBeNull() + }) + + /** + * A write that fed back into a read would let a later read return a byte nothing declared, which + * is the device back inside the recording. The write is an effect instead, where it is observed. + */ + it('records a write as an effect without letting a read see it', async () => { + const { module, effects } = store({}) + await module.setItem!('orca:key', 'written') + await module.removeItem!('orca:key') + await expect(module.getItem!('orca:key')).resolves.toBeNull() + expect(effects).toEqual([ + { name: 'device-store.setItem', value: { key: 'orca:key', value: 'written' } }, + { name: 'device-store.removeItem', value: { key: 'orca:key' } } + ]) + }) + + it('refuses a member the declaration does not back', () => { + const { module } = store({}) + expect(() => module.multiGet!('orca:key')).toThrow( + `Native store reached during recording: ${STORE}.multiGet` + ) + }) + + it('answers a declared tray, and records a dismissal as an effect', async () => { + const entry = { request: { identifier: 'tray-1', content: { data: { a: 1 } } } } + const effects: { name: string; value: unknown }[] = [] + const device = declaredDeviceSubstitutes({ deviceState: { notificationTray: [entry] } }) + device.bind((name, value) => effects.push({ name, value })) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the declared tray lists exactly these two members. + const module = device.substitutes.get('expo-notifications') as { + getPresentedNotificationsAsync: () => Promise + dismissNotificationAsync: (identifier: string) => Promise + } + const presented = await module.getPresentedNotificationsAsync() + expect(presented).toEqual([entry]) + expect(presented[0]).not.toBe(entry) + await module.dismissNotificationAsync('tray-1') + expect(effects).toEqual([ + { name: 'notification-tray.dismiss', value: { identifier: 'tray-1' } } + ]) + }) + + it('backs a recorded read: the declared last-visited repo is the one the dialog selects', async () => { + const recording = await record('new-workspace-repositories-fulfilled') + expect(sentParams(recording)).toEqual({ name: 'repo.list#1', params: { $rpc: 'absent' } }) + // repo-a is the first eligible repo, so repo-b can only come from the declared entry. + expect(lastCheckpoint(recording).state).toMatchObject({ selected: 'repo-b' }) + }) + + it('backs a recorded write: the reset credit journals its key before the request', async () => { + const recording = await record('codex-reset-credit-consumed') + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: a recorded request's params are recorded data. + const params = sentParams(recording) as { name: string; params: { idempotencyKey?: string } } + expect(params.name).toBe('accounts.consumeCodexResetCredit#1') + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: recorded effects are a list of name/value pairs. + const effects = lastCheckpoint(recording).effects as { name: string; value: unknown }[] + expect(effects.map((effect) => effect.name)).toEqual(['device-store.setItem']) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: as above. + const write = effects[0]!.value as { key: string; value: string } + expect(write.key).toMatch(/^orca:codex-reset-credit-attempt:v1:[0-9a-f]{64}$/) + expect(JSON.parse(write.value)).toMatchObject({ idempotencyKey: params.params.idempotencyKey }) + }) + + it('backs a recorded tray: the presented push is the identity the catch-up sends', async () => { + const recording = await record('push-dismissal-tray-reconciled') + expect(sentParams(recording)).toEqual({ + name: 'notifications.getMissedSince#1', + params: { + lastSeenSeq: Number.MAX_SAFE_INTEGER, + deliveredPushes: [ + { notificationEpoch: 'epoch-1', notificationId: 'note-1', notificationSeq: 7 } + ] + } + }) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: recorded effects are a list of name/value pairs. + const effects = lastCheckpoint(recording).effects as { name: string }[] + expect(effects.map((effect) => effect.name)).toEqual([ + 'device-store.setItem', + 'notification-tray.dismiss' + ]) + }) +}) diff --git a/mobile/src/test-support/rpc-recording/declared-device-state.ts b/mobile/src/test-support/rpc-recording/declared-device-state.ts new file mode 100644 index 00000000000..fda5eaca596 --- /dev/null +++ b/mobile/src/test-support/rpc-recording/declared-device-state.ts @@ -0,0 +1,91 @@ +import { nativeStoreModule, partialNativeModule } from './native-module-traps' + +/** + * What a recording declares about the device it runs on. + * + * Undeclared is unchanged: async storage stays the throwing store and expo-notifications stays an + * unlisted package. Declaring one swaps in a backing that answers only from the declaration, so + * every byte a read can return is visible in the scenario file. Writes never feed back into reads — + * a read that could return a byte nothing declared would put the device back inside the recording. + * They are recorded as effects instead, which is where an unobserved write becomes observable. + */ +type DeclaredNotification = { + readonly request: { + readonly identifier: string + readonly content: { readonly data?: unknown } + readonly trigger?: unknown + } +} +export type DeclaredDeviceState = { + readonly deviceStore?: Readonly> + readonly deviceState?: { readonly notificationTray?: readonly DeclaredNotification[] } +} +type DeviceEffect = (name: string, value: unknown) => void + +/** + * The substitutes a scenario's declarations back, and the sink its writes are recorded through. + * The sink is bound at mount because the effect recorder belongs to one run, while the loader that + * holds the substitutes is built before it; an unbound write is a bug rather than a silent drop. + */ +export function declaredDeviceSubstitutes(declared: DeclaredDeviceState): { + substitutes: ReadonlyMap + bind: (effect: DeviceEffect) => void +} { + let sink: DeviceEffect | undefined + const effect: DeviceEffect = (name, value) => { + if (!sink) { + throw new Error(`Declared device effect before mount: ${name}`) + } + sink(name, value) + } + const substitutes = new Map() + const store = declared.deviceStore + if (store) { + substitutes.set('@react-native-async-storage/async-storage', declaredDeviceStore(store, effect)) + } + const tray = declared.deviceState?.notificationTray + if (tray) { + substitutes.set('expo-notifications', declaredNotificationTray(tray, effect)) + } + return { + substitutes, + bind: (bound) => { + sink = bound + } + } +} + +function declaredDeviceStore( + entries: Readonly>, + effect: DeviceEffect +): unknown { + return nativeStoreModule('@react-native-async-storage/async-storage', { + getItem: (key: string) => Promise.resolve(entries[key] ?? null), + setItem: (key: string, value: string) => { + effect('device-store.setItem', { key, value }) + return Promise.resolve() + }, + removeItem: (key: string) => { + effect('device-store.removeItem', { key }) + return Promise.resolve() + } + }) +} + +function declaredNotificationTray( + tray: readonly DeclaredNotification[], + effect: DeviceEffect +): unknown { + return partialNativeModule('expo-notifications', { + // Namespace-imported by every consumer, so the marker keeps reads going through the trap; see + // the `__esModule` paragraph in `native-module-traps.ts`. + __esModule: true, + // Cloned per read, so a screen that mutates a notification cannot change what the next read of + // the declaration returns. + getPresentedNotificationsAsync: () => Promise.resolve(structuredClone(tray)), + dismissNotificationAsync: (identifier: string) => { + effect('notification-tray.dismiss', { identifier }) + return Promise.resolve() + } + }) +} diff --git a/mobile/src/test-support/rpc-recording/family-recordings.test.ts b/mobile/src/test-support/rpc-recording/family-recordings.test.ts index e7c971810d6..497f5809ec6 100644 --- a/mobile/src/test-support/rpc-recording/family-recordings.test.ts +++ b/mobile/src/test-support/rpc-recording/family-recordings.test.ts @@ -28,7 +28,7 @@ async function certify(id: string, scenarios: RecordingScenario[]) { for (let run = 0; run < determinismRuns(); run++) { const checkpoints: Recording['checkpoints'] = [] for (const scenario of scenarios) { - const { adapters } = pilotMountAdapters(root) + const { adapters } = pilotMountAdapters(root, { device: scenario }) const recording = await runRecording( scenario, adapters[scenario.operation], diff --git a/mobile/src/test-support/rpc-recording/golden-recorder-failure-absence.test.ts b/mobile/src/test-support/rpc-recording/golden-recorder-failure-absence.test.ts new file mode 100644 index 00000000000..90b7494de85 --- /dev/null +++ b/mobile/src/test-support/rpc-recording/golden-recorder-failure-absence.test.ts @@ -0,0 +1,79 @@ +import { readdirSync } from 'node:fs' +import { resolve } from 'node:path' +import { describe, expect, it } from 'vitest' +import { readGolden } from './golden-recording' +import { OBSERVATION_FIELDS } from './golden-value-pool' +import type { Observation } from './recording-scenario' +import type { RecordedValue } from './recording-values' + +const root = resolve(import.meta.dirname, '../../../..') +const directory = + process.env.RPC_FOUNDATION_GOLDENS ?? resolve(root, 'mobile/rpc-foundation/goldens') + +/** `captureValue`'s two refusals. Neither is ever product behaviour. */ +const PROJECTION_REFUSALS = [ + 'Unsupported observation', + 'Observation requires an explicit projection' +] + +function refusalText(value: RecordedValue): boolean { + if (typeof value === 'string') { + return PROJECTION_REFUSALS.some((refusal) => value.includes(refusal)) + } + if (Array.isArray(value)) { + return value.some(refusalText) + } + return typeof value === 'object' && value !== null && Object.values(value).some(refusalText) +} + +function failures(at: string, observation: Observation): string[] { + const found: string[] = [] + for (const field of OBSERVATION_FIELDS) { + if (refusalText(observation[field])) { + found.push(`${at}.${field}: recorder refused to project a value`) + } + } + return found +} + +/** + * A refused projection settles as data — the throw is captured as an effect and the action stays + * `pending` — so `--record` writes it and the suite goes green over it. Two adapters shipped that + * way (#20667, and the worktree catalog), and a revert plus a re-record would restore either one + * silently. A detached rejection is not banned here: recording one is how a real main bug gets + * pinned, and `unhandled-recording.test.ts` pins the capture itself. + */ +describe('recorder failures never reach a golden', () => { + it('records no refused projection in any observation field', () => { + const ids = readdirSync(directory) + .filter((file) => file.endsWith('.json')) + .map((file) => file.replace(/\.json$/, '')) + + // Positive control: absence proves nothing unless the detector fires. `effects` carries the + // shape both real defects took — the refusal captured as the message of a recorded error. + const seeded: Observation = { + sender: [], + payloads: [], + settlements: { fetch: { status: 'pending' } }, + state: { fetched: 'Observation requires an explicit projection for non-plain objects' }, + effects: [ + { name: 'unhandled-rejection', value: { message: 'Unsupported observation: function' } } + ] + } + expect(failures('seeded', seeded)).toEqual([ + 'seeded.state: recorder refused to project a value', + 'seeded.effects: recorder refused to project a value' + ]) + + let checkpoints = 0 + const found = ids.flatMap((id) => + readGolden(directory, id).recording.checkpoints.flatMap((checkpoint) => { + checkpoints++ + return failures(`${id}/${checkpoint.id}`, checkpoint.observation) + }) + ) + expect(found).toEqual([]) + expect(ids.length).toBeGreaterThan(0) + expect(checkpoints).toBeGreaterThan(ids.length) + }) +}) diff --git a/mobile/src/test-support/rpc-recording/inert-native-elements.ts b/mobile/src/test-support/rpc-recording/inert-native-elements.ts new file mode 100644 index 00000000000..aa104a775d1 --- /dev/null +++ b/mobile/src/test-support/rpc-recording/inert-native-elements.ts @@ -0,0 +1,53 @@ +import { createElement, type ReactNode } from 'react' + +/** + * A native view a recording renders but never operates. + * + * It renders its children and keeps every other prop on the test tree, where a projection can read + * what the screen chose to pass, and it does nothing else: no prop of its own is ever invoked, no + * layout is measured, and no event is fired. The name becomes the host tag, so which primitive a + * screen reached for is part of the observation rather than lost in a generic wrapper. + * + * Children that are a render callback — `Pressable`'s pressed-state form — are dropped rather than + * called, because calling one would be the recording inventing a press nobody scripted. + */ +export function inertNativeElement(name: string) { + function InertNativeElement(props: { children?: ReactNode }): ReactNode { + const { children, ...rest } = props + return createElement(name, rest, typeof children === 'function' ? undefined : children) + } + InertNativeElement.displayName = name + return InertNativeElement +} + +/** One inert element per name, built once so React sees a stable component identity per render. */ +export function inertNativeElements(names: readonly string[]): Record { + return Object.fromEntries(names.map((name) => [name, inertNativeElement(name)])) +} + +/** + * A package whose entire export surface is icon components, answered with one inert element per + * name. There is no "rest" to refuse here the way a partial module refuses one: an unlisted member + * of an icon set is another icon, so enumerating the set would only pin the package's contents. + * Memoised because an icon rebuilt per render would remount the subtree it labels. + */ +export function inertIconModule(): unknown { + const icons = new Map() + return new Proxy( + {}, + { + get: (_target, key) => { + if (typeof key !== 'string' || key === '__esModule') { + return undefined + } + const found = icons.get(key) + if (found) { + return found + } + const icon = inertNativeElement(key) + icons.set(key, icon) + return icon + } + } + ) +} diff --git a/mobile/src/test-support/rpc-recording/mounted-screen-tree.test.ts b/mobile/src/test-support/rpc-recording/mounted-screen-tree.test.ts new file mode 100644 index 00000000000..096fed0ed5b --- /dev/null +++ b/mobile/src/test-support/rpc-recording/mounted-screen-tree.test.ts @@ -0,0 +1,138 @@ +import { resolve } from 'node:path' +import { createElement } from 'react' +import { describe, expect, it } from 'vitest' +import { + hookScreenMount, + projectMountedScreen, + renderedElementProps, + screenMount +} from './mounted-screen-tree' +import { pilotMountAdapters } from './pilot-mount-adapters' +import { runRecording } from './run-recording' +import { readScenarios } from './scenario-input' +import { vitestRecordingScheduler } from './vitest-recording-scheduler' + +const root = resolve(import.meta.dirname, '../../../..') +const manifest = readScenarios( + process.env.RPC_FOUNDATION_SCENARIOS ?? + resolve(root, 'mobile/rpc-foundation/pilot-scenarios.json') +).scenarios + +function Broken(): never { + throw new Error('a reply took the screen down') +} + +/** Collects what an adapter would have handed the recorder, so a crash effect is observable here. */ +function effectSink(): { + calls: { name: string; value: unknown }[] + effect: (name: string, value: unknown) => void +} { + const calls: { name: string; value: unknown }[] = [] + return { calls, effect: (name, value) => calls.push({ name, value }) } +} + +describe('a mounted screen', () => { + it('records a crash as state instead of failing the run', () => { + const screen = screenMount(() => createElement(Broken), effectSink().effect) + screen.mount() + expect(projectMountedScreen(screen)).toEqual({ + elements: {}, + text: [], + labels: [], + crash: 'a reply took the screen down' + }) + }) + + it('projects the elements, copy and labels of what rendered', () => { + const screen = screenMount( + () => + createElement( + 'View', + null, + createElement('Text', { accessibilityLabel: 'title' }, 'Files'), + createElement('Text', null, 'orca-files') + ), + effectSink().effect + ) + screen.mount() + expect(projectMountedScreen(screen)).toEqual({ + elements: { View: 1, Text: 2 }, + text: ['Files', 'orca-files'], + labels: ['title'], + crash: null + }) + }) + + it('reads the props an inert element was handed, which is all a list ever renders', () => { + const screen = screenMount( + () => createElement('View', null, createElement('FlatList', { data: [{ id: 'row-1' }] })), + effectSink().effect + ) + screen.mount() + expect(renderedElementProps(screen.tree(), 'FlatList')).toEqual([{ data: [{ id: 'row-1' }] }]) + expect(renderedElementProps(screen.tree(), 'SectionList')).toEqual([]) + }) + + /** + * A hook mount projects the hook's own value, never a crash, so the boundary reporting through the + * effect sink is the only thing that puts a crash the adapter ignores into a golden. + */ + it('reports a crash through the effect sink with no adapter cooperation', () => { + const sink = effectSink() + let renders = 0 + const screen = hookScreenMount(() => { + renders++ + // From the second render on, not only on it: React retries a failed concurrent render + // synchronously, and a hook that recovers on the retry never reaches the boundary. + if (renders >= 2) { + throw new Error('the second render threw') + } + }, sink.effect) + screen.mount() + expect(sink.calls).toEqual([]) + screen.update() + expect(sink.calls).toEqual([ + { name: 'screen.crash', value: { message: 'the second render threw' } } + ]) + }) + + /** + * The screen-mount capability end to end: the real panel, over the real host-client context, over + * the scripted socket. Both worktree values on the wire are the adapter's declared prop, and the + * fallback is reached only because the first request was refused. + */ + it('sends what the screen sends, with no substitute shaping a param', async () => { + const scenario = manifest.find( + (candidate) => candidate.id === 'files-explorer-legacy-fallback' + )! + const { adapters } = pilotMountAdapters(root, { device: scenario }) + const recording = await runRecording( + scenario, + adapters[scenario.operation]!, + vitestRecordingScheduler() + ) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: a recorded sender entry has a name and three positional argument slots. + const sender = recording.checkpoints.at(-1)!.observation.sender as { + name: string + args: { name: string; value: unknown }[] + }[] + expect( + sender.map((entry) => ({ + name: entry.name, + params: entry.args[1]?.value, + options: entry.args[2]?.value + })) + ).toEqual([ + { + name: 'files.readDir#1', + params: { relativePath: '', worktree: 'id:wt-files' }, + options: { $rpc: 'absent' } + }, + { + name: 'files.list#1', + params: { worktree: 'id:wt-files' }, + options: { $rpc: 'absent' } + } + ]) + }) +}) diff --git a/mobile/src/test-support/rpc-recording/mounted-screen-tree.ts b/mobile/src/test-support/rpc-recording/mounted-screen-tree.ts new file mode 100644 index 00000000000..70350b28c7b --- /dev/null +++ b/mobile/src/test-support/rpc-recording/mounted-screen-tree.ts @@ -0,0 +1,161 @@ +import { Component, createElement, type ReactElement, type ReactNode } from 'react' +import { act, create, type ReactTestRenderer } from 'react-test-renderer' +import type { MountContext } from './recording-scenario' + +type CrashProps = { onCrash: (message: string) => void; children?: ReactNode } + +/** + * A screen that throws while rendering or in an effect is a recording, not a suite failure: it is + * what a reply partition does to a device, and refusing to record it would leave the shapes that + * break a screen the only ones the oracle cannot see. The boundary catches it, the subtree goes, + * and the message becomes state. + */ +class MountedScreenCrash extends Component { + state: { crash: string | null } = { crash: null } + static getDerivedStateFromError(error: unknown): { crash: string } { + return { crash: error instanceof Error ? error.message : String(error) } + } + componentDidCatch(error: unknown): void { + this.props.onCrash(error instanceof Error ? error.message : String(error)) + } + render(): ReactNode { + return this.state.crash === null ? this.props.children : null + } +} + +/** + * A mounted screen, rather than a mounted hook. The element is rebuilt on every mount and update so + * an adapter can change a prop between steps the way a parent screen would. + * + * The crash goes to the effect sink as well as to `crash()`, because an adapter that projects no + * crash — every hook mount, whose state is the hook's own value — would otherwise record a screen + * that quietly stopped rendering. An effect is not optional in the same way: it forces a cleanup + * checkpoint, so the crash reaches the golden without the adapter cooperating. + */ +export function screenMount(element: () => ReactElement, effect: MountContext['effect']) { + let renderer: ReactTestRenderer | undefined + let crashed: string | null = null + const wrapped = () => + createElement( + MountedScreenCrash, + { + onCrash: (message: string) => { + crashed = message + effect('screen.crash', { message }) + } + }, + element() + ) + return { + mount() { + act(() => { + renderer = create(wrapped()) + }) + }, + update() { + act(() => { + renderer?.update(wrapped()) + }) + }, + unmount() { + act(() => { + renderer?.unmount() + renderer = undefined + crashed = null + }) + }, + tree: (): unknown => renderer?.toJSON() ?? null, + crash: (): string | null => crashed + } +} + +/** The hook form of `screenMount`: the same crash boundary, over a harness that draws nothing. */ +export function hookScreenMount( + render: () => void, + effect: MountContext['effect'] +): ReturnType { + function Harness(): null { + render() + return null + } + return screenMount(() => createElement(Harness), effect) +} + +type RenderedNode = { type: string; props: Record; children: unknown[] | null } + +/** + * The props one inert element was rendered with. Nothing invokes an inert element's callbacks, so a + * list's contents are only ever observable through the data it was handed; this is how an adapter + * reads them without the recording pretending a row was drawn. + */ +export function renderedElementProps(tree: unknown, tag: string): Record[] { + const found: Record[] = [] + walk(tree, (node) => { + if (typeof node !== 'string' && node.type === tag) { + found.push(node.props) + } + }) + return found +} + +/** One depth-first pass in render order, over the host nodes and the text between them. */ +function walk(node: unknown, visit: (node: RenderedNode | string) => void): void { + if (typeof node === 'string') { + visit(node) + return + } + if (Array.isArray(node)) { + for (const child of node) { + walk(child, visit) + } + return + } + if (!node || typeof node !== 'object' || !('type' in node)) { + return + } + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: react-test-renderer's JSON nodes carry exactly these three fields. + const rendered = node as RenderedNode + visit(rendered) + walk(rendered.children, visit) +} + +/** What a mounted screen rendered, and the crash instead if a reply took it down. */ +export function projectMountedScreen(screen: { tree: () => unknown; crash: () => string | null }): { + elements: Record + text: string[] + labels: string[] + crash: string | null +} { + return { ...projectScreenTree(screen.tree()), crash: screen.crash() } +} + +/** + * Which inert primitives a screen chose, the copy it put on them, and the labels it gave them. + * + * Deliberately not the whole tree. A projection is an observation, and the props a screen passes + * include callbacks and style objects that are neither recordable nor behaviour — but the element + * census is what distinguishes a spinner from a list from an error, the text is what a person would + * read off the screen, and the labels are the affordances. A screen that stops rendering its rows, + * or blanks its copy, moves all three. + */ +function projectScreenTree(tree: unknown): { + elements: Record + text: string[] + labels: string[] +} { + const elements: Record = {} + const text: string[] = [] + const labels: string[] = [] + walk(tree, (node) => { + if (typeof node === 'string') { + text.push(node) + return + } + elements[node.type] = (elements[node.type] ?? 0) + 1 + const label = node.props.accessibilityLabel + if (typeof label === 'string') { + labels.push(label) + } + }) + return { elements, text, labels } +} diff --git a/mobile/src/test-support/rpc-recording/mutants/operation-mutations.ts b/mobile/src/test-support/rpc-recording/mutants/operation-mutations.ts index 457bae3c2a8..1752e5bc2dd 100644 --- a/mobile/src/test-support/rpc-recording/mutants/operation-mutations.ts +++ b/mobile/src/test-support/rpc-recording/mutants/operation-mutations.ts @@ -6,11 +6,21 @@ import type { OperationMutation } from '../operation-module-loader' * is what proves that family's `state()` projection observes the operation's actual output. */ export const OPERATION_MUTATIONS = { - // Loses the generation comparison, so a stale workspace response poisons the search cache. + // Drops the delivery-unknown arm of a native-chat send, so an ack lost after the frame was + // written reads as a definite rejection and invites the user to send the same message twice. + 'native-chat-send-delivery-unknown': { + file: 'mobile-native-chat-send.ts', + before: ` return isRpcDeliveryUnknown(error) || isLogicalClientCutoverError(error) + ? 'unknown' + : 'rejected'`, + after: ` return isLogicalClientCutoverError(error) ? 'unknown' : 'rejected'` + }, + // Re-anchored where the operation migration moved the acceptance read; the defect it injects — + // a stale workspace response poisoning the search cache — is unchanged. race: { file: 'use-mobile-native-chat-file-search.ts', - before: '!response.ok || generationRef.current !== generation', - after: '!response.ok' + before: '!accepted.accepted || generationRef.current !== generation', + after: '!accepted.accepted' }, // Accepts a null result envelope instead of rejecting it. The guard is repeated for three // mutations in this file; the anchor carries the message so only the recorded one is edited. @@ -21,23 +31,38 @@ export const OPERATION_MUTATIONS = { after: `if (result?.ok === false) { throw new Error(result.error?.message ?? 'Failed to update GitHub item')` }, - // Rejects the barrier early, so the sibling comment request is abandoned out of order. + // Interprets inside the request chain instead of at the declared barrier, so the issue leg + // rejects the group early and the sibling comment request is abandoned out of order. Re-anchored + // where the operation migration moved the send; the defect it injects is unchanged. order: { file: 'use-mobile-tasks-item-detail-loading.tsx', - before: `{ timeoutMs: 30_000 } - ), - client.sendRequest( - 'linear.issueComments'`, - after: `{ timeoutMs: 30_000 } - ).then((response) => { if (!isSuccess(response)) throw new Error(response.error.message); return response }), - client.sendRequest( - 'linear.issueComments'` + before: ` linearIssueRead.request( + client, + { + id: actionItem.source.id, + workspaceId: actionItem.source.workspaceId + }, + { timeoutMs: 30_000 } + ),`, + after: ` linearIssueRead + .request( + client, + { + id: actionItem.source.id, + workspaceId: actionItem.source.workspaceId + }, + { timeoutMs: 30_000 } + ) + .then((response) => { + linearIssueRead.interpret(response) + return response + }),` }, // Reads the overrides one level above the settings envelope. 'bot-overrides-envelope': { file: 'settings-read-operations.ts', - before: "settings == null ? undefined : Reflect.get(Object(settings), 'prBotAuthorOverrides')", - after: "raw == null ? undefined : Reflect.get(Object(raw), 'prBotAuthorOverrides')" + before: "settings == null ? undefined : settingsField(settings, 'prBotAuthorOverrides')", + after: "raw == null ? undefined : settingsField(raw, 'prBotAuthorOverrides')" }, // Publishes the settings envelope instead of the accepted operation value. 'workspace-context-envelope': { @@ -93,15 +118,13 @@ export const OPERATION_MUTATIONS = { }, // Checks the sibling's refusal before the operation's own, so a correlated refusal reports the // sibling. Invisible to every scenario whose sibling succeeds or rejects at the transport. + // Re-anchored where the operation migration moved both reads; the reorder it injects — the + // detection refusal deciding the error before the settings read is interpreted — is unchanged. 'new-tab-refusal-order': { file: 'mobile-new-tab-agent-loader.ts', - before: ` const readSettings = newTabSettingsRead.interpret(settingsResponse) - if (!detectedResponse.ok) { - throw new Error((detectedResponse as RpcFailure).error.message) - }`, - after: ` if (!detectedResponse.ok) { - throw new Error((detectedResponse as RpcFailure).error.message) - } + before: ` const readSettings = newTabSettingsRead.interpret(settingsResponse)`, + after: ` const detected0 = detectedAgents.interpret(detectedAgents.reply) + void detected0 const readSettings = newTabSettingsRead.interpret(settingsResponse)` }, // Publishes an unaccepted read, blanking settings a refusal should have left alone. Invisible diff --git a/mobile/src/test-support/rpc-recording/mutants/pilot-mutants.test.ts b/mobile/src/test-support/rpc-recording/mutants/pilot-mutants.test.ts index a81a48238f5..b6de872588c 100644 --- a/mobile/src/test-support/rpc-recording/mutants/pilot-mutants.test.ts +++ b/mobile/src/test-support/rpc-recording/mutants/pilot-mutants.test.ts @@ -28,7 +28,8 @@ const mutants: Record = { 'settings-task-hydration-fulfilled': 'task-hydration-envelope', 'settings-task-write': 'task-preferences-optimistic', 'settings-workspace-submit-fulfilled': 'workspace-submit-envelope', - 'settings-task-workspace-fulfilled': 'task-workspace-envelope' + 'settings-task-workspace-fulfilled': 'task-workspace-envelope', + 'native-chat-write-delivery-unknown': 'native-chat-send-delivery-unknown' } /** * The archived tree's visible state, pinned per seed: b1 serves the poisoned empty inventory, b2 @@ -59,32 +60,39 @@ function visibleState(recording: Recording): RecordedValue { return recording.checkpoints.at(-1)!.observation.state } +// Pair pilots with their pinned mutant/reference up front so each loop below defines exactly one test. +const pilots = pilotGoldens(input.scenarios) +const mutantPilots = pilots.flatMap((pilot) => { + const mutation = mutants[pilot.id] + return mutation ? [{ ...pilot, mutation }] : [] +}) +const referencePilots = pilots.flatMap((pilot) => { + const reference = referenceStates[pilot.id] + return reference ? [{ ...pilot, reference }] : [] +}) + describe('RPC main recording mutants', () => { - for (const pilot of pilotGoldens(input.scenarios)) { - const { id, scenario } = pilot - const mutation = mutants[id] - if (mutation) { - it(`${id}: kills ${mutation}`, async () => { - const { adapters, assertMutationApplied } = pilotMountAdapters(root, { - mutation: operationMutation(mutation) - }) - const result = await runRecordingMutant( - scenario, - adapters[scenario.operation], - vitestRecordingScheduler(), - readGolden(goldens, id).recording, - visibleState - ) - assertMutationApplied() - expect(result.verdict).toBe('killed') + for (const { id, scenario, mutation } of mutantPilots) { + it(`${id}: kills ${mutation}`, async () => { + const { adapters, assertMutationApplied } = pilotMountAdapters(root, { + device: scenario, + mutation: operationMutation(mutation) }) - } - const reference = referenceStates[id] - if (!reference) { - continue - } + const result = await runRecordingMutant( + scenario, + adapters[scenario.operation], + vitestRecordingScheduler(), + readGolden(goldens, id).recording, + visibleState + ) + assertMutationApplied() + expect(result.verdict).toBe('killed') + }) + } + for (const { id, scenario, reference } of referencePilots) { it.skipIf(!process.env.RPC_FOUNDATION_REFERENCE_ROOT)(`${id}: rejects bcba08b3e4`, async () => { const { adapters } = pilotMountAdapters(process.env.RPC_FOUNDATION_REFERENCE_ROOT!, { + device: scenario, reference: true }) const result = await runRecording( diff --git a/mobile/src/test-support/rpc-recording/mutants/probe-hole-witness.test.ts b/mobile/src/test-support/rpc-recording/mutants/probe-hole-witness.test.ts index 9bfcb55bd1c..277bb892b8d 100644 --- a/mobile/src/test-support/rpc-recording/mutants/probe-hole-witness.test.ts +++ b/mobile/src/test-support/rpc-recording/mutants/probe-hole-witness.test.ts @@ -40,6 +40,7 @@ const HOLES: readonly { mutation: Mutation; operation: string; closedBy: readonl async function verdict(id: string, mutation: Mutation): Promise { const scenario = input.scenarios.find((candidate) => candidate.id === id)! const { adapters, assertMutationApplied } = pilotMountAdapters(root, { + device: scenario, mutation: operationMutation(mutation) }) const result = await runRecordingMutant( diff --git a/mobile/src/test-support/rpc-recording/native-module-traps.ts b/mobile/src/test-support/rpc-recording/native-module-traps.ts new file mode 100644 index 00000000000..3dd3c0390c3 --- /dev/null +++ b/mobile/src/test-support/rpc-recording/native-module-traps.ts @@ -0,0 +1,60 @@ +/** + * The two traps a native substitute is built from. + * + * A partial module stands in for part of a package: the members a mounted operation reads, and a + * refusal for the rest. A member nobody listed throws on the read rather than resolving to + * `undefined`, because an undefined native member is not a recording of anything — the product + * would call it. A store inverts that, reading every member back as a function that throws when + * called: a default-dependency object may name them, and a recording that reaches one fails at the + * call instead. Whether that failure is visible depends on the caller; `host-app-version-store.ts` + * catches and degrades to its unread state, which is what it does on a device too. + * + * `__esModule` is exempt from both refusals, because it is the module system's interop marker rather + * than a native API, and what a trap answers there is the whole of the interop rule for every + * substitute in this directory — the other sites point here rather than restating it. Both emitted + * helpers short-circuit on a truthy marker: `__importDefault` returns the module instead of wrapping + * it, and `__importStar` returns it instead of copying its own keys into a fresh object. + * + * So a trap answers `true` when it has to survive being imported: the loader's refusing proxy, and + * any partial whose consumer takes a default or a namespace, because a flattened copy has no trap + * left and would answer an unlisted member with `undefined` instead of the named refusal. A store + * answers `undefined`, because the store *is* the default export — a truthy marker would bind + * `import X from` to the trap's own `default`, a throwing stub, instead of to the trap. + */ +export function partialNativeModule(module: string, members: Record): unknown { + return new Proxy(members, { + get: (target, key) => { + if (typeof key === 'string') { + if (key !== '__esModule' && !(key in target)) { + throw new Error(`Unsubstituted native member: ${module}.${key}`) + } + return target[key] + } + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: a symbol key cannot index the declared string record; the trap reads whatever the member object holds there. + return (target as Record)[key] + } + }) +} + +/** A device event source with no events: registration succeeds, nothing is ever delivered. */ +export function silentNativeSubscription(): { remove: () => void } { + return { remove: () => {} } +} + +/** A native store: the members a recording declared, and a throwing call for every other. */ +export function nativeStoreModule(module: string, declared: Record = {}): unknown { + return new Proxy(declared, { + get: (target, key) => { + if (key === '__esModule') { + return undefined + } + if (typeof key === 'string' && key in target) { + return target[key] + } + return (...args: unknown[]) => { + void args + throw new Error(`Native store reached during recording: ${module}.${String(key)}`) + } + } + }) +} diff --git a/mobile/src/test-support/rpc-recording/native-mounting-substitutes.test.ts b/mobile/src/test-support/rpc-recording/native-mounting-substitutes.test.ts new file mode 100644 index 00000000000..01422c4dda4 --- /dev/null +++ b/mobile/src/test-support/rpc-recording/native-mounting-substitutes.test.ts @@ -0,0 +1,43 @@ +import { describe, expect, it } from 'vitest' +import { nativeMountingSubstitutes } from './native-mounting-substitutes' + +/** TypeScript's emitted interop helper, verbatim: what every `import X from` in a mounted module runs. */ +function importDefault(module: unknown): { default: unknown } { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: mirrors the emit, which reads the marker off an untyped module record. + const record = module as { __esModule?: unknown; default?: unknown } + return record?.__esModule ? record : { default: module } +} + +function substitute(name: string): unknown { + const found = nativeMountingSubstitutes().get(name) + if (found === undefined) { + throw new Error(`no substitute for ${name}`) + } + return found +} + +describe('nativeMountingSubstitutes', () => { + it('names the module and member a recording reached instead of failing on a missing function', () => { + const store = importDefault(substitute('@react-native-async-storage/async-storage')).default + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the member is a function by construction; the test asserts what calling it throws. + const getItem = (store as { getItem: () => unknown }).getItem + expect(typeof getItem).toBe('function') + expect(() => getItem()).toThrow( + 'Native store reached during recording: @react-native-async-storage/async-storage.getItem' + ) + }) + + it('leaves the interop marker undefined so a default import binds the module, not the trap', () => { + for (const name of ['@react-native-async-storage/async-storage', 'expo-crypto']) { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: reads the marker the emit reads, off a proxy with no declared shape. + expect((substitute(name) as { __esModule?: unknown }).__esModule).toBeUndefined() + } + }) + + it('throws on a member nobody substituted rather than recording an undefined native API', () => { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the read itself is the assertion; the proxy has no declared shape. + expect(() => (substitute('expo-crypto') as { digest?: unknown }).digest).toThrow( + 'Unsubstituted native member: expo-crypto.digest' + ) + }) +}) diff --git a/mobile/src/test-support/rpc-recording/native-mounting-substitutes.ts b/mobile/src/test-support/rpc-recording/native-mounting-substitutes.ts new file mode 100644 index 00000000000..6a85b39e020 --- /dev/null +++ b/mobile/src/test-support/rpc-recording/native-mounting-substitutes.ts @@ -0,0 +1,127 @@ +import { Buffer } from 'node:buffer' +import * as React from 'react' +import * as ReactJsxRuntime from 'react/jsx-runtime' +import { sha256 } from '@noble/hashes/sha256' +import * as zod from 'zod' +import { + nativeStoreModule, + partialNativeModule, + silentNativeSubscription +} from './native-module-traps' +import { reactNativeScreenMembers, screenNativeSubstitutes } from './screen-native-substitutes' + +/** + * The native modules a mounted operation may import, and what it gets instead. + * + * The loader's default is a proxy that refuses any member of a non-relative import, which is what + * keeps an adapter from silently mounting a device API. That default is too strict for the relay + * pairing modules: each builds a `defaultDependencies` object at module scope, so merely + * *referencing* `Platform.OS` or a storage-backed loader throws before an adapter can override it. + * + * So the table separates reference from use. `react` and `zod` are the real libraries — pure, and + * React additionally has to be the one instance the test renderer drives, which is also why + * `react/jsx-runtime` is the real module: the automatic runtime a screen compiles to must build + * elements for that instance. `@noble/hashes` is the same pure-JS digest the product would run on a + * device, and `expo-crypto` is routed through the Web Crypto the recording scheduler already pins, + * which is both deterministic and what the library itself does off-device. + * + * Every substitute keeps one of the two trap shapes in `native-module-traps.ts`, which is where the + * rule about unlisted members and `__esModule` lives. The view packages a mounted screen needs are + * in `screen-native-substitutes.ts`, and the two entries a scenario can declare for itself — the + * device store and the notification tray — are in `declared-device-state.ts`, absent here until a + * recording declares them. + * + * `AppState`, `useWindowDimensions`, the two-way audio module and `expo-keep-awake` are the same + * kind of boundary as the scripted socket: a screen-lock tag, a window size and a microphone are + * inputs the recording pins rather than reads. Each is inert — no listener is ever fired and no + * audio is produced — because every send the dictation and terminal hooks make is driven through + * the operation's own API instead. A recording that needed a native event would have to say so by + * adding an emitter here. + * + * `expo-haptics` is the only one whose real members are already fire-and-forget: every caller in + * `platform/haptics.ts` is `void …catch(() => {})`, so resolving is what the device does with the + * reply too. Only the iOS members are listed because `Platform.OS` above is pinned to `ios` and + * the Android branch is never evaluated; adding a second platform would have to add them. + * + * `expo-clipboard` is a pasteboard the session screens read and write, so it is a fixture rather + * than a no-op: it starts empty and remembers what a recorded action put there. It is per-recording, + * so nothing leaks between scenarios. Unlike the declared entries it needs no declaration, because + * every byte it can return was written inside the same recording. + */ +/** The system pasteboard as a per-recording cell: empty at mount, readable after a write. */ +function pasteboardNativeStore(): unknown { + let text: string | null = null + return partialNativeModule('expo-clipboard', { + getStringAsync: () => Promise.resolve(text ?? ''), + hasStringAsync: () => Promise.resolve(text !== null), + hasImageAsync: () => Promise.resolve(false), + setStringAsync: (value: string) => { + text = value + return Promise.resolve(true) + } + }) +} + +export function nativeMountingSubstitutes(): Map { + return new Map([ + ['react', React], + ['react/jsx-runtime', ReactJsxRuntime], + ['zod', zod], + ['@noble/hashes/sha256', partialNativeModule('@noble/hashes/sha256', { sha256 })], + [ + 'expo-crypto', + partialNativeModule('expo-crypto', { + getRandomBytes: (length: number) => + globalThis.crypto.getRandomValues(new Uint8Array(length)) + }) + ], + // The RN polyfill mobile bundles is this same pure implementation of the same encoding. + ['buffer', partialNativeModule('buffer', { Buffer })], + // One pinned platform per recording; `platform` is golden provenance, not a compared field. + [ + 'react-native', + partialNativeModule('react-native', { + Platform: { OS: 'ios' }, + AppState: { currentState: 'active', addEventListener: silentNativeSubscription }, + BackHandler: { addEventListener: silentNativeSubscription }, + Keyboard: { dismiss: () => {} }, + useWindowDimensions: () => ({ width: 390, height: 844 }), + ...reactNativeScreenMembers() + }) + ], + [ + '@orca/expo-two-way-audio', + partialNativeModule('@orca/expo-two-way-audio', { + addExpoTwoWayAudioEventListener: silentNativeSubscription, + initialize: () => Promise.resolve(true), + requestMicrophonePermissionsAsync: () => Promise.resolve({ granted: true }), + tearDown: () => Promise.resolve(), + toggleRecording: () => true + }) + ], + [ + 'expo-haptics', + partialNativeModule('expo-haptics', { + impactAsync: () => Promise.resolve(), + notificationAsync: () => Promise.resolve(), + selectionAsync: () => Promise.resolve(), + ImpactFeedbackStyle: { Light: 'light', Medium: 'medium' }, + NotificationFeedbackType: { Error: 'error', Success: 'success' } + }) + ], + ['expo-clipboard', pasteboardNativeStore()], + [ + 'expo-keep-awake', + partialNativeModule('expo-keep-awake', { + activateKeepAwakeAsync: () => Promise.resolve(), + deactivateKeepAwake: () => {} + }) + ], + ...screenNativeSubstitutes(), + [ + '@react-native-async-storage/async-storage', + nativeStoreModule('@react-native-async-storage/async-storage') + ], + ['expo-secure-store', nativeStoreModule('expo-secure-store')] + ]) +} diff --git a/mobile/src/test-support/rpc-recording/operation-module-loader.test.ts b/mobile/src/test-support/rpc-recording/operation-module-loader.test.ts new file mode 100644 index 00000000000..bf8d411cff7 --- /dev/null +++ b/mobile/src/test-support/rpc-recording/operation-module-loader.test.ts @@ -0,0 +1,105 @@ +import { mkdtempSync, mkdirSync, writeFileSync } from 'node:fs' +import { tmpdir } from 'node:os' +import { join } from 'node:path' +import { createElement } from 'react' +import { act, create } from 'react-test-renderer' +import { afterAll, describe, expect, it } from 'vitest' +import { operationModuleLoader } from './operation-module-loader' + +/** + * A tree of source files instead of a product path, so these two properties are pinned by what the + * loader does rather than by what one screen happens to import today. + */ +const roots: string[] = [] +function loaderOver(files: Record): ReturnType { + const root = mkdtempSync(join(tmpdir(), 'rpc-loader-')) + roots.push(root) + for (const [name, source] of Object.entries(files)) { + mkdirSync(join(root, 'mobile/src'), { recursive: true }) + writeFileSync(join(root, 'mobile/src', name), source) + } + return operationModuleLoader(root) +} + +afterAll(() => { + roots.length = 0 +}) + +describe('the mounted module loader', () => { + /** + * Product sources compile with the automatic runtime and never import React, so a classic + * `React.createElement` emit throws `React is not defined` on the first render of every screen. + */ + it('compiles JSX against the automatic runtime and the React the test renderer drives', () => { + const modules = loaderOver({ + 'screen.tsx': ` + import { View } from 'react-native' + export function Screen(props: { label: string }) { + return {props.label} + } + ` + }) + const { Screen } = modules.load<{ Screen: (props: { label: string }) => unknown }>( + 'mobile/src/screen.tsx' + ) + let rendered: ReturnType | undefined + act(() => { + rendered = create(createElement(Screen, { label: 'files' })) + }) + expect(rendered?.toJSON()).toEqual({ + type: 'View', + props: { accessibilityLabel: 'files' }, + children: ['files'] + }) + }) + + /** + * Both interop helpers short-circuit on `__esModule`, so the trap binds as the module itself in + * all three import forms: the module loads, and the refusal lands on the member a recording + * actually wanted rather than on every module that merely mentions the package. + */ + it('lets a default import of an unlisted package load, and refuses the member it uses', () => { + const modules = loaderOver({ + 'uses-default.ts': ` + import Animated from 'react-native-not-substituted' + export const read = () => Animated.createAnimatedComponent + ` + }) + const { read } = modules.load<{ read: () => unknown }>('mobile/src/uses-default.ts') + expect(typeof read).toBe('function') + expect(() => read()).toThrow( + 'Unspecified native mounting dependency: react-native-not-substituted.default' + ) + }) + + it('refuses a named import of an unlisted package on the read', () => { + const modules = loaderOver({ + 'uses-named.ts': ` + import { thing } from 'expo-not-substituted' + export const read = () => thing + ` + }) + const { read } = modules.load<{ read: () => unknown }>('mobile/src/uses-named.ts') + expect(() => read()).toThrow( + 'Unspecified native mounting dependency: expo-not-substituted.thing' + ) + }) + + /** + * What lets a screen mount a module such as `platform/haptics.ts`, which imports a device package + * it only touches on a press: loading the importer is not itself a use. + */ + it('lets a namespace import of an unlisted package load, and refuses the member it reads', () => { + const modules = loaderOver({ + 'uses-namespace.ts': ` + import * as Haptics from 'expo-not-substituted' + export const read = () => Haptics.selectionAsync + ` + }) + const { read } = modules.load<{ read: () => unknown }>('mobile/src/uses-namespace.ts') + expect(typeof read).toBe('function') + expect(() => read()).toThrow( + 'Unspecified native mounting dependency: expo-not-substituted.selectionAsync' + ) + }) +}) diff --git a/mobile/src/test-support/rpc-recording/operation-module-loader.ts b/mobile/src/test-support/rpc-recording/operation-module-loader.ts index 5a33841d321..e1979895572 100644 --- a/mobile/src/test-support/rpc-recording/operation-module-loader.ts +++ b/mobile/src/test-support/rpc-recording/operation-module-loader.ts @@ -1,8 +1,8 @@ import { compileFunction } from 'node:vm' import { existsSync, readFileSync } from 'node:fs' import { dirname, resolve } from 'node:path' -import * as React from 'react' import ts from 'typescript' +import { nativeMountingSubstitutes } from './native-mounting-substitutes' import * as deliveryAmbiguity from '../../transport/rpc-delivery-ambiguity' export type OperationModule = Record unknown> @@ -26,9 +26,12 @@ const SHARED_MODULE = 'mobile/src/transport/rpc-delivery-ambiguity.ts' export function operationModuleLoader( root: string, mutation?: OperationMutation, - exposures: readonly OperationExposure[] = [] + exposures: readonly OperationExposure[] = [], + /** What this recording declared about its device, overlaid on the refusing defaults. */ + declared: ReadonlyMap = new Map() ) { const cache = new Map() + const natives = new Map([...nativeMountingSubstitutes(), ...declared]) const sharedModulePath = resolve(root, SHARED_MODULE) let mutationCount = 0 function pathFor(base: string): string { @@ -41,8 +44,9 @@ export function operationModuleLoader( return file } function imported(base: string, name: string): unknown { - if (name === 'react') { - return React + const native = natives.get(name) + if (native !== undefined) { + return native } if (name.startsWith('.') && pathFor(resolve(dirname(base), name)) === sharedModulePath) { return deliveryAmbiguity @@ -51,8 +55,15 @@ export function operationModuleLoader( return new Proxy( {}, { - get: () => { - throw new Error(`Unspecified native mounting dependency: ${name}`) + // Answering `__esModule` binds this trap as the module itself in every import form; the + // rule is in the `__esModule` paragraph of `native-module-traps.ts`. The refusal then + // lands on the first member the emit reads, which for a default import is `.default` + // rather than whichever member the product went on to touch. + get: (_target, key) => { + if (key === '__esModule') { + return true + } + throw new Error(`Unspecified native mounting dependency: ${name}.${String(key)}`) } } ) @@ -131,7 +142,9 @@ export function operationModuleLoader( compilerOptions: { module: ts.ModuleKind.CommonJS, target: ts.ScriptTarget.ES2022, - jsx: ts.JsxEmit.React + // Product sources use the automatic runtime and never import React, so a classic + // `React.createElement` emit throws `React is not defined` on the first screen render. + jsx: ts.JsxEmit.ReactJSX } }).outputText const exposure = exposures.find(([suffix]) => file.endsWith(suffix))?.[1] ?? '' diff --git a/mobile/src/test-support/rpc-recording/pilot-mount-adapters.ts b/mobile/src/test-support/rpc-recording/pilot-mount-adapters.ts index 4fda6b195ef..0c5e186b9cd 100644 --- a/mobile/src/test-support/rpc-recording/pilot-mount-adapters.ts +++ b/mobile/src/test-support/rpc-recording/pilot-mount-adapters.ts @@ -1,4 +1,5 @@ import { MOUNTED_OPERATION_MODULES } from './adapters/mounted-operation-modules' +import { declaredDeviceSubstitutes, type DeclaredDeviceState } from './declared-device-state' import { operationModuleLoader, type OperationMutation } from './operation-module-loader' import type { MountOptions } from './mounted-operation-module' import type { MountAdapter } from './recording-scenario' @@ -14,11 +15,12 @@ import type { MountAdapter } from './recording-scenario' */ export function pilotMountAdapters( root: string, - options: MountOptions & { mutation?: OperationMutation } = {} + options: MountOptions & { mutation?: OperationMutation; device?: DeclaredDeviceState } = {} ) { + const device = declaredDeviceSubstitutes(options.device ?? {}) const loaders = MOUNTED_OPERATION_MODULES.map((module) => ({ module, - modules: operationModuleLoader(root, options.mutation, module.exposes ?? []) + modules: operationModuleLoader(root, options.mutation, module.exposes ?? [], device.substitutes) })) const adapters: Record = {} for (const { module, modules } of loaders) { @@ -26,7 +28,12 @@ export function pilotMountAdapters( if (operation in adapters) { throw new Error(`Two adapter modules mount ${operation}`) } - adapters[operation] = adapter + // The declared device writes through the same effect recorder the adapter is handed, so a + // scenario records one without its adapter having to wire the sink itself. + adapters[operation] = (context) => { + device.bind(context.effect) + return adapter(context) + } } } return { diff --git a/mobile/src/test-support/rpc-recording/pilot-recordings.test.ts b/mobile/src/test-support/rpc-recording/pilot-recordings.test.ts index 815e0e71c4b..4c0909b91aa 100644 --- a/mobile/src/test-support/rpc-recording/pilot-recordings.test.ts +++ b/mobile/src/test-support/rpc-recording/pilot-recordings.test.ts @@ -32,7 +32,7 @@ describe('RPC main recordings', () => { it(pilot.title, async () => { let first = '' for (let run = 0; run < determinismRuns(); run++) { - const { adapters } = pilotMountAdapters(root) + const { adapters } = pilotMountAdapters(root, { device: scenario }) const recording = await runRecording( scenario, adapters[scenario.operation], diff --git a/mobile/src/test-support/rpc-recording/recorder-fixture-shape.ts b/mobile/src/test-support/rpc-recording/recorder-fixture-shape.ts new file mode 100644 index 00000000000..b65c078fafa --- /dev/null +++ b/mobile/src/test-support/rpc-recording/recorder-fixture-shape.ts @@ -0,0 +1,95 @@ +/** + * The shape a recorder fixture may take for the product value it stands in for: every member + * optional at every depth, but no member the real type does not have, and no member with the wrong + * type. That is what a mount fixture actually is — deliberately partial, because it carries only + * what the mounted hook reads, yet still a subset of the real thing. + * + * Here rather than outside the recorder because `mobile/scripts/rpc-recording.mts` fences every + * path under `mobile/src` except this directory, so a file outside it fails recording as an unpinned + * product source. In the engine rather than under `adapters/` because the seam forbids one adapter + * importing another, and every adapter may import the engine. + * + * Functions pass through whole: a fixture stub like `async () => 0` stands in for a callback, and + * making its parameters optional would accept a stub the hook cannot call. That branch is also what + * refuses a structural stand-in for a `Date`, whose members are all methods. A set or a map has + * members that are not, so those two pass through whole as well. + * + * A member may also be `null` even where the product type says only optional, because these + * fixtures stand in for JSON the host sent and JSON spells an absent object `null`. Rejecting it + * would push the fixtures away from what a host actually sends, not towards it. + */ +export type PartialRecorderFixture = T extends (...args: never[]) => unknown + ? T + : T extends ReadonlySet | ReadonlyMap + ? T + : T extends readonly (infer Element)[] + ? readonly PartialRecorderFixture[] + : T extends object + ? { readonly [Key in keyof T]?: PartialRecorderFixture | null } + : T + +/** + * The recorder supplies only the members the mounted action reads; completing the fixture into a + * full domain object would invent data no scenario observes. `NoInfer` makes the target the + * parameter's type rather than the fixture's, so a member the real type does not have is an error + * here instead of a silently wrong recording. + */ +export function mountFixture(value: PartialRecorderFixture>): T { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: checked as a deep subset of T above; the recorder supplies every member the action reads. + return value as T +} + +/** + * What the type above accepts and refuses, as compile errors rather than as a claim. It lives in + * this file rather than its own because `recorderSha256` pins every file in this directory and + * `mutant-seam.test.ts` refuses one no recording driver can reach: a compile fence reaches nothing, + * so on its own it would re-digest every golden while being unable to move one. + * `pnpm --dir mobile typecheck` covers this file and excludes every `.test.ts`, so these cases are + * the only thing holding the branches up — without them the type records zero errors either way, + * because no fixture in the tree happens to carry a callback, a set or a map. + */ +type Fixture = { + readonly onPick: (id: string) => void + readonly at: Date + readonly tags: ReadonlySet + readonly byId: ReadonlyMap + readonly labels: readonly { readonly name: string }[] + readonly source: { readonly id: string } | undefined +} + +export const accepted = mountFixture({ + onPick: () => {}, + labels: [{ name: 'bug' }], + // JSON spells an absent object `null`, which the product type does not say + source: null +}) + +export const refusedCallback = mountFixture({ + // @ts-expect-error a number cannot stand in for the callback the hook invokes + onPick: 3 +}) + +export const refusedDate = mountFixture({ + // @ts-expect-error a structural stand-in is not the Date the hook reads + at: { getTime: 5 } +}) + +export const refusedSet = mountFixture({ + // @ts-expect-error an object with no Set members is not a Set + tags: {} +}) + +export const refusedMap = mountFixture({ + // @ts-expect-error an object with no Map members is not a Map + byId: {} +}) + +export const refusedMember = mountFixture({ + // @ts-expect-error the product type has no such member + unknownMember: 'x' +}) + +export const refusedElement = mountFixture({ + // @ts-expect-error the element type has no such member + labels: [{ nmae: 'bug' }] +}) diff --git a/mobile/src/test-support/rpc-recording/recording-runner.test.ts b/mobile/src/test-support/rpc-recording/recording-runner.test.ts index 0a92941e602..7b523be49ff 100644 --- a/mobile/src/test-support/rpc-recording/recording-runner.test.ts +++ b/mobile/src/test-support/rpc-recording/recording-runner.test.ts @@ -445,7 +445,7 @@ describe('recording boundaries', () => { const root = mkdtempSync(join(tmpdir(), 'rpc-mutant-')) try { const anchor = - "const overrides = settings == null ? undefined : Reflect.get(Object(settings), 'prBotAuthorOverrides')" + "const overrides = settings == null ? undefined : settingsField(settings, 'prBotAuthorOverrides')" mkdirSync(join(root, 'mod'), { recursive: true }) writeFileSync( join(root, 'mod/settings-read-operations.ts'), diff --git a/mobile/src/test-support/rpc-recording/recording-scenario.ts b/mobile/src/test-support/rpc-recording/recording-scenario.ts index ee1fe21814f..e3d09073fc7 100644 --- a/mobile/src/test-support/rpc-recording/recording-scenario.ts +++ b/mobile/src/test-support/rpc-recording/recording-scenario.ts @@ -1,4 +1,5 @@ import type { RpcClient } from '../../transport/rpc-client' +import type { DeclaredDeviceState } from './declared-device-state' import type { RecordedValue } from './recording-values' export type RpcRequestSender = Pick @@ -18,7 +19,8 @@ export type ScenarioStep = | { bind: string; request: string; params: unknown; optional?: true } | { advance: number } | { checkpoint: string } -export type RecordingScenario = { +/** A scenario may declare device state; see `declared-device-state.ts` for what a declaration buys. */ +export type RecordingScenario = DeclaredDeviceState & { id: string operation: string version: number diff --git a/mobile/src/test-support/rpc-recording/relay-pairing-fixtures.ts b/mobile/src/test-support/rpc-recording/relay-pairing-fixtures.ts new file mode 100644 index 00000000000..8514275af1f --- /dev/null +++ b/mobile/src/test-support/rpc-recording/relay-pairing-fixtures.ts @@ -0,0 +1,121 @@ +import type { MobileRelayCredentialBundle } from '../../transport/mobile-relay-credential-bundle' +import type { MobileRelayPairingJournal } from '../../transport/mobile-relay-pairing-journal' +import type { MountContext } from './recording-scenario' +import type { operationModuleLoader } from './operation-module-loader' + +export const HOST_ID = 'host-1' +const DEVICE_TOKEN = 'device-token-1' +const PUBLIC_KEY_B64 = 'AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8=' +const ENDPOINT = 'ws://192.168.1.10:8765' +const RELAY_HOST_ID = 'relay-host-0001x' +const INVITE_TOKEN = 'invite000000000000000000000000000000000001x' +export const PENDING_RESUME_TOKEN = 'pending00000000000000000000000000000000001x' +const CURRENT_RESUME_TOKEN = 'current00000000000000000000000000000000001x' +export const INSTALL_REQ_ID = 'install-fixture-1' +const RESUME_CONFIRM_REQ_ID = 'confirm-fixture-1' +export const JOURNAL_ID = 'pair-fixture-1' +const OFFER_FINGERPRINT = 'fingerprint0000000000000000000000000000001' +const DIRECTOR_URL = 'https://director.example' +const CELL_URL = 'https://cell.example' +const INVITE_LIFETIME_MS = 5 * 60 * 1000 + +/** The product's own credential hash, loaded from source: a stand-in would record a fiction. */ +export function credentialHash(modules: ReturnType) { + return modules.load( + 'mobile/src/transport/mobile-relay-credential-hash.ts' + ).hashMobileRelayCredential +} + +function relayEndpoint() { + return { + v: 1 as const, + directorUrl: DIRECTOR_URL, + cellUrl: CELL_URL, + assignmentEpoch: 1, + relayHostId: RELAY_HOST_ID, + e2eeFraming: 2 as const + } +} + +export function pairingRelay() { + return { + ...relayEndpoint(), + inviteToken: INVITE_TOKEN, + inviteExpiresAt: Date.now() + INVITE_LIFETIME_MS + } +} + +export function pairingOffer() { + return { + v: 2 as const, + endpoint: ENDPOINT, + deviceToken: DEVICE_TOKEN, + publicKeyB64: PUBLIC_KEY_B64, + relay: pairingRelay() + } +} + +export function directHost() { + return { + id: HOST_ID, + name: 'Fixture host', + endpoint: ENDPOINT, + deviceToken: DEVICE_TOKEN, + publicKeyB64: PUBLIC_KEY_B64, + lastConnected: Date.now() + } +} + +export function credentialBundle(hash: (token: string) => string): MobileRelayCredentialBundle { + return { + v: 1, + hostId: HOST_ID, + deviceToken: DEVICE_TOKEN, + current: { + token: CURRENT_RESUME_TOKEN, + hash: hash(CURRENT_RESUME_TOKEN), + version: 3, + expiresAt: Date.now() + 60_000 + } + } +} + +export function pairingJournal(hash: (token: string) => string): MobileRelayPairingJournal { + return { + metadata: { + v: 1, + journalId: JOURNAL_ID, + offerFingerprint: OFFER_FINGERPRINT, + host: { + id: HOST_ID, + name: 'Fixture host', + endpoint: ENDPOINT, + publicKeyB64: PUBLIC_KEY_B64, + lastConnected: 0 + }, + relay: { ...relayEndpoint(), inviteExpiresAt: Date.now() + INVITE_LIFETIME_MS }, + installReqId: INSTALL_REQ_ID, + resumeConfirmReqId: RESUME_CONFIRM_REQ_ID, + pendingResumeTokenHash: hash(PENDING_RESUME_TOKEN) + }, + secrets: { + v: 1, + journalId: JOURNAL_ID, + deviceToken: DEVICE_TOKEN, + inviteToken: INVITE_TOKEN, + pendingResumeToken: PENDING_RESUME_TOKEN + } + } +} + +/** + * A pairing candidate over the scripted transport. Spread rather than a named `sendRequest`: the + * raw-port ratchet counts the literal, and an adapter faking a candidate is not a new call site. + */ +export function candidateClient( + client: MountContext['client'], + effect: MountContext['effect'], + path: 'direct' | 'relay' +) { + return { ...client, close: () => effect('candidate-closed', path) } +} diff --git a/mobile/src/test-support/rpc-recording/run-recording.ts b/mobile/src/test-support/rpc-recording/run-recording.ts index 9ace2a7a7c0..0c2022012fb 100644 --- a/mobile/src/test-support/rpc-recording/run-recording.ts +++ b/mobile/src/test-support/rpc-recording/run-recording.ts @@ -22,11 +22,14 @@ export async function runRecording( ): Promise { scheduler.start() const transport = new ScriptedRpcTransport(scheduler.elapsed) - const effects: { name: string; value: RecordedValue }[] = [] + const effects: { name: string; value: RecordedValue; sent: number }[] = [] const settlements: Record = {} const recording: Recording = { scenario: scenario.id, checkpoints: [] } const effect = (name: string, value: unknown) => { - effects.push({ name, value: captureValue(value) }) + // Why the send count: sender and effects are two independent lists, so a send reordered ahead of + // a device write moves neither of them. Stamping the count at push time orders them against + // each other, and that reordering becomes a golden diff. + effects.push({ name, value: captureValue(value), sent: transport.requests.length }) } const stopUnhandled = recordUnhandledRejections(effect) let mounted: MountedOperation | undefined diff --git a/mobile/src/test-support/rpc-recording/screen-native-substitutes.test.ts b/mobile/src/test-support/rpc-recording/screen-native-substitutes.test.ts new file mode 100644 index 00000000000..a16a9e25763 --- /dev/null +++ b/mobile/src/test-support/rpc-recording/screen-native-substitutes.test.ts @@ -0,0 +1,111 @@ +import { createElement, type ElementType } from 'react' +import { act, create } from 'react-test-renderer' +import { describe, expect, it } from 'vitest' +import { inertIconModule } from './inert-native-elements' +import { nativeMountingSubstitutes } from './native-mounting-substitutes' +import { reactNativeScreenMembers, screenNativeSubstitutes } from './screen-native-substitutes' + +function member(module: string, name: string): unknown { + const substitute = nativeMountingSubstitutes().get(module) + if (substitute === undefined) { + throw new Error(`no substitute for ${module}`) + } + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the read is the assertion; a substitute proxy has no declared shape. + return (substitute as Record)[name] +} + +/** Every element a screen can render through the table, by the module it is imported from. */ +const INERT_ELEMENTS: readonly (readonly [string, string])[] = [ + ...Object.entries(reactNativeScreenMembers()) + .filter(([, value]) => typeof value === 'function') + .map(([name]): readonly [string, string] => ['react-native', name]), + ['react-native-safe-area-context', 'SafeAreaView'] +] + +describe('the inert screen substitutes', () => { + /** + * The whole contract in one place: an inert element renders its children and keeps its props + * where a projection can read them, and does nothing else — the callbacks it is handed are never + * invoked, including a render callback passed as its children. + */ + it.each(INERT_ELEMENTS)('renders %s.%s inertly', (module, name) => { + let invoked = 0 + const element = member(module, name) + let rendered: ReturnType | undefined + act(() => { + rendered = create( + createElement( + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: every entry above is an inert element component by construction. + element as ElementType, + { testID: name, onPress: () => invoked++, renderItem: () => invoked++ }, + 'child' + ) + ) + }) + const tree = rendered?.toJSON() + expect(invoked).toBe(0) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: a rendered host node carries exactly these fields. + const node = tree as { type: string; props: Record; children: unknown } + expect(node.props.testID).toBe(name) + expect(typeof node.props.onPress).toBe('function') + expect(node.children).toEqual(['child']) + }) + + it('drops a render callback passed as children rather than calling it', () => { + let invoked = 0 + let rendered: ReturnType | undefined + act(() => { + rendered = create( + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the substitute is an inert element component by construction. + createElement(member('react-native', 'Pressable') as ElementType, {}, () => { + invoked++ + return null + }) + ) + }) + expect(invoked).toBe(0) + const tree = rendered?.toJSON() + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: a rendered host node carries exactly these fields. + expect((tree as { children: unknown }).children).toBeNull() + }) + + it('pins the device inputs a screen reads instead of measuring them', () => { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the member is a hook by construction. + expect((member('react-native', 'useWindowDimensions') as () => unknown)()).toEqual({ + width: 390, + height: 844 + }) + expect(member('react-native', 'StyleSheet')).toMatchObject({ hairlineWidth: 1 }) + }) + + it('keeps a style sheet readable so a screen that reads one style sees it', () => { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the member is the substituted StyleSheet by construction. + const sheet = member('react-native', 'StyleSheet') as { + create: (value: unknown) => unknown + flatten: (value: unknown) => unknown + } + expect(sheet.create({ row: { flex: 1 } })).toEqual({ row: { flex: 1 } }) + expect(sheet.flatten([{ flex: 1 }, [{ gap: 2 }]])).toEqual({ flex: 1, gap: 2 }) + }) + + it('answers any icon name with its own element, because every export here is an icon', () => { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the icon module answers every string key. + const icons = inertIconModule() as Record + expect(icons.ChevronLeft).toBe(icons.ChevronLeft) + act(() => { + create(createElement(icons.ChevronLeft!, { size: 20 })) + }) + }) + + it('throws on a member nobody listed, in every screen package', () => { + for (const [module, substitute] of screenNativeSubstitutes()) { + if (module === 'lucide-react-native') { + continue + } + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the read is the assertion; a substitute proxy has no declared shape. + expect(() => (substitute as Record).notASubstitutedMember).toThrow( + `Unsubstituted native member: ${module}.notASubstitutedMember` + ) + } + }) +}) diff --git a/mobile/src/test-support/rpc-recording/screen-native-substitutes.ts b/mobile/src/test-support/rpc-recording/screen-native-substitutes.ts new file mode 100644 index 00000000000..1a518be95d5 --- /dev/null +++ b/mobile/src/test-support/rpc-recording/screen-native-substitutes.ts @@ -0,0 +1,63 @@ +import { inertIconModule, inertNativeElements } from './inert-native-elements' +import { partialNativeModule } from './native-module-traps' + +/** + * The view packages a mounted screen imports, and what it gets instead. + * + * Every element here is inert (see `inert-native-elements.ts`) and every member follows the table's + * rule: only what a recording is known to read is listed, and the rest throws — `native-module-traps.ts` + * has the refusal and the `__esModule` exemption. A screen is mounted to observe the requests it + * sends and the state it publishes, so nothing below simulates a device: no layout is measured and + * no navigation happens. What a recording needs from any of them is that the render completes. + * + * Nothing is provisioned ahead of a reader, which is the point. A member listed before a recording + * reads it turns a refusal that would have forced a decision into a silent stand-in, so a screen + * reaching for an animation, a gesture or another primitive gets the named refusal instead, and + * whoever mounts it adds the member here together with the recording that reads it. + * + * `hairlineWidth` is the one device input pinned rather than refused, for the same reason the window + * size is: a pixel density is a pixel density, and a recording fixes it instead of reading it. + */ +export function screenNativeSubstitutes(): Map { + return new Map([ + [ + 'react-native-safe-area-context', + partialNativeModule('react-native-safe-area-context', inertNativeElements(['SafeAreaView'])) + ], + [ + 'expo-router', + // One router per recording, so a screen that closes over it keeps a stable callback. + partialNativeModule('expo-router', { useRouter: constantRouter }) + ], + ['lucide-react-native', inertIconModule()] + ]) +} + +const ROUTER = { push: () => {}, replace: () => {}, back: () => {}, dismiss: () => {} } +function constantRouter(): typeof ROUTER { + return ROUTER +} + +const ABSOLUTE_FILL = { position: 'absolute', left: 0, right: 0, top: 0, bottom: 0 } + +/** The same merge the real `flatten` does, and pure, so a screen reading one style sees it. */ +function flattenStyle(style: unknown): unknown { + if (!Array.isArray(style)) { + return style ?? {} + } + return Object.assign({}, ...style.map((entry) => flattenStyle(entry))) +} + +/** The react-native primitives and module members a mounted screen reads. */ +export function reactNativeScreenMembers(): Record { + return { + ...inertNativeElements(['ActivityIndicator', 'FlatList', 'Pressable', 'Text', 'View']), + StyleSheet: { + create: (sheet: unknown) => sheet, + flatten: flattenStyle, + hairlineWidth: 1, + absoluteFill: ABSOLUTE_FILL, + absoluteFillObject: ABSOLUTE_FILL + } + } +} diff --git a/mobile/src/transport/direct-rpc-client.ts b/mobile/src/transport/direct-rpc-client.ts index 0031de90c6c..b72c49bd1a7 100644 --- a/mobile/src/transport/direct-rpc-client.ts +++ b/mobile/src/transport/direct-rpc-client.ts @@ -72,7 +72,7 @@ export class DirectRpcClient implements RpcClient { }) this.liveness = new RpcSessionLivenessWatchdog({ transport: 'direct', - sendProbe: (identity) => this.sendLivenessProbe(identity), + sendProbe: (identity) => identity === this.livenessSession && this.sendLivenessProbe(), terminate: (identity) => { if (identity === this.livenessSession && this.socketSession === this.livenessSession) { this.socketClose.forceClose(this.livenessSession) @@ -297,8 +297,8 @@ export class DirectRpcClient implements RpcClient { return false } - private sendLivenessProbe(identity: object): boolean { - if (identity !== this.livenessSession || this.getState() !== 'connected') { + private sendLivenessProbe(): boolean { + if (this.getState() !== 'connected') { return false } return this.sendEncrypted({ diff --git a/mobile/src/transport/host-client-acquisition-registry.ts b/mobile/src/transport/host-client-acquisition-registry.ts index 4e09ebdd9dc..618a4be3c0a 100644 --- a/mobile/src/transport/host-client-acquisition-registry.ts +++ b/mobile/src/transport/host-client-acquisition-registry.ts @@ -1,4 +1,5 @@ -export type HostClientAcquisition = object +/** Holder identity token: the registry only compares references, never reads fields. */ +export type HostClientAcquisition = Record export class HostClientAcquisitionRegistry { private readonly acquisitions = new Map>() diff --git a/mobile/src/transport/host-status-gates.ts b/mobile/src/transport/host-status-gates.ts index 91f0205a5c7..07c25f6afbe 100644 --- a/mobile/src/transport/host-status-gates.ts +++ b/mobile/src/transport/host-status-gates.ts @@ -1,6 +1,7 @@ import { useEffect, useState } from 'react' import type { RpcClient } from './rpc-client' -import type { ConnectionState, RpcSuccess } from './types' +import type { ConnectionState } from './types' +import { hostStatusProbe } from './host-status-probe-operations' import { evaluateCompat, type CompatVerdict } from './protocol-compat' import type { DesktopStatus } from '../worktree/host-worktree-rpc-types' import { normalizeHostAppVersion, recordHostAppVersion } from './host-app-version-store' @@ -47,11 +48,12 @@ export function useHostStatusGates(args: { } void (async () => { try { - const response = await requestClient.sendRequest('status.get') + const reply = await hostStatusProbe.request(requestClient) if (cancelled) { return } - if (!response.ok) { + const accepted = hostStatusProbe.interpret(reply) + if (!accepted.accepted) { settle({ hostCapabilities: [], floatingWorkspaceEnabled: false, @@ -60,7 +62,8 @@ export function useHostStatusGates(args: { }) return } - const status = (response as RpcSuccess).result as DesktopStatus & { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const status = accepted.value as DesktopStatus & { capabilities?: string[] } const verdict = evaluateCompat({ diff --git a/mobile/src/transport/host-status-probe-operations.ts b/mobile/src/transport/host-status-probe-operations.ts new file mode 100644 index 00000000000..02bee9f17cd --- /dev/null +++ b/mobile/src/transport/host-status-probe-operations.ts @@ -0,0 +1,26 @@ +import { bindDeferredRpcOperation, defineRpcOperation } from './rpc-operation' +import { rpcUncheckedPayloadReader } from './rpc-reader-payload' + +/** + * `status.get` as the transport itself asks it: the protocol gate's capability read, the retrying + * runtime capability probe, and the pairing race's "does this path answer at all". + * + * The third named policy on this method, and the second `success-result-or-skip` one. All three + * transport callers agree that a refusal is an absent answer rather than an error — the gate falls + * back to closed gates, the probe backs off and re-asks, the race counts the candidate as failed — + * so they share one operation. It stays separate from the Tasks screen's two (`status.task-runtime` + * surfaces the host's message, `status.create-capabilities-or-skip` is the create drawer's) because + * an operation name is what a decode failure reports, and because transport must not import tasks. + * + * One reader, unchecked, because no caller reads the same field: the gate casts the whole status, + * the probe re-checks `capabilities` is an array of strings itself, and the race discards it. + */ +export const hostStatusProbe = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'status.transport-probe-or-skip', + method: 'status.get', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('host-status') + }) +) diff --git a/mobile/src/transport/mobile-relay-credential-rotation.ts b/mobile/src/transport/mobile-relay-credential-rotation.ts index 9b8a038e8e4..e275668c317 100644 --- a/mobile/src/transport/mobile-relay-credential-rotation.ts +++ b/mobile/src/transport/mobile-relay-credential-rotation.ts @@ -10,6 +10,10 @@ import { type MobileRelayCredentialBundle } from './mobile-relay-credential-bundle' import { hashMobileRelayCredential } from './mobile-relay-credential-hash' +import { + relayCredentialProvision, + relayPairingEndpointsRead +} from './mobile-relay-pairing-operations' import type { RpcClient } from './rpc-client' const CREDENTIAL_ROTATION_WINDOW_MS = 7 * 24 * 60 * 60 * 1000 @@ -48,15 +52,14 @@ export async function rotateMobileRelayCredential(args: { } let endpoints = await getEndpoints(args.client, pending.reqId) if (endpoints.installStatus?.state !== 'committed') { - const response = await args.client.sendRequest('pairing.provisionRelay', { + const installReply = await relayCredentialProvision.request(args.client, { reqId: pending.reqId, newResumeTokenHash: pending.hash, expectedCurrentHash: bundle.current.hash }) - if (!response.ok) { - throw new Error(`${response.error.code}: ${response.error.message}`) - } - const installed = DeviceCredentialInstalledSchema.parse(response.result) + const installed = DeviceCredentialInstalledSchema.parse( + relayCredentialProvision.interpret(installReply) + ) endpoints = await getEndpoints(args.client, pending.reqId) if ( endpoints.installStatus?.state !== 'committed' || @@ -163,11 +166,8 @@ export async function persistResumeConfirmation(args: { } async function getEndpoints(client: RpcClient, installReqId: string) { - const response = await client.sendRequest('pairing.getEndpoints', { installReqId }) - if (!response.ok) { - throw new Error(`${response.error.code}: ${response.error.message}`) - } - return PairingGetEndpointsResultSchema.parse(response.result) + const reply = await relayPairingEndpointsRead.request(client, { installReqId }) + return PairingGetEndpointsResultSchema.parse(relayPairingEndpointsRead.interpret(reply)) } function encodeBase64Url(value: Uint8Array): string { diff --git a/mobile/src/transport/mobile-relay-direct-upgrade.ts b/mobile/src/transport/mobile-relay-direct-upgrade.ts index ed019262bca..ffca1f33163 100644 --- a/mobile/src/transport/mobile-relay-direct-upgrade.ts +++ b/mobile/src/transport/mobile-relay-direct-upgrade.ts @@ -20,12 +20,13 @@ import { writeMobileRelayDirectUpgradeJournal, type MobileRelayDirectUpgradeJournal } from './mobile-relay-direct-upgrade-journal' +import { + relayCredentialProvision, + relayPairingEndpointsRead +} from './mobile-relay-pairing-operations' import type { RpcClient } from './rpc-client' import type { HostProfile } from './types' -import { - isMethodNotFoundRefusal, - requireRpcResultOrThrowCodedError -} from './rpc-acceptance-policies' +import { isMethodNotFoundRefusal } from './rpc-acceptance-policies' export type MobileRelayDirectUpgradeResult = { host: HostProfile @@ -79,16 +80,16 @@ export async function upgradeDirectMobileRelay(args: { throw new Error('relay endpoint unavailable for direct pairing upgrade') } - const provisionResponse = await args.client.sendRequest('pairing.provisionRelay', { + const provisionReply = await relayCredentialProvision.request(args.client, { reqId: journal.reqId, newResumeTokenHash: journal.pendingResumeTokenHash }) - if (isMethodNotFoundRefusal(provisionResponse)) { + if (isMethodNotFoundRefusal(provisionReply)) { await dependencies.clearJournal(args.host.id) return null } const installed = DeviceCredentialInstalledSchema.parse( - requireRpcResultOrThrowCodedError(provisionResponse) + relayCredentialProvision.interpret(provisionReply) ) assertDirectInstall(journal, installed) const reconciled = await getEndpoints(args.client, journal.reqId) @@ -141,11 +142,11 @@ async function getEndpoints( client: RpcClient, installReqId: string ): Promise { - const response = await client.sendRequest('pairing.getEndpoints', { installReqId }) - if (isMethodNotFoundRefusal(response)) { + const reply = await relayPairingEndpointsRead.request(client, { installReqId }) + if (isMethodNotFoundRefusal(reply)) { return 'method-not-found' } - return PairingGetEndpointsResultSchema.parse(requireRpcResultOrThrowCodedError(response)) + return PairingGetEndpointsResultSchema.parse(relayPairingEndpointsRead.interpret(reply)) } function assertDirectInstall( diff --git a/mobile/src/transport/mobile-relay-pairing-operations.ts b/mobile/src/transport/mobile-relay-pairing-operations.ts new file mode 100644 index 00000000000..7854630ede8 --- /dev/null +++ b/mobile/src/transport/mobile-relay-pairing-operations.ts @@ -0,0 +1,38 @@ +import { bindDeferredRpcOperation, defineRpcOperation } from './rpc-operation' +import { rpcUncheckedPayloadReader } from './rpc-reader-payload' + +// The two requests that install and reconcile a relay resume credential. Both are mutations whose +// lost reply is unknown rather than failed, so neither operation retries and neither wraps the +// transport rejection: `request` hands back the promise the transport settled, which is what keeps +// `isRpcDeliveryUnknown` and `isLogicalClientCutoverError` readable at the four call sites. + +/** + * Authorizes one resume credential against the host's install journal, keyed by `reqId` so a + * replay is idempotent. Every caller throws `code: message` on a refusal; two of them read the raw + * envelope for `method_not_found` first, because an old host that does not know the method means + * "this build has no relay", not "the install failed". + */ +export const relayCredentialProvision = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'pairing.provision-relay-credential', + method: 'pairing.provisionRelay', + acceptance: 'require-result-or-throw', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('credential-installed') + }) +) + +/** + * The host's authoritative view: the relay endpoint, the install's committed state and, when the + * caller names a resume confirmation, its lease. This is the only thing any of the four callers + * will commit on — a provision reply alone never promotes a credential. + */ +export const relayPairingEndpointsRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'pairing.relay-endpoints', + method: 'pairing.getEndpoints', + acceptance: 'require-result-or-throw', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('pairing-endpoints') + }) +) diff --git a/mobile/src/transport/mobile-relay-pairing-recovery.ts b/mobile/src/transport/mobile-relay-pairing-recovery.ts index b37a18a06c2..bf1cd5a7c41 100644 --- a/mobile/src/transport/mobile-relay-pairing-recovery.ts +++ b/mobile/src/transport/mobile-relay-pairing-recovery.ts @@ -26,7 +26,10 @@ import { } from './mobile-relay-physical-client' import { createRecoveringPairingRelayCandidate } from './pairing-relay-candidate' import type { HostProfile } from './types' -import { requireRpcResultOrThrowCodedError } from './rpc-acceptance-policies' +import { + relayCredentialProvision, + relayPairingEndpointsRead +} from './mobile-relay-pairing-operations' export type MobileRelayPairingRecoveryResult = 'none' | 'recovered' | 'deferred' | 'abandoned' @@ -128,13 +131,12 @@ async function runRecovery( } if (credential.kind === 'invite' && endpoints.installStatus?.state === 'not-found') { journal = await transitionToInviteAuthorization(journal, dependencies) + const installReply = await relayCredentialProvision.request(client, { + reqId: journal.metadata.installReqId, + newResumeTokenHash: journal.metadata.pendingResumeTokenHash + }) const installed = DeviceCredentialInstalledSchema.parse( - requireRpcResultOrThrowCodedError( - await client.sendRequest('pairing.provisionRelay', { - reqId: journal.metadata.installReqId, - newResumeTokenHash: journal.metadata.pendingResumeTokenHash - }) - ) + relayCredentialProvision.interpret(installReply) ) const reconciled = await getRecoveryStatus(client, journal, 'invite') assertCommitted(reconciled, installed) @@ -220,14 +222,11 @@ async function getRecoveryStatus( journal: MobileRelayPairingJournal, kind: 'resume' | 'invite' ) { - return PairingGetEndpointsResultSchema.parse( - requireRpcResultOrThrowCodedError( - await client.sendRequest('pairing.getEndpoints', { - installReqId: journal.metadata.installReqId, - ...(kind === 'resume' ? { resumeConfirmReqId: journal.metadata.resumeConfirmReqId } : {}) - }) - ) - ) + const reply = await relayPairingEndpointsRead.request(client, { + installReqId: journal.metadata.installReqId, + ...(kind === 'resume' ? { resumeConfirmReqId: journal.metadata.resumeConfirmReqId } : {}) + }) + return PairingGetEndpointsResultSchema.parse(relayPairingEndpointsRead.interpret(reply)) } async function transitionToInviteAuthorization( diff --git a/mobile/src/transport/pairing-candidate-race.ts b/mobile/src/transport/pairing-candidate-race.ts index 7b34c38b1e3..6d5a845c093 100644 --- a/mobile/src/transport/pairing-candidate-race.ts +++ b/mobile/src/transport/pairing-candidate-race.ts @@ -1,3 +1,4 @@ +import { hostStatusProbe } from './host-status-probe-operations' import type { PairingCandidateClient } from './mobile-relay-physical-client' export type PairingCandidatePath = 'direct' | 'relay' @@ -16,9 +17,9 @@ export function racePairingCandidates( let settled = false let selectionQueued = false for (const candidate of candidates) { - void candidate.client.sendRequest('status.get').then( - (response) => { - if (!response.ok) { + void hostStatusProbe.request(candidate.client).then( + (reply) => { + if (!hostStatusProbe.interpret(reply).accepted) { failures++ rejectIfFinished() return diff --git a/mobile/src/transport/pairing-relay-candidate.ts b/mobile/src/transport/pairing-relay-candidate.ts index c4a0a0c91c5..89d28dca252 100644 --- a/mobile/src/transport/pairing-relay-candidate.ts +++ b/mobile/src/transport/pairing-relay-candidate.ts @@ -1,4 +1,5 @@ import type { PairingRelay } from '../../../src/shared/mobile-relay-pairing-offer' +import { hostStatusProbe } from './host-status-probe-operations' import type { MobileRelayPairingJournal } from './mobile-relay-pairing-journal' import { RelayOuterError, type PairingCandidateClient } from './mobile-relay-physical-client' import { RelayDirectorMoveNotNewerError } from './mobile-relay-invite-director' @@ -28,7 +29,7 @@ export function createRecoveringPairingRelayCandidate(args: { return await client.sendRequest(method, params) } catch (error) { if ( - method !== 'status.get' || + method !== hostStatusProbe.operation.method || closed || relay.inviteExpiresAt <= args.now() || !isDirectorRecoverable(error) diff --git a/mobile/src/transport/pre-profile-pairing-coordinator.ts b/mobile/src/transport/pre-profile-pairing-coordinator.ts index eb1f524334e..e4d925fea99 100644 --- a/mobile/src/transport/pre-profile-pairing-coordinator.ts +++ b/mobile/src/transport/pre-profile-pairing-coordinator.ts @@ -8,10 +8,11 @@ import { import { connect, type ConnectOptions } from './rpc-client' import { resolvePairingHostIdentity, saveHost } from './host-store' import type { HostProfile, PairingOffer } from './types' +import { isMethodNotFoundRefusal } from './rpc-acceptance-policies' import { - isMethodNotFoundRefusal, - requireRpcResultOrThrowCodedError -} from './rpc-acceptance-policies' + relayCredentialProvision, + relayPairingEndpointsRead +} from './mobile-relay-pairing-operations' import { createMobileRelayPairingJournal, type MobileRelayPairingJournal @@ -219,7 +220,7 @@ async function runPairing( } } await dependencies.updateJournal(journal.metadata.journalId, () => journal!.metadata) - const provision = await winner.client.sendRequest('pairing.provisionRelay', { + const provision = await relayCredentialProvision.request(winner.client, { reqId: journal.metadata.installReqId, newResumeTokenHash: journal.metadata.pendingResumeTokenHash }) @@ -232,14 +233,13 @@ async function runPairing( return { hostId } } const installed = DeviceCredentialInstalledSchema.parse( - requireRpcResultOrThrowCodedError(provision) + relayCredentialProvision.interpret(provision) ) + const endpointsReply = await relayPairingEndpointsRead.request(winner.client, { + installReqId: journal.metadata.installReqId + }) const endpoints = PairingGetEndpointsResultSchema.parse( - requireRpcResultOrThrowCodedError( - await winner.client.sendRequest('pairing.getEndpoints', { - installReqId: journal.metadata.installReqId - }) - ) + relayPairingEndpointsRead.interpret(endpointsReply) ) assertCommittedInstall(endpoints.installStatus, installed) if (!endpoints.relay) { diff --git a/mobile/src/transport/relay-dial-stage.ts b/mobile/src/transport/relay-dial-stage.ts index c4a743f84f4..06c6e23477c 100644 --- a/mobile/src/transport/relay-dial-stage.ts +++ b/mobile/src/transport/relay-dial-stage.ts @@ -1,3 +1,5 @@ +import type { RpcClient } from './rpc-client' + // Where a relay dial is waiting, so a bound can tell "the cell never answered the // upgrade" from "the cell took the dial and is slow" — the two look identical from // ConnectionState, which stays 'connecting' until relay-hello arrives. @@ -17,12 +19,21 @@ export type RelayDialStageSource = { onDialStageChange(listener: (stage: RelayDialStage) => void): () => void } -export function relayDialStageSource(session: object): RelayDialStageSource | null { - const candidate = session as Partial - return typeof candidate.getDialStage === 'function' && - typeof candidate.onDialStageChange === 'function' - ? (candidate as RelayDialStageSource) - : null +/** An RPC client that may also report relay dial stages; only relay sessions do. */ +export type MaybeRelayDialStageSource = RpcClient & Partial + +function reportsDialStages( + session: MaybeRelayDialStageSource +): session is MaybeRelayDialStageSource & RelayDialStageSource { + return ( + typeof session.getDialStage === 'function' && typeof session.onDialStageChange === 'function' + ) +} + +export function relayDialStageSource( + session: MaybeRelayDialStageSource +): RelayDialStageSource | null { + return reportsDialStages(session) ? session : null } export class RelayDialStageTracker implements RelayDialStageSource { diff --git a/mobile/src/transport/rpc-accepted-result.ts b/mobile/src/transport/rpc-accepted-result.ts new file mode 100644 index 00000000000..a21f2a229e2 --- /dev/null +++ b/mobile/src/transport/rpc-accepted-result.ts @@ -0,0 +1,8 @@ +// Its own module because a consumer that only names this verdict is not an operation +// implementation: importing rpc-operation-contract would pull it into the cast fence's region +// and ban the assertions it legitimately still makes on the raw envelope. + +/** A skip-policy verdict: refusal is distinct from an accepted null/undefined payload. */ +export type RpcAcceptedResult = + | { readonly accepted: false } + | { readonly accepted: true; readonly value: Value } diff --git a/mobile/src/transport/rpc-operation-contract.ts b/mobile/src/transport/rpc-operation-contract.ts index 23bc012319c..2c60546d3b7 100644 --- a/mobile/src/transport/rpc-operation-contract.ts +++ b/mobile/src/transport/rpc-operation-contract.ts @@ -1,6 +1,9 @@ +import type { RpcAcceptedResult } from './rpc-accepted-result' import type { RpcMethodName } from './rpc-params-contract' import type { RpcFailure, RpcResponse, RpcSuccess } from './types' +export type { RpcAcceptedResult } + // An operation descriptor fixes the method, the acceptance policy and the interpretation // barrier at definition time. Per-call freedom over those three is what produced acceptance // drift and settlement-order drift across mobile's RPC call sites, so none of them is a @@ -157,11 +160,6 @@ export type StreamOpenerRpcDefinition< read?: never } -/** Refusal is distinct from an accepted null/undefined payload. */ -export type RpcAcceptedResult = - | { readonly accepted: false } - | { readonly accepted: true; readonly value: Value } - export type RpcReaderAcceptance = | 'require-result-or-throw' | 'object-result-or-null' diff --git a/mobile/src/source-control/mobile-source-control-rpc-sender.ts b/mobile/src/transport/rpc-operation-sender.ts similarity index 57% rename from mobile/src/source-control/mobile-source-control-rpc-sender.ts rename to mobile/src/transport/rpc-operation-sender.ts index 4b7eb44ec15..1ba071316f9 100644 --- a/mobile/src/source-control/mobile-source-control-rpc-sender.ts +++ b/mobile/src/transport/rpc-operation-sender.ts @@ -1,10 +1,10 @@ -import { gitStatusHostPayloadRead } from './mobile-git-read-operations' +import { settingsRead } from './settings-read-operations' /** - * What a source-control operation needs to send with. + * What a bound operation needs to send with. * * Derived from an operation rather than restated, so accepting a client does not require a module * to name the raw request port. It stays exactly as narrow as the `Pick` * it replaces — widening it to `RpcClient` would make every unit test build a whole client. */ -export type MobileSourceControlRpcSender = Parameters[0] +export type RpcOperationSender = Parameters[0] diff --git a/mobile/src/transport/rpc-operation.ts b/mobile/src/transport/rpc-operation.ts index 97f27143e93..a836dc429fb 100644 --- a/mobile/src/transport/rpc-operation.ts +++ b/mobile/src/transport/rpc-operation.ts @@ -248,16 +248,31 @@ export async function interpretAtRpcBarrier< } /** - * Preserves omitted sender arguments as well as explicit undefined. + * Whether a sender may omit the params argument entirely. * - * A params type with no required field may be omitted too, because the raw port always allowed it - * and several hosts' schemas are entirely optional (`preflight.check`). Forcing `{}` there would - * put a new object on the wire where main sent no params at all. + * A params type with no required field may be omitted as well as `void`, because the raw port + * always allowed it and several hosts' schemas are entirely optional (`preflight.check`). Forcing + * `{}` there would put a new object on the wire where main sent no params at all. Shared by both + * send helpers, so single-flight and direct sends cannot disagree about which methods that covers. + */ +type RpcParamsOmittable = + void extends RpcSendParams + ? true + : Record extends RpcSendParams + ? true + : false + +/** + * Preserves omitted sender arguments as well as explicit undefined and explicit null. + * + * `null` is admitted only where the catalog declares no params at all: several shipped senders put + * an explicit `null` on the wire for those methods, and a JSON frame carrying `params: null` is not + * the frame that omits the key. Narrowing them to omission would silently rewrite those bytes. */ type RpcSendArguments = void extends RpcSendParams - ? [params?: RpcSendParams, options?: SendRequestOptions] - : Record extends RpcSendParams + ? [params?: RpcSendParams | null, options?: SendRequestOptions] + : RpcParamsOmittable extends true ? [params?: RpcSendParams, options?: SendRequestOptions] : [params: RpcSendParams, options?: SendRequestOptions] @@ -277,7 +292,7 @@ export function bindDeferredRpcOperation< requestSingleFlight( client: RpcClient, hostId: string, - ...args: void extends RpcSendParams + ...args: RpcParamsOmittable extends true ? [params?: RpcSendParams] : [params: RpcSendParams] ) { diff --git a/mobile/src/transport/rpc-refusal-message.ts b/mobile/src/transport/rpc-refusal-message.ts index 1cc1f6fc592..a330944b9f8 100644 --- a/mobile/src/transport/rpc-refusal-message.ts +++ b/mobile/src/transport/rpc-refusal-message.ts @@ -6,6 +6,20 @@ export function refusedRpcMessageOrFallback(error: unknown, fallback: string): s return (error instanceof Error ? error.message : '') || fallback } +/** + * A reply interpreted, or the host's own refusal message as a plain Error when it refused — the + * screen's copy when it sent none. The caller awaits the request and passes only the interpretation + * as a thunk, so a transport rejection stays outside the catch and reaches the caller as the object + * the transport threw, delivery-unknown mark intact. + */ +export function interpretOrThrowRefusalMessage(interpret: () => T, fallback: string): T { + try { + return interpret() + } catch (error) { + throw new Error(refusedRpcMessageOrFallback(error, fallback)) + } +} + /** * An error a host reported inside an accepted reply, or the screen's copy when it sent none. * diff --git a/mobile/src/transport/rpc-session-liveness-watchdog.ts b/mobile/src/transport/rpc-session-liveness-watchdog.ts index 36525f60fb0..cbe891f810c 100644 --- a/mobile/src/transport/rpc-session-liveness-watchdog.ts +++ b/mobile/src/transport/rpc-session-liveness-watchdog.ts @@ -2,7 +2,10 @@ export const LIVENESS_IDLE_MS = 20_000 export const LIVENESS_PROBE_TIMEOUT_MS = 8_000 export const MISSED_PROBE_LIMIT = 3 -export type RpcSessionIdentity = object +declare const rpcSessionIdentityBrand: unique symbol + +/** Opaque per-session token; only ever compared by reference. */ +export type RpcSessionIdentity = object & { readonly [rpcSessionIdentityBrand]?: never } type WatchdogOptions = { transport: 'direct' | 'relay' diff --git a/mobile/src/transport/runtime-capability-probe.ts b/mobile/src/transport/runtime-capability-probe.ts index 6bec0ca05bd..1cd45a190b2 100644 --- a/mobile/src/transport/runtime-capability-probe.ts +++ b/mobile/src/transport/runtime-capability-probe.ts @@ -1,5 +1,5 @@ -import type { RpcClient } from './rpc-client' -import type { RpcSuccess } from './types' +import type { UnvalidatedRpcRequestPort } from './unvalidated-rpc-request-port' +import { hostStatusProbe } from './host-status-probe-operations' import { isLogicalClientCutoverError } from './stable-logical-rpc-client' // Why: a relay→direct cutover or request timeout can reject an in-flight @@ -9,8 +9,10 @@ const CUTOVER_RETRY_DELAY_MS = 250 const FAILURE_RETRY_BASE_DELAY_MS = 1_000 const FAILURE_RETRY_MAX_DELAY_MS = 15_000 +// The parameter names the raw port rather than RpcClient because one of the four callers holds +// only the sender; the request itself goes through hostStatusProbe. export function startRuntimeCapabilityProbe( - client: Pick, + client: UnvalidatedRpcRequestPort, onCapabilities: (capabilities: readonly string[]) => void ): () => void { let cancelled = false @@ -18,19 +20,21 @@ export function startRuntimeCapabilityProbe( let failureRetries = 0 function attempt(): void { - void client.sendRequest('status.get').then( - (response) => { + void hostStatusProbe.request(client).then( + (reply) => { if (cancelled) { return } - if (!response.ok) { + const accepted = hostStatusProbe.interpret(reply) + if (!accepted.accepted) { scheduleRetry(false) return } - const result = (response as RpcSuccess).result + const result = accepted.value const rawCapabilities = result && typeof result === 'object' - ? (result as { capabilities?: unknown }).capabilities + ? // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + (result as { capabilities?: unknown }).capabilities : null const capabilities = Array.isArray(rawCapabilities) && diff --git a/mobile/src/transport/settings-read-operations.ts b/mobile/src/transport/settings-read-operations.ts index 549b512c87c..d33e66458d2 100644 --- a/mobile/src/transport/settings-read-operations.ts +++ b/mobile/src/transport/settings-read-operations.ts @@ -7,6 +7,12 @@ function settingsMember(raw: unknown): unknown { return boxed!.settings } +// Box primitives so a non-object settings value reads as absent instead of throwing. +function settingsField(settings: unknown, key: string): unknown { + const boxed: Record = Object(settings) + return boxed[key] +} + // Settings remain opaque: callers historically retain fields without validating their shapes. const settingsReader: RpcCompatibleReader = (raw) => ({ compatible: true, @@ -27,7 +33,7 @@ const optionalSettingsReader: RpcCompatibleReader = (raw) => { const settings = raw == null ? undefined : settingsMember(raw) const overrides: unknown = - settings == null ? undefined : Reflect.get(Object(settings), 'prBotAuthorOverrides') + settings == null ? undefined : settingsField(settings, 'prBotAuthorOverrides') return { compatible: true, variant: 'bot-logins', @@ -85,7 +91,7 @@ export const newTabSettingsRead = bindDeferredRpcOperation( const copyTrimsGutterReader: RpcCompatibleReader = (raw) => { const settings = raw == null ? undefined : settingsMember(raw) const trims: unknown = - settings == null ? undefined : Reflect.get(Object(settings), 'terminalCopyTrimsGutter') + settings == null ? undefined : settingsField(settings, 'terminalCopyTrimsGutter') return { compatible: true, variant: 'copy-trims-gutter', diff --git a/mobile/src/transport/unvalidated-rpc-request-port-boundary.test.ts b/mobile/src/transport/unvalidated-rpc-request-port-boundary.test.ts index 422b2925689..d0025e858ac 100644 --- a/mobile/src/transport/unvalidated-rpc-request-port-boundary.test.ts +++ b/mobile/src/transport/unvalidated-rpc-request-port-boundary.test.ts @@ -213,9 +213,11 @@ describe('unvalidated RPC request port boundary', () => { }) it('scans a plausible number of files', () => { - // A broken root or extension filter would make every check below vacuously pass. + // A broken root or extension filter would make every check below vacuously pass. The scan + // width is the load-bearing half: the offender count is what the migration is driving to zero, + // so its floor has to come down as the list does rather than fail on a successful step. expect(scanned.length).toBeGreaterThan(400) - expect(observed.size).toBeGreaterThan(50) + expect(observed.size).toBeGreaterThan(20) }) it('lists each file once', () => { diff --git a/mobile/src/transport/unvalidated-rpc-request-port-inventory.ts b/mobile/src/transport/unvalidated-rpc-request-port-inventory.ts index 722c4e58310..4cf1301d1ac 100644 --- a/mobile/src/transport/unvalidated-rpc-request-port-inventory.ts +++ b/mobile/src/transport/unvalidated-rpc-request-port-inventory.ts @@ -12,6 +12,11 @@ * step-4 migration backlog and shares one reason, stated once here instead of 144 times: * the call site predates the typed contract and still picks its own method string, its own * acceptance rule and its own decoding. Replacing one with an RpcOperation deletes its line. + * + * Where a group below names a blocker, it is a recording blocker, not a migration blocker. + * Pointing a site at an operation is mechanical; the golden recorded against the old code before + * the refactor is the only parity proof this migration has. So a site the recorder cannot mount + * cannot be recorded, and unrecorded sites do not migrate. */ export type UnvalidatedRpcRequestPortEntry = { readonly file: string @@ -52,102 +57,89 @@ export const UNVALIDATED_RPC_REQUEST_PORT_PENDING: readonly UnvalidatedRpcReques // app/ — Expo route screens { file: 'app/terminal-settings.tsx', references: 3 }, - // src/agent-history/ — agent history loads - { file: 'src/agent-history/MobileAgentSessionHistoryPanel.tsx', references: 6 }, - { file: 'src/agent-history/use-mobile-agent-history-state.ts', references: 2 }, + // src/agent-history/ — agent history loads. The history scan and its resume metadata migrated in + // step 4; see mobile-agent-history-operations.ts. + // Holdout: the last reach is a worktree.ps inside the screen component's own effect, which no + // recording can mount without a fabricated react-native view tree. + { file: 'src/agent-history/MobileAgentSessionHistoryPanel.tsx', references: 1 }, - // src/browser/ — hosted browser control - { file: 'src/browser/use-mobile-browser-commands.ts', references: 5 }, - { file: 'src/browser/use-mobile-browser-request.ts', references: 1 }, - - // src/components/ — shared widgets that fetch their own data - { file: 'src/components/codex-reset-credit-capability.ts', references: 2 }, + // src/components/ — shared widgets that fetch their own data. The New Workspace drawer's + // execution target, setup hook, runtime context and Codex capability probe migrated in step 4: + // see new-workspace-operations.ts, codex-reset-credit-capability-operations.ts, and the SSH and + // agent-detection operations in tasks/mobile-workspace-source-operations.ts. Two remain, neither + // recordable. codex-reset-credit.ts loads under the module loader; its attempt-journal access + // throws on async-storage at call time, before the send, and nothing guards it away. The repo + // list fails one module further out: it renders use-last-visited-worktree-repo.ts, whose default + // import of async-storage is a property read the loader's proxy refuses. { file: 'src/components/codex-reset-credit.ts', references: 3 }, - { file: 'src/components/use-new-workspace-execution-target.ts', references: 4 }, { file: 'src/components/use-new-workspace-repositories.ts', references: 1 }, - { file: 'src/components/use-new-workspace-runtime-context.ts', references: 3 }, - { file: 'src/components/use-new-workspace-setup-script.ts', references: 1 }, - // src/dictation/ — dictation session control - { file: 'src/dictation/mobile-dictation-setup.ts', references: 10 }, - - // src/files/ — file read, write and preview - { file: 'src/files/mobile-file-mutation-ownership.ts', references: 3 }, - { file: 'src/files/mobile-file-preview-request.ts', references: 6 }, - { file: 'src/files/mobile-file-tab-doc.ts', references: 4 }, - { file: 'src/files/mobile-terminal-artifact-grant-refresh.ts', references: 2 }, + // src/files/ — file read, write and preview. The preview loader, the terminal-artifact grant + // refresh and save, the session file tab and the mutation-ownership capture migrated in step 4: + // see mobile-file-preview-operations.ts, mobile-file-tab-doc-operations.ts and + // mobile-file-ownership-operations.ts. The explorer panel's two sends sit inline in a React + // Native screen, which the recorder cannot mount and so cannot record. { file: 'src/files/MobileFileExplorerPanel.tsx', references: 2 }, - // src/home/ — home screen host reads - { file: 'src/home/mobile-home-host-requests.ts', references: 5 }, + // src/home/ — home screen host reads. The stats card and both task-provider probes migrated in + // step 4 (mobile-home-host-operations.ts, plus the shared task-tooling reads in + // tasks/mobile-task-runtime-operations.ts). The accounts read stays: its decoder is re-exported + // through a React Native screen module, which no recording can load. + { file: 'src/home/mobile-home-host-requests.ts', references: 2 }, - // src/hooks/ — cross-screen data hooks - { file: 'src/hooks/mobile-dictation-audio-chunk.ts', references: 1 }, - { file: 'src/hooks/mobile-dictation-desktop-start.ts', references: 4 }, - { file: 'src/hooks/use-mobile-dictation.ts', references: 4 }, - - // src/host-screen/ — host screen catalog and actions + // src/host-screen/ — host screen catalog and actions. The repo and label metadata reads, the + // desktop view-settings mirror and the list's pin, remove and activate mutations migrated in + // step 4; see host-screen-operations.ts. What is left sends from inside a React Native screen, + // which the recorder cannot mount. { file: 'src/host-screen/host-screen-overlays.tsx', references: 1 }, - { file: 'src/host-screen/use-host-repo-metadata.ts', references: 1 }, - { file: 'src/host-screen/use-host-view-settings.ts', references: 2 }, - { file: 'src/host-screen/use-host-worktree-actions.ts', references: 3 }, - // src/notifications/ — push registration and delivery + // src/notifications/ — push registration and delivery. Registration and unregistration migrated + // in step 4; see mobile-push-registration-operations.ts. + // Holdout: the unsubscribe is a closure inside a `subscribe` callback, and subscriptions are a + // later step; the request-only recording runner refuses to open one. { file: 'src/notifications/mobile-notifications.ts', references: 1 }, + // Holdout: the send is gated behind the OS notification tray and the keychain host catalog, and + // faking either would record a fiction of device state rather than of the wire. { file: 'src/notifications/push-dismissal-reconciliation.ts', references: 2 }, - { file: 'src/notifications/push-registration.ts', references: 3 }, - // src/session/ — session screen: chat, diff review, PR actions, tabs - { file: 'src/session/ai-vault-resume-launch.ts', references: 3 }, - { file: 'src/session/ai-vault-resume-preparation.ts', references: 2 }, - { file: 'src/session/github-pr-mutations.ts', references: 16 }, - { file: 'src/session/github-pr-rpc.ts', references: 9 }, - { file: 'src/session/mobile-clipboard-image.ts', references: 7 }, - { file: 'src/session/mobile-diff-review-loaders.ts', references: 5 }, - { file: 'src/session/mobile-file-tap-open.ts', references: 3 }, - { file: 'src/session/mobile-image-attachment.ts', references: 2 }, - { file: 'src/session/mobile-native-chat-image-attachment.ts', references: 1 }, - { file: 'src/session/mobile-native-chat-image-send.ts', references: 2 }, - { file: 'src/session/mobile-native-chat-send.ts', references: 2 }, - { file: 'src/session/mobile-native-chat-session-option-persistence.ts', references: 1 }, - { file: 'src/session/mobile-native-chat-stale-input.ts', references: 1 }, - { file: 'src/session/mobile-new-tab-agent-loader.ts', references: 4 }, - { file: 'src/session/mobile-session-tab-activation.ts', references: 3 }, - { file: 'src/session/mobile-session-tabs-stream-health.ts', references: 1 }, - { file: 'src/session/mobile-structured-agent-session-launch.ts', references: 3 }, + // src/session/ — session screen: chat, diff review, PR actions, tabs. The github.* PR surface, + // the diff-review loaders and the rest of the screen migrated in step 4; see + // mobile-session-{read,write,launch}-operations.ts, mobile-clipboard-image-operations.ts and + // mobile-diff-review-git-operations.ts. + // Holdout: the method is a parameter. `callAgentSession` takes a method string and a generic + // result type, and five call sites across two hooks pass their own, plus one inside this module's + // own mutation wrapper; an operation fixes the method at definition time, so migrating it is a + // restructure of those callers rather than of this send. { file: 'src/session/mobile-structured-agent-session-rpc.ts', references: 1 }, - { file: 'src/session/pr-ai-triage-launch.ts', references: 3 }, + // Holdout: unrecorded site, record-first rule. `worktree.show` here sits inside the same focus + // effect as a `runtime.clientEvents` subscription, and the request-only recording runner refuses + // to open one, so no golden can hold this file's behaviour. { file: 'src/session/use-live-worktree-name.ts', references: 1 }, - { file: 'src/session/use-mobile-diff-review-comment-actions.ts', references: 1 }, - { file: 'src/session/use-mobile-diff-review-git-actions.ts', references: 2 }, - { file: 'src/session/use-mobile-diff-review-interactions.ts', references: 1 }, - { file: 'src/session/use-mobile-diff-review-send-actions.ts', references: 3 }, - { file: 'src/session/use-mobile-file-tap-handlers.ts', references: 1 }, - { file: 'src/session/use-mobile-native-chat-file-search.ts', references: 2 }, - { file: 'src/session/use-mobile-native-chat-readability.ts', references: 1 }, + // Holdout: unrecorded site, record-first rule. The `nativeChat.readSession` read lives in the + // paging callback, not in an effect, but only the mount effect's `nativeChat.subscribe` arms the + // offset and generation it pages against — and the request-only runner refuses to open one. { file: 'src/session/use-mobile-native-chat-session.ts', references: 1 }, - { file: 'src/session/use-mobile-native-chat-stop.ts', references: 1 }, - { file: 'src/session/use-mobile-pr-actions.ts', references: 1 }, - { file: 'src/session/use-mobile-pr-branch-context.ts', references: 2 }, - { file: 'src/session/use-mobile-pr-comment-actions.ts', references: 1 }, - { file: 'src/session/use-mobile-pr-title-action.ts', references: 1 }, + // Holdout: unrecorded site, record-first rule. The hook reads the pasteboard and the PTY mode + // registry before the send, so a recording would pin device state rather than the wire. { file: 'src/session/use-mobile-session-accessory-selection.ts', references: 1 }, - { file: 'src/session/use-mobile-session-close-actions.ts', references: 3 }, - { file: 'src/session/use-mobile-session-content-create-actions.ts', references: 4 }, - { file: 'src/session/use-mobile-session-diff-comments.ts', references: 2 }, - { file: 'src/session/use-mobile-session-document-readers.ts', references: 2 }, - { file: 'src/session/use-mobile-session-markdown-actions.ts', references: 1 }, + // Holdout: unrecorded site, record-first rule. The startup effect drives 36 members of the + // session model including the terminal subscription lifecycle, which is a later step. { file: 'src/session/use-mobile-session-startup.ts', references: 2 }, + // Holdout: unrecorded site, record-first rule. The create path subscribes to the terminal it + // makes, and the request-only runner refuses the subscription. { file: 'src/session/use-mobile-session-terminal-create-actions.ts', references: 2 }, + // Holdout: unrecorded site, record-first rule. Gesture input is queued against a live PTY mode + // and a webview handle; neither exists in the runner. { file: 'src/session/use-mobile-session-terminal-input.ts', references: 2 }, - { file: 'src/session/use-mobile-session-terminal-list.ts', references: 1 }, + // Holdout: unrecorded site, record-first rule. The send reads the buffered draft store and the + // keyboard, both native state a recording would have to invent. { file: 'src/session/use-mobile-session-terminal-send-actions.ts', references: 2 }, + // Holdout: unrecorded site, record-first rule. The display-mode write is gated on an open + // terminal subscription, which is a later step. { file: 'src/session/use-mobile-session-terminal-stream-display.ts', references: 1 }, + // Holdout: unrecorded site, record-first rule. The paste reads a clipboard image through + // expo-image-manipulator and expo-file-system before any send. { file: 'src/session/use-mobile-terminal-paste.ts', references: 1 }, - { file: 'src/session/use-quick-commands.ts', references: 2 }, - - // src/settings/ — settings screen actions - { file: 'src/settings/native-voice-settings-operations.ts', references: 1 }, // src/settings/ — notification display probe { file: 'src/settings/notification-display-test.tsx', references: 1 }, @@ -160,60 +152,44 @@ export const UNVALIDATED_RPC_REQUEST_PORT_PENDING: readonly UnvalidatedRpcReques { file: 'src/source-control/use-mobile-git-requests.ts', references: 1 }, // src/tasks/ — task lists, filters and mutations. The workspace-creation half migrated in - // step 4: create, hosted-base resolution, SSH/agent preflight, sparse presets, the Smart - // source picker's provider reads and the screen's own preference writes. See - // mobile-workspace-create-operations.ts, mobile-workspace-source-operations.ts, - // mobile-task-runtime-operations.ts and mobile-task-source-search-operations.ts. What is left - // is the provider item/detail/mutation half, plus two files that cannot reach zero: - // mobile-tasks-source-family.test-support.ts matches the literal in a source scanner rather - // than sending anything, and use-mobile-tasks-project-file-merge-actions.tsx and - // use-mobile-tasks-hosted-metadata-actions.tsx each multiplex a `{ method, params }` step the - // pickers hand them at runtime. + // step 4; the provider item, detail, list and GitHub Projects board half followed, taking 70 + // references across 22 files to zero. See mobile-task-item-detail-operations.ts, + // mobile-task-list-operations.ts, mobile-task-item-comment-operations.ts, + // mobile-task-item-state-operations.ts and mobile-task-project-board-operations.ts, alongside + // the workspace-creation modules. Three files cannot reach zero, and none of them for the + // reason the previous note gave — both `{ method, params }` sites turned out to be local + // two-literal ternaries over the item type, and both migrated: + // + // - mobile-tasks-source-family.test-support.ts matches the literal `'sendRequest'` in a + // source scanner rather than sending anything. + // - mobile-tasks-filter-pickers.tsx sends linear.selectWorkspace from an `onSelect` prop of + // a native PickerModal. Migrating it needs a recorded wire, and the recorder cannot mount + // a module that renders react-native views. + // - use-mobile-tasks-route-and-item-state.tsx reads repo.list from a closure inside the + // screen-root hook, which calls useLocalSearchParams, useRouter, useHostClient and + // useSafeAreaInsets. The recorder has no substitute for any of them. + // + // All three need new recorder capability, not another scenario. { file: 'src/tasks/mobile-tasks-filter-pickers.tsx', references: 1 }, { file: 'src/tasks/mobile-tasks-source-family.test-support.ts', references: 1 }, - { file: 'src/tasks/use-mobile-tasks-github-check-file-actions.tsx', references: 5 }, - { file: 'src/tasks/use-mobile-tasks-github-reply-merge-actions.tsx', references: 5 }, - { file: 'src/tasks/use-mobile-tasks-gitlab-github-status-actions.tsx', references: 3 }, - { file: 'src/tasks/use-mobile-tasks-hosted-comment-review-actions.tsx', references: 4 }, - { file: 'src/tasks/use-mobile-tasks-hosted-metadata-actions.tsx', references: 2 }, - { file: 'src/tasks/use-mobile-tasks-item-detail-loading.tsx', references: 4 }, - { file: 'src/tasks/use-mobile-tasks-item-detail-metadata-effects.tsx', references: 2 }, - { file: 'src/tasks/use-mobile-tasks-linear-item-actions.tsx', references: 3 }, - { file: 'src/tasks/use-mobile-tasks-list-and-detail-effects.tsx', references: 2 }, - { file: 'src/tasks/use-mobile-tasks-project-detail-loading.tsx', references: 1 }, - { file: 'src/tasks/use-mobile-tasks-project-file-merge-actions.tsx', references: 4 }, - { file: 'src/tasks/use-mobile-tasks-project-loading-actions.tsx', references: 4 }, - { file: 'src/tasks/use-mobile-tasks-project-metadata-actions.tsx', references: 3 }, - { file: 'src/tasks/use-mobile-tasks-project-metadata-loading.tsx', references: 3 }, - { file: 'src/tasks/use-mobile-tasks-project-repository-resolution.tsx', references: 1 }, - { file: 'src/tasks/use-mobile-tasks-project-review-check-actions.tsx', references: 4 }, - { file: 'src/tasks/use-mobile-tasks-project-thread-reply-actions.tsx', references: 4 }, - { file: 'src/tasks/use-mobile-tasks-project-workspace-comment-actions.tsx', references: 3 }, - { file: 'src/tasks/use-mobile-tasks-provider-load-actions.tsx', references: 5 }, { file: 'src/tasks/use-mobile-tasks-route-and-item-state.tsx', references: 1 }, - { file: 'src/tasks/use-mobile-tasks-task-create-actions.tsx', references: 3 }, - { file: 'src/tasks/use-mobile-tasks-task-list-loading.tsx', references: 4 }, - { file: 'src/tasks/use-mobile-tasks-task-pagination-actions.tsx', references: 1 }, - // src/terminal/ — terminal input, viewport and queries - { file: 'src/terminal/mobile-terminal-query-reply.ts', references: 2 }, - { file: 'src/terminal/terminal-live-accessory-raw-send.ts', references: 2 }, - { file: 'src/terminal/terminal-viewport-refit.ts', references: 1 }, - { file: 'src/terminal/worker-terminal-takeover-report.ts', references: 2 }, - - // src/transport/ — pairing, endpoint probing and capability reads - { file: 'src/transport/host-status-gates.ts', references: 1 }, - { file: 'src/transport/mobile-relay-credential-rotation.ts', references: 2 }, - { file: 'src/transport/mobile-relay-direct-upgrade.ts', references: 2 }, - { file: 'src/transport/mobile-relay-pairing-recovery.ts', references: 2 }, - { file: 'src/transport/mobile-runtime-capability-negotiation.ts', references: 2 }, - { file: 'src/transport/pairing-candidate-race.ts', references: 1 }, + // src/transport/ — what is left of pairing, probing and capability reads after step 4. The + // protocol gate, the retrying capability probe, the candidate race, credential rotation, the + // direct-to-relay upgrade, startup pairing recovery and first pairing all send through + // host-status-probe-operations.ts and mobile-relay-pairing-operations.ts now. Neither file below + // shares the pending list's stated reason, so each carries its own: + // + // Decorates one PairingCandidateClient with director recovery, forwarding whatever method it is + // handed. It IS the port for the candidate it wraps, so it cannot send through an operation; the + // one method string it did choose now comes from hostStatusProbe. { file: 'src/transport/pairing-relay-candidate.ts', references: 4 }, - { file: 'src/transport/pre-profile-pairing-coordinator.ts', references: 2 }, - { file: 'src/transport/runtime-capability-probe.ts', references: 2 }, - - // src/worktree/ — worktree activation and resume - { file: 'src/worktree/home-host-worktree-fetch.ts', references: 2 }, - { file: 'src/worktree/use-retired-worktree-names.ts', references: 1 }, - { file: 'src/worktree/worktree-catalog-snapshot-client.ts', references: 1 } + // Its sender is the two physical clients' authenticated-but-not-yet-`connected` path, which is + // not an RpcClient and is unreachable from the recording oracle, so a migration here could not + // be shown to preserve behaviour. Its method and params are already shared constants. + { file: 'src/transport/mobile-runtime-capability-negotiation.ts', references: 2 }, + // Sends through hostStatusProbe; the one reference left is its parameter type. Its callers do + // not share a client type — push-registration.ts holds only the sender — so the parameter names + // the port itself. It reaches zero when the last such caller migrates. + { file: 'src/transport/runtime-capability-probe.ts', references: 1 } ] diff --git a/mobile/src/worktree/home-host-worktree-fetch.ts b/mobile/src/worktree/home-host-worktree-fetch.ts index 72b9e572ba1..5e119518a7d 100644 --- a/mobile/src/worktree/home-host-worktree-fetch.ts +++ b/mobile/src/worktree/home-host-worktree-fetch.ts @@ -1,5 +1,4 @@ import { setCachedWorktrees } from '../cache/worktree-cache' -import { sendSingleFlightRequest } from '../transport/request-single-flight' import type { RpcClient } from '../transport/rpc-client' import { isLogicalClientCutoverError } from '../transport/stable-logical-rpc-client' import { @@ -8,6 +7,7 @@ import { type HostWorktreeInfo } from './home-worktree-info' import { pickResumeWorktree } from './resume-worktree' +import { worktreeCatalogRead } from './worktree-catalog-operations' import { WORKTREE_PS_FULL_LIMIT } from './worktree-catalog-snapshot-client' const ACTIVE_STATUSES = new Set(['working', 'active', 'permission']) @@ -36,16 +36,19 @@ export function fetchHomeHostWorktreeInfo( } const attempt = (cutoverRetriesLeft: number): Promise => - sendSingleFlightRequest(client, hostId, 'worktree.ps', { limit: WORKTREE_PS_FULL_LIMIT }) - .then((response) => { + worktreeCatalogRead + .requestSingleFlight(client, hostId, { limit: WORKTREE_PS_FULL_LIMIT }) + .then((reply) => { if (disposed()) { return } - if (!response.ok) { + const catalog = worktreeCatalogRead.interpret(reply) + if (!catalog.accepted) { markUnavailable() return } - const result = response.result as { worktrees?: HomeWorktreeSummary[] } + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Preserve the established response shape at this boundary. + const result = catalog.value as { worktrees?: HomeWorktreeSummary[] } const worktrees = result.worktrees ?? [] setCachedWorktrees(hostId, worktrees, { proven: true }) const active = worktrees.filter((w) => w.status && ACTIVE_STATUSES.has(w.status)) diff --git a/mobile/src/worktree/mobile-worktree-activation-source.test.ts b/mobile/src/worktree/mobile-worktree-activation-source.test.ts index 6d6497de67f..d7eaddfacfd 100644 --- a/mobile/src/worktree/mobile-worktree-activation-source.test.ts +++ b/mobile/src/worktree/mobile-worktree-activation-source.test.ts @@ -5,7 +5,6 @@ const source = readFileSync( new URL('../host-screen/use-host-worktree-actions.ts', import.meta.url), 'utf8' ) - function sliceBetween(startPattern: string, endPattern: string): string { const start = source.indexOf(startPattern) expect(start).toBeGreaterThanOrEqual(0) @@ -21,8 +20,10 @@ describe('mobile worktree activation', () => { 'const openFloatingWorkspace = useCallback' ) - expect(openSession).toContain("sendRequest('worktree.activate'") + expect(openSession).toContain('worktreeActivate') expect(openSession).toContain('notifyClients: false') expect(openSession).toContain("navigation: 'caller'") + // The method is no longer in this file: tsc pins the params to worktreeActivate's shape and + // the host-worktree-actions-pin-open-delete golden pins the bytes. }) }) diff --git a/mobile/src/worktree/use-retired-worktree-names.test.tsx b/mobile/src/worktree/use-retired-worktree-names.test.tsx index 660b2f018d9..848353e8592 100644 --- a/mobile/src/worktree/use-retired-worktree-names.test.tsx +++ b/mobile/src/worktree/use-retired-worktree-names.test.tsx @@ -55,7 +55,12 @@ function mountNames() { retiredNameTiersByRepo: Record = {} ) { await act(async () => { - pending[index]!.resolve({ result: { retiredNamesByRepo, retiredNameTiersByRepo } }) + // `ok` is what the host always sends and what the read's acceptance policy routes on; + // a reply without it read as a refusal, which is not a shape any host produces. + pending[index]!.resolve({ + ok: true, + result: { retiredNamesByRepo, retiredNameTiersByRepo } + }) await Promise.resolve() }) }, diff --git a/mobile/src/worktree/use-retired-worktree-names.ts b/mobile/src/worktree/use-retired-worktree-names.ts index 3158110f82c..5da29f4cb26 100644 --- a/mobile/src/worktree/use-retired-worktree-names.ts +++ b/mobile/src/worktree/use-retired-worktree-names.ts @@ -7,6 +7,7 @@ import { } from '../../../src/shared/worktree/retired-name-cache' import type { RetiredNameRegistry } from '../../../src/shared/worktree/retired-name-registry' import type { RpcClient } from '../transport/rpc-client' +import { retiredWorktreeNamesRead } from './worktree-catalog-operations' export function buildRetiredWorktreeNamesRefreshKey( existingWorktreePaths: readonly string[] | undefined @@ -42,13 +43,16 @@ export function useRetiredWorktreeNames( setLoaded((previous) => retiredNamesAfterRefresh(previous, activeRepoId, registry)) } } - void client - .sendRequest('worktree.listRetiredNames', { repo: `id:${activeRepoId}` }) - .then((response) => + void retiredWorktreeNamesRead + .request(client, { repo: `id:${activeRepoId}` }) + .then((reply) => { + const names = retiredWorktreeNamesRead.interpret(reply) + // A refusal is not a failure here: it settles as an empty registry, which un-retires the + // repo's names until the next refresh. Preserved from main, not repaired. settle( - readRetiredNameRegistryForRepo((response as { result?: unknown }).result, activeRepoId) + readRetiredNameRegistryForRepo(names.accepted ? names.value : undefined, activeRepoId) ) - ) + }) .catch(() => settle(null)) return () => { cancelled = true diff --git a/mobile/src/worktree/worktree-catalog-operations.ts b/mobile/src/worktree/worktree-catalog-operations.ts new file mode 100644 index 00000000000..067f5ef3773 --- /dev/null +++ b/mobile/src/worktree/worktree-catalog-operations.ts @@ -0,0 +1,35 @@ +import { bindDeferredRpcOperation, defineRpcOperation } from '../transport/rpc-operation' +import { rpcUncheckedPayloadReader } from '../transport/rpc-reader-payload' + +// The two workspace-catalog reads, both best-effort: a refused catalog leaves the last proven +// counts and the last confirmed rows in place rather than rendering a host as empty (STA-3123). + +/** + * worktree.ps. One family for both readers — the Home card's summary and the host screen's + * snapshot poll — because they ask the same question with the same acceptance. The payload stays + * unchecked: the snapshot client admits an `unchanged` envelope the card never sees. + */ +export const worktreeCatalogRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'worktree.catalog-or-skip', + method: 'worktree.ps', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('worktree-catalog') + }) +) + +/** + * Names already spent in one repo. The payload is unchecked because the call site projects it + * through `readRetiredNameRegistryForRepo`, which reads a refusal as an empty registry — the + * behaviour a skip preserves, and not the same thing as the failure a rejection means here. + */ +export const retiredWorktreeNamesRead = bindDeferredRpcOperation( + defineRpcOperation({ + name: 'worktree.retired-names-or-skip', + method: 'worktree.listRetiredNames', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: rpcUncheckedPayloadReader('retired-names') + }) +) diff --git a/mobile/src/worktree/worktree-catalog-snapshot-client.ts b/mobile/src/worktree/worktree-catalog-snapshot-client.ts index 9e804c39b34..13de6453a6d 100644 --- a/mobile/src/worktree/worktree-catalog-snapshot-client.ts +++ b/mobile/src/worktree/worktree-catalog-snapshot-client.ts @@ -1,6 +1,7 @@ import type { RpcClient } from '../transport/rpc-client' -import type { RpcFailure, RpcSuccess } from '../transport/types' +import type { RpcFailure } from '../transport/types' import type { Worktree } from './workspace-list-sections' +import { worktreeCatalogRead } from './worktree-catalog-operations' // Why: worktree.ps silently truncates at 200; use a high cap so large hosts don't drop workspaces. export const WORKTREE_PS_FULL_LIMIT = 10_000 @@ -71,12 +72,15 @@ export class WorktreeCatalogSnapshotClient { this.confirmedWorktrees = null } const requestedSnapshotId = this.snapshotId - const response = await client.sendRequest('worktree.ps', { + const reply = await worktreeCatalogRead.request(client, { limit: WORKTREE_PS_FULL_LIMIT, afterSnapshotId: requestedSnapshotId }) - if (!response.ok) { - const code = (response as RpcFailure).error?.code + const catalog = worktreeCatalogRead.interpret(reply) + if (!catalog.accepted) { + // The refusal code the caller reports lives on the envelope; no acceptance policy carries it. + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: this policy skips only a refusal, so an unaccepted reply is a failure envelope. + const code = (reply as RpcFailure).error?.code return { kind: 'request_failed', code: typeof code === 'string' && code.length > 0 ? code : 'request_failed' @@ -85,10 +89,7 @@ export class WorktreeCatalogSnapshotClient { return { kind: 'response', pending: { - admission: admitWorktreeCatalogResponse( - (response as RpcSuccess).result, - requestedSnapshotId - ), + admission: admitWorktreeCatalogResponse(catalog.value, requestedSnapshotId), client, hostId } diff --git a/package.json b/package.json index a9f12759f74..9d37cb13cba 100644 --- a/package.json +++ b/package.json @@ -14,13 +14,15 @@ "audit:perf": "oxlint --config config/oxlint-performance-audit.json --format json src", "test:perf:contracts": "vitest run --config config/vitest.performance.config.ts", "format": "oxfmt --write .", - "lint": "oxlint && pnpm run audit:code-quality:native && pnpm run audit:code-quality:type-aware && pnpm run check:reliability-gates && pnpm run check:max-lines-ratchet && pnpm run check:ts-nocheck-ratchet && pnpm run check:runtime-electron-ratchet && pnpm run check:readme-local-links && pnpm run verify:rpc-params-catalog && pnpm run verify:bundled-skill-guides && pnpm run verify:skill-bundle-manifest && pnpm run verify:localization-catalog && pnpm run verify:localization-runtime-catalog && pnpm run verify:localization-extraction && pnpm run verify:localization-coverage", + "lint": "oxlint && pnpm run audit:anti-slop && pnpm run audit:code-quality:native && pnpm run audit:code-quality:type-aware && pnpm run check:reliability-gates && pnpm run check:dead-classes && pnpm run check:max-lines-ratchet && pnpm run check:ts-nocheck-ratchet && pnpm run check:runtime-electron-ratchet && pnpm run check:readme-local-links && pnpm run verify:rpc-params-catalog && pnpm run verify:bundled-skill-guides && pnpm run verify:skill-bundle-manifest && pnpm run verify:localization-catalog && pnpm run verify:localization-runtime-catalog && pnpm run verify:localization-extraction && pnpm run verify:localization-coverage", "audit:code-quality": "pnpm run audit:code-quality:native && pnpm run audit:code-quality:type-aware && pnpm run audit:react-doctor", "audit:code-quality:native": "oxlint --config config/oxlint-code-quality-native-plugins.json src config tests mobile --deny-warnings", "audit:code-quality:type-aware": "oxlint --type-aware --config config/oxlint-code-quality-type-aware.json src config tests --deny-warnings", "audit:react-doctor": "pnpm dlx react-doctor@0.9.1 . --yes --no-supply-chain --no-telemetry --blocking none", "audit:dead-code": "pnpm dlx knip@5.88.1 --config config/knip.json", "check:code-quality:changed": "node config/scripts/check-changed-code-quality.mjs", + "check:dead-classes": "oxlint --config config/oxlint-dead-classes.json src/renderer", + "lint:design-system": "oxlint --config config/oxlint-design-system.json src/renderer", "check:react-doctor:changed": "node config/scripts/check-react-doctor-changed.mjs", "check:zustand-selector-fanout": "node config/scripts/zustand-selector-fanout-benchmark.mjs --check", "doctor": "pnpm dlx react-doctor@0.9.1 . --no-telemetry", @@ -162,7 +164,9 @@ "test:e2e:remote-bulk-open-freeze": "pnpm run ensure:electron-runtime && pnpm exec playwright test tests/e2e/remote-session-bulk-open-freeze-repro.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1", "test:e2e:ssh-docker-bulk-open-freeze": "node config/scripts/run-ssh-docker-bulk-open-freeze-e2e.mjs", "repro:live-remote-bulk-open-freeze": "node config/scripts/live-remote-bulk-open-freeze-repro.mjs", - "repro:live-remote-realistic-freeze": "node config/scripts/live-remote-realistic-freeze-repro.mjs" + "repro:live-remote-realistic-freeze": "node config/scripts/live-remote-realistic-freeze-repro.mjs", + "audit:anti-slop": "node config/scripts/sync-anti-slop-plugin.mjs && oxlint --config config/oxlint-anti-slop.json src config tests mobile --deny-warnings", + "sync:anti-slop-plugin": "node config/scripts/sync-anti-slop-plugin.mjs" }, "dependencies": { "@anthropic-ai/claude-agent-sdk": "0.3.251", @@ -197,8 +201,10 @@ "@electron-toolkit/tsconfig": "^2.0.0", "@electron/rebuild": "^4.2.0", "@monaco-editor/react": "^4.7.0", + "@oxlint/plugins": "1.80.0", "@playwright/test": "^1.59.1", "@sanity/diff-match-patch": "^3.2.0", + "@shadcn/lint": "^0.1.0", "@stablyai/playwright-test": "^2.1.14", "@tailwindcss/vite": "^4.2.4", "@tanstack/react-virtual": "^3.14.10", @@ -262,6 +268,7 @@ "monaco-editor": "^0.55.1", "oxfmt": "^0.65.0", "oxlint": "^1.80.0", + "oxlint-plugin-anti-slop": "github:dmmulroy/anti-slop#c44ef22ca116d0ba62a3ff663a0bd13a3f3fa40b", "oxlint-plugin-react-doctor": "0.9.1", "oxlint-tsgolint": "7.0.2001", "pdfjs-dist": "^6.3.289", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b2f6425aafd..6c9c98349d6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -213,12 +213,18 @@ importers: '@monaco-editor/react': specifier: ^4.7.0 version: 4.7.0(monaco-editor@0.55.1)(react-dom@19.2.8(react@19.2.8))(react@19.2.8) + '@oxlint/plugins': + specifier: 1.80.0 + version: 1.80.0 '@playwright/test': specifier: ^1.59.1 version: 1.59.1 '@sanity/diff-match-patch': specifier: ^3.2.0 version: 3.2.0 + '@shadcn/lint': + specifier: ^0.1.0 + version: 0.1.0(eslint@10.10.0(jiti@2.7.0)(supports-color@7.2.0))(supports-color@7.2.0)(typescript@7.0.2) '@stablyai/playwright-test': specifier: ^2.1.14 version: 2.1.14(@playwright/test@1.59.1)(zod@4.5.4) @@ -408,6 +414,9 @@ importers: oxlint: specifier: ^1.80.0 version: 1.80.0(oxlint-tsgolint@7.0.2001) + oxlint-plugin-anti-slop: + specifier: github:dmmulroy/anti-slop#c44ef22ca116d0ba62a3ff663a0bd13a3f3fa40b + version: https://codeload.github.com/dmmulroy/anti-slop/tar.gz/c44ef22ca116d0ba62a3ff663a0bd13a3f3fa40b oxlint-plugin-react-doctor: specifier: 0.9.1 version: 0.9.1 @@ -718,6 +727,12 @@ packages: '@braintree/sanitize-url@7.1.2': resolution: {integrity: sha512-jigsZK+sMF/cuiB7sERuo9V7N9jx+dhmHHnQyDSVdpZwVutaBu7WvNYqMDLSgFgfB30n452TP3vjDAvFC973mA==} + '@cacheable/memory@2.2.0': + resolution: {integrity: sha512-CTLKqLItRCEixEAewD3/j9DB3/o96gpTPD4eJ1v+DGOlxZRZncRQkGYqqnAGCscYd6RNeXfGeiuCphsPtqyIfQ==} + + '@cacheable/utils@2.5.0': + resolution: {integrity: sha512-buipgOVDkkPXNR5+xBpDw7Zk2n1EvU7qBJCNUcL7rhQ//kfpOXPAvQ511Os0vpLYJ1pZnvudNytkQt2hst3wqA==} + '@chevrotain/types@11.1.2': resolution: {integrity: sha512-U+HFai5+zmJCkK86QsaJtoITlboZHBqrVketcO2ROv865xfCMSFpELQoz1GkX5GzME8pTa+3kbKrZHQtI0gdbw==} @@ -978,6 +993,40 @@ packages: cpu: [x64] os: [win32] + '@eslint-community/eslint-utils@4.10.1': + resolution: {integrity: sha512-cuadcxVFE8sDK6iWJbs8Sn0av2Nrh2QSGQhVlBW9AaAHqHwjWsZHT8LJ4hFGPh7ASBV2deFdM7H/DPjulmh8rg==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 + + '@eslint-community/regexpp@4.12.2': + resolution: {integrity: sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==} + engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} + + '@eslint/config-array@0.23.5': + resolution: {integrity: sha512-Y3kKLvC1dvTOT+oGlqNQ1XLqK6D1HU2YXPc52NmAlJZbMMWDzGYXMiPRJ8TYD39muD/OTjlZmNJ4ib7dvSrMBA==} + engines: {node: ^20.19.0 || ^22.13.0 || >=24} + + '@eslint/config-helpers@0.7.0': + resolution: {integrity: sha512-DObd/KKUsU+FaFv4PLxSRenpXfQWmPXXP3pPZ6/K1PCrMu2vQpMDMuQe/BqYeoLcz8ro0bVDF1RxOJgfVEdhUw==} + engines: {node: ^20.19.0 || ^22.13.0 || >=24} + + '@eslint/core@0.17.0': + resolution: {integrity: sha512-yL/sLrpmtDaFEiUj1osRP4TI2MDz1AddJL+jZ7KSqvBuliN4xqYY54IfdN8qD8Toa6g1iloph1fxQNkjOxrrpQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@eslint/core@1.2.1': + resolution: {integrity: sha512-MwcE1P+AZ4C6DWlpin/OmOA54mmIZ/+xZuJiQd4SyB29oAJjN30UW9wkKNptW2ctp4cEsvhlLY/CsQ1uoHDloQ==} + engines: {node: ^20.19.0 || ^22.13.0 || >=24} + + '@eslint/object-schema@3.0.5': + resolution: {integrity: sha512-vqTaUEgxzm+YDSdElad6PiRoX4t8VGDjCtt05zn4nU810UIx/uNEV7/lZJ6KwFThKZOzOxzXy48da+No7HZaMw==} + engines: {node: ^20.19.0 || ^22.13.0 || >=24} + + '@eslint/plugin-kit@0.7.3': + resolution: {integrity: sha512-IkO+/KEUvwbVpiURZg+P7zF74z5Jxe0UgJxVni+RtoHQ6IZieXaO02kmadomap/q+l6bc/jdPGGqTjhuZnuz1Q==} + engines: {node: ^20.19.0 || ^22.13.0 || >=24} + '@floating-ui/core@1.7.5': resolution: {integrity: sha512-1Ih4WTWyw0+lKyFMcBHGbb5U5FtuHJuujoyyr5zTaWS5EYMeT6Jb2AuDeftsCsEuchO+mM2ij5+q9crhydzLhQ==} @@ -1004,6 +1053,26 @@ packages: peerDependencies: hono: ^4 + '@humanfs/core@0.19.2': + resolution: {integrity: sha512-UhXNm+CFMWcbChXywFwkmhqjs3PRCmcSa/hfBgLIb7oQ5HNb1wS0icWsGtSAUNgefHeI+eBrA8I1fxmbHsGdvA==} + engines: {node: '>=18.18.0'} + + '@humanfs/node@0.16.8': + resolution: {integrity: sha512-gE1eQNZ3R++kTzFUpdGlpmy8kDZD/MLyHqDwqjkVQI0JMdI1D51sy1H958PNXYkM2rAac7e5/CnIKZrHtPh3BQ==} + engines: {node: '>=18.18.0'} + + '@humanfs/types@0.15.0': + resolution: {integrity: sha512-ZZ1w0aoQkwuUuC7Yf+7sdeaNfqQiiLcSRbfI08oAxqLtpXQr9AIVX7Ay7HLDuiLYAaFPu8oBYNq/QIi9URHJ3Q==} + engines: {node: '>=18.18.0'} + + '@humanwhocodes/module-importer@1.0.1': + resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==} + engines: {node: '>=12.22'} + + '@humanwhocodes/retry@0.4.3': + resolution: {integrity: sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==} + engines: {node: '>=18.18'} + '@iconify/types@2.0.0': resolution: {integrity: sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==} @@ -1164,6 +1233,15 @@ packages: '@jridgewell/trace-mapping@0.3.31': resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==} + '@keyv/bigmap@1.3.1': + resolution: {integrity: sha512-WbzE9sdmQtKy8vrNPa9BRnwZh5UF4s1KTmSK0KUVLo3eff5BlQNNWDnFOouNpKfPKDnms9xynJjsMYjMaT/aFQ==} + engines: {node: '>= 18'} + peerDependencies: + keyv: ^5.6.0 + + '@keyv/serialize@1.1.1': + resolution: {integrity: sha512-dXn3FZhPv0US+7dtJsIi2R+c7qWYiReoEh5zUntWCf4oSpMNib8FDhSoed6m3QyZdx5hK7iLFkYk3rNxwt8vTA==} + '@linear/sdk@82.1.0': resolution: {integrity: sha512-Ok7o+LqXaenx6Um58NQqjQoQanDsCgAIe9yNgpVbqRSh5APz3Ds1kZUz2vWmSNTNATFZm1zDQtEktTMga2X7UQ==} engines: {node: '>=18.x'} @@ -1338,42 +1416,84 @@ packages: cpu: [arm] os: [android] + '@oxc-parser/binding-android-arm-eabi@0.148.0': + resolution: {integrity: sha512-pHASv9g5pASxb7akHERZNSkrEqPhFaUix98o7d9hbTpolnnFWl7UiRrcMhCsV1+iVO4/cJwKsbKRJTFNs2tdBQ==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm] + os: [android] + '@oxc-parser/binding-android-arm64@0.141.0': resolution: {integrity: sha512-a4XDQ27ZT7e7zwAlxJDTiCA7IBGWDuy2+MhFq85Of7XlBSmpkfcBFml11q0Zx6f7RMuI0B4xCtt2ytBS4yOptg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [android] + '@oxc-parser/binding-android-arm64@0.148.0': + resolution: {integrity: sha512-sg/6Ez0KdAygsu0POELux9wN1Po2CP93WY8eNl4DBKIGprsd4QSHBXOb471Pu9i2OCD5sLkISSb2agZEhVn2Zw==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm64] + os: [android] + '@oxc-parser/binding-darwin-arm64@0.141.0': resolution: {integrity: sha512-m/kVk6rzYmBeHYnz+1Y5fod00AVTTxMbC71azFfm/zjx1j9XxwKtA0+VfkKuVMC8rbghb9TtfevnuWZa9OuPEg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [darwin] + '@oxc-parser/binding-darwin-arm64@0.148.0': + resolution: {integrity: sha512-yiSJmzGUvCUaJT8X3j40gVcX+ckuHQMuiOtF8DvzTs5+JtB/7XuHFPp4M+vv5u+HlBtDUd4Ks5pyHpWz8mfnkg==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm64] + os: [darwin] + '@oxc-parser/binding-darwin-x64@0.141.0': resolution: {integrity: sha512-o0X+6KZlfucWU/v5oKRQPwdFXsXAjW8jmpo/Gpw/qyKsbKtlfkHoeH9Bjp/m13TwjewvJnCkwF0DWzgpC4HjTQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [darwin] + '@oxc-parser/binding-darwin-x64@0.148.0': + resolution: {integrity: sha512-6ZeklaamrMy4H2JmhvcJg6iip59tYILtuLaILxyAHT3l5FDxnI5ihVievAft5ZmAbqtlWHErOi1OpJK8gy1wcA==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [x64] + os: [darwin] + '@oxc-parser/binding-freebsd-x64@0.141.0': resolution: {integrity: sha512-W5KbTnNkTMMMylqj6dYqnsXvkmESVPodPKYLJ5zdzIPdl9fUJtolkpUeSzYEbGGYB4a4A4avl3EePnZ/wLIdJg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [freebsd] + '@oxc-parser/binding-freebsd-x64@0.148.0': + resolution: {integrity: sha512-vFsPx+a/qFECPnz/H8nC6x6MDvnWscLTCo/5muojEF54ERUq1kdgbvnWo95YnkhjF9sTIcG/uDxQBh1gffaufQ==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [x64] + os: [freebsd] + '@oxc-parser/binding-linux-arm-gnueabihf@0.141.0': resolution: {integrity: sha512-g3dtbJa8zeOGK36Sr9cQavsdi5H/ie2hVjrSjIxsNAR1qZA40ZYVXnfdfoMAlq8CmB9qFL1yhsSCUHeNmdmt8w==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [linux] + '@oxc-parser/binding-linux-arm-gnueabihf@0.148.0': + resolution: {integrity: sha512-eOr3M+6iGbbxNL4PSS0VtsyQ2eOUxSBh00BqO22SbolDimPSYsBuLr/LCrZBkiqW2BoabhR6V4R8jrRAay7hjg==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm] + os: [linux] + '@oxc-parser/binding-linux-arm-musleabihf@0.141.0': resolution: {integrity: sha512-e6hwQqd+3lvP13G2jxvFpoA7dzHcFLN+Mq47JCVMtdNHbbyBRo756JCtbbJH6ca8inTfyqZoqBmS3vhQlzAK2w==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [linux] + '@oxc-parser/binding-linux-arm-musleabihf@0.148.0': + resolution: {integrity: sha512-58ZKDw0mQRbCNfrd2IDyV4o8T7enzGERJn41BH2tjrZVGyiKiFzcfDicuB7Zcpb/1xIOrObovr8Dja6lZi8dLw==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm] + os: [linux] + '@oxc-parser/binding-linux-arm64-gnu@0.141.0': resolution: {integrity: sha512-vXz2BLAuypA+4MLyBg94pzEo6THVnzYnCtAjXoihIIQo0t2pnp/AmW+SH1EI+4VbuJnC//KplIJ5yyaCGua4jA==} engines: {node: ^20.19.0 || >=22.12.0} @@ -1381,6 +1501,13 @@ packages: os: [linux] libc: [glibc] + '@oxc-parser/binding-linux-arm64-gnu@0.148.0': + resolution: {integrity: sha512-Fnu95O4eZ5i++GPvIzBEZ8y4ddTLR+D9paYa8JRaRk6ZK7nHQiWP5xtrhcPQsXqgat1d7sU/d5rbbI0p1FTHSQ==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm64] + os: [linux] + libc: [glibc] + '@oxc-parser/binding-linux-arm64-musl@0.141.0': resolution: {integrity: sha512-jMkS/EztNW34HKsXIaT/SoHcmtocq/vWhwFOVduF9kduuuRIVwfwQ6uxzIO+qPKSXdd2TXt54of0BJ2zFMXnmw==} engines: {node: ^20.19.0 || >=22.12.0} @@ -1388,6 +1515,13 @@ packages: os: [linux] libc: [musl] + '@oxc-parser/binding-linux-arm64-musl@0.148.0': + resolution: {integrity: sha512-3CQy/BMdx7N7H3qrcPxUL+a2CwUZodUcf6oq8iJuNZ9C6Ol1aq3mcWzsgySJ7CHFLvpX21ZDPp1r1X0QLbu/AQ==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm64] + os: [linux] + libc: [musl] + '@oxc-parser/binding-linux-ppc64-gnu@0.141.0': resolution: {integrity: sha512-vo+MR+n3zQJ6Mq92hiP084NZcgDv5iJlVR02gMf28neMvVT1tKVm7VeiW/DxhdqOi3QLeaXIk9cUcLL1qrkngw==} engines: {node: ^20.19.0 || >=22.12.0} @@ -1395,6 +1529,13 @@ packages: os: [linux] libc: [glibc] + '@oxc-parser/binding-linux-ppc64-gnu@0.148.0': + resolution: {integrity: sha512-9LkaYvfiF8hMOw900csAvkf1oxE8XlmMeGowu5BcastSSwV8mKvKRMNU7HsV+ycyj1dQD8pX5qgOw8ja6SJacg==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [ppc64] + os: [linux] + libc: [glibc] + '@oxc-parser/binding-linux-riscv64-gnu@0.141.0': resolution: {integrity: sha512-oh80w+7RuiO5gBp9Jnoa/H8Qlt3JsHL2MkW+0dwEdlDMdslVZX/YsekSK6EeyEenY66/mhCfypsNATQ7Ph3qlQ==} engines: {node: ^20.19.0 || >=22.12.0} @@ -1402,6 +1543,13 @@ packages: os: [linux] libc: [glibc] + '@oxc-parser/binding-linux-riscv64-gnu@0.148.0': + resolution: {integrity: sha512-2GBiM9h26dR4WJfhoMvnFMnFLf7m/kYs4UMqjvrOfQG4BV1nuTJDH22Zc2MQr3INZF7nSKYQ6xlhD3hQ7A6gug==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [riscv64] + os: [linux] + libc: [glibc] + '@oxc-parser/binding-linux-riscv64-musl@0.141.0': resolution: {integrity: sha512-LOyEmFA8sCnYbEXP1+iQvCC/P1YXHMA/t6x1Ksp0Y9VwhLFsiBJFzV1zIxrOIE2LKaGGhDjQ29xq9cbq6omDXA==} engines: {node: ^20.19.0 || >=22.12.0} @@ -1409,6 +1557,13 @@ packages: os: [linux] libc: [musl] + '@oxc-parser/binding-linux-riscv64-musl@0.148.0': + resolution: {integrity: sha512-uPqZexvKJmEgq4mAu36qe2xTfXZE7oyik1R7KtZ5tl8qKlq1U1fIqTFRUEBZqRGvforoTrGIpatRzcoPKO66RA==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [riscv64] + os: [linux] + libc: [musl] + '@oxc-parser/binding-linux-s390x-gnu@0.141.0': resolution: {integrity: sha512-3wnwk/l1CvszVE5TJR1wSl/zSEfydRqrNhn6s7Vr9IzSJpUQIroqVsIoPARHRFA+FQwkxAFDAHDAasa7v8OobQ==} engines: {node: ^20.19.0 || >=22.12.0} @@ -1416,6 +1571,13 @@ packages: os: [linux] libc: [glibc] + '@oxc-parser/binding-linux-s390x-gnu@0.148.0': + resolution: {integrity: sha512-9oUHvnTbp7ZraFsTC8PN6XhdhPSSxZumYvixWl7Smi353gEULvK6yV0sXNVrdFMHQeaDKFCi8TgDhNK7/A+Y+Q==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [s390x] + os: [linux] + libc: [glibc] + '@oxc-parser/binding-linux-x64-gnu@0.141.0': resolution: {integrity: sha512-qtyQVAAebFq57B2tifTlel3TgGqUtsYNI/e+p6aya9rN9lOZVTDvr215fGYSA9XWooxzMxDiVxkBLk2jQHbsOQ==} engines: {node: ^20.19.0 || >=22.12.0} @@ -1423,6 +1585,13 @@ packages: os: [linux] libc: [glibc] + '@oxc-parser/binding-linux-x64-gnu@0.148.0': + resolution: {integrity: sha512-2qhDSJwKzbSZzF7lDqqk8sr/yXsmwr3PeUa4/nazIF+zFAYz1gVPEfC34GQtGxzJUUmklaYAL63368LEfrMeyw==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [x64] + os: [linux] + libc: [glibc] + '@oxc-parser/binding-linux-x64-musl@0.141.0': resolution: {integrity: sha512-SkGV1nKw40roEc94pv5EaaeH2ay14G6+roe8Q0wIUC1LcEKxzKW921h7+ZuZX0D3q2Mb/7aSFmxEVqnko3lPRw==} engines: {node: ^20.19.0 || >=22.12.0} @@ -1430,12 +1599,25 @@ packages: os: [linux] libc: [musl] + '@oxc-parser/binding-linux-x64-musl@0.148.0': + resolution: {integrity: sha512-qQoPDZUFV0bh9xA09XydmkjMBpgc1ukJuhMvzQ9QeVmFaHTS9W5TE5CoLmSl3QQyUP9OuHO3x/WPZTIIZPWR3Q==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [x64] + os: [linux] + libc: [musl] + '@oxc-parser/binding-openharmony-arm64@0.141.0': resolution: {integrity: sha512-cVgDM7n8QziQqOaP5hNgUYfMG7S/ZeuPxFWXnnHRv7rh025COk0rfQ6eEdKG3j/GaUuyvNZN4ifF1J8KmuXLLA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [openharmony] + '@oxc-parser/binding-openharmony-arm64@0.148.0': + resolution: {integrity: sha512-1UGbaQWEXUCLqAmaR5kwRDjx/R4S5LQKZkM9CHmaHkuKhriOF32aRLfS0jCRNE2yGQJLMEA1z9UucbBVqjXnDw==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm64] + os: [openharmony] + '@oxc-parser/binding-wasm32-wasi@0.141.0': resolution: {integrity: sha512-HggH++Fkn3OilBn+bs3jpgIFQa34oMAyUUHy0vpGum+gt1Eb5nyLc8dNU/RAPSw6lsLrx7ncKtHSZE+3Sp0l2g==} engines: {node: ^20.19.0 || >=22.12.0} @@ -1447,18 +1629,36 @@ packages: cpu: [arm64] os: [win32] + '@oxc-parser/binding-win32-arm64-msvc@0.148.0': + resolution: {integrity: sha512-pWKdzRDNG2+NK4h/V6U/CYERcfYD6u28h5IB/VJVsrZaD3muvE58tUj22lieL5vLZ+XFi1GPv9YXckZbJZ9BLA==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm64] + os: [win32] + '@oxc-parser/binding-win32-ia32-msvc@0.141.0': resolution: {integrity: sha512-9UVWUOOCI/1YkiSSNjg2zyBJYM9E/t1A/8GNobd48JDn/fQ6mzxcVO3H08jb3rAaW/B1VBf8eCORTvSsO9T08g==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [ia32] os: [win32] + '@oxc-parser/binding-win32-ia32-msvc@0.148.0': + resolution: {integrity: sha512-i3p4x+mvwtjcE1J5HM6V7ggsbXiznExN/4MkNyOy3dfXrVV3bnkSfmZxvo6/84qCVX4ShkpNE1SKt9biIF31GQ==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [ia32] + os: [win32] + '@oxc-parser/binding-win32-x64-msvc@0.141.0': resolution: {integrity: sha512-HI/wsvbWT5RHHw5c37D0fEgeTd8/1Q4OJs5jUmEBc17VZFG6SsCIe4barq7NsAPPks/JW+3ayi3Rp+PQI5h4Kg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [win32] + '@oxc-parser/binding-win32-x64-msvc@0.148.0': + resolution: {integrity: sha512-Ye6vB7VQulghWYkYkECOBYFRVEizz4XyRTUAv+t8BuyurhKU7uD0P9eowL+mKG5Mf8MSYx+DI3Cm8SKZvYG7bQ==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [x64] + os: [win32] + '@oxc-project/runtime@0.101.0': resolution: {integrity: sha512-t3qpfVZIqSiLQ5Kqt/MC4Ge/WCOGrrcagAdzTcDaggupjiGxUx4nJF2v6wUCXWSzWHn5Ns7XLv13fCJEwCOERQ==} engines: {node: ^20.19.0 || >=22.12.0} @@ -1469,6 +1669,9 @@ packages: '@oxc-project/types@0.141.0': resolution: {integrity: sha512-S4as7z0j0xQkXcJlyY5ehntwK8/wRkQb9Cyqw+J/N2rkWGQGK0SxD6X6DhQTc7qsxVTBxXbxZtBJh3mr3PtIzQ==} + '@oxc-project/types@0.148.0': + resolution: {integrity: sha512-Nm4s/jB+4FpFsPhWGEC4h7rzksesmtnMXomo6rCMcg/b8zLQuOziRgkCS1fxDCXOlJB/6Q8oABOZ/OP6RIPj9A==} + '@oxfmt/binding-android-arm-eabi@0.65.0': resolution: {integrity: sha512-M10Gs1SSpTNI6ahGx3M/OlIdUF4hkaP6OgUb+MS79t/Pgflk3r1nW5gPFqsZGUAXg0H1AfANT9AvLdBSTIhZKg==} engines: {node: ^20.19.0 || >=22.12.0} @@ -1743,6 +1946,14 @@ packages: cpu: [x64] os: [win32] + '@oxlint/plugins@1.78.0': + resolution: {integrity: sha512-Ypt8KeRYw+4jUtlPirfcHWMrn5ms12VrrFPD+Mds477/7tJxG1Kcz2Yrg2nVcTQEUx/GdlhS+BUg1kmxNm04Ug==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + + '@oxlint/plugins@1.80.0': + resolution: {integrity: sha512-QRgH1XqQEYNHa4f1vvPQ5fAdNdncHGIUG1ZWLlGIZHky3qwCEeAKYitZNbZMtaXtAQAAFFTOwqUfzESvimqZNA==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + '@parcel/watcher-android-arm64@2.5.6': resolution: {integrity: sha512-YQxSS34tPF/6ZG7r/Ih9xy+kP/WwediEUsqmtf0cuCV5TPPKw/PQHRhueUo6JdeFJaqV3pyjm0GdYjZotbRt/A==} engines: {node: '>= 10.0.0'} @@ -2644,6 +2855,15 @@ packages: '@sec-ant/readable-stream@0.4.1': resolution: {integrity: sha512-831qok9r2t8AlxLko40y2ebgSDhenenCatLVeW/uBtnHPyhHOvG0C7TvfgecV+wHzIm5KUICgzmVpWS+IMEAeg==} + '@shadcn/lint@0.1.0': + resolution: {integrity: sha512-UDSxO4eQa8UAclN1tChum+L336CL2uB2ZLGYiJ7r/GDrYUBOKPWWNUVoAfh2dZs4LhcwJRCn62+fKG12eAy1FQ==} + engines: {node: '>=20.19'} + peerDependencies: + eslint: '>=9.30.0' + peerDependenciesMeta: + eslint: + optional: true + '@sindresorhus/is@4.6.0': resolution: {integrity: sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==} engines: {node: '>=10'} @@ -3282,6 +3502,9 @@ packages: '@types/http-cache-semantics@4.2.0': resolution: {integrity: sha512-L3LgimLHXtGkWikKnsPg0/VFx9OGZaC+eN1u4r+OB1XRqH3meBIAVC2zr1WdMH+RHmnRkqliQAOHNJ/E0j/e0Q==} + '@types/json-schema@7.0.15': + resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} + '@types/katex@0.16.8': resolution: {integrity: sha512-trgaNyfU+Xh2Tc+ABIb44a5AYUpicB3uwirOioeOkNPPbmgRNtcWyDeeFRzjPZENO9Vq8gvVqfhaaXWLlevVwg==} @@ -3353,10 +3576,47 @@ packages: '@types/ws@8.18.1': resolution: {integrity: sha512-ThVF6DCVhA8kUGy+aazFQ4kXQ7E1Ty7A3ypFOe0IcJV8O/M511G99AW24irKrW56Wt44yG9+ij8FaqoBGkuBXg==} + '@typescript-eslint/parser@8.70.0': + resolution: {integrity: sha512-zYvrmj9Yxd63UGaXw+kdt6A0F0s0qveJyuatIM77bYC2DE4pgmg7a50u8LR7PRtXd0x+h+Tl3eXabGm06SWd3Q==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 || ^10.0.0 + typescript: '>=4.8.4 <6.1.0' + + '@typescript-eslint/project-service@8.70.0': + resolution: {integrity: sha512-hFHbTNqhU9G+2eKFXCBVb1tjFT/LceiJ4+HfLO4pTpDI0KHi6iajpcFFkaSQ9gXmCh7n82A0PthaayEdN6mspQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + typescript: '>=4.8.4 <6.1.0' + + '@typescript-eslint/scope-manager@8.70.0': + resolution: {integrity: sha512-8nP3Kwh5hlgZ4FicGvmznAmJe8UL4sdU8tLukrPaMuQmDuk4Y8xYfzu/aYZW4xT2JCgc7H/TpDI5cGlxcWJSqQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@typescript-eslint/tsconfig-utils@8.70.0': + resolution: {integrity: sha512-adnkeeNq9Sq1sUf4+FRVc0KdgYghzsgFpZSQVZVvY0LCuUuN0FnQgyGzCJeC4fW1cdXseBAjU2EOqUIjbNcZUw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + typescript: '>=4.8.4 <6.1.0' + '@typescript-eslint/types@8.60.0': resolution: {integrity: sha512-AsE7x2XaAK+CVbeih0Fvbn+r1qHxtpLDJ3XUuFcIinT318T90yHMJC+Zgv+jUuDjQQd06HKwxnDu6sz1IcTilA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@typescript-eslint/types@8.70.0': + resolution: {integrity: sha512-asTOIYhDg4zdzOScCyaytrsV3cR6B4ecPQlXw/dJIm7J/MZTtCtfVII9JD8Geh4jTCrK/Xe6cg5UevoleMcoJQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@typescript-eslint/typescript-estree@8.70.0': + resolution: {integrity: sha512-d9NmHMPEKQ7QCLLm1jI3zmoQBwT5KwFYjXBJ9ymZfKCUU+5rmTRykKAFvH5Qn/ZCds3CEAFS9OC9M/jkl0X2bA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + typescript: '>=4.8.4 <6.1.0' + + '@typescript-eslint/visitor-keys@8.70.0': + resolution: {integrity: sha512-BoC8PiO4Hkdo0TVJh9Ntxr5MxPDI7/oFsrygN5ADelFSeXG/qgNuucIGA+L5Z6JpPTE/uRfcTWtscjbUaufepQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@typescript/typescript-aix-ppc64@7.0.2': resolution: {integrity: sha512-MTKKkWB7p/0E9xi1d1tHtZ5PiLkGEMIq88pK2CubZjOsLtYTLqhgIgi6zepFa+9GHZ6h05NMCkQxGKiPXMxXtQ==} engines: {node: '>=16.20.0'} @@ -3575,6 +3835,11 @@ packages: resolution: {integrity: sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==} engines: {node: '>= 0.6'} + acorn-jsx@5.3.2: + resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} + peerDependencies: + acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 + acorn@8.16.0: resolution: {integrity: sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw==} engines: {node: '>=0.4.0'} @@ -3596,6 +3861,9 @@ packages: ajv: optional: true + ajv@6.15.0: + resolution: {integrity: sha512-fgFx7Hfoq60ytK2c7DhnF8jIvzYgOMxfugjLOSMHjLIPgenqa7S7oaagATUq99mV6IYvN2tRmC0wnTYX6iPbMw==} + ajv@8.20.0: resolution: {integrity: sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA==} @@ -3771,6 +4039,9 @@ packages: resolution: {integrity: sha512-v+p6ongsrp0yTGbJXjgxPow2+DL93DASP4kXCDKb8/bwRtt9OEF3whggkkDkGNzgcWy2XaF4a8nZglC7uElscg==} engines: {node: '>=8'} + cacheable@2.5.0: + resolution: {integrity: sha512-60cyAOytib/OzBw1JNSoSV/boK1AtHryDIjvVBk7XbN4ugfkM3+Sry7fEjNgPMGgOjuaZPAp8ruZ0Cxafwyq9g==} + call-bind-apply-helpers@1.0.2: resolution: {integrity: sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==} engines: {node: '>= 0.4'} @@ -3882,6 +4153,11 @@ packages: react: ^18 || ^19 || ^19.0.0-rc react-dom: ^18 || ^19 || ^19.0.0-rc + cn@0.2.6: + resolution: {integrity: sha512-+i4L0zUGgRcEnhsxueVrP7iBGxBx5iD0WOTYg1MwFEu2ZyCmH5Ov2V1cul2Ht5UchRQQgftCf4be/RxspuW6QQ==} + engines: {node: '>=20'} + hasBin: true + code-block-writer@13.0.3: resolution: {integrity: sha512-Oofo0pq3IKnsFtuHqSF7TqBfr71aeyZDVJ0HpmqB7FBM2qEigL0iPONSCZSO9pE9dZTAxANe5XHG9Uy0YMv8cg==} @@ -4194,6 +4470,9 @@ packages: babel-plugin-macros: optional: true + deep-is@0.1.4: + resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} + deepmerge@4.3.1: resolution: {integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==} engines: {node: '>=0.10.0'} @@ -4447,15 +4726,37 @@ packages: resolution: {integrity: sha512-xS90H51cKw0jltxmvmHy2Iai1LIqrfbw57b79w/J7MfvDfkIkFZ+kj6zC3BjtUwh150HsSSdxXZcsuv72miDFQ==} engines: {node: ^20.19.0 || ^22.13.0 || >=24} + eslint-visitor-keys@3.4.3: + resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + eslint-visitor-keys@5.0.1: resolution: {integrity: sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==} engines: {node: ^20.19.0 || ^22.13.0 || >=24} + eslint@10.10.0: + resolution: {integrity: sha512-NPXn6r5zl4uET1DAVPaOwzX3rut4c0wcmw3dWJAfOsTM5+TogXo0DDjz8pwm/hL8cyVNpHqeK4JpN0NjnyFFNw==} + engines: {node: ^20.19.0 || ^22.13.0 || >=24} + hasBin: true + peerDependencies: + jiti: '*' + peerDependenciesMeta: + jiti: + optional: true + + espree@11.2.0: + resolution: {integrity: sha512-7p3DrVEIopW1B1avAGLuCSh1jubc01H2JHc8B4qqGblmg5gI9yumBgACjWo4JlIc04ufug4xJ3SQI8HkS/Rgzw==} + engines: {node: ^20.19.0 || ^22.13.0 || >=24} + esprima@4.0.1: resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==} engines: {node: '>=4'} hasBin: true + esquery@1.7.0: + resolution: {integrity: sha512-Ap6G0WQwcU/LHsvLwON1fAQX9Zp0A2Y6Y/cJBl9r/JbW90Zyg4/zbG6zzKa2OTALELarYHmKu0GhpM5EO+7T0g==} + engines: {node: '>=0.10'} + esrecurse@4.3.0: resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==} engines: {node: '>=4.0'} @@ -4470,6 +4771,10 @@ packages: estree-walker@3.0.3: resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==} + esutils@2.0.3: + resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} + engines: {node: '>=0.10.0'} + etag@1.8.1: resolution: {integrity: sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==} engines: {node: '>= 0.6'} @@ -4524,6 +4829,12 @@ packages: resolution: {integrity: sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==} engines: {node: '>=8.6.0'} + fast-json-stable-stringify@2.1.0: + resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==} + + fast-levenshtein@2.0.6: + resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} + fast-sha256@1.3.0: resolution: {integrity: sha512-n11RGP/lrWEFI/bWdygLxhI+pVeo1ZYIVwvvPkW7azl/rOy+F3HYRZ2K5zeE9mmkhQppyv9sQFx0JM9UabnpPQ==} @@ -4561,6 +4872,9 @@ packages: resolution: {integrity: sha512-d+l3qxjSesT4V7v2fh+QnmFnUWv9lSpjarhShNTgBOfA0ttejbQUAlHLitbjkoRiDulW0OPoQPYIGhIC8ohejg==} engines: {node: '>=18'} + file-entry-cache@11.1.5: + resolution: {integrity: sha512-+PFTHITI08JIGhnNpGNI8T8inUpgZfk3GNEqfT9R2zZV2iFXg3CvqzSl/uEhs7TSGujYRELEANyDvS8Fj7+S7Q==} + filelist@1.0.6: resolution: {integrity: sha512-5giy2PkLYY1cP39p17Ech+2xlpTRL9HLspOfEgm0L6CwBXBTgsK5ou0JtzYuepxkaQ/tvhCFIJ5uXo0OrM2DxA==} @@ -4576,9 +4890,19 @@ packages: resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==} engines: {node: '>=8'} + find-up@5.0.0: + resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==} + engines: {node: '>=10'} + flairup@1.0.0: resolution: {integrity: sha512-IKlE+pNvL2R+kVL1kEhUYqRxVqeFnjiIvHWDMLFXNaqyUdFXQM2wte44EfMYJNHkW16X991t2Zg8apKkhv7OBA==} + flat-cache@6.1.23: + resolution: {integrity: sha512-f++BY9pTk+983xK1FLzlLpmM0i0z+jHmx3QESGkURMXujQZz1k5wzwX6hjnQ8goaD0B+sYnDK1yZ6MTyZfUaqA==} + + flatted@3.4.4: + resolution: {integrity: sha512-5+ybhBZANEJxaH3X5evAFatUxLfEHSr7n6kYJ+1Qd0mUqr4eu9gIf6GDbWHf8RJijHrjjO8G+la14SlL2SeS1Q==} + form-data@4.0.6: resolution: {integrity: sha512-vKatAh4SlVfgbv+YtmhiRjhEMJsYpsG1Y2rMQtR+SVSbytsSD1YGzDIcrAJmdFec88u/+VoGmxnl+80gL1tRCQ==} engines: {node: '>= 6'} @@ -4685,6 +5009,10 @@ packages: resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} engines: {node: '>= 6'} + glob-parent@6.0.2: + resolution: {integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==} + engines: {node: '>=10.13.0'} + glob@13.0.6: resolution: {integrity: sha512-Wjlyrolmm8uDpm/ogGyXZXb1Z+Ca2B8NbJwqBVg0axK9GbBeoS7yGV6vjXnYdGm6X53iehEuxxbyiKp8QmN4Vw==} engines: {node: 18 || 20 || >=22} @@ -4738,6 +5066,10 @@ packages: resolution: {integrity: sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==} engines: {node: '>= 0.4'} + hashery@1.5.1: + resolution: {integrity: sha512-iZyKG96/JwPz1N55vj2Ie2vXbhu440zfUfJvSwEqEbeLluk7NnapfGqa7LH0mOsnDxTF85Mx8/dyR6HfqcbmbQ==} + engines: {node: '>=20'} + hasown@2.0.4: resolution: {integrity: sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==} engines: {node: '>= 0.4'} @@ -4798,6 +5130,12 @@ packages: resolution: {integrity: sha512-jhunvfHWxd7J5EFfSgH4xsYJzSe/lfqbUCxiyyeaQasUsXeEHXtzVid+7EOGByc5JnFa23SSFL3Y2RV/z1T+eQ==} engines: {node: '>=16.9.0'} + hookified@1.15.1: + resolution: {integrity: sha512-MvG/clsADq1GPM2KGo2nyfaWVyn9naPiXrqIe4jYjXNZQt238kWyOGrsyc/DmRAQ+Re6yeo6yX/yoNCG5KAEVg==} + + hookified@2.2.0: + resolution: {integrity: sha512-p/LgFzRN5FeoD3DLS6bkUapeye6E4SI6yJs6KetENd18S+FBthqYq2amJUWpt5z0EQwwHemidjY5OqJGEKm5uA==} + hosted-git-info@4.1.0: resolution: {integrity: sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==} engines: {node: '>=10'} @@ -4883,6 +5221,10 @@ packages: resolution: {integrity: sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==} engines: {node: '>=6'} + imurmurhash@0.1.4: + resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==} + engines: {node: '>=0.8.19'} + indent-string@4.0.0: resolution: {integrity: sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==} engines: {node: '>=8'} @@ -5077,12 +5419,18 @@ packages: resolution: {integrity: sha512-+DWg8jCJG2TEnpy7kOm/7/AxaYoaRbjVB4LFZLySZlWn8exGs3A4OLJR966cVvU26N7X9TWxl+Jsw7dzAqKT6g==} engines: {node: '>=16'} + json-schema-traverse@0.4.1: + resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==} + json-schema-traverse@1.0.0: resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==} json-schema-typed@8.0.2: resolution: {integrity: sha512-fQhoXdcvc3V28x7C7BMs4P5+kNlgUURe2jmUT1T//oBRMDrqy1QPelJimwZGo7Hg9VPV3EQV5Bnq4hbFy2vetA==} + json-stable-stringify-without-jsonify@1.0.1: + resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==} + json-stringify-safe@5.0.1: resolution: {integrity: sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==} @@ -5111,6 +5459,9 @@ packages: keyv@4.5.4: resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==} + keyv@5.6.0: + resolution: {integrity: sha512-CYDD3SOtsHtyXeEORYRx2qBtpDJFjRTGXUtmNEMGyzYOKj1TE3tycdlho7kA1Ufx9OYWZzg52QFBGALTirzDSw==} + khroma@2.1.0: resolution: {integrity: sha512-Ls993zuzfayK269Svk9hzpeGUKob/sIgZzyHYdjQoAdQetRKpOLj+k/QQQ/6Qi0Yz65mlROrfd+Ev+1+7dz9Kw==} @@ -5131,6 +5482,10 @@ packages: lazy-val@1.0.5: resolution: {integrity: sha512-0/BnGCCfyUMkBpeDgWihanIAF9JmZhHBgUhEqzvf+adhNGLoP6TaiI5oF8oyb3I45P+PcnrqihSf01M0l0G5+Q==} + levn@0.4.1: + resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} + engines: {node: '>= 0.8.0'} + lightningcss-android-arm64@1.32.0: resolution: {integrity: sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg==} engines: {node: '>= 12.0.0'} @@ -5224,6 +5579,10 @@ packages: resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==} engines: {node: '>=8'} + locate-path@6.0.0: + resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==} + engines: {node: '>=10'} + lodash-es@4.18.1: resolution: {integrity: sha512-J8xewKD/Gk22OZbhpOVSwcs60zhd95ESDwezOFuA3/099925PdHJ7OFHNTGtajL3AlZkykD32HykiMo+BIBI8A==} @@ -5576,6 +5935,9 @@ packages: engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true + natural-compare@1.4.0: + resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} + negotiator@1.0.0: resolution: {integrity: sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==} engines: {node: '>= 0.6'} @@ -5672,6 +6034,10 @@ packages: resolution: {integrity: sha512-kCyjv6xdDY1W/jLWZ/L3QhhTlKUqDZMQ5+Jdlw12b3dXkKNpYBqqlMMj0YDQPShWFTMwgZI1hG14kN3XUDSg/A==} hasBin: true + optionator@0.9.4: + resolution: {integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==} + engines: {node: '>= 0.8.0'} + ora@8.2.0: resolution: {integrity: sha512-weP+BZ8MVNnlCm8c0Qdc1WSWq4Qn7I+9CJGm7Qali6g44e/PUzbjNqJX5NJ9ljlNMosfJvg1fKEGILklK9cwnw==} engines: {node: '>=18'} @@ -5690,6 +6056,10 @@ packages: resolution: {integrity: sha512-uFkGGr1KMWd6aWv9UAqooYrN78trw8MWWmoPvgWokfBEUq1+eiIQ+qfj3wokhy0fxtZWZk+0dHoS7/yRTJtd6w==} engines: {node: ^20.19.0 || >=22.12.0} + oxc-parser@0.148.0: + resolution: {integrity: sha512-syxUKHeUll89RIABQADcI7sikYrwyssvA6gj4phSSIPezKVM8yMaLAiLLSc7fmzVvrwybfFGFbW5zme9sX87rg==} + engines: {node: ^20.19.0 || >=22.12.0} + oxfmt@0.65.0: resolution: {integrity: sha512-SgS5VgnP42T0zl3zWD+xoH8FCqg1SAFnSRoOT/qeoa6gxcYIqrDMOmcXIg/EWSN92Du4ogB4riuKhKd6Y4CGhw==} engines: {node: ^20.19.0 || >=22.12.0} @@ -5703,6 +6073,10 @@ packages: vite-plus: optional: true + oxlint-plugin-anti-slop@https://codeload.github.com/dmmulroy/anti-slop/tar.gz/c44ef22ca116d0ba62a3ff663a0bd13a3f3fa40b: + resolution: {gitHosted: true, integrity: sha512-Vj/M0k5Bt1Q2pGdfXZ24wGXycBcvFHwJ/pjHIFl1hV8soaZKHl1lba5UXlQFY5xgwQ5TNfEWiKfsEt0yyRyVUg==, tarball: https://codeload.github.com/dmmulroy/anti-slop/tar.gz/c44ef22ca116d0ba62a3ff663a0bd13a3f3fa40b} + version: 0.1.2 + oxlint-plugin-react-doctor@0.9.1: resolution: {integrity: sha512-yCW8USbiuszbVsUMN4fL1iU7mRu3Ae3w96+k/xqCyWvW6bF6DzCMtLy5N/w6WLRX78iQsWxVqW/SEgzRBXLfsA==} engines: {node: ^20.19.0 || >=22.13.0} @@ -5740,6 +6114,10 @@ packages: resolution: {integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==} engines: {node: '>=8'} + p-locate@5.0.0: + resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==} + engines: {node: '>=10'} + p-retry@4.6.2: resolution: {integrity: sha512-312Id396EbJdvRONlngUx0NydfrIQ5lsYu0znKVUzVvArzEIt08V1qhtyESbGVd1FGX7UKtiFp5uwKZdM8wIuQ==} engines: {node: '>=8'} @@ -5892,6 +6270,10 @@ packages: resolution: {integrity: sha512-dM0jVuXJPsDN6DvRpea484tCUaMiXWjuCn++HGTqUWzGDjv5tZkEZldAJ/UMlqRYGFrD/etByo4/xOuC/snX2A==} engines: {node: '>=20'} + prelude-ls@1.2.1: + resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} + engines: {node: '>= 0.8.0'} + pretty-format@27.5.1: resolution: {integrity: sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} @@ -5971,6 +6353,10 @@ packages: pump@3.0.4: resolution: {integrity: sha512-VS7sjc6KR7e1ukRFhQSY5LM2uBWAUPiOPa/A3mkKmiMwSmRFUITt0xuj+/lesgnCv+dPIEYlkzrcyXgquIHMcA==} + punycode@2.3.1: + resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==} + engines: {node: '>=6'} + pvtsutils@1.3.6: resolution: {integrity: sha512-PLgQXQ6H2FWCaeRak8vvk1GW462lMxB5s3Jm673N82zI4vqtVUPuZdffdZbPDFRoU8kAhItWFtPCWiPpp4/EDg==} @@ -5978,6 +6364,10 @@ packages: resolution: {integrity: sha512-KTqnxsgGiQ6ZAzZCVlJH5eOjSnvlyEgx1m8bkRJfOhmGRqfo5KLvmAlACQkrjEtOQ4B7wF9TdSLIs9O90MX9xA==} engines: {node: '>=16.0.0'} + qified@0.10.1: + resolution: {integrity: sha512-+Owyggi9IxT1ePKGafcI87ubSmxol6smwJ+RAHDQlx9+9cPwFWDiKFFCPuWhr9ignlGpZ9vDQLw67N4dcTVFEA==} + engines: {node: '>=20'} + qrcode@1.5.4: resolution: {integrity: sha512-1ca71Zgiu6ORjHqFBDpnSMTR2ReToX4l1Au1VFLyVeBTFavzQnv5JxMFr3ukHVKpSrSA2MCk0lNJSykjUfz7Zg==} engines: {node: '>=10.13.0'} @@ -6650,6 +7040,12 @@ packages: ts-algebra@2.0.0: resolution: {integrity: sha512-FPAhNPFMrkwz76P7cdjdmiShwMynZYN6SgOujD1urY4oNm80Ou9oMdmbR45LotcKOXoy7wSmHkRFE6Mxbrhefw==} + ts-api-utils@2.5.0: + resolution: {integrity: sha512-OJ/ibxhPlqrMM0UiNHJ/0CKQkoKF243/AEmplt3qpRgkW8VG7IfOS41h7V8TjITqdByHzrjcS/2si+y4lIh8NA==} + engines: {node: '>=18.12'} + peerDependencies: + typescript: '>=4.8.4' + ts-dedent@2.2.0: resolution: {integrity: sha512-q5W7tVM71e2xjHZTlgfTDoPF/SmqKG5hddq9SzR49CH2hayqRKJtQ4mtRlSxKaJlR/+9rEM+mnBHf7I2/BQcpQ==} engines: {node: '>=6.10'} @@ -6673,6 +7069,10 @@ packages: tweetnacl@1.0.3: resolution: {integrity: sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw==} + type-check@0.4.0: + resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} + engines: {node: '>= 0.8.0'} + type-fest@0.13.1: resolution: {integrity: sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg==} engines: {node: '>=10'} @@ -6767,6 +7167,9 @@ packages: peerDependencies: browserslist: '>= 4.21.0' + uri-js@4.4.1: + resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} + use-callback-ref@1.3.3: resolution: {integrity: sha512-jQL3lRnocaFtu3V00JToYz/4QkNWswxijDaCVNZRiRTO3HQDLsdu1ZtmIUvV4yPp+rvWm5j0y0TG/S61cuijTg==} engines: {node: '>=10'} @@ -6907,6 +7310,10 @@ packages: engines: {node: '>=8'} hasBin: true + word-wrap@1.2.5: + resolution: {integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==} + engines: {node: '>=0.10.0'} + wrap-ansi@6.2.0: resolution: {integrity: sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==} engines: {node: '>=8'} @@ -7278,6 +7685,18 @@ snapshots: '@braintree/sanitize-url@7.1.2': {} + '@cacheable/memory@2.2.0': + dependencies: + '@cacheable/utils': 2.5.0 + '@keyv/bigmap': 1.3.1(keyv@5.6.0) + hookified: 1.15.1 + keyv: 5.6.0 + + '@cacheable/utils@2.5.0': + dependencies: + hashery: 1.5.1 + keyv: 5.6.0 + '@chevrotain/types@11.1.2': {} '@croct/json5-parser@0.2.2': @@ -7524,6 +7943,40 @@ snapshots: '@esbuild/win32-x64@0.25.12': optional: true + '@eslint-community/eslint-utils@4.10.1(eslint@10.10.0(jiti@2.7.0)(supports-color@7.2.0))': + dependencies: + eslint: 10.10.0(jiti@2.7.0)(supports-color@7.2.0) + eslint-visitor-keys: 3.4.3 + + '@eslint-community/regexpp@4.12.2': {} + + '@eslint/config-array@0.23.5(supports-color@7.2.0)': + dependencies: + '@eslint/object-schema': 3.0.5 + debug: 4.4.3(supports-color@7.2.0) + minimatch: 10.2.5 + transitivePeerDependencies: + - supports-color + + '@eslint/config-helpers@0.7.0': + dependencies: + '@eslint/core': 1.2.1 + + '@eslint/core@0.17.0': + dependencies: + '@types/json-schema': 7.0.15 + + '@eslint/core@1.2.1': + dependencies: + '@types/json-schema': 7.0.15 + + '@eslint/object-schema@3.0.5': {} + + '@eslint/plugin-kit@0.7.3': + dependencies: + '@eslint/core': 1.2.1 + levn: 0.4.1 + '@floating-ui/core@1.7.5': dependencies: '@floating-ui/utils': 0.2.11 @@ -7549,6 +8002,22 @@ snapshots: dependencies: hono: 4.13.0 + '@humanfs/core@0.19.2': + dependencies: + '@humanfs/types': 0.15.0 + + '@humanfs/node@0.16.8': + dependencies: + '@humanfs/core': 0.19.2 + '@humanfs/types': 0.15.0 + '@humanwhocodes/retry': 0.4.3 + + '@humanfs/types@0.15.0': {} + + '@humanwhocodes/module-importer@1.0.1': {} + + '@humanwhocodes/retry@0.4.3': {} + '@iconify/types@2.0.0': {} '@iconify/utils@3.1.1': @@ -7699,6 +8168,14 @@ snapshots: '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.5.5 + '@keyv/bigmap@1.3.1(keyv@5.6.0)': + dependencies: + hashery: 1.5.1 + hookified: 1.15.1 + keyv: 5.6.0 + + '@keyv/serialize@1.1.1': {} + '@linear/sdk@82.1.0(graphql@16.14.2)': dependencies: '@graphql-typed-document-node/core': 3.2.0(graphql@16.14.2) @@ -7887,51 +8364,99 @@ snapshots: '@oxc-parser/binding-android-arm-eabi@0.141.0': optional: true + '@oxc-parser/binding-android-arm-eabi@0.148.0': + optional: true + '@oxc-parser/binding-android-arm64@0.141.0': optional: true + '@oxc-parser/binding-android-arm64@0.148.0': + optional: true + '@oxc-parser/binding-darwin-arm64@0.141.0': optional: true + '@oxc-parser/binding-darwin-arm64@0.148.0': + optional: true + '@oxc-parser/binding-darwin-x64@0.141.0': optional: true + '@oxc-parser/binding-darwin-x64@0.148.0': + optional: true + '@oxc-parser/binding-freebsd-x64@0.141.0': optional: true + '@oxc-parser/binding-freebsd-x64@0.148.0': + optional: true + '@oxc-parser/binding-linux-arm-gnueabihf@0.141.0': optional: true + '@oxc-parser/binding-linux-arm-gnueabihf@0.148.0': + optional: true + '@oxc-parser/binding-linux-arm-musleabihf@0.141.0': optional: true + '@oxc-parser/binding-linux-arm-musleabihf@0.148.0': + optional: true + '@oxc-parser/binding-linux-arm64-gnu@0.141.0': optional: true + '@oxc-parser/binding-linux-arm64-gnu@0.148.0': + optional: true + '@oxc-parser/binding-linux-arm64-musl@0.141.0': optional: true + '@oxc-parser/binding-linux-arm64-musl@0.148.0': + optional: true + '@oxc-parser/binding-linux-ppc64-gnu@0.141.0': optional: true + '@oxc-parser/binding-linux-ppc64-gnu@0.148.0': + optional: true + '@oxc-parser/binding-linux-riscv64-gnu@0.141.0': optional: true + '@oxc-parser/binding-linux-riscv64-gnu@0.148.0': + optional: true + '@oxc-parser/binding-linux-riscv64-musl@0.141.0': optional: true + '@oxc-parser/binding-linux-riscv64-musl@0.148.0': + optional: true + '@oxc-parser/binding-linux-s390x-gnu@0.141.0': optional: true + '@oxc-parser/binding-linux-s390x-gnu@0.148.0': + optional: true + '@oxc-parser/binding-linux-x64-gnu@0.141.0': optional: true + '@oxc-parser/binding-linux-x64-gnu@0.148.0': + optional: true + '@oxc-parser/binding-linux-x64-musl@0.141.0': optional: true + '@oxc-parser/binding-linux-x64-musl@0.148.0': + optional: true + '@oxc-parser/binding-openharmony-arm64@0.141.0': optional: true + '@oxc-parser/binding-openharmony-arm64@0.148.0': + optional: true + '@oxc-parser/binding-wasm32-wasi@0.141.0': dependencies: '@emnapi/core': 1.11.2 @@ -7942,18 +8467,30 @@ snapshots: '@oxc-parser/binding-win32-arm64-msvc@0.141.0': optional: true + '@oxc-parser/binding-win32-arm64-msvc@0.148.0': + optional: true + '@oxc-parser/binding-win32-ia32-msvc@0.141.0': optional: true + '@oxc-parser/binding-win32-ia32-msvc@0.148.0': + optional: true + '@oxc-parser/binding-win32-x64-msvc@0.141.0': optional: true + '@oxc-parser/binding-win32-x64-msvc@0.148.0': + optional: true + '@oxc-project/runtime@0.101.0': {} '@oxc-project/types@0.101.0': {} '@oxc-project/types@0.141.0': {} + '@oxc-project/types@0.148.0': + optional: true + '@oxfmt/binding-android-arm-eabi@0.65.0': optional: true @@ -8086,6 +8623,10 @@ snapshots: '@oxlint/binding-win32-x64-msvc@1.80.0': optional: true + '@oxlint/plugins@1.78.0': {} + + '@oxlint/plugins@1.80.0': {} + '@parcel/watcher-android-arm64@2.5.6': optional: true @@ -8988,6 +9529,18 @@ snapshots: '@sec-ant/readable-stream@0.4.1': {} + '@shadcn/lint@0.1.0(eslint@10.10.0(jiti@2.7.0)(supports-color@7.2.0))(supports-color@7.2.0)(typescript@7.0.2)': + dependencies: + '@eslint/core': 0.17.0 + '@typescript-eslint/parser': 8.70.0(eslint@10.10.0(jiti@2.7.0)(supports-color@7.2.0))(supports-color@7.2.0)(typescript@7.0.2) + cn: 0.2.6 + optionalDependencies: + eslint: 10.10.0(jiti@2.7.0)(supports-color@7.2.0) + oxc-parser: 0.148.0 + transitivePeerDependencies: + - supports-color + - typescript + '@sindresorhus/is@4.6.0': {} '@sindresorhus/merge-streams@4.0.0': {} @@ -9621,6 +10174,8 @@ snapshots: '@types/http-cache-semantics@4.2.0': {} + '@types/json-schema@7.0.15': {} + '@types/katex@0.16.8': {} '@types/keyv@3.1.4': @@ -9696,8 +10251,60 @@ snapshots: dependencies: '@types/node': 25.9.5 + '@typescript-eslint/parser@8.70.0(eslint@10.10.0(jiti@2.7.0)(supports-color@7.2.0))(supports-color@7.2.0)(typescript@7.0.2)': + dependencies: + '@typescript-eslint/scope-manager': 8.70.0 + '@typescript-eslint/types': 8.70.0 + '@typescript-eslint/typescript-estree': 8.70.0(supports-color@7.2.0)(typescript@7.0.2) + '@typescript-eslint/visitor-keys': 8.70.0 + debug: 4.4.3(supports-color@7.2.0) + eslint: 10.10.0(jiti@2.7.0)(supports-color@7.2.0) + typescript: 7.0.2 + transitivePeerDependencies: + - supports-color + + '@typescript-eslint/project-service@8.70.0(supports-color@7.2.0)(typescript@7.0.2)': + dependencies: + '@typescript-eslint/tsconfig-utils': 8.70.0(typescript@7.0.2) + '@typescript-eslint/types': 8.70.0 + debug: 4.4.3(supports-color@7.2.0) + typescript: 7.0.2 + transitivePeerDependencies: + - supports-color + + '@typescript-eslint/scope-manager@8.70.0': + dependencies: + '@typescript-eslint/types': 8.70.0 + '@typescript-eslint/visitor-keys': 8.70.0 + + '@typescript-eslint/tsconfig-utils@8.70.0(typescript@7.0.2)': + dependencies: + typescript: 7.0.2 + '@typescript-eslint/types@8.60.0': {} + '@typescript-eslint/types@8.70.0': {} + + '@typescript-eslint/typescript-estree@8.70.0(supports-color@7.2.0)(typescript@7.0.2)': + dependencies: + '@typescript-eslint/project-service': 8.70.0(supports-color@7.2.0)(typescript@7.0.2) + '@typescript-eslint/tsconfig-utils': 8.70.0(typescript@7.0.2) + '@typescript-eslint/types': 8.70.0 + '@typescript-eslint/visitor-keys': 8.70.0 + debug: 4.4.3(supports-color@7.2.0) + minimatch: 10.2.5 + semver: 7.8.1 + tinyglobby: 0.2.16 + ts-api-utils: 2.5.0(typescript@7.0.2) + typescript: 7.0.2 + transitivePeerDependencies: + - supports-color + + '@typescript-eslint/visitor-keys@8.70.0': + dependencies: + '@typescript-eslint/types': 8.70.0 + eslint-visitor-keys: 5.0.1 + '@typescript/typescript-aix-ppc64@7.0.2': optional: true @@ -9867,6 +10474,10 @@ snapshots: mime-types: 3.0.2 negotiator: 1.0.0 + acorn-jsx@5.3.2(acorn@8.16.0): + dependencies: + acorn: 8.16.0 + acorn@8.16.0: {} agent-base@7.1.4: {} @@ -9877,6 +10488,13 @@ snapshots: optionalDependencies: ajv: 8.20.0 + ajv@6.15.0: + dependencies: + fast-deep-equal: 3.1.3 + fast-json-stable-stringify: 2.1.0 + json-schema-traverse: 0.4.1 + uri-js: 4.4.1 + ajv@8.20.0: dependencies: fast-deep-equal: 3.1.3 @@ -10103,6 +10721,14 @@ snapshots: normalize-url: 6.1.0 responselike: 2.0.1 + cacheable@2.5.0: + dependencies: + '@cacheable/memory': 2.2.0 + '@cacheable/utils': 2.5.0 + hookified: 1.15.1 + keyv: 5.6.0 + qified: 0.10.1 + call-bind-apply-helpers@1.0.2: dependencies: es-errors: 1.3.0 @@ -10201,6 +10827,8 @@ snapshots: - '@types/react' - '@types/react-dom' + cn@0.2.6: {} + code-block-writer@13.0.3: {} color-convert@2.0.1: @@ -10500,6 +11128,8 @@ snapshots: dedent@1.7.2: {} + deep-is@0.1.4: {} + deepmerge@4.3.1: {} default-browser-id@5.0.1: {} @@ -10791,8 +11421,7 @@ snapshots: escape-html@1.0.3: {} - escape-string-regexp@4.0.0: - optional: true + escape-string-regexp@4.0.0: {} escape-string-regexp@5.0.0: {} @@ -10803,10 +11432,59 @@ snapshots: esrecurse: 4.3.0 estraverse: 5.3.0 + eslint-visitor-keys@3.4.3: {} + eslint-visitor-keys@5.0.1: {} + eslint@10.10.0(jiti@2.7.0)(supports-color@7.2.0): + dependencies: + '@eslint-community/eslint-utils': 4.10.1(eslint@10.10.0(jiti@2.7.0)(supports-color@7.2.0)) + '@eslint-community/regexpp': 4.12.2 + '@eslint/config-array': 0.23.5(supports-color@7.2.0) + '@eslint/config-helpers': 0.7.0 + '@eslint/core': 1.2.1 + '@eslint/plugin-kit': 0.7.3 + '@humanfs/node': 0.16.8 + '@humanwhocodes/module-importer': 1.0.1 + '@humanwhocodes/retry': 0.4.3 + '@types/estree': 1.0.8 + ajv: 6.15.0 + cross-spawn: 7.0.6 + debug: 4.4.3(supports-color@7.2.0) + escape-string-regexp: 4.0.0 + eslint-scope: 9.1.2 + eslint-visitor-keys: 5.0.1 + espree: 11.2.0 + esquery: 1.7.0 + esutils: 2.0.3 + fast-deep-equal: 3.1.3 + file-entry-cache: 11.1.5 + find-up: 5.0.0 + glob-parent: 6.0.2 + ignore: 5.3.2 + imurmurhash: 0.1.4 + is-glob: 4.0.3 + json-stable-stringify-without-jsonify: 1.0.1 + minimatch: 10.2.5 + natural-compare: 1.4.0 + optionator: 0.9.4 + optionalDependencies: + jiti: 2.7.0 + transitivePeerDependencies: + - supports-color + + espree@11.2.0: + dependencies: + acorn: 8.16.0 + acorn-jsx: 5.3.2(acorn@8.16.0) + eslint-visitor-keys: 5.0.1 + esprima@4.0.1: {} + esquery@1.7.0: + dependencies: + estraverse: 5.3.0 + esrecurse@4.3.0: dependencies: estraverse: 5.3.0 @@ -10819,6 +11497,8 @@ snapshots: dependencies: '@types/estree': 1.0.8 + esutils@2.0.3: {} + etag@1.8.1: {} eventemitter3@5.0.4: {} @@ -10912,6 +11592,10 @@ snapshots: merge2: 1.4.1 micromatch: 4.0.8 + fast-json-stable-stringify@2.1.0: {} + + fast-levenshtein@2.0.6: {} + fast-sha256@1.3.0: {} fast-string-truncated-width@3.0.3: {} @@ -10946,6 +11630,10 @@ snapshots: dependencies: is-unicode-supported: 2.1.0 + file-entry-cache@11.1.5: + dependencies: + flat-cache: 6.1.23 + filelist@1.0.6: dependencies: minimatch: 5.1.9 @@ -10970,8 +11658,21 @@ snapshots: locate-path: 5.0.0 path-exists: 4.0.0 + find-up@5.0.0: + dependencies: + locate-path: 6.0.0 + path-exists: 4.0.0 + flairup@1.0.0: {} + flat-cache@6.1.23: + dependencies: + cacheable: 2.5.0 + flatted: 3.4.4 + hookified: 1.15.1 + + flatted@3.4.4: {} + form-data@4.0.6: dependencies: asynckit: 0.4.0 @@ -11080,6 +11781,10 @@ snapshots: dependencies: is-glob: 4.0.3 + glob-parent@6.0.2: + dependencies: + is-glob: 4.0.3 + glob@13.0.6: dependencies: minimatch: 10.2.5 @@ -11159,6 +11864,10 @@ snapshots: dependencies: has-symbols: 1.1.0 + hashery@1.5.1: + dependencies: + hookified: 1.15.1 + hasown@2.0.4: dependencies: function-bind: 1.1.2 @@ -11293,6 +12002,10 @@ snapshots: hono@4.13.0: {} + hookified@1.15.1: {} + + hookified@2.2.0: {} + hosted-git-info@4.1.0: dependencies: lru-cache: 6.0.0 @@ -11396,6 +12109,8 @@ snapshots: parent-module: 1.0.1 resolve-from: 4.0.0 + imurmurhash@0.1.4: {} + indent-string@4.0.0: {} inflight@1.0.6: @@ -11531,10 +12246,14 @@ snapshots: '@babel/runtime': 7.29.7 ts-algebra: 2.0.0 + json-schema-traverse@0.4.1: {} + json-schema-traverse@1.0.0: {} json-schema-typed@8.0.2: {} + json-stable-stringify-without-jsonify@1.0.1: {} + json-stringify-safe@5.0.1: optional: true @@ -11564,6 +12283,10 @@ snapshots: dependencies: json-buffer: 3.0.1 + keyv@5.6.0: + dependencies: + '@keyv/serialize': 1.1.1 + khroma@2.1.0: {} kleur@3.0.3: {} @@ -11576,6 +12299,11 @@ snapshots: lazy-val@1.0.5: {} + levn@0.4.1: + dependencies: + prelude-ls: 1.2.1 + type-check: 0.4.0 + lightningcss-android-arm64@1.32.0: optional: true @@ -11651,6 +12379,10 @@ snapshots: dependencies: p-locate: 4.1.0 + locate-path@6.0.0: + dependencies: + p-locate: 5.0.0 + lodash-es@4.18.1: {} lodash.escaperegexp@4.1.2: {} @@ -12248,6 +12980,8 @@ snapshots: nanoid@3.3.18: {} + natural-compare@1.4.0: {} + negotiator@1.0.0: {} node-abi@4.33.0: @@ -12339,6 +13073,15 @@ snapshots: opentype.js@2.0.0: {} + optionator@0.9.4: + dependencies: + deep-is: 0.1.4 + fast-levenshtein: 2.0.6 + levn: 0.4.1 + prelude-ls: 1.2.1 + type-check: 0.4.0 + word-wrap: 1.2.5 + ora@8.2.0: dependencies: chalk: 5.6.2 @@ -12392,6 +13135,31 @@ snapshots: '@oxc-parser/binding-win32-ia32-msvc': 0.141.0 '@oxc-parser/binding-win32-x64-msvc': 0.141.0 + oxc-parser@0.148.0: + dependencies: + '@oxc-project/types': 0.148.0 + optionalDependencies: + '@oxc-parser/binding-android-arm-eabi': 0.148.0 + '@oxc-parser/binding-android-arm64': 0.148.0 + '@oxc-parser/binding-darwin-arm64': 0.148.0 + '@oxc-parser/binding-darwin-x64': 0.148.0 + '@oxc-parser/binding-freebsd-x64': 0.148.0 + '@oxc-parser/binding-linux-arm-gnueabihf': 0.148.0 + '@oxc-parser/binding-linux-arm-musleabihf': 0.148.0 + '@oxc-parser/binding-linux-arm64-gnu': 0.148.0 + '@oxc-parser/binding-linux-arm64-musl': 0.148.0 + '@oxc-parser/binding-linux-ppc64-gnu': 0.148.0 + '@oxc-parser/binding-linux-riscv64-gnu': 0.148.0 + '@oxc-parser/binding-linux-riscv64-musl': 0.148.0 + '@oxc-parser/binding-linux-s390x-gnu': 0.148.0 + '@oxc-parser/binding-linux-x64-gnu': 0.148.0 + '@oxc-parser/binding-linux-x64-musl': 0.148.0 + '@oxc-parser/binding-openharmony-arm64': 0.148.0 + '@oxc-parser/binding-win32-arm64-msvc': 0.148.0 + '@oxc-parser/binding-win32-ia32-msvc': 0.148.0 + '@oxc-parser/binding-win32-x64-msvc': 0.148.0 + optional: true + oxfmt@0.65.0: dependencies: tinypool: 2.1.0 @@ -12416,6 +13184,10 @@ snapshots: '@oxfmt/binding-win32-ia32-msvc': 0.65.0 '@oxfmt/binding-win32-x64-msvc': 0.65.0 + oxlint-plugin-anti-slop@https://codeload.github.com/dmmulroy/anti-slop/tar.gz/c44ef22ca116d0ba62a3ff663a0bd13a3f3fa40b: + dependencies: + '@oxlint/plugins': 1.78.0 + oxlint-plugin-react-doctor@0.9.1: dependencies: '@typescript-eslint/types': 8.60.0 @@ -12469,6 +13241,10 @@ snapshots: dependencies: p-limit: 2.3.0 + p-locate@5.0.0: + dependencies: + p-limit: 3.1.0 + p-retry@4.6.2: dependencies: '@types/retry': 0.12.0 @@ -12607,6 +13383,8 @@ snapshots: powershell-utils@0.1.0: {} + prelude-ls@1.2.1: {} + pretty-format@27.5.1: dependencies: ansi-regex: 5.0.1 @@ -12725,12 +13503,18 @@ snapshots: end-of-stream: 1.4.5 once: 1.4.0 + punycode@2.3.1: {} + pvtsutils@1.3.6: dependencies: tslib: 2.8.1 pvutils@1.1.5: {} + qified@0.10.1: + dependencies: + hookified: 2.2.0 + qrcode@1.5.4: dependencies: dijkstrajs: 1.0.3 @@ -13528,6 +14312,10 @@ snapshots: ts-algebra@2.0.0: {} + ts-api-utils@2.5.0(typescript@7.0.2): + dependencies: + typescript: 7.0.2 + ts-dedent@2.2.0: {} ts-morph@26.0.0: @@ -13549,6 +14337,10 @@ snapshots: tweetnacl@1.0.3: {} + type-check@0.4.0: + dependencies: + prelude-ls: 1.2.1 + type-fest@0.13.1: optional: true @@ -13668,6 +14460,10 @@ snapshots: escalade: 3.2.0 picocolors: 1.1.1 + uri-js@4.4.1: + dependencies: + punycode: 2.3.1 + use-callback-ref@1.3.3(@types/react@19.2.17)(react@19.2.8): dependencies: react: 19.2.8 @@ -13782,6 +14578,8 @@ snapshots: siginfo: 2.0.0 stackback: 0.0.2 + word-wrap@1.2.5: {} + wrap-ansi@6.2.0: dependencies: ansi-styles: 4.3.0 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 9c0ee568c74..68ae103f6ec 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -17,6 +17,7 @@ minimumReleaseAgeExclude: - pdfjs-dist@6.3.289 - zod@4.5.4 - electron@43.7.0 + - '@shadcn/lint@0.1.0' shamefullyHoist: true # Orca always launches the user's own resolved Claude CLI via diff --git a/src/cli/handlers/skills.ts b/src/cli/handlers/skills.ts index 1b068fc80b0..325262a42f5 100644 --- a/src/cli/handlers/skills.ts +++ b/src/cli/handlers/skills.ts @@ -17,7 +17,7 @@ import { UnsafeWindowsBatchArgumentsError, WINDOWS_BATCH_UNSAFE_CHARACTERS_LABEL } from '../../shared/windows-batch-spawn' -import { isSkillsCliAgentKeyShaped, toSkillsCliAgentKeys } from '../../shared/skills-cli-agent-keys' +import { isUsableSkillsCliAgentKey, toSkillsCliAgentKeys } from '../../shared/skills-cli-agent-keys' import { buildAgentFeatureSkillInstallArgs, buildAgentFeatureSkillUpdateArgs @@ -150,7 +150,7 @@ function resolveInstallAgentKeys(flags: Map): string[] if (keys.length === 0) { throw new RuntimeClientError('invalid_argument', 'Missing required --agent') } - const unusable = keys.find((key) => !isSkillsCliAgentKeyShaped(key)) + const unusable = keys.find((key) => !isUsableSkillsCliAgentKey(key)) if (unusable !== undefined) { // Why: the skills CLI drops a value starting with `-`, which leaves it with // no target and installs into every agent it knows. diff --git a/src/cli/handlers/worktree-removal-warnings.ts b/src/cli/handlers/worktree-removal-warnings.ts new file mode 100644 index 00000000000..08079c51a0d --- /dev/null +++ b/src/cli/handlers/worktree-removal-warnings.ts @@ -0,0 +1,37 @@ +import { + formatArchiveHookOverride, + type ArchiveHookOverride +} from '../../shared/worktree/archive-hook-removal-gate' + +type HookWarningResult = { + warning?: string + archiveHookOverride?: ArchiveHookOverride +} + +type PreservedBranchResult = { + preservedBranch?: { + branchName: string + } +} + +export function printHookWarning(result: HookWarningResult, json: boolean): void { + if (json) { + return + } + if (result.warning) { + console.error(`warning: ${result.warning}`) + } + // Why (#19334): a waived archive-hook failure is the one case where Orca deleted a checkout + // whose archive step did not succeed. It has to stay visible in human output. + if (result.archiveHookOverride) { + console.error(`warning: ${formatArchiveHookOverride(result.archiveHookOverride)}`) + } +} + +export function printPreservedBranchWarning(result: PreservedBranchResult, json: boolean): void { + if (!json && result.preservedBranch) { + console.error( + `warning: local branch "${result.preservedBranch.branchName}" was kept because Git could not safely delete it` + ) + } +} diff --git a/src/cli/handlers/worktree.ts b/src/cli/handlers/worktree.ts index 262599234f0..62ddd27155a 100644 --- a/src/cli/handlers/worktree.ts +++ b/src/cli/handlers/worktree.ts @@ -6,6 +6,7 @@ import type { RuntimeWorktreeRemoveResult } from '../../shared/runtime-types' import type { CommandHandler } from '../dispatch' +import { printHookWarning, printPreservedBranchWarning } from './worktree-removal-warnings' import { formatWorktreeList, formatWorktreePs, formatWorktreeShow, printResult } from '../format' import { annotateOmittedHostScope, @@ -38,30 +39,6 @@ import { } from './worktree-create-parent-selector' import { getOptionalLinearIssueLinkFlag } from './worktree-linear-issue-link' -type HookWarningResult = { - warning?: string -} - -type PreservedBranchResult = { - preservedBranch?: { - branchName: string - } -} - -function printHookWarning(result: HookWarningResult, json: boolean): void { - if (!json && result.warning) { - console.error(`warning: ${result.warning}`) - } -} - -function printPreservedBranchWarning(result: PreservedBranchResult, json: boolean): void { - if (!json && result.preservedBranch) { - console.error( - `warning: local branch "${result.preservedBranch.branchName}" was kept because Git could not safely delete it` - ) - } -} - function assertParentWorktreeFlagsCompatible(flags: Map): void { if (flags.has('parent-worktree') && flags.get('no-parent') === true) { throw new RuntimeClientError( @@ -305,13 +282,24 @@ export const WORKTREE_HANDLERS: Record = { 'Orca cannot tell which host owns this workspace. Refresh projects and try again.' ) } + // Why (#19334): the waiver only ever applies to a hook that ran, so without --run-hooks it + // silently does nothing. Rejecting it beats letting someone believe they waived something. + if (flags.get('allow-failed-archive-hook') === true && flags.get('run-hooks') !== true) { + throw new RuntimeClientError( + 'invalid_argument', + '--allow-failed-archive-hook waives a FAILED archive hook, but without --run-hooks no hook runs at all. Pass --run-hooks too, or drop the waiver.' + ) + } const result = await client.call('worktree.rm', { worktree, hostId, force: flags.get('force') === true, // Why (#11960): --force is explicit here, so it may also waive PTY-stop proof. allowUnverifiedPtyStop: flags.get('force') === true, - runHooks: flags.get('run-hooks') === true + runHooks: flags.get('run-hooks') === true, + // Why (#19334): deliberately NOT coupled to --force, which above already waives PTY-stop + // proof. Waiving a failed archive hook is a separate decision about the user's data. + allowFailedArchiveHook: flags.get('allow-failed-archive-hook') === true }) printHookWarning(result.result, json) printPreservedBranchWarning(result.result, json) diff --git a/src/cli/index.test.ts b/src/cli/index.test.ts index 7308d39dac6..f63e3832429 100644 --- a/src/cli/index.test.ts +++ b/src/cli/index.test.ts @@ -135,6 +135,83 @@ describe('command aliases dispatch to the canonical handler', () => { } }) + // #19334: a failed archive hook blocks removal, so the CLI must exit non-zero rather than + // report a delete that did not happen — and the waiver must ride its own flag, never --force. + it('exits non-zero when worktree removal is refused by a failed archive hook', async () => { + queueFixtures(callMock, okFixture('req_show', { worktree: { hostId: 'local' } })) + callMock.mockRejectedValueOnce( + Object.assign(new Error('Archive hook failed for worktree: /tmp/wt — exited 23.'), { + code: 'worktree_archive_hook_failed' + }) + ) + const priorExitCode = process.exitCode + + try { + await main( + ['worktree', 'rm', '--worktree', 'id:wt-1', '--force', '--run-hooks', '--json'], + '/tmp/repo' + ) + + expect(process.exitCode).toBe(1) + expect(callMock).toHaveBeenNthCalledWith( + 2, + 'worktree.rm', + expect.objectContaining({ + runHooks: true, + allowFailedArchiveHook: false + }) + ) + } finally { + process.exitCode = priorExitCode + } + }) + + // #19334 S4: the waiver only applies to a hook that ran, so alone it silently does nothing. + it('rejects the archive-hook waiver without --run-hooks instead of ignoring it', async () => { + queueFixtures(callMock, okFixture('req_show', { worktree: { hostId: 'local' } })) + const priorExitCode = process.exitCode + + try { + await main( + ['worktree', 'rm', '--worktree', 'id:wt-1', '--allow-failed-archive-hook', '--json'], + '/tmp/repo' + ) + + expect(process.exitCode).toBe(1) + // The removal must never have been attempted. + expect(callMock).not.toHaveBeenCalledWith('worktree.rm', expect.anything()) + } finally { + process.exitCode = priorExitCode + } + }) + + it('forwards the explicit archive-hook waiver on worktree rm', async () => { + queueFixtures( + callMock, + okFixture('req_show', { worktree: { hostId: 'local' } }), + okFixture('req', { removed: true }) + ) + + await main( + [ + 'worktree', + 'rm', + '--worktree', + 'id:wt-1', + '--run-hooks', + '--allow-failed-archive-hook', + '--json' + ], + '/tmp/repo' + ) + + expect(callMock).toHaveBeenNthCalledWith( + 2, + 'worktree.rm', + expect.objectContaining({ runHooks: true, allowFailedArchiveHook: true }) + ) + }) + it('still runs `terminal focus` after the handler de-duplication', async () => { queueFixtures(callMock, okFixture('req', { focus: { ok: true } })) diff --git a/src/cli/root-help-text-secondary.ts b/src/cli/root-help-text-secondary.ts index 50a1a76de7d..324fe847855 100644 --- a/src/cli/root-help-text-secondary.ts +++ b/src/cli/root-help-text-secondary.ts @@ -52,7 +52,7 @@ export const ROOT_HELP_TEXT_SECONDARY = [ ' orca worktree show --worktree [--json]', ' orca worktree current [--json]', ' orca worktree set --worktree [--display-name ] [--issue ] [--linear-issue ] [--comment ] [--workspace-status ] [--parent-worktree |--no-parent] [--json]', - ' orca worktree rm --worktree [--force] [--run-hooks] [--json]', + ' orca worktree rm --worktree [--force] [--run-hooks] [--allow-failed-archive-hook] [--json]', ' orca worktree ps [--limit ] [--json]', ' orca file open [--worktree ] [--json]', ' orca file diff [--staged] [--worktree ] [--json]', diff --git a/src/cli/runtime/status.test.ts b/src/cli/runtime/status.test.ts index 4c62be8d977..68d6f392a40 100644 --- a/src/cli/runtime/status.test.ts +++ b/src/cli/runtime/status.test.ts @@ -2,7 +2,7 @@ import { mkdtempSync, writeFileSync } from 'node:fs' import { createServer, type Socket } from 'node:net' import { tmpdir } from 'node:os' import { join } from 'node:path' -import { afterEach, describe, expect, it } from 'vitest' +import { afterEach, describe, expect, it, vi } from 'vitest' import { getRuntimeMetadataPath } from '../../shared/runtime-bootstrap' import type { RuntimeStatus } from '../../shared/runtime-types' import { RuntimeClient } from './client' @@ -86,6 +86,57 @@ describe.skipIf(process.platform === 'win32')('CLI runtime status', () => { }) }) +// Why: `kill(pid, 0)` answers EPERM when the pid exists under another uid — an Orca the +// CLI was pointed at with ORCA_USER_DATA_PATH, or one started with sudo. Reading that +// refusal as absence reports a live app as a dead one +// (docs/reference/ssh-execution-boundary.md). +describe.skipIf(process.platform === 'win32')('CLI status pid fallback', () => { + async function statusWithUnreachableRuntime( + killError: NodeJS.ErrnoException + ): Promise>> { + const userDataPath = mkdtempSync(join(tmpdir(), 'orca-runtime-status-probe-')) + writeFileSync( + getRuntimeMetadataPath(userDataPath), + JSON.stringify({ + runtimeId: 'runtime-unreachable', + pid: 424242, + // Nothing is listening here, so `status.get` fails and the pid probe decides. + transport: { kind: 'unix', endpoint: join(userDataPath, 'absent.sock') }, + authToken: 'token', + startedAt: Date.now() + }) + ) + const killSpy = vi.spyOn(process, 'kill').mockImplementation(() => { + throw killError + }) + try { + return await new RuntimeClient(userDataPath).getCliStatus() + } finally { + killSpy.mockRestore() + } + } + + it('keeps an unsignalable app running rather than calling the bootstrap stale', async () => { + const status = await statusWithUnreachableRuntime( + Object.assign(new Error('kill EPERM'), { code: 'EPERM' }) + ) + + expect(status.result.app).toMatchObject({ running: true, pid: 424242 }) + expect(status.result.runtime.state).toBe('starting') + expect(status.result.graph.state).toBe('starting') + }) + + it('still reports a stale bootstrap when the host proves the pid is gone', async () => { + const status = await statusWithUnreachableRuntime( + Object.assign(new Error('kill ESRCH'), { code: 'ESRCH' }) + ) + + expect(status.result.app).toMatchObject({ running: false, pid: null }) + expect(status.result.runtime.state).toBe('stale_bootstrap') + expect(status.result.graph.state).toBe('not_running') + }) +}) + describe('projectRemoteAppStatus', () => { function remoteStatus(overrides: Partial = {}): RuntimeStatus { return { diff --git a/src/cli/runtime/status.ts b/src/cli/runtime/status.ts index 8736f4cc177..ad30f97a96a 100644 --- a/src/cli/runtime/status.ts +++ b/src/cli/runtime/status.ts @@ -106,7 +106,9 @@ function isProcessRunning(pid: number | null | undefined): boolean { try { process.kill(pid, 0) return true - } catch { - return false + } catch (error) { + // Why: only ESRCH proves the pid is gone. EPERM means it exists under another uid, and + // reporting that as `stale_bootstrap` calls a live Orca dead. + return !(error instanceof Error && 'code' in error && error.code === 'ESRCH') } } diff --git a/src/cli/specs/core.ts b/src/cli/specs/core.ts index 2cd3b5f3869..d029b0cd43d 100644 --- a/src/cli/specs/core.ts +++ b/src/cli/specs/core.ts @@ -172,10 +172,13 @@ export const CORE_COMMAND_SPECS: CommandSpec[] = [ ], destructive: true, summary: 'Remove a worktree from Orca and git', - usage: 'orca worktree rm --worktree [--force] [--run-hooks] [--json]', - allowedFlags: [...GLOBAL_FLAGS, 'worktree', 'force', 'run-hooks'], + usage: + 'orca worktree rm --worktree [--force] [--run-hooks] [--allow-failed-archive-hook] [--json]', + allowedFlags: [...GLOBAL_FLAGS, 'worktree', 'force', 'run-hooks', 'allow-failed-archive-hook'], notes: [ 'Repo-defined orca.yaml archive hooks are skipped unless --run-hooks is passed.', + 'With --run-hooks, a failed archive hook blocks the removal: nothing is stopped, deleted or deregistered, and the command exits non-zero with error code worktree_archive_hook_failed. --force does not waive this.', + 'Pass --allow-failed-archive-hook to delete anyway after the hook has run and failed; the waived failure is reported back on result.archiveHookOverride. It requires --run-hooks and is rejected without it, because with no hook running there is no failure to waive.', 'For Git worktrees, removal also attempts to delete the checked-out local branch, with or without --force. Orca retains branches it knows predated the worktree and any branch whose changes it cannot prove are already merged.' ] }, diff --git a/src/main/agent-hooks/managed-hook-detection-commands.ts b/src/main/agent-hooks/managed-hook-detection-commands.ts index b5183af7ec0..f9507160e27 100644 --- a/src/main/agent-hooks/managed-hook-detection-commands.ts +++ b/src/main/agent-hooks/managed-hook-detection-commands.ts @@ -53,10 +53,12 @@ export function readManagedHookDetectionResult(value: unknown): { if (value === null || typeof value !== 'object') { return { agents: [], claudeVersion: null } } - const agents = detectedManagedHookAgents(Reflect.get(value, 'agents')) - const versions = Reflect.get(value, 'versions') + const agents = detectedManagedHookAgents('agents' in value ? value.agents : null) + const versions = 'versions' in value ? value.versions : null const rawClaudeVersion = - versions !== null && typeof versions === 'object' ? Reflect.get(versions, 'claude') : null + versions !== null && typeof versions === 'object' && 'claude' in versions + ? versions.claude + : null return { agents, claudeVersion: parseClaudeCliVersion( diff --git a/src/main/agent-hooks/manual-compact-hook-stream.test.ts b/src/main/agent-hooks/manual-compact-hook-stream.test.ts index c44a28f13d7..8e1e1a47df8 100644 --- a/src/main/agent-hooks/manual-compact-hook-stream.test.ts +++ b/src/main/agent-hooks/manual-compact-hook-stream.test.ts @@ -4,8 +4,11 @@ import { join } from 'node:path' import { afterEach, describe, expect, it, vi } from 'vitest' import { RelayAgentHookServer } from '../../relay/agent-hook-server' +import { seedLegacyAgentStatusForTests } from '../../shared/agent-hook-listener/listener-state' import { seedClaudeSubagentRosterFromSnapshots } from '../../shared/agent-hook-listener/providers/claude-roster-state' +import type { AgentHookEventPayload } from '../../shared/agent-hook-listener/listener-event' import type { AgentHookRelayEnvelope } from '../../shared/agent-hook-relay' +import type { AgentSubagentSnapshot } from '../../shared/agent-status-types' import { makePaneKey } from '../../shared/stable-pane-id' import { AgentHookServer } from './server' @@ -71,8 +74,10 @@ function legacyRelayCompactEnvelope( * the turn had spawned — restored from disk, so proof of nothing. */ function seedHydratedStuckPane(server: AgentHookServer, receivedAt: number) { const state = server._getStateForTests() - const subagents = [{ id: 'child-1', state: 'working', startedAt: 0, agentType: 'general' }] - state.lastStatusByPaneKey.set(PANE_KEY, { + const subagents: AgentSubagentSnapshot[] = [ + { id: 'child-1', state: 'working', startedAt: 0, agentType: 'general' } + ] + const status = { paneKey: PANE_KEY, source: 'claude', connectionId: null, @@ -82,8 +87,9 @@ function seedHydratedStuckPane(server: AgentHookServer, receivedAt: number) { restoredUnconfirmed: true, receivedAt, payload: { state: 'working', prompt: 'work before the restart', agentType: 'claude', subagents } - } as never) - seedClaudeSubagentRosterFromSnapshots(state, PANE_KEY, subagents as never) + } satisfies AgentHookEventPayload & { receivedAt: number } + seedLegacyAgentStatusForTests(state, status) + seedClaudeSubagentRosterFromSnapshots(state, PANE_KEY, subagents) } describe('manual Claude compact hook stream', () => { diff --git a/src/main/agent-hooks/server-authority-evidence.test.ts b/src/main/agent-hooks/server-authority-evidence.test.ts index d6acf1886da..afe21398fda 100644 --- a/src/main/agent-hooks/server-authority-evidence.test.ts +++ b/src/main/agent-hooks/server-authority-evidence.test.ts @@ -1,6 +1,7 @@ import { createHash } from 'node:crypto' import { afterEach, describe, expect, it } from 'vitest' import type { AgentHookEventPayload } from '../../shared/agent-hook-listener/listener-event' +import { seedLegacyAgentStatusForTests } from '../../shared/agent-hook-listener/listener-state' import { makePaneKey } from '../../shared/stable-pane-id' import { AgentHookServer } from './server' @@ -30,7 +31,7 @@ describe('AgentHookServer authority evidence', () => { receivedAt: 100, stateStartedAt: 100 } satisfies AgentHookEventPayload & { receivedAt: number; stateStartedAt: number } - server._getStateForTests().lastStatusByPaneKey.set(PANE_KEY, hydrated) + seedLegacyAgentStatusForTests(server._getStateForTests(), hydrated) await server.start() const commitments = server.getHydratedAuthorityCommitments() @@ -195,7 +196,7 @@ describe('AgentHookServer authority evidence', () => { receivedAt: 100, stateStartedAt: 100 } satisfies AgentHookEventPayload & { receivedAt: number; stateStartedAt: number } - server._getStateForTests().lastStatusByPaneKey.set(PANE_KEY, hydrated) + seedLegacyAgentStatusForTests(server._getStateForTests(), hydrated) server.registerPaneKeyAlias('tab-authority:0', PANE_KEY, 'old-pty') await server.start() server.ingestRemote( diff --git a/src/main/agent-hooks/server-ingest-remote.test.ts b/src/main/agent-hooks/server-ingest-remote.test.ts index bb4802fb0ed..673c3757579 100644 --- a/src/main/agent-hooks/server-ingest-remote.test.ts +++ b/src/main/agent-hooks/server-ingest-remote.test.ts @@ -5,6 +5,7 @@ import { parseAgentStatusPayload } from '../../shared/agent-status-types' import { PANE } from './server.test-fixtures' +import { AGENT_STATUS_RUNS_RUNTIME_CAPABILITY } from '../../shared/agent-status-run-capability' const { getCohortAtEmitMock, trackMock } = vi.hoisted(() => ({ getCohortAtEmitMock: vi.fn(), @@ -644,4 +645,32 @@ describe('AgentHookServer ingestRemote', () => { const event = listener.mock.calls[0][0] as { payload: { prompt: string } } expect(event.payload.prompt.length).toBe(200) }) + + it('never falls back to the legacy writer for a run-capable peer', () => { + const server = new AgentHookServer() + server.ingestRemote( + { + paneKey: PANE, + tabId: 'tab-1', + worktreeId: 'wt-1', + advertisedAgentStatusCapabilities: [], + payload: { state: 'working', prompt: 'unsupported peer', agentType: 'claude' } + }, + 'conn-1' + ) + const olderPeerRow = server.getStatusSnapshot()[0] + + server.ingestRemote( + { + paneKey: PANE, + tabId: 'tab-1', + worktreeId: 'wt-1', + advertisedAgentStatusCapabilities: [AGENT_STATUS_RUNS_RUNTIME_CAPABILITY], + payload: { state: 'done', prompt: 'capable peer', agentType: 'claude' } + }, + 'conn-1' + ) + + expect(server.getStatusSnapshot()).toEqual([olderPeerRow]) + }) }) diff --git a/src/main/agent-hooks/server/server-authority-aliases.ts b/src/main/agent-hooks/server/server-authority-aliases.ts index b3debc397d2..9349cdb326a 100644 --- a/src/main/agent-hooks/server/server-authority-aliases.ts +++ b/src/main/agent-hooks/server/server-authority-aliases.ts @@ -1,4 +1,8 @@ -import { movePaneCacheState } from '../../../shared/agent-hook-listener/listener-state' +import { + admitLegacyAgentStatus, + movePaneCacheState +} from '../../../shared/agent-hook-listener/listener-state' +import { AGENT_STATUS_2A_CURRENT_PRODUCER_MODE } from '../../../shared/agent-status-legacy-adapter' import { canRegisterPaneKeyAlias, isOpaqueRemintedPaneKey } from '../../../shared/pane-key-alias' import { parsePaneKey } from '../../../shared/stable-pane-id' import { PANE_KEY_ALIASES_MAX } from './server-constants' @@ -152,11 +156,16 @@ export abstract class AgentHookServerAuthorityAliases extends AgentHookServerAut | undefined if (movedStatus) { const owner = parsePaneKey(toPaneKey) - this.state.lastStatusByPaneKey.set(toPaneKey, { - ...movedStatus, - paneKey: toPaneKey, - tabId: owner?.tabId - }) + admitLegacyAgentStatus( + this.state, + 'main-pane-alias-transfer', + { + ...movedStatus, + paneKey: toPaneKey, + tabId: owner?.tabId + }, + AGENT_STATUS_2A_CURRENT_PRODUCER_MODE + ) } const transferredStatus = this.state.lastStatusByPaneKey.get(toPaneKey) as | EnrichedAgentHookEventPayload diff --git a/src/main/agent-hooks/server/server-cleanup.ts b/src/main/agent-hooks/server/server-cleanup.ts index 3d33729d542..3a4c4ad9caf 100644 --- a/src/main/agent-hooks/server/server-cleanup.ts +++ b/src/main/agent-hooks/server/server-cleanup.ts @@ -1,4 +1,9 @@ -import { paneHasStateClaims } from '../../../shared/agent-hook-listener/listener-state' +import { + admitLegacyAgentStatus, + deleteLegacyAgentStatus, + paneHasStateClaims +} from '../../../shared/agent-hook-listener/listener-state' +import { AGENT_STATUS_2A_CURRENT_PRODUCER_MODE } from '../../../shared/agent-status-legacy-adapter' import type { AgentStatusCacheIdentity } from '../../../shared/agent-status-types' import type { EnrichedAgentHookEventPayload } from './server-types' import { AgentHookServerAuthorityFences } from './server-authority-fences' @@ -35,7 +40,12 @@ export abstract class AgentHookServerCleanup extends AgentHookServerAuthorityFen const retained = options?.preserveResumeIdentity === false ? null : this.toRetainedProviderSessionRow(deleted) if (retained) { - this.state.lastStatusByPaneKey.set(deleted.paneKey, retained) + admitLegacyAgentStatus( + this.state, + 'main-status-cleanup', + retained, + AGENT_STATUS_2A_CURRENT_PRODUCER_MODE + ) } this.commitStatusRowMutation(deleted, retained) this.scheduleStatusPersist() @@ -73,7 +83,12 @@ export abstract class AgentHookServerCleanup extends AgentHookServerAuthorityFen } const retained = this.toRetainedProviderSessionRow(deleted) if (retained) { - this.state.lastStatusByPaneKey.set(deleted.paneKey, retained) + admitLegacyAgentStatus( + this.state, + 'main-status-cleanup', + retained, + AGENT_STATUS_2A_CURRENT_PRODUCER_MODE + ) } this.commitStatusRowMutation(deleted, retained) evicted.push(deleted.paneKey) @@ -126,7 +141,12 @@ export abstract class AgentHookServerCleanup extends AgentHookServerAuthorityFen | undefined this.clearPaneState(resolvedPaneKey, { emitStatusRowMutation: false }) if (retained) { - this.state.lastStatusByPaneKey.set(resolvedPaneKey, retained) + admitLegacyAgentStatus( + this.state, + 'main-status-cleanup', + retained, + AGENT_STATUS_2A_CURRENT_PRODUCER_MODE + ) this.scheduleStatusPersist() this.notifyStatusChangeListeners() } @@ -209,7 +229,7 @@ export abstract class AgentHookServerCleanup extends AgentHookServerAuthorityFen if (!existing) { return null } - this.state.lastStatusByPaneKey.delete(resolvedPaneKey) + deleteLegacyAgentStatus(this.state, resolvedPaneKey) this.activeHookTurnCompletedAtByPaneKey.delete(resolvedPaneKey) if (!options?.preserveAuthority) { this.hydratedLaunchTokenHashByPaneKey.delete(resolvedPaneKey) diff --git a/src/main/agent-hooks/server/server-hydration.ts b/src/main/agent-hooks/server/server-hydration.ts index 70da93b7c3b..cd88a46cb9f 100644 --- a/src/main/agent-hooks/server/server-hydration.ts +++ b/src/main/agent-hooks/server/server-hydration.ts @@ -1,10 +1,15 @@ import { readFileSync } from 'node:fs' +import { + admitLegacyAgentStatus, + clearLegacyAgentStatuses +} from '../../../shared/agent-hook-listener/listener-state' import { seedClaudeLeadTurnFromPersistedStatus, seedClaudeSubagentRosterFromSnapshots } from '../../../shared/agent-hook-listener/providers/claude-roster-state' import { seedCodexStateFromSnapshot } from '../../../shared/agent-hook-listener/providers/codex-state' +import { AGENT_STATUS_PERSISTED_HYDRATION_MODE } from '../../../shared/agent-status-legacy-adapter' import { HYDRATE_MAX_AGE_MS, LAST_STATUS_FILE_VERSION } from './server-constants' import type { LastStatusFile } from './server-types' import { @@ -23,7 +28,7 @@ export abstract class AgentHookServerHydration extends AgentHookServerReaping { return } // Why: keep hydrate idempotent so a future re-start path can't merge prior-session state. - this.state.lastStatusByPaneKey.clear() + clearLegacyAgentStatuses(this.state) this.hydratedLaunchTokenHashByPaneKey.clear() this.persistedAuthorityCommitmentsByPaneKey.clear() let raw: string @@ -100,7 +105,12 @@ export abstract class AgentHookServerHydration extends AgentHookServerReaping { // Why: the terminal transition may have fired while no receiver was up; restore as unconfirmed, never as live truth. entry.restoredUnconfirmed = true } - this.state.lastStatusByPaneKey.set(resolvedPaneKey, entry) + admitLegacyAgentStatus( + this.state, + 'main-status-hydration', + entry, + AGENT_STATUS_PERSISTED_HYDRATION_MODE + ) if (entry.connectionId) { // Why: a restart can see an earlier wall clock; seed ordering so new events stay after disk state. const previousWatermark = this.connectionTimestampWatermarkById.get(entry.connectionId) diff --git a/src/main/agent-hooks/server/server-ingest-remote.ts b/src/main/agent-hooks/server/server-ingest-remote.ts index 7f2008114f1..d14714ae09b 100644 --- a/src/main/agent-hooks/server/server-ingest-remote.ts +++ b/src/main/agent-hooks/server/server-ingest-remote.ts @@ -17,6 +17,11 @@ import { import { launchTokenHash } from '../../../shared/agent-hook-spool' import { parsePaneKey } from '../../../shared/stable-pane-id' import type { AgentHookEventPayload } from '../../../shared/agent-hook-listener/listener-event' +import { + AGENT_STATUS_LEGACY_UNADVERTISED_PEER_CAPABILITIES, + canAdmitLegacyAgentStatus, + olderPeerAgentStatusLegacyMode +} from '../../../shared/agent-status-legacy-adapter' import { isValidPiProviderSessionOnly } from './server-status-identity' import { AgentHookServerIngestStructured } from './server-ingest-structured' @@ -47,10 +52,23 @@ export abstract class AgentHookServerIngestRemote extends AgentHookServerIngestS /** Payload fields the relay dropped to fit an oversized frame; validated below. */ shedFields?: unknown claudeRunningNonAgentTask?: unknown + /** The producing peer's advertised run-capability set — a property of the peer/connection that built this envelope, not an orthogonal call parameter. Absent (older relay/HTTP paths) defaults to the unadvertised-legacy-peer set. */ + advertisedAgentStatusCapabilities?: readonly string[] payload: unknown }, connectionId: string | null ): void { + if ( + !canAdmitLegacyAgentStatus( + 'main-status-update', + olderPeerAgentStatusLegacyMode( + envelope?.advertisedAgentStatusCapabilities ?? + AGENT_STATUS_LEGACY_UNADVERTISED_PEER_CAPABILITIES + ) + ) + ) { + return + } // Why: wire crosses a trust boundary — re-check/trim so an empty connectionId can't poison caches. if (connectionId !== null && typeof connectionId !== 'string') { return diff --git a/src/main/agent-hooks/server/server-reaping.ts b/src/main/agent-hooks/server/server-reaping.ts index 55a6addbc45..13569aa6f0c 100644 --- a/src/main/agent-hooks/server/server-reaping.ts +++ b/src/main/agent-hooks/server/server-reaping.ts @@ -3,7 +3,9 @@ import { claudeRosterHasWorkingSubagent, claudeRosterToSnapshots } from '../../../shared/claude-subagent-roster' +import { admitLegacyAgentStatus } from '../../../shared/agent-hook-listener/listener-state' import { reapRestoredClaudeSubagentsForDeadPane } from '../../../shared/agent-hook-listener/providers/claude-roster-state' +import { AGENT_STATUS_PERSISTED_HYDRATION_MODE } from '../../../shared/agent-status-legacy-adapter' import { AgentHookServerTabCleanup } from './server-tab-cleanup' import type { EnrichedAgentHookEventPayload } from './server-types' @@ -113,7 +115,12 @@ export abstract class AgentHookServerReaping extends AgentHookServerTabCleanup { subagents } } - this.state.lastStatusByPaneKey.set(paneKey, reconciled) + admitLegacyAgentStatus( + this.state, + 'main-restored-status-reaping', + reconciled, + AGENT_STATUS_PERSISTED_HYDRATION_MODE + ) this.commitStatusRowMutation(enriched, reconciled) } if (changedPanes > 0) { diff --git a/src/main/agent-hooks/server/server-status-update.ts b/src/main/agent-hooks/server/server-status-update.ts index fb165ce1c83..04325e26bf5 100644 --- a/src/main/agent-hooks/server/server-status-update.ts +++ b/src/main/agent-hooks/server/server-status-update.ts @@ -10,6 +10,8 @@ import { INTERRUPTED_DONE_LATE_WORKING_SUPPRESSION_MS } from './server-constants import type { EnrichedAgentHookEventPayload } from './server-types' import type { AgentHookEventPayload } from '../../../shared/agent-hook-listener/listener-event' import type { AgentStatusObservationOrigin } from '../../../shared/agent-status-observation' +import { AGENT_STATUS_2A_CURRENT_PRODUCER_MODE } from '../../../shared/agent-status-legacy-adapter' +import { admitLegacyAgentStatus } from '../../../shared/agent-hook-listener/listener-state' import { attachClaudeChildOnlyBoundary, attachClaudePermissionToolUseId, @@ -70,7 +72,7 @@ export abstract class AgentHookServerStatusUpdate extends AgentHookServerStatusA } this.clearAssistantMessageRetry(enriched.paneKey) this.runtimeObservedStatusPaneKeys.delete(enriched.paneKey) - this.state.lastStatusByPaneKey.set(enriched.paneKey, enriched) + this.writeLegacyStatusRow(enriched) this.commitStatusRowMutation(rowBefore, enriched) this.scheduleStatusPersist() this.notifyStatusChangeListeners() @@ -123,7 +125,7 @@ export abstract class AgentHookServerStatusUpdate extends AgentHookServerStatusA if (boundaryReconciledPrevious !== previous) { previous = boundaryReconciledPrevious if (previous) { - this.state.lastStatusByPaneKey.set(previous.paneKey, previous) + this.writeLegacyStatusRow(previous) this.scheduleStatusPersist() } } @@ -222,7 +224,7 @@ export abstract class AgentHookServerStatusUpdate extends AgentHookServerStatusA } else { this.runtimeObservedStatusPaneKeys.add(enriched.paneKey) } - this.state.lastStatusByPaneKey.set(enriched.paneKey, enriched) + this.writeLegacyStatusRow(enriched) this.commitStatusRowMutation(rowBefore, enriched) // Why skipped for structured rows: the serializer drops them, so the whole walk and stringify // can only ever reproduce the last file — once per debounce window for a streaming chat. @@ -264,7 +266,7 @@ export abstract class AgentHookServerStatusUpdate extends AgentHookServerStatusA } const firstRuntimeObservation = !this.runtimeObservedStatusPaneKeys.has(refreshed.paneKey) this.runtimeObservedStatusPaneKeys.add(refreshed.paneKey) - this.state.lastStatusByPaneKey.set(refreshed.paneKey, refreshed) + this.writeLegacyStatusRow(refreshed) this.commitStatusRowMutation(mutationBefore ?? previous, refreshed) this.scheduleStatusPersist() // A dismissed row may retain only provider resume identity. Its preserved payload can still @@ -301,4 +303,13 @@ export abstract class AgentHookServerStatusUpdate extends AgentHookServerStatusA } } } + + private writeLegacyStatusRow(entry: EnrichedAgentHookEventPayload): void { + admitLegacyAgentStatus( + this.state, + 'main-status-update', + entry, + AGENT_STATUS_2A_CURRENT_PRODUCER_MODE + ) + } } diff --git a/src/main/agent-hooks/terminal-handle-row-identity.test.ts b/src/main/agent-hooks/terminal-handle-row-identity.test.ts index 329ffd19958..3fba9484afb 100644 --- a/src/main/agent-hooks/terminal-handle-row-identity.test.ts +++ b/src/main/agent-hooks/terminal-handle-row-identity.test.ts @@ -3,6 +3,7 @@ import { AgentHookServer } from './server' import { AGENT_STATUS_STALE_AFTER_MS } from '../../shared/agent-status-types' import { selectFreshExplicitAgentStatus } from '../runtime/runtime-hook-agent-row-selection' import { wslHookRelayConnectionId } from '../../shared/wsl-hook-relay-contract' +import { seedLegacyAgentStatusForTests } from '../../shared/agent-hook-listener/listener-state' const PANE_KEY = 'tab-handle:33333333-3333-4333-8333-333333333333' const HANDLE = 'term_identity' @@ -205,13 +206,15 @@ describe('the terminal handle a status row is stamped with', () => { server.subscribeStatusRowMutations(mutations) const payload = { state: 'working' as const, prompt: 'ship it', agentType: 'claude' as const } ingest(server, { payload }) - const row = server._getStateForTests().lastStatusByPaneKey.get(PANE_KEY) as - | { claudeLeadBoundaryChildOnly?: true } - | undefined + const row = server._getStateForTests().lastStatusByPaneKey.get(PANE_KEY) if (!row) { throw new Error('expected seeded status row') } - row.claudeLeadBoundaryChildOnly = true + const childOnlyRow = { + ...row, + claudeLeadBoundaryChildOnly: true + } + seedLegacyAgentStatusForTests(server._getStateForTests(), childOnlyRow) enriched.mockClear() mutations.mockClear() diff --git a/src/main/agent-hooks/wsl-hook-relay-deps.ts b/src/main/agent-hooks/wsl-hook-relay-deps.ts index dcff332e57b..cd9c1929853 100644 --- a/src/main/agent-hooks/wsl-hook-relay-deps.ts +++ b/src/main/agent-hooks/wsl-hook-relay-deps.ts @@ -5,6 +5,7 @@ import { createHash } from 'node:crypto' import { readFileSync } from 'node:fs' import { isAgentStatusHooksEnabled } from './managed-agent-hook-controls' +import { AGENT_STATUS_LEGACY_UNADVERTISED_PEER_CAPABILITIES } from '../../shared/agent-status-legacy-adapter' import { agentHookServer } from './server' import type { ManagedHookDetectionSettings } from './managed-hook-detection-commands' import { installRemoteManagedAgentHooks } from './remote-managed-hook-installers' @@ -99,11 +100,17 @@ export const defaultWslHookRelayDeps: WslHookRelayManagerDeps = { spawnRelay: spawnWslRelayProcess, runInstall: runWslInstallProcess, waitForSentinel: waitForWslRelaySentinel, - ingest: (envelope, connectionId) => - agentHookServer.ingestRemote( - envelope as Parameters[0], - connectionId - ), + // Why: the WSL relay protocol advertises no run-serving capability; stamped onto a copy so the + // wire-deserialized notification object itself is never mutated. + ingest: (envelope, connectionId) => { + const capped = { + ...envelope, + advertisedAgentStatusCapabilities: AGENT_STATUS_LEGACY_UNADVERTISED_PEER_CAPABILITIES + } + type IngestEnvelope = Parameters[0] + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: envelope is the wire-deserialized notification; ingestRemote independently re-validates paneKey's type before trusting anything here. + return agentHookServer.ingestRemote(capped as IngestEnvelope, connectionId) + }, installHooks: installRemoteManagedAgentHooks, installCodex: (runtimeHomePath, distro) => codexHookService.installForRuntimeHomeSerialized(runtimeHomePath, { diff --git a/src/main/agent-launch/agent-launch-mode.ts b/src/main/agent-launch/agent-launch-mode.ts new file mode 100644 index 00000000000..8180c075e17 --- /dev/null +++ b/src/main/agent-launch/agent-launch-mode.ts @@ -0,0 +1,248 @@ +/** + * Which surface a launch gets — a structured chat session or a terminal agent — decided from the + * user's own settings and the executing host's answer. + * + * No caller passes a mode. If the user's default is that a new agent tab opens as a structured + * native chat, then every launch is one: an orchestration worker, a mobile create, a CLI create, + * a renderer tab. That default is a preference rather than a demand, so a launch it cannot apply + * to falls back to a PTY terminal and the receipt says which mode ran and why — a routine launch + * must never fail because the user happens to have a chat preference on. + * + * The settings default and the per-launch feasibility both come from + * `shared/structured-native-chat-launch-route`. This module supplies placement facts and formats + * the receipt; it does not own a second feasibility policy. + * + * Callers differ only in what they call the thing being started, so the receipt's noun is + * parameterized. Orchestration says "worker" because its receipts are read alongside dispatch + * records; every other surface says "chat session" / "terminal agent". + */ + +import type { GlobalSettings } from '../../shared/global-settings-types' +import { RUNTIME_CAPABILITIES } from '../../shared/protocol-version' +import { + prefersStructuredNativeChatByDefault, + resolveStructuredNativeChatSupport, + type NativeChatDefaultSettings, + type StructuredNativeChatBlocker +} from '../../shared/structured-native-chat-launch-route' +import type { TuiAgent } from '../../shared/tui-agent' +import { hasExplicitTuiLaunchCustomization } from '../../shared/tui-agent-launch-customization' +import type { OrcaRuntimeService } from '../runtime/orca-runtime' + +export type AgentLaunchMode = 'structured' | 'terminal' + +export type AgentLaunchModeReason = + | 'user_default' + | 'remote_execution_host' + | 'reused_terminal' + | 'agent_without_structured_session' + | 'tui_launch_customization' + | 'structured_sessions_unavailable' + | 'structured_support_unknown' + | 'wsl_execution_runtime' + | 'codex_on_windows' + | 'structured_unsupported_on_host' + +export type AgentLaunchModeReceipt = { + /** The mode the launch actually ran in. */ + mode: AgentLaunchMode + /** The user's settings default for a new agent tab. */ + preferred: AgentLaunchMode + reason: AgentLaunchModeReason + /** One sentence, always present, so a fallback is never silent. */ + detail: string +} + +/** What this caller calls the thing it is starting, so one decision serves every surface without + * a receipt reading "worker" on a phone. */ +export type AgentLaunchModeVocabulary = { + /** e.g. 'a structured chat session worker' */ + structured: string + /** e.g. 'a terminal agent worker' */ + terminal: string + /** Per-reason wording a surface states differently. Orchestration names the `--terminal` flag + * in its reused-terminal detail, which would be meaningless in a phone's receipt. */ + detailOverrides?: Partial, string>> +} + +export const DEFAULT_LAUNCH_VOCABULARY: AgentLaunchModeVocabulary = { + structured: 'a structured chat session', + terminal: 'a terminal agent' +} + +export type AgentLaunchModeSettings = Partial< + NativeChatDefaultSettings & + Pick +> + +/** The placement facts the decision reads. `worktree`, `model` and `effort` are deliberately not + * here: a structured launch honours all three, and a placement flag must never imply a mode. */ +export type AgentLaunchModePlacement = { + agent?: string + /** A connected execution server; absent means local. */ + on?: string + /** An existing terminal being reused. */ + terminal?: string +} + +const DOWNGRADE_DETAIL: Record, string> = { + remote_execution_host: 'this launch runs on a remote execution host', + reused_terminal: 'it reuses a running terminal agent', + agent_without_structured_session: 'this agent has no structured session', + tui_launch_customization: + 'this agent has a custom launch command, arguments or environment that only a terminal applies', + structured_sessions_unavailable: 'this runtime does not support structured agent sessions', + structured_support_unknown: 'the execution host has not established structured session support', + wsl_execution_runtime: 'this workspace runs under WSL', + codex_on_windows: 'Codex has no structured session on Windows', + structured_unsupported_on_host: 'the execution host cannot create one here' +} + +const BLOCKER_REASON: Record< + StructuredNativeChatBlocker, + Exclude +> = { + 'reused-terminal': 'reused_terminal', + 'agent-without-structured-session': 'agent_without_structured_session', + 'floating-workspace': 'structured_unsupported_on_host', + 'tui-launch-customization': 'tui_launch_customization', + 'remote-execution-host': 'remote_execution_host', + 'project-runtime': 'wsl_execution_runtime', + 'runtime-capability': 'structured_sessions_unavailable', + 'runtime-capability-unknown': 'structured_support_unknown' +} + +/** The host's own create-support verdict (`agentSession.createSupport`) in this vocabulary. */ +const HOST_SUPPORT_REASON: Record< + 'agent' | 'remote' | 'wsl', + Exclude +> = { + agent: 'structured_unsupported_on_host', + remote: 'remote_execution_host', + wsl: 'wsl_execution_runtime' +} + +/** + * First half of the decision: the user's default, plus every feasibility fact knowable before a + * workspace is resolved. + */ +export function decideAgentLaunchMode(args: { + placement: AgentLaunchModePlacement + settings: AgentLaunchModeSettings | null | undefined + vocabulary?: AgentLaunchModeVocabulary +}): AgentLaunchModeReceipt { + const { placement, settings } = args + const vocabulary = args.vocabulary ?? DEFAULT_LAUNCH_VOCABULARY + if (!prefersStructuredNativeChatByDefault(settings)) { + return { + mode: 'terminal', + preferred: 'terminal', + reason: 'user_default', + detail: `Started ${vocabulary.terminal}, the default for new agent tabs in your settings.` + } + } + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: an unrecognized agent name is handled rather than trusted; isAgentSessionHandleProvider rejects it and the launch downgrades to a terminal. + const agent = placement.agent as TuiAgent + const support = resolveStructuredNativeChatSupport({ + agent, + executionHostId: placement.on ? `runtime:${placement.on}` : 'local', + reusesTerminal: Boolean(placement.terminal), + hostCapabilities: RUNTIME_CAPABILITIES, + // A resolved managed worktree or folder workspace is never a floating terminal. WSL is left to + // the executing host's own create-support probe, which reads the resolved workspace rather + // than guessing from a client-side project runtime. + requiresTuiLaunchCustomization: hasExplicitTuiLaunchCustomization(settings, agent) + }) + if (!support.supported) { + return downgraded(BLOCKER_REASON[support.blocker], vocabulary) + } + return { + mode: 'structured', + preferred: 'structured', + reason: 'user_default', + detail: `Started ${vocabulary.structured}, the default for new agent tabs in your settings.` + } +} + +/** + * Second half, once the workspace is resolved: the host that will run the agent answers whether it + * can create a structured session there at all. Asked before anything is created, so a refusal + * becomes a terminal agent rather than a failed launch. + */ +export async function resolveAgentLaunchModeOnHost( + runtime: Pick, + receipt: AgentLaunchModeReceipt, + worktreeId: string | undefined, + agent: TuiAgent | undefined, + vocabulary: AgentLaunchModeVocabulary = DEFAULT_LAUNCH_VOCABULARY +): Promise { + if (receipt.mode !== 'structured' || !worktreeId) { + return receipt + } + return downgradeAgentLaunchModeForHost( + receipt, + await readStructuredCreateSupport(runtime, worktreeId, agent), + vocabulary + ) +} + +/** A host that cannot answer has not proved it can create one, so the launch stays a PTY agent. */ +async function readStructuredCreateSupport( + runtime: Pick, + worktreeId: string, + agent: TuiAgent | undefined +): Promise<{ supported: boolean; reason?: 'agent' | 'remote' | 'wsl' } | null> { + if (agent !== 'claude' && agent !== 'codex') { + return { supported: false, reason: 'agent' } + } + try { + return await runtime.getStructuredAgentSessionCreateSupport(`id:${worktreeId}`, agent) + } catch { + return null + } +} + +/** + * Applies the executing host's `agentSession.createSupport` answer, which is the authority on WSL, + * remoteness and the Windows process-start-time gate for the resolved workspace. + */ +export function downgradeAgentLaunchModeForHost( + receipt: AgentLaunchModeReceipt, + support: { supported: boolean; reason?: 'agent' | 'remote' | 'wsl' } | null, + vocabulary: AgentLaunchModeVocabulary = DEFAULT_LAUNCH_VOCABULARY +): AgentLaunchModeReceipt { + if (receipt.mode !== 'structured' || support?.supported) { + return receipt + } + if (support === null) { + return downgraded(BLOCKER_REASON['runtime-capability-unknown'], vocabulary) + } + return downgraded( + support.reason ? HOST_SUPPORT_REASON[support.reason] : 'structured_unsupported_on_host', + vocabulary + ) +} + +function downgraded( + reason: Exclude, + vocabulary: AgentLaunchModeVocabulary +): AgentLaunchModeReceipt { + const why = vocabulary.detailOverrides?.[reason] ?? DOWNGRADE_DETAIL[reason] + return { + mode: 'terminal', + preferred: 'structured', + reason, + detail: `Your default is a structured chat session, but ${why}; started ${vocabulary.terminal} instead.` + } +} + +/** The store can be missing on a runtime that never opened one; that reads as no preference. */ +export function readAgentLaunchModeSettings( + runtime: Pick +): AgentLaunchModeSettings | null { + try { + return runtime.getClientSettings() + } catch { + return null + } +} diff --git a/src/main/ai-vault-search/session-search-clock.ts b/src/main/ai-vault-search/session-search-clock.ts index c9eaf609a34..3c973b273e6 100644 --- a/src/main/ai-vault-search/session-search-clock.ts +++ b/src/main/ai-vault-search/session-search-clock.ts @@ -2,8 +2,8 @@ // makes is "within one reconcile interval", and a guarantee stated in wall time // is only a claim until a test can advance the clock and watch it hold. -/** Opaque to the indexer; a fake clock hands back whatever it likes. */ -export type SessionSearchTimerHandle = object | number +/** Opaque to the indexer: the real clock hands back a timer, a fake clock an id. */ +export type SessionSearchTimerHandle = NodeJS.Timeout | number export type SessionSearchClock = { now(): number @@ -20,5 +20,5 @@ export const systemSessionSearchClock: SessionSearchClock = { timer.unref?.() return timer }, - clearTimeout: (handle) => clearTimeout(handle as NodeJS.Timeout) + clearTimeout: (handle) => clearTimeout(handle) } diff --git a/src/main/ai-vault-search/session-search-lifecycle-matrix.test.ts b/src/main/ai-vault-search/session-search-lifecycle-matrix.test.ts index 79cbe70eb7f..220e7d8390d 100644 --- a/src/main/ai-vault-search/session-search-lifecycle-matrix.test.ts +++ b/src/main/ai-vault-search/session-search-lifecycle-matrix.test.ts @@ -47,7 +47,7 @@ const CAN_DENY_READ = process.platform !== 'win32' && process.getuid?.() !== 0 const INTERVAL_MS = 20_000 const SESSIONS = ['aaaaaaaa', 'bbbbbbbb', 'cccccccc'] -type RootShape = { +type RootLayout = { name: string /** Where the unreachable root's transcripts live, and where its files go. */ detachedRoot: (harness: SessionSearchIndexerHarness) => string @@ -59,7 +59,7 @@ type RootShape = { const OPENCLAW_SESSION_DIR = join('agents', 'main', 'sessions') -const ROOT_SHAPES: RootShape[] = [ +const ROOT_LAYOUTS: RootLayout[] = [ { name: 'roots discovery reports one per directory', detachedRoot: (harness) => harness.roots.claudeProjectsDir ?? '', @@ -81,7 +81,7 @@ const ROOT_SHAPES: RootShape[] = [ } ] -type UnreachableShape = { +type UnreachableMode = { name: string needsDeniedRead: boolean /** @@ -97,7 +97,7 @@ type UnreachableShape = { attach: (root: string, transcriptDir: string, parked: string) => Promise } -const UNREACHABLE_SHAPES: UnreachableShape[] = [ +const UNREACHABLE_MODES: UnreachableMode[] = [ { name: 'the root itself is not there', needsDeniedRead: false, @@ -276,8 +276,8 @@ function indexedSessions(): string[] { .sort() } -for (const roots of ROOT_SHAPES) { - for (const unreachable of UNREACHABLE_SHAPES) { +for (const roots of ROOT_LAYOUTS) { + for (const unreachable of UNREACHABLE_MODES) { describe.skipIf(unreachable.needsDeniedRead && !CAN_DENY_READ)( `${roots.name}, ${unreachable.name}`, () => { @@ -298,7 +298,7 @@ for (const roots of ROOT_SHAPES) { // pass, so the setup drives passes until the index has caught up. await driveUntilIndexed(SESSIONS.length * 2) const detachedIds = detachedPaths.map((_path, index) => - roots === ROOT_SHAPES[0] + roots === ROOT_LAYOUTS[0] ? fullSessionId(SESSIONS[index] ?? '') : (SESSIONS[index] ?? '') ) diff --git a/src/main/ai-vault-search/session-search-query-planner.ts b/src/main/ai-vault-search/session-search-query-planner.ts index 6c2c2f3b91c..91e8711fbe3 100644 --- a/src/main/ai-vault-search/session-search-query-planner.ts +++ b/src/main/ai-vault-search/session-search-query-planner.ts @@ -17,7 +17,7 @@ const MAX_TERMS = 64 // A query that quotes something from a transcript: camelCase, SCREAMING_SNAKE, // a dotted or snake_case name, a path, a filename, a PR number, a ticket, code // punctuation, or an error word. -const LITERAL_SHAPE = +const LITERAL_PATTERN = /[A-Za-z0-9_]*[a-z][A-Z][A-Za-z0-9_]*|\b[A-Z][A-Z0-9]{2,}(_[A-Z0-9]+)+\b|\b\w{2,}[._]\w{2,}\b|\b[\w.-]+\/[\w/.-]+\b|\b\w+\.(ts|tsx|js|jsx|py|rs|go|json|md|sh|yml|yaml|toml|c|cc|h|java|sql)\b|#\d{3,}|\b[A-Z]{2,6}-\d{2,}\b|[(){};=]|::|->|--\w|\b(Error|Exception|Traceback|error:|warning:)\b/ const QUOTED = /"[^"]{3,}"|'[^']{3,}'/ @@ -36,7 +36,7 @@ export type SessionSearchQueryPlan = { } export function isLiteralQuery(query: string): boolean { - return QUOTED.test(query) || LITERAL_SHAPE.test(query) + return QUOTED.test(query) || LITERAL_PATTERN.test(query) } /** diff --git a/src/main/ai-vault/session-delete-target.ts b/src/main/ai-vault/session-delete-target.ts index 13320ce39e9..a893e639fad 100644 --- a/src/main/ai-vault/session-delete-target.ts +++ b/src/main/ai-vault/session-delete-target.ts @@ -21,7 +21,7 @@ import type { AiVaultScanOptions } from './session-scanner-types' // Agents whose session IS the directory holding the scanned file: everything // beside it belongs to the same session (rovo's session_context.json, grok's // chat_history.jsonl), so the directory is the only complete delete unit. -const AI_VAULT_DIRECTORY_SHAPED_DELETE_AGENTS = new Set([ +const AI_VAULT_WHOLE_DIRECTORY_DELETE_AGENTS = new Set([ 'rovo', 'grok', 'cline' @@ -109,7 +109,7 @@ function sessionDeleteRemovals(args: { }): readonly AiVaultSessionDeleteRemoval[] | null { const { agent, resolvedPath, matchedRoot, roots } = args - if (AI_VAULT_DIRECTORY_SHAPED_DELETE_AGENTS.has(agent)) { + if (AI_VAULT_WHOLE_DIRECTORY_DELETE_AGENTS.has(agent)) { const sessionDir = dirname(resolvedPath) if (sessionDir === matchedRoot || !isPathInsideOrEqual(matchedRoot, sessionDir)) { return null diff --git a/src/main/ai-vault/session-document-stream-boundaries.test.ts b/src/main/ai-vault/session-document-stream-boundaries.test.ts index 67901707cbd..f6dfe349000 100644 --- a/src/main/ai-vault/session-document-stream-boundaries.test.ts +++ b/src/main/ai-vault/session-document-stream-boundaries.test.ts @@ -88,7 +88,7 @@ describe('independent JSON boundary review', () => { expect(await parseHermesSessionDocument(file, bytes(content, 1), 'linux', options)).toEqual( await parseHermesSessionContent(file, content, 'linux', options) ) - expect(Reflect.get({}, 'polluted')).toBeUndefined() + expect('polluted' in {}).toBe(false) }) for (const content of [ '{"messages":[],}', diff --git a/src/main/artifacts/artifact-cloud-recovery.test.ts b/src/main/artifacts/artifact-cloud-recovery.test.ts index fea3b73bda0..04eebbf25a8 100644 --- a/src/main/artifacts/artifact-cloud-recovery.test.ts +++ b/src/main/artifacts/artifact-cloud-recovery.test.ts @@ -207,7 +207,10 @@ class ArtifactFaultServer { rejectNextDeleteCode: string | null = null rejectNextUpdateStatus: number | null = null private readonly artifacts = new Map() - private readonly createsByKey = new Map() + private readonly createsByKey = new Map< + string, + { body: string; response: ArtifactResponseBody } + >() artifactSlugs(): string[] { return [...this.artifacts.keys()].sort() @@ -325,14 +328,17 @@ async function publishedLink(userDataPath: string): Promise { return result.status === 'ok' ? (result.value?.shareUrl ?? null) : null } -function jsonResponse(body: object, status: number): Response { +/** JSON payload the fake artifact API serialises for a response. */ +type ArtifactResponseBody = Record + +function jsonResponse(body: ArtifactResponseBody, status: number): Response { return new Response(JSON.stringify(body), { status, headers: { 'content-type': 'application/json' } }) } -function createResponseBody(slug: string): object { +function createResponseBody(slug: string): ArtifactResponseBody { return { artifact: { version: 1, diff --git a/src/main/automations/automation-zero-grace-tick-latency.test.ts b/src/main/automations/automation-zero-grace-tick-latency.test.ts new file mode 100644 index 00000000000..4639a872887 --- /dev/null +++ b/src/main/automations/automation-zero-grace-tick-latency.test.ts @@ -0,0 +1,127 @@ +import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' +import { mkdtempSync, rmSync } from 'node:fs' +import { join } from 'node:path' +import { tmpdir } from 'node:os' +import type { Repo } from '../../shared/repo-types' +import { AutomationService } from './service' +import { installFakeAppEnvironment } from '../../../config/scripts/vitest-host-ports-setup' + +const testState = { dir: '' } + +vi.mock('electron', () => ({ + app: { + getPath: () => testState.dir + }, + safeStorage: { + isEncryptionAvailable: () => true, + encryptString: (plaintext: string) => Buffer.from(`encrypted:${plaintext}`, 'utf-8'), + decryptString: (ciphertext: Buffer) => ciphertext.toString('utf-8').slice('encrypted:'.length) + } +})) + +async function createStore() { + vi.resetModules() + installFakeAppEnvironment({ getPath: () => testState.dir }) + const { Store, initDataPath } = await import('../persistence') + initDataPath() + return new Store() +} + +const makeRepo = (overrides: Partial = {}): Repo => ({ + id: 'r1', + path: '/repo', + displayName: 'test', + badgeColor: '#fff', + addedAt: 1, + ...overrides +}) + +describe('AutomationService zero-grace tick latency', () => { + beforeEach(() => { + testState.dir = mkdtempSync(join(tmpdir(), 'orca-automations-test-')) + vi.useFakeTimers() + }) + + afterEach(() => { + vi.useRealTimers() + rmSync(testState.dir, { recursive: true, force: true }) + }) + + const DUE = new Date('2026-05-13T09:00:00').getTime() + + const makeZeroGrace = (store: Awaited>) => + store.createAutomation({ + name: 'Zero grace', + prompt: 'Run it', + agentId: 'claude', + projectId: 'r1', + workspaceMode: 'existing', + // Why a separator: without one resolveAutomationRunTarget refuses and the run records + // skipped_unavailable, which would make a "not skipped_missed" assertion pass vacuously. + workspaceId: 'r1::wt1', + timezone: 'UTC', + rrule: 'FREQ=DAILY;BYHOUR=9;BYMINUTE=0', + dtstart: new Date('2026-05-12T00:00:00').getTime(), + missedRunGraceMinutes: 0 + }) + + /** One evaluation pass at exactly `at` -- start()/setRendererReady() triggers it directly, so + * advancing the timer would silently add a second pass a minute later (and did). */ + const evaluateAt = async ( + store: Awaited>, + at: number + ): Promise => { + vi.setSystemTime(at) + const service = new AutomationService(store, { tickMs: 60_000 }) + service.setWebContents({ isDestroyed: () => false, send: vi.fn() }) + service.start() + service.setRendererReady() + await vi.advanceTimersByTimeAsync(0) + service.stop() + } + + const statusAt = async (lateMs: number): Promise => { + vi.setSystemTime(new Date('2026-05-13T08:00:00')) + const store = await createStore() + store.addRepo(makeRepo()) + const automation = makeZeroGrace(store) + await evaluateAt(store, DUE + lateMs) + return store.listAutomationRuns(automation.id)[0]?.status + } + + // Why 1ms and 45s: the tick interval is never aligned to an occurrence, so ANY positive + // lateness used to exceed a zero grace budget and skip the run (#11299). + it.each([ + ['1ms late', 1], + ['45s late', 45_000] + ])('dispatches a zero-grace occurrence only the tick was late for (%s)', async (_l, lateMs) => { + // Assert the outcome, not merely "not skipped_missed" -- a refused target would also + // satisfy that while never dispatching. + expect(await statusAt(lateMs)).toBe('dispatching') + }) + + // The other half of the invariant: real downtime still consumes the grace budget. A suspended + // process keeps its start time, so this is the case a liveness flag would have waved through. + it('still skips a zero-grace occurrence that came due during a long sleep', async () => { + expect(await statusAt(4 * 60 * 60 * 1000)).toBe('skipped_missed') + }) + + // Just past the tolerance: the boundary has to bite, or the tolerance is a blanket grace. + it('skips once lateness exceeds the tick-latency tolerance', async () => { + expect(await statusAt(2 * 60_000 + 1)).toBe('skipped_missed') + }) + + // A restart that crosses the occurrence must behave like any other late tick, not like + // downtime -- the elapsed lateness is what decides, so bookkeeping cannot drift. + it('dispatches after a restart that crosses the occurrence within tolerance', async () => { + vi.setSystemTime(new Date('2026-05-13T08:00:00')) + const store = await createStore() + store.addRepo(makeRepo()) + const automation = makeZeroGrace(store) + await evaluateAt(store, DUE - 30_000) + // Nothing may have run yet, or the second pass is not the one under test. + expect(store.listAutomationRuns(automation.id)).toHaveLength(0) + await evaluateAt(store, DUE + 30_000) + expect(store.listAutomationRuns(automation.id)[0]?.status).toBe('dispatching') + }) +}) diff --git a/src/main/automations/dispatch-refusal.ts b/src/main/automations/dispatch-refusal.ts index 08fd400e8c8..4a5fffa1b16 100644 --- a/src/main/automations/dispatch-refusal.ts +++ b/src/main/automations/dispatch-refusal.ts @@ -119,3 +119,50 @@ export function sendRendererDispatch( }) } } + +/** + * Grace is a downtime catch-up budget. It must not also absorb the scheduler's own tick latency: + * evaluation runs on a fixed interval never aligned to an occurrence, so with zero grace every + * tick arrived "late" and skipped the run, blaming downtime that never happened (#11299). + * + * Why not process liveness: a suspended process (system sleep) keeps its start time, so a + * liveness flag waves through an occurrence that came due during a multi-hour sleep -- exactly + * what grace exists for. Elapsed lateness cannot be faked that way. + * + * Consequence worth knowing: elapsed lateness cannot distinguish a short outage from a late + * tick, so a zero-grace run that came due during an outage shorter than the tolerance is + * dispatched rather than skipped. That is the deliberate trade -- the alternative was a + * liveness flag, which got the far worse case wrong (a multi-hour sleep replayed on wake). + * + * Known remaining gap: an evaluation pass holds the re-entrancy guard across its dispatches, and + * in serve mode a dispatch runs inline (precheck up to 600s, then a worktree create). A pass + * longer than the tolerance drops every intervening tick, so the next automation's lateness is + * the scheduler's stall rather than downtime and can still be mis-skipped. Desktop is + * unaffected -- its dispatch is synchronous IPC. Tracked separately; forgiving "time since the + * last pass" is NOT the fix, because a suspended process runs no passes either. + */ +export function missedBeyondGrace(input: { + automation: Automation + scheduledFor: number + now: number + tickMs: number +}): boolean { + const graceMs = input.automation.missedRunGraceMinutes * 60 * 1000 + // Two intervals: one for the tick that should have caught it, one for ordinary jitter. + const jitterMs = input.tickMs * 2 + return input.now - input.scheduledFor > graceMs + jitterMs +} + +export function recordMissedRun(input: { + runs: AutomationRunWriter + automation: Automation + scheduledFor: number +}): void { + const missed = input.runs.createRun(input.automation, input.scheduledFor) + input.runs.updateRun({ + runId: missed.id, + status: 'skipped_missed', + workspaceId: input.automation.workspaceId, + error: 'This run was past its missed-run grace window when Orca next checked.' + }) +} diff --git a/src/main/automations/schedule-drift-report.test.ts b/src/main/automations/schedule-drift-report.test.ts new file mode 100644 index 00000000000..f719998576b --- /dev/null +++ b/src/main/automations/schedule-drift-report.test.ts @@ -0,0 +1,61 @@ +import { afterEach, describe, expect, it, vi } from 'vitest' +import type { Automation } from '../../shared/automations-types' +import { reportAutomationScheduleDrift } from './schedule-drift-report' + +const makeAutomation = (name: string, rrule: string): Automation => ({ + id: `id-${name}`, + name, + prompt: 'Check the repo', + precheck: null, + agentId: 'claude', + projectId: 'r1', + executionTargetType: 'local', + executionTargetId: 'local', + schedulerOwner: 'local_host_service', + workspaceMode: 'existing', + workspaceId: 'wt1', + baseBranch: null, + reuseSession: false, + timezone: 'UTC', + rrule, + dtstart: 0, + enabled: true, + nextRunAt: 0, + missedRunPolicy: 'run_once_within_grace', + missedRunGraceMinutes: 720, + createdAt: 0, + updatedAt: 0 +}) + +describe('automation schedule drift report', () => { + afterEach(() => { + vi.restoreAllMocks() + }) + + it('names each affected record and which way it moved', () => { + const warn = vi.spyOn(console, 'warn').mockImplementation(() => {}) + const count = reportAutomationScheduleDrift([ + makeAutomation('Quarter-hourly sweep', '5/15 * * * *'), + makeAutomation('Odd days and Mondays', '0 9 */2 * 1'), + makeAutomation('Weekday standup', '30 9 * * 1-5') + ]) + + expect(count).toBe(2) + const lines = warn.mock.calls.map((call) => String(call[0])) + expect(lines[0]).toContain('2 saved schedule(s) changed meaning') + expect( + lines.some((l) => l.includes('Quarter-hourly sweep') && l.includes('now runs more')) + ).toBe(true) + expect( + lines.some((l) => l.includes('Odd days and Mondays') && l.includes('now runs fewer')) + ).toBe(true) + // The untouched preset must not be named, or the report trains the reader to skip it. + expect(lines.some((l) => l.includes('Weekday standup'))).toBe(false) + }) + + it('says nothing when no saved schedule drifted', () => { + const warn = vi.spyOn(console, 'warn').mockImplementation(() => {}) + expect(reportAutomationScheduleDrift([makeAutomation('Hourly', '0 * * * *')])).toBe(0) + expect(warn).not.toHaveBeenCalled() + }) +}) diff --git a/src/main/automations/schedule-drift-report.ts b/src/main/automations/schedule-drift-report.ts new file mode 100644 index 00000000000..a2e38d65ac7 --- /dev/null +++ b/src/main/automations/schedule-drift-report.ts @@ -0,0 +1,31 @@ +/** + * Reports saved schedules whose meaning changed in the release that repaired the cron parser. + * + * Both repairs were correct, but a persisted cadence can now fire several times more — or + * several times less — than it did yesterday. The louder direction announces itself through + * spend; the quieter one does not, because nobody notices a job that stopped running. One + * line per affected record at startup is the smallest signal that makes either detectable. + */ +import type { Automation } from '../../shared/automations-types' +import { describeAutomationScheduleDrift } from '../../shared/automation-schedule-drift' + +export function reportAutomationScheduleDrift(automations: readonly Automation[]): number { + const drifted = automations.flatMap((automation) => { + const drift = describeAutomationScheduleDrift(automation.rrule) + return drift ? [{ automation, drift }] : [] + }) + if (drifted.length === 0) { + return 0 + } + console.warn( + `[automations] ${drifted.length} saved schedule(s) changed meaning when the cron parser was repaired; review them:` + ) + for (const { automation, drift } of drifted) { + const direction = drift.currentRunsPerYear > drift.previousRunsPerYear ? 'more' : 'fewer' + console.warn( + `[automations] "${automation.name}" (${automation.id}) "${drift.expression}" now runs ` + + `${direction}: about ${drift.currentRunsPerYear}/year, was about ${drift.previousRunsPerYear}/year` + ) + } + return drifted.length +} diff --git a/src/main/automations/service.ts b/src/main/automations/service.ts index b683fb6c5a2..227a290783b 100644 --- a/src/main/automations/service.ts +++ b/src/main/automations/service.ts @@ -25,8 +25,11 @@ import { type AutomationRunTerminalObserver } from './run-completion-watcher' import { createAutomationRunWriter, type AutomationRunWriter } from './automation-run-writer' +import { reportAutomationScheduleDrift } from './schedule-drift-report' import { describeScheduledRefusal, + missedBeyondGrace, + recordMissedRun, recordRefusedAutomationRun, recordUnevaluableAutomation, sendRendererDispatch, @@ -115,6 +118,7 @@ export class AutomationService { void this.evaluateDueRuns() }, this.tickMs) this.completionWatcher?.reconcileRetainedRuns(this.store.listAutomationRuns()) + reportAutomationScheduleDrift(this.store.listAutomations()) // Why: headless serve never gets a renderer-ready IPC, but due runs still // need the same startup catch-up pass desktop gets after renderer attach. if (this.rendererReady || this.headlessDispatcher) { @@ -249,15 +253,8 @@ export class AutomationService { this.store.advanceAutomationNextRun(automation.id, now) return } - const graceMs = automation.missedRunGraceMinutes * 60 * 1000 - if (now - scheduledFor > graceMs) { - const missed = this.runs.createRun(automation, scheduledFor) - this.runs.updateRun({ - runId: missed.id, - status: 'skipped_missed', - workspaceId: automation.workspaceId, - error: 'Orca was unavailable during the missed-run grace window.' - }) + if (missedBeyondGrace({ automation, scheduledFor, now, tickMs: this.tickMs })) { + recordMissedRun({ runs: this.runs, automation, scheduledFor }) this.store.advanceAutomationNextRun(automation.id, now) return } diff --git a/src/main/browser/agent-browser-bridge-test-harness.ts b/src/main/browser/agent-browser-bridge-test-harness.ts index 0e614600174..7aa38364a3c 100644 --- a/src/main/browser/agent-browser-bridge-test-harness.ts +++ b/src/main/browser/agent-browser-bridge-test-harness.ts @@ -1,4 +1,5 @@ import { vi, type Mock } from 'vitest' +import type { AgentBrowserBridge } from './agent-browser-bridge' import type { BrowserManager } from './browser-manager' export type ExecFileCallback = (error: unknown, stdout?: string, stderr?: string) => void @@ -95,15 +96,19 @@ export function mockWebContents( // Why: the bridge resolves webContents via dynamic require('electron').webContents.fromId // inside a try/catch. Override the private method to inject our mock. export function overrideBridgeWebContentsLookup( - bridgePrototype: object, + bridgePrototype: AgentBrowserBridge, webContentsFromIdMock: Mock ): void { - ;(bridgePrototype as { getWebContents: (id: number) => unknown }).getWebContents = function ( - id: number - ) { - const target = webContentsFromIdMock(id) as { isDestroyed: () => boolean } | null - return target && !target.isDestroyed() ? target : null - } + // Why defineProperty: getWebContents is protected, so a typed assignment is not expressible. + Object.defineProperty(bridgePrototype, 'getWebContents', { + configurable: true, + enumerable: true, + writable: true, + value: function (id: number) { + const target = webContentsFromIdMock(id) as { isDestroyed: () => boolean } | null + return target && !target.isDestroyed() ? target : null + } + }) } export function createSucceedWith(execFileMock: Mock, stdinWrites: string[]) { diff --git a/src/main/browser/browser-cookie-import-clear.ts b/src/main/browser/browser-cookie-import-clear.ts index af79c4249ed..b1b04a98ff9 100644 --- a/src/main/browser/browser-cookie-import-clear.ts +++ b/src/main/browser/browser-cookie-import-clear.ts @@ -54,7 +54,13 @@ export type CookieClearSession = { restoreClearIdentities: CookieClearStore['restoreClearIdentities'] } -const mutationLocks = new WeakMap>() +/** + * Reference identity of one live cookie jar — the partition's Electron Session on both import + * paths. Held weakly and compared by reference; the lock never reads a field off it. + */ +export type CookieMutationLockOwner = WeakKey + +const mutationLocks = new WeakMap>() function cookieClearKey(url: string, name: string): string { return JSON.stringify([url, name]) @@ -85,7 +91,9 @@ export function identitiesFromClearCookies( * remove cookies the newer import already reported as written. Callers that need the lock across a * try/finally take it directly; callers with a single callback use the wrapper below. */ -export async function acquireCookieMutationLock(owner: object): Promise<() => void> { +export async function acquireCookieMutationLock( + owner: CookieMutationLockOwner +): Promise<() => void> { const previous = mutationLocks.get(owner) ?? Promise.resolve() let release!: () => void const current = new Promise((resolve) => { @@ -99,7 +107,10 @@ export async function acquireCookieMutationLock(owner: object): Promise<() => vo return release } -export async function withCookieMutationLock(owner: object, run: () => Promise): Promise { +export async function withCookieMutationLock( + owner: CookieMutationLockOwner, + run: () => Promise +): Promise { const release = await acquireCookieMutationLock(owner) try { return await run() diff --git a/src/main/browser/browser-cookie-import-concurrency.test.ts b/src/main/browser/browser-cookie-import-concurrency.test.ts index 776ded2f7e7..2826cc1207c 100644 --- a/src/main/browser/browser-cookie-import-concurrency.test.ts +++ b/src/main/browser/browser-cookie-import-concurrency.test.ts @@ -2,6 +2,7 @@ import { copyFileSync, mkdtempSync, rmSync, writeFileSync } from 'node:fs' import { tmpdir } from 'node:os' import { join } from 'node:path' import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' +import type { CookiesGetFilter } from 'electron' const { appGetPathMock, @@ -33,11 +34,11 @@ vi.mock('electron', () => ({ vi.mock('./browser-cookie-clear-store', () => ({ openCookieClearStore: (targetSession: { cookies: { - get: (filter: object) => Promise + get: (filter: CookiesGetFilter) => Promise remove: (url: string, name: string) => Promise } }) => ({ - get: (filter: object) => targetSession.cookies.get(filter), + get: (filter: CookiesGetFilter) => targetSession.cookies.get(filter), remove: (url: string, name: string) => targetSession.cookies.remove(url, name), snapshotClearIdentities: snapshotClearIdentitiesMock, restoreClearIdentities: async () => undefined, diff --git a/src/main/browser/browser-cookie-import-google-exclusion.test.ts b/src/main/browser/browser-cookie-import-google-exclusion.test.ts index 1cc13450cff..ee73dba1ed2 100644 --- a/src/main/browser/browser-cookie-import-google-exclusion.test.ts +++ b/src/main/browser/browser-cookie-import-google-exclusion.test.ts @@ -3,6 +3,7 @@ * path. Removing 'google.com' from NON_TRANSPLANTABLE_DOMAINS flips every test here red. */ import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' +import type { CookiesGetFilter } from 'electron' const { appGetPathMock, @@ -33,12 +34,12 @@ vi.mock('electron', () => ({ vi.mock('./browser-cookie-clear-store', () => ({ openCookieClearStore: (targetSession: { cookies: { - get: (filter: object) => Promise + get: (filter: CookiesGetFilter) => Promise remove: (url: string, name: string) => Promise set?: (details: Record) => Promise } }) => ({ - get: (filter: object) => targetSession.cookies.get(filter), + get: (filter: CookiesGetFilter) => targetSession.cookies.get(filter), remove: (url: string, name: string) => targetSession.cookies.remove(url, name), // Why (STA-4300): the import writes go through CDP identities; route them to the same spy so // a missing method cannot silently reroute every write down the rejected-cookie path. diff --git a/src/main/browser/browser-cookie-import-partition-fidelity.test.ts b/src/main/browser/browser-cookie-import-partition-fidelity.test.ts index d7c6401eb42..f6fe9cedf6d 100644 --- a/src/main/browser/browser-cookie-import-partition-fidelity.test.ts +++ b/src/main/browser/browser-cookie-import-partition-fidelity.test.ts @@ -1,5 +1,6 @@ import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' import type * as NodeFs from 'node:fs' +import type { CookiesGetFilter } from 'electron' const { appGetPathMock, @@ -45,11 +46,11 @@ vi.mock('electron', () => ({ vi.mock('./browser-cookie-clear-store', () => ({ openCookieClearStore: (targetSession: { cookies: { - get: (filter: object) => Promise + get: (filter: CookiesGetFilter) => Promise remove: (url: string, name: string) => Promise } }) => ({ - get: (filter: object) => targetSession.cookies.get(filter), + get: (filter: CookiesGetFilter) => targetSession.cookies.get(filter), remove: (url: string, name: string) => targetSession.cookies.remove(url, name), snapshotClearIdentities: async (items: { cookie: Record; url: string }[]) => items.map(({ cookie, url }) => ({ url, ...cookie })), diff --git a/src/main/browser/browser-cookie-import-replacement.test.ts b/src/main/browser/browser-cookie-import-replacement.test.ts index d645bf944ce..cf7c0795010 100644 --- a/src/main/browser/browser-cookie-import-replacement.test.ts +++ b/src/main/browser/browser-cookie-import-replacement.test.ts @@ -1,4 +1,5 @@ import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' +import type { CookiesGetFilter } from 'electron' const { appGetPathMock, @@ -36,12 +37,12 @@ vi.mock('electron', () => ({ vi.mock('./browser-cookie-clear-store', () => ({ openCookieClearStore: (targetSession: { cookies: { - get: (filter: object) => Promise + get: (filter: CookiesGetFilter) => Promise remove: (url: string, name: string) => Promise set?: (details: Record) => Promise } }) => ({ - get: (filter: object) => targetSession.cookies.get(filter), + get: (filter: CookiesGetFilter) => targetSession.cookies.get(filter), remove: (url: string, name: string) => targetSession.cookies.remove(url, name), // Why (STA-4300): the import writes go through CDP identities; route them to the same spy so // a missing method cannot silently reroute every write down the rejected-cookie path. diff --git a/src/main/browser/browser-cookie-import-route-partition-staging.test.ts b/src/main/browser/browser-cookie-import-route-partition-staging.test.ts index 106b6742e80..b56b47ca7cc 100644 --- a/src/main/browser/browser-cookie-import-route-partition-staging.test.ts +++ b/src/main/browser/browser-cookie-import-route-partition-staging.test.ts @@ -1,4 +1,5 @@ import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' +import type { CookiesGetFilter } from 'electron' import type * as NodeFs from 'node:fs' const { @@ -43,11 +44,11 @@ vi.mock('electron', () => ({ vi.mock('./browser-cookie-clear-store', () => ({ openCookieClearStore: (targetSession: { cookies: { - get: (filter: object) => Promise + get: (filter: CookiesGetFilter) => Promise remove: (url: string, name: string) => Promise } }) => ({ - get: (filter: object) => targetSession.cookies.get(filter), + get: (filter: CookiesGetFilter) => targetSession.cookies.get(filter), remove: (url: string, name: string) => targetSession.cookies.remove(url, name), snapshotClearIdentities: async (items: { cookie: Record; url: string }[]) => items.map(({ cookie, url }) => ({ url, ...cookie })), diff --git a/src/main/browser/browser-cookie-import-scope.test.ts b/src/main/browser/browser-cookie-import-scope.test.ts index 33381f915d6..e64b33d94f1 100644 --- a/src/main/browser/browser-cookie-import-scope.test.ts +++ b/src/main/browser/browser-cookie-import-scope.test.ts @@ -1,5 +1,6 @@ import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' import type * as NodeFs from 'node:fs' +import type { CookiesGetFilter } from 'electron' const { appGetPathMock, @@ -34,11 +35,11 @@ vi.mock('electron', () => ({ vi.mock('./browser-cookie-clear-store', () => ({ openCookieClearStore: (targetSession: { cookies: { - get: (filter: object) => Promise + get: (filter: CookiesGetFilter) => Promise remove: (url: string, name: string) => Promise } }) => ({ - get: (filter: object) => targetSession.cookies.get(filter), + get: (filter: CookiesGetFilter) => targetSession.cookies.get(filter), remove: (url: string, name: string) => targetSession.cookies.remove(url, name), snapshotClearIdentities: async (items: { cookie: Record; url: string }[]) => items.map(({ cookie, url }) => ({ url, ...cookie })), diff --git a/src/main/browser/browser-cookie-import-undecryptable.test.ts b/src/main/browser/browser-cookie-import-undecryptable.test.ts index 95714b36d9e..c17615df22f 100644 --- a/src/main/browser/browser-cookie-import-undecryptable.test.ts +++ b/src/main/browser/browser-cookie-import-undecryptable.test.ts @@ -1,6 +1,7 @@ import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' import type * as NodeCrypto from 'node:crypto' import type * as NodeFs from 'node:fs' +import type { CookiesGetFilter } from 'electron' const { appGetPathMock, @@ -44,11 +45,11 @@ vi.mock('electron', () => ({ vi.mock('./browser-cookie-clear-store', () => ({ openCookieClearStore: (targetSession: { cookies: { - get: (filter: object) => Promise + get: (filter: CookiesGetFilter) => Promise remove: (url: string, name: string) => Promise } }) => ({ - get: (filter: object) => targetSession.cookies.get(filter), + get: (filter: CookiesGetFilter) => targetSession.cookies.get(filter), remove: (url: string, name: string) => targetSession.cookies.remove(url, name), snapshotClearIdentities: async (items: { cookie: Record; url: string }[]) => items.map(({ cookie, url }) => ({ url, ...cookie })), diff --git a/src/main/browser/browser-cookie-import.test.ts b/src/main/browser/browser-cookie-import.test.ts index 52662b2366d..32bd17d4018 100644 --- a/src/main/browser/browser-cookie-import.test.ts +++ b/src/main/browser/browser-cookie-import.test.ts @@ -1,4 +1,5 @@ import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' +import type { CookiesGetFilter } from 'electron' import type * as NodeFs from 'node:fs' const { @@ -53,11 +54,11 @@ vi.mock('electron', () => ({ vi.mock('./browser-cookie-clear-store', () => ({ openCookieClearStore: (targetSession: { cookies: { - get: (filter: object) => Promise + get: (filter: CookiesGetFilter) => Promise remove: (url: string, name: string) => Promise } }) => ({ - get: (filter: object) => targetSession.cookies.get(filter), + get: (filter: CookiesGetFilter) => targetSession.cookies.get(filter), remove: (url: string, name: string) => targetSession.cookies.remove(url, name), snapshotClearIdentities: async (items: { cookie: Record; url: string }[]) => items.map(({ cookie, url }) => ({ url, ...cookie })), diff --git a/src/main/browser/browser-cookie-samesite.electron.test.ts b/src/main/browser/browser-cookie-samesite.electron.test.ts index 4f04f93c72e..561bff2a407 100644 --- a/src/main/browser/browser-cookie-samesite.electron.test.ts +++ b/src/main/browser/browser-cookie-samesite.electron.test.ts @@ -33,7 +33,7 @@ type FixtureResult = { afterCookies: JarCookie[] } -type SourceShape = { +type SourceCookieRow = { name: string samesite: number | null is_secure: number @@ -147,18 +147,26 @@ run().catch((error) => { ` } -function readSourceShape(sourceDbPath: string): SourceShape[] { +function readSourceCookieRows(sourceDbPath: string): SourceCookieRow[] { const db = new DatabaseSync(sourceDbPath, { readOnly: true }) try { return db .prepare('SELECT name, samesite, is_secure FROM cookies ORDER BY rowid') - .all() as SourceShape[] + .all() + .map((row) => ({ + name: String(row.name), + samesite: row.samesite === null ? null : Number(row.samesite), + is_secure: Number(row.is_secure) + })) } finally { db.close() } } -async function runFixture(): Promise<{ fixture: FixtureResult; sourceShape: SourceShape[] }> { +async function runFixture(): Promise<{ + fixture: FixtureResult + sourceCookieRows: SourceCookieRow[] +}> { const root = mkdtempSync(join(tmpdir(), 'orca-samesite-enum-')) fixtureRoots.push(root) const bundlePath = join(root, 'cookie-import-samesite.cjs') @@ -176,7 +184,7 @@ async function runFixture(): Promise<{ fixture: FixtureResult; sourceShape: Sour }) ) createChromiumCookieTestDatabase(sourceDbPath, rows).close() - const sourceShape = readSourceShape(sourceDbPath) + const sourceCookieRows = readSourceCookieRows(sourceDbPath) writeFileSync( bundleEntryPath, `export { importCookiesFromBrowser } from ${JSON.stringify(join(process.cwd(), 'src/main/browser/browser-cookie-import.ts'))}` @@ -212,22 +220,23 @@ async function runFixture(): Promise<{ fixture: FixtureResult; sourceShape: Sour const fixtureResult = existsSync(resultPath) ? readFileSync(resultPath, 'utf8') : 'no result' expect(run.error).toBeUndefined() expect(run.status, `${fixtureResult}\n${run.stdout}\n${run.stderr}`).toBe(0) - return { fixture: JSON.parse(fixtureResult) as FixtureResult, sourceShape } + const fixture: FixtureResult = JSON.parse(fixtureResult) + return { fixture, sourceCookieRows } } describe('Chromium SameSite storage enum import', () => { let fixture: FixtureResult - let sourceShape: SourceShape[] + let sourceCookieRows: SourceCookieRow[] beforeAll(async () => { - ;({ fixture, sourceShape } = await runFixture()) + ;({ fixture, sourceCookieRows } = await runFixture()) }, 120_000) it('runs the real Chromium import against the complete synthetic matrix', () => { expect(fixture.step).toBe('import finished') expect(fixture.beforeCookieCount).toBe(0) expect(fixture.importResult.ok).toBe(true) - expect(sourceShape).toEqual( + expect(sourceCookieRows).toEqual( [REJECTION_CONTROL, ...VALID_COMBINATIONS, NULL_CASE].map( ({ name, rawSameSite, secure }) => ({ name, diff --git a/src/main/browser/cdp-keyboard-us-layout.test.ts b/src/main/browser/cdp-keyboard-us-layout.test.ts index b9bcffa50ec..30cfd6264f8 100644 --- a/src/main/browser/cdp-keyboard-us-layout.test.ts +++ b/src/main/browser/cdp-keyboard-us-layout.test.ts @@ -1,5 +1,5 @@ import { describe, it, expect } from 'vitest' -import { imeFallbackKeyEvent, parseCdpKeyEvent } from './cdp-keyboard-us-layout' +import { imeFallbackKeyEvent, parseCdpKeyEvent, type CdpKeyEvent } from './cdp-keyboard-us-layout' describe('parseCdpKeyEvent', () => { it('maps every printable ASCII character to a key event that types that character', () => { @@ -39,7 +39,7 @@ describe('parseCdpKeyEvent', () => { ['Ctrl+Shift+K', { keyCode: 75, key: 'K', modifiers: 10, text: null }], ['Meta+r', { keyCode: 82, key: 'r', modifiers: 4, text: null }], ['Control+Shift+r', { keyCode: 82, key: 'R', modifiers: 10, text: null }] - ])('parses the shortcut %s', (raw: string, expected: object) => { + ])('parses the shortcut %s', (raw: string, expected: Partial) => { expect(parseCdpKeyEvent(raw)).toMatchObject(expected) }) @@ -66,7 +66,7 @@ describe('parseCdpKeyEvent', () => { ['ContextMenu', { keyCode: 93, text: null }], ['F5', { keyCode: 116, key: 'F5', code: 'F5', text: null }], ['F12', { keyCode: 123, text: null }] - ])('parses the named key %s', (raw: string, expected: object) => { + ])('parses the named key %s', (raw: string, expected: Partial) => { expect(parseCdpKeyEvent(raw)).toMatchObject(expected) }) @@ -77,7 +77,7 @@ describe('parseCdpKeyEvent', () => { ['Meta', { keyCode: 91, key: 'Meta', code: 'MetaLeft', modifiers: 4, selfModifier: 4 }] ])( 'reports the own modifier bit and left-side location for a bare %s press', - (raw: string, expected: object) => { + (raw: string, expected: Partial) => { expect(parseCdpKeyEvent(raw)).toMatchObject({ ...expected, location: 1, text: null }) } ) diff --git a/src/main/browser/doc-preview-download-block-notice.test.ts b/src/main/browser/doc-preview-download-block-notice.test.ts index c57998ea4e5..8cd45d436cc 100644 --- a/src/main/browser/doc-preview-download-block-notice.test.ts +++ b/src/main/browser/doc-preview-download-block-notice.test.ts @@ -2,7 +2,7 @@ import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' const mocks = vi.hoisted(() => ({ publishDocPreviewFailure: vi.fn(), - boundGrantIdByGuest: new Map(), + boundGrantIdByGuest: new Map(), revocationListener: null as null | ((grant: { id: string }) => void) })) @@ -10,7 +10,8 @@ vi.mock('./doc-preview-failure-notice', () => ({ publishDocPreviewFailure: mocks.publishDocPreviewFailure })) vi.mock('./doc-preview-guest-policy', () => ({ - readDocPreviewGuestBoundGrantId: (guest: object) => mocks.boundGrantIdByGuest.get(guest) ?? null + readDocPreviewGuestBoundGrantId: (guest: Electron.WebContents) => + mocks.boundGrantIdByGuest.get(guest) ?? null })) vi.mock('./doc-preview-grant-registry', () => ({ onDocPreviewGrantRevoked: (listener: (grant: { id: string }) => void) => { diff --git a/src/main/claude-accounts/runtime-auth-service-readback-identity.test.ts b/src/main/claude-accounts/runtime-auth-service-readback-identity.test.ts index 1cd86014c29..2806d44e82a 100644 --- a/src/main/claude-accounts/runtime-auth-service-readback-identity.test.ts +++ b/src/main/claude-accounts/runtime-auth-service-readback-identity.test.ts @@ -70,7 +70,7 @@ describe('ClaudeRuntimeAuthService', () => { it('rejects wrong-shaped refreshed credentials during read-back', async () => { const runtimeCredentialsPath = join(testState.fakeHomeDir, '.claude', '.credentials.json') const originalCredentials = createClaudeCredentialsJson('user@example.com', 'original') - const wrongShapedRefresh = `${JSON.stringify({ + const malformedRefresh = `${JSON.stringify({ claudeAiOauth: { email: 'user@example.com', expiresAt: Date.now() + 120_000 @@ -91,7 +91,7 @@ describe('ClaudeRuntimeAuthService', () => { settings.activeClaudeManagedAccountId = 'account-1' await service.syncForCurrentSelection() - writeFileSync(runtimeCredentialsPath, wrongShapedRefresh, 'utf-8') + writeFileSync(runtimeCredentialsPath, malformedRefresh, 'utf-8') await service.syncForCurrentSelection() expect(readManagedCredentialsForTest('account-1', managedAuthPath)).toBe(originalCredentials) diff --git a/src/main/claude/claude-structured-acquisition-launch.ts b/src/main/claude/claude-structured-acquisition-launch.ts new file mode 100644 index 00000000000..5e2f4de9b70 --- /dev/null +++ b/src/main/claude/claude-structured-acquisition-launch.ts @@ -0,0 +1,83 @@ +import { + AgentSessionAcquisitionExitUnprovenError, + AgentSessionPreSpawnError, + type StructuredAgentSessionAcquireInput +} from '../native-chat/agent-session-wire/structured-agent-session-adapter' +import { withAgentSessionCreatePhase } from '../observability/agent-session-instrumentation' +import type { ClaudeRewindAttempt } from './claude-structured-rewind' +import type { ClaudeStructuredLaunch } from './claude-structured-launch-resolution' +import { + cancelClaudeAcquisitionAttempt, + type ClaudeAcquisitionAttempt, + type ClaudeAcquisitionRegistry, + type ClaudeAcquireCallbacks, + type ClaudeSession, + type ClaudeSessionExit, + type ClaudeStructuredSessionAdapterDeps +} from './claude-structured-session-state' +import { + claudeAcquisitionCleanupError, + closeClaudePublishedSessionForDeps +} from './claude-structured-session-close' + +export async function resolveClaudeAcquisitionLaunch(args: { + input: StructuredAgentSessionAcquireInput + deps: ClaudeStructuredSessionAdapterDeps + sessions: Map + acquisitions: ClaudeAcquisitionRegistry + exits: Map + callbacks: ClaudeAcquireCallbacks + previous: ClaudeAcquisitionAttempt | undefined + attempt: ClaudeAcquisitionAttempt + rewind: ClaudeRewindAttempt +}): Promise { + const { input, deps, sessions, acquisitions, exits, callbacks, previous, attempt, rewind } = args + const sessionId = input.identity.sessionId + return withAgentSessionCreatePhase('auth_settle', input.recordPhase, async () => { + if (previous && !(await cancelClaudeAcquisitionAttempt(previous))) { + acquisitions.restoreIfCurrent(sessionId, attempt, previous) + throw new AgentSessionAcquisitionExitUnprovenError( + new Error(`claude acquisition for session ${sessionId} could not be stopped`) + ) + } + acquisitions.assertCurrent(sessionId, attempt) + let resumeSession = sessions.get(sessionId) + if (!(await closeClaudePublishedSessionForDeps(sessions, sessionId, deps))) { + throw new AgentSessionAcquisitionExitUnprovenError( + new Error(`claude session ${sessionId} could not be stopped`) + ) + } + const retainedExit = exits.get(sessionId) + if (retainedExit) { + const firstProof = retainedExit.closePromise ? await retainedExit.closePromise : false + const proven = firstProof || (await retainedExit.connection.close().catch(() => false)) + if (!proven) { + throw claudeAcquisitionCleanupError(retainedExit.connection, retainedExit.error) + } + // The superseded child must settle before its durable resume identity is reused. + await callbacks.settleExit(sessionId, retainedExit) + resumeSession ??= retainedExit.session + } + acquisitions.assertCurrent(sessionId, attempt) + const launchIdentity = resumeSession + ? { + ...input.identity, + providerHandle: { + kind: 'claude' as const, + sessionId: resumeSession.providerSessionId, + leafUuid: resumeSession.leafUuid + } + } + : input.identity + const launch = await deps + .resolveLaunch({ identity: launchIdentity }) + .catch((error: unknown) => { + throw error instanceof AgentSessionPreSpawnError + ? error + : new AgentSessionPreSpawnError(error) + }) + rewind.applyLaunch(launch, deps) + acquisitions.assertCurrent(sessionId, attempt) + return launch + }) +} diff --git a/src/main/claude/claude-structured-session-acquisition.ts b/src/main/claude/claude-structured-session-acquisition.ts index 8870a0e1daa..eb7bc9b7251 100644 --- a/src/main/claude/claude-structured-session-acquisition.ts +++ b/src/main/claude/claude-structured-session-acquisition.ts @@ -1,6 +1,5 @@ import { ClaudeRewindAttempt, proveClaudeRewindRecovery } from './claude-structured-rewind' import { - AgentSessionAcquisitionExitUnprovenError, AgentSessionPreSpawnError, type AgentSessionAcquisition, type StructuredAgentSessionAcquireInput @@ -37,7 +36,6 @@ import { } from './claude-structured-session-acquisition-options' import { createClaudeSessionPublication } from './claude-structured-session-publication' import { - cancelClaudeAcquisitionAttempt, mintClaudeAcquisitionGeneration, type ClaudeAcquisitionRegistry, type ClaudeSession, @@ -45,12 +43,10 @@ import { type ClaudeStructuredSessionAdapterDeps, type ClaudeAcquireCallbacks } from './claude-structured-session-state' -import { - claudeAcquisitionCleanupError, - closeClaudePublishedSessionForDeps, - resolveClaudeAcquisitionError -} from './claude-structured-session-close' +import { resolveClaudeAcquisitionError } from './claude-structured-session-close' import { readClaudeTranscriptEntryUuid } from './claude-tui-exit' +import { withAgentSessionCreatePhase } from '../observability/agent-session-instrumentation' +import { resolveClaudeAcquisitionLaunch } from './claude-structured-acquisition-launch' export const CLAUDE_STRUCTURED_INIT_TIMEOUT_MS = 10_000 @@ -148,96 +144,68 @@ export async function acquireClaudeSession({ }) try { - if (previous && !(await cancelClaudeAcquisitionAttempt(previous))) { - acquisitions.restoreIfCurrent(sessionId, attempt, previous) - throw new AgentSessionAcquisitionExitUnprovenError( - new Error(`claude acquisition for session ${sessionId} could not be stopped`) - ) - } - acquisitions.assertCurrent(sessionId, attempt) - let resumeSession = sessions.get(sessionId) - if (!(await closeClaudePublishedSessionForDeps(sessions, sessionId, deps))) { - throw new AgentSessionAcquisitionExitUnprovenError( - new Error(`claude session ${sessionId} could not be stopped`) - ) - } - // A first-hand exit that has not yet proved its full tree still owns a cleanup - // obligation; never let a new acquisition hide that evidence by omission. - const retainedExit = exits.get(sessionId) - if (retainedExit) { - const firstProof = retainedExit.closePromise ? await retainedExit.closePromise : false - const proven = firstProof || (await retainedExit.connection.close().catch(() => false)) - if (!proven) { - throw claudeAcquisitionCleanupError(retainedExit.connection, retainedExit.error) - } - // The old child is superseded by this acquisition. Settle its lifecycle - // before discarding the retained proof so its cursor and callbacks are - // cleaned up exactly once. - await callbacks.settleExit(sessionId, retainedExit) - resumeSession ??= retainedExit.session - } - acquisitions.assertCurrent(sessionId, attempt) - // Both close paths persist their final leaf, so launch validates that durable head. - const launchIdentity = resumeSession - ? { - ...input.identity, - providerHandle: { - kind: 'claude' as const, - sessionId: resumeSession.providerSessionId, - leafUuid: resumeSession.leafUuid - } - } - : input.identity - const launch = await deps - .resolveLaunch({ identity: launchIdentity }) - .catch((error: unknown) => { - throw error instanceof AgentSessionPreSpawnError - ? error - : new AgentSessionPreSpawnError(error) - }) - rewind.applyLaunch(launch, deps) + const launch = await resolveClaudeAcquisitionLaunch({ + input, + deps, + sessions, + acquisitions, + exits, + callbacks, + previous, + attempt, + rewind + }) expectedProviderSessionId = launch.providerSessionId observedLeafUuid = launch.resumeLeafUuid - acquisitions.assertCurrent(sessionId, attempt) const open = deps.openConnection ?? openClaudeStreamJsonConnection - const connection = await open( - { - pathToClaudeCodeExecutable: launch.pathToClaudeCodeExecutable, - options: launch.options, - cwd: launch.cwd, - env: { - ...launch.env, - [CLAUDE_SPAWN_TOKEN_ENV]: input.spawnToken, - // Compared against what the child would otherwise inherit, so the record's - // account home still wins over a diverging overlay without a needless pin. - // (`process` is shadowed by a local later in this function, so it is not named here.) - ...claudeConfigDirEnvPatch(launch.claudeConfigDir, launch.env ? { env: launch.env } : {}) - } - }, - { - onMessage, - canUseTool, - onUserDialog, - onFault: (error) => { - if (!attempt.published) { - initDeadline.reject(error) + const connection = await withAgentSessionCreatePhase('spawn', input.recordPhase, () => + open( + { + pathToClaudeCodeExecutable: launch.pathToClaudeCodeExecutable, + options: launch.options, + cwd: launch.cwd, + env: { + ...launch.env, + [CLAUDE_SPAWN_TOKEN_ENV]: input.spawnToken, + // Compared against what the child would otherwise inherit, so the record's + // account home still wins over a diverging overlay without a needless pin. + // (`process` is shadowed by a local later in this function, so it is not named here.) + ...claudeConfigDirEnvPatch( + launch.claudeConfigDir, + launch.env ? { env: launch.env } : {} + ) } }, - onExit: (error) => { - if (!attempt.published) { - initDeadline.reject(error) + { + onMessage, + canUseTool, + onUserDialog, + onFault: (error) => { + if (!attempt.published) { + initDeadline.reject(error) + } + }, + onExit: (error) => { + if (!attempt.published) { + initDeadline.reject(error) + } + callbacks.handleExit(sessionId, attempt, error) } - callbacks.handleExit(sessionId, attempt, error) } - } + ) ) attempt.connection = connection acquisitions.assertCurrent(sessionId, attempt) initDeadline.start() - const [initialization, init] = await Promise.all([ - requestClaudeInitialization(connection, sessionId, initTimeoutMs), - initDeadline.promise - ]) + const [initialization, init] = await withAgentSessionCreatePhase( + 'init', + input.recordPhase, + () => + Promise.all([ + requestClaudeInitialization(connection, sessionId, initTimeoutMs), + initDeadline.promise + ]) + ) const models = readClaudeModels(initialization) callbacks.deliver(attempt, sessionId, () => callbacks.emit(liveSession, input.events, { type: 'options', sessionId, models }) @@ -274,36 +242,43 @@ export async function acquireClaudeSession({ if (connection.closed) { throw new Error(`claude stream-json for session ${sessionId} exited while being acquired`) } - const publication = createClaudeSessionPublication({ - connection, - init, - initialization, - claudeConfigDir: launch.claudeConfigDir, - leafUuid: observedLeafUuid, - fence: input.fence, - effort: readClaudeSettingsEffort(settings), - ...claudeStructuredSessionPublicationOptions(acquisitionOptions), - resumed: launch.resumed, - prompts, - translator, - events: input.events, - process, - acquisitionGeneration: mintClaudeAcquisitionGeneration(deps), - options: acquisitionOptions.options, - capabilities: readClaudeCapabilities(init, initialization), - ...(deps.mintLinkId ? { linkId: deps.mintLinkId() } : {}), - observedAt: deps.now?.() ?? Date.now() - }) + const publication = await withAgentSessionCreatePhase('publish', input.recordPhase, async () => + createClaudeSessionPublication({ + connection, + init, + initialization, + claudeConfigDir: launch.claudeConfigDir, + leafUuid: observedLeafUuid, + fence: input.fence, + effort: readClaudeSettingsEffort(settings), + ...claudeStructuredSessionPublicationOptions(acquisitionOptions), + resumed: launch.resumed, + prompts, + translator, + events: input.events, + process, + acquisitionGeneration: mintClaudeAcquisitionGeneration(deps), + options: acquisitionOptions.options, + capabilities: readClaudeCapabilities(init, initialization), + ...(deps.mintLinkId ? { linkId: deps.mintLinkId() } : {}), + observedAt: deps.now?.() ?? Date.now() + }) + ) + const acquired: AgentSessionAcquisition = publication.acquisition liveSession = publication.session - await restoreClaudeStructuredSessionOptions(liveSession, deps.requestTimeoutMs) + await withAgentSessionCreatePhase('restore_options', input.recordPhase, () => + restoreClaudeStructuredSessionOptions(liveSession!, deps.requestTimeoutMs) + ) acquisitions.assertCurrent(sessionId, attempt) acquisitions.deleteIfCurrent(sessionId, attempt) - sessions.set(sessionId, liveSession) - attempt.published = true - for (const event of attempt.buffered.splice(0)) { - event() - } - return publication.acquisition + await withAgentSessionCreatePhase('publish', input.recordPhase, async () => { + sessions.set(sessionId, liveSession!) + attempt.published = true + for (const event of attempt.buffered.splice(0)) { + event() + } + }) + return acquired } catch (error) { initDeadline.clear() const acquisitionError = await resolveClaudeAcquisitionError({ diff --git a/src/main/claude/claude-structured-session-close.test.ts b/src/main/claude/claude-structured-session-close.test.ts index 0de5049a71c..46bda78cacd 100644 --- a/src/main/claude/claude-structured-session-close.test.ts +++ b/src/main/claude/claude-structured-session-close.test.ts @@ -11,8 +11,42 @@ import { identityFor } from './claude-structured-session-test-support' import type { AgentSessionBackgroundTaskState } from '../../shared/agent-session-wire' +import { AgentSessionAcquisitionRootExitObservedError } from '../native-chat/agent-session-wire/structured-agent-session-adapter' +import { ClaudePromptRegistry } from './claude-structured-prompt-replies' +import { closeClaudeSession } from './claude-structured-session-close' +import { ClaudeAcquisitionRegistry } from './claude-structured-session-state' describe('Claude published session close lifecycle', () => { + it('reports a proven root exit when published-session close cannot prove descendants', async () => { + const claude = fakeClaude() + const adapter = adapterFor(claude) + await adapter.acquire({ identity: identityFor(), fence: 7, spawnToken: 'spawn-9' }) + const connection = claude.connections[0]! + connection.exitVerdict = { root: 'exited', tree: 'unverifiable' } + connection.close = vi.fn<() => Promise>().mockResolvedValue(false) + + await expect(adapter.closeSession('session-1')).rejects.toBeInstanceOf( + AgentSessionAcquisitionRootExitObservedError + ) + }) + + it('reports the same root-exit verdict while cancelling acquisition', async () => { + const claude = fakeClaude({ + unprovenCloseVerdict: { root: 'exited', tree: 'unverifiable' } + }) + const acquisitions = new ClaudeAcquisitionRegistry() + const { attempt } = acquisitions.start('session-1', new ClaudePromptRegistry()) + attempt.connection = await claude.openConnection({ + pathToClaudeCodeExecutable: 'claude', + options: {}, + cwd: '/work/repo' + }) + + await expect( + closeClaudeSession({ sessionId: 'session-1', sessions: new Map(), acquisitions }) + ).rejects.toBeInstanceOf(AgentSessionAcquisitionRootExitObservedError) + }) + it('ends the session even when the durable handle write rejects', async () => { const claude = fakeClaude() const events: ClaudeStructuredSessionEvent[] = [] diff --git a/src/main/claude/claude-structured-session-close.ts b/src/main/claude/claude-structured-session-close.ts index 52097f7ee1e..431d6e38ab8 100644 --- a/src/main/claude/claude-structured-session-close.ts +++ b/src/main/claude/claude-structured-session-close.ts @@ -98,6 +98,14 @@ async function finalizeClaudePublishedSession( prompt.settle(null) } if ((await session.connection.close()) !== true) { + const cleanupError = claudeAcquisitionCleanupError( + session.connection, + new Error('provider close unproven') + ) + // Why: the owner can release proven root-exit/processless sessions; genuinely unknown exits retry. + if (!(cleanupError instanceof AgentSessionAcquisitionExitUnprovenError)) { + throw cleanupError + } return false } if (session.backgroundTasks.clear()) { @@ -263,6 +271,14 @@ export async function closeClaudeSession(input: { }): Promise { const attempt = input.acquisitions.get(input.sessionId) if (!(await cancelClaudeAcquisitionAttempt(attempt))) { + const cleanupError = claudeAcquisitionCleanupError( + attempt?.connection, + new Error('acquisition cancel unproven') + ) + // Why: cancellation must preserve the same actionable verdict as published-session close. + if (!(cleanupError instanceof AgentSessionAcquisitionExitUnprovenError)) { + throw cleanupError + } return false } if (attempt) { diff --git a/src/main/claude/compact-status-registration.test.ts b/src/main/claude/compact-status-registration.test.ts index eef03297279..2c54cc8db62 100644 --- a/src/main/claude/compact-status-registration.test.ts +++ b/src/main/claude/compact-status-registration.test.ts @@ -6,6 +6,7 @@ import { clearPaneCacheState, createHookListenerState, movePaneCacheState, + seedLegacyAgentStatusForTests, type HookListenerState } from '../../shared/agent-hook-listener/listener-state' import { seedClaudeSubagentRosterFromSnapshots } from '../../shared/agent-hook-listener/providers/claude-roster-state' @@ -31,7 +32,7 @@ function deliverIfRegistered( } const event = normalizeHookPayload(state, 'claude', { paneKey: PANE_KEY, payload }, 'production') if (event) { - state.lastStatusByPaneKey.set(PANE_KEY, event) + seedLegacyAgentStatusForTests(state, event) } return event } @@ -89,7 +90,7 @@ function hydrateStuckRow( ...(subagents ? { subagents } : {}) } } as unknown as AgentHookEventPayload - state.lastStatusByPaneKey.set(PANE_KEY, hydrated) + seedLegacyAgentStatusForTests(state, hydrated) if (subagents) { seedClaudeSubagentRosterFromSnapshots(state, PANE_KEY, subagents) } diff --git a/src/main/codex-accounts/managed-codex-auth-readiness.test.ts b/src/main/codex-accounts/managed-codex-auth-readiness.test.ts index d65a9344acc..e6354826366 100644 --- a/src/main/codex-accounts/managed-codex-auth-readiness.test.ts +++ b/src/main/codex-accounts/managed-codex-auth-readiness.test.ts @@ -263,6 +263,6 @@ function createFixture(): { } } -function writeAuth(home: string, auth: object): void { +function writeAuth(home: string, auth: Record): void { writeFileSync(join(home, 'auth.json'), JSON.stringify(auth), { mode: 0o600 }) } diff --git a/src/main/codex-accounts/runtime-home-service-test-harness.ts b/src/main/codex-accounts/runtime-home-service-test-harness.ts index 3922823ebd1..86d94de5807 100644 --- a/src/main/codex-accounts/runtime-home-service-test-harness.ts +++ b/src/main/codex-accounts/runtime-home-service-test-harness.ts @@ -1,3 +1,8 @@ +/* oxlint-disable anti-slop/no-module-mocking -- Vitest support module for the 17 runtime-home specs, not shipped code, and it falls outside the *.test / *.spec / tests glob set. + setupRuntimeHomeTest() overrides one probe predicate in ../pty/shell-startup-env; the production + readers import it directly across several main-process modules, so an injected seam would have to + be threaded through all of them. Inlining the stub into each of the 17 specs would duplicate it 17 + times and push the largest past the max-lines ratchet. */ import { expect, vi } from 'vitest' import { existsSync, diff --git a/src/main/codex/codex-prompt-registry.ts b/src/main/codex/codex-prompt-registry.ts index c6d0d7f4bef..f3ba3fa3601 100644 --- a/src/main/codex/codex-prompt-registry.ts +++ b/src/main/codex/codex-prompt-registry.ts @@ -9,6 +9,7 @@ import { readQuestionIds, readQuestionOptionAnswers } from './codex-prompt-registry-bounds' +import { readRecord, readString as readRecordString } from './codex-item-field-readers' export const CODEX_COMMAND_APPROVAL_METHOD = 'item/commandExecution/requestApproval' export const CODEX_FILE_CHANGE_APPROVAL_METHOD = 'item/fileChange/requestApproval' @@ -36,11 +37,7 @@ export type CodexPromptClaim = { } function readString(params: unknown, key: string): string | null { - if (typeof params !== 'object' || params === null) { - return null - } - const value = Reflect.get(params, key) - return typeof value === 'string' && value.length > 0 ? value : null + return readRecordString(readRecord(params), key) } export function isCodexPromptMethod(method: string): boolean { diff --git a/src/main/codex/codex-session-migration-scheduler.ts b/src/main/codex/codex-session-migration-scheduler.ts index d0f696031ae..879a63817db 100644 --- a/src/main/codex/codex-session-migration-scheduler.ts +++ b/src/main/codex/codex-session-migration-scheduler.ts @@ -253,12 +253,21 @@ export function createCodexSessionMigrationScheduler(args: { } } +type MigrationFailureCountKey = 'failedDirectories' | 'failedFiles' | 'failedHealAuditRecords' + +/** The run-result fields the scheduler consults; each runner returns its own summary shape. */ +type MigrationResultFields = Partial> + +function isMigrationResultFields(result: unknown): result is MigrationResultFields { + return typeof result === 'object' && result !== null +} + function isStoppedMigrationResult(result: unknown): boolean { return Boolean(result && typeof result === 'object' && 'stopped' in result && result.stopped) } function isIncompleteBackfillResult(result: unknown): boolean { - if (!result || typeof result !== 'object') { + if (!isMigrationResultFields(result)) { return true } return ( @@ -269,7 +278,10 @@ function isIncompleteBackfillResult(result: unknown): boolean { ) } -function readPositiveResultCount(result: object, key: string): boolean { - const value = key in result ? (result as Record)[key] : undefined +function readPositiveResultCount( + result: MigrationResultFields, + key: MigrationFailureCountKey +): boolean { + const value = result[key] return typeof value === 'number' && value > 0 } diff --git a/src/main/codex/codex-structured-item-translation.test.ts b/src/main/codex/codex-structured-item-translation.test.ts index 53cf94e265c..ad63d624f58 100644 --- a/src/main/codex/codex-structured-item-translation.test.ts +++ b/src/main/codex/codex-structured-item-translation.test.ts @@ -806,7 +806,7 @@ describe('codex item bodies', () => { // Both the row label and the run header read top-level input keys only, so a // shape whose detail sits inside `action` renders as the input's raw JSON. const url = 'https://example.com/docs/page' - const shapes: [string, unknown, string, string][] = [ + const cases: [string, unknown, string, string][] = [ ['started', null, '', ''], [ 'search', @@ -823,7 +823,7 @@ describe('codex item bodies', () => { ], ['other', { type: 'other' }, 'other', ''] ] - for (const [name, action, label, brief] of shapes) { + for (const [name, action, label, brief] of cases) { // Codex leaves the item's own `query` empty on most completed searches. const query = name === 'search' || name === 'findInPage' ? 'a sample query' : '' const input = toolCallInput({ type: 'webSearch', id: 'w', query, action }) diff --git a/src/main/codex/codex-subagent-executions.test.ts b/src/main/codex/codex-subagent-executions.test.ts index aceff7ab465..c7f7955bb23 100644 --- a/src/main/codex/codex-subagent-executions.test.ts +++ b/src/main/codex/codex-subagent-executions.test.ts @@ -13,8 +13,9 @@ describe('CodexSubagentExecutions retention and identity', () => { executions.observeTurn(id, id, 'completed') } expect(executions.workingChildren().map((child) => child.agentThreadId)).toEqual(['long-lived']) - expect(Reflect.get(executions, 'children').size).toBeLessThanOrEqual(128) - expect(Reflect.get(executions, 'settledTurns').size).toBeLessThanOrEqual(256) + const { children, settledTurns } = executions.retentionSizes() + expect(children).toBeLessThanOrEqual(128) + expect(settledTurns).toBeLessThanOrEqual(256) }) it('retains early live owner events at capacity and makes room only after settlement', () => { @@ -45,7 +46,6 @@ describe('CodexSubagentExecutions retention and identity', () => { executions.observeTurn('child', 'turn', 'failed') expect(executions.workingChildren()[0]?.execution?.turnId).toBe('new-turn') executions.clear() - expect(Reflect.get(executions, 'children').size).toBe(0) - expect(Reflect.get(executions, 'settledTurns').size).toBe(0) + expect(executions.retentionSizes()).toEqual({ children: 0, settledTurns: 0 }) }) }) diff --git a/src/main/codex/codex-subagent-executions.ts b/src/main/codex/codex-subagent-executions.ts index cd33b4eb1d5..d5ac62bfa74 100644 --- a/src/main/codex/codex-subagent-executions.ts +++ b/src/main/codex/codex-subagent-executions.ts @@ -106,6 +106,11 @@ export class CodexSubagentExecutions { this.settledTurns.clear() } + /** Retention bounds are not observable through the child/turn API, so expose the two counts. */ + retentionSizes(): { children: number; settledTurns: number } { + return { children: this.children.size, settledTurns: this.settledTurns.size } + } + private child(agentThreadId: string): CodexExecutionChild | undefined { const existing = this.children.get(agentThreadId) if (existing) { diff --git a/src/main/computer/desktop-script-provider-test-harness.ts b/src/main/computer/desktop-script-provider-test-harness.ts index bcb0a4b0118..43d213c855f 100644 --- a/src/main/computer/desktop-script-provider-test-harness.ts +++ b/src/main/computer/desktop-script-provider-test-harness.ts @@ -1,3 +1,6 @@ +/* oxlint-disable anti-slop/no-module-mocking -- Vitest support module for the 8 desktop-script-provider specs, not shipped code, and it falls + outside the *.test / *.spec / tests glob set. The stubs replace node builtins (child_process, fs/promises) for a provider + that shells out; inlining them would duplicate the vi.hoisted fixture into all 8 specs. */ import { expect, vi } from 'vitest' import type { DesktopScriptRuntimeHost } from './desktop-script-runtime-host' diff --git a/src/main/crash-reporting/crash-breadcrumb-store.test.ts b/src/main/crash-reporting/crash-breadcrumb-store.test.ts index 9c5a9dcce4d..2953a4fb13d 100644 --- a/src/main/crash-reporting/crash-breadcrumb-store.test.ts +++ b/src/main/crash-reporting/crash-breadcrumb-store.test.ts @@ -24,6 +24,285 @@ describe('crash breadcrumb store', () => { expect(snapshot[29].name).toBe('event_31') }) + describe('fair-share eviction', () => { + it('spends the overflow on the most repeated series, not the oldest event', () => { + recordCrashBreadcrumb('app_started', { packaged: true }) + recordCrashBreadcrumb('main_window_created') + recordCrashBreadcrumb('main_window_loaded') + for (let sample = 0; sample < 200; sample += 1) { + recordCrashBreadcrumb('renderer_memory', { sample }) + } + + const snapshot = getCrashBreadcrumbSnapshot() + + expect(snapshot.map((entry) => entry.name).slice(0, 3)).toEqual([ + 'app_started', + 'main_window_created', + 'main_window_loaded' + ]) + expect(snapshot.filter((entry) => entry.name === 'renderer_memory')).toHaveLength(27) + }) + + it('thins the crowded series from its oldest end, keeping the run before the crash', () => { + recordCrashBreadcrumb('app_started') + for (let sample = 0; sample < 200; sample += 1) { + recordCrashBreadcrumb('renderer_memory', { sample }) + } + + const samples = getCrashBreadcrumbSnapshot() + .filter((entry) => entry.name === 'renderer_memory') + .map((entry) => entry.data?.sample) + + expect(samples.at(-1)).toBe(199) + expect(samples).toEqual( + Array.from({ length: samples.length }, (_, i) => 200 - samples.length + i) + ) + }) + + it('splits the ring between two competing series', () => { + for (let round = 0; round < 100; round += 1) { + recordCrashBreadcrumb('renderer_memory', { round }) + recordCrashBreadcrumb('pr_refresh_queue', { round }) + } + + const snapshot = getCrashBreadcrumbSnapshot() + + expect(snapshot.filter((entry) => entry.name === 'renderer_memory')).toHaveLength(15) + expect(snapshot.filter((entry) => entry.name === 'pr_refresh_queue')).toHaveLength(15) + }) + + // The interaction fair-share eviction could break, and the reason `ownsUnresolvedRepeats` + // exists: a coalesce key owns a ring entry by reference and carries its running + // suppressed count there. A crash report is the LAST snapshot, so an entry orphaned by + // eviction never gets re-claimed — the burst would simply vanish from the report. + it('does not evict a coalescing owner that still holds unfolded repeats', () => { + vi.useFakeTimers() + vi.setSystemTime(new Date('2026-09-14T12:00:00.000Z')) + const hit = (key: string): void => { + recordCoalescedCrashBreadcrumb({ + name: 'renderer_error', + data: { key }, + coalesceKey: key, + minIntervalMs: 30_000 + }) + } + + recordCrashBreadcrumb('app_started') + hit('hot') + vi.advanceTimersByTime(10) + for (let repeat = 0; repeat < 5; repeat += 1) { + hit('hot') + } + // Distinct messages make `renderer_error` the crowded group even though each entry + // is a different error — so the naive "oldest of the crowded name" would take the + // hot key's own crumb, which is the one carrying the count. + for (let index = 0; index < 40; index += 1) { + vi.advanceTimersByTime(10) + hit(`cold_${index}`) + } + + const snapshot = getCrashBreadcrumbSnapshot() + const hotCrumb = snapshot.find((entry) => entry.data?.key === 'hot') + + // Plain FIFO loses this singleton; fair share is why it survives 41 same-name crumbs. + expect(snapshot.some((entry) => entry.name === 'app_started')).toBe(true) + expect(hotCrumb?.data?.suppressedSinceLast).toBe(5) + }) + + // The real field shape: THREE periodic emitters at roughly a quarter of the ring each, + // none of them past half. A policy that only engages once one name owns a majority + // reproduces the original bug exactly while every other test stays green. + it('protects the trail when three series share the ring, none holding a majority', () => { + recordCrashBreadcrumb('app_started') + recordCrashBreadcrumb('main_window_created') + recordCrashBreadcrumb('main_window_loaded') + for (let round = 0; round < 100; round += 1) { + recordCrashBreadcrumb('renderer_memory', { round }) + recordCrashBreadcrumb('agent_state_changed', { round }) + recordCrashBreadcrumb('pr_refresh_queue', { round }) + } + + const snapshot = getCrashBreadcrumbSnapshot() + + expect(snapshot.slice(0, 3).map((entry) => entry.name)).toEqual([ + 'app_started', + 'main_window_created', + 'main_window_loaded' + ]) + }) + + // Engagement threshold: two slots is already enough redundancy to charge the overflow to. + it('charges the overflow to a name holding only two slots', () => { + for (let index = 0; index < 15; index += 1) { + recordCrashBreadcrumb(`single_${index}`) + } + recordCrashBreadcrumb('duplicated', { first: true }) + for (let index = 15; index < 29; index += 1) { + recordCrashBreadcrumb(`single_${index}`) + } + recordCrashBreadcrumb('duplicated', { first: false }) + + const snapshot = getCrashBreadcrumbSnapshot() + + expect(snapshot[0].name).toBe('single_0') + expect(snapshot.filter((entry) => entry.name === 'duplicated')).toHaveLength(1) + }) + + // The newest entry must be counted, or a near-tie is resolved against the wrong series. + it('counts the entry that just arrived when two series are tied', () => { + recordCrashBreadcrumb('lifecycle_a') + recordCrashBreadcrumb('lifecycle_b') + for (let index = 0; index < 14; index += 1) { + recordCrashBreadcrumb('series_b', { index }) + } + for (let index = 0; index < 14; index += 1) { + recordCrashBreadcrumb('series_a', { index }) + } + recordCrashBreadcrumb('series_a', { index: 14 }) + + const snapshot = getCrashBreadcrumbSnapshot() + + expect(snapshot.filter((entry) => entry.name === 'series_a')).toHaveLength(14) + expect(snapshot.filter((entry) => entry.name === 'series_b')).toHaveLength(14) + }) + + // Eviction counts per (name, origin); the snapshot is filtered per reporter, so one + // surface's sample must not make another surface's singleton look redundant. + it("does not let one renderer surface evict another surface's only sample", () => { + for (let index = 0; index < 15; index += 1) { + recordCrashBreadcrumb(`lifecycle_${index}`, undefined, 'main') + } + recordCrashBreadcrumb('renderer_memory', { surface: 'main' }, 'main') + for (let index = 15; index < 29; index += 1) { + recordCrashBreadcrumb(`lifecycle_${index}`, undefined, 'main') + } + recordCrashBreadcrumb('renderer_memory', { surface: 'popout' }, 'popout') + + const mainSnapshot = getCrashBreadcrumbSnapshot('main') + + expect(mainSnapshot.filter((entry) => entry.name === 'renderer_memory')).toHaveLength(1) + }) + + // Fallback path: when EVERY entry of the crowded group is a live owner there is no + // unowned candidate, and the overflow must still be charged to that group rather than + // to the oldest entry in the ring — which is the one-off the whole policy protects. + it('charges the crowded group even when all of its entries are live owners', () => { + vi.useFakeTimers() + vi.setSystemTime(new Date('2026-09-14T12:00:00.000Z')) + recordCrashBreadcrumb('app_started') + for (let index = 0; index < 30; index += 1) { + const hit = (): void => { + recordCoalescedCrashBreadcrumb({ + name: 'renderer_error', + data: { index }, + coalesceKey: `key_${index}`, + minIntervalMs: 30_000 + }) + } + hit() + hit() + } + + const snapshot = getCrashBreadcrumbSnapshot() + + expect(snapshot.some((entry) => entry.name === 'app_started')).toBe(true) + // And the crumb that just arrived is kept: its coalesce state is linked only after + // the push, so treating it as a candidate would always discard the newest evidence. + expect(snapshot.some((entry) => entry.data?.index === 29)).toBe(true) + }) + + // The gap round 2 named: no test populated the retained lane together with a + // fair-share fixture. Retained crumbs take their share off the SAME 30-entry budget, + // and a plain tail slice would trim the ring's head — which is exactly where fair + // share parks the one-offs it just protected. Three retained crumbs erased the whole + // lifecycle trail from the snapshot. + it('keeps the lifecycle trail when the retained lane takes part of the budget', () => { + // Real timestamps: the snapshot sorts by createdAt, so a same-millisecond fixture + // would assert a tie-break order rather than the policy. + vi.useFakeTimers() + vi.setSystemTime(new Date('2026-09-14T12:00:00.000Z')) + const tick = (): void => { + vi.advanceTimersByTime(1_000) + } + recordCrashBreadcrumb('app_started') + tick() + recordCrashBreadcrumb('main_window_created') + tick() + recordCrashBreadcrumb('main_window_loaded') + for (let mark = 0; mark < 3; mark += 1) { + tick() + recordCrashBreadcrumb('renderer_memory_highwater', { + rendererSurface: 'main', + thresholdPrivateMB: 600 + mark + }) + } + for (let sample = 0; sample < 200; sample += 1) { + tick() + recordCrashBreadcrumb('renderer_memory', { sample }) + } + + const snapshot = getCrashBreadcrumbSnapshot() + const names = snapshot.map((entry) => entry.name) + + expect(snapshot).toHaveLength(30) + expect(names.filter((name) => name === 'renderer_memory_highwater')).toHaveLength(3) + expect(names.slice(0, 3)).toEqual([ + 'app_started', + 'main_window_created', + 'main_window_loaded' + ]) + }) + + // `isCoalescedCrumbStillInEvidence` and the snapshot must compute the SAME window. + // If the predicate keeps a tail slice while the snapshot uses fair share, an owner the + // report will carry is judged invisible, its handle is dropped, and the burst count + // never lands on the crumb the reader actually sees. + it('folds a burst into an owner the report keeps, even when the lane takes budget', () => { + vi.useFakeTimers() + vi.setSystemTime(new Date('2026-09-14T12:00:00.000Z')) + for (let mark = 0; mark < 3; mark += 1) { + recordCrashBreadcrumb('renderer_memory_highwater', { + rendererSurface: 'main', + thresholdPrivateMB: 600 + mark + }) + } + recordCrashBreadcrumb('app_started') + const hit = (): void => { + recordCoalescedCrashBreadcrumb({ + name: 'renderer_error', + data: { message: 'boom' }, + coalesceKey: 'boom', + minIntervalMs: 30_000 + }) + } + hit() + for (let repeat = 0; repeat < 5; repeat += 1) { + vi.advanceTimersByTime(10) + hit() + } + for (let sample = 0; sample < 200; sample += 1) { + vi.advanceTimersByTime(10) + recordCrashBreadcrumb('renderer_memory', { sample }) + } + + const snapshot = getCrashBreadcrumbSnapshot() + const owner = snapshot.find((entry) => entry.name === 'renderer_error') + + expect(owner?.data?.suppressedSinceLast).toBe(5) + }) + + it('degenerates to oldest-first when no name repeats', () => { + for (let index = 0; index < 40; index += 1) { + recordCrashBreadcrumb(`event_${index}`) + } + + const snapshot = getCrashBreadcrumbSnapshot() + + expect(snapshot[0].name).toBe('event_10') + expect(snapshot[29].name).toBe('event_39') + }) + }) + it('retains bounded renderer high-water profiles across later activity', () => { vi.useFakeTimers() vi.setSystemTime(new Date('2026-07-22T12:00:00.000Z')) @@ -235,7 +514,10 @@ describe('crash breadcrumb store', () => { } const burstSize = 34 - it('erases the entire pre-crash trail when uncoalesced', () => { + // Fair-share eviction spares the one-off trail, but the burst still takes + // two thirds of the ring — enough to starve any *other* series and to lose + // the pane count entirely. Coalescing is still the right answer for bursts. + it('takes most of the ring when uncoalesced, but no longer erases the trail', () => { recordPreCrashTrail() for (let pane = 0; pane < burstSize; pane += 1) { recordCrashBreadcrumb('terminal_safe_fit_retry_exhausted', { paneId: 1 }) @@ -243,12 +525,16 @@ describe('crash breadcrumb store', () => { const snapshot = getCrashBreadcrumbSnapshot() + const bursts = snapshot.filter((entry) => entry.name === 'terminal_safe_fit_retry_exhausted') + expect(snapshot.filter((entry) => entry.name.startsWith('pre_crash_evidence_'))).toHaveLength( - 0 + 10 ) - expect( - snapshot.filter((entry) => entry.name === 'terminal_safe_fit_retry_exhausted') - ).toHaveLength(30) + expect(bursts).toHaveLength(20) + // The delta that still justifies coalescing: 20 slots against 1, and the population + // — the only signal multiplicity ever carried — is nowhere on the uncoalesced side. + expect(bursts.some((entry) => entry.data?.livePanes !== undefined)).toBe(false) + expect(bursts.every((entry) => entry.data?.suppressedSinceLast === undefined)).toBe(true) }) it('costs one slot when coalesced, and keeps the pane count on the payload', () => { diff --git a/src/main/crash-reporting/crash-breadcrumb-store.ts b/src/main/crash-reporting/crash-breadcrumb-store.ts index 2c0b68b043e..95ff946f03c 100644 --- a/src/main/crash-reporting/crash-breadcrumb-store.ts +++ b/src/main/crash-reporting/crash-breadcrumb-store.ts @@ -85,11 +85,84 @@ export function recordCrashBreadcrumb( } breadcrumbs.push(breadcrumb) if (breadcrumbs.length > MAX_BREADCRUMBS) { - breadcrumbs.shift() + breadcrumbs.splice(evictionIndex(breadcrumbs), 1) } return breadcrumb } +/** + * Index of the entry to drop when the ring overflows: the oldest entry of + * whichever name currently occupies the most slots. + * + * Why not the oldest overall: a once-a-minute sampler outnumbers the whole + * lifecycle trail within the hour, so plain FIFO spends the ring on the one + * series that repeats and evicts the singletons that explain the death. Across + * 293 field reports, `renderer_memory`, `agent_state_changed` and + * `pr_refresh_queue` held 77% of every slot ever shipped and 39% of reports + * arrived with no lifecycle crumb at all. Charging the overflow to the most + * redundant name instead bounds any series without naming it, so a new periodic + * emitter cannot reopen the hole the way an allowlist lets it. + * + * Every name appearing once degenerates to the oldest entry, i.e. plain FIFO. + */ +function evictionGroupKey(entry: CrashReportBreadcrumb): string { + // Why origin is part of the group: the snapshot is filtered per reporter, so a name that + // is a singleton on THIS surface is not redundant just because a busy popout also emits + // it. Counting them together let one surface delete the other's trail. + return `${entry.name}\u0000${entry.origin ?? ''}` +} + +/** Whether a coalesce key still owns this entry and has repeats it has not folded in. */ +function ownsUnresolvedRepeats(entry: CrashReportBreadcrumb): boolean { + for (const state of coalescedBreadcrumbs.values()) { + if (state.emitted === entry && state.suppressed > state.resolved) { + return true + } + } + return false +} + +function evictionIndex(ring: CrashReportBreadcrumb[]): number { + const counts = new Map() + for (const entry of ring) { + const key = evictionGroupKey(entry) + counts.set(key, (counts.get(key) ?? 0) + 1) + } + let crowdedKey = '' + let crowdedCount = 0 + for (const entry of ring) { + const key = evictionGroupKey(entry) + const count = counts.get(key) ?? 0 + // Why strictly greater: `ring` is oldest-first, so the first group to reach the + // maximum is the one whose oldest entry is oldest. Accepting ties walks to a later + // group and thins the wrong series. + if (count > crowdedCount) { + crowdedKey = key + crowdedCount = count + } + } + let oldestOfGroup = 0 + let foundGroup = false + // Why the newest entry is never a candidate: it is the crumb that just arrived, and its + // coalesce state has not been linked to it yet, so it would always look unowned. + for (let index = 0; index < ring.length - 1; index += 1) { + if (evictionGroupKey(ring[index]) !== crowdedKey) { + continue + } + if (!foundGroup) { + oldestOfGroup = index + foundGroup = true + } + // Why skip a live owner: that entry carries its key's running suppressed count, and a + // crash report is the LAST snapshot — "the next emit re-claims it" never happens. Take + // the next entry in the same group instead; fall back only if every one is owned. + if (!ownsUnresolvedRepeats(ring[index])) { + return index + } + } + return oldestOfGroup +} + export function recordCoalescedCrashBreadcrumb({ name, data, @@ -183,9 +256,33 @@ function isCoalescedCrumbStillInEvidence( const visibleRecent = breadcrumbs.filter((breadcrumb) => isVisibleToReporter(breadcrumb, reporterOrigin) ) - return visibleRecent - .slice(-(MAX_BREADCRUMBS - retained.length)) - .some((recentBreadcrumb) => recentBreadcrumb === crumb) + return visibleReportWindow(visibleRecent, MAX_BREADCRUMBS - retained.length).some( + (recentBreadcrumb) => recentBreadcrumb === crumb + ) +} + +/** + * The ring entries a report will actually carry, once the retained lane has taken its + * share of the budget. + * + * Why not a plain tail slice: fair-share eviction parks the one-off crumbs at the ring's + * HEAD and the repeating series at its tail, so trimming the head discards exactly what + * eviction just protected. The retained lane fills under memory pressure — the same + * condition that produces the `renderer_memory` flood — so the two would cancel out + * precisely when the trail matters most. Trim with the same policy instead. + */ +function visibleReportWindow( + visibleRecent: CrashReportBreadcrumb[], + budget: number +): CrashReportBreadcrumb[] { + if (visibleRecent.length <= budget) { + return visibleRecent + } + const window = [...visibleRecent] + while (window.length > budget) { + window.splice(evictionIndex(window), 1) + } + return window } /** Fold a key's newest suppressed payload into the ring entry it owns. */ @@ -260,7 +357,7 @@ export function getCrashBreadcrumbSnapshot(reporterOrigin?: string): CrashReport const visibleRecent = breadcrumbs.filter((breadcrumb) => isVisibleToReporter(breadcrumb, reporterOrigin) ) - const recent = visibleRecent.slice(-(MAX_BREADCRUMBS - retained.length)) + const recent = visibleReportWindow(visibleRecent, MAX_BREADCRUMBS - retained.length) return [...retained, ...recent] .sort((left, right) => left.createdAt.localeCompare(right.createdAt)) .map((breadcrumb) => ({ diff --git a/src/main/cursor/hook-service.ts b/src/main/cursor/hook-service.ts index b07639f108a..ed431509346 100644 --- a/src/main/cursor/hook-service.ts +++ b/src/main/cursor/hook-service.ts @@ -168,13 +168,13 @@ export class CursorHookService { } const cleaned = removeManagedCommands(definitions, isManagedCommand) // Also strip entries with the command at the top level (Cursor schema). - const strippedCursorShape = cleaned.filter( + const strippedTopLevelCommands = cleaned.filter( (definition) => !isManagedCommand(definition.command) ) - if (strippedCursorShape.length === 0) { + if (strippedTopLevelCommands.length === 0) { delete nextHooks[eventName] } else { - nextHooks[eventName] = strippedCursorShape + nextHooks[eventName] = strippedTopLevelCommands } } diff --git a/src/main/daemon/daemon-client-rpc-request.ts b/src/main/daemon/daemon-client-rpc-request.ts index fb72538eaa0..2bd4f6741de 100644 --- a/src/main/daemon/daemon-client-rpc-request.ts +++ b/src/main/daemon/daemon-client-rpc-request.ts @@ -59,8 +59,11 @@ export function requestDaemonRpc(opts: DaemonRpcRequestOptions): Promise { const createTimeoutError = (): DaemonRequestTimeoutError => new DaemonRequestTimeoutError(`Request ${type} timed out after ${opts.timeoutMs}ms`) const createSessionId = - type === 'createOrAttach' && payload !== null && typeof payload === 'object' - ? Reflect.get(payload, 'sessionId') + type === 'createOrAttach' && + payload !== null && + typeof payload === 'object' && + 'sessionId' in payload + ? payload.sessionId : null const requestPayload = type === 'createOrAttach' && payload !== null && typeof payload === 'object' diff --git a/src/main/daemon/daemon-pty-adapter-history-recovery.test.ts b/src/main/daemon/daemon-pty-adapter-history-recovery.test.ts index 820f318d6a8..4703f11300b 100644 --- a/src/main/daemon/daemon-pty-adapter-history-recovery.test.ts +++ b/src/main/daemon/daemon-pty-adapter-history-recovery.test.ts @@ -235,12 +235,16 @@ describe('DaemonPtyAdapter history recovery', () => { ).id ) ) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: `checkpointSessions` and `runExclusiveCheckpoint` are `protected` on the checkpoint scheduler, so they are absent from the adapter's public type; the shape below mirrors their declarations and this suite only spies on them. const internals = historyAdapter as unknown as { checkpointSessions( sessionIds: Iterable, opts?: { final?: boolean; teardown?: boolean } ): Promise> - runExclusiveCheckpoint(operation: () => Promise, options?: object): Promise + runExclusiveCheckpoint( + operation: () => Promise, + options?: { rescheduleDirty?: boolean; callerDeadlineMs?: number } + ): Promise } const originalCheckpointSessions = internals.checkpointSessions.bind(historyAdapter) // Call-through spy: entering the exclusive gate is the observable "queued behind the in-flight checkpoint" moment. diff --git a/src/main/git/canonical-repo-key.ts b/src/main/git/canonical-repo-key.ts index 1b06423bdc9..76b2d1c3e4e 100644 --- a/src/main/git/canonical-repo-key.ts +++ b/src/main/git/canonical-repo-key.ts @@ -1,3 +1,4 @@ +import type { LocalGitExecOptions } from './repo-default-base-ref' import { toWslExecutionSpace } from '../../shared/wsl-paths' import { gitExecFileAsync } from './runner' import { resolveRevParsePath } from './worktree-path-comparison' @@ -10,7 +11,7 @@ import { resolveRevParsePath } from './worktree-path-comparison' * same repo" means across every worktree that points at it. */ -export type CanonicalRepoKeyOptions = { wslDistro?: string } +export type CanonicalRepoKeyOptions = LocalGitExecOptions const CACHE_MAX = 512 const cache = new Map() diff --git a/src/main/git/command-runner/command-exec-file.ts b/src/main/git/command-runner/command-exec-file.ts index aa3e18a3a70..d67fa24f249 100644 --- a/src/main/git/command-runner/command-exec-file.ts +++ b/src/main/git/command-runner/command-exec-file.ts @@ -1,14 +1,9 @@ import { isWindowsBatchScript, resolveWindowsCommand } from '../../win32-utils' +import { isMissingCommandBinaryError } from '../exec-error' import { resolveCommand, type ResolvedCommand } from './wsl-command-resolution' import { execFileCapture } from './exec-file-capture' import { spawnCommandCapture, type CommandExecOptions } from './spawn-command-capture' -function isMissingCommandError(error: unknown): boolean { - return Boolean( - error && typeof error === 'object' && (error as { code?: unknown }).code === 'ENOENT' - ) -} - function hasPathSeparator(command: string): boolean { return command.includes('/') || command.includes('\\') } @@ -17,7 +12,7 @@ function shouldRetryWindowsCommandShim(error: unknown, resolved: ResolvedCommand return ( process.platform === 'win32' && resolved.wsl === null && - isMissingCommandError(error) && + isMissingCommandBinaryError(error) && !hasPathSeparator(resolved.binary) && !/\.[A-Za-z0-9]+$/.test(resolved.binary) ) diff --git a/src/main/git/command-runner/git-exec-admission-lifetime.test.ts b/src/main/git/command-runner/git-exec-admission-lifetime.test.ts index e603bb3398d..3b4893b35ce 100644 --- a/src/main/git/command-runner/git-exec-admission-lifetime.test.ts +++ b/src/main/git/command-runner/git-exec-admission-lifetime.test.ts @@ -49,6 +49,7 @@ vi.mock('../../../shared/git-fetch-head-lock', async (importOriginal) => { import { gitExecFileAsync, gitExecFileAsyncBuffer } from './git-exec-file' import { execFileCapture } from './exec-file-capture' import { + acquireGitAdmission, GitAdmissionScheduler, _gitAdmissionSnapshotForTests, _resetGitAdmissionForTests @@ -66,6 +67,10 @@ function mockChild(pid: number | undefined = 1234): ChildProcess { return child as unknown as ChildProcess } +async function settleAdmissionGrant(): Promise { + await vi.advanceTimersByTimeAsync(0) +} + describe('git exec admission lifetime', () => { beforeEach(() => { vi.useFakeTimers() @@ -80,12 +85,36 @@ describe('git exec admission lifetime', () => { _resetGitAdmissionForTests() }) + it('keeps the SSH policy probe queued beyond its execution budget until caller cancellation', async () => { + _resetGitAdmissionForTests(new GitAdmissionScheduler({ generalCap: 1, generalHeadroom: 0 })) + const holding = acquireGitAdmission({ args: ['status'], cwd: '/repo' }) + await settleAdmissionGrant() + const blocker = await holding + const controller = new AbortController() + const pending = gitExecFileAsync(['fetch', 'origin'], { + cwd: '/repo', + env: { ...process.env, GIT_SSH_COMMAND: '' }, + useConfiguredSshCommandForNetwork: true, + signal: controller.signal + }) + const rejection = expect(pending).rejects.toMatchObject({ name: 'AbortError' }) + await settleAdmissionGrant() + await vi.advanceTimersByTimeAsync(10_000) + expect(_gitAdmissionSnapshotForTests().queued).toBe(1) + expect(execFileMock).not.toHaveBeenCalled() + controller.abort() + await rejection + blocker.release() + expect(_gitAdmissionSnapshotForTests().queued).toBe(0) + }) + it('retains the string-exec permit after timeout settlement until close', async () => { const child = mockChild() execFileMock.mockReturnValue(child) const pending = gitExecFileAsync(['status'], { cwd: '/repo', timeout: 10 }) const rejection = expect(pending).rejects.toThrow('timed out') - await vi.waitFor(() => expect(execFileMock).toHaveBeenCalledOnce()) + await settleAdmissionGrant() + expect(execFileMock).toHaveBeenCalledOnce() await vi.advanceTimersByTimeAsync(10) await rejection @@ -188,7 +217,8 @@ describe('git exec admission lifetime', () => { timeout: 10 }) const rejection = expect(pending).rejects.toThrow('timed out') - await vi.waitFor(() => expect(spawnMock).toHaveBeenCalledOnce()) + await settleAdmissionGrant() + expect(spawnMock).toHaveBeenCalledOnce() await vi.advanceTimersByTimeAsync(2010) expect(_gitAdmissionSnapshotForTests().budgets.general?.baseUsed).toBe(1) @@ -201,6 +231,69 @@ describe('git exec admission lifetime', () => { expect(_gitAdmissionSnapshotForTests().budgets.general?.baseUsed).toBe(0) }) + it.each([false, true])( + 'waits beyond the execution timeout before spawning (buffer: %s)', + async (buffer) => { + _resetGitAdmissionForTests(new GitAdmissionScheduler({ generalCap: 1, generalHeadroom: 0 })) + const holding = acquireGitAdmission({ args: ['status'], cwd: '/repo' }) + await settleAdmissionGrant() + const blocker = await holding + const child = mockChild() + let callback: ExecCallback | undefined + execFileMock.mockImplementation((_command, _args, _options, received: ExecCallback) => { + callback = received + return child + }) + const pending = buffer + ? gitExecFileAsyncBuffer(['status'], { cwd: '/repo', timeout: 50 }) + : gitExecFileAsync(['status'], { cwd: '/repo', timeout: 50 }) + await settleAdmissionGrant() + await vi.advanceTimersByTimeAsync(500) + expect(execFileMock).not.toHaveBeenCalled() + expect(_gitAdmissionSnapshotForTests().queued).toBe(1) + blocker.release() + await settleAdmissionGrant() + expect(execFileMock).toHaveBeenCalledOnce() + await vi.advanceTimersByTimeAsync(49) + callback?.(null, buffer ? Buffer.from('ok') : 'ok', buffer ? Buffer.alloc(0) : '') + child.emit('close', 0, null) + expect((await pending).stdout.toString()).toBe('ok') + expect(_gitAdmissionSnapshotForTests().queued).toBe(0) + expect(_gitAdmissionSnapshotForTests().budgets.general?.baseUsed).toBe(0) + } + ) + + it('still reports a caller abort of a queued command as an abort', async () => { + vi.useRealTimers() + _resetGitAdmissionForTests(new GitAdmissionScheduler({ generalCap: 1, generalHeadroom: 0 })) + const blocker = mockChild() + let finishBlocker: ExecCallback | undefined + execFileMock.mockImplementation( + (_command: string, _args: string[], _options: unknown, callback: ExecCallback) => { + finishBlocker = callback + return blocker + } + ) + const holding = gitExecFileAsync(['status'], { cwd: '/repo' }) + await vi.waitFor(() => expect(finishBlocker).toBeTypeOf('function')) + + const controller = new AbortController() + const queued = gitExecFileAsync(['status'], { + cwd: '/repo', + timeout: 60_000, + signal: controller.signal + }) + await vi.waitFor(() => expect(_gitAdmissionSnapshotForTests().queued).toBe(1)) + controller.abort() + + await expect(queued).rejects.toMatchObject({ name: 'AbortError' }) + expect(execFileMock).toHaveBeenCalledOnce() + + finishBlocker?.(null, '', '') + blocker.emit('close', 0, null) + await expect(holding).resolves.toEqual({ stdout: '', stderr: '' }) + }) + it('serializes FETCH_HEAD callers before they enter admission', async () => { _resetGitAdmissionForTests(new GitAdmissionScheduler({ networkCap: 1, networkHeadroom: 1 })) const children = new Map() diff --git a/src/main/git/command-runner/git-operation-executor.test.ts b/src/main/git/command-runner/git-operation-executor.test.ts new file mode 100644 index 00000000000..f3f48ea7e47 --- /dev/null +++ b/src/main/git/command-runner/git-operation-executor.test.ts @@ -0,0 +1,74 @@ +import { afterEach, describe, expect, it } from 'vitest' +import { resolveGitAdmissionTier } from './git-operation-executor' +import { + acquireGitAdmission, + GitAdmissionScheduler, + _resetGitAdmissionForTests, + _gitAdmissionSnapshotForTests +} from './git-subprocess-admission' +import { worktreeCreateGit, worktreePreparationGit } from '../worktree-create-git-executor' + +afterEach(() => _resetGitAdmissionForTests()) + +describe('Git operation execution policy', () => { + it('isolates concurrent callers and restores the create policy after nested work', async () => { + const entered = Promise.withResolvers() + const finish = Promise.withResolvers() + const create = worktreeCreateGit.run(async () => { + expect(resolveGitAdmissionTier()).toBe('interactive') + await worktreePreparationGit.run(async () => { + await Promise.resolve() + expect(resolveGitAdmissionTier()).toBe('status') + }) + entered.resolve() + await finish.promise + expect(resolveGitAdmissionTier()).toBe('interactive') + expect(resolveGitAdmissionTier('background')).toBe('background') + }) + await entered.promise + expect(resolveGitAdmissionTier()).toBe('status') + finish.resolve() + await create + expect(resolveGitAdmissionTier()).toBe('status') + }) + + it.each([false, true])( + 'expires inherited policy after completion (failure: %s)', + async (fail) => { + const finishDetached = Promise.withResolvers() + let detached: Promise | undefined + const create = worktreeCreateGit.run(async () => { + detached = finishDetached.promise.then(() => resolveGitAdmissionTier()) + if (fail) { + throw new Error('create failed') + } + }) + await (fail ? expect(create).rejects.toThrow('create failed') : create) + finishDetached.resolve() + await expect(detached).resolves.toBe('status') + } + ) + + it('admits nested commands without priority options while preparation work stays queued', async () => { + _resetGitAdmissionForTests(new GitAdmissionScheduler({ generalCap: 1, generalHeadroom: 1 })) + const blocker = await acquireGitAdmission({ args: ['status'], cwd: '/repo' }) + const preparation = worktreePreparationGit.run(() => + acquireGitAdmission({ args: ['status'], cwd: '/repo' }) + ) + try { + await worktreeCreateGit.run(async () => { + const grant = await acquireGitAdmission({ args: ['rev-parse', 'HEAD'], cwd: '/repo' }) + expect(_gitAdmissionSnapshotForTests()).toMatchObject({ + queued: 1, + budgets: { general: { baseUsed: 1, headroomUsed: 1 } } + }) + grant.release() + }) + } finally { + blocker.release() + const grant = await preparation + grant.release() + } + expect(_gitAdmissionSnapshotForTests().queued).toBe(0) + }) +}) diff --git a/src/main/git/command-runner/git-operation-executor.ts b/src/main/git/command-runner/git-operation-executor.ts new file mode 100644 index 00000000000..b32fe644728 --- /dev/null +++ b/src/main/git/command-runner/git-operation-executor.ts @@ -0,0 +1,26 @@ +import { AsyncLocalStorage } from 'node:async_hooks' +import type { GitAdmissionTier } from './git-exec-options' + +const operations = new AsyncLocalStorage<{ tier: GitAdmissionTier; active: boolean }>() + +/** Async context keeps concurrent operations isolated without forwarding a tier through routing options. */ +export function createGitOperationExecutor(tier: GitAdmissionTier) { + return { + async run(operation: () => Promise): Promise { + const scope = { tier, active: true } + return operations.run(scope, async () => { + try { + return await operation() + } finally { + // Timers and detached work must not retain a completed create's priority. + scope.active = false + } + }) + } + } +} + +export function resolveGitAdmissionTier(tier?: GitAdmissionTier): GitAdmissionTier { + const scope = operations.getStore() + return tier ?? (scope?.active ? scope.tier : undefined) ?? 'status' +} diff --git a/src/main/git/command-runner/git-stream-admission-lifetime.test.ts b/src/main/git/command-runner/git-stream-admission-lifetime.test.ts index b4694fc7075..f46189a9ab4 100644 --- a/src/main/git/command-runner/git-stream-admission-lifetime.test.ts +++ b/src/main/git/command-runner/git-stream-admission-lifetime.test.ts @@ -14,6 +14,7 @@ vi.mock('./spawned-command-tree-kill', () => ({ import { gitStreamStdout } from './git-stream-stdout' import { + acquireGitAdmission, GitAdmissionScheduler, _gitAdmissionSnapshotForTests, _resetGitAdmissionForTests @@ -36,7 +37,10 @@ describe('git stream admission lifetime', () => { _resetGitAdmissionForTests(new GitAdmissionScheduler({ generalCap: 1, generalHeadroom: 1 })) }) - afterEach(() => _resetGitAdmissionForTests()) + afterEach(() => { + vi.useRealTimers() + _resetGitAdmissionForTests() + }) it('retains the permit after maxBuffer settlement until close', async () => { const child = mockChild() @@ -57,6 +61,27 @@ describe('git stream admission lifetime', () => { expect(_gitAdmissionSnapshotForTests().budgets.general?.baseUsed).toBe(0) }) + it('waits beyond the execution timeout before starting a stream', async () => { + vi.useFakeTimers() + _resetGitAdmissionForTests(new GitAdmissionScheduler({ generalCap: 1, generalHeadroom: 0 })) + const holding = acquireGitAdmission({ args: ['status'], cwd: '/repo' }) + await vi.advanceTimersByTimeAsync(0) + const blocker = await holding + const child = mockChild() + gitSpawnMock.mockReturnValue(child) + const pending = gitStreamStdout(['status'], { cwd: '/repo', timeoutMs: 50, onStdout: () => {} }) + await vi.advanceTimersByTimeAsync(500) + expect(gitSpawnMock).not.toHaveBeenCalled() + expect(_gitAdmissionSnapshotForTests().queued).toBe(1) + blocker.release() + await vi.advanceTimersByTimeAsync(0) + expect(gitSpawnMock).toHaveBeenCalledOnce() + await vi.advanceTimersByTimeAsync(49) + child.emit('close', 0, null) + await expect(pending).resolves.toEqual({ stoppedEarly: false }) + expect(_gitAdmissionSnapshotForTests().budgets.general?.baseUsed).toBe(0) + }) + it('retains the permit after abort settlement until close', async () => { const child = mockChild() const controller = new AbortController() diff --git a/src/main/git/command-runner/git-subprocess-admission.ts b/src/main/git/command-runner/git-subprocess-admission.ts index b23cbda170b..b5b744ea97c 100644 --- a/src/main/git/command-runner/git-subprocess-admission.ts +++ b/src/main/git/command-runner/git-subprocess-admission.ts @@ -14,6 +14,7 @@ import { type GitAdmissionGrant, type GitAdmissionRequest } from './git-admission-state' +import { resolveGitAdmissionTier } from './git-operation-executor' export type { GitAdmissionEvent, @@ -31,10 +32,6 @@ export { ROUTE_HEADROOM } from './git-admission-state' -function commandClass(args: readonly string[]): AdmissionClass { - return classifyGitCommand(args) === 'network' ? 'network' : 'general' -} - function routeKey(request: GitAdmissionRequest): string | null { const distro = request.wslDistro?.trim().toLowerCase() return distro ? `wsl:${distro}` : uncRouteKey(request.cwd) @@ -113,7 +110,7 @@ export class GitAdmissionScheduler { route: string | null budgetKeys: readonly string[] } { - const admissionClass = commandClass(request.args) + const admissionClass = classifyGitCommand(request.args) === 'network' ? 'network' : 'general' const route = routeKey(request) const keys: string[] = [admissionClass] if (route) { @@ -313,7 +310,7 @@ export function acquireGitAdmission(request: GitAdmissionRequest): Promise {} }) } - return scheduler.acquire(request) + return scheduler.acquire({ ...request, tier: resolveGitAdmissionTier(request.tier) }) } export function _resetGitAdmissionForTests(replacement = new GitAdmissionScheduler()): void { diff --git a/src/main/git/exec-error.ts b/src/main/git/exec-error.ts index fb44e54917a..6e0385091d5 100644 --- a/src/main/git/exec-error.ts +++ b/src/main/git/exec-error.ts @@ -40,6 +40,19 @@ export function extractExecError(err: unknown): { stderr: string; stdout: string return { stderr: String(err), stdout: '' } } +/** Recognizes spawn ENOENT; callers must separately rule out a missing cwd. */ +export function isMissingCommandBinaryError(err: unknown): boolean { + return Boolean( + err && + typeof err === 'object' && + 'code' in err && + err.code === 'ENOENT' && + 'syscall' in err && + typeof err.syscall === 'string' && + err.syscall.startsWith('spawn ') + ) +} + /** * Detect a Retry-After hint in gh stderr and return the suggested delay in ms, * or null when the response includes no Retry-After. diff --git a/src/main/git/git-availability.ts b/src/main/git/git-availability.ts new file mode 100644 index 00000000000..0fda3933f7a --- /dev/null +++ b/src/main/git/git-availability.ts @@ -0,0 +1,31 @@ +import { access } from 'node:fs/promises' +import { isMissingCommandBinaryError } from './exec-error' + +type GitVersionExec = ( + args: string[], + options: { cwd: string; timeout: number } +) => Promise + +/** + * Resolves `false` only when the spawn proved Git absent; every other failure rejects so callers + * keep an unknown answer instead of reporting a host with no Git. + */ +export async function probeGitAvailability( + exec: GitVersionExec, + options: { cwd: string; timeout: number } +): Promise { + try { + await exec(['--version'], options) + return true + } catch (err) { + if (isMissingCommandBinaryError(err)) { + try { + await access(options.cwd) + return false + } catch { + // Node reports the same spawn ENOENT for a missing binary and a missing cwd. + } + } + throw err + } +} diff --git a/src/main/git/git-capability-state.test.ts b/src/main/git/git-capability-state.test.ts index b6e655efe62..845c2f47bf8 100644 --- a/src/main/git/git-capability-state.test.ts +++ b/src/main/git/git-capability-state.test.ts @@ -1,4 +1,5 @@ import { beforeEach, describe, expect, it, vi } from 'vitest' +import type { SshGitProvider } from '../providers/ssh-git-provider' import { clearGitCapabilityStateForTests, getLocalGitCapabilityCache, @@ -10,6 +11,9 @@ import { seedWslLinkedWorktreeGitRoutingForTests } from './wsl-linked-worktree-git-routing' +// oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the cache keys providers by reference only and never calls a method on them. +const createProviderIdentity = (): SshGitProvider => ({}) as SshGitProvider + describe('Git capability execution-host state', () => { beforeEach(() => { clearGitCapabilityStateForTests() @@ -32,8 +36,8 @@ describe('Git capability execution-host state', () => { }) it('shares one SSH provider lifetime without leaking into a replacement provider', () => { - const provider = {} - const replacementProvider = {} + const provider = createProviderIdentity() + const replacementProvider = createProviderIdentity() expect(getSshGitCapabilityCache(provider)).toBe(getSshGitCapabilityCache(provider)) expect(getSshGitCapabilityCache(provider)).not.toBe( diff --git a/src/main/git/git-capability-state.ts b/src/main/git/git-capability-state.ts index 7721df722c8..d998c21ee75 100644 --- a/src/main/git/git-capability-state.ts +++ b/src/main/git/git-capability-state.ts @@ -1,4 +1,5 @@ import { GitCapabilityCache } from '../../shared/git-capability-cache' +import type { SshGitProvider } from '../providers/ssh-git-provider' import { parseWslUncPath } from '../../shared/wsl-paths' import { isWslLinkedWorktreeGitRoutingCandidate, @@ -14,7 +15,7 @@ type LocalGitCapabilityTarget = { const localCapabilitiesByExecutionHost = new Map() // Why: reconnecting creates a new provider, while concurrent IPC/runtime users // of one SSH connection must share the same remote Git capability results. -let sshCapabilitiesByProvider = new WeakMap() +let sshCapabilitiesByProvider = new WeakMap() function getLocalGitExecutionHostKey(target: LocalGitCapabilityTarget): string { const wslDistro = @@ -56,7 +57,7 @@ export function withLocalGitCapabilityCacheForExecution( ) } -export function getSshGitCapabilityCache(provider: object): GitCapabilityCache { +export function getSshGitCapabilityCache(provider: SshGitProvider): GitCapabilityCache { let cache = sshCapabilitiesByProvider.get(provider) if (!cache) { cache = new GitCapabilityCache() diff --git a/src/main/git/push-target-validation.ts b/src/main/git/push-target-validation.ts index 055eab8537c..133b1ee8b2b 100644 --- a/src/main/git/push-target-validation.ts +++ b/src/main/git/push-target-validation.ts @@ -1,5 +1,5 @@ import type { GitPushTarget } from '../../shared/worktree/types' -import { assertGitPushTargetShape } from '../../shared/git-push-target-validation' +import { assertValidGitPushTarget } from '../../shared/git-push-target-validation' import { gitExecFileAsync } from './runner' import type { GitExecOptions as GitCommandExecOptions } from './command-runner/git-exec-options' @@ -10,7 +10,7 @@ export async function validateGitPushTarget( target: unknown, options: GitExecOptions = {} ): Promise { - assertGitPushTargetShape(target) + assertValidGitPushTarget(target) await gitExecFileAsync(['check-ref-format', '--branch', target.branchName], { cwd: repoPath, ...options diff --git a/src/main/git/repo-default-base-ref.ts b/src/main/git/repo-default-base-ref.ts index 59adaeed512..c43cd14c72a 100644 --- a/src/main/git/repo-default-base-ref.ts +++ b/src/main/git/repo-default-base-ref.ts @@ -1,12 +1,15 @@ +import type { GitAdmissionTier } from '../../shared/rpc-contract/git-admission-tier-params' import { gitExecFileAsync, gitExecFileSync } from './runner' export type LocalGitExecOptions = { wslDistro?: string + admissionTier?: GitAdmissionTier } export type LocalDefaultBaseRefGitOptions = { cwd: string wslDistro?: string + admissionTier?: GitAdmissionTier } export const DEFAULT_BASE_REF_PROBE_TIMEOUT_MS = 15_000 @@ -14,8 +17,12 @@ export const DEFAULT_BASE_REF_PROBE_TIMEOUT_MS = 15_000 export function gitExecOptions( cwd: string, options: LocalGitExecOptions = {} -): { cwd: string; wslDistro?: string } { - return options.wslDistro ? { cwd, wslDistro: options.wslDistro } : { cwd } +): LocalDefaultBaseRefGitOptions { + return { + cwd, + ...(options.wslDistro ? { wslDistro: options.wslDistro } : {}), + ...(options.admissionTier ? { admissionTier: options.admissionTier } : {}) + } } export const DEFAULT_BASE_REF_PROBES: readonly { ref: string; returnAs: string }[] = [ diff --git a/src/main/git/worktree-base-divergence.test.ts b/src/main/git/worktree-base-divergence.test.ts index 88eec6a6b11..fa03db0e654 100644 --- a/src/main/git/worktree-base-divergence.test.ts +++ b/src/main/git/worktree-base-divergence.test.ts @@ -5,13 +5,21 @@ const mocks = vi.hoisted(() => ({ gitExecFileAsync: vi.fn() })) vi.mock('./runner', () => ({ gitExecFileAsync: mocks.gitExecFileAsync })) import { GIT_READ_TIMEOUT_MS } from './command-runner/git-command-timeout' +import { GitAdmissionScheduler } from './command-runner/git-subprocess-admission' +import type { GitAdmissionTier } from './command-runner/git-exec-options' import { WSL_GIT_READ_ENVIRONMENT_WAIT_MS } from './wsl-git-read-environment' import { measureRetargetDivergence, RETARGET_DIVERGENCE_BUDGET_MS } from './worktree-base-divergence' -type ExecOptions = { cwd: string; timeout?: number; wslDistro?: string; signal?: AbortSignal } +type ExecOptions = { + cwd: string + timeout?: number + wslDistro?: string + signal?: AbortSignal + admissionTier?: GitAdmissionTier +} function callOptions(): ExecOptions[] { return mocks.gitExecFileAsync.mock.calls.map((call) => call[1] as ExecOptions) @@ -36,6 +44,35 @@ beforeEach(() => { }) describe('measureRetargetDivergence deadlines', () => { + it('finishes through interactive headroom while general capacity is occupied', async () => { + const scheduler = new GitAdmissionScheduler({ generalCap: 1, generalHeadroom: 1 }) + const blocker = await scheduler.acquire({ args: ['status'], cwd: '/repo' }) + mocks.gitExecFileAsync.mockImplementation(async (args: string[], options: ExecOptions) => { + const grant = await scheduler.acquire({ + args, + cwd: options.cwd, + signal: options.signal, + tier: options.admissionTier + }) + try { + return { stdout: args[0] === 'merge-base' ? 'abc123\n' : '1\n' } + } finally { + grant.release() + } + }) + try { + await expect( + measureRetargetDivergence('/repo', 'refs/heads/main', 'refs/remotes/origin/main', { + admissionTier: 'interactive', + budgetMsForTest: 200 + }) + ).resolves.toBe('within') + expect(subcommands()).toEqual(['rev-list', 'rev-list', 'merge-base']) + } finally { + blocker.release() + } + }) + it('puts every probe under one shared budget, not a budget each', async () => { answerProbes('3\n') diff --git a/src/main/git/worktree-base-divergence.ts b/src/main/git/worktree-base-divergence.ts index c7c924c2f24..d8e254a277b 100644 --- a/src/main/git/worktree-base-divergence.ts +++ b/src/main/git/worktree-base-divergence.ts @@ -1,8 +1,10 @@ import { WSL_GIT_READ_ENVIRONMENT_WAIT_MS } from './wsl-git-read-environment' import { gitExecFileAsync } from './runner' +import type { GitAdmissionTier } from './command-runner/git-exec-options' export type RetargetDivergenceOptions = { wslDistro?: string + admissionTier?: GitAdmissionTier /** The create's own cancellation signal. Without it a cancelled create leaves these probes * running until the budget expires. */ signal?: AbortSignal @@ -61,7 +63,13 @@ function probeOptions( repoPath: string, options: RetargetDivergenceOptions, signal: AbortSignal -): { cwd: string; wslDistro?: string; signal: AbortSignal; timeout: number } { +): { + cwd: string + wslDistro?: string + admissionTier?: GitAdmissionTier + signal: AbortSignal + timeout: number +} { // Built field by field rather than spread: the caller's bag carries a test-only key that must // never reach git's exec options. // Both bounds: the signal covers the pre-spawn waits (admission queue, WSL environment) that a @@ -69,6 +77,7 @@ function probeOptions( return { cwd: repoPath, ...(options.wslDistro ? { wslDistro: options.wslDistro } : {}), + ...(options.admissionTier ? { admissionTier: options.admissionTier } : {}), signal, timeout: RETARGET_DIVERGENCE_BUDGET_MS } diff --git a/src/main/git/worktree-base-ref-probe.ts b/src/main/git/worktree-base-ref-probe.ts index 87c761ebbcc..50e0e74f13a 100644 --- a/src/main/git/worktree-base-ref-probe.ts +++ b/src/main/git/worktree-base-ref-probe.ts @@ -1,3 +1,4 @@ +import type { GitAdmissionTier } from '../../shared/rpc-contract/git-admission-tier-params' import { gitExecFileAsync } from './runner' import { isShowRefNoMatchError } from './exact-ref-probe' import { hasCommitObjectViaGitExec } from './commit-object-ref' @@ -6,6 +7,7 @@ import { resolveWorktreeAddBaseRef } from '../../shared/worktree/base-ref' type GitExecOptions = { wslDistro?: string + admissionTier?: GitAdmissionTier } /** diff --git a/src/main/git/worktree-create-admission-tier.test.ts b/src/main/git/worktree-create-admission-tier.test.ts new file mode 100644 index 00000000000..f84311f14f6 --- /dev/null +++ b/src/main/git/worktree-create-admission-tier.test.ts @@ -0,0 +1,70 @@ +import { beforeEach, describe, expect, it, vi } from 'vitest' + +type GitExec = ( + args: string[], + options: Record +) => Promise<{ stdout: string; stderr: string }> + +const gitExecFileAsyncMock = vi.hoisted(() => vi.fn()) + +vi.mock('./runner', () => ({ gitExecFileAsync: gitExecFileAsyncMock })) + +import { addWorktree } from './worktree-add' +import { listWorktreesSharedStrict } from './worktree-scan-cache' +import { finalizePreparedWorktree } from './worktree-create-preparation' + +const HEAD = 'a'.repeat(40) + +/** Options every call to `git` carried, keyed by the subcommand the args name. */ +function optionsForCommand(match: string): Record[] { + return gitExecFileAsyncMock.mock.calls + .filter((call) => call[0].join(' ').includes(match)) + .map((call) => call[1]) +} + +describe('worktree create admission tier', () => { + beforeEach(() => { + gitExecFileAsyncMock.mockReset().mockResolvedValue({ stdout: HEAD, stderr: '' }) + }) + + it('runs the create add at the tier the caller asked for', async () => { + await addWorktree('/repo', '/repo-wt', 'feature', 'main', false, false, { + admissionTier: 'interactive' + }) + + const addOptions = optionsForCommand('worktree add') + expect(addOptions).toHaveLength(1) + expect(addOptions[0]).toMatchObject({ + cwd: '/repo', + admissionTier: 'interactive' + }) + }) + + it('runs the post-add listing at the tier the caller asked for', async () => { + await listWorktreesSharedStrict('/repo', { admissionTier: 'interactive' }) + + const listOptions = optionsForCommand('worktree list') + expect(listOptions.length).toBeGreaterThan(0) + for (const options of listOptions) { + expect(options).toMatchObject({ admissionTier: 'interactive' }) + } + }) + + it('runs the prepared-checkout finalize at the tier the caller asked for', async () => { + await finalizePreparedWorktree('/repo', '/prepared', '/repo-wt', 'feature', 'main', false, { + admissionTier: 'interactive' + }) + + for (const match of ['worktree move', 'checkout --no-track', 'worktree unlock']) { + const options = optionsForCommand(match) + expect(options, match).toHaveLength(1) + expect(options[0], match).toMatchObject({ admissionTier: 'interactive' }) + } + }) + + it('leaves a command with no tier at the scheduler default', async () => { + await addWorktree('/repo', '/repo-wt', 'feature', 'main') + + expect(optionsForCommand('worktree add')[0]).not.toHaveProperty('admissionTier') + }) +}) diff --git a/src/main/git/worktree-create-git-executor-real-git.test.ts b/src/main/git/worktree-create-git-executor-real-git.test.ts new file mode 100644 index 00000000000..4aa5322e7eb --- /dev/null +++ b/src/main/git/worktree-create-git-executor-real-git.test.ts @@ -0,0 +1,102 @@ +import { mkdtemp, readFile, rm, writeFile } from 'node:fs/promises' +import { tmpdir } from 'node:os' +import { join } from 'node:path' +import { afterEach, expect, it } from 'vitest' +import { gitExecFileAsync } from './runner' +import { addWorktree, listWorktrees } from './worktree' +import { finalizePreparedWorktree } from './worktree-create-preparation' +import { worktreeCreateGit } from './worktree-create-git-executor' +import { + _resetPreparationPoolForTests, + listPreparations, + startPreparation, + takePreparation +} from '../worktree-create-preparation-pool' +import { + acquireGitAdmission, + GitAdmissionScheduler, + _resetGitAdmissionForTests, + type GitAdmissionEvent +} from './command-runner/git-subprocess-admission' + +const roots: string[] = [] +afterEach(async () => { + _resetGitAdmissionForTests() + await _resetPreparationPoolForTests() + await Promise.all(roots.splice(0).map((root) => rm(root, { recursive: true, force: true }))) +}) + +it('creates cold and prepared worktrees with real Git while status capacity is occupied', async () => { + const root = await mkdtemp(join(tmpdir(), 'orca-create-policy-')) + roots.push(root) + const repo = join(root, 'repo') + await gitExecFileAsync(['init', '--quiet', repo], { cwd: root }) + await gitExecFileAsync(['symbolic-ref', 'HEAD', 'refs/heads/main'], { cwd: repo }) + await writeFile(join(repo, 'file.txt'), 'workspace content\n') + await gitExecFileAsync(['add', '.'], { cwd: repo }) + await gitExecFileAsync( + ['-c', 'user.name=Test', '-c', 'user.email=test@example.com', 'commit', '-qm', 'fixture'], + { cwd: repo } + ) + + const events: GitAdmissionEvent[] = [] + _resetGitAdmissionForTests( + new GitAdmissionScheduler({ + generalCap: 1, + generalHeadroom: 1, + onAdmissionEvent: (event) => { + if (event.phase === 'grant') { + events.push(event) + } + } + }) + ) + await worktreeCreateGit.run(() => + startPreparation({ + repoPath: repo, + workspaceRoot: root, + baseBranch: 'main', + canonicalBase: 'refs/heads/main', + options: {} + }) + ) + expect(events.length).toBeGreaterThan(0) + expect(events.every((event) => event.tier === 'status')).toBe(true) + const [prepared] = listPreparations() + expect(prepared).toBeDefined() + takePreparation(prepared) + + const blocker = await acquireGitAdmission({ args: ['status'], cwd: repo }) + events.length = 0 + try { + await worktreeCreateGit.run(async () => { + await gitExecFileAsync(['fetch', repo, 'main'], { + cwd: repo, + useConfiguredSshCommandForNetwork: true, + env: { ...process.env, GIT_SSH_COMMAND: '' } + }) + await addWorktree(repo, join(root, 'cold'), 'cold', 'main') + await finalizePreparedWorktree( + repo, + prepared.preparedPath, + join(root, 'warm'), + 'warm', + 'main' + ) + expect(await listWorktrees(repo)).toHaveLength(3) + }) + expect(events.some((event) => event.args.includes('core.sshCommand'))).toBe(true) + expect(events.some((event) => event.args.includes('fetch'))).toBe(true) + expect(events.every((event) => event.tier === 'interactive')).toBe(true) + expect( + events + .filter((event) => event.admissionClass === 'general') + .every((event) => event.slotKind === 'headroom') + ).toBe(true) + for (const name of ['cold', 'warm']) { + expect(await readFile(join(root, name, 'file.txt'), 'utf8')).toBe('workspace content\n') + } + } finally { + blocker.release() + } +}) diff --git a/src/main/git/worktree-create-git-executor.ts b/src/main/git/worktree-create-git-executor.ts new file mode 100644 index 00000000000..481fcdeed30 --- /dev/null +++ b/src/main/git/worktree-create-git-executor.ts @@ -0,0 +1,5 @@ +import { createGitOperationExecutor } from './command-runner/git-operation-executor' + +export const worktreeCreateGit = createGitOperationExecutor('interactive') + +export const worktreePreparationGit = createGitOperationExecutor('status') diff --git a/src/main/git/worktree-create-preparation.ts b/src/main/git/worktree-create-preparation.ts index 0f27f045287..28330e64e4f 100644 --- a/src/main/git/worktree-create-preparation.ts +++ b/src/main/git/worktree-create-preparation.ts @@ -1,6 +1,7 @@ import { windowsLongPathGitArgs } from '../../shared/windows-long-path-git-args' import { resolveWorktreeAddBaseRef } from '../../shared/worktree/base-ref' import type { AddWorktreeOptions, AddWorktreeResult, GitWorktreeExecOptions } from './worktree' +import { gitExecOptions, type GitExecOptionsForWorktree } from './worktree-operation-options' import { configurePushAutoSetupRemote, notifyPreparedWorktreeMutation, @@ -15,22 +16,10 @@ import { gitExecFileAsync } from './runner' import { runWithGitReadCacheInvalidation } from './status' import { invalidateWslLinkedWorktreeGitRouting } from './wsl-linked-worktree-git-routing' -function gitExecOptions( - cwd: string, - options: GitWorktreeExecOptions -): { cwd: string; wslDistro?: string; signal?: AbortSignal; timeout?: number } { - return { - cwd, - ...(options.wslDistro ? { wslDistro: options.wslDistro } : {}), - ...(options.signal ? { signal: options.signal } : {}), - ...(options.timeout ? { timeout: options.timeout } : {}) - } -} - function gitCleanupOptions( cwd: string, options: GitWorktreeExecOptions -): { cwd: string; wslDistro?: string; timeout?: number } { +): GitExecOptionsForWorktree { // Why: cancellation must not strand a partially moved worktree; cleanup is bounded separately. return gitExecOptions(cwd, { ...options, signal: undefined }) } diff --git a/src/main/git/worktree-created-description-real-git.test.ts b/src/main/git/worktree-created-description-real-git.test.ts index 4a5545dd4ba..e54da7e4783 100644 --- a/src/main/git/worktree-created-description-real-git.test.ts +++ b/src/main/git/worktree-created-description-real-git.test.ts @@ -112,16 +112,20 @@ describe('describeCreatedWorktree against the real Git binary', () => { // `mkfifo` stands in for a `.git` on a hung mount: the read never rejects on its own. it.skipIf(process.platform === 'win32')( - "still settles when the repo's .git blocks forever", + "settles with the unread witness named when the repo's .git blocks forever", async () => { const stalledRepo = join(scratchDir, 'stalled') await mkdir(stalledRepo, { recursive: true }) const stalledDotGit = join(stalledRepo, '.git') await execFileAsync('mkfifo', [stalledDotGit]) try { + // Rejecting, not resolving undefined: undefined becomes a bare "created worktree not found", + // which claims Git put the worktree somewhere else. A stalled mount proves no such thing. + const settledBy = Date.now() + 5_000 await expect( describeCreatedWorktree(stalledRepo, worktreePath, 'feature', { timeout: 250 }) - ).resolves.toBeUndefined() + ).rejects.toThrow(/^repo common dir unverifiable: could not read .*\.git: /) + expect(Date.now()).toBeLessThan(settledBy) } finally { // Release the pending read so the fifo does not pin a threadpool thread for the whole run. await writeFile(stalledDotGit, '') diff --git a/src/main/git/worktree-created-disk-witness.test.ts b/src/main/git/worktree-created-disk-witness.test.ts new file mode 100644 index 00000000000..e3f7d16b3fc --- /dev/null +++ b/src/main/git/worktree-created-disk-witness.test.ts @@ -0,0 +1,187 @@ +import { chmodSync, mkdirSync, mkdtempSync, realpathSync, rmSync, writeFileSync } from 'node:fs' +import { tmpdir } from 'node:os' +import { join } from 'node:path' +import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' + +vi.mock('./worktree-list-reader', () => ({ + readRepoLocation: vi.fn(), + readRepoCommonDirFromGit: vi.fn(), + readCheckedOutBranchRef: vi.fn(), + readWorktreeHeadOid: vi.fn(), + readTranslatedWorktreeGraph: vi.fn(), + readWorktreeList: vi.fn() +})) +vi.mock('./worktree-sparse-checkout-cache', () => ({ + detectSparseCheckoutCached: vi.fn(async () => false) +})) + +import { describeCreatedWorktree } from './worktree-listing' +import { + readCheckedOutBranchRef, + readRepoCommonDirFromGit, + readRepoLocation, + readWorktreeHeadOid +} from './worktree-list-reader' + +const readRepoLocationMock = vi.mocked(readRepoLocation) +const readRepoCommonDirFromGitMock = vi.mocked(readRepoCommonDirFromGit) +const readCheckedOutBranchRefMock = vi.mocked(readCheckedOutBranchRef) +const readWorktreeHeadOidMock = vi.mocked(readWorktreeHeadOid) + +/** Repo convention: root bypasses the mode bits, so `chmod 000` denies nothing there. */ +const CAN_DENY_READ = process.platform !== 'win32' && process.getuid?.() !== 0 + +let scratchDir = '' +let repoPath = '' +let worktreePath = '' + +/** realpath: the witness canonicalizes, and macOS `tmpdir()` is a symlink (`/var` -> `/private/var`). */ +beforeEach(() => { + scratchDir = realpathSync(mkdtempSync(join(tmpdir(), 'orca-created-witness-'))) + repoPath = join(scratchDir, 'repo') + worktreePath = join(scratchDir, 'workspaces', 'feature') + mkdirSync(repoPath, { recursive: true }) + readRepoLocationMock.mockResolvedValue({ + topLevel: worktreePath, + // Deliberately not the repo's store, so every case below reaches the disk witness. + commonDir: join(scratchDir, 'elsewhere', '.git') + }) + // Git's own reading disagrees; only the witness can break the tie. + readRepoCommonDirFromGitMock.mockResolvedValue(join(scratchDir, 'other-repo', '.git')) + readCheckedOutBranchRefMock.mockResolvedValue('refs/heads/feature') + readWorktreeHeadOidMock.mockResolvedValue('a'.repeat(40)) +}) + +afterEach(() => { + vi.clearAllMocks() + chmodSync(repoPath, 0o700) + rmSync(scratchDir, { recursive: true, force: true }) +}) + +describe('describeCreatedWorktree when Git and the repo disagree', () => { + it('reports nothing when the witness proves a different object store', async () => { + // A real `.git` file pointing somewhere else: the worktree genuinely is not this repo's. + const otherGitDir = join(scratchDir, 'other-repo', '.git') + mkdirSync(otherGitDir, { recursive: true }) + writeFileSync(join(repoPath, '.git'), `gitdir: ${otherGitDir}\n`) + await expect( + describeCreatedWorktree(repoPath, worktreePath, 'feature') + ).resolves.toBeUndefined() + }) + + it('throws when the .git marker points at a path that does not exist', async () => { + // Nothing is there to prove a store either way: a fabricated candidate would decide the create. + writeFileSync(join(repoPath, '.git'), `gitdir: ${join(scratchDir, 'gone', '.git')}\n`) + await expect(describeCreatedWorktree(repoPath, worktreePath, 'feature')).rejects.toMatchObject({ + message: expect.stringContaining('gitdir marker target unreadable') + }) + }) + + it('throws when the .git marker points at a file', async () => { + const notAGitDir = join(scratchDir, 'not-a-git-dir') + writeFileSync(notAGitDir, 'not a git dir\n') + writeFileSync(join(repoPath, '.git'), `gitdir: ${notAGitDir}\n`) + await expect(describeCreatedWorktree(repoPath, worktreePath, 'feature')).rejects.toMatchObject({ + message: expect.stringContaining('gitdir marker target is not a directory') + }) + }) + + it('reports nothing for a bare repo, whose missing .git is a real answer', async () => { + // No `.git` at all is definitive absence, not an unreadable witness. + await expect( + describeCreatedWorktree(repoPath, worktreePath, 'feature') + ).resolves.toBeUndefined() + }) + + it('reports nothing when .git is a path under a file, not a directory', async () => { + // ENOTDIR, the other spelling of absence: `repo` is a file, so `repo/.git` cannot exist. + const filePath = join(scratchDir, 'plain-file') + writeFileSync(filePath, 'not a repo\n') + await expect( + describeCreatedWorktree(filePath, worktreePath, 'feature') + ).resolves.toBeUndefined() + }) + + it('follows gitdir and commondir markers', async () => { + const commonDir = join(scratchDir, 'main', '.git') + const linkedGitDir = join(commonDir, 'worktrees', 'source') + mkdirSync(linkedGitDir, { recursive: true }) + writeFileSync(join(repoPath, '.git'), `gitdir: ${linkedGitDir}\n`) + writeFileSync(join(linkedGitDir, 'commondir'), '../..\n') + readRepoLocationMock.mockResolvedValue({ topLevel: worktreePath, commonDir }) + + await expect(describeCreatedWorktree(repoPath, worktreePath, 'feature')).resolves.toMatchObject( + { + branch: 'refs/heads/feature' + } + ) + }) + + it.skipIf(!CAN_DENY_READ)('throws when the .git marker exists but cannot be read', async () => { + const dotGit = join(repoPath, '.git') + writeFileSync(dotGit, 'gitdir: /somewhere\n') + chmodSync(dotGit, 0o000) + await expect(describeCreatedWorktree(repoPath, worktreePath, 'feature')).rejects.toMatchObject({ + message: expect.stringMatching(/^repo common dir unverifiable: could not read .*\.git: /), + cause: expect.objectContaining({ code: 'EACCES' }) + }) + }) + + // The other unverifiable branch -- the deadline firing on a `.git` that never answers -- needs a + // read that really blocks, so it lives in worktree-created-description-real-git.test.ts behind a + // fifo. A short timeout here would only race the filesystem. + + it('accepts the create when the witness agrees with the worktree', async () => { + const commonDir = join(repoPath, '.git') + mkdirSync(commonDir, { recursive: true }) + writeFileSync(join(commonDir, 'HEAD'), 'ref: refs/heads/main\n') + readRepoLocationMock.mockResolvedValue({ topLevel: worktreePath, commonDir }) + await expect(describeCreatedWorktree(repoPath, worktreePath, 'feature')).resolves.toEqual({ + path: worktreePath, + head: 'a'.repeat(40), + branch: 'refs/heads/feature', + isBare: false, + isMainWorktree: false + }) + }) +}) + +describe('describeCreatedWorktree before the witness is reached', () => { + it('never pays for the disk read when Git already agreed', async () => { + const commonDir = join(repoPath, '.git') + mkdirSync(commonDir, { recursive: true }) + readRepoLocationMock.mockResolvedValue({ topLevel: worktreePath, commonDir }) + readRepoCommonDirFromGitMock.mockResolvedValue(commonDir) + // chmod 000 would make the witness unverifiable; agreement means it is never opened. + if (CAN_DENY_READ) { + chmodSync(repoPath, 0o000) + } + await expect(describeCreatedWorktree(repoPath, worktreePath, 'feature')).resolves.toMatchObject( + { + branch: 'refs/heads/feature' + } + ) + }) + + it('reports nothing when Git could not confirm the worktree at all', async () => { + readRepoLocationMock.mockResolvedValue(undefined) + // An unconfirmed worktree is not an unverifiable common dir: resolving undefined under a repo + // whose witness cannot be read is how we know the witness was never consulted. + if (CAN_DENY_READ) { + chmodSync(repoPath, 0o000) + } + await expect( + describeCreatedWorktree(repoPath, worktreePath, 'feature') + ).resolves.toBeUndefined() + }) + + it('reports nothing when the worktree has the wrong branch checked out', async () => { + readCheckedOutBranchRefMock.mockResolvedValue('refs/heads/other') + if (CAN_DENY_READ) { + chmodSync(repoPath, 0o000) + } + await expect( + describeCreatedWorktree(repoPath, worktreePath, 'feature') + ).resolves.toBeUndefined() + }) +}) diff --git a/src/main/git/worktree-listing-created-sparse-distro.test.ts b/src/main/git/worktree-listing-created-sparse-distro.test.ts index 2b3922d5b9b..ab0326dcee2 100644 --- a/src/main/git/worktree-listing-created-sparse-distro.test.ts +++ b/src/main/git/worktree-listing-created-sparse-distro.test.ts @@ -102,4 +102,27 @@ describe('describeCreatedWorktree on a drvfs-spelled WSL worktree', () => { platformSpy.mockRestore() } }) + + it('uses the repo disk witness in the WSL execution namespace', async () => { + const platformSpy = vi.spyOn(process, 'platform', 'get').mockReturnValue('win32') + readRepoCommonDirFromGitMock.mockResolvedValue('/other/.git') + statMock.mockImplementation(async (target: string) => { + const value = slashed(target) + if (value === `${slashed(REPO)}/.git`) { + return { isDirectory: () => true } + } + if (value === `${HOST_GIT_DIR}/info/sparse-checkout`) { + return { isFile: () => true, size: 12 } + } + throw missing() + }) + + try { + await expect( + describeCreatedWorktree(REPO, 'C:\\wt\\x', 'feature', { wslDistro: 'Ubuntu' }) + ).resolves.toMatchObject({ branch: 'refs/heads/feature' }) + } finally { + platformSpy.mockRestore() + } + }) }) diff --git a/src/main/git/worktree-listing.ts b/src/main/git/worktree-listing.ts index f027bac4bc1..e902a89a957 100644 --- a/src/main/git/worktree-listing.ts +++ b/src/main/git/worktree-listing.ts @@ -1,5 +1,8 @@ -import { realpath, stat } from 'node:fs/promises' +import { readFile, realpath, stat } from 'node:fs/promises' import { join, posix } from 'node:path' +import { isDefinitiveAbsence } from '../../shared/definitive-filesystem-absence' +import { resolveGitMetadataPath } from '../../shared/git-metadata-path' +import { parseGitdirMarkerPayload } from '../../shared/gitdir-marker-payload' import { isWorktreeCreatePreparation } from '../../shared/worktree/create-preparation' import { toWslExecutionSpace } from '../../shared/wsl-paths' import type { GitWorktreeInfo } from '../../shared/worktree/types' @@ -20,8 +23,6 @@ import { } from './worktree-operation-options' import { areWorktreePathsEqual, translateWorktreePath } from './worktree-path-comparison' import { detectSparseCheckoutCached } from './worktree-sparse-checkout-cache' -import { resolveGitCommonDir } from './worktree-sparse-state' -import { resolveGitDir } from './source-control/resolve-git-dir' const SPARSE_CHECKOUT_DETECTION_CONCURRENCY = 8 @@ -151,25 +152,75 @@ export async function annotateSparseCheckoutStatus( * * Deadlined because a `.git` on a hung mount (dead NFS/SSHFS, stalled WSL 9p) never rejects, and an * unbounded read here would leave the whole create IPC pending instead of failing like it used to. + * + * A missing `.git` is a real "no candidate"; every other read failure is unverifiable and rejects. */ async function readRepoCommonDirFromDisk( repoPath: string, timeoutMs: number ): Promise { + const dotGit = join(repoPath, '.git') try { - const dotGit = join(repoPath, '.git') - // A bare repo has no `.git`, and resolveGitDir would fabricate one; offer no candidate instead. - await withDeadline(stat(dotGit), timeoutMs) - const commonDir = await withDeadline( - resolveGitDir(repoPath).then(resolveGitCommonDir), - timeoutMs - ) - // Node answers in the caller's space, Git in the distro's. Without this the WSL candidate is a UNC - // path that can never equal Git's `/home/...`, leaving this witness inert on exactly the fallback - // path that needs it (realpath cannot bridge the two: a Linux path has no local inode). - return toWslExecutionSpace(commonDir) - } catch { - return undefined + const commonDir = await withDeadline(resolveRepoCommonDirFromDisk(repoPath, dotGit), timeoutMs) + return commonDir ? toWslExecutionSpace(commonDir) : undefined + } catch (error) { + // A bare repo has no `.git`; do not fabricate a candidate for it. + if (isDefinitiveAbsence(error)) { + return undefined + } + const reason = error instanceof Error ? error.message : String(error) + throw new Error(`repo common dir unverifiable: could not read ${dotGit}: ${reason}`, { + cause: error + }) + } +} + +async function resolveRepoCommonDirFromDisk( + repoPath: string, + dotGit: string +): Promise { + // The general metadata resolvers are intentionally best effort; a witness must preserve read failures. + const dotGitStats = await stat(dotGit) + let gitDir = dotGit + if (!dotGitStats.isDirectory()) { + const pointer = parseGitdirMarkerPayload(await readFile(dotGit, 'utf8')) + if (!pointer) { + return undefined + } + gitDir = resolveGitMetadataPath(repoPath, pointer) ?? dotGit + await assertGitDirIsDirectory(gitDir) + } + + return readCommonDirMarker(gitDir) +} + +/** + * A marker target that is missing or is not a directory is unverifiable, not an absent `.git`: + * without this, `commondir`'s own ENOENT/ENOTDIR would pass as absence and hand the caller the + * pointer target as a common dir it never proved exists. + */ +async function assertGitDirIsDirectory(gitDir: string): Promise { + let gitDirStats + try { + gitDirStats = await stat(gitDir) + } catch (error) { + // Rewrapped so the outer absence check cannot read this errno as a bare repo's missing `.git`. + throw new Error(`gitdir marker target unreadable: ${gitDir}`, { cause: error }) + } + if (!gitDirStats.isDirectory()) { + throw new Error(`gitdir marker target is not a directory: ${gitDir}`) + } +} + +async function readCommonDirMarker(gitDir: string): Promise { + try { + const pointer = await readFile(join(gitDir, 'commondir'), 'utf8') + return resolveGitMetadataPath(gitDir, pointer) ?? gitDir + } catch (error) { + if (!isDefinitiveAbsence(error)) { + throw error + } + return gitDir } } diff --git a/src/main/git/worktree-operation-options.ts b/src/main/git/worktree-operation-options.ts index 6f956c6c422..4bf3d9e9451 100644 --- a/src/main/git/worktree-operation-options.ts +++ b/src/main/git/worktree-operation-options.ts @@ -4,6 +4,7 @@ import type { } from '../../shared/worktree/base-ref-drift-types' import { readGitCommandFailureText } from '../../shared/git-command-failure-text' import type { RemoveWorktreeResult } from '../../shared/worktree/create-types' +import type { GitAdmissionTier } from '../../shared/rpc-contract/git-admission-tier-params' import type { GitWorktreeInfo } from '../../shared/worktree/types' export type AddWorktreeResult = { @@ -20,6 +21,7 @@ export type GitWorktreeExecOptions = { signal?: AbortSignal timeout?: number includeCreatePreparations?: boolean + admissionTier?: GitAdmissionTier } export type WorktreeRemovalPreflightOptions = GitWorktreeExecOptions & { @@ -78,15 +80,24 @@ export function resolveWorktreeAddTimeoutMs(env: NodeJS.ProcessEnv = process.env return resolved } +export type GitExecOptionsForWorktree = { + cwd: string + wslDistro?: string + signal?: AbortSignal + timeout?: number + admissionTier?: GitAdmissionTier +} + export function gitExecOptions( cwd: string, options: GitWorktreeExecOptions = {} -): { cwd: string; wslDistro?: string; signal?: AbortSignal; timeout?: number } { +): GitExecOptionsForWorktree { return { cwd, ...(options.wslDistro ? { wslDistro: options.wslDistro } : {}), ...(options.signal ? { signal: options.signal } : {}), - ...(options.timeout ? { timeout: options.timeout } : {}) + ...(options.timeout ? { timeout: options.timeout } : {}), + ...(options.admissionTier ? { admissionTier: options.admissionTier } : {}) } } diff --git a/src/main/git/worktree-path-comparison.ts b/src/main/git/worktree-path-comparison.ts index 96d423c3caf..2bc65098c3f 100644 --- a/src/main/git/worktree-path-comparison.ts +++ b/src/main/git/worktree-path-comparison.ts @@ -1,19 +1,68 @@ import { posix, win32 } from 'node:path' +import { foldWslUncPathCaseInsensitiveParts } from '../../shared/wsl-paths' import type { GitWorktreeExecOptions } from './worktree-operation-options' import { translateWslOutputPaths } from './runner' -/** Normalize a worktree path for cross-platform comparison/keying: resolved, and case-folded on Windows syntax. */ +/** + * Normalize a worktree path for cross-platform comparison/keying: resolved, and case-folded on + * Windows syntax. + * + * Why the path's own syntax outranks `platform`: whose filesystem a path names is a property of the + * path, not of the desktop reading it, and folding a case-sensitive filesystem merges two real + * checkouts into one row — enough for `removeWorktree` to pick the twin and delete its branch. + * + * Two syntaxes name a case-sensitive filesystem. A POSIX-absolute path is one. The other is the WSL + * UNC alias, which is the shape that actually reaches removal: `listWorktreesStrict` runs every + * listed path through `translateWorktreePath`, so git-in-the-distro's `/home/alice/Feature` arrives + * as `\\wsl.localhost\Ubuntu\home\alice\Feature` and a plain `toLowerCase` folded the ext4 tail. + * `foldWslUncPathCaseInsensitiveParts` already draws that line — Windows folds the share, the distro + * and a drvfs `/mnt/` tail, and nothing else — and `git-fetch-head-lock` already relies on + * it. `isSameCommonDirPath` and `ipc/worktree-path-comparison` carry local copies of the POSIX half; + * this is both halves at the source. + */ export function canonicalWorktreePath(pathValue: string, platform = process.platform): string { + if (looksLikePosixAbsolutePath(pathValue)) { + return posix.normalize(posix.resolve(pathValue)) + } + const wslKey = wslUncComparisonKey(pathValue) + if (wslKey) { + return wslKey + } return platform === 'win32' || looksLikeWindowsPath(pathValue) ? win32.normalize(win32.resolve(pathValue)).toLowerCase() : posix.normalize(posix.resolve(pathValue)) } +/** + * The comparison key for a WSL UNC path, or null when it is not one. + * + * Normalized through `win32` first so `..`/`.` segments and slash style collapse, then folded only + * where Windows really folds. The fold is unconditional on platform: a `\\wsl.localhost\...` string + * names the same distro filesystem whichever desktop is reading it. + */ +function wslUncComparisonKey(pathValue: string): string | null { + const folded = foldWslUncPathCaseInsensitiveParts(pathValue) + if (!folded) { + return null + } + return foldWslUncPathCaseInsensitiveParts(win32.normalize(pathValue)) ?? folded +} + export function areWorktreePathsEqual( leftPath: string, rightPath: string, platform = process.platform ): boolean { + const leftIsPosix = looksLikePosixAbsolutePath(leftPath) + if (leftIsPosix || looksLikePosixAbsolutePath(rightPath)) { + // Why not fall through: `win32.resolve` gives a POSIX path a drive root, manufacturing an + // equality with a Windows path that names a different filesystem. + return ( + leftIsPosix && + looksLikePosixAbsolutePath(rightPath) && + canonicalWorktreePath(leftPath, platform) === canonicalWorktreePath(rightPath, platform) + ) + } if (platform === 'win32' || looksLikeWindowsPath(leftPath) || looksLikeWindowsPath(rightPath)) { return canonicalWorktreePath(leftPath, 'win32') === canonicalWorktreePath(rightPath, 'win32') } @@ -24,6 +73,11 @@ function looksLikeWindowsPath(pathValue: string): boolean { return /^[A-Za-z]:[\\/]/.test(pathValue) || pathValue.startsWith('\\\\') } +// One leading slash only: `//server/share` and WSL UNC aliases are Windows roots, not POSIX paths. +function looksLikePosixAbsolutePath(pathValue: string): boolean { + return pathValue.startsWith('/') && !pathValue.startsWith('//') +} + export function resolveRevParsePath(repoPath: string, value: string): string { if (posix.isAbsolute(value) || win32.isAbsolute(value)) { return value diff --git a/src/main/git/worktree-posix-path-case-sensitivity.test.ts b/src/main/git/worktree-posix-path-case-sensitivity.test.ts new file mode 100644 index 00000000000..7e6204a955e --- /dev/null +++ b/src/main/git/worktree-posix-path-case-sensitivity.test.ts @@ -0,0 +1,193 @@ +/** + * A case-sensitive filesystem stays case-sensitive whichever desktop is reading it. + * `git/worktree-path-comparison` decided case-folding from `process.platform`, so on Windows both + * spellings of a WSL checkout — the Linux one and the `\\wsl.localhost\...` alias the listing + * actually produces — folded, and two distinct checkouts read as one row. + * + * The removal suite mocks `translateWslOutputPaths` to identity. That mock is what hid this: in + * production `listWorktreesStrict` always runs the listing through it, so the paths that reach the + * comparison are UNC, never Linux. The end-to-end case below therefore drives the real translator. + */ +import type * as FsPromises from 'node:fs/promises' +import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' +import type * as WslPathTranslation from './command-runner/wsl-path-translation' + +const { + gitExecFileAsyncMock, + gitExecFileSyncMock, + statMock, + readFileMock, + resolveGitDirMock, + moveWorktreeDirectoryToTrashMock, + restoreWorktreeDirectoryFromTrashMock, + scheduleWorktreeTrashDeletionMock +} = vi.hoisted(() => ({ + gitExecFileAsyncMock: vi.fn(), + gitExecFileSyncMock: vi.fn(), + statMock: vi.fn(), + readFileMock: vi.fn(), + resolveGitDirMock: vi.fn(), + moveWorktreeDirectoryToTrashMock: vi.fn(), + restoreWorktreeDirectoryFromTrashMock: vi.fn(), + scheduleWorktreeTrashDeletionMock: vi.fn() +})) + +vi.mock('../worktree-trash', () => ({ + moveWorktreeDirectoryToTrash: moveWorktreeDirectoryToTrashMock, + restoreWorktreeDirectoryFromTrash: restoreWorktreeDirectoryFromTrashMock, + scheduleWorktreeTrashDeletion: scheduleWorktreeTrashDeletionMock +})) + +// Why the real translator: an identity mock removes the Linux -> UNC rewrite that production +// always applies, which is the only reason the Linux spelling would ever reach the comparison. +vi.mock('./runner', async () => { + const translation = await vi.importActual( + './command-runner/wsl-path-translation' + ) + return { + gitExecFileAsync: gitExecFileAsyncMock, + gitExecFileSync: gitExecFileSyncMock, + translateWslOutputPaths: translation.translateWslOutputPaths + } +}) + +vi.mock('./status', () => ({ + resolveGitDir: resolveGitDirMock, + runWithGitReadCacheInvalidation: (run: () => Promise) => run() +})) + +vi.mock('fs/promises', async () => { + const actual = await vi.importActual('fs/promises') + return { ...actual, stat: statMock, readFile: readFileMock } +}) + +import { + createGitCallReader, + createGitCommandMocker, + resetWorktreeRemovalState +} from './remove-worktree-test-harness' +import { areWorktreePathsEqual, canonicalWorktreePath } from './worktree-path-comparison' +import { removeWorktree } from './worktree' + +const mockGitCommands = createGitCommandMocker(gitExecFileAsyncMock) +const getGitCalls = createGitCallReader(gitExecFileAsyncMock) + +const UNC = '\\\\wsl.localhost\\Ubuntu\\home\\alice\\ws' + +describe('worktree path comparison across path syntaxes', () => { + it('keeps two WSL UNC worktrees that differ only in case distinct', () => { + expect(areWorktreePathsEqual(`${UNC}\\Feature`, `${UNC}\\feature`, 'win32')).toBe(false) + expect(canonicalWorktreePath(`${UNC}\\Feature`, 'win32')).not.toBe( + canonicalWorktreePath(`${UNC}\\feature`, 'win32') + ) + }) + + it('keeps two POSIX worktrees that differ only in case distinct on a Windows desktop', () => { + expect(areWorktreePathsEqual('/home/alice/ws/Feature', '/home/alice/ws/feature', 'win32')).toBe( + false + ) + }) + + it('still folds the share alias, the distro name and the slash style, which Windows folds', () => { + expect( + areWorktreePathsEqual( + '\\\\wsl.localhost\\Ubuntu\\home\\alice\\wt', + '//WSL$/ubuntu/home/alice/wt', + 'win32' + ) + ).toBe(true) + }) + + it('still folds a drvfs tail, which really is a Windows volume', () => { + expect( + areWorktreePathsEqual( + '\\\\wsl$\\Ubuntu\\mnt\\C\\Users\\Jin', + '\\\\wsl.localhost\\Ubuntu\\mnt\\c\\users\\jin', + 'win32' + ) + ).toBe(true) + }) + + it('does not fold a distro directory that merely looks like the drvfs mount', () => { + expect( + areWorktreePathsEqual( + '\\\\wsl$\\Ubuntu\\MNT\\c\\Repo', + '\\\\wsl$\\Ubuntu\\MNT\\c\\repo', + 'win32' + ) + ).toBe(false) + }) + + it('collapses dot segments in both case-sensitive syntaxes', () => { + expect(areWorktreePathsEqual(`${UNC}\\.\\feature`, `${UNC}\\x\\..\\feature`, 'win32')).toBe( + true + ) + expect( + areWorktreePathsEqual('/home/alice/ws/./feature', '/home/alice/ws/x/../feature', 'win32') + ).toBe(true) + }) + + it('still folds Windows drive paths by case and slash style', () => { + expect(areWorktreePathsEqual('C:/Users/Bob/wt', 'c:\\Users\\bob\\wt', 'win32')).toBe(true) + expect(areWorktreePathsEqual('C:/Users/Bob/wt', 'c:\\Users\\bob\\wt', 'darwin')).toBe(true) + }) + + it('never equates paths written in different syntaxes', () => { + expect(areWorktreePathsEqual('/home/alice/wt', `${UNC}\\..\\wt`, 'win32')).toBe(false) + expect(areWorktreePathsEqual('/Users/bob/wt', 'C:\\Users\\bob\\wt', 'win32')).toBe(false) + expect(areWorktreePathsEqual(`${UNC}\\wt`, 'C:\\ws\\wt', 'win32')).toBe(false) + }) +}) + +describe('removeWorktree branch selection on a Windows desktop', () => { + const originalPlatform = Object.getOwnPropertyDescriptor(process, 'platform')! + + beforeEach(() => { + Object.defineProperty(process, 'platform', { configurable: true, value: 'win32' }) + gitExecFileAsyncMock.mockReset() + gitExecFileSyncMock.mockReset() + statMock.mockReset() + statMock.mockRejectedValue(Object.assign(new Error('ENOENT'), { code: 'ENOENT' })) + readFileMock.mockReset() + readFileMock.mockRejectedValue(Object.assign(new Error('ENOENT'), { code: 'ENOENT' })) + resolveGitDirMock.mockReset() + resetWorktreeRemovalState({ + moveWorktreeDirectoryToTrashMock, + restoreWorktreeDirectoryFromTrashMock, + scheduleWorktreeTrashDeletionMock + }) + }) + + afterEach(() => { + Object.defineProperty(process, 'platform', originalPlatform) + }) + + it('deletes the branch of the requested WSL worktree, not its case twin', async () => { + // Git-in-the-distro answers in Linux paths; the real translator rewrites them to UNC on the way + // out, so this is the exact listing the comparison sees on a Windows desktop. + const listing = `worktree /home/alice/repo +HEAD aaa111 +branch refs/heads/main + +worktree /home/alice/ws/Feature +HEAD bbb222 +branch refs/heads/Feature + +worktree /home/alice/ws/feature +HEAD ccc333 +branch refs/heads/feature +` + mockGitCommands({ + 'git worktree list --porcelain -z': { stdout: listing }, + 'git worktree list --porcelain': { stdout: listing } + }) + + await removeWorktree('\\\\wsl.localhost\\Ubuntu\\home\\alice\\repo', `${UNC}\\feature`, true, { + wslDistro: 'Ubuntu' + }) + + const calls = getGitCalls() + expect(calls).toContain('git branch -d -- feature') + expect(calls).not.toContain('git branch -d -- Feature') + }) +}) diff --git a/src/main/git/worktree-scan-cache-sharing.test.ts b/src/main/git/worktree-scan-cache-sharing.test.ts index 2a687420cd8..c42bec7e730 100644 --- a/src/main/git/worktree-scan-cache-sharing.test.ts +++ b/src/main/git/worktree-scan-cache-sharing.test.ts @@ -1,3 +1,4 @@ +import { worktreeCreateGit } from './worktree-create-git-executor' // Worktree scan sharing: in-flight coalescing and mutation-generation retirement. import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' @@ -120,6 +121,28 @@ describe('listWorktrees in-flight sharing', () => { expect(gitExecFileAsyncMock).toHaveBeenCalledTimes(1) }) + // The create's listing is promoted to `interactive` precisely to skip the queue a status scan + // is already sitting in; joining that scan would hand it the wait back. + it('does not let an interactive listing join a scan queued at another tier', async () => { + const resolvers: ((value: { stdout: string }) => void)[] = [] + gitExecFileAsyncMock.mockImplementation( + () => + new Promise((resolve) => { + resolvers.push(resolve) + }) + ) + + const statusScan = listWorktreeGraph('/repo', { admissionTier: 'status' }) + const interactiveScan = worktreeCreateGit.run(() => listWorktreeGraph('/repo')) + expect(resolvers).toHaveLength(2) + + for (const resolve of resolvers) { + resolve({ stdout: 'worktree /repo\nHEAD abc123\nbranch refs/heads/main\n' }) + } + await Promise.all([statusScan, interactiveScan]) + expect(gitExecFileAsyncMock).toHaveBeenCalledTimes(2) + }) + // Order must not matter: whichever runs first owns the listing and the other joins it. it('runs one git listing when the annotated scan starts first', async () => { const resolvers: ((value: { stdout: string }) => void)[] = [] diff --git a/src/main/git/worktree-scan-cache.ts b/src/main/git/worktree-scan-cache.ts index a35f0a4f275..8027eafeddb 100644 --- a/src/main/git/worktree-scan-cache.ts +++ b/src/main/git/worktree-scan-cache.ts @@ -7,6 +7,7 @@ import { } from './worktree-listing' import type { GitWorktreeExecOptions } from './worktree-operation-options' import { WORKTREE_LIST_TIMEOUT_MS } from './worktree-operation-options' +import { resolveGitAdmissionTier } from './command-runner/git-operation-executor' // Why: share concurrent `git worktree list` scans, which are expensive on Windows. const inFlightWorktreeScans = new Map>() @@ -76,7 +77,8 @@ function shareWorktreeScan( const timeout = options.timeout ?? WORKTREE_LIST_TIMEOUT_MS // Why: callers with different deadlines cannot safely share which timeout wins the scan. // Why `kind`: a strict joiner must never receive a softened `[]` from a lenient scan. - const key = `${repoPath}\0${options.wslDistro ?? ''}\0${timeout}\0${options.includeCreatePreparations === true}\0${generation}\0${kind}` + // Why the tier: an interactive listing joining a queued status scan inherits its wait. + const key = `${repoPath}\0${options.wslDistro ?? ''}\0${timeout}\0${options.includeCreatePreparations === true}\0${generation}\0${kind}\0${resolveGitAdmissionTier(options.admissionTier)}` const inFlight = inFlightWorktreeScans.get(key) if (inFlight) { return inFlight diff --git a/src/main/github/client-stack-merge-guard.test.ts b/src/main/github/client-stack-merge-guard.test.ts index 57cd5df8bfd..c47f786d2ed 100644 --- a/src/main/github/client-stack-merge-guard.test.ts +++ b/src/main/github/client-stack-merge-guard.test.ts @@ -592,9 +592,9 @@ describe('GitHub GraphQL rate-limit guard', () => { }) it.each([ - { stackShape: 'omits stack', stackField: {} }, - { stackShape: 'sets stack to null', stackField: { stack: null } } - ])('keeps legacy merge when an ordinary GitHub response $stackShape', async (scenario) => { + { stackVariant: 'omits stack', stackField: {} }, + { stackVariant: 'sets stack to null', stackField: { stack: null } } + ])('keeps legacy merge when an ordinary GitHub response $stackVariant', async (scenario) => { ghExecFileAsyncMock .mockResolvedValueOnce({ stdout: JSON.stringify({ diff --git a/src/main/github/default-branch-stale-pr.test.ts b/src/main/github/default-branch-stale-pr.test.ts index 4361c9759e7..276d63e38ac 100644 --- a/src/main/github/default-branch-stale-pr.test.ts +++ b/src/main/github/default-branch-stale-pr.test.ts @@ -164,7 +164,7 @@ function primeGitExecForDefaultBranch({ }) } -type RestPRShape = { +type RestPROverrides = { number?: number state?: string merged_at?: string | null @@ -178,7 +178,7 @@ function restPR({ merged_at = null, head_ref = 'master', head_sha = 'stale-master-oid' -}: RestPRShape = {}): Record { +}: RestPROverrides = {}): Record { return { number, title: 'Historical PR', diff --git a/src/main/github/project-view/internals.ts b/src/main/github/project-view/internals.ts index 1c828909669..3bea5b5584d 100644 --- a/src/main/github/project-view/internals.ts +++ b/src/main/github/project-view/internals.ts @@ -17,7 +17,7 @@ import { classifyProjectError, driftError, rateLimitedError, - type GhGraphqlErrorShape + type GhGraphqlError } from './project-error-classification' export { @@ -172,7 +172,7 @@ export async function runGraphql( ...(exec?.host ? { host: exec.host } : {}) }) try { - const parsed = JSON.parse(stdout) as { data?: T; errors?: GhGraphqlErrorShape[] } + const parsed: { data?: T; errors?: GhGraphqlError[] } = JSON.parse(stdout) if (parsed.errors && parsed.errors.length > 0) { return { ok: false, diff --git a/src/main/github/project-view/project-error-classification.ts b/src/main/github/project-view/project-error-classification.ts index 6b3d9a3fe09..a9d12fa44f1 100644 --- a/src/main/github/project-view/project-error-classification.ts +++ b/src/main/github/project-view/project-error-classification.ts @@ -4,14 +4,14 @@ import type { GitHubProjectViewError } from '../../../shared/github/project-result-types' import { githubProjectHost } from '../../../shared/github/project-identity' -export type GhGraphqlErrorShape = { +export type GhGraphqlError = { type?: string message?: string path?: (string | number)[] extensions?: { code?: string } } -export function extractGraphqlErrors(stderr: string, stdout: string): GhGraphqlErrorShape[] { +export function extractGraphqlErrors(stderr: string, stdout: string): GhGraphqlError[] { // `gh api graphql` prints the response JSON to stdout even on GraphQL // errors, and the stderr carries a summary. Try stdout first; if parsing // fails, fall back to stderr. @@ -21,7 +21,7 @@ export function extractGraphqlErrors(stderr: string, stdout: string): GhGraphqlE continue } try { - const parsed = JSON.parse(src) as { errors?: GhGraphqlErrorShape[] } + const parsed: { errors?: GhGraphqlError[] } = JSON.parse(src) if (parsed.errors && parsed.errors.length > 0) { return parsed.errors } @@ -32,7 +32,7 @@ export function extractGraphqlErrors(stderr: string, stdout: string): GhGraphqlE return [] } -export function errorsIndicateParentField(errors: GhGraphqlErrorShape[], stderr: string): boolean { +export function errorsIndicateParentField(errors: GhGraphqlError[], stderr: string): boolean { const lower = stderr.toLowerCase() // Preview-header shape: gh returns a 4xx with "preview" in the message. if (lower.includes('preview') && lower.includes('parent')) { diff --git a/src/main/github/project-view/project-view-item-page.ts b/src/main/github/project-view/project-view-item-page.ts index ca135fded51..e0ea53d059b 100644 --- a/src/main/github/project-view/project-view-item-page.ts +++ b/src/main/github/project-view/project-view-item-page.ts @@ -14,7 +14,7 @@ import { classifyProjectError, driftError, rateLimitedError, - type GhGraphqlErrorShape + type GhGraphqlError } from './project-error-classification' import { ownerQueryRoot } from './project-view-config' import type { RawItem } from './project-view-item-normalization' @@ -47,7 +47,7 @@ export async function fetchItemsPageWithRaw(args: { | { ok: false error: GitHubProjectViewError - rawErrors: GhGraphqlErrorShape[] + rawErrors: GhGraphqlError[] stderr: string } > { @@ -117,7 +117,7 @@ export async function fetchItemsPageWithRaw(args: { stdout = extracted.stdout execFailed = true } - let parsed: { data?: Record; errors?: GhGraphqlErrorShape[] } = {} + let parsed: { data?: Record; errors?: GhGraphqlError[] } = {} try { parsed = JSON.parse(stdout) } catch { diff --git a/src/main/github/work-item-search-test-harness.ts b/src/main/github/work-item-search-test-harness.ts index d3783f0afe1..d36732e9eb1 100644 --- a/src/main/github/work-item-search-test-harness.ts +++ b/src/main/github/work-item-search-test-harness.ts @@ -1,3 +1,6 @@ +/* oxlint-disable anti-slop/no-module-mocking -- Vitest support module for the 6 work-item-search specs, not shipped code, and it falls outside + the *.test / *.spec / tests glob set. One consumer lives in tests/e2e, where the relative mock ids ('../git/...') resolve to + different modules, so moving these calls into the specs would silently stop mocking there. */ import { afterEach, beforeEach, vi } from 'vitest' import type { Mock } from 'vitest' import { randomUUID } from 'node:crypto' diff --git a/src/main/gitlab/client-mr-auth-rate-limit.test.ts b/src/main/gitlab/client-mr-auth-rate-limit.test.ts index abf928a7c9f..6d76bea52a5 100644 --- a/src/main/gitlab/client-mr-auth-rate-limit.test.ts +++ b/src/main/gitlab/client-mr-auth-rate-limit.test.ts @@ -95,7 +95,7 @@ describe('gitlab client — MR operations', () => { if (this[0] === 'gitlab.com' && this.every((value) => typeof value === 'string')) { knownHostCacheScans += 1 } - return Reflect.apply(originalMap, this, [callback, thisArg]) + return originalMap.call(this, callback, thisArg) }) try { diff --git a/src/main/hooks-archive-exit-observation.test.ts b/src/main/hooks-archive-exit-observation.test.ts index f924a5291cf..7b046e844c8 100644 --- a/src/main/hooks-archive-exit-observation.test.ts +++ b/src/main/hooks-archive-exit-observation.test.ts @@ -118,6 +118,11 @@ describe('archive hook exit observation', () => { ).resolves.toMatchObject({ success: true }) }) + it('names a signalled exit as one rather than reporting "exit code null"', async () => { + const result = await runArchiveWith({ code: null, signal: 'SIGKILL' }) + expect(result.output).toContain('terminated without reporting an exit code') + }) + it.each([ ['was killed by a signal', { code: null, signal: 'SIGKILL' as const }], // A real spawn failure carries a STRING code; the guard under test is `typeof code === diff --git a/src/main/hooks.ts b/src/main/hooks.ts index 8ea68c8f5fa..00cf8ea7408 100644 --- a/src/main/hooks.ts +++ b/src/main/hooks.ts @@ -44,7 +44,12 @@ function classifyHookProcessResult( return { success: false, output: `${streams}\n${message}`.trim() } } if (result.code !== 0) { - const message = `Command failed with exit code ${result.code}.` + // `null` means signalled: there is no exit code, and saying "exit code null" reads as a + // reporting glitch rather than the `unverifiable` verdict the gate is about to give it. + const message = + result.code === null + ? 'Command was terminated without reporting an exit code.' + : `Command failed with exit code ${result.code}.` console.error(`[hooks] ${context.hookName} hook failed in ${context.cwd}:`, message) return { success: false, diff --git a/src/main/ipc/browser-preview-tool-authorization.test.ts b/src/main/ipc/browser-preview-tool-authorization.test.ts index 0b09f2e0ead..58d72ded647 100644 --- a/src/main/ipc/browser-preview-tool-authorization.test.ts +++ b/src/main/ipc/browser-preview-tool-authorization.test.ts @@ -179,6 +179,12 @@ function grantForNewDocPage(): { id: string; browserPageId: string } { return { id: grant.id, browserPageId } } +/** The fake WebContents a preview's policy installs onto; tools are matched against its identity. */ +type PreviewGuestContents = { + isDestroyed: () => boolean + getURL: () => string +} + /** A preview guest already showing its document, which is the only state a tool can act in. */ function renderPreviewForGrant( grant: { id: string; browserPageId: string }, @@ -186,7 +192,7 @@ function renderPreviewForGrant( ): { grantId: string browserPageId: string - contents: object + contents: PreviewGuestContents markContentsDestroyed: () => void } { const browserPageId = grant.browserPageId @@ -250,7 +256,7 @@ function toolArgs(channel: string, browserPageId: string): Record ({ } })) -import { registerBrowserHandlers, setAgentBrowserBridgeRef } from './browser' +import { registerBrowserHandlers, setAgentBrowserBridgeRef, type BrowserGuestArgs } from './browser' import { waitForAnyTabRegistration, waitForTabRegistration, @@ -136,9 +136,10 @@ describe('registerBrowserHandlers', () => { registerGuestMock.mockReturnValue(false) const settled = Promise.allSettled([waitForTabRegistration('page-1', 1000)]) registerBrowserHandlers() + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: ipcMain.handle's mock records handlers as a loose tuple; this is the signature registerBrowserHandlers registered for this channel. const registerHandler = handleMock.mock.calls.find( ([channel]) => channel === 'browser:registerGuest' - )?.[1] as (event: { sender: Electron.WebContents }, args: object) => boolean + )?.[1] as (event: { sender: Electron.WebContents }, args: BrowserGuestArgs) => boolean const result = registerHandler( { diff --git a/src/main/ipc/browser.ts b/src/main/ipc/browser.ts index d9aa0409c08..d9841cf3bd1 100644 --- a/src/main/ipc/browser.ts +++ b/src/main/ipc/browser.ts @@ -24,7 +24,7 @@ import type { BrowserWebAuthnAccountResponse } from '../../shared/browser-webaut let agentBrowserBridgeRef: AgentBrowserBridge | null = null -type BrowserGuestRegistrationArgs = { +export type BrowserGuestArgs = { browserPageId: string workspaceId: string worktreeId: string @@ -48,7 +48,7 @@ export function registerBrowserHandlers(): void { const registerGuest = ( event: Electron.IpcMainInvokeEvent, - args: BrowserGuestRegistrationArgs, + args: BrowserGuestArgs, repairPolicies: boolean ): boolean => { if (!isTrustedBrowserRenderer(event.sender)) { @@ -96,7 +96,7 @@ export function registerBrowserHandlers(): void { return true } - ipcMain.handle('browser:registerGuest', (event, args: BrowserGuestRegistrationArgs) => + ipcMain.handle('browser:registerGuest', (event, args: BrowserGuestArgs) => registerGuest(event, args, false) ) @@ -136,7 +136,7 @@ export function registerBrowserHandlers(): void { } ) - ipcMain.handle('browser:repairGuestRegistration', (event, args: BrowserGuestRegistrationArgs) => + ipcMain.handle('browser:repairGuestRegistration', (event, args: BrowserGuestArgs) => registerGuest(event, args, true) ) diff --git a/src/main/ipc/created-worktree-reconciliation.test.ts b/src/main/ipc/created-worktree-reconciliation.test.ts index 22912394d84..b62088ef105 100644 --- a/src/main/ipc/created-worktree-reconciliation.test.ts +++ b/src/main/ipc/created-worktree-reconciliation.test.ts @@ -139,14 +139,29 @@ describe('resolveCreatedWorktree', () => { ) }) + it('does not mistake a falsy rejection for a successful listing', async () => { + vi.mocked(listWorktreesSharedStrict).mockRejectedValue(undefined) + + await expect(resolveCreatedWorktree('/repo', '/workspaces/feature', 'feature')).rejects.toThrow( + 'undefined' + ) + }) + it('keeps the listing failure when the direct read itself throws', async () => { const failure = new Error('fatal: not a git repository') + const recoveryFailure = new Error('repo common dir unverifiable: deadline exceeded') + const warn = vi.spyOn(console, 'warn').mockImplementation(() => undefined) vi.mocked(listWorktreesSharedStrict).mockRejectedValue(failure) - vi.mocked(describeCreatedWorktree).mockRejectedValue(new Error('rev-parse exploded')) + vi.mocked(describeCreatedWorktree).mockRejectedValue(recoveryFailure) await expect(resolveCreatedWorktree('/repo', '/workspaces/feature', 'feature')).rejects.toBe( failure ) + expect(warn).toHaveBeenCalledWith('[worktrees:create] created-worktree recovery also failed', { + err: recoveryFailure, + worktreePath: '/workspaces/feature' + }) + warn.mockRestore() }) it('names the path and branch when the listing succeeded without the row', async () => { @@ -159,11 +174,16 @@ describe('resolveCreatedWorktree', () => { it("adds the direct read's failure when the listing merely omitted the row", async () => { vi.mocked(listWorktreesSharedStrict).mockResolvedValue([MAIN]) - vi.mocked(describeCreatedWorktree).mockRejectedValue(new Error('rev-parse exploded')) + const recoveryFailure = new Error('rev-parse exploded') + vi.mocked(describeCreatedWorktree).mockRejectedValue(recoveryFailure) - await expect(resolveCreatedWorktree('/repo', '/workspaces/feature', 'feature')).rejects.toThrow( - 'Worktree created but not found in listing: /workspaces/feature (branch feature): rev-parse exploded' - ) + await expect( + resolveCreatedWorktree('/repo', '/workspaces/feature', 'feature') + ).rejects.toMatchObject({ + message: + 'Worktree created but not found in listing: /workspaces/feature (branch feature): rev-parse exploded', + cause: recoveryFailure + }) }) it('charges the recovery what the listing left of the budget, not a fresh one', async () => { diff --git a/src/main/ipc/created-worktree-reconciliation.ts b/src/main/ipc/created-worktree-reconciliation.ts index 0f9b5cdbdb1..ac5b79954c2 100644 --- a/src/main/ipc/created-worktree-reconciliation.ts +++ b/src/main/ipc/created-worktree-reconciliation.ts @@ -53,7 +53,7 @@ export async function resolveCreatedWorktree( options?: GitWorktreeExecOptions ): Promise { const startedAt = Date.now() - let listingError: unknown + let listingError: Error | undefined try { const worktrees = options ? await listWorktreesSharedStrict(repoPath, options) @@ -63,11 +63,9 @@ export async function resolveCreatedWorktree( return { created, worktrees, listingComplete: true } } } catch (err) { - listingError = err + listingError = err instanceof Error ? err : new Error(String(err)) } - let described: GitWorktreeInfo | undefined - let describeError: unknown try { // One budget for verifying the create, not one per attempt: a hung Git already spent the // listing's deadline, and charging the recovery a fresh one doubles the wait before the error. @@ -75,26 +73,31 @@ export async function resolveCreatedWorktree( WORKTREE_LIST_TIMEOUT_MS - (Date.now() - startedAt), MIN_CREATED_WORKTREE_RECOVERY_MS ) - described = await describeCreatedWorktree(repoPath, worktreePath, branchName, { + const described = await describeCreatedWorktree(repoPath, worktreePath, branchName, { ...options, timeout: options?.timeout ?? remainingMs }) + if (described) { + return { created: described, worktrees: [], listingComplete: false } + } } catch (err) { - // Why keep, not rethrow: the recovery must not replace the listing's own, more informative failure. - describeError = err - } - if (described) { - return { created: described, worktrees: [], listingComplete: false } + if (listingError) { + // The listing's failure stays the thrown one, but the recovery's reason -- often + // `repo common dir unverifiable: ...` -- would otherwise vanish from the record entirely. + console.warn('[worktrees:create] created-worktree recovery also failed', { + err, + worktreePath + }) + throw listingError + } + // The listing simply omitted the row, so the direct read holds the only actionable failure. + const notFound = createdWorktreeNotFoundError(worktreePath, branchName) + throw new Error(`${notFound.message}: ${err instanceof Error ? err.message : String(err)}`, { + cause: err + }) } if (listingError) { throw listingError } - const notFound = createdWorktreeNotFoundError(worktreePath, branchName) - if (describeError) { - // The listing simply omitted the row, so the direct read holds the only actionable failure. - throw new Error( - `${notFound.message}: ${describeError instanceof Error ? describeError.message : String(describeError)}` - ) - } - throw notFound + throw createdWorktreeNotFoundError(worktreePath, branchName) } diff --git a/src/main/ipc/filesystem-test-harness.ts b/src/main/ipc/filesystem-test-harness.ts index 47efa88d6cd..a3a06b95e85 100644 --- a/src/main/ipc/filesystem-test-harness.ts +++ b/src/main/ipc/filesystem-test-harness.ts @@ -207,12 +207,16 @@ export async function withPlatform( } } -function collectMocks(moduleMock: object): IpcMock[] { +function isMockContainer(value: unknown): value is Record { + return typeof value === 'object' && value !== null +} + +function collectMocks(moduleMock: Record): IpcMock[] { return Object.values(moduleMock).flatMap((value) => { if (vi.isMockFunction(value)) { return [value as IpcMock] } - return value && typeof value === 'object' ? collectMocks(value) : [] + return isMockContainer(value) ? collectMocks(value) : [] }) } diff --git a/src/main/ipc/filesystem/git-remote/branch-mutation-handlers.ts b/src/main/ipc/filesystem/git-remote/branch-mutation-handlers.ts index 2c3273b8c00..1ad9b926e21 100644 --- a/src/main/ipc/filesystem/git-remote/branch-mutation-handlers.ts +++ b/src/main/ipc/filesystem/git-remote/branch-mutation-handlers.ts @@ -8,7 +8,7 @@ import { } from '../../../providers/ssh-git-dispatch' import { resolveRegisteredWorktreePath } from '../../registered-worktree-roots-cache' import { getLocalGitOptionsForRegisteredWorktree } from '../../local-worktree-runtime-options' -import { assertGitPushTargetShape } from '../../../../shared/git-push-target-validation' +import { assertValidGitPushTarget } from '../../../../shared/git-push-target-validation' import { materializeWorktreePushTargetRemote, materializeWorktreePushTargetRemoteSsh @@ -35,7 +35,7 @@ export function registerGitRemoteBranchMutationHandlers(context: FilesystemHandl const publish = args.publish === true if (args.connectionId) { if (args.pushTarget) { - assertGitPushTargetShape(args.pushTarget) + assertValidGitPushTarget(args.pushTarget) } const provider = getSshGitProvider(args.connectionId) if (!provider) { @@ -99,7 +99,7 @@ export function registerGitRemoteBranchMutationHandlers(context: FilesystemHandl ): Promise => { if (args.connectionId) { if (args.pushTarget) { - assertGitPushTargetShape(args.pushTarget) + assertValidGitPushTarget(args.pushTarget) } const provider = getSshGitProvider(args.connectionId) if (!provider) { @@ -159,7 +159,7 @@ export function registerGitRemoteBranchMutationHandlers(context: FilesystemHandl ): Promise => { if (args.connectionId) { if (args.pushTarget) { - assertGitPushTargetShape(args.pushTarget) + assertValidGitPushTarget(args.pushTarget) } const provider = getSshGitProvider(args.connectionId) if (!provider) { diff --git a/src/main/ipc/filesystem/git-remote/sync-handlers.ts b/src/main/ipc/filesystem/git-remote/sync-handlers.ts index a924c393a04..b487d54f39e 100644 --- a/src/main/ipc/filesystem/git-remote/sync-handlers.ts +++ b/src/main/ipc/filesystem/git-remote/sync-handlers.ts @@ -15,7 +15,7 @@ import { } from '../../../providers/ssh-git-dispatch' import { resolveRegisteredWorktreePath } from '../../registered-worktree-roots-cache' import { getLocalGitOptionsForRegisteredWorktree } from '../../local-worktree-runtime-options' -import { assertGitPushTargetShape } from '../../../../shared/git-push-target-validation' +import { assertValidGitPushTarget } from '../../../../shared/git-push-target-validation' import { validateGitForkSyncExpectedUpstream } from '../../../../shared/git-fork-sync' import { materializeWorktreePushTargetRemote, @@ -34,7 +34,7 @@ export function registerGitRemoteSyncHandlers(context: FilesystemHandlerContext) ): Promise => { if (args.connectionId) { if (args.pushTarget) { - assertGitPushTargetShape(args.pushTarget) + assertValidGitPushTarget(args.pushTarget) } const provider = getSshGitProvider(args.connectionId) if (!provider) { @@ -65,7 +65,7 @@ export function registerGitRemoteSyncHandlers(context: FilesystemHandlerContext) ): Promise => { if (args.connectionId) { if (args.pushTarget) { - assertGitPushTargetShape(args.pushTarget) + assertValidGitPushTarget(args.pushTarget) } const provider = getSshGitProvider(args.connectionId) if (!provider) { diff --git a/src/main/ipc/readdir-error-diagnostics.test.ts b/src/main/ipc/readdir-error-diagnostics.test.ts index cf599afbdf1..c1c7041a662 100644 --- a/src/main/ipc/readdir-error-diagnostics.test.ts +++ b/src/main/ipc/readdir-error-diagnostics.test.ts @@ -1,24 +1,27 @@ import { describe, expect, it } from 'vitest' -import { buildReadDirErrorBreadcrumb, describeReadDirPathShape } from './readdir-error-diagnostics' +import { buildReadDirErrorBreadcrumb, classifyReadDirPath } from './readdir-error-diagnostics' -describe('describeReadDirPathShape', () => { +describe('classifyReadDirPath', () => { it('classifies a WSL UNC path without leaking it', () => { - const shape = describeReadDirPathShape('\\\\wsl.localhost\\Ubuntu\\home\\u\\repo', undefined) - expect(shape).toEqual({ hasConnectionId: false, isUNC: true, isWsl: true }) + const classification = classifyReadDirPath( + '\\\\wsl.localhost\\Ubuntu\\home\\u\\repo', + undefined + ) + expect(classification).toEqual({ hasConnectionId: false, isUNC: true, isWsl: true }) }) it('classifies the legacy \\\\wsl$ root as WSL', () => { - expect(describeReadDirPathShape('\\\\wsl$\\Ubuntu\\home', undefined).isWsl).toBe(true) + expect(classifyReadDirPath('\\\\wsl$\\Ubuntu\\home', undefined).isWsl).toBe(true) }) it('classifies a plain network UNC share as UNC but not WSL', () => { - const shape = describeReadDirPathShape('\\\\fileserver\\share\\dir', undefined) - expect(shape).toMatchObject({ isUNC: true, isWsl: false }) - expect(shape.driveLetter).toBeUndefined() + const classification = classifyReadDirPath('\\\\fileserver\\share\\dir', undefined) + expect(classification).toMatchObject({ isUNC: true, isWsl: false }) + expect(classification.driveLetter).toBeUndefined() }) it('extracts an uppercased drive letter for mapped drives', () => { - expect(describeReadDirPathShape('z:\\projects\\repo', undefined)).toEqual({ + expect(classifyReadDirPath('z:\\projects\\repo', undefined)).toEqual({ hasConnectionId: false, isUNC: false, isWsl: false, @@ -27,18 +30,18 @@ describe('describeReadDirPathShape', () => { }) it('flags the SSH connection without recording it', () => { - const shape = describeReadDirPathShape('/remote/repo', 'ssh-1') - expect(shape).toEqual({ hasConnectionId: true, isUNC: false, isWsl: false }) + const classification = classifyReadDirPath('/remote/repo', 'ssh-1') + expect(classification).toEqual({ hasConnectionId: true, isUNC: false, isWsl: false }) }) - it('never includes the raw path in the shape', () => { - const shape = describeReadDirPathShape('\\\\wsl.localhost\\Ubuntu\\secret\\path', 'ssh-9') - expect(JSON.stringify(shape)).not.toContain('secret') + it('never includes the raw path in the classification', () => { + const classification = classifyReadDirPath('\\\\wsl.localhost\\Ubuntu\\secret\\path', 'ssh-9') + expect(JSON.stringify(classification)).not.toContain('secret') }) }) describe('buildReadDirErrorBreadcrumb', () => { - it('captures throw site, error code/name, and path shape', () => { + it('captures throw site, error code/name, and path classification', () => { const breadcrumb = buildReadDirErrorBreadcrumb({ dirPath: '\\\\wsl.localhost\\Ubuntu\\home\\u\\repo', connectionId: undefined, diff --git a/src/main/ipc/readdir-error-diagnostics.ts b/src/main/ipc/readdir-error-diagnostics.ts index dd77dda8837..fc7c54c433f 100644 --- a/src/main/ipc/readdir-error-diagnostics.ts +++ b/src/main/ipc/readdir-error-diagnostics.ts @@ -11,7 +11,7 @@ export type ReadDirThrowSite = 'ssh-provider' | 'authorize' | 'readdir' * even though breadcrumbs are path-redacted downstream, never collecting the * raw path is the safer default. */ -export function describeReadDirPathShape( +export function classifyReadDirPath( dirPath: string, connectionId: string | undefined ): CrashReportBreadcrumbData { @@ -52,6 +52,6 @@ export function buildReadDirErrorBreadcrumb(args: { throwSite: args.throwSite, errorName: args.error instanceof Error ? args.error.name : typeof args.error, ...(errorCode(args.error) ? { errorCode: errorCode(args.error)! } : {}), - ...describeReadDirPathShape(args.dirPath, args.connectionId) + ...classifyReadDirPath(args.dirPath, args.connectionId) } } diff --git a/src/main/ipc/repos/repo-creation-git-availability.test.ts b/src/main/ipc/repos/repo-creation-git-availability.test.ts new file mode 100644 index 00000000000..8ffbbdc033e --- /dev/null +++ b/src/main/ipc/repos/repo-creation-git-availability.test.ts @@ -0,0 +1,82 @@ +/** + * `repos:isGitAvailable` gates the create dialog's Git option. Only a spawn that never started may + * answer `false`; everything else rejects so the renderer's existing `unknown` branch is reachable. + */ +import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' + +const { gitExecFileAsyncMock } = vi.hoisted(() => ({ gitExecFileAsyncMock: vi.fn() })) + +vi.mock('electron', () => ({ ipcMain: { handle: vi.fn() } })) +vi.mock('../../git/runner', () => ({ gitExecFileAsync: gitExecFileAsyncMock })) +vi.mock('../../repo-icon-autodetect', () => ({ + detectRepoIconAndUpstream: vi.fn(async () => ({})) +})) +vi.mock('../../worktree-root-preparation', () => ({ + prepareLocalWorktreeRootForRepo: vi.fn(async () => {}) +})) +vi.mock('../registered-worktree-roots-cache', () => ({ + invalidateAuthorizedRootsCache: vi.fn() +})) +vi.mock('./repo-added-telemetry', () => ({ emitRepoAdded: vi.fn() })) +vi.mock('./repos-changed-notification', () => ({ notifyReposChanged: vi.fn() })) +vi.mock('./local-repo-registration', () => ({ addLocalRepoFromPath: vi.fn() })) +vi.mock('./remote-repo-registration', () => ({ addRemoteRepoFromPath: vi.fn() })) +vi.mock('./remote-repo-creation', () => ({ createRemoteRepo: vi.fn() })) + +import { probeLocalGitAvailability } from './repo-creation-handlers' + +describe('repos:isGitAvailable', () => { + beforeEach(() => { + gitExecFileAsyncMock.mockReset() + }) + + afterEach(() => { + vi.restoreAllMocks() + }) + + it('answers true when git reports its version', async () => { + gitExecFileAsyncMock.mockResolvedValue({ stdout: 'git version 2.25.1\n', stderr: '' }) + await expect(probeLocalGitAvailability()).resolves.toBe(true) + expect(gitExecFileAsyncMock).toHaveBeenCalledWith(['--version'], { + cwd: process.cwd(), + timeout: 1500 + }) + }) + + it('answers false only when the spawn itself found no binary', async () => { + gitExecFileAsyncMock.mockRejectedValue( + Object.assign(new Error('spawn git ENOENT'), { code: 'ENOENT', syscall: 'spawn git' }) + ) + await expect(probeLocalGitAvailability()).resolves.toBe(false) + }) + + it('rejects an ENOENT when the working directory disappeared', async () => { + const missingCwd = `${process.cwd()}-missing` + vi.spyOn(process, 'cwd').mockReturnValue(missingCwd) + gitExecFileAsyncMock.mockRejectedValue( + Object.assign(new Error('spawn git ENOENT'), { code: 'ENOENT', syscall: 'spawn git' }) + ) + + await expect(probeLocalGitAvailability()).rejects.toThrow('spawn git ENOENT') + }) + + it('rejects a non-spawn ENOENT rather than reporting no Git', async () => { + gitExecFileAsyncMock.mockRejectedValue( + Object.assign(new Error('open config ENOENT'), { code: 'ENOENT', syscall: 'open' }) + ) + + await expect(probeLocalGitAvailability()).rejects.toThrow('open config ENOENT') + }) + + it('rejects on the timeout rather than reporting no git', async () => { + gitExecFileAsyncMock.mockRejectedValue(new Error('git --version timed out after 1500ms')) + await expect(probeLocalGitAvailability()).rejects.toThrow('timed out') + }) + + it('rejects when git runs and fails', async () => { + gitExecFileAsyncMock.mockRejectedValue( + Object.assign(new Error('fatal: detected dubious ownership'), { code: 128 }) + ) + await expect(probeLocalGitAvailability()).rejects.toThrow('dubious ownership') + }) +}) diff --git a/src/main/ipc/repos/repo-creation-handlers.ts b/src/main/ipc/repos/repo-creation-handlers.ts index 90894894253..57bfcf66c79 100644 --- a/src/main/ipc/repos/repo-creation-handlers.ts +++ b/src/main/ipc/repos/repo-creation-handlers.ts @@ -10,6 +10,7 @@ import { DEFAULT_REPO_BADGE_COLOR, getDefaultWorkspaceDir } from '../../../share import { normalizeRuntimePathForComparison } from '../../../shared/cross-platform-path' import { LOCAL_EXECUTION_HOST_ID } from '../../../shared/execution-host' import { getEffectiveHostSetting } from '../../../shared/host-setting-overrides' +import { probeGitAvailability } from '../../git/git-availability' import { gitExecFileAsync } from '../../git/runner' import { detectRepoIconAndUpstream } from '../../repo-icon-autodetect' import { prepareLocalWorktreeRootForRepo } from '../../worktree-root-preparation' @@ -22,16 +23,12 @@ import { createRemoteRepo } from './remote-repo-creation' const GIT_AVAILABILITY_TIMEOUT_MS = 1500 -async function isGitAvailable(): Promise { - try { - await gitExecFileAsync(['--version'], { - cwd: process.cwd(), - timeout: GIT_AVAILABILITY_TIMEOUT_MS - }) - return true - } catch { - return false - } +// Only ENOENT proves Git absent; rejecting other failures preserves the renderer's unknown state. +export async function probeLocalGitAvailability(): Promise { + return probeGitAvailability(gitExecFileAsync, { + cwd: process.cwd(), + timeout: GIT_AVAILABILITY_TIMEOUT_MS + }) } /** @@ -63,7 +60,7 @@ function getDefaultCreateProjectParent(store: Store): string { } export function registerRepoCreationHandlers(mainWindow: BrowserWindow, store: Store): void { - ipcMain.handle('repos:isGitAvailable', () => isGitAvailable()) + ipcMain.handle('repos:isGitAvailable', () => probeLocalGitAvailability()) ipcMain.handle('repos:getDefaultCreateProjectParent', () => getDefaultCreateProjectParent(store)) ipcMain.handle( diff --git a/src/main/ipc/runtime-watcher-process-pool.test.ts b/src/main/ipc/runtime-watcher-process-pool.test.ts index c722b5ccdd3..5b326191d03 100644 --- a/src/main/ipc/runtime-watcher-process-pool.test.ts +++ b/src/main/ipc/runtime-watcher-process-pool.test.ts @@ -1,5 +1,6 @@ import { beforeEach, describe, expect, it, vi } from 'vitest' import { WatcherProcessFailure } from './parcel-watcher-process-failure' +import type { WatcherProcessSubscribeOptions } from './parcel-watcher-process-protocol' import type { WatcherProcessCallback, WatcherProcessHooks, @@ -29,7 +30,7 @@ class FakeSupervisor { async subscribe( dir: string, _callback: WatcherProcessCallback, - _opts: object, + _opts: WatcherProcessSubscribeOptions, hooks: WatcherProcessHooks ): Promise { if (this.subscribeError) { diff --git a/src/main/ipc/settings.test.ts b/src/main/ipc/settings.test.ts index 31d587bd056..e2a27ad6aab 100644 --- a/src/main/ipc/settings.test.ts +++ b/src/main/ipc/settings.test.ts @@ -1,4 +1,5 @@ import { describe, expect, it, vi, beforeEach } from 'vitest' +import type { GlobalSettings } from '../../shared/global-settings-types' const { applyAppIconMock, @@ -840,7 +841,10 @@ describe('registerSettingsHandlers', () => { it('normalizes an agent-session-search write and hands the change to the index', async () => { const before = { aiVaultSearch: { enabled: false, historyDays: null } } store.getSettings.mockReturnValue(before) - store.updateSettings.mockImplementation((args: object) => ({ ...before, ...args })) + store.updateSettings.mockImplementation((args: Partial) => ({ + ...before, + ...args + })) registerSettingsHandlers(store as never) const handler = handleMock.mock.calls.find((call) => call[0] === 'settings:set')?.[1] as ( event: typeof settingsInvokeEvent, diff --git a/src/main/ipc/worktree-remote.ts b/src/main/ipc/worktree-remote.ts index ef65f2fcb53..beff64afc65 100644 --- a/src/main/ipc/worktree-remote.ts +++ b/src/main/ipc/worktree-remote.ts @@ -1,12 +1,14 @@ /* eslint-disable max-lines */ // Why: worktree create helpers (local + remote) split out of worktrees.ts; the cohesive create flow runs this file just over the per-file line limit. +import { worktreeCreateGit } from '../git/worktree-create-git-executor' import { getRepoHostedReviewExecutionHostId } from '../source-control/hosted-review-execution-host' import type { BrowserWindow } from 'electron' import { posix, win32 } from 'node:path' import { existsSync } from 'node:fs' import { randomUUID } from 'node:crypto' import type { Store } from '../persistence' +import type { GitAdmissionTier } from '../../shared/rpc-contract/git-admission-tier-params' import type { GlobalSettings } from '../../shared/global-settings-types' import type { Repo } from '../../shared/repo-types' import type { SetupAgentStartupPolicy } from '../../shared/orca-yaml-hook-types' @@ -30,7 +32,10 @@ import type { import { getPRForBranch } from '../github/client' import { listWorktrees, addWorktree, addSparseWorktree } from '../git/worktree' import type { AddWorktreeOptions, AddWorktreeResult } from '../git/worktree' -import { consumePreparedWorktreeCreate } from '../worktree-create-preparation' +import { + consumePreparedWorktreeCreate, + type PreparationRearmHolder +} from '../worktree-create-preparation' import { getBranchConflictKind, resolveDefaultBaseRefViaExec, @@ -48,7 +53,7 @@ import { resolveWorktreeAddBaseRef } from '../../shared/worktree/base-ref' import { getHostedReviewForBranch } from '../source-control/hosted-review' import type { ForgeProviderId } from '../source-control/forge-provider' import { validateGitPushTarget } from '../git/push-target-validation' -import { assertGitPushTargetShape } from '../../shared/git-push-target-validation' +import { assertValidGitPushTarget } from '../../shared/git-push-target-validation' import { gitExecFileAsync } from '../git/runner' import type { OrcaRuntimeService, @@ -1260,7 +1265,7 @@ export async function configureCreatedWorktreePushTarget( worktreePath: string, branchName: string, target: GitPushTarget, - gitOptions: { wslDistro?: string } = {} + gitOptions: { wslDistro?: string; admissionTier?: GitAdmissionTier } = {} ): Promise { return configureCreatedWorktreePushTargetWithExec( (args, cwd) => gitExecFileAsync(args, { cwd, ...gitOptions }), @@ -1277,7 +1282,7 @@ export async function prepareWorktreePushTargetSsh( store?: WorktreePushTargetStore, repoId?: string ): Promise { - assertGitPushTargetShape(target) + assertValidGitPushTarget(target) const execGit: GitRemoteExec = (args, cwd) => provider.exec(args, cwd) const { remoteCreated: _ignoredRemoteCreated, ...sanitizedTarget } = target await provider.exec(['check-ref-format', '--branch', target.branchName], repoPath) @@ -2298,12 +2303,31 @@ export async function createRemoteWorktree( } } -export async function createLocalWorktree( +export function createLocalWorktree( args: CreateWorktreeArgsWithSystemProvenance, repo: Repo, store: Store, mainWindow: BrowserWindow, runtime?: OrcaRuntimeService +): Promise { + // Why a holder fired in `finally`: consuming a prepared checkout leaves the pool one short, so a + // create that fails after that point — include copy, push target, terminal startup — must still + // arm the replacement. Fires exactly once, after startup on the success path. + const rearm: PreparationRearmHolder = { fire: () => {} } + return worktreeCreateGit + .run(() => performLocalWorktreeCreate(args, repo, store, mainWindow, rearm, runtime)) + .finally(() => { + rearm.fire() + }) +} + +async function performLocalWorktreeCreate( + args: CreateWorktreeArgsWithSystemProvenance, + repo: Repo, + store: Store, + mainWindow: BrowserWindow, + rearm: PreparationRearmHolder, + runtime?: OrcaRuntimeService ): Promise { const timing = createWorktreeCreateTimingRecorder() const settings = store.getSettings() @@ -2318,12 +2342,10 @@ export async function createLocalWorktree( const localWorktreeGitOptionArgs: [] | [{ wslDistro?: string }] = hasLocalWorktreeGitOptions ? [localWorktreeGitOptions] : [] - const addProjectGitOptions = (options?: AddWorktreeOptions): AddWorktreeOptions | undefined => { - if (!hasLocalWorktreeGitOptions) { - return options - } - return { ...options, ...localWorktreeGitOptions } - } + const addProjectGitOptions = (options?: AddWorktreeOptions): AddWorktreeOptions => ({ + ...options, + ...localWorktreeGitOptions + }) const requestedName = args.name const sanitizedName = sanitizeWorktreeName(args.name) @@ -2425,7 +2447,7 @@ export async function createLocalWorktree( ) } } - } else if (!(await hasLocalWorktreeBaseRef(repo.path, baseBranch, localWorktreeGitOptions))) { + } else if (!(await hasLocalWorktreeBaseRef(repo.path, baseBranch, localGitExecOptions))) { // Why: non-remote-prefix bases (plain main/master/local) keep the legacy best-effort fetch; verified PR SHA bases already have the object. legacyFetchPromise = runtime .fetchRemoteWithCache(repo.path, 'origin', ...localWorktreeGitOptionArgs) @@ -2434,7 +2456,7 @@ export async function createLocalWorktree( emitCreateWorktreeProgress(mainWindow, 'fetching', args.creationId) } } else { - if (!(await hasLocalWorktreeBaseRef(repo.path, baseBranch, localWorktreeGitOptions))) { + if (!(await hasLocalWorktreeBaseRef(repo.path, baseBranch, localGitExecOptions))) { legacyFetchPromise = gitExecFileAsync(['fetch', 'origin'], { ...localGitExecOptions, timeout: CREATE_BASE_FALLBACK_FETCH_TIMEOUT_MS @@ -2699,9 +2721,11 @@ export async function createLocalWorktree( ...remoteTrackingBaseOption, ...(suggestLocalBaseRefUpdate ? { suggestLocalBaseRefUpdate } : {}) } - const preparedWorktreeOptions = suggestLocalBaseRefUpdate - ? addProjectGitOptions({ ...remoteTrackingBaseOption, suggestLocalBaseRefUpdate }) - : addProjectGitOptions(remoteTrackingBaseOption) + const preparedWorktreeOptions = addProjectGitOptions( + suggestLocalBaseRefUpdate + ? { ...remoteTrackingBaseOption, suggestLocalBaseRefUpdate } + : remoteTrackingBaseOption + ) let addResult: AddWorktreeResult try { addResult = @@ -2714,7 +2738,7 @@ export async function createLocalWorktree( branch: branchName, baseBranch, refreshLocalBaseRef: settings.refreshLocalBaseRefOnWorktreeCreate, - ...(preparedWorktreeOptions ? { options: preparedWorktreeOptions } : {}) + options: preparedWorktreeOptions }) timing.recordPreparedCheckout( prepared.status === 'hit' @@ -2722,6 +2746,9 @@ export async function createLocalWorktree( : { status: 'miss', reason: prepared.reason } ) if (prepared.status === 'hit') { + // Why deferred: re-arming is a full `reset --hard`; started here it would hold a + // general admission slot for the rest of this create's own git. + rearm.fire = prepared.rearm return prepared.result } } else { @@ -2753,25 +2780,15 @@ export async function createLocalWorktree( addProjectGitOptions({ ...remoteTrackingBaseOption, suggestLocalBaseRefUpdate }) ) } - const sparseOptions = addProjectGitOptions(remoteTrackingBaseOption) - return sparseOptions - ? addSparseWorktree( - repo.path, - worktreePath, - branchName, - sparseDirectories, - baseBranch, - settings.refreshLocalBaseRefOnWorktreeCreate, - sparseOptions - ) - : addSparseWorktree( - repo.path, - worktreePath, - branchName, - sparseDirectories, - baseBranch, - settings.refreshLocalBaseRefOnWorktreeCreate - ) + return addSparseWorktree( + repo.path, + worktreePath, + branchName, + sparseDirectories, + baseBranch, + settings.refreshLocalBaseRefOnWorktreeCreate, + addProjectGitOptions(remoteTrackingBaseOption) + ) } if (checkoutExistingBranch) { @@ -2796,24 +2813,15 @@ export async function createLocalWorktree( addProjectGitOptions({ ...remoteTrackingBaseOption, suggestLocalBaseRefUpdate }) ) } - const worktreeOptions = addProjectGitOptions(remoteTrackingBaseOption) - return worktreeOptions - ? addWorktree( - repo.path, - worktreePath, - branchName, - baseBranch, - settings.refreshLocalBaseRefOnWorktreeCreate, - false, - worktreeOptions - ) - : addWorktree( - repo.path, - worktreePath, - branchName, - baseBranch, - settings.refreshLocalBaseRefOnWorktreeCreate - ) + return addWorktree( + repo.path, + worktreePath, + branchName, + baseBranch, + settings.refreshLocalBaseRefOnWorktreeCreate, + false, + addProjectGitOptions(remoteTrackingBaseOption) + ) })) ?? {} } catch (error) { if (shouldRetireGeneratedName && failedWorktreeCreationNeedsRetirement(error)) { @@ -2845,12 +2853,7 @@ export async function createLocalWorktree( worktrees: gitWorktrees, listingComplete } = await timing.time('list_created_worktree', async () => - resolveCreatedWorktree( - repo.path, - worktreePath, - branchName, - hasLocalWorktreeGitOptions ? localWorktreeGitOptions : undefined - ) + resolveCreatedWorktree(repo.path, worktreePath, branchName, localWorktreeGitOptions) ) const worktreeId = `${repo.id}::${created.path}` diff --git a/src/main/ipc/worktrees-authoritative-local-metadata-pruning.test.ts b/src/main/ipc/worktrees-authoritative-local-metadata-pruning.test.ts index aa3fff56f77..1bd306c5c2d 100644 --- a/src/main/ipc/worktrees-authoritative-local-metadata-pruning.test.ts +++ b/src/main/ipc/worktrees-authoritative-local-metadata-pruning.test.ts @@ -107,7 +107,7 @@ vi.mock('./pty', async () => (await import('./worktrees-test-module-mocks')).pty const REPO_ID = 'repo-1' const REPO_PATH = '/workspace/repo' -const LOCAL_HOST_ID = 'local' +const LOCAL_HOST_ID = 'local' as const function worktree(path: string, overrides: Partial = {}): GitWorktreeInfo { return { diff --git a/src/main/ipc/worktrees-existing-branch-checkout.test.ts b/src/main/ipc/worktrees-existing-branch-checkout.test.ts index e455e176cf5..cfc9e735b21 100644 --- a/src/main/ipc/worktrees-existing-branch-checkout.test.ts +++ b/src/main/ipc/worktrees-existing-branch-checkout.test.ts @@ -295,7 +295,9 @@ describe('registerWorktreeHandlers', () => { '/workspace/feature-something-2', 'feature/something-2', 'origin/main', - false + false, + false, + {} ) }) @@ -338,7 +340,9 @@ describe('registerWorktreeHandlers', () => { '/workspace/fix-title', 'feature/fix', 'abc123', - false + false, + false, + {} ) expect(gitExecFileAsyncMock).toHaveBeenCalledWith( ['branch', '--set-upstream-to', 'origin/feature/fix', 'feature/fix'], @@ -431,7 +435,9 @@ describe('registerWorktreeHandlers', () => { '/workspace/bitbucket-title', 'feature/bitbucket', 'abc123', - false + false, + false, + {} ) expect(store.setWorktreeMeta).toHaveBeenCalledWith( 'repo-1::/workspace/bitbucket-title', @@ -485,7 +491,9 @@ describe('registerWorktreeHandlers', () => { '/workspace/bitbucket-title-2', 'feature/bitbucket-2', 'abc123', - false + false, + false, + {} ) expect(store.setWorktreeMeta).toHaveBeenCalledWith( 'repo-1::/workspace/bitbucket-title-2', @@ -520,7 +528,9 @@ describe('registerWorktreeHandlers', () => { '/workspace/fix-title-2', 'feature/fix-2', 'abc123', - false + false, + false, + {} ) }) @@ -552,7 +562,9 @@ describe('registerWorktreeHandlers', () => { '/workspace/fix-title-2', 'feature/fix-2', 'abc123', - false + false, + false, + {} ) }) @@ -594,7 +606,9 @@ describe('registerWorktreeHandlers', () => { '/workspace/fix-title-2', 'feature/fix-2', 'abc123', - false + false, + false, + {} ) }) @@ -628,7 +642,9 @@ describe('registerWorktreeHandlers', () => { '/workspace/fix-title-2', 'feature/fix-2', 'abc123', - false + false, + false, + {} ) }) @@ -721,7 +737,9 @@ describe('registerWorktreeHandlers', () => { '/workspace/fix-title-2', 'feature/fix-2', 'abc123', - false + false, + false, + {} ) }) @@ -763,7 +781,9 @@ describe('registerWorktreeHandlers', () => { '/workspace/improve-dashboard-3', 'improve-dashboard-3', 'origin/main', - false + false, + false, + {} ) expect(result).toMatchObject({ worktree: expect.objectContaining({ diff --git a/src/main/ipc/worktrees-lineage-hydration.test.ts b/src/main/ipc/worktrees-lineage-hydration.test.ts index e109a13848f..79ece2cc369 100644 --- a/src/main/ipc/worktrees-lineage-hydration.test.ts +++ b/src/main/ipc/worktrees-lineage-hydration.test.ts @@ -1,4 +1,5 @@ import { beforeEach, describe, expect, it, vi } from 'vitest' +import type { WorktreeMeta } from '../../shared/worktree/meta-types' import type { Worktree } from '../../shared/worktree/types' import { toSshExecutionHostId } from '../../shared/execution-host' import { LINEAGE_HYDRATION_TIMEOUT_MS } from './worktrees/metadata/host-lineage-listing' @@ -390,7 +391,7 @@ describe('registerWorktreeHandlers', () => { [childId]: { instanceId: 'child-instance' } } store.getWorktreeMeta.mockImplementation((id: string) => metaById[id]) - store.setWorktreeMeta.mockImplementation((id: string, updates: object) => ({ + store.setWorktreeMeta.mockImplementation((id: string, updates: Partial) => ({ ...metaById[id], ...updates })) diff --git a/src/main/ipc/worktrees-local-base-ref-resolution.test.ts b/src/main/ipc/worktrees-local-base-ref-resolution.test.ts index 130816d901c..099fe5f64d2 100644 --- a/src/main/ipc/worktrees-local-base-ref-resolution.test.ts +++ b/src/main/ipc/worktrees-local-base-ref-resolution.test.ts @@ -1,3 +1,4 @@ +import { resolveGitAdmissionTier } from '../git/command-runner/git-operation-executor' import { beforeEach, describe, expect, it, vi } from 'vitest' import type { CreateWorktreeResult } from '../../shared/worktree/create-types' import { @@ -112,7 +113,10 @@ describe('registerWorktreeHandlers', () => { }) runtimeStub.resolveRemoteTrackingBase.mockResolvedValue(remoteBase) runtimeStub.hasRemoteTrackingRef.mockResolvedValue(true) - runtimeStub.getOrStartRemoteTrackingBaseRefresh.mockReturnValue(pendingFetch) + runtimeStub.getOrStartRemoteTrackingBaseRefresh.mockImplementation(() => { + expect(resolveGitAdmissionTier()).toBe('interactive') + return pendingFetch + }) listWorktreesMock.mockResolvedValue([ { path: '/workspace/improve-dashboard', @@ -270,7 +274,9 @@ describe('registerWorktreeHandlers', () => { '/workspace/improve-dashboard', 'improve-dashboard', 'develop', - false + false, + false, + {} ) }) @@ -331,7 +337,9 @@ describe('registerWorktreeHandlers', () => { '/workspace/slash-local-base', 'slash-local-base', 'team/feature', - false + false, + false, + {} ) }) @@ -383,7 +391,9 @@ describe('registerWorktreeHandlers', () => { '/workspace/offline-local-main', 'offline-local-main', 'main', - false + false, + false, + {} ) }) diff --git a/src/main/ipc/worktrees-local-create-flow.test.ts b/src/main/ipc/worktrees-local-create-flow.test.ts index fc57c6969b6..72da89bb962 100644 --- a/src/main/ipc/worktrees-local-create-flow.test.ts +++ b/src/main/ipc/worktrees-local-create-flow.test.ts @@ -234,6 +234,8 @@ describe('registerWorktreeHandlers', () => { baseBranch: sha }) + // The warm-up is speculative, so it stays at the default tier; only the create the user is + // waiting on is promoted. expect(gitExecFileAsyncMock).toHaveBeenCalledWith( ['rev-parse', '--verify', '--quiet', `${sha}^{commit}`], { cwd: '/workspace/repo' } @@ -272,7 +274,9 @@ describe('registerWorktreeHandlers', () => { '/workspace/pr-title', 'feature/fix', sha, - false + false, + false, + {} ) }) @@ -354,7 +358,9 @@ describe('registerWorktreeHandlers', () => { '/workspace/improve-dashboard-2', 'improve-dashboard-2', 'origin/main', - false + false, + false, + {} ) expect(result).toMatchObject({ worktree: expect.objectContaining({ @@ -385,7 +391,9 @@ describe('registerWorktreeHandlers', () => { '/workspace/rocket', 'rocket', 'origin/main', - false + false, + false, + {} ) expect(store.setWorktreeMeta).toHaveBeenCalledWith( 'repo-1::/workspace/rocket', @@ -435,7 +443,9 @@ describe('registerWorktreeHandlers', () => { '../worktrees/feature', 'feature', 'origin/main', - false + false, + false, + {} ) expect(store.setWorktreeMeta).toHaveBeenCalledWith( 'repo-1::../worktrees/feature', @@ -551,7 +561,9 @@ describe('registerWorktreeHandlers', () => { '/workspace/feature-something', 'feature/something', 'origin/main', - false + false, + false, + {} ) expect(resolveLocalGitUsernameMock).not.toHaveBeenCalled() expect(result).toMatchObject({ diff --git a/src/main/ipc/worktrees-remove-archive-hooks.test.ts b/src/main/ipc/worktrees-remove-archive-hooks.test.ts index cb1b39c8d6e..38c243f95e5 100644 --- a/src/main/ipc/worktrees-remove-archive-hooks.test.ts +++ b/src/main/ipc/worktrees-remove-archive-hooks.test.ts @@ -14,6 +14,13 @@ import { } from './worktrees-test-module-mocks' import { handlers, setupWorktreeHandlers, store } from './worktrees-test-harness' import { mockKnownFeatureWorktree } from './worktrees-test-fixtures' +import { + ARCHIVE_HOOK_FAILED_REMOVAL_CODE, + asArchiveHookRefusal, + type WorktreeArchiveHookFailedError +} from '../../shared/worktree/archive-hook-removal-gate' +import type { RemoveWorktreeResult } from '../../shared/worktree/create-types' +import type { RemoveWorktreeArgs } from './worktrees/ipc-context-schemas' import type { WorktreeRuntimeStub } from './worktrees-test-runtime-stub' vi.mock('electron', async () => @@ -98,6 +105,25 @@ vi.mock('../runtime/worktree-teardown', async () => ) vi.mock('./pty', async () => (await import('./worktrees-test-module-mocks')).ptyModuleMock()) +// The shared IPC surface types every handler as returning `unknown`; removal's contract is +// narrower, and #19334's whole point is that a caller can name and branch on it. +async function removeWorktreeViaIpc(args: RemoveWorktreeArgs): Promise { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the registry types every handler as `(...) => unknown`, so this is the only place the real `worktrees:remove` return shape can be named; the production caller in worktree-ipc.ts declares the same type. + return (await handlers['worktrees:remove'](null, args)) as RemoveWorktreeResult +} + +/** Narrows through the exported error class — the same branch a real caller would write. */ +async function expectArchiveHookRefusal( + args: RemoveWorktreeArgs +): Promise { + try { + await removeWorktreeViaIpc(args) + } catch (error) { + return asArchiveHookRefusal(error) + } + throw new Error(`expected removal of ${args.worktreeId} to be refused by the archive hook`) +} + describe('registerWorktreeHandlers', () => { let runtimeStub: WorktreeRuntimeStub @@ -443,7 +469,8 @@ describe('registerWorktreeHandlers', () => { expect(provider.removeWorktree).toHaveBeenCalledWith('/remote/feature-wt', true) }) - it('continues SSH worktree removal when the archive hook fails', async () => { + // Was "continues SSH worktree removal when the archive hook fails" (#19334): it now refuses. + it('refuses SSH worktree removal when the remote archive hook exits non-zero', async () => { const repo = { id: 'repo-ssh', path: '/remote/repo', @@ -453,7 +480,6 @@ describe('registerWorktreeHandlers', () => { connectionId: 'conn-1', worktreeBaseRef: null } - const consoleErrorSpy = vi.spyOn(console, 'error').mockImplementation(() => {}) const provider = { listWorktrees: vi.fn().mockResolvedValue([ { @@ -492,21 +518,18 @@ describe('registerWorktreeHandlers', () => { getSshFilesystemProviderMock.mockReturnValue(fsProvider) getEffectiveHooksFromConfigMock.mockReturnValue({ scripts: { archive: 'exit 7' } }) - try { - await handlers['worktrees:remove'](null, { - worktreeId: 'repo-ssh::/remote/feature-wt' - }) - expect(provider.removeWorktree).toHaveBeenCalledWith('/remote/feature-wt', undefined) - expect(consoleErrorSpy).toHaveBeenCalledWith( - '[hooks] archive hook failed for /remote/feature-wt:', - expect.stringContaining('archive hook exited 7') - ) - } finally { - consoleErrorSpy.mockRestore() - } + const refusal = await expectArchiveHookRefusal({ + worktreeId: 'repo-ssh::/remote/feature-wt' + }) + + expect(refusal.code).toBe(ARCHIVE_HOOK_FAILED_REMOVAL_CODE) + expect(refusal.data).toMatchObject({ outcome: 'exited', exitCode: 7 }) + expect(provider.worktreeIsClean).not.toHaveBeenCalled() + expect(provider.removeWorktree).not.toHaveBeenCalled() + expect(store.removeWorktreeMeta).not.toHaveBeenCalled() }) - it('continues SSH worktree removal when archive hook execution rejects', async () => { + it('does not read a lost SSH connection as an archive hook that passed', async () => { const repo = { id: 'repo-ssh', path: '/remote/repo', @@ -516,7 +539,6 @@ describe('registerWorktreeHandlers', () => { connectionId: 'conn-1', worktreeBaseRef: null } - const consoleErrorSpy = vi.spyOn(console, 'error').mockImplementation(() => {}) const provider = { listWorktrees: vi.fn().mockResolvedValue([ { @@ -550,18 +572,15 @@ describe('registerWorktreeHandlers', () => { getSshFilesystemProviderMock.mockReturnValue(fsProvider) getEffectiveHooksFromConfigMock.mockReturnValue({ scripts: { archive: 'echo archived' } }) - try { - await handlers['worktrees:remove'](null, { - worktreeId: 'repo-ssh::/remote/feature-wt' - }) - expect(provider.removeWorktree).toHaveBeenCalledWith('/remote/feature-wt', undefined) - expect(consoleErrorSpy).toHaveBeenCalledWith( - '[hooks] archive hook failed for /remote/feature-wt:', - 'relay disconnected' - ) - } finally { - consoleErrorSpy.mockRestore() - } + const refusal = await expectArchiveHookRefusal({ + worktreeId: 'repo-ssh::/remote/feature-wt' + }) + + // Loss of contact is `unverifiable`, never evidence the hook succeeded. + expect(refusal.data).toMatchObject({ outcome: 'unverifiable' }) + expect(refusal.data.exitCode).toBeUndefined() + expect(provider.removeWorktree).not.toHaveBeenCalled() + expect(store.removeWorktreeMeta).not.toHaveBeenCalled() }) it('uses cmd.exe for archive hooks on Windows-like SSH worktree paths', async () => { @@ -681,4 +700,116 @@ describe('registerWorktreeHandlers', () => { expect(provider.execNonInteractive).not.toHaveBeenCalled() expect(provider.removeWorktree).toHaveBeenCalledWith('/remote/feature-wt', undefined) }) + + // Regression cover for #19334: a failed archive hook is a blocking precondition, not an advisory. + it('refuses removal and mutates nothing when the local archive hook exits 23', async () => { + mockKnownFeatureWorktree() + removeWorktreeMock.mockResolvedValue(undefined) + getEffectiveHooksMock.mockReturnValue({ + scripts: { archive: 'echo archived' } + }) + runHookMock.mockResolvedValue({ + success: false, + output: 'backup target unreachable', + exitCode: 23 + }) + + const refusal = await expectArchiveHookRefusal({ + worktreeId: 'repo-1::/workspace/feature-wt' + }) + + expect(refusal.code).toBe(ARCHIVE_HOOK_FAILED_REMOVAL_CODE) + expect(refusal.data).toEqual({ + worktreePath: '/workspace/feature-wt', + outcome: 'exited', + exitCode: 23, + output: 'backup target unreachable' + }) + expect(killAllProcessesForWorktreeMock).not.toHaveBeenCalled() + expect(assertWorktreeCleanForRemovalMock).not.toHaveBeenCalled() + expect(removeWorktreeMock).not.toHaveBeenCalled() + expect(removeWorktreeLinkedPathsMock).not.toHaveBeenCalled() + expect(store.removeWorktreeMeta).not.toHaveBeenCalled() + }) + + it('classifies a local archive hook that never reported an exit as unverifiable', async () => { + mockKnownFeatureWorktree() + getEffectiveHooksMock.mockReturnValue({ + scripts: { archive: 'echo archived' } + }) + runHookMock.mockResolvedValue({ + success: false, + output: 'Hook timed out after 120000ms.' + }) + + const refusal = await expectArchiveHookRefusal({ + worktreeId: 'repo-1::/workspace/feature-wt' + }) + + expect(refusal.data).toEqual({ + worktreePath: '/workspace/feature-wt', + outcome: 'unverifiable', + output: 'Hook timed out after 120000ms.' + }) + expect(removeWorktreeMock).not.toHaveBeenCalled() + expect(store.removeWorktreeMeta).not.toHaveBeenCalled() + }) + + it('removes and records the waiver when a failed archive hook is explicitly overridden', async () => { + mockKnownFeatureWorktree() + removeWorktreeMock.mockResolvedValue({}) + getEffectiveHooksMock.mockReturnValue({ + scripts: { archive: 'echo archived' } + }) + runHookMock.mockResolvedValue({ + success: false, + output: 'boom', + exitCode: 23 + }) + + const result = await removeWorktreeViaIpc({ + worktreeId: 'repo-1::/workspace/feature-wt', + allowFailedArchiveHook: true + }) + + expect(result.archiveHookOverride).toEqual({ + worktreePath: '/workspace/feature-wt', + outcome: 'exited', + exitCode: 23, + output: 'boom', + overridden: true + }) + expect(removeWorktreeMock).toHaveBeenCalled() + }) + + // The folder-workspace path runs no archive hook at all (no Git removal step), so the gate has + // nothing to evaluate there. Pinned so a future hook added to that path is a deliberate change. + it('removes a folder workspace without consulting the archive hook', async () => { + const repo = { + id: 'repo-folder', + path: '/workspace/folder-project', + displayName: 'folder', + badgeColor: '#000', + addedAt: 0, + kind: 'folder' as const, + worktreeBaseRef: null + } + store.getRepos.mockReturnValue([repo]) + store.getRepo.mockReturnValue(repo) + getEffectiveHooksMock.mockReturnValue({ scripts: { archive: 'exit 23' } }) + runHookMock.mockResolvedValue({ + success: false, + output: 'boom', + exitCode: 23 + }) + + const result = await removeWorktreeViaIpc({ + worktreeId: 'repo-folder::/workspace/folder-project/nested' + }) + + expect(result).toEqual({}) + expect(runHookMock).not.toHaveBeenCalled() + expect(removeWorktreeMock).not.toHaveBeenCalled() + expect(store.removeWorktreeMeta).toHaveBeenCalled() + }) }) diff --git a/src/main/ipc/worktrees-setup-launch-sparse-checkout.test.ts b/src/main/ipc/worktrees-setup-launch-sparse-checkout.test.ts index 725f2df8c1f..cbf4c904096 100644 --- a/src/main/ipc/worktrees-setup-launch-sparse-checkout.test.ts +++ b/src/main/ipc/worktrees-setup-launch-sparse-checkout.test.ts @@ -140,7 +140,9 @@ describe('registerWorktreeHandlers', () => { '/workspace/improve-dashboard', 'improve-dashboard', 'origin/main', - false + false, + false, + {} ) }) @@ -221,7 +223,8 @@ describe('registerWorktreeHandlers', () => { 'improve-dashboard', ['packages/web', 'apps/api'], 'origin/main', - false + false, + {} ) expect(store.setWorktreeMeta).toHaveBeenCalledWith( 'repo-1::/workspace/improve-dashboard', diff --git a/src/main/ipc/worktrees-test-ipc-surface.ts b/src/main/ipc/worktrees-test-ipc-surface.ts index a858aacf6b8..7df4f6cda0a 100644 --- a/src/main/ipc/worktrees-test-ipc-surface.ts +++ b/src/main/ipc/worktrees-test-ipc-surface.ts @@ -1,4 +1,5 @@ import { type Mock, vi } from 'vitest' +import type { WorktreeMeta } from '../../shared/worktree/meta-types' export type HandlerMap = Record unknown> @@ -7,7 +8,7 @@ type StoreMock = Mock<(...args: unknown[]) => unknown> /** Store lookups tests re-implement per id, so the first arg stays narrowed. */ type KeyedStoreMock = Mock<(id: string, ...rest: unknown[]) => unknown> /** Store writers tests re-implement by merging the patch they receive. */ -type KeyedStoreWriteMock = Mock<(id: string, patch: object) => unknown> +type KeyedStoreWriteMock = Mock<(id: string, patch: Partial) => unknown> export type TestMainWindow = { isDestroyed: () => boolean diff --git a/src/main/ipc/worktrees-windows.test.ts b/src/main/ipc/worktrees-windows.test.ts index 7a54200d9f8..fb69743c288 100644 --- a/src/main/ipc/worktrees-windows.test.ts +++ b/src/main/ipc/worktrees-windows.test.ts @@ -337,7 +337,9 @@ describe('registerWorktreeHandlers – Windows path handling', () => { 'C:\\workspaces\\improve-dashboard', 'improve-dashboard', 'origin/main', - false + false, + false, + {} ) expect(resolveLocalGitUsernameMock).not.toHaveBeenCalled() // A name the user typed is never retired — the pool holds ordinary words people choose. @@ -403,7 +405,9 @@ describe('registerWorktreeHandlers – Windows path handling', () => { 'C:\\workspaces\\nautilus', 'nautilus', 'origin/main', - false + false, + false, + {} ) expect(store.addRetiredWorktreeName).not.toHaveBeenCalled() }) @@ -437,7 +441,9 @@ describe('registerWorktreeHandlers – Windows path handling', () => { 'C:\\workspaces\\improve-dashboard', 'octocat/improve-dashboard', 'origin/main', - false + false, + false, + {} ) }) diff --git a/src/main/ipc/worktrees-wsl-runtime-routing.test.ts b/src/main/ipc/worktrees-wsl-runtime-routing.test.ts index 8c936764291..1708a561c23 100644 --- a/src/main/ipc/worktrees-wsl-runtime-routing.test.ts +++ b/src/main/ipc/worktrees-wsl-runtime-routing.test.ts @@ -211,7 +211,9 @@ describe('registerWorktreeHandlers', () => { 'origin/main', { wslDistro: 'Ubuntu' } ) - expect(listWorktreesMock).toHaveBeenCalledWith('/workspace/repo', { wslDistro: 'Ubuntu' }) + expect(listWorktreesMock).toHaveBeenCalledWith('/workspace/repo', { + wslDistro: 'Ubuntu' + }) expectEveryGitCallRoutedTo('Ubuntu') }) diff --git a/src/main/ipc/worktrees/ipc-context-schemas.ts b/src/main/ipc/worktrees/ipc-context-schemas.ts index f29f09b39d4..26f38473a1a 100644 --- a/src/main/ipc/worktrees/ipc-context-schemas.ts +++ b/src/main/ipc/worktrees/ipc-context-schemas.ts @@ -21,6 +21,9 @@ export type RemoveWorktreeArgs = { /** Explicit Force Delete only — `force` alone is set by the ordinary confirmation (#11960). */ allowUnverifiedPtyStop?: boolean skipArchive?: boolean + /** Explicit waiver for a FAILED archive hook (#19334). Distinct from `skipArchive`, which + * never runs the hook at all, and never implied by `force`. */ + allowFailedArchiveHook?: boolean snapshotPruneBatchId?: string } diff --git a/src/main/ipc/worktrees/removal/execute-worktree-removal.ts b/src/main/ipc/worktrees/removal/execute-worktree-removal.ts index 443e05627ca..057dfec420c 100644 --- a/src/main/ipc/worktrees/removal/execute-worktree-removal.ts +++ b/src/main/ipc/worktrees/removal/execute-worktree-removal.ts @@ -12,6 +12,8 @@ import { isPrunableGitFileWorktree } from '../../../worktree-prunable-git-file' import { findRegisteredDeletableWorktree } from '../../../worktree-removal-safety' import { removeStaleLocalWorktreeRegistration } from '../../../local-worktree-removal-recovery' import { runHook } from '../../../hooks' +import type { ArchiveHookOverride } from '../../../../shared/worktree/archive-hook-removal-gate' +import { gateWorktreeRemovalOnArchiveHook } from '../../../worktree-archive-hook-gate' import { withWorktreeRemoveStageSpan } from '../../../observability/instrumentation' import { cleanupUnusedWorktreePushTargetRemote, @@ -84,6 +86,10 @@ export async function executeWorktreeRemoval( throw new Error(formatWorktreeRemovalError(error, canonicalWorktreePath, args.force ?? false)) } + // Ahead of the archive-hook gate below, and that ordering is right: both arms describe a + // registration with no checkout behind it — a row whose path IS a `.git` file, or a tree already + // gone from disk. There is nothing to archive, and running the hook would fail on the missing + // cwd and block a cleanup that has no user data to lose. if ( !repo.connectionId && ((await isPrunableGitFileWorktree(registeredWorktree, localWorktreeGitOptions)) || @@ -126,10 +132,18 @@ export async function executeWorktreeRemoval( return removalResult ?? {} } + // No connectionId override here, deliberately: this path derives its host from the repo row + // (`getRepoExecutionHostId` in register-worktree-removal-handlers) and resolves its provider, git + // options, listing and dispatch from `repo.connectionId` alone. Passing a different owner to the + // hook reader would read one host's orca.yaml while running the other host's git. The runtime's + // SSH path is the one that carries a route owner separate from the row, and it passes it. const hooks = await getArchiveHooksForRemoval(repo) const archiveScript = hooks?.scripts.archive + // Precondition, not an advisory (#19334): both branches below stop PTYs and delete the + // checkout, so a hook failure has to throw here — before either is reached. + let archiveHookOverride: ArchiveHookOverride | undefined if (archiveScript && !args.skipArchive) { // Why the branch on connectionId: this block is shared by both flows, so a hardcoded // 'remote' would file every local archive hook under the SSH breakdown. @@ -146,38 +160,40 @@ export async function executeWorktreeRemoval( undefined, localWorktreeGitOptions ) - if (!result.success) { - console.error(`[hooks] archive hook failed for ${canonicalWorktreePath}:`, result.output) - } + archiveHookOverride = gateWorktreeRemovalOnArchiveHook({ + worktreePath: canonicalWorktreePath, + result, + allowFailure: args.allowFailedArchiveHook === true + }) } ) } const remoteConnectionId = repo.connectionId ?? undefined - if (remoteConnectionId) { - return removeRegisteredRemoteWorktree( - context, - args, - repo, - repoId, - canonicalWorktreePath, - removalHostId, - registeredWorktree, - removedPushTarget, - provider!, - deleteBranch - ) - } - return removeRegisteredLocalWorktree( - context, - args, - repo, - repoId, - canonicalWorktreePath, - removalHostId, - removedPushTarget, - localWorktreeGitOptions, - hasLocalWorktreeGitOptions, - deleteBranch - ) + const result = remoteConnectionId + ? await removeRegisteredRemoteWorktree( + context, + args, + repo, + repoId, + canonicalWorktreePath, + removalHostId, + registeredWorktree, + removedPushTarget, + provider!, + deleteBranch + ) + : await removeRegisteredLocalWorktree( + context, + args, + repo, + repoId, + canonicalWorktreePath, + removalHostId, + removedPushTarget, + localWorktreeGitOptions, + hasLocalWorktreeGitOptions, + deleteBranch + ) + return archiveHookOverride ? { ...result, archiveHookOverride } : result } diff --git a/src/main/ipc/worktrees/removal/worktree-archive-hook.test.ts b/src/main/ipc/worktrees/removal/worktree-archive-hook.test.ts new file mode 100644 index 00000000000..5058cc6445b --- /dev/null +++ b/src/main/ipc/worktrees/removal/worktree-archive-hook.test.ts @@ -0,0 +1,93 @@ +import { beforeEach, describe, expect, it, vi } from 'vitest' +import type { Repo } from '../../../../shared/repo-types' +import type * as HooksModule from '../../../hooks' + +const { getSshFilesystemProviderMock, getEffectiveHooksMock } = vi.hoisted(() => ({ + getSshFilesystemProviderMock: vi.fn(), + getEffectiveHooksMock: vi.fn() +})) +vi.mock('../../../providers/ssh-filesystem-dispatch', () => ({ + getSshFilesystemProvider: getSshFilesystemProviderMock +})) +// Only `getEffectiveHooks` is stubbed: the module under test also imports `parseOrcaYaml` from +// here, and replacing it wholesale made the parse throw into the fail-open catch — which answers +// "no hook", so the test saw an empty result rather than an error. +vi.mock('../../../hooks', async () => ({ + ...(await vi.importActual('../../../hooks')), + getEffectiveHooks: getEffectiveHooksMock +})) + +import { getArchiveHooksForRemoval } from './worktree-archive-hook' + +const REMOTE_REPO: Repo = { + id: 'r', + path: '/home/orca/repo', + displayName: 'r', + badgeColor: '#000', + addedAt: 0 +} + +// Why (#19334): a worktree row can name its owner only as `executionHostId: 'ssh:'`, leaving +// `repo.connectionId` null. Resolving hooks off the row alone then reads THIS machine's disk for a +// repo that lives on an SSH host — the committed archive hook goes unseen and the removal proceeds +// as though none were configured, which is the bug the gate exists to stop. +describe('getArchiveHooksForRemoval owner resolution', () => { + beforeEach(() => { + vi.clearAllMocks() + getSshFilesystemProviderMock.mockReturnValue(undefined) + getEffectiveHooksMock.mockReturnValue(null) + }) + + // Why this reads a file rather than just checking the lookup key: SSH owner resolution has been + // wrong twice on this path, and both times the fix looked right. Asserting only that + // `'ssh-target'` was passed stops short of the thing that broke — whether the hook actually comes + // from the REMOTE orca.yaml. This drives a stubbed provider holding real content and asserts the + // returned script is the remote one. + it('returns the hook from the execution host\u2019s orca.yaml, not the local disk', async () => { + const readFile = vi.fn().mockResolvedValue({ + isBinary: false, + content: 'scripts:\n archive: remote-archive.sh\n' + }) + getSshFilesystemProviderMock.mockReturnValue({ readFile }) + // If the local reader were consulted it would answer with a DIFFERENT script, so a wrong + // resolution shows up as the wrong value rather than as a silent absence. + getEffectiveHooksMock.mockReturnValue({ scripts: { archive: 'local-archive.sh' } }) + + const hooks = await getArchiveHooksForRemoval(REMOTE_REPO, 'ssh-target') + + expect(getSshFilesystemProviderMock).toHaveBeenCalledWith('ssh-target') + expect(readFile).toHaveBeenCalledWith('/home/orca/repo/orca.yaml') + expect(hooks?.scripts.archive).toBe('remote-archive.sh') + expect(getEffectiveHooksMock).not.toHaveBeenCalled() + }) + + it('falls back to the repo row when the caller names no owner', async () => { + await getArchiveHooksForRemoval({ ...REMOTE_REPO, connectionId: 'row-connection' }) + + expect(getSshFilesystemProviderMock).toHaveBeenCalledWith('row-connection') + expect(getEffectiveHooksMock).not.toHaveBeenCalled() + }) + + it('reads locally only when neither names a connection', async () => { + await getArchiveHooksForRemoval({ ...REMOTE_REPO, path: '/local/repo' }) + + expect(getSshFilesystemProviderMock).not.toHaveBeenCalled() + expect(getEffectiveHooksMock).toHaveBeenCalled() + }) + + // Known limitation, pinned so it is a decision rather than a surprise: the relay rewrites a + // non-numeric error code to -32000, so a missing orca.yaml and an unreachable host arrive + // identically. Both answer "no hook", which lets the removal proceed. Reporting them apart needs + // a provider contract that returns absence as a successful outcome — tracked in #20196. + it('answers "no hook" when the host cannot be read, missing or unreachable alike', async () => { + getSshFilesystemProviderMock.mockReturnValue({ + readFile: vi.fn().mockRejectedValue( + Object.assign(new Error('transport closed'), { + code: -32000 + }) + ) + }) + + await expect(getArchiveHooksForRemoval(REMOTE_REPO, 'ssh-target')).resolves.toEqual(null) + }) +}) diff --git a/src/main/ipc/worktrees/removal/worktree-archive-hook.ts b/src/main/ipc/worktrees/removal/worktree-archive-hook.ts index f59ac4a2ebb..4df6bedd49f 100644 --- a/src/main/ipc/worktrees/removal/worktree-archive-hook.ts +++ b/src/main/ipc/worktrees/removal/worktree-archive-hook.ts @@ -7,16 +7,42 @@ import { getSshFilesystemProvider } from '../../../providers/ssh-filesystem-disp import { requireSshGitProvider } from '../../../providers/ssh-git-dispatch' import { joinWorktreeRelativePath } from '../../../runtime/runtime-relative-paths' import { getSetupRunnerEnvVars } from '../../../setup-hook-env-vars' +import { + ARCHIVE_HOOK_TIMEOUT_MS, + type ArchiveHookRunResult +} from '../../../../shared/worktree/archive-hook-removal-gate' -const WORKTREE_ARCHIVE_HOOK_TIMEOUT_MS = 120_000 - -export async function getArchiveHooksForRemoval(repo: Repo): Promise { - if (!repo.connectionId) { +/** + * Resolve the archive hook against the host that owns the worktree. + * + * A failed read is answered as "no hook", which is a known limitation rather than a judgement: a + * missing `orca.yaml` is indistinguishable from an unreachable one here, because the relay rewrites + * a non-numeric error code to `-32000` (`src/relay/dispatcher-rpc-routing.ts`), so nothing survives + * to tell ENOENT from a transport failure. Reporting it as unreadable fired on every SSH repo that + * simply has no orca.yaml; blocking on it would refuse those deletes outright. Distinguishing the + * two needs a provider contract that reports absence as a successful outcome — tracked in #20196. + * + * @param connectionId Overrides `repo.connectionId`, which answers null for a row that names its + * owner only as `executionHostId: 'ssh:'`. Callers holding a resolved removal route must + * pass it, or an SSH-hosted repo is read on the local disk and its archive hook goes unseen. + */ +export async function getArchiveHooksForRemoval( + repo: Repo, + connectionId?: string +): Promise { + const owner = connectionId ?? repo.connectionId + if (!owner) { return getEffectiveHooks(repo) } - const fsProvider = getSshFilesystemProvider(repo.connectionId) + const fsProvider = getSshFilesystemProvider(owner) if (!fsProvider) { + // Fail-open, and the one case here we can name confidently: no provider means the host's + // orca.yaml was never even looked at, so "no archive hook" is an assumption. Logged rather + // than surfaced, because the removal that follows fails on its own missing provider anyway. + console.warn( + `[hooks] no SSH filesystem provider for ${owner}; treating ${repo.path} as having no archive hook` + ) return getEffectiveHooksFromConfig(repo, null) } @@ -24,7 +50,16 @@ export async function getArchiveHooksForRemoval(repo: Repo): Promise { +): Promise { if (!repo.connectionId) { return { success: true, output: '' } } @@ -46,7 +81,7 @@ export async function runRemoteArchiveHook( isWindowsRemote ? 'cmd.exe' : '/bin/bash', isWindowsRemote ? ['/d', '/s', '/c', script] : ['-lc', script], worktreePath, - WORKTREE_ARCHIVE_HOOK_TIMEOUT_MS, + ARCHIVE_HOOK_TIMEOUT_MS, undefined, env ) @@ -70,8 +105,15 @@ export async function runRemoteArchiveHook( .join('\n') .trim() + // Why (#19334): a spawn error or timeout means the host never reported an exit for this run, so + // the code is withheld and the gate classifies the failure `unverifiable` rather than `exited`. + const observedExit = + !result.spawnError && !result.timedOut && typeof result.exitCode === 'number' + ? result.exitCode + : undefined return { - success: !result.spawnError && !result.timedOut && result.exitCode === 0, - output + success: observedExit === 0, + output, + ...(observedExit !== undefined ? { exitCode: observedExit } : {}) } } diff --git a/src/main/ipc/worktrees/removal/worktree-removal-coordinator.ts b/src/main/ipc/worktrees/removal/worktree-removal-coordinator.ts index 3c52c4cabae..66fc769e046 100644 --- a/src/main/ipc/worktrees/removal/worktree-removal-coordinator.ts +++ b/src/main/ipc/worktrees/removal/worktree-removal-coordinator.ts @@ -8,14 +8,21 @@ export type WorktreeRemovalInFlight = { } export function getWorktreeRemovalOptionsKey( - args: Pick + args: Pick< + RemoveWorktreeArgs, + 'force' | 'allowUnverifiedPtyStop' | 'skipArchive' | 'allowFailedArchiveHook' + > ): string { const forceKey = args.force === true ? 'force' : 'normal' const archiveKey = args.skipArchive === true ? 'skip-archive' : 'run-archive' // Why: a Force Delete retry must not coalesce onto the in-flight attempt that // just failed the PTY gate — it would inherit that failure instead of retrying. const ptyKey = args.allowUnverifiedPtyStop === true ? 'allow-unverified-pty' : 'require-pty-stop' - return `${forceKey}:${archiveKey}:${ptyKey}` + // Same reason for the archive waiver: a retry that waives the failed hook must not coalesce + // onto the in-flight attempt that is about to refuse on it. + const archiveFailureKey = + args.allowFailedArchiveHook === true ? 'allow-failed-archive' : 'require-archive' + return `${forceKey}:${archiveKey}:${ptyKey}:${archiveFailureKey}` } export function getWorktreeRemovalInFlightKey( diff --git a/src/main/native-chat/agent-session-journal/journal-lifecycle-batch-partition.ts b/src/main/native-chat/agent-session-journal/journal-lifecycle-batch-partition.ts index 305fa462f60..f109451edb9 100644 --- a/src/main/native-chat/agent-session-journal/journal-lifecycle-batch-partition.ts +++ b/src/main/native-chat/agent-session-journal/journal-lifecycle-batch-partition.ts @@ -63,14 +63,12 @@ function serializedLifecycleBatchFits( fence: Number.MAX_SAFE_INTEGER, ts: Number.MAX_SAFE_INTEGER, settlementId, - mutations: mutations.map(lifecycleMutationRowShape) + mutations: mutations.map(toLifecycleMutationRow) } return Buffer.byteLength(JSON.stringify(row), 'utf8') + 1 <= MAX_JOURNAL_LIFECYCLE_BATCH_BYTES } -function lifecycleMutationRowShape( - mutation: JournalLifecycleMutationInput -): JournalLifecycleMutation { +function toLifecycleMutationRow(mutation: JournalLifecycleMutationInput): JournalLifecycleMutation { const itemId = agentJournalItemKey(mutation.identity) return mutation.kind === 'item' ? { diff --git a/src/main/native-chat/agent-session-wire/agent-session-history-byte-accounting.test.ts b/src/main/native-chat/agent-session-wire/agent-session-history-byte-accounting.test.ts index 757e7e44084..17bdf710490 100644 --- a/src/main/native-chat/agent-session-wire/agent-session-history-byte-accounting.test.ts +++ b/src/main/native-chat/agent-session-wire/agent-session-history-byte-accounting.test.ts @@ -69,13 +69,17 @@ it.each([1, 100, 200])('serializes each of %i unchanged forward page items once' await appendItems(count, 'x'.repeat(8_000)) const snapshot = journal.snapshot() const stringify = JSON.stringify + // Method-shaped type: the JSON.stringify overloads split on replacer shape and reject a forwarded one. + const forwardStringify: { + stringify(value: unknown, replacer?: unknown, space?: unknown): string + }['stringify'] = stringify let itemSerializations = 0 - JSON.stringify = ((value: unknown, ...args: unknown[]) => { + JSON.stringify = (value: unknown, replacer?: unknown, space?: unknown): string => { if (value && typeof value === 'object' && 'itemId' in value && 'body' in value) { itemSerializations++ } - return Reflect.apply(stringify, JSON, [value, ...args]) - }) as typeof JSON.stringify + return forwardStringify(value, replacer, space) + } try { const result = readAgentSessionHistory( journal, diff --git a/src/main/native-chat/agent-session-wire/agent-session-history-page-grouping-parity.test.ts b/src/main/native-chat/agent-session-wire/agent-session-history-page-grouping-parity.test.ts index e1e8f68f7bd..677e75edc7d 100644 --- a/src/main/native-chat/agent-session-wire/agent-session-history-page-grouping-parity.test.ts +++ b/src/main/native-chat/agent-session-wire/agent-session-history-page-grouping-parity.test.ts @@ -75,14 +75,14 @@ function item(index: number, sequence: number): AgentJournalRenderItem { } } -/** Every sequence-run shape of `length` items, as run-length compositions. */ -function* runShapes(length: number): Generator { +/** Every run-length composition of `length` items. */ +function* runLengthCompositions(length: number): Generator { if (length === 0) { yield [] return } for (let first = 1; first <= length; first += 1) { - for (const rest of runShapes(length - first)) { + for (const rest of runLengthCompositions(length - first)) { yield [first, ...rest] } } @@ -105,7 +105,7 @@ function buildItems(runs: number[], repeatSequence: boolean): AgentJournalRender it('matches eager grouping at every newest-window limit for every run shape', () => { let cases = 0 for (let length = 0; length <= 7; length += 1) { - for (const runs of runShapes(length)) { + for (const runs of runLengthCompositions(length)) { for (const repeatSequence of [false, true]) { const items = buildItems(runs, repeatSequence) // Every boundary, including 0, each exact group edge, and past the end. @@ -127,7 +127,7 @@ it('matches eager byte bounding at every budget boundary in both directions', () let truncatedCases = 0 let partialCases = 0 for (let length = 1; length <= 6; length += 1) { - for (const runs of runShapes(length)) { + for (const runs of runLengthCompositions(length)) { for (const repeatSequence of [false, true]) { const items = buildItems(runs, repeatSequence) const perItem = historyEntryBytes(items[0]!, submissionBytes) diff --git a/src/main/native-chat/agent-session-wire/provider-frame-disposition.test.ts b/src/main/native-chat/agent-session-wire/provider-frame-disposition.test.ts index a57aa5d9ed1..b1acb14eee3 100644 --- a/src/main/native-chat/agent-session-wire/provider-frame-disposition.test.ts +++ b/src/main/native-chat/agent-session-wire/provider-frame-disposition.test.ts @@ -3,7 +3,7 @@ import { CODEX_APP_SERVER_NOTIFICATION_METHODS } from '../../codex/codex-app-ser import { CLAUDE_STREAM_JSON_FRAME_KINDS } from './claude-stream-json-frame-schema' import { classifyProviderFrame, - isDeltaShapedProviderFrameKind, + isDeltaProviderFrameKind, PROVIDER_FRAME_CLASSIFICATIONS } from './provider-frame-disposition' import { unhandledProviderFrameJournalItem } from './unhandled-provider-frame' @@ -25,7 +25,7 @@ describe('provider frame classification catalog', () => { const deltaKinds = [ ...Object.keys(PROVIDER_FRAME_CLASSIFICATIONS.codex), ...Object.keys(PROVIDER_FRAME_CLASSIFICATIONS.claude) - ].filter(isDeltaShapedProviderFrameKind) + ].filter(isDeltaProviderFrameKind) expect(deltaKinds.length).toBeGreaterThan(0) for (const kind of deltaKinds) { diff --git a/src/main/native-chat/agent-session-wire/provider-frame-disposition.ts b/src/main/native-chat/agent-session-wire/provider-frame-disposition.ts index 548a719ceb1..dea830b1315 100644 --- a/src/main/native-chat/agent-session-wire/provider-frame-disposition.ts +++ b/src/main/native-chat/agent-session-wire/provider-frame-disposition.ts @@ -226,7 +226,7 @@ function itemKind(kind: string): string | null { return kind.startsWith('item:') ? kind.slice('item:'.length) : null } -export function isDeltaShapedProviderFrameKind(kind: string): boolean { +export function isDeltaProviderFrameKind(kind: string): boolean { return notificationKind(kind).toLowerCase().endsWith('delta') } @@ -260,7 +260,7 @@ export function classifyProviderFrame( if (hasProviderError(payload)) { return 'error-surface' } - if (isDeltaShapedProviderFrameKind(kind)) { + if (isDeltaProviderFrameKind(kind)) { return 'stream-into-item' } if (provider === 'claude' && kind === 'message:result') { diff --git a/src/main/native-chat/agent-session-wire/structured-agent-session-acquisition-options.test.ts b/src/main/native-chat/agent-session-wire/structured-agent-session-acquisition-options.test.ts index 18849ea1202..78bf7cf2808 100644 --- a/src/main/native-chat/agent-session-wire/structured-agent-session-acquisition-options.test.ts +++ b/src/main/native-chat/agent-session-wire/structured-agent-session-acquisition-options.test.ts @@ -16,6 +16,7 @@ import { type AgentSessionAttachParams } from './structured-agent-session-attach' import { performAttach } from './structured-agent-session-attach-flow' +import type { AgentSessionCreatePhaseRecorder } from '../../observability/agent-session-instrumentation' const NOW = 1_800_000_000_000 const SESSION = 'legacy-session' @@ -221,6 +222,7 @@ describe('structured session acquisition options', () => { }) const sessionAdapter = adapter({ origin: 'created' }) const options = { model: 'gpt-5.6-sol', effort: 'medium', fastMode: 'false' } + const recordPhase = vi.fn() const created = await performAttach({ store, @@ -235,11 +237,14 @@ describe('structured session acquisition options', () => { callerKey: 'client-1', params: attachParams(CREATE_OPERATION, null, options), now: () => NOW, + recordPhase, onAttached: () => {} }) expect(created).toMatchObject({ ok: true }) - expect(sessionAdapter.acquire).toHaveBeenCalledWith(expect.objectContaining({ options })) + expect(sessionAdapter.acquire).toHaveBeenCalledWith( + expect.objectContaining({ options, recordPhase }) + ) expect(store.getRecord(SESSION)?.options).toEqual(options) }) diff --git a/src/main/native-chat/agent-session-wire/structured-agent-session-acquisition.ts b/src/main/native-chat/agent-session-wire/structured-agent-session-acquisition.ts index ad6cd2433e4..87c63454b24 100644 --- a/src/main/native-chat/agent-session-wire/structured-agent-session-acquisition.ts +++ b/src/main/native-chat/agent-session-wire/structured-agent-session-acquisition.ts @@ -9,6 +9,7 @@ import { import { journalIdentityFor } from './structured-agent-session-attach' import type { AttachFlowInput } from './structured-agent-session-attach-flow' import { readNativeSessionOptions } from './structured-agent-session-option-restoration' +import { withAgentSessionCreatePhase } from '../../observability/agent-session-instrumentation' /** A reservation with no process behind it is only a promise to spawn; the * adapter makes it real and the store then grants the writer. */ @@ -43,14 +44,17 @@ export async function acquireOwner( // Retries must recover the original reservation, not mint a second child. spawnToken, ...(record.options ? { options: record.options } : {}), - ...(input.eventSink ? { events: input.eventSink } : {}) - }) - const options = await readNativeSessionOptions({ - adapter: input.adapter, - sessionId: record.sessionId, - fence, - ...(record.options ? { priorOptions: record.options } : {}) + ...(input.eventSink ? { events: input.eventSink } : {}), + ...(input.recordPhase ? { recordPhase: input.recordPhase } : {}) }) + const options = await withAgentSessionCreatePhase('restore_options', input.recordPhase, () => + readNativeSessionOptions({ + adapter: input.adapter, + sessionId: record.sessionId, + fence, + ...(record.options ? { priorOptions: record.options } : {}) + }) + ) if (record.lease.ownerProcess === null) { await input.store.commitProcessIdentity({ sessionId: record.sessionId, diff --git a/src/main/native-chat/agent-session-wire/structured-agent-session-adapter.ts b/src/main/native-chat/agent-session-wire/structured-agent-session-adapter.ts index 81ef7f79062..e5daa9991d9 100644 --- a/src/main/native-chat/agent-session-wire/structured-agent-session-adapter.ts +++ b/src/main/native-chat/agent-session-wire/structured-agent-session-adapter.ts @@ -30,6 +30,7 @@ import type { } from '../../../shared/agent-session-wire' import type { ProviderHistoryWindow } from '../agent-session-journal/journal-submission-reconciler' import type { StructuredAgentSessionEventSink } from './structured-agent-session-event-sink' +import type { AgentSessionCreatePhaseRecorder } from '../../observability/agent-session-instrumentation' export class AgentSessionAcquisitionRefusal extends Error { constructor( @@ -139,6 +140,7 @@ export type StructuredAgentSessionAcquireInput = { options?: Readonly> /** Provider events may begin before acquisition returns. */ events?: StructuredAgentSessionEventSink + recordPhase?: AgentSessionCreatePhaseRecorder } export type StructuredAgentSessionSetOptionInput = { diff --git a/src/main/native-chat/agent-session-wire/structured-agent-session-attach-flow.ts b/src/main/native-chat/agent-session-wire/structured-agent-session-attach-flow.ts index e9ed9367c66..3abfd42b8aa 100644 --- a/src/main/native-chat/agent-session-wire/structured-agent-session-attach-flow.ts +++ b/src/main/native-chat/agent-session-wire/structured-agent-session-attach-flow.ts @@ -38,6 +38,10 @@ import { importAdoptedTranscript, prepareAdoptedTranscript } from './structured-agent-session-adopted-import' +import { + withAgentSessionCreatePhase, + type AgentSessionCreatePhaseRecorder +} from '../../observability/agent-session-instrumentation' import type { ProviderHistoryWindow } from '../agent-session-journal/journal-submission-reconciler' export type AttachFlowInput = { @@ -49,6 +53,7 @@ export type AttachFlowInput = { callerKey: string params: AgentSessionAttachParams now: () => number + recordPhase?: AgentSessionCreatePhaseRecorder /** Publishes the journal before clients can send against the new owner. `acquiredOwner` is * true only when this attach spawned the provider child, so a re-attach to a live one is not * mistaken for a cold acquire. */ @@ -102,15 +107,17 @@ export async function performAttach( return preparedTranscript } try { - const reserved = await store.reserveOwner( - reserveRequestFor({ - sessionId, - params, - authority: input.authority, - callerKey: input.callerKey, - fingerprint: admitted.fingerprint, - now: input.now() - }) + const reserved = await withAgentSessionCreatePhase('reserve_owner', input.recordPhase, () => + store.reserveOwner( + reserveRequestFor({ + sessionId, + params, + authority: input.authority, + callerKey: input.callerKey, + fingerprint: admitted.fingerprint, + now: input.now() + }) + ) ) record = reserved.record replayed = reserved.disposition === 'replayed' @@ -153,7 +160,9 @@ export async function performAttach( ownerAlreadyAdmitted: agentSessionLeaseAdmitsWriter(record.lease) }) if (!agentSessionLeaseAdmitsWriter(record.lease)) { - const acquired = await acquireOwner(input, record) + const acquired = await withAgentSessionCreatePhase('acquire_owner', input.recordPhase, () => + acquireOwner(input, record) + ) record = acquired.record acquisitionGeneration = acquired.acquisitionGeneration acquiredOwner = true diff --git a/src/main/native-chat/agent-session-wire/structured-agent-session-attach-orchestration.ts b/src/main/native-chat/agent-session-wire/structured-agent-session-attach-orchestration.ts index eec3841a08c..c85536ff679 100644 --- a/src/main/native-chat/agent-session-wire/structured-agent-session-attach-orchestration.ts +++ b/src/main/native-chat/agent-session-wire/structured-agent-session-attach-orchestration.ts @@ -28,6 +28,12 @@ import { forgetStructuredAgentSession } from './structured-agent-session-host-li import type { DeferredStructuredAgentSessionEventSink } from './structured-agent-session-event-sink' import { agentSessionJournalCloseRetries } from '../agent-session-journal/journal-close-retry' import type { AgentSessionJournal } from '../agent-session-journal/journal-store' +import { + addAgentSessionCreatePhaseAttributes, + withAgentSessionCreatePhase, + withAgentSessionSpan, + type AgentSessionCreatePhaseRecorder +} from '../../observability/agent-session-instrumentation' export function attachStructuredAgentSession( context: StructuredAgentSessionAttachContext, @@ -37,135 +43,161 @@ export function attachStructuredAgentSession( rewind?: StructuredAgentSessionAcquireInput['rewind'] ): Promise> { const sessionId = params.envelope.sessionId - const attaching = context.serialize(sessionId, async () => { - if (admitRecoveryTicket && !admitRecoveryTicket()) { - return refuseAgentSessionMutation({ - code: 'agent_session_checkpoint_stale', - message: 'The provider-exit recovery ticket is no longer current.' - }) - } - const unreconciled = await context.reconcileLeases(sessionId) - if (unreconciled) { - return refuseAgentSessionMutation(unreconciled) - } - await context.runtimeState.resolveRecovery(sessionId) - // Retries a durable provider-exit journal settlement before a new owner is reserved. Answers - // settled when the record has none pending, so every attach can ask unconditionally. - const settled = await retryPendingStructuredAgentSessionSettlement({ - deps: context.deps, - sessions: context.sessions, - sessionId, - params, - now: () => context.now() - }) - if (!settled) { - return refuseAgentSessionMutation({ - code: 'agent_session_ownership_unknown', - message: 'The provider-exit terminal journal settlement is still pending; retry attach.' - }) - } - const eventSink = context.runtimeState.eventSinkFor(sessionId) - const attached = await performAttach({ - rewind, - store: context.deps.store, - adapter: context.deps.adapter, - journalRoot: context.deps.journalRoot, - eventSink: eventSink.sink, - onAcquiring: async () => { - const barrier = await eventSink.drained() - if (!barrier.ok) { - throw barrier.error - } - eventSink.unbind() - }, - authority: { - spawnToken: () => context.deps.mintSpawnToken?.() ?? randomUUID(), - claimKeyId: context.deps.claimKeyId, - handoffOperationId: params.envelope.clientOperationId, - probe: await context.runtimeState.probeOwner(sessionId), - ...(await pinnedAgentSessionLaunchArgs(context.deps.resolveLaunchArgs, params)), - ...(await pinnedAgentSessionLaunchEnv(context.deps.resolveLaunchEnv, params)) - }, - callerKey, - params, - now: () => context.now(), - // Site 9: this closes the PRIOR map entry it drops, never the provisional - // journal — it has no reference to that one. `onAttached` owns that. - onAttachFailed: async () => { - await forgetStructuredAgentSession(context, sessionId) - eventSink.close() - context.runtimeState.discardEventSink(sessionId) - }, - onAttached: async (attached, acquisitionGeneration, acquiredOwner) => { - const fence = context.deps.store.getRecord(sessionId)?.lease.runtimeFence ?? 0 - const previous = context.sessions.get(sessionId) - const previousFence = previous?.fence - // Site 8: the provisional journal has no owner until the map takes it, - // and the barrier below throws by design. - try { - if (acquiredOwner) { - // Before the drain: the buffered events are the new child's, never a stale row's. - await settleStaleSessionStateOnAcquire({ - journal: attached.journal, - sessionId, - fence, - acquisitionGeneration - }) + const run = (recordPhase?: AgentSessionCreatePhaseRecorder) => + context.serialize(sessionId, async () => { + if (admitRecoveryTicket && !admitRecoveryTicket()) { + return refuseAgentSessionMutation({ + code: 'agent_session_checkpoint_stale', + message: 'The provider-exit recovery ticket is no longer current.' + }) + } + const unreconciled = await withAgentSessionCreatePhase('reconcile_leases', recordPhase, () => + context.reconcileLeases(sessionId) + ) + if (unreconciled) { + return refuseAgentSessionMutation(unreconciled) + } + await withAgentSessionCreatePhase('resolve_recovery', recordPhase, () => + context.runtimeState.resolveRecovery(sessionId) + ) + // Retries a durable provider-exit journal settlement before a new owner is reserved. Answers + // settled when the record has none pending, so every attach can ask unconditionally. + const settled = await withAgentSessionCreatePhase('settlement_retry', recordPhase, () => + retryPendingStructuredAgentSessionSettlement({ + deps: context.deps, + sessions: context.sessions, + sessionId, + params, + now: () => context.now() + }) + ) + if (!settled) { + return refuseAgentSessionMutation({ + code: 'agent_session_ownership_unknown', + message: 'The provider-exit terminal journal settlement is still pending; retry attach.' + }) + } + const eventSink = context.runtimeState.eventSinkFor(sessionId) + const probe = await withAgentSessionCreatePhase('probe_owner', recordPhase, () => + context.runtimeState.probeOwner(sessionId) + ) + const attached = await performAttach({ + rewind, + store: context.deps.store, + adapter: context.deps.adapter, + journalRoot: context.deps.journalRoot, + eventSink: eventSink.sink, + onAcquiring: async () => { + const barrier = await eventSink.drained() + if (!barrier.ok) { + throw barrier.error } - await bindAndDrain(eventSink, attached.journal, fence, (activity) => - context.subscribers.publish(sessionId, attached.journal, activity) - ) - } catch (error) { - await agentSessionJournalCloseRetries.closeOrRetain(attached.journal) - throw error - } - // Site 10: a `set` over a live entry would orphan its handle — and a - // close that REJECTED did not release it. The replacement is therefore - // ABORTED rather than completed over a handle nothing can reach again: - // `previous` stays indexed, so teardown still owns it and can retry. - if (previous && previous.journal !== attached.journal) { + eventSink.unbind() + }, + authority: { + spawnToken: () => context.deps.mintSpawnToken?.() ?? randomUUID(), + claimKeyId: context.deps.claimKeyId, + handoffOperationId: params.envelope.clientOperationId, + probe, + ...(await pinnedAgentSessionLaunchArgs(context.deps.resolveLaunchArgs, params)), + ...(await pinnedAgentSessionLaunchEnv(context.deps.resolveLaunchEnv, params)) + }, + callerKey, + params, + now: () => context.now(), + recordPhase, + // Site 9: this closes the PRIOR map entry it drops, never the provisional + // journal — it has no reference to that one. `onAttached` owns that. + onAttachFailed: async () => { + await forgetStructuredAgentSession(context, sessionId) + eventSink.close() + context.runtimeState.discardEventSink(sessionId) + }, + onAttached: async (attached, acquisitionGeneration, acquiredOwner) => { + const fence = context.deps.store.getRecord(sessionId)?.lease.runtimeFence ?? 0 + const previous = context.sessions.get(sessionId) + const previousFence = previous?.fence + // Site 8: the provisional journal has no owner until the map takes it, + // and the barrier below throws by design. try { - await previous.journal.close() + if (acquiredOwner) { + // Before the drain: the buffered events are the new child's, never a stale row's. + await settleStaleSessionStateOnAcquire({ + journal: attached.journal, + sessionId, + fence, + acquisitionGeneration + }) + } + await bindAndDrain(eventSink, attached.journal, fence, (activity) => + context.subscribers.publish(sessionId, attached.journal, activity) + ) } catch (error) { await agentSessionJournalCloseRetries.closeOrRetain(attached.journal) throw error } - } - context.sessions.set(sessionId, { - journal: attached.journal, - params, - fence, - hasProviderChild: true, - acquisitionGeneration: acquisitionGeneration ?? previous?.acquisitionGeneration ?? null - }) - if (!rewind) { - await recoverStructuredRewind( - context.deps.store, - sessionId, - attached.journal, + // Site 10: a `set` over a live entry would orphan its handle — and a + // close that REJECTED did not release it. The replacement is therefore + // ABORTED rather than completed over a handle nothing can reach again: + // `previous` stays indexed, so teardown still owns it and can retry. + if (previous && previous.journal !== attached.journal) { + try { + await previous.journal.close() + } catch (error) { + await agentSessionJournalCloseRetries.closeOrRetain(attached.journal) + throw error + } + } + context.sessions.set(sessionId, { + journal: attached.journal, + params, fence, - context.deps.adapter, - context.now - ) - } - await recoverInterruptedCompaction(context.deps.store, sessionId, attached.journal, fence) - if (attached.recovery) { - context.subscribers.reset(sessionId, attached.journal, attached.recovery.reset, fence) - } else if (previousFence !== undefined && previousFence !== fence) { - context.subscribers.snapshot(sessionId, attached.journal, fence) - } else { - context.subscribers.publish(sessionId, attached.journal) + hasProviderChild: true, + acquisitionGeneration: acquisitionGeneration ?? previous?.acquisitionGeneration ?? null + }) + if (!rewind) { + await recoverStructuredRewind( + context.deps.store, + sessionId, + attached.journal, + fence, + context.deps.adapter, + context.now + ) + } + await recoverInterruptedCompaction(context.deps.store, sessionId, attached.journal, fence) + if (attached.recovery) { + context.subscribers.reset(sessionId, attached.journal, attached.recovery.reset, fence) + } else if (previousFence !== undefined && previousFence !== fence) { + context.subscribers.snapshot(sessionId, attached.journal, fence) + } else { + context.subscribers.publish(sessionId, attached.journal) + } } + }) + // Why: a failed attach that left no session behind must not strand a bound sink; the runtime + // caches one per session id and would hand this same closed instance to the next attempt. + if (!attached.ok && !context.sessions.has(sessionId)) { + eventSink.close() + context.runtimeState.discardEventSink(sessionId) } + return attached }) - // Why: a failed attach that left no session behind must not strand a bound sink; the runtime - // caches one per session id and would hand this same closed instance to the next attempt. - if (!attached.ok && !context.sessions.has(sessionId)) { - eventSink.close() - context.runtimeState.discardEventSink(sessionId) - } - return attached - }) + const attaching = + params.envelope.expectedRuntimeFence === null + ? withAgentSessionSpan(async (span) => { + const startedAtMs = Date.now() + const phases: Parameters[0][] = [] + try { + return await run((timing) => phases.push(timing)) + } finally { + addAgentSessionCreatePhaseAttributes(span, { + totalDurationMs: Math.max(0, Date.now() - startedAtMs), + phases + }) + } + }) + : run() return context.tasks.trackAttach(attaching) } diff --git a/src/main/native-chat/agent-session-wire/structured-agent-session-claude-root-exit.test.ts b/src/main/native-chat/agent-session-wire/structured-agent-session-claude-root-exit.test.ts new file mode 100644 index 00000000000..a7ca961d13f --- /dev/null +++ b/src/main/native-chat/agent-session-wire/structured-agent-session-claude-root-exit.test.ts @@ -0,0 +1,140 @@ +import { mkdtemp, rm } from 'node:fs/promises' +import { tmpdir } from 'node:os' +import { join } from 'node:path' +import { afterEach, describe, expect, it, vi } from 'vitest' +import { + PROVIDER_SESSION_ID, + adapterFor, + fakeClaude, + identityFor +} from '../../claude/claude-structured-session-test-support' +import { AgentSessionRecordStore } from '../../runtime/agent-session-record-store' +import { createTrackedJournalOpener } from '../agent-session-journal/journal-store-test-open' +import type { AgentSessionAttachParams } from './structured-agent-session-attach' +import { evictHeldStructuredAgentSession } from './structured-agent-session-host-lifetime' +import { StructuredAgentSessionHostRuntimeState } from './structured-agent-session-host-runtime-state' +import type { StructuredAgentSessionHostSession } from './structured-agent-session-host-types' + +const NOW = 1_788_727_031_330 +const roots: string[] = [] +const journals = createTrackedJournalOpener() + +afterEach(async () => { + await journals.closeAll() + await Promise.all(roots.splice(0).map((root) => rm(root, { recursive: true, force: true }))) +}) + +describe('Claude root-exit eviction', () => { + it('releases a captured live claim after the provider root exits', async () => { + const root = await mkdtemp(join(tmpdir(), 'orca-claude-root-exit-')) + roots.push(root) + const store = await AgentSessionRecordStore.open({ directory: root, hostId: 'local' }) + const claude = fakeClaude({ + unprovenCloseVerdict: { root: 'exited', tree: 'unverifiable' } + }) + const adapter = adapterFor(claude) + const reservation = await store.reserveOwner({ + sessionId: 'session-1', + location: { + executionHostId: 'local', + workspaceId: 'folder-1', + workspaceKind: 'folder', + wslDistro: null + }, + provider: 'claude', + accountHome: { variable: 'CLAUDE_CONFIG_DIR', path: root }, + runtimeKind: 'native', + expectedFence: null, + spawnToken: 'spawn-1', + claimKeyId: 'key-1', + handoffOperationId: null, + probe: { outcome: 'reservation-unused' }, + operation: { + callerKey: 'test', + operationId: `${NOW}-00000000000000000000000000000001`, + fingerprint: 'create' + }, + now: NOW + }) + const fence = reservation.record.lease.runtimeFence + const acquisition = await adapter.acquire({ + identity: { ...identityFor(), hostId: 'local', workspaceId: 'folder-1' }, + fence, + spawnToken: 'spawn-1' + }) + await store.commitProcessIdentity({ + sessionId: 'session-1', + fence, + process: acquisition.process, + now: NOW + }) + await store.proveOwner({ + sessionId: 'session-1', + fence, + link: acquisition.link, + now: NOW + }) + const journal = await journals.open({ + identity: { ...identityFor(), hostId: 'local', workspaceId: 'folder-1' }, + journalDir: join(root, 'journal') + }) + const close = vi.spyOn(journal, 'close') + const params: AgentSessionAttachParams = { + envelope: { + sessionId: 'session-1', + clientOperationId: `${NOW}-00000000000000000000000000000001`, + expectedRuntimeFence: fence, + payloadFingerprint: 'create' + }, + location: { + executionHostId: 'local', + workspaceId: 'folder-1', + workspaceKind: 'folder', + wslDistro: null + }, + provider: 'claude', + agent: 'claude', + accountHome: { variable: 'CLAUDE_CONFIG_DIR', path: root }, + runtimeKind: 'native', + providerHandle: { kind: 'claude', sessionId: PROVIDER_SESSION_ID, leafUuid: null } + } + const sessions = new Map([ + [ + 'session-1', + { + journal, + params, + fence, + hasProviderChild: true, + acquisitionGeneration: acquisition.acquisitionGeneration ?? null + } + ] + ]) + const deps = { store, adapter, journalRoot: root, claimKeyId: 'key-1' } + const runtimeState = new StructuredAgentSessionHostRuntimeState(deps) + + claude.connections[0]!.handlers.onExit?.(new Error('provider exited')) + await expect( + evictHeldStructuredAgentSession( + { + deps, + runtimeState, + sessions, + now: () => NOW + 30 * 60_000, + forgetStatus: vi.fn() + }, + 'session-1' + ) + ).resolves.toBeUndefined() + + expect(store.getRecord('session-1')?.lease).toMatchObject({ + claimStatus: 'released', + ownerProcess: null, + deathEvidence: { kind: 'exit-observed' } + }) + expect(sessions.size).toBe(0) + expect(close).toHaveBeenCalledOnce() + // Why: releasing the root-owned lease does not claim unverifiable descendants stopped. + await expect(adapter.closeSession('session-1')).rejects.toThrow('provider exited') + }) +}) diff --git a/src/main/native-chat/agent-session-wire/structured-agent-session-close-retry.test.ts b/src/main/native-chat/agent-session-wire/structured-agent-session-close-retry.test.ts index b79091c7f9f..1141f821174 100644 --- a/src/main/native-chat/agent-session-wire/structured-agent-session-close-retry.test.ts +++ b/src/main/native-chat/agent-session-wire/structured-agent-session-close-retry.test.ts @@ -91,6 +91,7 @@ function flakyClose(journal: AgentSessionJournal, failures: number): AgentSessio return new Proxy(journal, { get(target, property, receiver) { if (property !== 'close') { + // oxlint-disable-next-line anti-slop/no-reflect-get -- Proxy `get` trap: only Reflect.get forwards a raw string|symbol key with the proxy receiver. return Reflect.get(target, property, receiver) } return async () => { diff --git a/src/main/native-chat/agent-session-wire/structured-agent-session-eviction.test.ts b/src/main/native-chat/agent-session-wire/structured-agent-session-eviction.test.ts index 90b50d3cb90..36cecd44807 100644 --- a/src/main/native-chat/agent-session-wire/structured-agent-session-eviction.test.ts +++ b/src/main/native-chat/agent-session-wire/structured-agent-session-eviction.test.ts @@ -5,6 +5,10 @@ import { STRUCTURED_AGENT_SESSION_EVICTION_STEPS, type StructuredAgentSessionEvictionContext } from './structured-agent-session-eviction' +import { + AgentSessionAcquisitionRootExitObservedError, + AgentSessionPreSpawnError +} from './structured-agent-session-adapter' import { StructuredAgentSessionHostRuntimeState } from './structured-agent-session-host-runtime-state' function context(): StructuredAgentSessionEvictionContext & { order: string[] } { @@ -141,6 +145,28 @@ describe('rows the provider emits while closing', () => { // `closeSession` returning false means the adapter could not prove the child exited and has kept // the session indexed on purpose so a retry can reach it. describe('a child that will not stop', () => { + it.each([ + new AgentSessionAcquisitionRootExitObservedError(new Error('root exited')), + new AgentSessionPreSpawnError(new Error('spawn failed')) + ])('continues eviction after an actionable provider verdict', async (error) => { + const ctx = context() + ctx.adapter.closeSession = vi.fn(async () => { + throw error + }) + + await evictStructuredAgentSession(ctx) + + expect(ctx.order).toEqual([ + 'drained', + 'settleWork', + 'unbind', + 'close', + 'discardSink', + 'releaseLease', + 'forget' + ]) + }) + it('aborts without forgetting the session, so the next close is a real retry', async () => { const ctx = context() ctx.adapter.closeSession = vi.fn(async () => false) diff --git a/src/main/native-chat/agent-session-wire/structured-agent-session-eviction.ts b/src/main/native-chat/agent-session-wire/structured-agent-session-eviction.ts index 7264ca4a338..04840c18d5f 100644 --- a/src/main/native-chat/agent-session-wire/structured-agent-session-eviction.ts +++ b/src/main/native-chat/agent-session-wire/structured-agent-session-eviction.ts @@ -17,7 +17,11 @@ // reach it; forgetting it anyway stranded the process forever and reported success. Leaving the // session in place is what makes the next close a real retry instead of a no-op. -import type { StructuredAgentSessionAdapter } from './structured-agent-session-adapter' +import { + AgentSessionAcquisitionRootExitObservedError, + AgentSessionPreSpawnError, + type StructuredAgentSessionAdapter +} from './structured-agent-session-adapter' import type { DeferredStructuredAgentSessionEventSink } from './structured-agent-session-event-sink' export type StructuredAgentSessionEvictionContext = { @@ -59,9 +63,19 @@ export const STRUCTURED_AGENT_SESSION_EVICTION_STEPS: readonly StructuredAgentSe // An adapter with no close has nothing to stop; anything else must PROVE the exit. const stop = context.adapter.disposeSession ?? context.adapter.closeSession if (stop) { - const stopped = await stop.call(context.adapter, context.sessionId) - if (stopped !== true) { - throw new Error('provider child exit was not proven') + try { + const stopped = await stop.call(context.adapter, context.sessionId) + if (stopped !== true) { + throw new Error('provider child exit was not proven') + } + } catch (error) { + // Why: lease ownership follows the provider root; known-live descendants still throw unproven. + if ( + !(error instanceof AgentSessionAcquisitionRootExitObservedError) && + !(error instanceof AgentSessionPreSpawnError) + ) { + throw error + } } } context.onProviderChildStopped?.() diff --git a/src/main/native-chat/agent-session-wire/structured-agent-session-handoff-options.test.ts b/src/main/native-chat/agent-session-wire/structured-agent-session-handoff-options.test.ts index 210defed0c5..420129792c9 100644 --- a/src/main/native-chat/agent-session-wire/structured-agent-session-handoff-options.test.ts +++ b/src/main/native-chat/agent-session-wire/structured-agent-session-handoff-options.test.ts @@ -280,12 +280,15 @@ describe('structured session handoff options', () => { }) expect(await host.requestHandoff(CALLER, handoff('to-tui'))).toMatchObject({ ok: true }) - await vi.waitFor(async () => - expect(await host.handoffStatus(SESSION)).toMatchObject({ owner: 'tui' }) + // Real-timer poll: the suite's default 1000ms budget is tight under a loaded CI shard. + await vi.waitFor( + async () => expect(await host.handoffStatus(SESSION)).toMatchObject({ owner: 'tui' }), + { timeout: 5000 } ) expect(await host.requestHandoff(CALLER, handoff('to-native'))).toMatchObject({ ok: true }) - await vi.waitFor(async () => - expect(await host.handoffStatus(SESSION)).toMatchObject({ owner: 'native' }) + await vi.waitFor( + async () => expect(await host.handoffStatus(SESSION)).toMatchObject({ owner: 'native' }), + { timeout: 5000 } ) expect(launchedOptions).toEqual([ diff --git a/src/main/native-chat/agent-session-wire/structured-agent-session-lease-renewer.test.ts b/src/main/native-chat/agent-session-wire/structured-agent-session-lease-renewer.test.ts index e5b97dea189..f0540b2b225 100644 --- a/src/main/native-chat/agent-session-wire/structured-agent-session-lease-renewer.test.ts +++ b/src/main/native-chat/agent-session-wire/structured-agent-session-lease-renewer.test.ts @@ -189,8 +189,10 @@ describe('structured agent-session lease renewal', () => { renewer.start() now += 10_000 await vi.advanceTimersByTimeAsync(10_000) - await vi.waitFor(() => - expect(store.getRecord('session-renewal')?.lease.lastRenewedAt).toBe(now) + // Real-timer poll: the suite's default 1000ms budget is tight under a loaded CI shard. + await vi.waitFor( + () => expect(store.getRecord('session-renewal')?.lease.lastRenewedAt).toBe(now), + { timeout: 5000 } ) } finally { renewer.stop() diff --git a/src/main/native-chat/agent-session-wire/structured-agent-session-surface-lifetime.test.ts b/src/main/native-chat/agent-session-wire/structured-agent-session-surface-lifetime.test.ts index 2538b61c84b..11b63781544 100644 --- a/src/main/native-chat/agent-session-wire/structured-agent-session-surface-lifetime.test.ts +++ b/src/main/native-chat/agent-session-wire/structured-agent-session-surface-lifetime.test.ts @@ -816,8 +816,10 @@ describe('a chat handed to a terminal and taken back', () => { openHandoffHost(transcriptPath) await attach() expect(await host.requestHandoff(CALLER, handoffRequest('to-tui'))).toMatchObject({ ok: true }) - await vi.waitFor(async () => - expect(await host.handoffStatus(SESSION)).toMatchObject({ owner: 'tui' }) + // Real-timer poll: the suite's default 1000ms budget is tight under a loaded CI shard. + await vi.waitFor( + async () => expect(await host.handoffStatus(SESSION)).toMatchObject({ owner: 'tui' }), + { timeout: 5000 } ) // The app restarts and cannot reach the terminal, so this generation restores the session for @@ -842,8 +844,10 @@ describe('a chat handed to a terminal and taken back', () => { expect(await host.requestHandoff(CALLER, handoffRequest('to-native'))).toMatchObject({ ok: true }) - await vi.waitFor(async () => - expect(await host.handoffStatus(SESSION)).toMatchObject({ owner: 'native' }) + // Real-timer poll: the suite's default 1000ms budget is tight under a loaded CI shard. + await vi.waitFor( + async () => expect(await host.handoffStatus(SESSION)).toMatchObject({ owner: 'native' }), + { timeout: 5000 } ) expect(host['sessions'].get(SESSION)?.hasProviderChild).toBe(true) await sendPending('pending when the retaken chat closes') diff --git a/src/main/native-chat/wsl-transcript-fs-process-dispatch.ts b/src/main/native-chat/wsl-transcript-fs-process-dispatch.ts index fda412aa0fc..f601ebe0f11 100644 --- a/src/main/native-chat/wsl-transcript-fs-process-dispatch.ts +++ b/src/main/native-chat/wsl-transcript-fs-process-dispatch.ts @@ -86,7 +86,7 @@ export function closeWslTranscriptFsProcess(handle: WslTranscriptFsProcessHandle } export function isWslTranscriptFsProcessHandle( - value: object + value: FileHandle | WslTranscriptFsProcessHandle ): value is WslTranscriptFsProcessHandle { return 'wslTranscriptFsProcessHandle' in value } diff --git a/src/main/network/electron-proxy-credentials.ts b/src/main/network/electron-proxy-credentials.ts index 43a93659474..d9ff26eb940 100644 --- a/src/main/network/electron-proxy-credentials.ts +++ b/src/main/network/electron-proxy-credentials.ts @@ -1,4 +1,5 @@ import { normalizeProxyUrl } from '../../shared/network-proxy' +import type { ProxySession } from './electron-default-proxy-session' export type ElectronProxyCredentials = { host: string @@ -20,7 +21,7 @@ const DEFAULT_PROXY_PORTS: Record = { 'socks5:': 1080 } -let proxyCredentialsBySession = new WeakMap() +let proxyCredentialsBySession = new WeakMap() function decodeProxyCredential(value: string): string { try { @@ -64,7 +65,7 @@ export function haveSameElectronProxyCredentials( } export function setElectronProxyCredentialsForSession( - proxySession: object, + proxySession: ProxySession, credentials: ElectronProxyCredentials | null ): void { if (credentials) { @@ -74,11 +75,11 @@ export function setElectronProxyCredentialsForSession( } } -export function clearElectronProxyCredentialsForSession(proxySession: object): void { +export function clearElectronProxyCredentialsForSession(proxySession: ProxySession): void { proxyCredentialsBySession.delete(proxySession) } -export function resetElectronProxyCredentialsForTests(proxySession?: object): void { +export function resetElectronProxyCredentialsForTests(proxySession?: ProxySession): void { if (proxySession) { clearElectronProxyCredentialsForSession(proxySession) } else { @@ -88,11 +89,11 @@ export function resetElectronProxyCredentialsForTests(proxySession?: object): vo export function handleElectronProxyLogin( event: { preventDefault(): void }, - webContents: { session: object } | null, + webContents: { session: ProxySession } | null, _authenticationResponseDetails: unknown, authInfo: { isProxy: boolean; host: string; port: number; scheme?: string; realm?: string }, callback: (username?: string, password?: string) => void, - defaultProxySession?: object + defaultProxySession?: ProxySession ): void { if (!authInfo.isProxy) { return diff --git a/src/main/observability/agent-session-instrumentation.ts b/src/main/observability/agent-session-instrumentation.ts new file mode 100644 index 00000000000..85ecd4f0d45 --- /dev/null +++ b/src/main/observability/agent-session-instrumentation.ts @@ -0,0 +1,83 @@ +import { withSpan, type ActiveSpan } from './tracer' + +export type AgentSessionCreatePhase = + | 'reconcile_leases' + | 'resolve_recovery' + | 'settlement_retry' + | 'probe_owner' + | 'reserve_owner' + | 'acquire_owner' + | 'auth_settle' + | 'spawn' + | 'init' + | 'restore_options' + | 'publish' + +export type AgentSessionCreatePhaseTiming = { + readonly phase: AgentSessionCreatePhase + readonly startedAtMs: number + readonly durationMs: number +} + +export type AgentSessionCreatePhaseRecorder = (timing: AgentSessionCreatePhaseTiming) => void + +/** Wrap the rare user-created structured session; no sampling is needed for this event. */ +export async function withAgentSessionSpan(fn: (span: ActiveSpan) => Promise): Promise { + return withSpan('agentSession.create', fn, { attributes: { kind: 'agent-session' } }) +} + +export async function withAgentSessionCreatePhase( + phase: AgentSessionCreatePhase, + record: AgentSessionCreatePhaseRecorder | undefined, + fn: () => Promise +): Promise { + const startedAtMs = Date.now() + try { + return await fn() + } finally { + record?.({ phase, startedAtMs, durationMs: Math.max(0, Date.now() - startedAtMs) }) + } +} + +/** Records the closed create vocabulary without copying branch, path, prompt, or session content. */ +export function addAgentSessionCreatePhaseAttributes( + span: ActiveSpan, + timing: { + totalDurationMs: number + phases: readonly AgentSessionCreatePhaseTiming[] + } +): void { + span.setAttribute('agent_session.create.total_ms', Math.round(timing.totalDurationMs)) + const phaseDurations = new Map() + for (const phase of timing.phases) { + phaseDurations.set(phase.phase, (phaseDurations.get(phase.phase) ?? 0) + phase.durationMs) + } + for (const [phase, durationMs] of phaseDurations) { + span.setAttribute(`agent_session.create.phase.${phase}_ms`, Math.round(durationMs)) + } + const intervals = [...timing.phases] + .map(({ startedAtMs, durationMs }) => [startedAtMs, startedAtMs + durationMs] as const) + .sort((left, right) => left[0] - right[0]) + let coveredMs = 0 + let openedAt: number | null = null + let closesAt = 0 + for (const [start, end] of intervals) { + if (openedAt === null) { + openedAt = start + closesAt = end + } else if (start <= closesAt) { + closesAt = Math.max(closesAt, end) + } else { + coveredMs += closesAt - openedAt + openedAt = start + closesAt = end + } + } + if (openedAt !== null) { + coveredMs += closesAt - openedAt + } + span.setAttribute( + 'agent_session.create.unattributed_ms', + Math.max(0, Math.round(timing.totalDurationMs - coveredMs)) + ) +} diff --git a/src/main/observability/instrumentation.test.ts b/src/main/observability/instrumentation.test.ts index 452b5cd155c..62894c0ef9c 100644 --- a/src/main/observability/instrumentation.test.ts +++ b/src/main/observability/instrumentation.test.ts @@ -6,6 +6,10 @@ import { addWorktreeCreatePhaseAttributes, withGitSpan } from './instrumentation' +import { + addAgentSessionCreatePhaseAttributes, + withAgentSessionSpan +} from './agent-session-instrumentation' type SpanRecord = { readonly name: string @@ -249,3 +253,36 @@ describe('addWorktreeCreatePhaseAttributes', () => { expect(attributes['worktree.create.prepared_checkout']).toBeUndefined() }) }) + +describe('agentSession.create tracing', () => { + it('emits one span with the closed phase vocabulary and no user content attributes', async () => { + await withAgentSessionSpan(async (span) => { + addAgentSessionCreatePhaseAttributes(span, { + totalDurationMs: 66, + phases: [ + { phase: 'reconcile_leases', startedAtMs: 0, durationMs: 1 }, + { phase: 'resolve_recovery', startedAtMs: 1, durationMs: 2 }, + { phase: 'settlement_retry', startedAtMs: 3, durationMs: 3 }, + { phase: 'probe_owner', startedAtMs: 6, durationMs: 4 }, + { phase: 'reserve_owner', startedAtMs: 10, durationMs: 5 }, + { phase: 'acquire_owner', startedAtMs: 15, durationMs: 6 }, + { phase: 'auth_settle', startedAtMs: 21, durationMs: 7 }, + { phase: 'spawn', startedAtMs: 28, durationMs: 8 }, + { phase: 'init', startedAtMs: 36, durationMs: 9 }, + { phase: 'restore_options', startedAtMs: 45, durationMs: 10 }, + { phase: 'publish', startedAtMs: 55, durationMs: 11 } + ] + }) + }) + + const records = sink.records.filter((record) => record.name === 'agentSession.create') + expect(records).toHaveLength(1) + const attributes = records[0]!.attributes + expect(attributes['agent_session.create.phase.reconcile_leases_ms']).toBe(1) + expect(attributes['agent_session.create.phase.publish_ms']).toBe(11) + expect(attributes['agent_session.create.unattributed_ms']).toBe(0) + expect(Object.keys(attributes).some((key) => /path|branch|prompt|content/i.test(key))).toBe( + false + ) + }) +}) diff --git a/src/main/observability/redactor.test.ts b/src/main/observability/redactor.test.ts index 0b8ee0f9e61..19324cc08b2 100644 --- a/src/main/observability/redactor.test.ts +++ b/src/main/observability/redactor.test.ts @@ -25,7 +25,7 @@ const SECRETS = { pem: '-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQ\n-----END PRIVATE KEY-----' } -const SHAPES: { label: string; raw: string; tag: string }[] = [ +const PROVIDER_KEY_CASES: { label: string; raw: string; tag: string }[] = [ { label: 'anthropic', raw: SECRETS.anthropic, tag: 'anthropic-key' }, { label: 'openai', raw: SECRETS.openai, tag: 'openai-key' }, { label: 'github', raw: SECRETS.github, tag: 'github-token' }, @@ -37,7 +37,7 @@ const SHAPES: { label: string; raw: string; tag: string }[] = [ ] describe('redactor — provider-key fingerprints', () => { - for (const { label, raw, tag } of SHAPES) { + for (const { label, raw, tag } of PROVIDER_KEY_CASES) { describe(`${label}`, () => { it('redacts when the secret appears as an attribute value', () => { // Bare "" without a labeled-kv keyword nearby — exercises the diff --git a/src/main/opencode/hook-plugin-fail-open-ownership.test.ts b/src/main/opencode/hook-plugin-fail-open-ownership.test.ts index 9f48059604f..6262768da4d 100644 --- a/src/main/opencode/hook-plugin-fail-open-ownership.test.ts +++ b/src/main/opencode/hook-plugin-fail-open-ownership.test.ts @@ -19,6 +19,10 @@ vi.mock('electron', () => ({ import { _internals } from './hook-service' type SessionFixture = { id: string; parentID?: string } +/** The session half of the SDK client, as the plugin's ancestry lookup uses it. */ +type SessionClientFixture = { + list: (options?: { signal?: AbortSignal }) => Promise<{ data: SessionFixture[] }> +} type PluginEvent = { type: string; properties?: Record } type PluginEventHandler = (input: { event: PluginEvent }) => Promise type PluginHooks = { event: PluginEventHandler; dispose?: () => Promise } @@ -83,7 +87,7 @@ describe('OpenCode plugin fail-open ownership', () => { return loadHooksWithSession({ list }) } - async function loadHooksWithSession(session: object): Promise { + async function loadHooksWithSession(session: SessionClientFixture): Promise { return loadHooksWithContext({ client: { session } }) } diff --git a/src/main/opencode/hook-plugin-lifecycle-delivery.test.ts b/src/main/opencode/hook-plugin-lifecycle-delivery.test.ts index 9fc69c8c78d..83a71533f1c 100644 --- a/src/main/opencode/hook-plugin-lifecycle-delivery.test.ts +++ b/src/main/opencode/hook-plugin-lifecycle-delivery.test.ts @@ -19,6 +19,12 @@ vi.mock('electron', () => ({ import { _internals } from './hook-service' type SessionFixture = { id: string; parentID?: string } + +/** The plugin probes both SDK call conventions — current `(parameters, options)` and legacy + * single-options — so fixtures for one session-client method differ in arity. */ +type SessionClientCall = (...args: never[]) => Promise<{ data: SessionFixture[] }> + +type SessionClientFixture = { list: SessionClientCall; get?: SessionClientCall } type PluginEvent = { type: string; properties?: Record } type PluginEventHandler = (input: { event: PluginEvent }) => Promise type PluginHooks = { event: PluginEventHandler; dispose?: () => Promise } @@ -83,7 +89,7 @@ describe('OpenCode plugin lifecycle delivery', () => { return loadHooksWithSession({ list }) } - async function loadHooksWithSession(session: object): Promise { + async function loadHooksWithSession(session: SessionClientFixture): Promise { const pluginPath = join(tempDir, 'orca-opencode-status.mjs') writeFileSync(pluginPath, _internals.getOpenCodePluginSource()) const module = (await import(pathToFileURL(pluginPath).href)) as { diff --git a/src/main/persistence/loading-store/automation-persistence.ts b/src/main/persistence/loading-store/automation-persistence.ts index 9f33f508fd9..2bed89ff09b 100644 --- a/src/main/persistence/loading-store/automation-persistence.ts +++ b/src/main/persistence/loading-store/automation-persistence.ts @@ -243,7 +243,7 @@ export function getAutomationRunWorkspaceDisplayName( } export function installAutomationPersistenceContext( - target: object, + target: AutomationPersistence, source: AutomationPersistence ): void { Object.defineProperty(target, automationPersistenceContext, { diff --git a/src/main/persistence/loading-store/metadata-lineage-operations.ts b/src/main/persistence/loading-store/metadata-lineage-operations.ts index 4b0a301fe26..2532ff3b2d3 100644 --- a/src/main/persistence/loading-store/metadata-lineage-operations.ts +++ b/src/main/persistence/loading-store/metadata-lineage-operations.ts @@ -316,7 +316,7 @@ export function removeWorkspaceLineageForFolderParent( } export function installMetadataLineageOperationsContext( - target: object, + target: MetadataLineageOperations, source: MetadataLineageOperations ): void { Object.defineProperty(target, metadataLineageOperationsContext, { diff --git a/src/main/persistence/loading-store/mobile-tab-selection-persistence.ts b/src/main/persistence/loading-store/mobile-tab-selection-persistence.ts index 321baad1aaf..8f0428c46bb 100644 --- a/src/main/persistence/loading-store/mobile-tab-selection-persistence.ts +++ b/src/main/persistence/loading-store/mobile-tab-selection-persistence.ts @@ -33,7 +33,7 @@ export class MobileTabSelectionPersistence { } export function installMobileTabSelectionPersistenceContext( - target: object, + target: MobileTabSelectionPersistence, source: MobileTabSelectionPersistence ): void { Object.defineProperty(target, mobileTabSelectionPersistenceContext, { diff --git a/src/main/persistence/loading-store/persisted-state-redundancy.test.ts b/src/main/persistence/loading-store/persisted-state-redundancy.test.ts index bccef63b39c..9a30b26da38 100644 --- a/src/main/persistence/loading-store/persisted-state-redundancy.test.ts +++ b/src/main/persistence/loading-store/persisted-state-redundancy.test.ts @@ -138,7 +138,7 @@ function writeLegacyFile(dataFile: string): void { /** Inverse of everything this change does, applied to a compact file: what the old serializer * would have written for the same state. */ -function reexpandToLegacyShape(state: PersistedState): PersistedState { +function reexpandToLegacySerialization(state: PersistedState): PersistedState { const expanded = structuredClone(state) for (const map of [expanded.worktreeMeta, expanded.worktreeMetaByIdentity]) { for (const [key, meta] of Object.entries(map ?? {})) { @@ -207,7 +207,7 @@ describe('persisted-state redundancy', () => { // Apples to apples: re-expand the file we just wrote back into the old shape and compare, so // the number is the redundancy alone and not the settings defaults a synthetic fixture lacks. expect(Buffer.byteLength(rewritten)).toBeLessThan( - Buffer.byteLength(JSON.stringify(reexpandToLegacyShape(onDisk))) * 0.6 + Buffer.byteLength(JSON.stringify(reexpandToLegacySerialization(onDisk))) * 0.6 ) // load(save(state)) deep-equals the pre-save state for every field touched. diff --git a/src/main/persistence/loading-store/primary-state-writes.ts b/src/main/persistence/loading-store/primary-state-writes.ts index f61f6c691bd..3820723fffb 100644 --- a/src/main/persistence/loading-store/primary-state-writes.ts +++ b/src/main/persistence/loading-store/primary-state-writes.ts @@ -280,7 +280,7 @@ export function writeToDiskSync( } export function installPrimaryStateWriteOperationsContext( - target: object, + target: PrimaryStateWriteOperations, source: PrimaryStateWriteOperations ): void { Object.defineProperty(target, primaryStateWriteOperationsContext, { diff --git a/src/main/persistence/loading-store/profile-preferences.ts b/src/main/persistence/loading-store/profile-preferences.ts index 0ec4e383c34..8e910ed235d 100644 --- a/src/main/persistence/loading-store/profile-preferences.ts +++ b/src/main/persistence/loading-store/profile-preferences.ts @@ -189,7 +189,10 @@ export function getFeatureInteractionOperations( } } -export function installProfilePreferencesContext(target: object, source: ProfilePreferences): void { +export function installProfilePreferencesContext( + target: ProfilePreferences, + source: ProfilePreferences +): void { Object.defineProperty(target, profilePreferencesContext, { value: source[profilePreferencesContext] }) diff --git a/src/main/persistence/loading-store/project-collection-operations.ts b/src/main/persistence/loading-store/project-collection-operations.ts index ecb1130072f..e8d22147769 100644 --- a/src/main/persistence/loading-store/project-collection-operations.ts +++ b/src/main/persistence/loading-store/project-collection-operations.ts @@ -226,7 +226,7 @@ export function getFolderWorkspaceOperations( } export function installProjectCollectionOperationsContext( - target: object, + target: ProjectCollectionOperations, source: ProjectCollectionOperations ): void { Object.defineProperty(target, projectCollectionOperationsContext, { diff --git a/src/main/persistence/loading-store/pty-binding-persistence.ts b/src/main/persistence/loading-store/pty-binding-persistence.ts index 27d62c8602b..9cdb51fffe7 100644 --- a/src/main/persistence/loading-store/pty-binding-persistence.ts +++ b/src/main/persistence/loading-store/pty-binding-persistence.ts @@ -266,7 +266,7 @@ function applyPtyBinding( } export function installPtyBindingPersistenceOperationsContext( - target: object, + target: PtyBindingPersistenceOperations, source: PtyBindingPersistenceOperations ): void { Object.defineProperty(target, ptyBindingPersistenceOperationsContext, { diff --git a/src/main/persistence/loading-store/repo-lifecycle-operations.ts b/src/main/persistence/loading-store/repo-lifecycle-operations.ts index ec1df02d714..2573c63305f 100644 --- a/src/main/persistence/loading-store/repo-lifecycle-operations.ts +++ b/src/main/persistence/loading-store/repo-lifecycle-operations.ts @@ -323,7 +323,7 @@ export function hydrateRepo(owner: RepoLifecycleOperations, repo: Repo): Repo { } export function installRepoLifecycleOperationsContext( - target: object, + target: RepoLifecycleOperations, source: RepoLifecycleOperations ): void { Object.defineProperty(target, repoLifecycleOperationsContext, { diff --git a/src/main/persistence/loading-store/retired-worktree-name-persistence.ts b/src/main/persistence/loading-store/retired-worktree-name-persistence.ts index c5260850522..bf0e7383667 100644 --- a/src/main/persistence/loading-store/retired-worktree-name-persistence.ts +++ b/src/main/persistence/loading-store/retired-worktree-name-persistence.ts @@ -110,7 +110,7 @@ export function applyRetiredWorktreeNames( } export function installRetiredWorktreeNamePersistenceContext( - target: object, + target: RetiredWorktreeNamePersistence, source: RetiredWorktreeNamePersistence ): void { Object.defineProperty(target, retiredWorktreeNamePersistenceContext, { diff --git a/src/main/persistence/loading-store/session-host-partitions.ts b/src/main/persistence/loading-store/session-host-partitions.ts index 353c89da4e5..d358f4c8f62 100644 --- a/src/main/persistence/loading-store/session-host-partitions.ts +++ b/src/main/persistence/loading-store/session-host-partitions.ts @@ -210,7 +210,7 @@ export function setHostWorkspaceSession( } export function installSessionHostPartitionOperationsContext( - target: object, + target: SessionHostPartitionOperations, source: SessionHostPartitionOperations ): void { Object.defineProperty(target, sessionHostPartitionOperationsContext, { diff --git a/src/main/persistence/loading-store/session-snapshot-operations.ts b/src/main/persistence/loading-store/session-snapshot-operations.ts index 2f5f1c64b86..37ffd9d366b 100644 --- a/src/main/persistence/loading-store/session-snapshot-operations.ts +++ b/src/main/persistence/loading-store/session-snapshot-operations.ts @@ -93,7 +93,7 @@ export function getSessionSnapshotOperationsContext(owner: SessionSnapshotOperat } export function installSessionSnapshotOperationsContext( - target: object, + target: SessionSnapshotOperations, source: SessionSnapshotOperations ): void { Object.defineProperty(target, sessionSnapshotOperationsContext, { diff --git a/src/main/persistence/loading-store/sparse-preset-persistence.ts b/src/main/persistence/loading-store/sparse-preset-persistence.ts index 2de83313ecd..20b78fcd9cc 100644 --- a/src/main/persistence/loading-store/sparse-preset-persistence.ts +++ b/src/main/persistence/loading-store/sparse-preset-persistence.ts @@ -46,7 +46,7 @@ export class SparsePresetPersistence { } export function installSparsePresetPersistenceContext( - target: object, + target: SparsePresetPersistence, source: SparsePresetPersistence ): void { Object.defineProperty(target, sparsePresetPersistenceContext, { diff --git a/src/main/persistence/loading-store/ssh-lease-recovery-operations.ts b/src/main/persistence/loading-store/ssh-lease-recovery-operations.ts index 75aa19ad24b..7da5144898e 100644 --- a/src/main/persistence/loading-store/ssh-lease-recovery-operations.ts +++ b/src/main/persistence/loading-store/ssh-lease-recovery-operations.ts @@ -245,7 +245,7 @@ export function getSshPtyLeaseOperations(owner: SshLeaseRecoveryOperations): Ssh } export function installSshLeaseRecoveryOperationsContext( - target: object, + target: SshLeaseRecoveryOperations, source: SshLeaseRecoveryOperations ): void { Object.defineProperty(target, sshLeaseRecoveryOperationsContext, { diff --git a/src/main/persistence/loading-store/ssh-profile-operations.ts b/src/main/persistence/loading-store/ssh-profile-operations.ts index dce7a92890f..5fed1a3d021 100644 --- a/src/main/persistence/loading-store/ssh-profile-operations.ts +++ b/src/main/persistence/loading-store/ssh-profile-operations.ts @@ -146,7 +146,7 @@ export function getSshTargetStateOperations(owner: SshProfileOperations): SshTar } export function installSshProfileOperationsContext( - target: object, + target: SshProfileOperations, source: SshProfileOperations ): void { Object.defineProperty(target, sshProfileOperationsContext, { diff --git a/src/main/persistence/loading-store/store-domain-composition.ts b/src/main/persistence/loading-store/store-domain-composition.ts index 2bbe91a1a2e..c3f2059efe1 100644 --- a/src/main/persistence/loading-store/store-domain-composition.ts +++ b/src/main/persistence/loading-store/store-domain-composition.ts @@ -1,4 +1,5 @@ import type { StoreRuntimeState } from './store-runtime-state' +import type { Store } from './store' import { LoadedStateAdaptationOperations } from './loaded-state-adaptation' import { BackupRecoveryRotationOperations } from './backup-recovery-rotation' import { LoadedCohortMigrationOperations } from './loaded-cohort-migrations' @@ -108,7 +109,7 @@ export const STORE_DOMAIN_OPERATION_CLASSES = [ WriteFlushBarrierOperations ] as const -export function installStoreDomainContexts(target: object, domains: StoreDomains): void { +export function installStoreDomainContexts(target: Store, domains: StoreDomains): void { installWriteSchedulingOperationsContext(target, domains.scheduling) installPrimaryStateWriteOperationsContext(target, domains.writes) installProjectCollectionOperationsContext(target, domains.projects) diff --git a/src/main/persistence/loading-store/write-flush-barriers.ts b/src/main/persistence/loading-store/write-flush-barriers.ts index 1a80c77976f..c08d4367989 100644 --- a/src/main/persistence/loading-store/write-flush-barriers.ts +++ b/src/main/persistence/loading-store/write-flush-barriers.ts @@ -269,7 +269,7 @@ export function writeGithubCacheSnapshotSync(owner: WriteFlushBarrierOperations) } export function installWriteFlushBarrierOperationsContext( - target: object, + target: WriteFlushBarrierOperations, source: WriteFlushBarrierOperations ): void { Object.defineProperty(target, writeFlushBarrierOperationsContext, { diff --git a/src/main/persistence/loading-store/write-scheduling.ts b/src/main/persistence/loading-store/write-scheduling.ts index c78a5d0dfd4..0301da34a7e 100644 --- a/src/main/persistence/loading-store/write-scheduling.ts +++ b/src/main/persistence/loading-store/write-scheduling.ts @@ -64,7 +64,7 @@ export function scheduleSave(owner: WriteSchedulingOperations): void { } export function installWriteSchedulingOperationsContext( - target: object, + target: WriteSchedulingOperations, source: WriteSchedulingOperations ): void { Object.defineProperty(target, writeSchedulingOperationsContext, { diff --git a/src/main/persistence/tracking-repos/missing-local-worktree-metadata-pruning.test.ts b/src/main/persistence/tracking-repos/missing-local-worktree-metadata-pruning.test.ts index 0588a2f6dae..2b744f6cdf0 100644 --- a/src/main/persistence/tracking-repos/missing-local-worktree-metadata-pruning.test.ts +++ b/src/main/persistence/tracking-repos/missing-local-worktree-metadata-pruning.test.ts @@ -3,6 +3,7 @@ import { getDefaultPersistedState, getDefaultWorkspaceSession } from '../../../s import type { PersistedState } from '../../../shared/persisted-state-types' import type { Project } from '../../../shared/project-types' import type { Repo } from '../../../shared/repo-types' +import type { SshRemotePtyLease } from '../../../shared/ssh-types' import { worktreeWorkspaceKey } from '../../../shared/workspace-scope' import type { WorktreeMeta } from '../../../shared/worktree/meta-types' import { @@ -299,7 +300,7 @@ describe('pruneSessionlessMissingLocalWorktreeMetadataForRepo', () => { for (const worktreeId of allIds) { state.worktreeMeta[worktreeId] = makeMeta(worktreeId) } - const lease = (worktreeId: string, index: number, extra: object) => ({ + const lease = (worktreeId: string, index: number, extra: Partial) => ({ targetId: 'builder', ptyId: `pty-${index}`, worktreeId, diff --git a/src/main/pi/titlebar-extension-overlay-path.test.ts b/src/main/pi/titlebar-extension-overlay-path.test.ts index db5bfeedbd9..1a4ace7d352 100644 --- a/src/main/pi/titlebar-extension-overlay-path.test.ts +++ b/src/main/pi/titlebar-extension-overlay-path.test.ts @@ -8,7 +8,7 @@ const userDataDir = mkdtempSync(join(tmpdir(), 'orca-pi-overlay-path-userdata-') import { PiTitlebarExtensionService } from './titlebar-extension-service' -const PATH_SHAPED_PTY_ID = [ +const PATH_LIKE_PTY_ID = [ '50c010a2-bc8e-4eb1-8847-5812133ad6df', 'Users', 'dev', @@ -45,7 +45,7 @@ describe('PiTitlebarExtensionService legacy overlay paths', () => { const svc = new PiTitlebarExtensionService() try { - const env = svc.buildPtyEnv(PATH_SHAPED_PTY_ID, piHome, 'pi') + const env = svc.buildPtyEnv(PATH_LIKE_PTY_ID, piHome, 'pi') expect(env.PI_CODING_AGENT_DIR).toBeUndefined() expect(env.ORCA_PI_SOURCE_AGENT_DIR).toBe(piHome) @@ -61,12 +61,12 @@ describe('PiTitlebarExtensionService legacy overlay paths', () => { }) it('clears legacy raw path-shaped daemon overlays during teardown', () => { - const legacyOverlayDir = legacyOverlayPath('pi', PATH_SHAPED_PTY_ID) + const legacyOverlayDir = legacyOverlayPath('pi', PATH_LIKE_PTY_ID) mkdirSync(legacyOverlayDir, { recursive: true }) writeFileSync(join(legacyOverlayDir, 'stale.txt'), 'stale overlay') const svc = new PiTitlebarExtensionService() - svc.clearPty(PATH_SHAPED_PTY_ID) + svc.clearPty(PATH_LIKE_PTY_ID) expect(existsSync(legacyOverlayDir)).toBe(false) }) diff --git a/src/main/providers/local-pty-child-process-verdict.test.ts b/src/main/providers/local-pty-child-process-verdict.test.ts index b36f19fef50..d9d063172c5 100644 --- a/src/main/providers/local-pty-child-process-verdict.test.ts +++ b/src/main/providers/local-pty-child-process-verdict.test.ts @@ -1,4 +1,4 @@ -import type * as pty from 'node-pty' +import * as pty from 'node-pty' import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' const { resolveForegroundMock } = vi.hoisted(() => ({ resolveForegroundMock: vi.fn() })) @@ -7,6 +7,7 @@ vi.mock('./agent-foreground-process', () => ({ resolveAgentForegroundProcessWithAvailability: resolveForegroundMock, confirmShellForegroundProcess: vi.fn() })) +import { isRetiredPtyMaster } from '../pty/node-pty-master-fd-retirement' import { hasLocalPtyChildProcesses, inspectLocalPtyChildProcesses @@ -15,6 +16,8 @@ import { LocalPtyProvider } from './local-pty-provider' import { ptyProcesses, ptyShellName } from './local-pty-provider-state' import { inspectPtyProviderProcess } from './pty-process-inspection' +const POSIX_SHELL = '/bin/sh' + function registerPane(id: string, foreground: string | (() => string), shell?: string): void { const pane: pty.IPty = { pid: 4242, @@ -39,6 +42,32 @@ function registerPane(id: string, foreground: string | (() => string), shell?: s } } +/** + * A real node-pty whose master has been given up. The getter does not throw here -- it answers + * `POSIX_SHELL`, which is exactly the recorded shell name, so only the descriptor distinguishes + * this pane from an idle one. + */ +async function registerRetiredPane(id: string): Promise { + const term = pty.spawn(POSIX_SHELL, ['-c', 'exit 0'], { + name: 'xterm-256color', + cols: 80, + rows: 24, + cwd: process.cwd(), + env: { ...process.env } + }) + await new Promise((resolve) => { + term.onExit(() => resolve()) + }) + // `onExit` runs before node-pty's `_close()`, which is where the patch retires `_fd`. + await vi.waitFor(() => expect(isRetiredPtyMaster(term)).toBe(true), { + timeout: 10000, + interval: 10 + }) + ptyProcesses.set(id, term) + ptyShellName.set(id, POSIX_SHELL) + return term +} + beforeEach(() => { resolveForegroundMock.mockReset() resolveForegroundMock.mockResolvedValue({ available: true, processName: '/bin/zsh' }) @@ -49,6 +78,9 @@ afterEach(() => { ptyShellName.clear() }) +// Windows has no master fd to retire, and `WindowsTerminal.process` answers from the spawn name. +const describeOnPosix = process.platform === 'win32' ? describe.skip : describe + describe('inspectLocalPtyChildProcesses', () => { it('reports unverifiable when the pty fd cannot be read', () => { registerPane( @@ -58,8 +90,6 @@ describe('inspectLocalPtyChildProcesses', () => { }, '/bin/zsh' ) - - // Not `no-children`: the close guard reads that as "nothing is running here" and kills the pane. expect(inspectLocalPtyChildProcesses('pty-closed')).toBe('unverifiable') }) @@ -78,17 +108,37 @@ describe('inspectLocalPtyChildProcesses', () => { }) it('collapses uncertainty to false only in the boolean adapter', async () => { + let reads = 0 registerPane( 'pty-closed', () => { + reads += 1 throw new Error('EBADF: bad file descriptor') }, '/bin/zsh' ) + await expect(hasLocalPtyChildProcesses('pty-closed')).resolves.toBe(false) + // The `false` has to come from the failed read, not from an earlier short-circuit. + expect(reads).toBe(1) + }) +}) + +describeOnPosix('inspectLocalPtyChildProcesses on a retired master', () => { + it('reports unverifiable rather than reading the spawn file as an idle shell', async () => { + const term = await registerRetiredPane('pty-retired') + + // The mechanism is silent: this is the same string an idle pane reports. + expect(term.process).toBe(POSIX_SHELL) + // Not `no-children`: the close guard reads that as "nothing is running here" and kills the pane. + expect(inspectLocalPtyChildProcesses('pty-retired')).toBe('unverifiable') + }, 15000) + + it('collapses uncertainty to false only in the boolean adapter', async () => { + await registerRetiredPane('pty-retired') // The adapter exists for `IPtyProvider.hasChildProcesses`, which has no third slot. - await expect(hasLocalPtyChildProcesses('pty-closed')).resolves.toBe(false) - }) + await expect(hasLocalPtyChildProcesses('pty-retired')).resolves.toBe(false) + }, 15000) }) describe('inspectPtyProviderProcess child-process evidence', () => { @@ -107,7 +157,6 @@ describe('inspectPtyProviderProcess child-process evidence', () => { }, '/bin/zsh' ) - await expect(inspectPtyProviderProcess(provider, 'pty-closing')).resolves.toEqual({ foregroundProcess: '/bin/zsh', hasChildProcesses: false, @@ -139,4 +188,31 @@ describe('inspectPtyProviderProcess child-process evidence', () => { expect(inspection.hasChildProcesses).toBe(true) expect(inspection.childProcessEvidence).toBe('children') }) + + it('refuses to pair one panes foreground with its replacements children', async () => { + registerPane('pty-swapped', '/bin/zsh', '/bin/zsh') + resolveForegroundMock.mockImplementation(async () => { + // Cleanup plus reactivation lands a different IPty under the same id mid-read. + registerPane('pty-swapped', 'vim', '/bin/zsh') + return { available: true, processName: '/bin/zsh' } + }) + + await expect(inspectPtyProviderProcess(provider, 'pty-swapped')).resolves.toEqual({ + foregroundProcess: null, + hasChildProcesses: false, + childProcessEvidence: 'unverifiable' + }) + }) +}) + +describeOnPosix('inspectPtyProviderProcess on a retired master', () => { + const provider = new LocalPtyProvider() + + it('carries unverifiable child evidence beside the foreground it could still read', async () => { + await registerRetiredPane('pty-retired') + + const inspection = await inspectPtyProviderProcess(provider, 'pty-retired') + expect(inspection.hasChildProcesses).toBe(false) + expect(inspection.childProcessEvidence).toBe('unverifiable') + }, 15000) }) diff --git a/src/main/providers/local-pty-foreground-inspection.ts b/src/main/providers/local-pty-foreground-inspection.ts index eec6a19a621..d376124d7db 100644 --- a/src/main/providers/local-pty-foreground-inspection.ts +++ b/src/main/providers/local-pty-foreground-inspection.ts @@ -7,6 +7,7 @@ import { resolveAgentForegroundProcessWithAvailability } from './agent-foreground-process' import { buildPaneProcessFingerprint } from './posix-pane-foreground-fingerprint' +import { isRetiredPtyMaster } from '../pty/node-pty-master-fd-retirement' import { resolveForegroundFallbackProcess } from './local-pty-launch-helpers' import { ptyAgentForegroundContextPaths, @@ -22,11 +23,19 @@ import { import { readWindowsConsoleAttachedProcessIds } from './windows-console-attached-processes' import { isWindowsPtyJobReadable, readWindowsPtyJobProcessIds } from './windows-pty-job-membership' +/** + * A retired master does not fail loudly: the `process` getter answers with the spawn file, which + * equals the recorded shell and would otherwise read as a real "nothing is running here". Ask the + * descriptor before the name, because an unreadable PTY is not evidence that its children exited. + */ export function inspectLocalPtyChildProcesses(id: string): PtyChildProcessVerdict { const proc = ptyProcesses.get(id) if (!proc) { return 'no-children' } + if (isRetiredPtyMaster(proc)) { + return 'unverifiable' + } try { const foreground = proc.process const shell = ptyShellName.get(id) diff --git a/src/main/providers/local-pty-provider.ts b/src/main/providers/local-pty-provider.ts index 056a829d1dd..8dad9843ab6 100644 --- a/src/main/providers/local-pty-provider.ts +++ b/src/main/providers/local-pty-provider.ts @@ -130,7 +130,18 @@ export class LocalPtyProvider implements IPtyProvider { } async inspectProcess(id: string): Promise { + const proc = ptyProcesses.get(id) const foregroundProcess = await getLocalPtyForegroundProcess(id) + // Both fields have to describe one PTY: cleanup plus reactivation across the await above would + // otherwise pair the old pane's identity with the replacement's children. The child read below + // is synchronous, so this recheck is the last point either answer can drift. + if (ptyProcesses.get(id) !== proc) { + return { + foregroundProcess: null, + hasChildProcesses: false, + childProcessEvidence: 'unverifiable' + } + } const childProcessEvidence = inspectLocalPtyChildProcesses(id) return { foregroundProcess, diff --git a/src/main/pty/node-pty-master-fd-retirement.ts b/src/main/pty/node-pty-master-fd-retirement.ts new file mode 100644 index 00000000000..292578dc907 --- /dev/null +++ b/src/main/pty/node-pty-master-fd-retirement.ts @@ -0,0 +1,15 @@ +/** + * node-pty hands the master fd to libuv, and Orca's patch sets it to -1 in the same block that + * gives up the handle (config/patches/node-pty@1.1.0.patch). Past that point every fd-addressed + * answer is a stand-in rather than an error: the `process` getter names the spawn file instead of + * whatever `tcgetpgrp` would have reported, so callers that need a real observation have to ask + * about the descriptor first. Windows exposes no master fd, so it never reads as retired; an + * unpatched (relay-installed) node-pty never retires the number at all. + */ +export function isRetiredPtyMaster(proc: unknown): boolean { + if (typeof proc !== 'object' || proc === null || !('fd' in proc)) { + return false + } + const fd: unknown = proc.fd + return typeof fd === 'number' && fd < 0 +} diff --git a/src/main/runtime/agent-session-surface-release-transition.ts b/src/main/runtime/agent-session-surface-release-transition.ts index 61da9021a5f..3d1f6d33954 100644 --- a/src/main/runtime/agent-session-surface-release-transition.ts +++ b/src/main/runtime/agent-session-surface-release-transition.ts @@ -2,8 +2,8 @@ // // Every other release in the wire needs a probe, because every other release is about a process // somebody else started and nobody watched die. This one is different: the host stopped its own -// child through the adapter and the adapter proved the exit before this runs, so the evidence is -// `exit-observed` rather than an adjudicated absence. +// lease-owning provider root through the adapter. Its observed exit is sufficient because the +// lease follows that root, even when descendants remain `unverifiable`. // // The fence still moves. A released lease at the old fence would let a mutation a client queued // against the dead generation land on the next one. diff --git a/src/main/runtime/browser-client-download-transfer-store.ts b/src/main/runtime/browser-client-download-transfer-store.ts index 7da5042d7ea..c6c63b322fe 100644 --- a/src/main/runtime/browser-client-download-transfer-store.ts +++ b/src/main/runtime/browser-client-download-transfer-store.ts @@ -21,7 +21,11 @@ type RuntimeFileChannelHost = { statRuntimeFile(worktree: string, relativePath: string): Promise } -const stores = new WeakMap() +// Release runs from the lease registry, which only knows the runtime by id; the store itself is +// only ever created for a file-channel host. +type DownloadTransferRuntime = RuntimeFileChannelHost | { getRuntimeId(): string } + +const stores = new WeakMap() /** * Drops every staged download a page still owns. @@ -31,7 +35,7 @@ const stores = new WeakMap() * opened a file channel. */ export function releaseBrowserClientDownloadTransfersForPage( - runtime: object, + runtime: DownloadTransferRuntime, browserPageId: string ): Promise { return stores.get(runtime)?.releasePage(browserPageId) ?? Promise.resolve() diff --git a/src/main/runtime/browser-host-lease-download-transfer-cleanup.test.ts b/src/main/runtime/browser-host-lease-download-transfer-cleanup.test.ts index aaa78e6d45b..77b716218aa 100644 --- a/src/main/runtime/browser-host-lease-download-transfer-cleanup.test.ts +++ b/src/main/runtime/browser-host-lease-download-transfer-cleanup.test.ts @@ -18,7 +18,9 @@ function createRuntime() { return { runtime, removed } } -async function stageTransfer(runtime: object, browserPageId: string): Promise { +type FakeRuntime = ReturnType['runtime'] + +async function stageTransfer(runtime: FakeRuntime, browserPageId: string): Promise { await getBrowserClientDownloadTransferStore(runtime as never).accept({ transferId: `transfer-${browserPageId}`, browserPageId, diff --git a/src/main/runtime/fetch-remote-cache.test.ts b/src/main/runtime/fetch-remote-cache.test.ts index 5f0b8e249d6..b8a87ac9536 100644 --- a/src/main/runtime/fetch-remote-cache.test.ts +++ b/src/main/runtime/fetch-remote-cache.test.ts @@ -1,3 +1,5 @@ +import { worktreeCreateGit } from '../git/worktree-create-git-executor' +import { resolveGitAdmissionTier } from '../git/command-runner/git-operation-executor' import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' // Why: these tests cover the §3.3 Lifecycle rules on @@ -78,6 +80,41 @@ function mockFetchResults(results: unknown[]): void { } describe('OrcaRuntimeService.fetchRemoteWithCache', () => { + it.each([undefined, 'Ubuntu'])( + 'inherits create priority through fetch adapters on %s', + async (wslDistro) => + worktreeCreateGit.run(async () => { + gitExecFileAsyncMock.mockImplementation(async (argv: string[]) => { + expect(resolveGitAdmissionTier()).toBe('interactive') + return { + stdout: argv[0] === 'remote' ? 'origin\n' : '/priority-repo/.git\n', + stderr: '' + } + }) + const runtime = new OrcaRuntimeService() + const options = wslDistro ? { wslDistro } : {} + const base = await runtime.resolveRemoteTrackingBase( + '/priority-repo', + 'origin/main', + options + ) + expect(base).not.toBeNull() + if (!base) { + throw new Error('expected a remote base') + } + await expect(runtime.hasRemoteTrackingRef('/priority-repo', base, options)).resolves.toBe( + true + ) + await expect( + runtime.getOrStartRemoteTrackingBaseRefresh('/priority-repo', base, options) + ).resolves.toEqual({ ok: true }) + expect(fetchCallCount()).toBe(1) + for (const [, execOptions] of gitExecFileAsyncMock.mock.calls) { + expect(execOptions).toMatchObject({ cwd: '/priority-repo', ...options }) + } + }) + ) + beforeEach(() => { gitExecFileAsyncMock.mockReset() }) diff --git a/src/main/runtime/missing-worktree-terminal-reconciliation.ts b/src/main/runtime/missing-worktree-terminal-reconciliation.ts index 11f888a5404..c8d5e06900c 100644 --- a/src/main/runtime/missing-worktree-terminal-reconciliation.ts +++ b/src/main/runtime/missing-worktree-terminal-reconciliation.ts @@ -24,6 +24,7 @@ function withSharedProcessSnapshot(provider: IPtyProvider): IPtyProvider { // receiver, a provider whose own method called `this.listProcesses()` // would silently read this sweep's cached snapshot instead of the live // host — the batching must not leak past the calls it was built for. + // oxlint-disable-next-line anti-slop/no-reflect-get -- Proxy get trap default forward. const member: unknown = Reflect.get(target, property) return typeof member === 'function' ? member.bind(target) : member } diff --git a/src/main/runtime/mobile-subscribe-integration.test.ts b/src/main/runtime/mobile-subscribe-integration.test.ts index 61e064681c1..b3be748d5f0 100644 --- a/src/main/runtime/mobile-subscribe-integration.test.ts +++ b/src/main/runtime/mobile-subscribe-integration.test.ts @@ -87,8 +87,24 @@ const store = { } } +/** Reclaim clears protected retention maps that no public reader exposes. */ +class ObservableRuntime extends OrcaRuntimeService { + get restoreTimers(): typeof this.pendingRestoreTimers { + return this.pendingRestoreTimers + } + get softLeavers(): typeof this.pendingSoftLeavers { + return this.pendingSoftLeavers + } + get fitOverrides(): typeof this.terminalFitOverrides { + return this.terminalFitOverrides + } + get drivers(): typeof this.terminalDrivers { + return this.terminalDrivers + } +} + function createRuntime() { - const runtime = new OrcaRuntimeService(store) + const runtime = new ObservableRuntime(store) const ptySizes = new Map() ptySizes.set('pty-1', { cols: 150, rows: 40 }) ptySizes.set('pty-2', { cols: 120, rows: 35 }) @@ -865,9 +881,9 @@ describe('mobile subscribe integration', () => { runtime.handleMobileUnsubscribe('pty-1', 'client-a') await runtime.handleMobileSubscribe('pty-1', 'client-b', { cols: 40, rows: 18 }) - const pendingRestore = Reflect.get(runtime, 'pendingRestoreTimers') as Map + const pendingRestore = runtime.restoreTimers pendingRestore.set('pty-1', { timer: setTimeout(() => {}, 60_000), clientId: 'client-b' }) - const pendingSoft = Reflect.get(runtime, 'pendingSoftLeavers') as Map + const pendingSoft = runtime.softLeavers expect(pendingSoft.has('pty-1')).toBe(true) await runtime.reclaimTerminalForDesktop('pty-1') expect(pendingRestore.has('pty-1')).toBe(false) @@ -878,10 +894,10 @@ describe('mobile subscribe integration', () => { const { runtime } = createRuntime() await runtime.handleMobileSubscribe('pty-1', 'client-a', { cols: 45, rows: 20 }) runtime.handleMobileUnsubscribe('pty-1', 'client-a') - ;(Reflect.get(runtime, 'terminalFitOverrides') as Map).delete('pty-1') + runtime.fitOverrides.delete('pty-1') - const pendingRestore = Reflect.get(runtime, 'pendingRestoreTimers') as Map - const pendingSoft = Reflect.get(runtime, 'pendingSoftLeavers') as Map + const pendingRestore = runtime.restoreTimers + const pendingSoft = runtime.softLeavers await runtime.reclaimTerminalForDesktop('pty-1') expect(pendingRestore.has('pty-1')).toBe(false) expect(pendingSoft.has('pty-1')).toBe(false) @@ -891,15 +907,11 @@ describe('mobile subscribe integration', () => { const { runtime } = createRuntime() await runtime.handleMobileSubscribe('pty-1', 'client-a', { cols: 45, rows: 20 }) runtime.handleMobileUnsubscribe('pty-1', 'client-a') - ;(Reflect.get(runtime, 'terminalFitOverrides') as Map).delete('pty-1') - ;( - Reflect.get(runtime, 'terminalDrivers') as { - set: (ptyId: string, driver: { kind: 'idle' }) => void - } - ).set('pty-1', { kind: 'idle' }) + runtime.fitOverrides.delete('pty-1') + runtime.drivers.set('pty-1', { kind: 'idle' }) - const pendingRestore = Reflect.get(runtime, 'pendingRestoreTimers') as Map - const pendingSoft = Reflect.get(runtime, 'pendingSoftLeavers') as Map + const pendingRestore = runtime.restoreTimers + const pendingSoft = runtime.softLeavers expect(await runtime.reclaimTerminalForDesktop('pty-1')).toBe(false) expect(pendingRestore.has('pty-1')).toBe(false) expect(pendingSoft.has('pty-1')).toBe(false) diff --git a/src/main/runtime/orca-runtime-bind-pty-incarnation-handle.ts b/src/main/runtime/orca-runtime-bind-pty-incarnation-handle.ts index 3f1a79beb77..6ab9eec8563 100644 --- a/src/main/runtime/orca-runtime-bind-pty-incarnation-handle.ts +++ b/src/main/runtime/orca-runtime-bind-pty-incarnation-handle.ts @@ -54,15 +54,17 @@ export class OrcaRuntimeWithBindPtyIncarnationHandle extends OrcaRuntimeWithBuil for (const [ptyId, retained] of this.handleByPtyIncarnation) { const pty = this.ptysById.get(ptyId) const leaves = this.getLeavesForPty(ptyId) - if ( - !pty || - pty.incarnationId !== retained.incarnationId || - leaves.length !== 1 || - this.handleByPtyId.has(ptyId) - ) { + // Why: a handle issued before the host reported the incarnation is un-fenced, so + // learning it is not a replacement; only a known-to-different incarnation is. + const incarnationReplaced = + retained.incarnationId !== null && + pty !== undefined && + pty.incarnationId !== retained.incarnationId + if (!pty || incarnationReplaced || leaves.length !== 1 || this.handleByPtyId.has(ptyId)) { this.invalidatePtyIncarnationHandle(ptyId) continue } + retained.incarnationId = pty.incarnationId this.bindPtyIncarnationHandle(retained, leaves[0]) } } diff --git a/src/main/runtime/orca-runtime-browser-client-hosted.test.ts b/src/main/runtime/orca-runtime-browser-client-hosted.test.ts index e0a901a0f96..f9f69834463 100644 --- a/src/main/runtime/orca-runtime-browser-client-hosted.test.ts +++ b/src/main/runtime/orca-runtime-browser-client-hosted.test.ts @@ -312,9 +312,7 @@ describe('RuntimeBrowserCommands client-hosted routing', () => { .spyOn(registry, 'publishClientPage') .mockImplementation((input) => { order.push('publish') - return Reflect.apply(RuntimeBrowserPageRegistry.prototype.publishClientPage, registry, [ - input - ]) + return RuntimeBrowserPageRegistry.prototype.publishClientPage.call(registry, input) }) const notifyHeadlessBrowserSessionTabsChanged = vi.fn(() => order.push('notify')) const issueClientPageCommand = vi.fn(() => { diff --git a/src/main/runtime/orca-runtime-create-managed-remote-worktree.ts b/src/main/runtime/orca-runtime-create-managed-remote-worktree.ts index dfe1124cf6f..5d2cea95b5e 100644 --- a/src/main/runtime/orca-runtime-create-managed-remote-worktree.ts +++ b/src/main/runtime/orca-runtime-create-managed-remote-worktree.ts @@ -1,5 +1,6 @@ // @ts-nocheck -- mechanically split from OrcaRuntimeService; behavior is covered by AST equivalence and characterization tests. import { OrcaRuntimeWithCreateManagedWorktree } from './orca-runtime-create-managed-worktree' +import type { LocalGitExecOptions } from '../git/repo-default-base-ref' import type { Repo } from '../../shared/repo-types' import type { RuntimeRemoteWorktreeCreateArgs } from './runtime-remote-worktree-create-request' import type { CreateWorktreeResult } from '../../shared/worktree/create-types' @@ -51,7 +52,7 @@ export class OrcaRuntimeWithCreateManagedRemoteWorktree extends OrcaRuntimeWithC async getCanonicalFetchKey( repoPath: string, remote: string, - gitOptions: { wslDistro?: string } = {} + gitOptions: LocalGitExecOptions = {} ): Promise { return await this.remoteFetches.getCanonicalFetchKey(repoPath, remote, gitOptions) } @@ -59,7 +60,7 @@ export class OrcaRuntimeWithCreateManagedRemoteWorktree extends OrcaRuntimeWithC async getOrStartRemoteFetch( repoPath: string, remote: string, - gitOptions: { wslDistro?: string } = {} + gitOptions: LocalGitExecOptions = {} ): Promise { return await this.remoteFetches.getOrStartRemoteFetch(repoPath, remote, gitOptions) } @@ -67,7 +68,7 @@ export class OrcaRuntimeWithCreateManagedRemoteWorktree extends OrcaRuntimeWithC async getOrStartRemoteTrackingBaseRefresh( repoPath: string, base: RemoteTrackingBase, - gitOptions: { wslDistro?: string } = {} + gitOptions: LocalGitExecOptions = {} ): Promise { return await this.remoteFetches.getOrStartRemoteTrackingBaseRefresh(repoPath, base, gitOptions) } @@ -75,7 +76,7 @@ export class OrcaRuntimeWithCreateManagedRemoteWorktree extends OrcaRuntimeWithC async fetchRemoteWithCache( repoPath: string, remote: string, - gitOptions: { wslDistro?: string } = {} + gitOptions: LocalGitExecOptions = {} ): Promise { await this.remoteFetches.fetchRemoteWithCache(repoPath, remote, gitOptions) } @@ -83,7 +84,7 @@ export class OrcaRuntimeWithCreateManagedRemoteWorktree extends OrcaRuntimeWithC async resolveRemoteTrackingBase( repoPath: string, baseBranch: string, - gitOptions: { wslDistro?: string } = {} + gitOptions: LocalGitExecOptions = {} ): Promise { return await this.remoteFetches.resolveRemoteTrackingBase(repoPath, baseBranch, gitOptions) } @@ -91,7 +92,7 @@ export class OrcaRuntimeWithCreateManagedRemoteWorktree extends OrcaRuntimeWithC async hasRemoteTrackingRef( repoPath: string, base: RemoteTrackingBase, - gitOptions: { wslDistro?: string } = {} + gitOptions: LocalGitExecOptions = {} ): Promise { return await this.remoteFetches.hasRemoteTrackingRef(repoPath, base, gitOptions) } diff --git a/src/main/runtime/orca-runtime-create-managed-worktree.ts b/src/main/runtime/orca-runtime-create-managed-worktree.ts index f17a2285b83..35968150c8e 100644 --- a/src/main/runtime/orca-runtime-create-managed-worktree.ts +++ b/src/main/runtime/orca-runtime-create-managed-worktree.ts @@ -8,6 +8,7 @@ import { resolveWorktreeCreateRoute } from '../worktree-create-execution-host-ro import { ExecutionHostNotDispatchableError } from '../providers/execution-host-provider-dispatch' import { createRuntimeFolderWorktree } from './runtime-folder-worktree-create' import { createRuntimeLocalManagedWorktree } from './runtime-local-worktree-create' +import type { PreparationRearmHolder } from '../worktree-create-preparation' import { prepareRuntimeLocalWorktreeSetup } from './runtime-local-worktree-setup' import { invalidateAuthorizedRootsCache } from '../ipc/filesystem-auth' import { startRuntimeLocalWorktreeTerminals } from './runtime-local-worktree-terminal-startup' @@ -15,6 +16,21 @@ import { startRuntimeLocalWorktreeTerminals } from './runtime-local-worktree-ter export class OrcaRuntimeWithCreateManagedWorktree extends OrcaRuntimeWithGetWorktreeTerminalProvisioningHost { async createManagedWorktree( args: RuntimeManagedWorktreeCreateArgs + ): Promise { + // Why a holder fired in `finally`: consuming a prepared checkout empties a pool slot, so a + // create that fails anywhere after that — include copy, push target, terminal startup — must + // still arm the replacement. On success it fires last, once the startup terminals are up. + const rearm: PreparationRearmHolder = { fire: () => {} } + try { + return await this.performManagedWorktreeCreate(args, rearm) + } finally { + rearm.fire() + } + } + + private async performManagedWorktreeCreate( + args: RuntimeManagedWorktreeCreateArgs, + rearm: PreparationRearmHolder ): Promise { if (!this.store) { throw new Error('runtime_unavailable') @@ -158,7 +174,8 @@ export class OrcaRuntimeWithCreateManagedWorktree extends OrcaRuntimeWithGetWork fetchRemote: (path, remote, ...options) => this.fetchRemoteWithCache(path, remote, ...options), onWorktreeMetadataPersisted: (persistedWorktree) => - this.recordCreatedWorktreeLineage(persistedWorktree, lineageResolution) + this.recordCreatedWorktreeLineage(persistedWorktree, lineageResolution), + rearm }) const settings = createSettings const { lineage, workspaceLineage, warnings: lineageWarnings } = metadataResult diff --git a/src/main/runtime/orca-runtime-remove-managed-worktree.ts b/src/main/runtime/orca-runtime-remove-managed-worktree.ts index 9cb95e5d354..10f9dd91ae1 100644 --- a/src/main/runtime/orca-runtime-remove-managed-worktree.ts +++ b/src/main/runtime/orca-runtime-remove-managed-worktree.ts @@ -7,7 +7,10 @@ import { import type { RemoveWorktreeResult } from '../../shared/worktree/create-types' import { getRepoExecutionHostId, parseExecutionHostId } from '../../shared/execution-host' import { preservedBranchCleanupScopeKey } from '../../shared/preserved-branch-cleanup' -import { getRuntimeWorktreeRemovalOptionsKey } from './runtime-worktree-selection' +import { + getRuntimeWorktreeRemovalOptionsKey, + type RemoveManagedWorktreeOptions +} from './runtime-worktree-selection' import { withWorktreeSpan } from '../observability/instrumentation' import { invalidateAuthorizedRootsCache } from '../ipc/filesystem-auth' import { resolveWorktreeRemovalRoute } from '../worktree-removal-execution-host-route' @@ -30,11 +33,15 @@ import { deleteRemoteWorktreeHistory } from '../remote-worktree-history-cleanup' export class OrcaRuntimeWithRemoveManagedWorktree extends OrcaRuntimeWithCreateManagedRemoteWorktree { async removeManagedWorktree( worktreeSelector: string, - force = false, - runHooks = false, - allowUnverifiedPtyStop = false, - hostId?: string + options: RemoveManagedWorktreeOptions = {} ): Promise { + const { + force = false, + runHooks = false, + allowUnverifiedPtyStop = false, + allowFailedArchiveHook = false, + hostId + } = options if (!this.store) { throw new Error('runtime_unavailable') } @@ -45,7 +52,12 @@ export class OrcaRuntimeWithRemoveManagedWorktree extends OrcaRuntimeWithCreateM worktreeId: removalTarget.id, hostId: cleanupHostId }) - const optionsKey = getRuntimeWorktreeRemovalOptionsKey(force, runHooks, allowUnverifiedPtyStop) + const optionsKey = getRuntimeWorktreeRemovalOptionsKey({ + force, + runHooks, + allowUnverifiedPtyStop, + allowFailedArchiveHook + }) const inFlightRemoval = this.removeManagedWorktreeInFlight.get( cleanupScopeKey, removalTarget.id, @@ -190,6 +202,8 @@ export class OrcaRuntimeWithRemoveManagedWorktree extends OrcaRuntimeWithCreateM } if (route.kind === 'ssh') { return removeRuntimeRegisteredRemoteWorktree({ + runHooks, + allowFailedArchiveHook, repo, target: removalTarget, registeredWorktree, @@ -240,6 +254,7 @@ export class OrcaRuntimeWithRemoveManagedWorktree extends OrcaRuntimeWithCreateM hasLocalOptions: hasLocalWorktreeGitOptions, force, runHooks, + allowFailedArchiveHook, allowUnverifiedPtyStop, deleteBranch, acquireWatcherRemoval: this.acquireFileWatcherRemoval, diff --git a/src/main/runtime/orca-runtime-terminal-handle-incarnation.test.ts b/src/main/runtime/orca-runtime-terminal-handle-incarnation.test.ts index 9765465fdf0..bac59e614b2 100644 --- a/src/main/runtime/orca-runtime-terminal-handle-incarnation.test.ts +++ b/src/main/runtime/orca-runtime-terminal-handle-incarnation.test.ts @@ -107,6 +107,40 @@ describe('runtime terminal handle incarnation fencing', () => { await expect(runtime.readTerminal(handle)).resolves.toMatchObject({ handle, status: 'running' }) }) + it('keeps a listed handle when graph sync learns the incarnation after issue', async () => { + // Daemon-hosted PTYs are recorded from first output before the spawn commit reports an + // incarnation, so the handle is issued un-fenced and must survive learning it. + const { runtime } = makeRuntime() + runtime.registerPty(PTY_ID, WORKTREE_ID, 'target', { tabId: TAB_ID, leafId: LEAF_ID }) + syncGraph(runtime) + const [listed] = (await runtime.listTerminals()).terminals + + register(runtime, 'incarnation-learned') + syncGraph(runtime) + + await expect(runtime.readTerminal(listed.handle)).resolves.toMatchObject({ + handle: listed.handle, + status: 'running' + }) + }) + + it('stales a listed handle when graph sync sees a replaced incarnation', async () => { + const { runtime } = makeRuntime() + register(runtime, 'incarnation-old') + syncGraph(runtime) + const [listed] = (await runtime.listTerminals()).terminals + + // Rotate the record directly so reconcile is the only fence exercised. + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: test reaches the runtime's protected pty record map to bypass the registerPty fence. + const internals = runtime as unknown as { + ptysById: Map + } + internals.ptysById.get(PTY_ID)!.incarnationId = 'incarnation-new' + syncGraph(runtime) + + await expect(runtime.readTerminal(listed.handle)).rejects.toThrow('terminal_handle_stale') + }) + it('invalidates a direct handle when a reused PTY id gets a new incarnation', async () => { const { runtime, writes } = makeRuntime() const staleHandle = runtime.preAllocateHandleForPty(PTY_ID) diff --git a/src/main/runtime/orca-runtime-test-mocks.spec.ts b/src/main/runtime/orca-runtime-test-mocks.spec.ts index 221abb8131e..1203f069a68 100644 --- a/src/main/runtime/orca-runtime-test-mocks.spec.ts +++ b/src/main/runtime/orca-runtime-test-mocks.spec.ts @@ -288,3 +288,6 @@ export type { WorkspaceLineage, WorktreeLineage } from '../../shared/worktree/li export type { WorkspaceSessionState } from '../../shared/workspace-session-state-types' export type { Worktree } from '../../shared/worktree/types' export type { WorktreeMeta } from '../../shared/worktree/meta-types' + +export const resolveDefaultBaseRefWithLocalGit = + importedValues.exportedResolveDefaultBaseRefWithLocalGit diff --git a/src/main/runtime/orca-runtime-test-mocks/imported-values.spec.ts b/src/main/runtime/orca-runtime-test-mocks/imported-values.spec.ts index bf7e12280da..d0a0bae397f 100644 --- a/src/main/runtime/orca-runtime-test-mocks/imported-values.spec.ts +++ b/src/main/runtime/orca-runtime-test-mocks/imported-values.spec.ts @@ -48,7 +48,11 @@ import { getDefaultTabsLaunch, shouldRunSetupForCreate } from '../../effective-hook-config' -import { getBaseRefDefault, getBranchConflictKind } from '../../git/repo' +import { + getBaseRefDefault, + getBranchConflictKind, + resolveDefaultBaseRefWithLocalGit +} from '../../git/repo' import { OrchestrationDb as RuntimeOrchestrationDb } from '../orchestration/db' import { AUTHORITATIVE_TERMINAL_SNAPSHOT_TIMEOUT_MS, @@ -248,3 +252,5 @@ export const exportedVi = vi export const exportedWin32 = win32 export const exportedWorktreePathComparison = worktreePathComparison export const exportedWriteFile = writeFile + +export const exportedResolveDefaultBaseRefWithLocalGit = resolveDefaultBaseRefWithLocalGit diff --git a/src/main/runtime/orca-runtime-test-mocks/setup.spec.ts b/src/main/runtime/orca-runtime-test-mocks/setup.spec.ts index 664fc95b3ec..f85c353575e 100644 --- a/src/main/runtime/orca-runtime-test-mocks/setup.spec.ts +++ b/src/main/runtime/orca-runtime-test-mocks/setup.spec.ts @@ -555,6 +555,13 @@ vi.mock('../../git/repo', async (importOriginal) => { .mockImplementation((path: string, options?: { wslDistro?: string }) => options?.wslDistro ? actualGetBaseRefDefault(path, options) : Promise.resolve('origin/main') ), + resolveDefaultBaseRefWithLocalGit: vi + .fn() + .mockImplementation((options: { cwd: string; wslDistro?: string }) => + options.wslDistro + ? actualGetBaseRefDefault(options.cwd, options) + : Promise.resolve('origin/main') + ), getBranchConflictKind: vi.fn().mockResolvedValue(null) } }) diff --git a/src/main/runtime/orca-runtime-tests/local-worktree-creation-part-02.spec.ts b/src/main/runtime/orca-runtime-tests/local-worktree-creation-part-02.spec.ts index a12ffabcd61..195f22e7894 100644 --- a/src/main/runtime/orca-runtime-tests/local-worktree-creation-part-02.spec.ts +++ b/src/main/runtime/orca-runtime-tests/local-worktree-creation-part-02.spec.ts @@ -63,7 +63,9 @@ describe('OrcaRuntimeService', () => { createdWorktree.path, 'feature/fix', 'abc123', - false + false, + false, + {} ) expect(gitSpy).toHaveBeenCalledWith( ['branch', '--set-upstream-to', 'origin/feature/fix', 'feature/fix'], @@ -119,7 +121,9 @@ describe('OrcaRuntimeService', () => { createdWorktree.path, 'feature/fix', sha, - false + false, + false, + {} ) expect(result.worktree).toMatchObject({ path: createdWorktree.path, @@ -188,7 +192,9 @@ describe('OrcaRuntimeService', () => { createdWorktree.path, 'feature/bitbucket', 'abc123', - false + false, + false, + {} ) expect(result.worktree).toMatchObject({ path: createdWorktree.path, @@ -249,7 +255,9 @@ describe('OrcaRuntimeService', () => { createdWorktree.path, 'feature/fix-2', 'abc123', - false + false, + false, + {} ) } finally { gitSpy.mockRestore() @@ -296,7 +304,9 @@ describe('OrcaRuntimeService', () => { createdWorktree.path, 'feature/fix-2', 'abc123', - false + false, + false, + {} ) } finally { gitSpy.mockRestore() @@ -353,7 +363,9 @@ describe('OrcaRuntimeService', () => { createdWorktree.path, 'feature/fix-2', 'abc123', - false + false, + false, + {} ) } finally { gitSpy.mockRestore() @@ -402,7 +414,9 @@ describe('OrcaRuntimeService', () => { createdWorktree.path, 'feature/fix-2', 'abc123', - false + false, + false, + {} ) } finally { gitSpy.mockRestore() diff --git a/src/main/runtime/orca-runtime-tests/local-worktree-creation.spec.ts b/src/main/runtime/orca-runtime-tests/local-worktree-creation.spec.ts index 3dcd2d0584c..0669ebe8279 100644 --- a/src/main/runtime/orca-runtime-tests/local-worktree-creation.spec.ts +++ b/src/main/runtime/orca-runtime-tests/local-worktree-creation.spec.ts @@ -6,7 +6,7 @@ import { computeWorktreePathMock, deleteWorktreeHistoryDirMock, ensurePathWithinWorkspaceMock, - getBaseRefDefault, + resolveDefaultBaseRefWithLocalGit, getBranchConflictKind, getPRForBranchMock, gitRunner, @@ -348,7 +348,7 @@ describe('OrcaRuntimeService', () => { suggestLocalBaseRefUpdate: true } ) - expect(getBaseRefDefault).toHaveBeenCalled() + expect(resolveDefaultBaseRefWithLocalGit).toHaveBeenCalledWith({ cwd: TEST_REPO_PATH }) } finally { getReposSpy.mockRestore() gitSpy.mockRestore() @@ -398,7 +398,9 @@ describe('OrcaRuntimeService', () => { createdWorktree.path, 'local-branch-base', 'develop', - false + false, + false, + {} ) } finally { getReposSpy.mockRestore() @@ -452,7 +454,9 @@ describe('OrcaRuntimeService', () => { createdWorktree.path, 'slash-local-base', 'team/feature', - false + false, + false, + {} ) expect(gitSpy).not.toHaveBeenCalledWith( [ @@ -547,7 +551,9 @@ describe('OrcaRuntimeService', () => { '/tmp/workspaces/feature-something', 'feature/something', 'origin/feature/something', - false + false, + false, + {} ) expect(resolveLocalGitUsernameMock).not.toHaveBeenCalled() expect(result.worktree).toMatchObject({ diff --git a/src/main/runtime/orca-runtime-tests/ssh-worktree-lifecycle-part-02.spec.ts b/src/main/runtime/orca-runtime-tests/ssh-worktree-lifecycle-part-02.spec.ts index 7af4da3957c..678ea23eb1d 100644 --- a/src/main/runtime/orca-runtime-tests/ssh-worktree-lifecycle-part-02.spec.ts +++ b/src/main/runtime/orca-runtime-tests/ssh-worktree-lifecycle-part-02.spec.ts @@ -396,7 +396,7 @@ describe('OrcaRuntimeService', () => { }) try { - await runtime.removeManagedWorktree('path:/remote/feature', true, false) + await runtime.removeManagedWorktree('path:/remote/feature', { force: true, runHooks: false }) } finally { unregisterSshGitProvider('ssh-1') } @@ -472,7 +472,7 @@ describe('OrcaRuntimeService', () => { runtime.registerPty('pty-local-same-id', `${TEST_REPO_ID}::/remote/feature`, null) try { - await runtime.removeManagedWorktree('path:/remote/feature', true, false) + await runtime.removeManagedWorktree('path:/remote/feature', { force: true, runHooks: false }) } finally { unregisterSshGitProvider('ssh-1') } @@ -519,9 +519,9 @@ describe('OrcaRuntimeService', () => { const runtime = new OrcaRuntimeService(remoteStore as never) try { - await expect(runtime.removeManagedWorktree('path:/remote/repo', true)).rejects.toThrow( - 'Refusing to delete protected worktree path: /remote/repo' - ) + await expect( + runtime.removeManagedWorktree('path:/remote/repo', { force: true }) + ).rejects.toThrow('Refusing to delete protected worktree path: /remote/repo') } finally { unregisterSshGitProvider('ssh-1') } diff --git a/src/main/runtime/orca-runtime-tests/ssh-worktree-lifecycle.spec.ts b/src/main/runtime/orca-runtime-tests/ssh-worktree-lifecycle.spec.ts index 56439afceaf..0d9886aade6 100644 --- a/src/main/runtime/orca-runtime-tests/ssh-worktree-lifecycle.spec.ts +++ b/src/main/runtime/orca-runtime-tests/ssh-worktree-lifecycle.spec.ts @@ -337,7 +337,9 @@ describe('OrcaRuntimeService', () => { created.path, 'folder-child', 'origin/main', - false + false, + false, + {} ) expect(result.lineage).toBeNull() expect(result.workspaceLineage).toMatchObject({ diff --git a/src/main/runtime/orca-runtime-tests/terminal-listing.spec.ts b/src/main/runtime/orca-runtime-tests/terminal-listing.spec.ts index 9d87b49f904..fae08b482fb 100644 --- a/src/main/runtime/orca-runtime-tests/terminal-listing.spec.ts +++ b/src/main/runtime/orca-runtime-tests/terminal-listing.spec.ts @@ -436,10 +436,11 @@ describe('OrcaRuntimeService', () => { throw new Error('onPtyData should use the PTY leaf index') } } + // oxlint-disable-next-line anti-slop/no-reflect-get -- Proxy get trap default forward. const value = Reflect.get(target, prop, target) return typeof value === 'function' ? value.bind(target) : value } - }) as Map + }) runtime.onPtyData(`pty-${targetIndex}`, 'hello indexed\n', 123) diff --git a/src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-02.spec.ts b/src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-02.spec.ts index 16ad2bb818e..0c7f99da477 100644 --- a/src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-02.spec.ts +++ b/src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-02.spec.ts @@ -298,7 +298,7 @@ describe('OrcaRuntimeService', () => { .mockResolvedValue([]) try { - const result = await runtime.removeManagedWorktree(TEST_WORKTREE_ID, true) + const result = await runtime.removeManagedWorktree(TEST_WORKTREE_ID, { force: true }) expect(result).toEqual({ preservedBranch: { branchName: 'feature/foo', head: 'abc' }, @@ -340,7 +340,9 @@ describe('OrcaRuntimeService', () => { ) try { - await expect(runtime.removeManagedWorktree(TEST_WORKTREE_ID, true)).rejects.toThrow( + await expect( + runtime.removeManagedWorktree(TEST_WORKTREE_ID, { force: true }) + ).rejects.toThrow( `Failed to force delete worktree at ${TEST_WORKTREE_PATH}. error: failed to delete deep/file.txt: Filename too long` ) expect(removePathSpy).not.toHaveBeenCalled() @@ -387,7 +389,7 @@ describe('OrcaRuntimeService', () => { }) try { - const result = await runtime.removeManagedWorktree(worktreeId, true) + const result = await runtime.removeManagedWorktree(worktreeId, { force: true }) expect(result).toEqual({ preservedBranch: { branchName: 'feature/foo', head: 'abc' } @@ -425,9 +427,9 @@ describe('OrcaRuntimeService', () => { vi.mocked(listWorktreesStrict).mockResolvedValue(registeredWorktrees) vi.mocked(removeWorktree).mockResolvedValue({}) - await expect(runtime.removeManagedWorktree(worktreeId, true, false)).rejects.toThrow( - 'Worktree is locked by Git. Lock reason: active agent session' - ) + await expect( + runtime.removeManagedWorktree(worktreeId, { force: true, runHooks: false }) + ).rejects.toThrow('Worktree is locked by Git. Lock reason: active agent session') expect(removeWorktree).not.toHaveBeenCalled() expect(removeWorktreeMeta).not.toHaveBeenCalled() diff --git a/src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-03.spec.ts b/src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-03.spec.ts index 06982cf179e..9006502ad73 100644 --- a/src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-03.spec.ts +++ b/src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-03.spec.ts @@ -94,7 +94,12 @@ describe('OrcaRuntimeService', () => { const runtime = createWorktreeRemovalRuntime(runtimeStore) try { - await runtime.removeManagedWorktree(TEST_WORKTREE_ID, false, false, false, 'ssh:ssh-1') + await runtime.removeManagedWorktree(TEST_WORKTREE_ID, { + force: false, + runHooks: false, + allowUnverifiedPtyStop: false, + hostId: 'ssh:ssh-1' + }) expect(provider.removeWorktree).toHaveBeenCalledWith(TEST_WORKTREE_PATH, false) expect(metaById[TEST_WORKTREE_ID]?.hostId).toBe('local') const result = await runtime.forceDeletePreservedBranch( @@ -181,8 +186,8 @@ describe('OrcaRuntimeService', () => { return {} }) - const first = runtime.removeManagedWorktree(TEST_WORKTREE_ID, true) - const second = runtime.removeManagedWorktree(TEST_WORKTREE_ID, true) + const first = runtime.removeManagedWorktree(TEST_WORKTREE_ID, { force: true }) + const second = runtime.removeManagedWorktree(TEST_WORKTREE_ID, { force: true }) await removeStarted.promise await Promise.resolve() @@ -238,14 +243,18 @@ describe('OrcaRuntimeService', () => { registerSshGitProvider('host-b', provider as never) try { - const local = runtime.removeManagedWorktree(TEST_WORKTREE_ID, true, false, false, 'local') - const remote = runtime.removeManagedWorktree( - TEST_WORKTREE_ID, - true, - false, - false, - 'ssh:host-b' - ) + const local = runtime.removeManagedWorktree(TEST_WORKTREE_ID, { + force: true, + runHooks: false, + allowUnverifiedPtyStop: false, + hostId: 'local' + }) + const remote = runtime.removeManagedWorktree(TEST_WORKTREE_ID, { + force: true, + runHooks: false, + allowUnverifiedPtyStop: false, + hostId: 'ssh:host-b' + }) await bothStarted.promise expect(removeWorktree).toHaveBeenCalledTimes(1) @@ -271,7 +280,7 @@ describe('OrcaRuntimeService', () => { const first = runtime.removeManagedWorktree(TEST_WORKTREE_ID) await removeStarted.promise - await expect(runtime.removeManagedWorktree(TEST_WORKTREE_ID, true)).rejects.toThrow( + await expect(runtime.removeManagedWorktree(TEST_WORKTREE_ID, { force: true })).rejects.toThrow( 'Worktree deletion already in progress' ) @@ -292,7 +301,7 @@ describe('OrcaRuntimeService', () => { try { vi.mocked(listWorktrees).mockResolvedValue([]) - await expect(runtime.removeManagedWorktree(worktreeId, true)).resolves.toEqual({}) + await expect(runtime.removeManagedWorktree(worktreeId, { force: true })).resolves.toEqual({}) expect(removeWorktree).not.toHaveBeenCalled() // The repo resolved to the local host, so the metadata purge names it — @@ -458,7 +467,9 @@ describe('OrcaRuntimeService', () => { }) try { - await expect(runtime.removeManagedWorktree(`id:${worktreeId}`, true)).resolves.toEqual({}) + await expect( + runtime.removeManagedWorktree(`id:${worktreeId}`, { force: true }) + ).resolves.toEqual({}) } finally { unregisterSshGitProvider(repo.connectionId) unregisterSshFilesystemProvider(repo.connectionId) @@ -513,7 +524,7 @@ describe('OrcaRuntimeService', () => { try { vi.mocked(listWorktrees).mockResolvedValue([]) - await expect(runtime.removeManagedWorktree(worktreeId, true)).resolves.toEqual({}) + await expect(runtime.removeManagedWorktree(worktreeId, { force: true })).resolves.toEqual({}) await expect(lstat(orphanPath)).rejects.toMatchObject({ code: 'ENOENT' }) expect(closeLocalWatcherForWorktreePathMock).toHaveBeenCalledWith( @@ -586,7 +597,7 @@ describe('OrcaRuntimeService', () => { expect(removeWorktree).not.toHaveBeenCalled() expect(removeWorktreeMeta).not.toHaveBeenCalled() - await expect(runtime.removeManagedWorktree(worktreeId, true)).resolves.toEqual({}) + await expect(runtime.removeManagedWorktree(worktreeId, { force: true })).resolves.toEqual({}) await expect(lstat(leftoverPath)).rejects.toMatchObject({ code: 'ENOENT' }) expect(assertWorktreeCleanForRemoval).not.toHaveBeenCalled() @@ -642,7 +653,7 @@ describe('OrcaRuntimeService', () => { try { vi.mocked(listWorktrees).mockResolvedValue([]) - await expect(runtime.removeManagedWorktree(worktreeId, true)).rejects.toThrow( + await expect(runtime.removeManagedWorktree(worktreeId, { force: true })).rejects.toThrow( `Refusing to delete unregistered worktree path: ${standalonePath}` ) diff --git a/src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-04.spec.ts b/src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-04.spec.ts index efc9efc57b5..78c4f072bb3 100644 --- a/src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-04.spec.ts +++ b/src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-04.spec.ts @@ -90,9 +90,9 @@ describe('OrcaRuntimeService', () => { const runtime = createWorktreeRemovalRuntime(runtimeStore) try { - await expect(runtime.removeManagedWorktree(`id:${worktreeId}`, true)).rejects.toThrow( - 'SSH filesystem provider unavailable' - ) + await expect( + runtime.removeManagedWorktree(`id:${worktreeId}`, { force: true }) + ).rejects.toThrow('SSH filesystem provider unavailable') await expect(lstat(localPath)).resolves.toBeTruthy() expect(removeWorktree).not.toHaveBeenCalled() @@ -112,7 +112,7 @@ describe('OrcaRuntimeService', () => { try { vi.mocked(listWorktrees).mockResolvedValue([]) - await expect(runtime.removeManagedWorktree(worktreeId, true)).rejects.toThrow( + await expect(runtime.removeManagedWorktree(worktreeId, { force: true })).rejects.toThrow( 'Refusing to delete unregistered worktree path' ) @@ -177,7 +177,9 @@ describe('OrcaRuntimeService', () => { } }) - await expect(runtime.removeManagedWorktree(TEST_WORKTREE_ID, true, true)).rejects.toThrow( + await expect( + runtime.removeManagedWorktree(TEST_WORKTREE_ID, { force: true, runHooks: true }) + ).rejects.toThrow( `Refusing to delete worktree because it contains another registered worktree: ${TEST_WORKTREE_PATH}/child` ) @@ -238,7 +240,9 @@ describe('OrcaRuntimeService', () => { } ]) - await expect(runtime.removeManagedWorktree(TEST_WORKTREE_ID, true, true)).rejects.toThrow( + await expect( + runtime.removeManagedWorktree(TEST_WORKTREE_ID, { force: true, runHooks: true }) + ).rejects.toThrow( `Failed to force delete worktree at ${TEST_WORKTREE_PATH}. Worktree is locked by Git.` ) @@ -278,9 +282,9 @@ describe('OrcaRuntimeService', () => { } ]) - await expect(runtime.removeManagedWorktree(TEST_WORKTREE_ID, true, true)).rejects.toThrow( - 'Worktree is locked by Git' - ) + await expect( + runtime.removeManagedWorktree(TEST_WORKTREE_ID, { force: true, runHooks: true }) + ).rejects.toThrow('Worktree is locked by Git') expect(runHook).toHaveBeenCalled() expect(removeWorktreeLinkedPathsMock).not.toHaveBeenCalled() @@ -377,7 +381,7 @@ describe('OrcaRuntimeService', () => { vi.mocked(runHook).mockResolvedValue({ success: true, output: '' }) vi.mocked(removeWorktree).mockResolvedValue({}) - await runtime.removeManagedWorktree(TEST_WORKTREE_ID, false, true) + await runtime.removeManagedWorktree(TEST_WORKTREE_ID, { force: false, runHooks: true }) expect(runHook).toHaveBeenCalledWith( 'archive', diff --git a/src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation.spec.ts b/src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation.spec.ts index 630eaebf007..aa976375801 100644 --- a/src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation.spec.ts +++ b/src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation.spec.ts @@ -612,7 +612,12 @@ describe('OrcaRuntimeService', () => { }) await expect( - runtime.removeManagedWorktree(TEST_WORKTREE_ID, false, false, false, 'runtime:env-b') + runtime.removeManagedWorktree(TEST_WORKTREE_ID, { + force: false, + runHooks: false, + allowUnverifiedPtyStop: false, + hostId: 'runtime:env-b' + }) ).rejects.toThrow('no longer belongs to runtime:env-b') expect(localProvider.listProcesses).not.toHaveBeenCalled() diff --git a/src/main/runtime/orca-runtime-tests/worktree-removal-archive-hook-gate.spec.ts b/src/main/runtime/orca-runtime-tests/worktree-removal-archive-hook-gate.spec.ts new file mode 100644 index 00000000000..1333d6bd469 --- /dev/null +++ b/src/main/runtime/orca-runtime-tests/worktree-removal-archive-hook-gate.spec.ts @@ -0,0 +1,242 @@ +// Regression cover for #19334: a failed archive hook used to be logged and stepped over, so the +// checkout was deleted with nothing archived. The hook is a blocking precondition now. +import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' +import { + assertWorktreeCleanForRemoval, + deleteWorktreeHistoryDirMock, + getEffectiveHooks, + invalidateAuthorizedRootsCacheMock, + listWorktreesStrict, + removeWorktree, + removeWorktreeLinkedPathsMock, + runHook +} from '../orca-runtime-test-mocks.spec' +import { + TEST_REPO_PATH, + TEST_WORKTREE_ID, + TEST_WORKTREE_PATH, + createStaleRuntimeWorktreeStore, + deferred +} from '../orca-runtime-test-fixtures.spec' +import { createWorktreeRemovalRuntime } from '../orca-runtime-test-scenario-builders.spec' +import { + ARCHIVE_HOOK_FAILED_REMOVAL_CODE, + asArchiveHookRefusal +} from '../../../shared/worktree/archive-hook-removal-gate' + +function withArchiveHook(): void { + vi.mocked(getEffectiveHooks).mockReturnValue({ + scripts: { archive: 'pnpm worktree:archive' } + }) +} + +function expectNothingMutated(removeWorktreeMeta: ReturnType): void { + // The checkout, its Git registration, its agents and Orca's ownership evidence all survive. + expect(removeWorktree).not.toHaveBeenCalled() + expect(removeWorktreeMeta).not.toHaveBeenCalled() + expect(removeWorktreeLinkedPathsMock).not.toHaveBeenCalled() + expect(deleteWorktreeHistoryDirMock).not.toHaveBeenCalled() + expect(invalidateAuthorizedRootsCacheMock).not.toHaveBeenCalled() + // The gate runs before the registration re-read, so even the preflights never start. The one + // listing is the orchestrator's own lookup ahead of the hook; the post-hook refresh never runs. + expect(listWorktreesStrict).toHaveBeenCalledTimes(1) + expect(assertWorktreeCleanForRemoval).not.toHaveBeenCalled() +} + +describe('archive hook removal gate', () => { + // These specs are imported into one aggregate test file, so the module-level mocks arrive with + // calls from earlier specs. Clear counts here and restore the shared defaults afterwards. + beforeEach(() => { + vi.clearAllMocks() + }) + + afterEach(() => { + vi.mocked(getEffectiveHooks).mockReturnValue(null) + vi.mocked(runHook).mockResolvedValue({ success: true, output: '' }) + }) + + it('refuses removal and mutates nothing when the archive hook exits 23', async () => { + const { runtimeStore, removeWorktreeMeta } = createStaleRuntimeWorktreeStore(TEST_WORKTREE_ID) + const runtime = createWorktreeRemovalRuntime(runtimeStore) + withArchiveHook() + vi.mocked(runHook).mockResolvedValue({ + success: false, + output: 'backup target unreachable', + exitCode: 23 + }) + + const failure = await runtime + .removeManagedWorktree(TEST_WORKTREE_ID, { force: false, runHooks: true }) + .catch((error: unknown) => error) + + const refusal = asArchiveHookRefusal(failure) + expect(refusal.code).toBe(ARCHIVE_HOOK_FAILED_REMOVAL_CODE) + expect(refusal.data).toEqual({ + worktreePath: TEST_WORKTREE_PATH, + outcome: 'exited', + exitCode: 23, + output: 'backup target unreachable' + }) + expectNothingMutated(removeWorktreeMeta) + }) + + it('refuses removal when the hook never reported an exit, without claiming it passed', async () => { + const { runtimeStore, removeWorktreeMeta } = createStaleRuntimeWorktreeStore(TEST_WORKTREE_ID) + const runtime = createWorktreeRemovalRuntime(runtimeStore) + withArchiveHook() + // A timeout or a lost execution host yields no exit code: `unverifiable`, never a pass. + vi.mocked(runHook).mockResolvedValue({ + success: false, + output: 'Hook timed out after 120000ms.' + }) + + const failure = await runtime + .removeManagedWorktree(TEST_WORKTREE_ID, { force: false, runHooks: true }) + .catch((error: unknown) => error) + + const refusal = asArchiveHookRefusal(failure) + expect(refusal.data).toEqual({ + worktreePath: TEST_WORKTREE_PATH, + outcome: 'unverifiable', + output: 'Hook timed out after 120000ms.' + }) + expectNothingMutated(removeWorktreeMeta) + }) + + it('does not let --force waive a failed archive hook', async () => { + const { runtimeStore, removeWorktreeMeta } = createStaleRuntimeWorktreeStore(TEST_WORKTREE_ID) + const runtime = createWorktreeRemovalRuntime(runtimeStore) + withArchiveHook() + vi.mocked(runHook).mockResolvedValue({ + success: false, + output: 'boom', + exitCode: 23 + }) + + await expect( + // force + the PTY-stop waiver, i.e. everything the desktop Force Delete sets. + runtime.removeManagedWorktree(TEST_WORKTREE_ID, { + force: true, + runHooks: true, + allowUnverifiedPtyStop: true + }) + ).rejects.toMatchObject({ code: ARCHIVE_HOOK_FAILED_REMOVAL_CODE }) + expectNothingMutated(removeWorktreeMeta) + }) + + it('removes and records the waiver when the failure is explicitly overridden', async () => { + const runtime = createWorktreeRemovalRuntime() + withArchiveHook() + vi.mocked(runHook).mockResolvedValue({ + success: false, + output: 'boom', + exitCode: 23 + }) + vi.mocked(removeWorktree).mockResolvedValue({}) + + const result = await runtime.removeManagedWorktree(TEST_WORKTREE_ID, { + force: false, + runHooks: true, + allowUnverifiedPtyStop: false, + allowFailedArchiveHook: true + }) + + expect(result.archiveHookOverride).toEqual({ + worktreePath: TEST_WORKTREE_PATH, + outcome: 'exited', + exitCode: 23, + output: 'boom', + overridden: true + }) + expect(removeWorktree).toHaveBeenCalledWith( + TEST_REPO_PATH, + TEST_WORKTREE_PATH, + false, + expect.objectContaining({ + knownRemovedWorktree: expect.objectContaining({ + path: TEST_WORKTREE_PATH + }) + }) + ) + }) + + it('removes without an override record when the hook succeeds', async () => { + const runtime = createWorktreeRemovalRuntime() + withArchiveHook() + vi.mocked(runHook).mockResolvedValue({ + success: true, + output: '', + exitCode: 0 + }) + vi.mocked(removeWorktree).mockResolvedValue({}) + + const result = await runtime.removeManagedWorktree(TEST_WORKTREE_ID, { + force: false, + runHooks: true + }) + + expect(result.archiveHookOverride).toBeUndefined() + expect(removeWorktree).toHaveBeenCalled() + }) + + it('removes when the hook is configured but not requested', async () => { + const runtime = createWorktreeRemovalRuntime() + withArchiveHook() + vi.mocked(removeWorktree).mockResolvedValue({}) + + const result = await runtime.removeManagedWorktree(TEST_WORKTREE_ID) + + expect(runHook).not.toHaveBeenCalled() + expect(result.warning).toContain('archive hook skipped') + expect(removeWorktree).toHaveBeenCalled() + }) + + it('removes when no archive hook is configured', async () => { + const runtime = createWorktreeRemovalRuntime() + vi.mocked(getEffectiveHooks).mockReturnValue(null) + vi.mocked(removeWorktree).mockResolvedValue({}) + + const result = await runtime.removeManagedWorktree(TEST_WORKTREE_ID, { + force: false, + runHooks: true + }) + + expect(runHook).not.toHaveBeenCalled() + expect(result.warning).toBeUndefined() + expect(removeWorktree).toHaveBeenCalled() + }) + + it('does not coalesce an override retry onto the refusal already in flight', async () => { + const runtime = createWorktreeRemovalRuntime() + withArchiveHook() + const hookRun = deferred<{ + success: boolean + output: string + exitCode?: number + }>() + vi.mocked(runHook).mockReturnValue(hookRun.promise) + vi.mocked(removeWorktree).mockResolvedValue({}) + + const refused = runtime.removeManagedWorktree(TEST_WORKTREE_ID, { + force: false, + runHooks: true + }) + await vi.waitFor(() => expect(runHook).toHaveBeenCalled()) + + // The waiver is part of the in-flight options key, so a concurrent waived retry is refused + // outright rather than handed the in-flight attempt that is about to reject on the hook. + await expect( + runtime.removeManagedWorktree(TEST_WORKTREE_ID, { + force: false, + runHooks: true, + allowUnverifiedPtyStop: false, + allowFailedArchiveHook: true + }) + ).rejects.toThrow('Worktree deletion already in progress') + + hookRun.resolve({ success: false, output: 'boom', exitCode: 23 }) + await expect(refused).rejects.toMatchObject({ + code: ARCHIVE_HOOK_FAILED_REMOVAL_CODE + }) + }) +}) diff --git a/src/main/runtime/orca-runtime-tests/worktree-removal-execution-host.spec.ts b/src/main/runtime/orca-runtime-tests/worktree-removal-execution-host.spec.ts index 8ec38e0e5e8..4370d02e217 100644 --- a/src/main/runtime/orca-runtime-tests/worktree-removal-execution-host.spec.ts +++ b/src/main/runtime/orca-runtime-tests/worktree-removal-execution-host.spec.ts @@ -102,7 +102,12 @@ describe('OrcaRuntimeService worktree removal execution host', () => { vi.spyOn(runtime, 'acquireFileWatcherRemoval').mockResolvedValue({ finish: vi.fn() }) try { - await runtime.removeManagedWorktree(TEST_WORKTREE_ID, true, false, false, 'ssh:target-a') + await runtime.removeManagedWorktree(TEST_WORKTREE_ID, { + force: true, + runHooks: false, + allowUnverifiedPtyStop: false, + hostId: 'ssh:target-a' + }) expect(provider.listWorktrees).toHaveBeenCalledWith(REMOTE_REPO_PATH) expect(provider.removeWorktree).toHaveBeenCalledWith(TEST_WORKTREE_PATH, true) @@ -127,7 +132,12 @@ describe('OrcaRuntimeService worktree removal execution host', () => { try { await expect( - runtime.removeManagedWorktree(TEST_WORKTREE_ID, true, false, false, 'ssh:target-a') + runtime.removeManagedWorktree(TEST_WORKTREE_ID, { + force: true, + runHooks: false, + allowUnverifiedPtyStop: false, + hostId: 'ssh:target-a' + }) ).resolves.toEqual({}) expect(provider.listWorktrees).toHaveBeenCalledWith(REMOTE_REPO_PATH) @@ -152,7 +162,12 @@ describe('OrcaRuntimeService worktree removal execution host', () => { vi.spyOn(runtime, 'acquireFileWatcherRemoval').mockResolvedValue({ finish: vi.fn() }) try { - await runtime.removeManagedWorktree(TEST_WORKTREE_ID, true, false, false, 'ssh:target-b') + await runtime.removeManagedWorktree(TEST_WORKTREE_ID, { + force: true, + runHooks: false, + allowUnverifiedPtyStop: false, + hostId: 'ssh:target-b' + }) expect(providerB.removeWorktree).toHaveBeenCalledWith(TEST_WORKTREE_PATH, true) expect(providerA.listWorktrees).not.toHaveBeenCalled() @@ -168,7 +183,12 @@ describe('OrcaRuntimeService worktree removal execution host', () => { const runtime = createWorktreeRemovalRuntime(runtimeStore) await expect( - runtime.removeManagedWorktree(TEST_WORKTREE_ID, true, false, false, 'ssh:target-a') + runtime.removeManagedWorktree(TEST_WORKTREE_ID, { + force: true, + runHooks: false, + allowUnverifiedPtyStop: false, + hostId: 'ssh:target-a' + }) ).rejects.toThrow('Remote connection dropped') expect(listWorktreesStrict).not.toHaveBeenCalled() @@ -181,7 +201,12 @@ describe('OrcaRuntimeService worktree removal execution host', () => { const runtime = createWorktreeRemovalRuntime(runtimeStore) await expect( - runtime.removeManagedWorktree(TEST_WORKTREE_ID, true, false, false, 'runtime:env-1') + runtime.removeManagedWorktree(TEST_WORKTREE_ID, { + force: true, + runHooks: false, + allowUnverifiedPtyStop: false, + hostId: 'runtime:env-1' + }) ).rejects.toThrow('not dispatched by this process') expect(listWorktreesStrict).not.toHaveBeenCalled() @@ -201,7 +226,12 @@ describe('OrcaRuntimeService worktree removal execution host', () => { try { await expect( - runtime.removeManagedWorktree(TEST_WORKTREE_ID, true, false, false, 'runtime:env-1') + runtime.removeManagedWorktree(TEST_WORKTREE_ID, { + force: true, + runHooks: false, + allowUnverifiedPtyStop: false, + hostId: 'runtime:env-1' + }) ).rejects.toThrow('not dispatched by this process') // Selector resolution still lists through the raw field before removal begins — a read on diff --git a/src/main/runtime/orca-runtime-tests/worktree-setup-and-startup.spec.ts b/src/main/runtime/orca-runtime-tests/worktree-setup-and-startup.spec.ts index 7ef4d5b6a72..d4e63c978c3 100644 --- a/src/main/runtime/orca-runtime-tests/worktree-setup-and-startup.spec.ts +++ b/src/main/runtime/orca-runtime-tests/worktree-setup-and-startup.spec.ts @@ -77,7 +77,9 @@ describe('OrcaRuntimeService', () => { '/tmp/workspaces/runtime-hook-test', 'runtime-hook-test', 'origin/main', - false + false, + false, + {} ) expect(result).toEqual({ worktree: expect.objectContaining({ diff --git a/src/main/runtime/orca-runtime.test.ts b/src/main/runtime/orca-runtime.test.ts index 7ec1fd5fc35..d9e187817bf 100644 --- a/src/main/runtime/orca-runtime.test.ts +++ b/src/main/runtime/orca-runtime.test.ts @@ -110,6 +110,7 @@ await import('./orca-runtime-tests/worktree-removal-and-reconciliation.spec') await import('./orca-runtime-tests/worktree-removal-and-reconciliation-part-02.spec') await import('./orca-runtime-tests/worktree-removal-and-reconciliation-part-03.spec') await import('./orca-runtime-tests/worktree-removal-and-reconciliation-part-04.spec') +await import('./orca-runtime-tests/worktree-removal-archive-hook-gate.spec') await import('./orca-runtime-tests/worktree-removal-execution-host.spec') await import('./orca-runtime-tests/targeting-and-resilience.spec') await import('./orca-runtime-tests/worktree-scan-cache-ttl.spec') diff --git a/src/main/runtime/orchestration/mailbox-pointer-stage.test.ts b/src/main/runtime/orchestration/mailbox-pointer-stage.test.ts index ed02d7e71ec..4f26d57555b 100644 --- a/src/main/runtime/orchestration/mailbox-pointer-stage.test.ts +++ b/src/main/runtime/orchestration/mailbox-pointer-stage.test.ts @@ -99,10 +99,11 @@ describe('mailbox pointer staging watermark', () => { throw new Error('SQLITE_BUSY') } } + // oxlint-disable-next-line anti-slop/no-reflect-get -- Proxy `get` trap: only Reflect.get forwards a raw string|symbol key with the proxy receiver. const value = Reflect.get(target, prop, receiver) return typeof value === 'function' ? value.bind(target) : value } - }) as OrchestrationDb + }) const state = new OrchestrationMailboxPointerState() const args = stageArgs(db, state) @@ -178,10 +179,11 @@ describe('mailbox pointer staging watermark', () => { stealNextClaim = false return () => false } + // oxlint-disable-next-line anti-slop/no-reflect-get -- Proxy `get` trap: only Reflect.get forwards a raw string|symbol key with the proxy receiver. const value = Reflect.get(target, prop, receiver) return typeof value === 'function' ? value.bind(target) : value } - }) as OrchestrationDb + }) const writePty = vi.fn(() => WRITE_ACCEPTED) const delivery = new OrchestrationMailboxPointerDelivery({ diff --git a/src/main/runtime/relay/relay-control-client.test.ts b/src/main/runtime/relay/relay-control-client.test.ts index 745a79ac84e..431d26574cf 100644 --- a/src/main/runtime/relay/relay-control-client.test.ts +++ b/src/main/runtime/relay/relay-control-client.test.ts @@ -8,6 +8,9 @@ import { MOBILE_RELAY_CLOSE_CODE } from '../../../shared/mobile-relay-close-code import { RelayControlClient } from './relay-control-client' const encoder = new TextEncoder() + +/** A JSON control frame, including the forward-compat frames the client must ignore. */ +type ControlFrame = { type: string } & Record const HOST_PROOF_DOMAIN = 'orca-relay-host-proof/v1' const CHALLENGE_DOMAIN = 'orca-relay-host-challenge/v1' @@ -410,7 +413,7 @@ class FakeControlSocket extends EventEmitter { this.close(1006) } - deliver(message: object): void { + deliver(message: ControlFrame): void { this.emit('message', JSON.stringify(message), false) } } diff --git a/src/main/runtime/relay/relay-control-client.ts b/src/main/runtime/relay/relay-control-client.ts index 0c863cce3ad..8321bf8caf2 100644 --- a/src/main/runtime/relay/relay-control-client.ts +++ b/src/main/runtime/relay/relay-control-client.ts @@ -269,7 +269,7 @@ export class RelayControlClient { this.clearConnectPromise() } - private sendActive(payload: object): void { + private sendActive(payload: Record): void { if (!this.socket || (this.state !== 'active' && this.state !== 'draining')) { throw new Error('relay_control_not_active') } diff --git a/src/main/runtime/relay/relay-control-requests.ts b/src/main/runtime/relay/relay-control-requests.ts index bbceb067a59..6151d634f0d 100644 --- a/src/main/runtime/relay/relay-control-requests.ts +++ b/src/main/runtime/relay/relay-control-requests.ts @@ -22,6 +22,23 @@ export type DeviceCredentialInstallAuthorization = | { mode: 'relay-basis'; basisConnId: string } | { mode: 'authenticated-direct'; directAuthId: string } +export type DeviceCredentialInstallInput = { + relayDeviceId: string + newResumeTokenHash: string + expectedCurrentHash?: string + authorization: DeviceCredentialInstallAuthorization +} + +/** Every control-plane request this class hands to `send`. */ +type RelayControlRequestPayload = + | { type: 'invite-create'; reqId: string; relayDeviceId: string } + | { type: 'device-revoke'; reqId: string; relayDeviceId: string } + | ({ type: 'device-credential-install'; v: 1; reqId: string } & DeviceCredentialInstallInput) + | { type: 'device-credential-install-status'; v: 1; reqId: string; relayDeviceId: string } + | { type: 'device-resume-confirm'; v: 1; reqId: string; basisConnId: string } + +type SendRelayControlRequest = (payload: RelayControlRequestPayload) => void + export class RelayControlRequests { private readonly pending = new Map() @@ -34,7 +51,7 @@ export class RelayControlRequests { createInvite( reqId: string, relayDeviceId: string, - send: (payload: object) => void + send: SendRelayControlRequest ): Promise { return this.request( reqId, @@ -44,11 +61,7 @@ export class RelayControlRequests { ) as Promise } - revokeDevice( - reqId: string, - relayDeviceId: string, - send: (payload: object) => void - ): Promise { + revokeDevice(reqId: string, relayDeviceId: string, send: SendRelayControlRequest): Promise { return this.request( reqId, 'revoke', @@ -59,13 +72,8 @@ export class RelayControlRequests { installCredential( reqId: string, - input: { - relayDeviceId: string - newResumeTokenHash: string - expectedCurrentHash?: string - authorization: DeviceCredentialInstallAuthorization - }, - send: (payload: object) => void + input: DeviceCredentialInstallInput, + send: SendRelayControlRequest ): Promise { return this.request( reqId, @@ -78,7 +86,7 @@ export class RelayControlRequests { credentialInstallStatus( reqId: string, relayDeviceId: string, - send: (payload: object) => void + send: SendRelayControlRequest ): Promise { return this.request( reqId, @@ -91,7 +99,7 @@ export class RelayControlRequests { confirmResume( reqId: string, basisConnId: string, - send: (payload: object) => void + send: SendRelayControlRequest ): Promise { return this.request( reqId, @@ -156,8 +164,8 @@ export class RelayControlRequests { private request( reqId: string, kind: PendingRequest['kind'], - payload: object, - send: (payload: object) => void + payload: RelayControlRequestPayload, + send: SendRelayControlRequest ): Promise { if (this.pending.has(reqId)) { return Promise.reject(new Error('duplicate_relay_request_id')) diff --git a/src/main/runtime/remote-desktop-driver.test.ts b/src/main/runtime/remote-desktop-driver.test.ts index bf2370ee924..bb25c20a94a 100644 --- a/src/main/runtime/remote-desktop-driver.test.ts +++ b/src/main/runtime/remote-desktop-driver.test.ts @@ -340,17 +340,18 @@ describe('remote desktop viewer width driver', () => { const { runtime } = createRuntime() await runtime.updateRemoteDesktopViewer('pty-1', 'sub-A', 'viewer-A', 100, 30) await runtime.updateRemoteDesktopViewer('pty-1', 'sub-B', 'viewer-B', 80, 24, false) - const layoutQueues = Reflect.get(runtime, 'layoutQueues') as Map< - string, - { running: Promise; pending: { target: { ownerSubscriptionKey?: string } }[] } - > - layoutQueues.set('pty-1', { running: new Promise(() => {}), pending: [] }) + const layoutQueues = runtime['layoutQueues'] + layoutQueues.set('pty-1', { running: new Promise(() => {}), pending: [] }) void runtime.updateRemoteDesktopViewer('pty-1', 'sub-A', 'viewer-A', 90, 28) void runtime.claimRemoteDesktopViewer('pty-1', 'sub-B') expect( - layoutQueues.get('pty-1')?.pending.map(({ target }) => target.ownerSubscriptionKey) + layoutQueues + .get('pty-1') + ?.pending.map(({ target }) => + 'ownerSubscriptionKey' in target ? target.ownerSubscriptionKey : undefined + ) ).toEqual(['sub-A', 'sub-B']) layoutQueues.delete('pty-1') }) @@ -358,11 +359,8 @@ describe('remote desktop viewer width driver', () => { it('makes a host claim join a pending disconnect reclaim', async () => { const { runtime } = createRuntime() await runtime.updateRemoteDesktopViewer('pty-1', 'sub-A', 'viewer-A', 80, 24) - const layoutQueues = Reflect.get(runtime, 'layoutQueues') as Map< - string, - { running: Promise; pending: { waiters: unknown[] }[] } - > - layoutQueues.set('pty-1', { running: new Promise(() => {}), pending: [] }) + const layoutQueues = runtime['layoutQueues'] + layoutQueues.set('pty-1', { running: new Promise(() => {}), pending: [] }) void runtime.unregisterRemoteDesktopViewer('pty-1', 'sub-A') void runtime.claimRemoteDesktopHost('pty-1', 150, 40) diff --git a/src/main/runtime/rpc/errors.ts b/src/main/runtime/rpc/errors.ts index 5bb9dc28343..5081236f09a 100644 --- a/src/main/runtime/rpc/errors.ts +++ b/src/main/runtime/rpc/errors.ts @@ -22,6 +22,7 @@ import { } from '../../../shared/skill-install-failure' import { GIT_DIFF_TOO_LARGE_CODE } from '../../../shared/git-diff-transport-budget' import { AUTOMATION_OWNER_CONFLICT_CODES } from '../../../shared/automation-owner-conflict' +import { ARCHIVE_HOOK_FAILED_REMOVAL_CODE } from '../../../shared/worktree/archive-hook-removal-gate' import { NESTED_WORKER_DEPTH_EXCEEDED_CODE } from '../../../shared/nested-worker-depth' export function successResponse(id: string, meta: RpcEnvelopeMeta, result: unknown): RpcSuccess { @@ -126,6 +127,9 @@ const STRUCTURED_RUNTIME_PASSTHROUGH_CODES: ReadonlySet = new Set([ 'stale_delivery', 'waiter_exists', 'invalid_argument', + // Why (#19334): "your archive hook failed, nothing was deleted" is a distinct decision — retry, + // waive, or skip the hook. Flattened to runtime_error a caller can only pattern-match the text. + ARCHIVE_HOOK_FAILED_REMOVAL_CODE, NESTED_WORKER_DEPTH_EXCEEDED_CODE, GIT_DIFF_TOO_LARGE_CODE, ARTIFACT_SHARING_DISABLED_CODE, diff --git a/src/main/runtime/rpc/methods/orchestration-worker-start-receipt-wording.test.ts b/src/main/runtime/rpc/methods/orchestration-worker-start-receipt-wording.test.ts new file mode 100644 index 00000000000..b52263ba791 --- /dev/null +++ b/src/main/runtime/rpc/methods/orchestration-worker-start-receipt-wording.test.ts @@ -0,0 +1,144 @@ +/** + * The exact sentences `orchestration.workerStart` puts in its mode receipt. + * + * These were never pinned: the existing suites assert `toContain` fragments ('terminal agent', + * 'cannot create'), and the CLI suite asserts a receipt handed to it by a mock rather than one + * this code produced. Every one of them stayed green against a deliberately corrupted vocabulary, + * so nothing was actually holding the wording. A dispatch receipt is the only place a + * structured→terminal downgrade explains itself, so the whole sentence is the contract, not a + * fragment of it. + * + * This pins orchestration's own module, which this PR leaves in place. The neutral + * `agent-launch/agent-launch-mode` it introduces is a second copy of the same policy; nothing yet + * enforces that the two agree. + */ + +import { describe, expect, it } from 'vitest' +import { + decideWorkerStartMode, + downgradeWorkerStartModeForHost, + type WorkerStartModeReceipt +} from './orchestration-worker-start-mode' + +const STRUCTURED_PREFERENCE = { + experimentalNativeChat: true, + experimentalStructuredNativeChat: true, + openAgentTabsInChatByDefault: true +} as const + +function structuredReceipt(): WorkerStartModeReceipt { + const receipt = decideWorkerStartMode({ + params: { agent: 'claude' }, + settings: STRUCTURED_PREFERENCE + }) + expect(receipt.mode).toBe('structured') + return receipt +} + +function downgradeSentence(why: string): string { + return `Your default is a structured chat session, but ${why}; started a terminal agent worker instead.` +} + +describe('worker-start mode receipt wording', () => { + it('states the settings default when the user has no structured preference', () => { + expect(decideWorkerStartMode({ params: { agent: 'claude' }, settings: null })).toEqual({ + mode: 'terminal', + preferred: 'terminal', + reason: 'user_default', + detail: 'Started a terminal agent worker, the default for new agent tabs in your settings.' + }) + }) + + it('states the settings default when the launch is structured', () => { + expect(structuredReceipt()).toEqual({ + mode: 'structured', + preferred: 'structured', + reason: 'user_default', + detail: + 'Started a structured chat session worker, the default for new agent tabs in your settings.' + }) + }) + + it.each([ + [ + 'remote execution host', + { agent: 'claude', on: 'server-1' }, + 'remote_execution_host', + 'this worker runs on a remote execution host' + ], + [ + 'reused terminal', + { agent: 'claude', terminal: 'term_1' }, + 'reused_terminal', + '--terminal reuses a running terminal agent' + ], + [ + 'agent with no structured session', + { agent: 'grok' }, + 'agent_without_structured_session', + 'this agent has no structured session' + ] + ])('names the %s downgrade in full', (_label, params, reason, why) => { + expect(decideWorkerStartMode({ params, settings: STRUCTURED_PREFERENCE })).toEqual({ + mode: 'terminal', + preferred: 'structured', + reason, + detail: downgradeSentence(why) + }) + }) + + it('names a custom TUI launch as the downgrade', () => { + expect( + decideWorkerStartMode({ + params: { agent: 'claude' }, + settings: { ...STRUCTURED_PREFERENCE, agentDefaultArgs: { claude: '--custom' } } + }) + ).toEqual({ + mode: 'terminal', + preferred: 'structured', + reason: 'tui_launch_customization', + detail: downgradeSentence( + 'this agent has a custom launch command, arguments or environment that only a terminal applies' + ) + }) + }) + + it.each([ + [ + 'an unanswered host', + null, + 'structured_support_unknown', + 'the execution host has not established structured session support' + ], + [ + 'a host refusal with no reason', + { supported: false }, + 'structured_unsupported_on_host', + 'the execution host cannot create one here' + ], + [ + 'a WSL workspace', + { supported: false, reason: 'wsl' as const }, + 'wsl_execution_runtime', + 'this workspace runs under WSL' + ], + [ + 'a remote workspace', + { supported: false, reason: 'remote' as const }, + 'remote_execution_host', + 'this worker runs on a remote execution host' + ] + ])('names %s in full', (_label, support, reason, why) => { + expect(downgradeWorkerStartModeForHost(structuredReceipt(), support)).toEqual({ + mode: 'terminal', + preferred: 'structured', + reason, + detail: downgradeSentence(why) + }) + }) + + it('leaves a settled terminal receipt untouched', () => { + const terminal = decideWorkerStartMode({ params: { agent: 'claude' }, settings: null }) + expect(downgradeWorkerStartModeForHost(terminal, null)).toEqual(terminal) + }) +}) diff --git a/src/main/runtime/rpc/methods/worktree-rm-host-qualification.test.ts b/src/main/runtime/rpc/methods/worktree-rm-host-qualification.test.ts index 68f8b040479..d96fa04c521 100644 --- a/src/main/runtime/rpc/methods/worktree-rm-host-qualification.test.ts +++ b/src/main/runtime/rpc/methods/worktree-rm-host-qualification.test.ts @@ -20,6 +20,15 @@ function makeRequest(params: unknown): RpcRequest { return { id: 'req-1', authToken: 'tok', method: 'worktree.rm', params } } +/** The removal options every case forwards; only the resolved host differs. */ +const forwarded = (hostId?: string): Record => ({ + force: true, + runHooks: false, + allowUnverifiedPtyStop: false, + allowFailedArchiveHook: false, + ...(hostId ? { hostId } : {}) +}) + describe('worktree.rm host qualification', () => { it('routes an explicitly qualified removal to that host', async () => { const runtime = makeRuntime() @@ -29,13 +38,7 @@ describe('worktree.rm host qualification', () => { makeRequest({ worktree: 'id:wt-1', hostId: 'local', force: true, runHooks: false }) ) - expect(runtime.removeManagedWorktree).toHaveBeenCalledWith( - 'id:wt-1', - true, - false, - false, - 'local' - ) + expect(runtime.removeManagedWorktree).toHaveBeenCalledWith('id:wt-1', forwarded('local')) expect(response).toMatchObject({ ok: true, result: { removed: true } }) }) @@ -54,10 +57,7 @@ describe('worktree.rm host qualification', () => { expect(runtime.removeManagedWorktree).toHaveBeenCalledWith( `id:${WORKTREE_ID}`, - true, - false, - false, - 'local' + forwarded('local') ) expect(response).toMatchObject({ ok: true, result: { removed: true } }) }) @@ -77,10 +77,7 @@ describe('worktree.rm host qualification', () => { expect(runtime.removeManagedWorktree).toHaveBeenCalledWith( `id:${WORKTREE_ID}`, - true, - false, - false, - 'runtime:env-1' + forwarded('runtime:env-1') ) }) @@ -119,10 +116,7 @@ describe('worktree.rm host qualification', () => { expect(runtime.removeManagedWorktree).toHaveBeenCalledWith( `id:${WORKTREE_ID}`, - true, - false, - false, - 'ssh:target-a' + forwarded('ssh:target-a') ) }) @@ -151,13 +145,7 @@ describe('worktree.rm host qualification', () => { ) expect(runtime.showManagedWorktree).toHaveBeenCalledWith('id:wt-1') - expect(runtime.removeManagedWorktree).toHaveBeenCalledWith( - 'id:wt-1', - true, - false, - false, - 'local' - ) + expect(runtime.removeManagedWorktree).toHaveBeenCalledWith('id:wt-1', forwarded('local')) expect(response).toMatchObject({ ok: true, result: { removed: true } }) }) @@ -205,13 +193,7 @@ describe('worktree.rm host qualification', () => { expect(response).toMatchObject({ ok: true, result: { removed: true } }) // Unqualified on purpose: removeManagedWorktree owns the stale-row path and // still refuses on its own if the id turns out to have two owners. - expect(runtime.removeManagedWorktree).toHaveBeenCalledWith( - 'id:wt-gone', - true, - false, - false, - undefined - ) + expect(runtime.removeManagedWorktree).toHaveBeenCalledWith('id:wt-gone', forwarded()) }) it('propagates a non-missing lookup failure instead of deleting unqualified', async () => { diff --git a/src/main/runtime/rpc/methods/worktree-rm-pty-waiver.test.ts b/src/main/runtime/rpc/methods/worktree-rm-pty-waiver.test.ts index 7f4a6c7751c..0c912db53be 100644 --- a/src/main/runtime/rpc/methods/worktree-rm-pty-waiver.test.ts +++ b/src/main/runtime/rpc/methods/worktree-rm-pty-waiver.test.ts @@ -14,74 +14,75 @@ function makeRuntime(): OrcaRuntimeService { } as unknown as OrcaRuntimeService } -// Why (#11960): waiving the proof that every PTY stopped must ride its own field. -// The desktop sets `force` for an ordinary confirmed delete, so keying the waiver -// off `force` would silently disable the gate on the primary delete path. -describe('worktree.rm PTY-stop waiver', () => { - it('forwards an explicit waiver to the runtime', async () => { +/** The dispatcher validates against the Zod schema, so the test spells the wire shape. */ +type RmParams = { + hostId?: string + force?: boolean + runHooks?: boolean + allowUnverifiedPtyStop?: boolean + allowFailedArchiveHook?: boolean +} + +async function dispatchRm(runtime: OrcaRuntimeService, params: RmParams): Promise { + const dispatcher = new RpcDispatcher({ runtime, methods: WORKTREE_METHODS }) + const request: RpcRequest = { + id: 'req-1', + authToken: 'tok', + method: 'worktree.rm', + params: { worktree: 'id:wt-1', ...params } + } + await dispatcher.dispatch(request) +} + +/** Every waiver off unless a case turns it on — the defaults are the assertion. */ +const forwarded = (overrides: Partial> = {}): Record => ({ + force: false, + runHooks: false, + allowUnverifiedPtyStop: false, + allowFailedArchiveHook: false, + hostId: 'local', + ...overrides +}) + +// Why (#11960 and #19334): each waiver rides its own field. The desktop sets `force` for an +// ordinary confirmed delete, so keying either waiver off `force` would silently disable that gate +// on the primary delete path. These cases exist to keep `force` from acquiring a second meaning. +describe('worktree.rm waivers travel on their own fields', () => { + it.each([ + [ + 'an explicit PTY-stop waiver reaches the runtime', + { hostId: 'local', force: true, allowUnverifiedPtyStop: true, runHooks: false }, + forwarded({ force: true, allowUnverifiedPtyStop: true }) + ], + [ + 'force alone does NOT waive the PTY-stop proof', + { hostId: 'local', force: true, runHooks: false }, + forwarded({ force: true }) + ], + [ + 'an explicit archive-hook waiver reaches the runtime', + { hostId: 'local', runHooks: true, allowFailedArchiveHook: true }, + forwarded({ runHooks: true, allowFailedArchiveHook: true }) + ], + [ + 'force plus a PTY waiver does NOT waive a failed archive hook', + { hostId: 'local', force: true, allowUnverifiedPtyStop: true, runHooks: true }, + forwarded({ force: true, runHooks: true, allowUnverifiedPtyStop: true }) + ] + ])('%s', async (_name, params, expected) => { const runtime = makeRuntime() - const dispatcher = new RpcDispatcher({ runtime, methods: WORKTREE_METHODS }) - - await dispatcher.dispatch({ - id: 'req-1', - authToken: 'tok', - method: 'worktree.rm', - params: { - worktree: 'id:wt-1', - hostId: 'local', - force: true, - allowUnverifiedPtyStop: true, - runHooks: false - } - } satisfies RpcRequest) - - expect(runtime.removeManagedWorktree).toHaveBeenCalledWith( - 'id:wt-1', - true, - false, - true, - 'local' - ) - }) - - it('does not infer a waiver from force alone', async () => { - const runtime = makeRuntime() - const dispatcher = new RpcDispatcher({ runtime, methods: WORKTREE_METHODS }) - - await dispatcher.dispatch({ - id: 'req-1', - authToken: 'tok', - method: 'worktree.rm', - params: { worktree: 'id:wt-1', hostId: 'local', force: true, runHooks: false } - } satisfies RpcRequest) - - expect(runtime.removeManagedWorktree).toHaveBeenCalledWith( - 'id:wt-1', - true, - false, - false, - 'local' - ) + await dispatchRm(runtime, params) + expect(runtime.removeManagedWorktree).toHaveBeenCalledWith('id:wt-1', expected) }) it('resolves the host before forwarding an unqualified removal', async () => { const runtime = makeRuntime() - const dispatcher = new RpcDispatcher({ runtime, methods: WORKTREE_METHODS }) - - await dispatcher.dispatch({ - id: 'req-1', - authToken: 'tok', - method: 'worktree.rm', - params: { worktree: 'id:wt-1', force: true, runHooks: false } - } satisfies RpcRequest) + await dispatchRm(runtime, { force: true, runHooks: false }) expect(runtime.showManagedWorktree).toHaveBeenCalledWith('id:wt-1') expect(runtime.removeManagedWorktree).toHaveBeenCalledWith( 'id:wt-1', - true, - false, - false, - 'ssh:builder' + forwarded({ force: true, hostId: 'ssh:builder' }) ) }) }) diff --git a/src/main/runtime/rpc/methods/worktree.ts b/src/main/runtime/rpc/methods/worktree.ts index be8a0983036..3d7c407254c 100644 --- a/src/main/runtime/rpc/methods/worktree.ts +++ b/src/main/runtime/rpc/methods/worktree.ts @@ -235,13 +235,13 @@ export const WORKTREE_METHODS = [ } } } - const removalArgs = [ - params.worktree, - params.force === true, - params.runHooks === true, - params.allowUnverifiedPtyStop === true - ] as const - const result = await runtime.removeManagedWorktree(...removalArgs, resolvedHostId) + const result = await runtime.removeManagedWorktree(params.worktree, { + force: params.force === true, + runHooks: params.runHooks === true, + allowUnverifiedPtyStop: params.allowUnverifiedPtyStop === true, + allowFailedArchiveHook: params.allowFailedArchiveHook === true, + ...(resolvedHostId ? { hostId: resolvedHostId } : {}) + }) return { removed: true, ...result } } }), diff --git a/src/main/runtime/rpc/terminal-output-frame-chunks-equivalence.test.ts b/src/main/runtime/rpc/terminal-output-frame-chunks-equivalence.test.ts index 233aa3e4bc2..85e01116c3c 100644 --- a/src/main/runtime/rpc/terminal-output-frame-chunks-equivalence.test.ts +++ b/src/main/runtime/rpc/terminal-output-frame-chunks-equivalence.test.ts @@ -132,10 +132,10 @@ function* legacyIterateTerminalOutputFrameChunks( } } -type FrameShape = { base64: string; seq: number | 'undefined'; opcode: number | 'undefined' } +type FrameSummary = { base64: string; seq: number | 'undefined'; opcode: number | 'undefined' } -function describeFrames(frames: Iterable): FrameShape[] { - const out: FrameShape[] = [] +function describeFrames(frames: Iterable): FrameSummary[] { + const out: FrameSummary[] = [] for (const frame of frames) { out.push({ base64: Buffer.from(frame.bytes).toString('base64'), @@ -170,10 +170,10 @@ const SURROGATE_EDGES = [ '\udfff\udc00' ] -// Meta shapes exercised against every fixture: no meta, seq-preserved (rawLength === +// Meta variants exercised against every fixture: no meta, seq-preserved (rawLength === // data.length), the delayed-final-seq path (rawLength !== data.length -> OutputSpan), // transformed, and cwd-only. -function metaShapesFor(data: string): { label: string; meta: TerminalOutputMeta | undefined }[] { +function metaVariantsFor(data: string): { label: string; meta: TerminalOutputMeta | undefined }[] { return [ { label: 'no-meta', meta: undefined }, { label: 'seq-only', meta: { seq: 5_000_000 } }, @@ -187,8 +187,8 @@ function metaShapesFor(data: string): { label: string; meta: TerminalOutputMeta } function sweepAll(data: string, label: string): void { - for (const shape of metaShapesFor(data)) { - expectEquivalent(data, shape.meta, `${label} [${shape.label}]`) + for (const variant of metaVariantsFor(data)) { + expectEquivalent(data, variant.meta, `${label} [${variant.label}]`) } } diff --git a/src/main/runtime/runtime-browser-page-registry.ts b/src/main/runtime/runtime-browser-page-registry.ts index 9209e24e4af..f32f83dd105 100644 --- a/src/main/runtime/runtime-browser-page-registry.ts +++ b/src/main/runtime/runtime-browser-page-registry.ts @@ -226,9 +226,11 @@ export class RuntimeBrowserPageRegistry { } } -const registries = new WeakMap() +/** Keyed by runtime identity alone; this module never reads from the runtime, and the callers' + * declared host types share no member. */ +const registries = new WeakMap() -export function getRuntimeBrowserPageRegistry(runtime: object): RuntimeBrowserPageRegistry { +export function getRuntimeBrowserPageRegistry(runtime: WeakKey): RuntimeBrowserPageRegistry { let registry = registries.get(runtime) if (!registry) { registry = new RuntimeBrowserPageRegistry() diff --git a/src/main/runtime/runtime-linear-command-surface.ts b/src/main/runtime/runtime-linear-command-surface.ts index 63b053f45df..97c91e3af6d 100644 --- a/src/main/runtime/runtime-linear-command-surface.ts +++ b/src/main/runtime/runtime-linear-command-surface.ts @@ -13,9 +13,12 @@ type LinearFacadeInstance = { type LinearMethodBag = Record unknown> const delegators = new WeakSet() -const receiverByCommands = new WeakMap() +const receiverByCommands = new WeakMap() -function collectMethodNames(instancePrototype: object, stopAt: object | null): Set { +function collectMethodNames( + instancePrototype: RuntimeLinearBrowseCommands, + stopAt: RuntimeLinearBrowseCommands | null +): Set { const names = new Set() let prototype: object | null = instancePrototype while (prototype && prototype !== Object.prototype && prototype !== stopAt) { @@ -31,10 +34,10 @@ function collectMethodNames(instancePrototype: object, stopAt: object | null): S // Why: the chain used to live on the facade, so a facade override (test spy) has to win for re-entrant `this` calls too. function overrideAwareReceiver( - facade: object, - commands: object, + facade: LinearFacadeInstance, + commands: LinearMethodBag, surfaceNames: ReadonlySet -): object { +): LinearMethodBag { const cached = receiverByCommands.get(commands) if (cached) { return cached @@ -47,6 +50,7 @@ function overrideAwareReceiver( return override.bind(facade) } } + // oxlint-disable-next-line anti-slop/no-reflect-get -- Proxy `get` trap: raw string|symbol pass-through; the receiver stays the target on purpose. return Reflect.get(target, property, proxyReceiver) } }) @@ -54,7 +58,7 @@ function overrideAwareReceiver( return receiver } -export function installRuntimeLinearCommandSurface(target: object): void { +export function installRuntimeLinearCommandSurface(target: LinearFacadeInstance): void { const names = collectMethodNames( RuntimeLinearCommands.prototype, RuntimeLinearCommandBase.prototype @@ -66,7 +70,7 @@ export function installRuntimeLinearCommandSurface(target: object): void { const method = { [name](this: LinearFacadeInstance, ...args: unknown[]): unknown { const commands = this.linearCommands as unknown as LinearMethodBag - return Reflect.apply(commands[name], overrideAwareReceiver(this, commands, names), args) + return commands[name].call(overrideAwareReceiver(this, commands, names), ...args) } }[name] delegators.add(method) diff --git a/src/main/runtime/runtime-local-create-rearm-ordering.test.ts b/src/main/runtime/runtime-local-create-rearm-ordering.test.ts new file mode 100644 index 00000000000..27294c144c3 --- /dev/null +++ b/src/main/runtime/runtime-local-create-rearm-ordering.test.ts @@ -0,0 +1,133 @@ +// Re-arming the prepared-checkout pool is a full `reset --hard`. Firing it before the create's +// terminals are launched puts that checkout in front of the startup agent's first git reads. +import { beforeEach, describe, expect, it, vi } from 'vitest' + +vi.mock('electron', () => ({ + BrowserWindow: { fromId: vi.fn(() => null) }, + webContents: { fromId: vi.fn(() => null) }, + ipcMain: { on: vi.fn(), removeListener: vi.fn() }, + app: { getPath: vi.fn(() => '/tmp'), isPackaged: false } +})) + +const calls = vi.hoisted(() => ({ order: new Array() })) + +const createLocalMock = vi.hoisted(() => vi.fn()) +vi.mock('./runtime-local-worktree-create', () => ({ + createRuntimeLocalManagedWorktree: createLocalMock +})) + +const startTerminalsMock = vi.hoisted(() => vi.fn()) +vi.mock('./runtime-local-worktree-terminal-startup', () => ({ + startRuntimeLocalWorktreeTerminals: startTerminalsMock +})) + +vi.mock('./runtime-local-worktree-setup', () => ({ + prepareRuntimeLocalWorktreeSetup: vi.fn(async () => ({ + setup: undefined, + defaultTabs: undefined, + warning: undefined, + effectiveDecision: 'skip', + hookFound: false, + shouldRunSetup: false, + didStartInProcessSetupHook: false + })) +})) + +vi.mock('../ipc/filesystem-auth', () => ({ invalidateAuthorizedRootsCache: vi.fn() })) + +import { OrcaRuntimeService } from './orca-runtime' + +const repo = { id: 'repo-1', path: '/repo', displayName: 'Repo', badgeColor: 'blue', kind: 'git' } + +const worktree = { id: 'wt-1', path: '/worktrees/app', branch: 'app', repoId: repo.id } + +type RuntimeInternals = { + resolveRepoSelector: (selector: string) => Promise + resolveLineageForWorktreeCreate: (input: unknown) => Promise + recordCreatedWorktreeLineage: (created: unknown, resolution: unknown) => unknown + getLocalGitExecutionOptionArgs: (repo: unknown) => unknown[] + getHostedReviewExecutionOptions: (repo: unknown) => unknown + invalidateResolvedWorktreeCache: () => void + invalidateWorktreeScanCacheForRepo: (repoId: string) => void + notifyWorktreesChanged: (repoId: string) => void + emitWorktreeLifecycle: (event: unknown) => void +} + +function makeRuntime(): OrcaRuntimeService { + const store = { + getSettings: () => ({ disabledTuiAgents: [], workspaceDir: '/worktrees' }), + getProjectHostSetups: () => [] + } + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: every store method this create path reaches is supplied above. + const runtime = new OrcaRuntimeService(store as never) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the named members all exist on the service; the cast only exposes non-public ones to the spies. + const internals = runtime as unknown as RuntimeInternals + vi.spyOn(internals, 'resolveRepoSelector').mockResolvedValue(repo) + vi.spyOn(internals, 'resolveLineageForWorktreeCreate').mockResolvedValue(null) + vi.spyOn(internals, 'recordCreatedWorktreeLineage').mockReturnValue({ + lineage: null, + workspaceLineage: null, + warnings: [] + }) + vi.spyOn(internals, 'getLocalGitExecutionOptionArgs').mockReturnValue([{}]) + vi.spyOn(internals, 'getHostedReviewExecutionOptions').mockReturnValue(undefined) + vi.spyOn(internals, 'invalidateResolvedWorktreeCache').mockReturnValue(undefined) + vi.spyOn(internals, 'invalidateWorktreeScanCacheForRepo').mockReturnValue(undefined) + vi.spyOn(internals, 'notifyWorktreesChanged').mockReturnValue(undefined) + vi.spyOn(internals, 'emitWorktreeLifecycle').mockReturnValue(undefined) + return runtime +} + +describe('runtime local create prepared-pool re-arm ordering', () => { + beforeEach(() => { + calls.order = [] + createLocalMock.mockReset() + startTerminalsMock.mockReset() + createLocalMock.mockImplementation(async (args: { rearm: { fire: () => void } }) => { + args.rearm.fire = () => calls.order.push('rearm') + return { + worktree, + worktreePath: worktree.path, + includeCopyWarning: undefined, + created: { path: worktree.path, head: 'abc', branch: 'app' }, + addResult: {}, + metadataResult: { lineage: null, workspaceLineage: null, warnings: [] } + } + }) + startTerminalsMock.mockImplementation(async () => { + calls.order.push('terminals') + return { + warning: undefined, + returnedSetup: undefined, + didSpawnSetup: false, + didSpawnStartup: false, + setupTerminalHandle: undefined, + startupTerminalHandle: undefined, + startupTerminalTabId: undefined, + startupTerminalPaneKey: undefined, + startupTerminalPtyId: undefined + } + }) + }) + + it('arms the pool only after the startup terminals are launched', async () => { + const runtime = makeRuntime() + + await runtime.createManagedWorktree({ repoSelector: 'repo-1', name: 'app' }) + + expect(startTerminalsMock).toHaveBeenCalledOnce() + expect(calls.order).toEqual(['terminals', 'rearm']) + }) + + it('still arms the pool when terminal launch fails', async () => { + startTerminalsMock.mockRejectedValue(new Error('spawn failed')) + const runtime = makeRuntime() + + await expect( + runtime.createManagedWorktree({ repoSelector: 'repo-1', name: 'app' }) + ).rejects.toThrow('spawn failed') + + // The prepared checkout was consumed before the failure, so the replacement is still owed. + expect(calls.order).toEqual(['rearm']) + }) +}) diff --git a/src/main/runtime/runtime-local-git-worktree-create.ts b/src/main/runtime/runtime-local-git-worktree-create.ts index 4e4b3ebe0b5..e2b77ef2a5c 100644 --- a/src/main/runtime/runtime-local-git-worktree-create.ts +++ b/src/main/runtime/runtime-local-git-worktree-create.ts @@ -1,3 +1,4 @@ +import type { LocalGitExecOptions } from '../git/repo-default-base-ref' import type { GitPushTarget, GitWorktreeInfo } from '../../shared/worktree/types' import type { Repo } from '../../shared/repo-types' import { resolveCreatedWorktree } from '../ipc/created-worktree-reconciliation' @@ -14,7 +15,10 @@ import type { RuntimeManagedWorktreeCreateArgs } from './runtime-managed-worktre import type { RemoteFetchResult, RemoteTrackingBase } from './runtime-remote-fetch-controller' import { hasLocalWorktreeBaseRef } from '../git/worktree-base-ref-probe' import { isGeneratedWorktreeCreateName } from '../worktree-create-candidates' -import { consumePreparedWorktreeCreate } from '../worktree-create-preparation' +import { + consumePreparedWorktreeCreate, + type PreparationRearmHolder +} from '../worktree-create-preparation' import { failedWorktreeCreationNeedsRetirement, retireGeneratedWorktreeName @@ -36,29 +40,24 @@ export async function createRuntimeLocalGitWorktree(args: { worktreePath: string effectiveSanitizedName?: string checkoutExistingBranch: boolean - localWorktreeGitOptions: { wslDistro?: string } - hasLocalWorktreeGitOptions: boolean - localWorktreeGitOptionArgs: [] | [{ wslDistro?: string }] + localWorktreeGitOptions: LocalGitExecOptions resolveRemoteTrackingBase: ( repoPath: string, baseBranch: string, - ...options: [] | [{ wslDistro?: string }] + options?: LocalGitExecOptions ) => Promise hasRemoteTrackingRef: ( repoPath: string, base: RemoteTrackingBase, - ...options: [] | [{ wslDistro?: string }] + options?: LocalGitExecOptions ) => Promise refreshRemoteTrackingBase: ( repoPath: string, base: RemoteTrackingBase, - ...options: [] | [{ wslDistro?: string }] + options?: LocalGitExecOptions ) => Promise - fetchRemote: ( - repoPath: string, - remote: string, - ...options: [] | [{ wslDistro?: string }] - ) => Promise + fetchRemote: (repoPath: string, remote: string, options?: LocalGitExecOptions) => Promise + rearm: PreparationRearmHolder }): Promise<{ remoteTrackingBase: RemoteTrackingBase | null sparseDirectories: string[] @@ -69,20 +68,12 @@ export async function createRuntimeLocalGitWorktree(args: { let remoteTrackingBase = await args.resolveRemoteTrackingBase( args.repo.path, args.baseBranch, - ...args.localWorktreeGitOptionArgs + args.localWorktreeGitOptions ) if (remoteTrackingBase) { const [hadRemoteRef, hasNamedLocalBaseRef] = await Promise.all([ - args.hasRemoteTrackingRef( - args.repo.path, - remoteTrackingBase, - ...args.localWorktreeGitOptionArgs - ), - hasLocalWorktreeBaseRef( - args.repo.path, - args.baseBranch, - args.hasLocalWorktreeGitOptions ? args.localWorktreeGitOptions : {} - ) + args.hasRemoteTrackingRef(args.repo.path, remoteTrackingBase, args.localWorktreeGitOptions), + hasLocalWorktreeBaseRef(args.repo.path, args.baseBranch, args.localWorktreeGitOptions) ]) const hasLocalBase = hadRemoteRef || hasNamedLocalBaseRef if (!hadRemoteRef && hasLocalBase) { @@ -91,7 +82,7 @@ export async function createRuntimeLocalGitWorktree(args: { const refresh = await args.refreshRemoteTrackingBase( args.repo.path, remoteTrackingBase, - ...args.localWorktreeGitOptionArgs + args.localWorktreeGitOptions ) if (!refresh.ok && !hadRemoteRef) { throw new Error( @@ -103,21 +94,17 @@ export async function createRuntimeLocalGitWorktree(args: { !(await args.hasRemoteTrackingRef( args.repo.path, remoteTrackingBase, - ...args.localWorktreeGitOptionArgs + args.localWorktreeGitOptions )) ) { throw new Error(`Base ref "${args.baseBranch}" was not found after fetching.`) } } } else if ( - !(await hasLocalWorktreeBaseRef( - args.repo.path, - args.baseBranch, - args.hasLocalWorktreeGitOptions ? args.localWorktreeGitOptions : {} - )) + !(await hasLocalWorktreeBaseRef(args.repo.path, args.baseBranch, args.localWorktreeGitOptions)) ) { try { - await args.fetchRemote(args.repo.path, 'origin', ...args.localWorktreeGitOptionArgs) + await args.fetchRemote(args.repo.path, 'origin', args.localWorktreeGitOptions) } catch {} } const sparseDirectories = args.request.sparseCheckout @@ -136,46 +123,19 @@ export async function createRuntimeLocalGitWorktree(args: { !args.settings.localBaseRefSuggestionDismissed && Boolean(remoteTrackingBase) const remoteOption = remoteTrackingBase ? { remoteTrackingBase } : undefined - const baseOptions: AddWorktreeOptions | undefined = args.checkoutExistingBranch - ? { - checkoutExistingBranch: true, - ...remoteOption, - ...(suggestLocalBaseRefUpdate ? { suggestLocalBaseRefUpdate } : {}) - } - : suggestLocalBaseRefUpdate - ? { ...remoteOption, suggestLocalBaseRefUpdate } - : remoteOption - const addProjectGitOptions = (options?: AddWorktreeOptions): AddWorktreeOptions | undefined => - args.hasLocalWorktreeGitOptions ? { ...options, ...args.localWorktreeGitOptions } : options - const addOptions = addProjectGitOptions(baseOptions) - const defaultAddWorktreeOption = addProjectGitOptions() - const preparedWorktreeOptions = suggestLocalBaseRefUpdate - ? addProjectGitOptions({ ...remoteOption, suggestLocalBaseRefUpdate }) - : remoteOption - ? addProjectGitOptions(remoteOption) - : defaultAddWorktreeOption + const preparedWorktreeOptions: AddWorktreeOptions = { + ...remoteOption, + ...(suggestLocalBaseRefUpdate ? { suggestLocalBaseRefUpdate } : {}), + ...args.localWorktreeGitOptions + } + const addOptions: AddWorktreeOptions = { + ...preparedWorktreeOptions, + ...(args.checkoutExistingBranch ? { checkoutExistingBranch: true } : {}) + } const shouldRetireGeneratedName = args.request.nameWasGenerated === true && Boolean(args.effectiveSanitizedName) && isGeneratedWorktreeCreateName(args.effectiveSanitizedName!) - const addStandardWorktree = async (): Promise => - addOptions - ? ((await addWorktree( - args.repo.path, - args.worktreePath, - args.branchName, - args.baseBranch, - args.settings.refreshLocalBaseRefOnWorktreeCreate, - false, - addOptions - )) ?? {}) - : ((await addWorktree( - args.repo.path, - args.worktreePath, - args.branchName, - args.baseBranch, - args.settings.refreshLocalBaseRefOnWorktreeCreate - )) ?? {}) let addResult: AddWorktreeResult try { const preparedAttempt = @@ -187,34 +147,37 @@ export async function createRuntimeLocalGitWorktree(args: { branch: args.branchName, baseBranch: args.baseBranch, refreshLocalBaseRef: args.settings.refreshLocalBaseRefOnWorktreeCreate, - ...(preparedWorktreeOptions ? { options: preparedWorktreeOptions } : {}) + options: preparedWorktreeOptions }) : null // This path has no create-span recorder, so the miss reason is only observable on the IPC path. if (preparedAttempt?.status === 'hit') { addResult = preparedAttempt.result + // Deferred, not fired: re-arming is a full `reset --hard`, and the caller still has + // materialization probes and terminals ahead of it. + args.rearm.fire = preparedAttempt.rearm } else if (sparseDirectories.length > 0) { addResult = - (await (addOptions - ? addSparseWorktree( - args.repo.path, - args.worktreePath, - args.branchName, - sparseDirectories, - args.baseBranch, - args.settings.refreshLocalBaseRefOnWorktreeCreate, - addOptions - ) - : addSparseWorktree( - args.repo.path, - args.worktreePath, - args.branchName, - sparseDirectories, - args.baseBranch, - args.settings.refreshLocalBaseRefOnWorktreeCreate - ))) ?? {} + (await addSparseWorktree( + args.repo.path, + args.worktreePath, + args.branchName, + sparseDirectories, + args.baseBranch, + args.settings.refreshLocalBaseRefOnWorktreeCreate, + addOptions + )) ?? {} } else { - addResult = await addStandardWorktree() + addResult = + (await addWorktree( + args.repo.path, + args.worktreePath, + args.branchName, + args.baseBranch, + args.settings.refreshLocalBaseRefOnWorktreeCreate, + false, + addOptions + )) ?? {} } } catch (error) { if (shouldRetireGeneratedName && failedWorktreeCreationNeedsRetirement(error)) { @@ -251,7 +214,7 @@ export async function createRuntimeLocalGitWorktree(args: { args.repo.path, args.worktreePath, args.branchName, - args.hasLocalWorktreeGitOptions ? args.localWorktreeGitOptions : undefined + args.localWorktreeGitOptions ) return { remoteTrackingBase, diff --git a/src/main/runtime/runtime-local-worktree-create-candidate.ts b/src/main/runtime/runtime-local-worktree-create-candidate.ts index 9de955c5cd1..0ffef7162de 100644 --- a/src/main/runtime/runtime-local-worktree-create-candidate.ts +++ b/src/main/runtime/runtime-local-worktree-create-candidate.ts @@ -57,7 +57,6 @@ export async function resolveRuntimeLocalWorktreeCreateCandidate(args: { store?: RuntimeStore baseBranch: string localWorktreeGitOptions: { wslDistro?: string } - localWorktreeGitOptionArgs: [] | [{ wslDistro?: string }] hostedReviewExecutionContext?: HostedReviewExecutionOptions }): Promise { const sanitizedName = sanitizeWorktreeName(args.request.name) @@ -115,7 +114,7 @@ export async function resolveRuntimeLocalWorktreeCreateCandidate(args: { args.repo.path, branchName, args.baseBranch, - ...args.localWorktreeGitOptionArgs + args.localWorktreeGitOptions ) return checkoutExistingBranch } diff --git a/src/main/runtime/runtime-local-worktree-create.test.ts b/src/main/runtime/runtime-local-worktree-create.test.ts new file mode 100644 index 00000000000..4ad713111f5 --- /dev/null +++ b/src/main/runtime/runtime-local-worktree-create.test.ts @@ -0,0 +1,274 @@ +import { beforeEach, describe, expect, it, vi } from 'vitest' +import type { Store } from '../persistence' +import type { WorktreeMeta } from '../../shared/worktree/meta-types' +import type { RuntimeManagedWorktreeCreateArgs } from './runtime-managed-worktree-create-types' +import type { AddWorktreeOptions } from '../git/worktree' +import { + acquireGitAdmission, + GitAdmissionScheduler, + _resetGitAdmissionForTests +} from '../git/command-runner/git-subprocess-admission' +import { resolveGitAdmissionTier } from '../git/command-runner/git-operation-executor' + +const mocks = vi.hoisted(() => ({ + rearm: vi.fn(), + routing: vi.fn<() => { wslDistro?: string }>(), + defaultBase: vi.fn(), + hasBase: vi.fn(), + branchName: vi.fn(), + canCheckout: vi.fn(), + branchConflict: vi.fn(), + githubPr: vi.fn(), + consume: vi.fn(), + add: vi.fn(), + addSparse: vi.fn(), + pushTarget: vi.fn(), + listing: vi.fn(), + remoteBase: vi.fn(), + hasRemoteRef: vi.fn(), + refresh: vi.fn(), + fetch: vi.fn(), + resolveShared: vi.fn<() => Promise>(), + resolveInclude: vi.fn<() => Promise>(), + copyPaths: vi.fn<() => Promise>(), + created: { + path: '/worktrees/app', + head: 'abc123', + branch: 'app', + isBare: false, + isMainWorktree: false + } +})) + +vi.mock('../project-runtime-git-options', () => ({ + getLocalProjectGitExecOptions: () => ({ cwd: '/repo', ...mocks.routing() }), + getLocalProjectWorktreeGitOptions: mocks.routing, + getWorktreeMirrorDistro: () => undefined +})) +vi.mock('../git/repo', () => ({ + getBaseRefDefault: mocks.defaultBase, + resolveDefaultBaseRefWithLocalGit: mocks.defaultBase, + getBranchConflictKind: mocks.branchConflict +})) +vi.mock('../git/git-username', () => ({ resolveLocalGitUsername: async () => '' })) +vi.mock('../git/worktree-base-ref-probe', () => ({ hasLocalWorktreeBaseRef: mocks.hasBase })) +vi.mock('./runtime-worktree-create-git', () => ({ + resolveCreateBranchName: mocks.branchName, + canCheckoutExistingLocalBranch: mocks.canCheckout, + getLocalGitHubPrForBranch: mocks.githubPr, + getSelectedHostedReviewForBranch: vi.fn() +})) +vi.mock('./runtime-worktree-filesystem', () => ({ runtimePathExists: async () => false })) +vi.mock('../worktree-create-preparation', () => ({ consumePreparedWorktreeCreate: mocks.consume })) +vi.mock('../git/worktree', () => ({ addWorktree: mocks.add, addSparseWorktree: mocks.addSparse })) +vi.mock('../ipc/worktree-remote', () => ({ configureCreatedWorktreePushTarget: mocks.pushTarget })) +vi.mock('../ipc/created-worktree-reconciliation', () => ({ resolveCreatedWorktree: mocks.listing })) +vi.mock('../worktree-name-retirement', () => ({ + failedWorktreeCreationNeedsRetirement: vi.fn(), + retireGeneratedWorktreeName: vi.fn() +})) +vi.mock('../git/worktree-shared-directories', () => ({ + resolveWorktreeSharedDirectories: mocks.resolveShared +})) +vi.mock('../git/worktree-include-file', () => ({ + resolveWorktreeIncludePaths: mocks.resolveInclude +})) +vi.mock('../ipc/worktree-symlinks', () => ({ + createWorktreeCopiedPaths: mocks.copyPaths, + createWorktreeLinkedPaths: vi.fn(), + createWorktreeSharedPaths: vi.fn() +})) + +import { createRuntimeLocalManagedWorktree } from './runtime-local-worktree-create' +import type { PreparationRearmHolder } from '../worktree-create-preparation' + +function createWorktree( + request: Partial = {}, + rearm: PreparationRearmHolder = { fire: () => {} } +) { + const store = { + getSettings: () => ({ + workspaceDir: '/worktrees', + nestWorkspaces: false, + refreshLocalBaseRefOnWorktreeCreate: false, + branchPrefix: '' + }), + setWorktreeMeta: (_id: string, updates: Partial) => updates + } + return createRuntimeLocalManagedWorktree({ + request: { repoSelector: 'repo-1', name: 'app', baseBranch: 'main', ...request }, + repo: { id: 'repo-1', path: '/repo', displayName: 'Repo', badgeColor: '#000000', addedAt: 0 }, + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: All store methods reached by this isolated create path are supplied above. + store: store as Store, + createdWithAgent: undefined, + resolveRemoteTrackingBase: mocks.remoteBase, + hasRemoteTrackingRef: mocks.hasRemoteRef, + refreshRemoteTrackingBase: mocks.refresh, + fetchRemote: mocks.fetch, + onWorktreeMetadataPersisted: () => undefined, + rearm + }) +} + +beforeEach(() => { + vi.resetAllMocks() + mocks.routing.mockReturnValue({}) + mocks.defaultBase.mockImplementation(async () => { + expect(resolveGitAdmissionTier()).toBe('interactive') + return 'main' + }) + mocks.hasBase.mockResolvedValue(true) + mocks.branchName.mockResolvedValue('app') + mocks.canCheckout.mockResolvedValue(false) + mocks.branchConflict.mockResolvedValue(null) + mocks.githubPr.mockResolvedValue(null) + mocks.consume.mockResolvedValue({ status: 'hit', result: {}, rearm: mocks.rearm }) + mocks.add.mockResolvedValue({}) + mocks.addSparse.mockResolvedValue({}) + mocks.listing.mockImplementation(async () => { + expect(resolveGitAdmissionTier()).toBe('interactive') + return { created: mocks.created } + }) + mocks.remoteBase.mockImplementation(async () => { + expect(resolveGitAdmissionTier()).toBe('interactive') + return null + }) + mocks.hasRemoteRef.mockResolvedValue(true) + mocks.refresh.mockResolvedValue({ ok: true }) + mocks.fetch.mockResolvedValue(undefined) + mocks.resolveShared.mockResolvedValue([]) + mocks.resolveInclude.mockResolvedValue(['.env']) + mocks.copyPaths.mockResolvedValue([]) +}) + +describe('runtime prepared-worktree replenishment', () => { + it('leaves the re-arm holder armed but unfired once probes and include copies finish', async () => { + const rearm: PreparationRearmHolder = { fire: () => {} } + let finishProbe!: (paths: string[]) => void + mocks.resolveShared.mockImplementation( + () => + new Promise((resolve) => { + finishProbe = resolve + }) + ) + let finishCopy!: (paths: string[]) => void + mocks.copyPaths.mockImplementation( + () => + new Promise((resolve) => { + finishCopy = resolve + }) + ) + const creation = createWorktree({}, rearm) + await vi.waitFor(() => expect(mocks.resolveShared).toHaveBeenCalledOnce()) + expect(mocks.rearm).not.toHaveBeenCalled() + finishProbe([]) + await vi.waitFor(() => expect(mocks.copyPaths).toHaveBeenCalledOnce()) + expect(mocks.rearm).not.toHaveBeenCalled() + finishCopy([]) + await creation + // The caller launches terminals before arming, so create must not fire it itself. + expect(mocks.rearm).not.toHaveBeenCalled() + rearm.fire() + expect(mocks.rearm).toHaveBeenCalledOnce() + }) + + it('arms the holder even when materialization fails', async () => { + mocks.copyPaths.mockRejectedValue(new Error('copy failed')) + const rearm: PreparationRearmHolder = { fire: () => {} } + await expect(createWorktree({}, rearm)).rejects.toThrow('copy failed') + // The slot was consumed before the failure, so the caller's `finally` must find a real thunk. + rearm.fire() + expect(mocks.rearm).toHaveBeenCalledOnce() + }) +}) + +describe('runtime create Git priority', () => { + it.each([undefined, 'Ubuntu'])( + 'preserves interactive priority and routing on %s', + async (wslDistro) => { + const routing = wslDistro ? { wslDistro } : {} + mocks.routing.mockReturnValue(routing) + const options = routing + const target = { remoteName: 'origin', branchName: 'app' } + await createWorktree({ baseBranch: undefined, branchNameOverride: 'app', pushTarget: target }) + + expect(mocks.defaultBase).toHaveBeenCalledWith({ cwd: '/repo', ...options }) + expect(mocks.branchName).toHaveBeenCalledWith( + '/repo', + 'app', + 'app', + expect.anything(), + '', + options + ) + expect(mocks.canCheckout).toHaveBeenCalledWith('/repo', 'app', 'main', options) + expect(mocks.branchConflict).toHaveBeenCalledWith('/repo', 'app', 'main', options, undefined) + expect(mocks.githubPr).toHaveBeenCalledWith('/repo', 'app', routing) + expect(mocks.remoteBase).toHaveBeenCalledWith('/repo', 'main', options) + expect(mocks.hasBase).toHaveBeenCalledWith('/repo', 'main', options) + expect(mocks.consume).toHaveBeenCalledWith(expect.objectContaining({ options })) + expect(mocks.pushTarget).toHaveBeenCalledWith('/worktrees/app', 'app', target, options) + expect(mocks.listing).toHaveBeenCalledWith('/repo', '/worktrees/app', 'app', options) + expect(mocks.resolveShared).toHaveBeenCalledWith('/repo', options) + expect(mocks.resolveInclude).toHaveBeenCalledWith('/repo', options) + } + ) + + it('creates through interactive headroom when regular Git capacity is occupied', async () => { + mocks.consume.mockResolvedValue({ status: 'miss', reason: 'none_armed' }) + const scheduler = new GitAdmissionScheduler({ generalCap: 1, generalHeadroom: 1 }) + _resetGitAdmissionForTests(scheduler) + const blocker = await acquireGitAdmission({ args: ['status'], cwd: '/repo' }) + mocks.add.mockImplementation( + async ( + _repo: string, + _path: string, + _branch: string, + _base: string, + _refresh: boolean, + _existing: boolean, + options?: AddWorktreeOptions + ) => { + const grant = await acquireGitAdmission({ + args: ['worktree', 'add'], + cwd: '/repo', + tier: options?.admissionTier, + signal: AbortSignal.timeout(200) + }) + grant.release() + return {} + } + ) + try { + await expect(createWorktree()).resolves.toHaveProperty('worktreePath', '/worktrees/app') + expect(mocks.add).toHaveBeenCalledOnce() + } finally { + blocker.release() + _resetGitAdmissionForTests() + } + }) + + it('preserves priority for sparse creates and remote base refreshes', async () => { + const base = { + remote: 'origin', + branch: 'main', + ref: 'refs/remotes/origin/main', + base: 'origin/main' + } + mocks.remoteBase.mockResolvedValue(base) + await createWorktree({ baseBranch: 'origin/main', sparseCheckout: { directories: ['src'] } }) + const options = {} + expect(mocks.hasRemoteRef).toHaveBeenCalledWith('/repo', base, options) + expect(mocks.refresh).toHaveBeenCalledWith('/repo', base, options) + expect(mocks.addSparse).toHaveBeenCalledWith( + '/repo', + '/worktrees/app', + 'app', + ['src'], + 'origin/main', + false, + expect.objectContaining(options) + ) + expect(mocks.consume).not.toHaveBeenCalled() + }) +}) diff --git a/src/main/runtime/runtime-local-worktree-create.ts b/src/main/runtime/runtime-local-worktree-create.ts index 438107ea19f..41e7b3734fc 100644 --- a/src/main/runtime/runtime-local-worktree-create.ts +++ b/src/main/runtime/runtime-local-worktree-create.ts @@ -1,3 +1,4 @@ +import { worktreeCreateGit } from '../git/worktree-create-git-executor' import type { Repo } from '../../shared/repo-types' import type { Worktree } from '../../shared/worktree/types' import type { Store } from '../persistence' @@ -6,23 +7,21 @@ import { getLocalProjectWorktreeGitOptions, getWorktreeMirrorDistro } from '../project-runtime-git-options' -import { getBaseRefDefault, resolveDefaultBaseRefWithLocalGit } from '../git/repo' +import { resolveDefaultBaseRefWithLocalGit } from '../git/repo' +import type { LocalGitExecOptions } from '../git/repo-default-base-ref' import { resolveLocalGitUsername } from '../git/git-username' import { computeWorkspaceRoot, getWorktreePathSettings } from '../ipc/worktree-logic' import { resolveWorktreeCreateBase } from '../worktree-create-base' import type { RuntimeManagedWorktreeCreateArgs } from './runtime-managed-worktree-create-types' import type { RemoteFetchResult, RemoteTrackingBase } from './runtime-remote-fetch-controller' import type { HostedReviewExecutionOptions } from '../source-control/hosted-review-git-options' -import { hasLocalGitOptions } from './runtime-worktree-selection' import { hasLocalWorktreeBaseRef } from '../git/worktree-base-ref-probe' import { resolveRuntimeLocalWorktreeCreateCandidate } from './runtime-local-worktree-create-candidate' import { createRuntimeLocalGitWorktree } from './runtime-local-git-worktree-create' import { materializeRuntimeLocalWorktree } from './runtime-local-worktree-materialization' +import type { PreparationRearmHolder } from '../worktree-create-preparation' -type LocalGitOptions = { wslDistro?: string } -type LocalGitArgs = [] | [LocalGitOptions] - -export async function createRuntimeLocalManagedWorktree(args: { +type RuntimeLocalWorktreeCreateArgs = { request: RuntimeManagedWorktreeCreateArgs repo: Repo store: Store @@ -31,28 +30,33 @@ export async function createRuntimeLocalManagedWorktree(args: { resolveRemoteTrackingBase: ( path: string, base: string, - ...options: LocalGitArgs + options?: LocalGitExecOptions ) => Promise hasRemoteTrackingRef: ( path: string, base: RemoteTrackingBase, - ...options: LocalGitArgs + options?: LocalGitExecOptions ) => Promise refreshRemoteTrackingBase: ( path: string, base: RemoteTrackingBase, - ...options: LocalGitArgs + options?: LocalGitExecOptions ) => Promise - fetchRemote: (path: string, remote: string, ...options: LocalGitArgs) => Promise + fetchRemote: (path: string, remote: string, options?: LocalGitExecOptions) => Promise onWorktreeMetadataPersisted: (worktree: Worktree) => T -}) { + rearm: PreparationRearmHolder +} + +export function createRuntimeLocalManagedWorktree(args: RuntimeLocalWorktreeCreateArgs) { + return worktreeCreateGit.run(() => performRuntimeLocalWorktreeCreate(args)) +} + +async function performRuntimeLocalWorktreeCreate(args: RuntimeLocalWorktreeCreateArgs) { const { request, repo, store } = args const settings = store.getSettings() const pathSettings = getWorktreePathSettings(repo, settings, getWorktreeMirrorDistro(store, repo)) const gitExecOptions = getLocalProjectGitExecOptions(store, repo) const worktreeGitOptions = getLocalProjectWorktreeGitOptions(store, repo) - const hasWorktreeGitOptions = hasLocalGitOptions(worktreeGitOptions) - const worktreeGitArgs: LocalGitArgs = hasWorktreeGitOptions ? [worktreeGitOptions] : [] // Username and base resolution are independent read-only probes. Starting // both before awaiting removes one serial git/config round trip from create. const usernamePromise = @@ -62,27 +66,20 @@ export async function createRuntimeLocalManagedWorktree(args: { const baseBranchPromise = resolveWorktreeCreateBase({ requestedBaseBranch: request.baseBranch, repoWorktreeBaseRef: repo.worktreeBaseRef, - resolveDefaultBaseRef: () => - hasWorktreeGitOptions - ? resolveDefaultBaseRefWithLocalGit(gitExecOptions) - : getBaseRefDefault(repo.path), + resolveDefaultBaseRef: () => resolveDefaultBaseRefWithLocalGit(gitExecOptions), isBaseUsable: async (candidate) => { const remoteBase = await args.resolveRemoteTrackingBase( repo.path, candidate, - ...worktreeGitArgs + worktreeGitOptions ) if ( remoteBase && - (await args.hasRemoteTrackingRef(repo.path, remoteBase, ...worktreeGitArgs)) + (await args.hasRemoteTrackingRef(repo.path, remoteBase, worktreeGitOptions)) ) { return true } - return hasLocalWorktreeBaseRef( - repo.path, - candidate, - hasWorktreeGitOptions ? worktreeGitOptions : {} - ) + return hasLocalWorktreeBaseRef(repo.path, candidate, worktreeGitOptions) } }) const [username, baseBranch] = await Promise.all([usernamePromise, baseBranchPromise]) @@ -101,7 +98,6 @@ export async function createRuntimeLocalManagedWorktree(args: { store, baseBranch, localWorktreeGitOptions: worktreeGitOptions, - localWorktreeGitOptionArgs: worktreeGitArgs, hostedReviewExecutionContext: args.hostedReviewExecutionContext }) const git = await createRuntimeLocalGitWorktree({ @@ -116,12 +112,11 @@ export async function createRuntimeLocalManagedWorktree(args: { effectiveSanitizedName: candidate.effectiveSanitizedName, checkoutExistingBranch: candidate.checkoutExistingBranch, localWorktreeGitOptions: worktreeGitOptions, - hasLocalWorktreeGitOptions: hasWorktreeGitOptions, - localWorktreeGitOptionArgs: worktreeGitArgs, resolveRemoteTrackingBase: args.resolveRemoteTrackingBase, hasRemoteTrackingRef: args.hasRemoteTrackingRef, refreshRemoteTrackingBase: args.refreshRemoteTrackingBase, - fetchRemote: args.fetchRemote + fetchRemote: args.fetchRemote, + rearm: args.rearm }) const materialized = await materializeRuntimeLocalWorktree({ request, diff --git a/src/main/runtime/runtime-local-worktree-materialization.ts b/src/main/runtime/runtime-local-worktree-materialization.ts index aeb692b9c4d..1919f69b780 100644 --- a/src/main/runtime/runtime-local-worktree-materialization.ts +++ b/src/main/runtime/runtime-local-worktree-materialization.ts @@ -1,3 +1,4 @@ +import type { LocalGitExecOptions } from '../git/repo-default-base-ref' import { randomUUID } from 'node:crypto' import { getRepoExecutionHostId } from '../../shared/execution-host' import { getProjectHostSetupWorktreeMeta } from '../../shared/project-host-setup-lookup' @@ -39,7 +40,7 @@ export async function materializeRuntimeLocalWorktree(args: { displayNameKind: CreateWorktreeArgs['displayNameKind'] effectiveSanitizedName: string effectiveCreatedWithAgent?: TuiAgent - localWorktreeGitOptions: { wslDistro?: string } + localWorktreeGitOptions: LocalGitExecOptions onMetadataPersisted: (worktree: Worktree) => T }): Promise<{ worktree: Worktree; metadataResult: T; includeCopyWarning?: string }> { const { diff --git a/src/main/runtime/runtime-registered-local-worktree-removal.ts b/src/main/runtime/runtime-registered-local-worktree-removal.ts index d5df7e52132..8f34b1df393 100644 --- a/src/main/runtime/runtime-registered-local-worktree-removal.ts +++ b/src/main/runtime/runtime-registered-local-worktree-removal.ts @@ -1,5 +1,7 @@ import type { GitPushTarget, GitWorktreeInfo } from '../../shared/worktree/types' import type { RemoveWorktreeResult } from '../../shared/worktree/create-types' +import type { ArchiveHookOverride } from '../../shared/worktree/archive-hook-removal-gate' +import { gateWorktreeRemovalOnArchiveHook } from '../worktree-archive-hook-gate' import type { Repo } from '../../shared/repo-types' import { assertWorktreeUnlockedForRemoval } from '../../shared/worktree/removal' import type { LocalProjectWorktreeGitOptions } from '../project-runtime-git-options' @@ -40,6 +42,8 @@ export async function removeRuntimeRegisteredLocalWorktree(args: { hasLocalOptions: boolean force: boolean runHooks: boolean + /** Explicit waiver for a FAILED archive hook. Never implied by `force` — see #19334. */ + allowFailedArchiveHook: boolean allowUnverifiedPtyStop: boolean deleteBranch: boolean acquireWatcherRemoval: (path: string) => Promise<{ finish: (removed: boolean) => Promise }> @@ -60,6 +64,9 @@ export async function removeRuntimeRegisteredLocalWorktree(args: { const canonicalPath = registeredWorktree.path const hooks = getEffectiveHooks(repo) let warning: string | undefined + // Precondition, not an advisory: this runs before the registration refresh, the preflights, the + // PTY stop and `removeWorktree`, so a throw here leaves every one of them untouched (#19334). + let archiveHookOverride: ArchiveHookOverride | undefined if (hooks?.scripts.archive && args.runHooks) { const result = await runHook( 'archive', @@ -68,9 +75,11 @@ export async function removeRuntimeRegisteredLocalWorktree(args: { undefined, args.hasLocalOptions ? localOptions : undefined ) - if (!result.success) { - console.error(`[hooks] archive hook failed for ${canonicalPath}:`, result.output) - } + archiveHookOverride = gateWorktreeRemovalOnArchiveHook({ + worktreePath: canonicalPath, + result, + allowFailure: args.allowFailedArchiveHook + }) } else if (hooks?.scripts.archive) { warning = `orca.yaml archive hook skipped for ${canonicalPath}; pass --run-hooks to run it.` console.warn(`[hooks] ${warning}`) @@ -151,7 +160,10 @@ export async function removeRuntimeRegisteredLocalWorktree(args: { await cleanupPushTarget(args) args.finishRemoval(undefined, false, refreshed.head) completed = true - return warning ? { warning } : {} + return { + ...(archiveHookOverride ? { archiveHookOverride } : {}), + ...(warning ? { warning } : {}) + } } else { throw new Error(formatWorktreeRemovalError(error, canonicalPath, args.force)) } @@ -162,7 +174,11 @@ export async function removeRuntimeRegisteredLocalWorktree(args: { } await cleanupPushTarget(args) args.finishRemoval(removalResult, true, refreshed.head) - return { ...removalResult, ...(warning ? { warning } : {}) } + return { + ...removalResult, + ...(archiveHookOverride ? { archiveHookOverride } : {}), + ...(warning ? { warning } : {}) + } } async function cleanupOrphanedDirectory( diff --git a/src/main/runtime/runtime-registered-remote-worktree-removal.ts b/src/main/runtime/runtime-registered-remote-worktree-removal.ts index 6eec18d52c8..b971072e979 100644 --- a/src/main/runtime/runtime-registered-remote-worktree-removal.ts +++ b/src/main/runtime/runtime-registered-remote-worktree-removal.ts @@ -5,6 +5,7 @@ import type { SshGitProvider } from '../providers/ssh-git-provider' import { cleanupUnusedWorktreePushTargetRemoteSsh } from '../ipc/worktree-remote' import type { RuntimeStore } from './runtime-store-contract' import type { RuntimeWorktreeRemovalTarget } from './runtime-worktree-selection' +import { gateRemovalWhereArchiveHookCannotRun } from '../worktree-archive-hook-gate' export async function removeRuntimeRegisteredRemoteWorktree(args: { repo: Repo @@ -15,6 +16,10 @@ export async function removeRuntimeRegisteredRemoteWorktree(args: { provider: SshGitProvider /** From the resolved removal route; `repo.connectionId!` answered null for an `ssh:`-only row. */ connectionId: string + /** #19334: this path runs no archive hook, so the gate below decides what that means. */ + runHooks: boolean + /** Explicit waiver for that refusal; without it the block has no exit on this path. */ + allowFailedArchiveHook: boolean force: boolean allowUnverifiedPtyStop: boolean deleteBranch: boolean @@ -29,8 +34,17 @@ export async function removeRuntimeRegisteredRemoteWorktree(args: { fallbackHead: string | undefined ) => RemoveWorktreeResult finishRemoval: (result: RemoveWorktreeResult) => void -}): Promise { +}): Promise { const { repo, target, registeredWorktree, provider, connectionId } = args + // Precondition, before anything is stopped or deleted: no archive hook runs here, so a removal + // that asked for one refuses rather than deleting with the archive step silently skipped. + const hookGate = await gateRemovalWhereArchiveHookCannotRun({ + repo, + connectionId, + worktreePath: registeredWorktree.path, + runHooks: args.runHooks, + allowFailedArchiveHook: args.allowFailedArchiveHook + }) const removeOptions = !args.deleteBranch ? { deleteBranch: args.deleteBranch } : {} const gate = await args.acquireWatcherRemoval(registeredWorktree.path, connectionId) let rawResult: RemoveWorktreeResult | undefined @@ -54,5 +68,9 @@ export async function removeRuntimeRegisteredRemoteWorktree(args: { ) await args.deleteHistory() args.finishRemoval(result) - return result + return { + ...result, + ...(hookGate.override ? { archiveHookOverride: hookGate.override } : {}), + ...(hookGate.warning ? { warning: hookGate.warning } : {}) + } } diff --git a/src/main/runtime/runtime-remote-fetch-controller.ts b/src/main/runtime/runtime-remote-fetch-controller.ts index dbcc240525b..ab0a7aa6b28 100644 --- a/src/main/runtime/runtime-remote-fetch-controller.ts +++ b/src/main/runtime/runtime-remote-fetch-controller.ts @@ -1,3 +1,4 @@ +import type { LocalGitExecOptions } from '../git/repo-default-base-ref' import { GIT_FETCH_SKIP_AUTO_MAINTENANCE_CONFIG_ARGS } from '../../shared/git-fetch-auto-maintenance' import { getCanonicalRepoKey } from '../git/canonical-repo-key' import { @@ -16,7 +17,7 @@ export type RemoteTrackingBase = { base: string } -type GitOptions = { wslDistro?: string } +type GitOptions = LocalGitExecOptions // Why: reuse recent fetches across create and drift probes without hiding remote changes for long. const FETCH_FRESHNESS_MS = 30_000 diff --git a/src/main/runtime/runtime-search-line-fragments.test.ts b/src/main/runtime/runtime-search-line-fragments.test.ts index 17c873efdd8..701abd1327e 100644 --- a/src/main/runtime/runtime-search-line-fragments.test.ts +++ b/src/main/runtime/runtime-search-line-fragments.test.ts @@ -90,7 +90,9 @@ describe('RuntimeFileCommands', () => { submatches: [{ start: 0, end: 6 }] } }) - const originalSplit = String.prototype.split + // Method-shaped type: a call-signature capture would reject `split`'s splitter-object overload. + const originalSplit: { split(separator: unknown, limit?: number): string[] }['split'] = + String.prototype.split let scanned = 0 const spy = vi.spyOn(String.prototype, 'split').mockImplementation(function ( this: string, @@ -100,7 +102,7 @@ describe('RuntimeFileCommands', () => { if (separator === '\n') { scanned += this.length } - return Reflect.apply(originalSplit, this, [separator, limit]) + return originalSplit.call(this, separator, limit) }) try { for (let offset = 0; offset < line.length; offset += 1024) { diff --git a/src/main/runtime/runtime-server-environment-commands.ts b/src/main/runtime/runtime-server-environment-commands.ts index 54f08d29f0c..7671481b1e5 100644 --- a/src/main/runtime/runtime-server-environment-commands.ts +++ b/src/main/runtime/runtime-server-environment-commands.ts @@ -3,6 +3,7 @@ import { homedir } from 'node:os' import { isAbsolute, resolve } from 'node:path' import type { DirEntry, FilesystemPathFlavor } from '../../shared/filesystem-entry-types' import { sortDirEntries } from '../../shared/file-name-sort' +import { probeGitAvailability } from '../git/git-availability' import { gitExecFileAsync } from '../git/runner' import { isServerDriveListRequest, listWindowsDrives } from './windows-drive-listing' @@ -54,11 +55,6 @@ export class RuntimeServerEnvironmentCommands { } async isGitAvailable(): Promise { - try { - await gitExecFileAsync(['--version'], { cwd: process.cwd(), timeout: 3000 }) - return true - } catch { - return false - } + return probeGitAvailability(gitExecFileAsync, { cwd: process.cwd(), timeout: 3000 }) } } diff --git a/src/main/runtime/runtime-server-git-availability.test.ts b/src/main/runtime/runtime-server-git-availability.test.ts new file mode 100644 index 00000000000..2259e1a563a --- /dev/null +++ b/src/main/runtime/runtime-server-git-availability.test.ts @@ -0,0 +1,56 @@ +/** + * `repo.gitAvailable` gates the create dialog's Git option on a runtime/remote host. Only a spawn + * that never started may answer `false`; everything else rejects so the renderer's existing + * `unknown` branch stays reachable instead of collapsing to a false "no Git here". + */ +import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' + +const { gitExecFileAsyncMock } = vi.hoisted(() => ({ gitExecFileAsyncMock: vi.fn() })) + +vi.mock('../git/runner', () => ({ gitExecFileAsync: gitExecFileAsyncMock })) + +import { RuntimeServerEnvironmentCommands } from './runtime-server-environment-commands' + +function spawnEnoent(): Error { + return Object.assign(new Error('spawn git ENOENT'), { code: 'ENOENT', syscall: 'spawn git' }) +} + +describe('RuntimeServerEnvironmentCommands.isGitAvailable', () => { + const commands = new RuntimeServerEnvironmentCommands() + + beforeEach(() => { + gitExecFileAsyncMock.mockReset() + }) + + afterEach(() => { + vi.restoreAllMocks() + }) + + it('answers true when git reports its version', async () => { + gitExecFileAsyncMock.mockResolvedValue({ stdout: 'git version 2.25.1\n', stderr: '' }) + await expect(commands.isGitAvailable()).resolves.toBe(true) + }) + + it('answers false only when the spawn itself found no binary', async () => { + gitExecFileAsyncMock.mockRejectedValue(spawnEnoent()) + await expect(commands.isGitAvailable()).resolves.toBe(false) + }) + + it('rejects an ENOENT when the working directory disappeared', async () => { + vi.spyOn(process, 'cwd').mockReturnValue(`${process.cwd()}-missing`) + gitExecFileAsyncMock.mockRejectedValue(spawnEnoent()) + await expect(commands.isGitAvailable()).rejects.toThrow('spawn git ENOENT') + }) + + it('rejects a slow host rather than reporting no Git', async () => { + gitExecFileAsyncMock.mockRejectedValue(new Error('git --version timed out after 3000ms')) + await expect(commands.isGitAvailable()).rejects.toThrow('timed out') + }) + + it('rejects a repository-level git failure rather than reporting no Git', async () => { + gitExecFileAsyncMock.mockRejectedValue( + Object.assign(new Error('detected dubious ownership'), { code: 128 }) + ) + await expect(commands.isGitAvailable()).rejects.toThrow('dubious ownership') + }) +}) diff --git a/src/main/runtime/runtime-terminal-orphan-topology-validation.test.ts b/src/main/runtime/runtime-terminal-orphan-topology-validation.test.ts index cb8f22e864b..9fff4da0edf 100644 --- a/src/main/runtime/runtime-terminal-orphan-topology-validation.test.ts +++ b/src/main/runtime/runtime-terminal-orphan-topology-validation.test.ts @@ -35,6 +35,7 @@ it('validates large restored MRU lists with linear tab-order reads', () => { if (typeof key === 'string' && /^\d+$/.test(key)) { reads += 1 } + // oxlint-disable-next-line anti-slop/no-reflect-get -- Proxy get trap default forward. return Reflect.get(target, key, receiver) } }) diff --git a/src/main/runtime/runtime-worktree-create-git.ts b/src/main/runtime/runtime-worktree-create-git.ts index ba0b1c3828d..94547f219ef 100644 --- a/src/main/runtime/runtime-worktree-create-git.ts +++ b/src/main/runtime/runtime-worktree-create-git.ts @@ -2,6 +2,7 @@ import { getRepoHostedReviewExecutionHostId } from '../source-control/hosted-rev import type { BranchPrefixStrategy } from '../../shared/ui-chrome-types' import type { Repo } from '../../shared/repo-types' import { getPRForBranch } from '../github/client' +import type { GitAdmissionTier } from '../../shared/rpc-contract/git-admission-tier-params' import { gitExecFileAsync } from '../git/runner' import { listWorktrees } from '../git/worktree' import { computeValidatedBranchName } from '../ipc/worktree-logic' @@ -20,7 +21,7 @@ export async function resolveCreateBranchName( sanitizedName: string, settings: { branchPrefix: string; branchPrefixCustom?: string }, username: string | null, - gitOptions: { wslDistro?: string } = {} + gitOptions: { wslDistro?: string; admissionTier?: GitAdmissionTier } = {} ): Promise { if (!branchNameOverride) { return computeValidatedBranchName( @@ -43,7 +44,7 @@ export async function canCheckoutExistingLocalBranch( repoPath: string, branchName: string, baseBranch: string, - gitOptions: { wslDistro?: string } = {} + gitOptions: { wslDistro?: string; admissionTier?: GitAdmissionTier } = {} ): Promise { let localHead = '' try { diff --git a/src/main/runtime/runtime-worktree-selection.test.ts b/src/main/runtime/runtime-worktree-selection.test.ts index 0509d94a2b4..2fa602fe982 100644 --- a/src/main/runtime/runtime-worktree-selection.test.ts +++ b/src/main/runtime/runtime-worktree-selection.test.ts @@ -1,5 +1,39 @@ import { describe, expect, it } from 'vitest' -import { runtimeRepoMatchesExecutionHost } from './runtime-worktree-selection' +import { + getRuntimeWorktreeRemovalOptionsKey, + runtimeRepoMatchesExecutionHost +} from './runtime-worktree-selection' + +describe('getRuntimeWorktreeRemovalOptionsKey', () => { + it('separates a waived archive-hook retry from the attempt about to refuse on it (#19334)', () => { + const strict = getRuntimeWorktreeRemovalOptionsKey({ runHooks: true }) + expect( + getRuntimeWorktreeRemovalOptionsKey({ runHooks: true, allowFailedArchiveHook: true }) + ).not.toBe(strict) + }) + + it('keeps every waiver on its own axis, so none of them coalesce', () => { + const keys = [ + {}, + { force: true }, + { runHooks: true }, + { allowUnverifiedPtyStop: true }, + { allowFailedArchiveHook: true } + ].map(getRuntimeWorktreeRemovalOptionsKey) + expect(new Set(keys).size).toBe(keys.length) + }) + + it('treats an omitted option as its off value', () => { + expect(getRuntimeWorktreeRemovalOptionsKey({})).toBe( + getRuntimeWorktreeRemovalOptionsKey({ + force: false, + runHooks: false, + allowUnverifiedPtyStop: false, + allowFailedArchiveHook: false + }) + ) + }) +}) describe('runtimeRepoMatchesExecutionHost', () => { it('matches an unstamped SSH repo against its own host (#11163)', () => { diff --git a/src/main/runtime/runtime-worktree-selection.ts b/src/main/runtime/runtime-worktree-selection.ts index 7e3fc5be481..230f2952da8 100644 --- a/src/main/runtime/runtime-worktree-selection.ts +++ b/src/main/runtime/runtime-worktree-selection.ts @@ -26,15 +26,35 @@ export function gitStatusErrorMeansNotRepository(error: unknown): boolean { return /not a git repository/i.test(`${message}\n${stderr}`) } +/** + * Options for `removeManagedWorktree`. Named rather than positional on purpose: three of the + * four are interchangeable booleans that each waive a different safety check on a destructive + * delete, so a transposition would silently delete a checkout the caller meant to protect. + */ +export type RemoveManagedWorktreeOptions = { + force?: boolean + runHooks?: boolean + /** Waives proof that every PTY stopped (#11960). Set by explicit Force Delete only. */ + allowUnverifiedPtyStop?: boolean + /** Waives a FAILED archive hook (#19334). Never implied by `force`, never by `runHooks`. */ + allowFailedArchiveHook?: boolean + hostId?: string +} + export function getRuntimeWorktreeRemovalOptionsKey( - force: boolean, - runHooks: boolean, - allowUnverifiedPtyStop: boolean + options: Pick< + RemoveManagedWorktreeOptions, + 'force' | 'runHooks' | 'allowUnverifiedPtyStop' | 'allowFailedArchiveHook' + > ): string { // Why: a forced retry must not coalesce onto the in-flight attempt that just // failed the PTY gate — it would inherit that failure instead of retrying. - const ptyKey = allowUnverifiedPtyStop ? 'allow-unverified-pty' : 'require-pty-stop' - return `${force ? 'force' : 'normal'}:${runHooks ? 'run-hooks' : 'skip-hooks'}:${ptyKey}` + const ptyKey = options.allowUnverifiedPtyStop ? 'allow-unverified-pty' : 'require-pty-stop' + // Same reason for the archive waiver: a retry that waives the failed hook must not coalesce + // onto the in-flight attempt that is about to refuse on it. + const archiveKey = options.allowFailedArchiveHook ? 'allow-failed-archive' : 'require-archive' + const hooksKey = options.runHooks ? 'run-hooks' : 'skip-hooks' + return `${options.force ? 'force' : 'normal'}:${hooksKey}:${ptyKey}:${archiveKey}` } // Null executionHostId means host-unaware: path-only callers match any repo, and the first runtime diff --git a/src/main/runtime/structured-agent-session-runtime.test.ts b/src/main/runtime/structured-agent-session-runtime.test.ts index 2ce51b1c29b..29ee4740414 100644 --- a/src/main/runtime/structured-agent-session-runtime.test.ts +++ b/src/main/runtime/structured-agent-session-runtime.test.ts @@ -5,7 +5,6 @@ import { afterEach, describe, expect, it, vi } from 'vitest' import type { AgentSessionJournalIdentity } from '../../shared/agent-session-journal-types' import { agentSessionJournalCloseRetries } from '../native-chat/agent-session-journal/journal-close-retry' import { createTrackedJournalOpener } from '../native-chat/agent-session-journal/journal-store-test-open' -import type { AgentSessionJournal } from '../native-chat/agent-session-journal/journal-store' import type { AgentSessionClaimStatus, AgentSessionExecutionLocation, @@ -346,6 +345,7 @@ describe('a teardown that fails is retried by the next stop', () => { const flaky = new Proxy(real, { get(target, property, receiver) { if (property !== 'close') { + // oxlint-disable-next-line anti-slop/no-reflect-get -- Proxy `get` trap: only Reflect.get forwards a raw string|symbol key with the proxy receiver. return Reflect.get(target, property, receiver) } return async () => { @@ -356,7 +356,7 @@ describe('a teardown that fails is retried by the next stop', () => { await target.close() } } - }) as AgentSessionJournal + }) await agentSessionJournalCloseRetries.closeOrRetain(flaky) // The host's teardown runs the registry retry, so this stop surfaces it. diff --git a/src/main/runtime/structured-session-worktree-teardown.test.ts b/src/main/runtime/structured-session-worktree-teardown.test.ts index 86258ad9dab..915fbd52986 100644 --- a/src/main/runtime/structured-session-worktree-teardown.test.ts +++ b/src/main/runtime/structured-session-worktree-teardown.test.ts @@ -144,7 +144,10 @@ function destructiveDeps(extra: { allowUnverifiedStop?: boolean; timeoutMs?: num } } -function runtimeDouble(hooks: object): TeardownRuntime { +/** Keys are pinned to the real runtime; each stub narrows its own args to what the case drives. */ +type TeardownRuntimeStubs = Partial> + +function runtimeDouble(hooks: TeardownRuntimeStubs): TeardownRuntime { return Object.assign(Object.create(null), hooks) } diff --git a/src/main/runtime/structured-worker-identity.test.ts b/src/main/runtime/structured-worker-identity.test.ts index 9b678ebb0eb..2a66536291a 100644 --- a/src/main/runtime/structured-worker-identity.test.ts +++ b/src/main/runtime/structured-worker-identity.test.ts @@ -1,6 +1,9 @@ import { describe, expect, it, beforeEach } from 'vitest' import { isTerminalLeafId, parsePaneKey } from '../../shared/stable-pane-id' -import { structuredAgentSessionPaneKey } from '../../shared/structured-agent-session-projection' +import { + structuredAgentSessionPaneKey, + structuredAgentSessionTabId +} from '../../shared/structured-agent-session-projection' import { selectExactWorkerProviderSession } from './orchestration/worker-provider-session' import { structuredWorkerChildIdentityEnv } from './structured-worker-child-identity-env' import { @@ -85,12 +88,57 @@ describe('structured worker identity', () => { ) }) - it("accepts a persisted pane key for its own session and rejects another session's", () => { + it('accepts only the registered pane key for its session', () => { + const handle = mintStructuredWorkerHandle() const paneKey = mintStructuredWorkerPaneKey(SESSION_ID) - expect(structuredWorkerPaneKeyBelongsToSession(paneKey, SESSION_ID)).toBe(true) - expect(structuredWorkerPaneKeyBelongsToSession(paneKey, 'another-session-id')).toBe(false) - expect(structuredWorkerPaneKeyBelongsToSession('not-a-pane-key', SESSION_ID)).toBe(false) - expect(structuredWorkerPaneKeyBelongsToSession(null, SESSION_ID)).toBe(false) + structuredWorkerIdentities.register({ + handle, + sessionId: SESSION_ID, + agent: 'claude', + paneKey, + processIncarnation: structuredWorkerProcessIncarnation(SESSION_ID), + worktreeId: 'wt_1', + hostScope: { kind: 'local', hostId: 'local' } + }) + try { + expect(structuredWorkerPaneKeyBelongsToSession(paneKey, SESSION_ID)).toBe(true) + expect( + structuredWorkerPaneKeyBelongsToSession(mintStructuredWorkerPaneKey(SESSION_ID), SESSION_ID) + ).toBe(false) + expect(structuredWorkerPaneKeyBelongsToSession(paneKey, 'another-session-id')).toBe(false) + expect(structuredWorkerPaneKeyBelongsToSession('not-a-pane-key', SESSION_ID)).toBe(false) + expect(structuredWorkerPaneKeyBelongsToSession(null, SESSION_ID)).toBe(false) + } finally { + structuredWorkerIdentities.forget(handle) + } + }) + + it('rejects the deterministic public status key even for a registered worker', () => { + const handle = mintStructuredWorkerHandle() + const paneKey = mintStructuredWorkerPaneKey(SESSION_ID) + structuredWorkerIdentities.register({ + handle, + sessionId: SESSION_ID, + agent: 'claude', + paneKey, + processIncarnation: structuredWorkerProcessIncarnation(SESSION_ID), + worktreeId: 'wt_1', + hostScope: { kind: 'local', hostId: 'local' } + }) + try { + const statusPaneKey = structuredAgentSessionPaneKey( + structuredAgentSessionTabId(SESSION_ID), + SESSION_ID + ) + expect(structuredWorkerPaneKeyBelongsToSession(statusPaneKey, SESSION_ID)).toBe(false) + } finally { + structuredWorkerIdentities.forget(handle) + } + }) + + it('fails closed when the session has no registry record', () => { + const paneKey = mintStructuredWorkerPaneKey(SESSION_ID) + expect(structuredWorkerPaneKeyBelongsToSession(paneKey, SESSION_ID)).toBe(false) }) it('derives a pane key whose leaf passes the terminal leaf check', () => { @@ -169,6 +217,21 @@ describe('structured worker identity registry', () => { ).toBeNull() }) + it('refuses to rehydrate the deterministic public status key as a worker credential', () => { + expect( + registry.rehydrate({ + terminal_handle: mintStructuredWorkerHandle(), + pane_key: structuredAgentSessionPaneKey( + structuredAgentSessionTabId(SESSION_ID), + SESSION_ID + ), + process_incarnation: structuredWorkerProcessIncarnation(SESSION_ID), + worktree_id: 'wt_1', + host_scope: JSON.stringify({ kind: 'local', hostId: 'local' }) + }) + ).toBeNull() + }) + it('forgets both indexes', () => { const handle = mintStructuredWorkerHandle() registry.register({ diff --git a/src/main/runtime/structured-worker-identity.ts b/src/main/runtime/structured-worker-identity.ts index 161ae55dd5d..b29d68c297a 100644 --- a/src/main/runtime/structured-worker-identity.ts +++ b/src/main/runtime/structured-worker-identity.ts @@ -20,7 +20,10 @@ import type { AgentSessionRecord } from '../../shared/agent-session-record' import { LOCAL_EXECUTION_HOST_ID } from '../../shared/execution-host' -import { structuredAgentSessionTabId } from '../../shared/structured-agent-session-projection' +import { + structuredAgentSessionPaneKey, + structuredAgentSessionTabId +} from '../../shared/structured-agent-session-projection' import { isTerminalLeafId, makePaneKey, parsePaneKey } from '../../shared/stable-pane-id' import { parseWorkerTerminalHostScope, @@ -67,13 +70,30 @@ export function mintStructuredWorkerPaneKey(sessionId: string): string { return makePaneKey(structuredAgentSessionTabId(sessionId), randomUUID()) } -/** Integrity check for a persisted pane key: same session's tab, and a real terminal leaf. */ +/** Credential check: only the pane key registered for this session can prove its identity. */ export function structuredWorkerPaneKeyBelongsToSession( paneKey: string | null | undefined, sessionId: string ): boolean { + const registered = structuredWorkerIdentities.getBySessionId(sessionId) const parsed = paneKey ? parsePaneKey(paneKey) : null return Boolean( + registered && + registered.paneKey === paneKey && + parsed && + parsed.tabId === structuredAgentSessionTabId(sessionId) + ) +} + +/** Bootstrap validation for a durable row before its key can enter the registry. */ +function persistedStructuredWorkerPaneKeyIsValid( + paneKey: string | null | undefined, + sessionId: string +): paneKey is string { + const parsed = paneKey ? parsePaneKey(paneKey) : null + return Boolean( + paneKey && + paneKey !== structuredAgentSessionPaneKey(structuredAgentSessionTabId(sessionId), sessionId) && parsed && parsed.tabId === structuredAgentSessionTabId(sessionId) && isTerminalLeafId(parsed.leafId) @@ -176,9 +196,8 @@ export class StructuredWorkerIdentityRegistry { !hostScope || !row.worktree_id || !isStructuredWorkerHandle(row.terminal_handle) || - // The leaf is random, so the row IS the only source for it; verify only that it is a real - // leaf under this session's tab rather than trying to re-derive it. - !structuredWorkerPaneKeyBelongsToSession(row.pane_key, sessionId) + // The durable row bootstraps the registry after restart, so validate it before registration. + !persistedStructuredWorkerPaneKeyIsValid(row.pane_key, sessionId) ) { return null } @@ -187,7 +206,7 @@ export class StructuredWorkerIdentityRegistry { sessionId, // The row does not carry the provider; callers that need it read the durable record. agent: null, - paneKey: row.pane_key as string, + paneKey: row.pane_key, processIncarnation: structuredWorkerProcessIncarnation(sessionId), worktreeId: row.worktree_id, hostScope diff --git a/src/main/runtime/structured-worker-terminal-read.test.ts b/src/main/runtime/structured-worker-terminal-read.test.ts index 97859a988e0..8d7f4ef6b70 100644 --- a/src/main/runtime/structured-worker-terminal-read.test.ts +++ b/src/main/runtime/structured-worker-terminal-read.test.ts @@ -161,12 +161,17 @@ describe('reading a structured worker through the terminal-read path', () => { // could be perfect and a peer would still get `terminal_handle_stale` if nothing called it. const handle = registerWorker() installHost({ items: [message('i1', 'hello')] }) - const runtime = Object.assign(Object.create(OrcaRuntimeWithResolveTerminalPane.prototype), { + const runtime: { + readTerminal: ( + handle: string, + opts?: { cursor?: number; limit?: number; screen?: boolean } + ) => Promise<{ tail: string[] }> + } = Object.assign(Object.create(OrcaRuntimeWithResolveTerminalPane.prototype), { getOrchestrationDbIfAvailable: () => null, getLivePtyForHandle: () => { throw new Error('the PTY lookup must never be reached for a structured worker') } - }) as { readTerminal: (handle: string, opts?: object) => Promise<{ tail: string[] }> } + }) await expect(runtime.readTerminal(handle)).resolves.toMatchObject({ tail: ['[assistant] hello'], source: 'stream' diff --git a/src/main/runtime/terminal-wait-tail-state.ts b/src/main/runtime/terminal-wait-tail-state.ts index 712b301a961..8d0ce1f2e88 100644 --- a/src/main/runtime/terminal-wait-tail-state.ts +++ b/src/main/runtime/terminal-wait-tail-state.ts @@ -32,15 +32,15 @@ export function computeTerminalTailWaitState( partialLine: string, preview: string ): TerminalTailWaitState { - const tailShape = inspectTerminalWaitTail(lines, partialLine) - if (!tailShape.fromTail) { + const tailInspection = inspectTerminalWaitTail(lines, partialLine) + if (!tailInspection.fromTail) { return { waitText: preview, signal: findActionableTerminalWaitBlockedSignal(preview.toLowerCase()), fromTail: false } } - if (!tailShape.mayContainBlockedSignal) { + if (!tailInspection.mayContainBlockedSignal) { // Why: reads waitText only when a signal exists; avoid retaining a rebuilt 256 KiB string in the common case. return { waitText: '', signal: null, fromTail: true } } diff --git a/src/main/runtime/workspace-session-failed-write-rollback.ts b/src/main/runtime/workspace-session-failed-write-rollback.ts index 4f9e79a03d7..7234446cb9d 100644 --- a/src/main/runtime/workspace-session-failed-write-rollback.ts +++ b/src/main/runtime/workspace-session-failed-write-rollback.ts @@ -2,9 +2,21 @@ import { isDeepStrictEqual } from 'node:util' import type { WorkspaceSessionState } from '../../shared/workspace-session-state-types' const MISSING = Symbol('missing') -type RollbackValue = unknown -function isRecord(value: RollbackValue): value is Record { +/** A JSON-shaped slot of persisted session state, or the absent-key sentinel. */ +type RollbackSlot = + | string + | number + | boolean + | null + | undefined + | typeof MISSING + | readonly RollbackSlot[] + | RollbackRecord + +type RollbackRecord = { readonly [key: string]: RollbackSlot } + +function isRecord(value: RollbackSlot): value is RollbackRecord { return ( value !== MISSING && typeof value === 'object' && @@ -15,10 +27,10 @@ function isRecord(value: RollbackValue): value is Record { } function rollbackValue( - original: RollbackValue, - staged: RollbackValue, - current: RollbackValue -): RollbackValue { + original: RollbackSlot, + staged: RollbackSlot, + current: RollbackSlot +): RollbackSlot { if (isDeepStrictEqual(original, staged)) { return current } @@ -29,7 +41,7 @@ function rollbackValue( return current } let changed = false - const next: Record = { ...current } + const next: Record = { ...current } for (const key of new Set([ ...Object.keys(original), ...Object.keys(staged), diff --git a/src/main/skills/skill-bundle-artifacts.ts b/src/main/skills/skill-bundle-artifacts.ts index 08e33a0eeba..f8c19b58185 100644 --- a/src/main/skills/skill-bundle-artifacts.ts +++ b/src/main/skills/skill-bundle-artifacts.ts @@ -18,7 +18,7 @@ export type SkillBundleArtifacts = { } const sha256Schema = z.string().regex(/^[a-f0-9]{64}$/) -const snapshotShape = { +const snapshotFields = { releaseRevision: z.number().int().positive(), packageDigest: sha256Schema, gitTreeSha: z.string().regex(/^[a-f0-9]{40}$/), @@ -38,7 +38,7 @@ const snapshotShape = { ) .min(1) } -const knownSnapshotSchema = z.object(snapshotShape).strict() +const knownSnapshotSchema = z.object(snapshotFields).strict() const manifestSchema = z .object({ schemaVersion: z.literal(2), @@ -47,7 +47,7 @@ const manifestSchema = z .object({ name: z.string().regex(/^[a-z0-9][a-z0-9._-]*$/), sourcePath: z.string().min(1), - ...snapshotShape + ...snapshotFields }) .strict() ) diff --git a/src/main/skills/skill-bundle-install-service.test.ts b/src/main/skills/skill-bundle-install-service.test.ts index 78c8eae0652..f5de4faf7eb 100644 --- a/src/main/skills/skill-bundle-install-service.test.ts +++ b/src/main/skills/skill-bundle-install-service.test.ts @@ -104,6 +104,7 @@ describe('skill bundle installation', () => { } } } + // oxlint-disable-next-line anti-slop/no-reflect-get -- Proxy get trap default forward. const value = Reflect.get(target, property, target) as unknown return typeof value === 'function' ? value.bind(target) : value } diff --git a/src/main/skills/skill-cloud-grant-installation.test.ts b/src/main/skills/skill-cloud-grant-installation.test.ts index 5355e6f4869..8534ce7a176 100644 --- a/src/main/skills/skill-cloud-grant-installation.test.ts +++ b/src/main/skills/skill-cloud-grant-installation.test.ts @@ -195,6 +195,7 @@ it.each(['skill-install-cancelled', 'skill-install-filesystem-failed'])( if (typeof key === 'string' && /^\d+$/.test(key)) { reads += 1 } + // oxlint-disable-next-line anti-slop/no-reflect-get -- Proxy `get` trap: only Reflect.get forwards a raw string|symbol key with the proxy receiver. return Reflect.get(target, key, receiver) } }) diff --git a/src/main/skills/skill-upload-session-admission-regression.test.ts b/src/main/skills/skill-upload-session-admission-regression.test.ts index f0c7cd54405..9bbdb71ef68 100644 --- a/src/main/skills/skill-upload-session-admission-regression.test.ts +++ b/src/main/skills/skill-upload-session-admission-regression.test.ts @@ -4,6 +4,7 @@ import type * as NodeFsPromises from 'node:fs/promises' import { tmpdir } from 'node:os' import { join } from 'node:path' import { afterEach, describe, expect, it, vi } from 'vitest' +import type { SkillUploadRetainedPaths } from './skill-upload-retained-paths' import { SkillUploadSessionService } from './skill-upload-session-service' const roots: string[] = [] @@ -30,10 +31,6 @@ vi.mock('node:fs/promises', async (importOriginal) => { } }) -type RetainedPathCleanup = { - removeFailedCleanup(path: string): Promise -} - afterEach(async () => { vi.useRealTimers() openGate.release = null @@ -51,8 +48,8 @@ function identity(bytes: Buffer) { } } -function retainedPathCleanup(service: SkillUploadSessionService): RetainedPathCleanup { - return Reflect.get(service, 'retainedPaths') as RetainedPathCleanup +function retainedPathCleanup(service: SkillUploadSessionService): SkillUploadRetainedPaths { + return service['retainedPaths'] } async function stagedArchiveCount(uploads: string): Promise { diff --git a/src/main/source-control/hosted-review-branch-cache.ts b/src/main/source-control/hosted-review-branch-cache.ts index 7fafc855ba2..0e6f207ab9c 100644 --- a/src/main/source-control/hosted-review-branch-cache.ts +++ b/src/main/source-control/hosted-review-branch-cache.ts @@ -59,9 +59,14 @@ type CacheEntry = { startedAt: number } +declare const inflightTokenBrand: unique symbol + +/** Identity token for one lookup; only ever compared by reference. */ +type InflightToken = { readonly [inflightTokenBrand]?: never } + type InflightRecord = { /** Identity, so a detached lookup can only ever clear its own entry. */ - token: object + token: InflightToken startedAt: number promise: Promise /** Releases the callers and unpins the branch; idempotent. */ @@ -154,7 +159,7 @@ function storeEntry(key: string, entry: CacheEntry): void { } /** Clears the key's in-flight record only if it is still this lookup's. */ -function releaseInflight(key: string, token: object): boolean { +function releaseInflight(key: string, token: InflightToken): boolean { if (inflight.get(key)?.token !== token) { return false } @@ -271,7 +276,7 @@ function startLookup( ): Promise { const startedAt = Date.now() const generation = scopeGeneration(scope) - const token = {} + const token: InflightToken = {} /** The deadline released the callers; the lookup itself runs on, detached. */ let timedOut = false let completed = false diff --git a/src/main/ssh/ssh-host-key-store.test.ts b/src/main/ssh/ssh-host-key-store.test.ts index 4e18df099e4..835601aeac2 100644 --- a/src/main/ssh/ssh-host-key-store.test.ts +++ b/src/main/ssh/ssh-host-key-store.test.ts @@ -303,7 +303,7 @@ describe('a host key store written by a newer version', () => { const storeFile = join(dir, 'ssh-host-keys.json') const future = JSON.stringify({ version: 99, - hostKeys: [{ shape: 'we do not understand' }] + hostKeys: [{ unrecognized: 'we do not understand' }] }) await writeFile(storeFile, future, 'utf-8') diff --git a/src/main/ssh/ssh-orphan-sweep-pane-state-verdicts.test.ts b/src/main/ssh/ssh-orphan-sweep-pane-state-verdicts.test.ts index 560d18b8b62..9bb42a2cb27 100644 --- a/src/main/ssh/ssh-orphan-sweep-pane-state-verdicts.test.ts +++ b/src/main/ssh/ssh-orphan-sweep-pane-state-verdicts.test.ts @@ -167,9 +167,9 @@ describe('what the host publishes about a pane, read by the sweep', () => { it('records that a backgrounded and a suspended shell are indistinguishable at tpgid/pgid', () => { // The premise of the whole file. If this ever fails, the fixtures drifted and every verdict // below is testing something other than the defect. Pids differ between captures, so the - // comparison is of the shell row's shape: who its parent is, whether it leads its own process - // group, whether that group owns the terminal, and its state flags. - const shellShape = (capture: { rootPid: number; table: readonly string[] }): string => { + // comparison is of the shell row's signature: who its parent is, whether it leads its own + // process group, whether that group owns the terminal, and its state flags. + const shellRowSignature = (capture: { rootPid: number; table: readonly string[] }): string => { const row = parseStrictProcessTableRows(capture.table.join('\n')).find( (candidate) => candidate.pid === capture.rootPid )! @@ -181,19 +181,21 @@ describe('what the host publishes about a pane, read by the sweep', () => { ].join(' ') } - expect(shellShape(CAPTURES.idle)).toBe('ppid=1 leadsOwnGroup=true ownsTerminal=true stat=Ss+') - expect(shellShape(CAPTURES.background)).toBe(shellShape(CAPTURES.idle)) - expect(shellShape(CAPTURES.ctrlz)).toBe(shellShape(CAPTURES.idle)) - expect(shellShape(CAPTURES.foreground)).not.toBe(shellShape(CAPTURES.idle)) + expect(shellRowSignature(CAPTURES.idle)).toBe( + 'ppid=1 leadsOwnGroup=true ownsTerminal=true stat=Ss+' + ) + expect(shellRowSignature(CAPTURES.background)).toBe(shellRowSignature(CAPTURES.idle)) + expect(shellRowSignature(CAPTURES.ctrlz)).toBe(shellRowSignature(CAPTURES.idle)) + expect(shellRowSignature(CAPTURES.foreground)).not.toBe(shellRowSignature(CAPTURES.idle)) // Same premise for the `set +m` captures, minus `ppid`: their harness keeps its parent alive - // rather than reparenting the shell to init, and the ppid is the one field of the shape the - // predicate never reads. - const paneShape = (capture: { rootPid: number; table: readonly string[] }): string => - shellShape(capture).split(' ').slice(1).join(' ') - expect(paneShape(CAPTURES.setMinusMBackground)).toBe(paneShape(CAPTURES.idle)) - expect(paneShape(CAPTURES.nottyGroupMember)).toBe(paneShape(CAPTURES.idle)) - expect(paneShape(CAPTURES.doubleForkedGroupMember)).toBe(paneShape(CAPTURES.idle)) + // rather than reparenting the shell to init, and the ppid is the one field of the signature + // the predicate never reads. + const paneRowSignature = (capture: { rootPid: number; table: readonly string[] }): string => + shellRowSignature(capture).split(' ').slice(1).join(' ') + expect(paneRowSignature(CAPTURES.setMinusMBackground)).toBe(paneRowSignature(CAPTURES.idle)) + expect(paneRowSignature(CAPTURES.nottyGroupMember)).toBe(paneRowSignature(CAPTURES.idle)) + expect(paneRowSignature(CAPTURES.doubleForkedGroupMember)).toBe(paneRowSignature(CAPTURES.idle)) }) it('sweeps an idle shell', async () => { diff --git a/src/main/ssh/ssh-relay-deploy-helpers.test.ts b/src/main/ssh/ssh-relay-deploy-helpers.test.ts index 1d73e188d19..adb14925636 100644 --- a/src/main/ssh/ssh-relay-deploy-helpers.test.ts +++ b/src/main/ssh/ssh-relay-deploy-helpers.test.ts @@ -232,9 +232,9 @@ describe('waitForSentinel', () => { it.each(['ssh2 channel', 'system-SSH child stdio'])( 'forwards write(false), callback settlement, and drain for a %s', - async (shape) => { + async (channelKind) => { const channel = createMockChannel() - if (shape.startsWith('system')) { + if (channelKind.startsWith('system')) { Object.assign(channel, { _process: new EventEmitter() }) } const callback = vi.fn() diff --git a/src/main/ssh/ssh-relay-session.ts b/src/main/ssh/ssh-relay-session.ts index 06379f771bf..7422aa09a96 100644 --- a/src/main/ssh/ssh-relay-session.ts +++ b/src/main/ssh/ssh-relay-session.ts @@ -35,6 +35,7 @@ import { AGENT_HOOK_REQUEST_REPLAY_METHOD, isRemoteAgentHooksEnabled } from '../../shared/agent-hook-relay' +import { AGENT_STATUS_LEGACY_UNADVERTISED_PEER_CAPABILITIES } from '../../shared/agent-status-legacy-adapter' import { _internals as openCodeInternals } from '../opencode/hook-service' import { getPiAgentStatusExtensionSource } from '../pi/agent-status-extension-source' import { @@ -1796,6 +1797,8 @@ export class SshRelaySession { typeof envelope.claudeRunningNonAgentTask === 'boolean' ? envelope.claudeRunningNonAgentTask : undefined, + // Why: the SSH relay protocol advertises no run-serving capability. + advertisedAgentStatusCapabilities: AGENT_STATUS_LEGACY_UNADVERTISED_PEER_CAPABILITIES, payload: envelope.payload }, this.targetId diff --git a/src/main/ssh/ssh-remote-platform-detection.ts b/src/main/ssh/ssh-remote-platform-detection.ts index 6fd0f87c767..499e088e49c 100644 --- a/src/main/ssh/ssh-remote-platform-detection.ts +++ b/src/main/ssh/ssh-remote-platform-detection.ts @@ -38,7 +38,7 @@ export async function detectRemoteHostPlatform( } // Why: only the PowerShell probe can settle a uname the parser cannot map // (Cygwin, say), so a refused or timed-out channel leaves it unsettled. - const windowsProbeNeverRan = windows.kind === 'failed' && isTransportShapedError(windows.error) + const windowsProbeNeverRan = windows.kind === 'failed' && isTransportFailure(windows.error) if ((uname.kind === 'unsupported' && !windowsProbeNeverRan) || windows.kind === 'unsupported') { const reported = uname.kind === 'unsupported' ? uname.uname : probeUname(windows) console.warn(`[ssh-relay] Remote reported an unsupported platform: ${reported}`) @@ -66,7 +66,7 @@ function undetectedPlatformError( windows: PlatformProbeOutcome ): Error { for (const outcome of [uname, windows]) { - if (outcome.kind === 'failed' && isTransportShapedError(outcome.error)) { + if (outcome.kind === 'failed' && isTransportFailure(outcome.error)) { return wrapProbeError(outcome.error) } } @@ -84,7 +84,7 @@ function undetectedPlatformError( // Why: a refused or timed-out channel explains the failure better than the // other probe's mundane non-zero exit (e.g. "sh: not found" on Windows). -function isTransportShapedError(error: unknown): boolean { +function isTransportFailure(error: unknown): boolean { return ( isSshSessionLimitError(error) || isUnconfirmedSshCommandTermination(error) || diff --git a/src/main/text-generation/commit-message-text-generation-failure-sanitization.test.ts b/src/main/text-generation/commit-message-text-generation-failure-sanitization.test.ts index 6d20998b625..ac6577b2d96 100644 --- a/src/main/text-generation/commit-message-text-generation-failure-sanitization.test.ts +++ b/src/main/text-generation/commit-message-text-generation-failure-sanitization.test.ts @@ -327,7 +327,7 @@ describe('generateCommitMessageFromContext', () => { '401: {"message":"slot 1:/Users/name/alt failed"}', 'Pi CLI command failed with code 1: 401: {"message":"slot 1:[path] failed"}' ] - ])('redacts a %s in provider bodies', async (_shape, stderr, expected) => { + ])('redacts a %s in provider bodies', async (_variant, stderr, expected) => { const result = await generateCommitMessageFromContext( { branch: 'main', diff --git a/src/main/updater-test-harness.ts b/src/main/updater-test-harness.ts index 36687d0a79e..83379b7ac9b 100644 --- a/src/main/updater-test-harness.ts +++ b/src/main/updater-test-harness.ts @@ -146,6 +146,7 @@ export function createUpdaterMocks(): UpdaterMocks { const loadedGeneration = currentGeneration return new Proxy(autoUpdaterMock, { get(target, property) { + // oxlint-disable-next-line anti-slop/no-reflect-get -- Proxy `get` trap: raw string|symbol pass-through; the receiver stays the target on purpose. const value = Reflect.get(target, property) if (loadedGeneration === currentGeneration || typeof value !== 'function') { return value @@ -155,7 +156,7 @@ export function createUpdaterMocks(): UpdaterMocks { set(target, property, value) { return loadedGeneration === currentGeneration ? Reflect.set(target, property, value) : true } - }) as AutoUpdaterMock + }) } const reset = () => { diff --git a/src/main/window/clipboard-ipc-handlers.ts b/src/main/window/clipboard-ipc-handlers.ts index 9b2bc509e38..f6a688ea3d3 100644 --- a/src/main/window/clipboard-ipc-handlers.ts +++ b/src/main/window/clipboard-ipc-handlers.ts @@ -179,7 +179,15 @@ export function registerClipboardHandlers(store: Store): void { ) ipcMain.handle('clipboard:writeText', async (event, text: string) => { assertTrustedClipboardTextSender(event) - return clipboard.writeText(await assertClipboardTextWriteWithinLimitWithYield(text)) + const safeText = await assertClipboardTextWriteWithinLimitWithYield(text) + try { + clipboard.writeText(safeText) + } catch (error) { + // Native failures can name paths or platform state, so they stay here; the renderer + // only renders a vetted reason (describeClipboardWriteFailure). + console.error('[clipboard] writeText failed', error) + throw error + } }) ipcMain.handle('clipboard:writeTerminalText', async (event, text: string) => { assertTrustedClipboardTextSender(event) diff --git a/src/main/workspace-space-repo-scan.test.ts b/src/main/workspace-space-repo-scan.test.ts index fbf570f12c1..5447ca93550 100644 --- a/src/main/workspace-space-repo-scan.test.ts +++ b/src/main/workspace-space-repo-scan.test.ts @@ -15,6 +15,7 @@ describe('summarizeWorkspaceSpaceRows', () => { ) { reads[property] += 1 } + // oxlint-disable-next-line anti-slop/no-reflect-get -- Proxy get trap default forward. return Reflect.get(target, property, receiver) } }) diff --git a/src/main/worktree-archive-hook-cannot-run.test.ts b/src/main/worktree-archive-hook-cannot-run.test.ts new file mode 100644 index 00000000000..9900f684c53 --- /dev/null +++ b/src/main/worktree-archive-hook-cannot-run.test.ts @@ -0,0 +1,86 @@ +import { describe, expect, it, vi } from 'vitest' +import type { Repo } from '../shared/repo-types' +import { gateRemovalWhereArchiveHookCannotRun } from './worktree-archive-hook-gate' +import { + ARCHIVE_HOOK_FAILED_REMOVAL_CODE, + asArchiveHookRefusal +} from '../shared/worktree/archive-hook-removal-gate' + +// Mocked at the SSH-aware reader, because that is the whole point: on an SSH worktree the hook +// lives on the execution host, not on the runtime's local disk. +const { getArchiveHooksForRemovalMock } = vi.hoisted(() => ({ + getArchiveHooksForRemovalMock: vi.fn() +})) +vi.mock('./ipc/worktrees/removal/worktree-archive-hook', () => ({ + getArchiveHooksForRemoval: getArchiveHooksForRemovalMock +})) + +const REPO: Repo = { id: 'r', path: '/repo', displayName: 'r', badgeColor: '#000', addedAt: 0 } + +const withArchiveHook = (present: boolean): void => { + getArchiveHooksForRemovalMock.mockResolvedValue( + present ? { scripts: { archive: 'archive.sh' } } : null + ) +} + +const gate = (over: Partial[0]> = {}) => + gateRemovalWhereArchiveHookCannotRun({ + repo: REPO, + connectionId: undefined, + worktreePath: '/w/f', + runHooks: true, + allowFailedArchiveHook: false, + ...over + }) + +// Why (#19334 / S1): the runtime's SSH path runs no archive hook. Silently deleting there would +// reproduce the reported bug in the one place `worktree.archive-failure-blocking.v1` promises it +// cannot happen, so the capability would be advertising a guarantee it does not keep. +describe('gateRemovalWhereArchiveHookCannotRun', () => { + it('lets a repo with no archive hook through untouched', async () => { + withArchiveHook(false) + await expect(gate()).resolves.toEqual({}) + }) + + it('warns rather than refuses when hooks were not requested', async () => { + vi.spyOn(console, 'warn').mockImplementation(() => {}) + withArchiveHook(true) + await expect(gate({ runHooks: false })).resolves.toMatchObject({ + warning: expect.stringContaining('pass --run-hooks to run it') + }) + }) + + // Why (#19334): reading locally would miss the committed hook on an SSH host entirely. + it('asks the execution host whether a hook exists, not the local disk', async () => { + withArchiveHook(false) + await gate({ connectionId: 'ssh-target' }) + expect(getArchiveHooksForRemovalMock).toHaveBeenCalledWith(REPO, 'ssh-target') + }) + + it('refuses a hooks-requested removal it cannot honour, as unverifiable', async () => { + withArchiveHook(true) + const refusal = asArchiveHookRefusal(await gate().catch((error: unknown) => error)) + + expect(refusal.code).toBe(ARCHIVE_HOOK_FAILED_REMOVAL_CODE) + // Never `exited`: nothing ran, so nothing reported an exit to read. + expect(refusal.data).toMatchObject({ worktreePath: '/w/f', outcome: 'unverifiable' }) + expect(refusal.data.exitCode).toBeUndefined() + }) + + // Why this matters: without it the refusal is a dead loop. The desktop's "Delete Anyway" and the + // CLI's --allow-failed-archive-hook both land here, and a block with no reachable exit on the + // surface where it happens is the failure mode this PR fixed on the desktop path. + it('deletes anyway when the refusal is explicitly waived, and records it', async () => { + vi.spyOn(console, 'warn').mockImplementation(() => {}) + withArchiveHook(true) + + const result = await gate({ allowFailedArchiveHook: true }) + + expect(result.warning).toBeUndefined() + expect(result.override).toMatchObject({ + worktreePath: '/w/f', + outcome: 'unverifiable', + overridden: true + }) + }) +}) diff --git a/src/main/worktree-archive-hook-gate.ts b/src/main/worktree-archive-hook-gate.ts new file mode 100644 index 00000000000..1c50635372b --- /dev/null +++ b/src/main/worktree-archive-hook-gate.ts @@ -0,0 +1,86 @@ +import type { Repo } from '../shared/repo-types' +import { getArchiveHooksForRemoval } from './ipc/worktrees/removal/worktree-archive-hook' +import { + WorktreeArchiveHookFailedError, + formatArchiveHookOverride, + type ArchiveHookFailure, + classifyArchiveHookFailure, + formatArchiveHookFailure, + type ArchiveHookOverride, + type ArchiveHookRunResult +} from '../shared/worktree/archive-hook-removal-gate' + +/** + * The archive-hook precondition for a destructive worktree removal (#19334). Call it while the + * checkout, its registration, its agents and its ownership evidence are all still intact: on a + * failure it throws, and no caller may stop a PTY, deregister, or delete before it has returned. + * + * Returns the override record when the failure was explicitly waived, `undefined` on success. + */ +export function gateWorktreeRemovalOnArchiveHook(args: { + worktreePath: string + result: ArchiveHookRunResult + allowFailure: boolean +}): ArchiveHookOverride | undefined { + if (args.result.success) { + return undefined + } + const failure = classifyArchiveHookFailure(args.worktreePath, args.result) + if (!args.allowFailure) { + console.error(`[hooks] ${formatArchiveHookFailure(failure)}`) + throw new WorktreeArchiveHookFailedError(failure) + } + console.warn( + `[hooks] archive hook failure overridden for ${args.worktreePath}; deleting anyway:`, + args.result.output + ) + return { ...failure, overridden: true } +} + +/** + * The runtime's SSH removal path cannot run an archive hook at all (see #18563, which adds it). + * Until it can, a removal that asked for hooks has to refuse rather than delete: deleting would + * repeat exactly the bug this gate exists to stop, and reporting success would make + * `worktree.archive-failure-blocking.v1` a lie in the one case the reporter asked it to cover. + * + * Modelled as `unverifiable` because that is what it is — the hook's outcome was never observed — + * so it reuses the same typed error, the same `--allow-failed-archive-hook` waiver, and the same + * desktop "Delete Anyway" affordance as any other unobserved hook. Waiving it records the same + * `archiveHookOverride` the other paths return, so a caller is told what it accepted. + * + * Returns the skipped-hook warning when hooks were not requested, matching the local path. + * + * Hooks are read through `getArchiveHooksForRemoval` rather than `getEffectiveHooks`: on an + * SSH-hosted worktree `repo.path` names a path on the EXECUTION host, so a local read would miss + * the committed `orca.yaml` this gate exists for, and could refuse on a coincidental local one. + */ +export async function gateRemovalWhereArchiveHookCannotRun(args: { + repo: Repo + /** The removal route's owner; `repo.connectionId` is null for an `ssh:`-only row. */ + connectionId: string | undefined + worktreePath: string + runHooks: boolean + /** Explicit waiver. Without it the refusal below has no exit on this path. */ + allowFailedArchiveHook: boolean +}): Promise<{ warning?: string; override?: ArchiveHookOverride }> { + const hooks = await getArchiveHooksForRemoval(args.repo, args.connectionId) + if (!hooks?.scripts.archive) { + return {} + } + if (!args.runHooks) { + const warning = `orca.yaml archive hook skipped for ${args.worktreePath}; pass --run-hooks to run it.` + console.warn(`[hooks] ${warning}`) + return { warning } + } + const failure: ArchiveHookFailure = { + worktreePath: args.worktreePath, + outcome: 'unverifiable', + output: + 'This host cannot run an archive hook for an SSH-hosted worktree, so the hook never ran. Remove it from the desktop app, which does run it, or delete anyway to accept that nothing was archived.' + } + if (!args.allowFailedArchiveHook) { + throw new WorktreeArchiveHookFailedError(failure) + } + console.warn(`[hooks] ${formatArchiveHookOverride({ ...failure, overridden: true })}`) + return { override: { ...failure, overridden: true } } +} diff --git a/src/main/worktree-create-preparation-pool.ts b/src/main/worktree-create-preparation-pool.ts index 8251e59a94b..7a040373c57 100644 --- a/src/main/worktree-create-preparation-pool.ts +++ b/src/main/worktree-create-preparation-pool.ts @@ -1,3 +1,4 @@ +import { worktreePreparationGit } from './git/worktree-create-git-executor' import { randomUUID } from 'node:crypto' import { mkdir } from 'node:fs/promises' import { posix, win32 } from 'node:path' @@ -83,7 +84,7 @@ async function discardEntry(entry: PreparationEntry): Promise { function discardEntryInBackground(entry: PreparationEntry): void { // Tracked, not bare `void`: the test reset must be able to settle it before dropping the registry. - trackPreparationDiscard(discardEntry(entry)) + trackPreparationDiscard(worktreePreparationGit.run(() => discardEntry(entry))) } function expireEntry(entry: PreparationEntry): void { @@ -151,7 +152,11 @@ export function takePreparation(entry: PreparationEntry): void { clearTimeout(entry.expiration) } -export function startPreparation({ +export function startPreparation(args: StartPreparationArgs): Promise { + return worktreePreparationGit.run(() => startBackgroundPreparation(args)) +} + +function startBackgroundPreparation({ repoPath, workspaceRoot, baseBranch, diff --git a/src/main/worktree-create-preparation-stale-cleanup.ts b/src/main/worktree-create-preparation-stale-cleanup.ts index 1606e62ed8f..d0f146eda98 100644 --- a/src/main/worktree-create-preparation-stale-cleanup.ts +++ b/src/main/worktree-create-preparation-stale-cleanup.ts @@ -33,6 +33,10 @@ export async function startStalePreparationCleanup( return } void retryPendingPreparationDiscards(cleanupKey) + // Why 'background': reclaiming another process's leftovers is never what a user is waiting on, and + // removing a large tree holds a general admission slot for seconds. The scan keeps the caller's + // tier — a create can await a preparation, and so transitively this scan. + const reclaimOptions: AddWorktreeOptions = { ...options, admissionTier: 'background' } const scan = listWorktreeGraph(repoPath, { ...options, includeCreatePreparations: true @@ -53,9 +57,9 @@ export async function startStalePreparationCleanup( // Preserve a branch-attached final path after a crash; only detached or // still-hidden preparations are safe to discard automatically. if (worktree.branch && pathOwnerPid === null) { - await unlockPreparedWorktree(repoPath, worktree.path, options).catch(() => {}) + await unlockPreparedWorktree(repoPath, worktree.path, reclaimOptions).catch(() => {}) } else if (pathOwnerPid === lockOwnerPid) { - await discardPreparedWorktree(repoPath, worktree.path, options).catch(() => {}) + await discardPreparedWorktree(repoPath, worktree.path, reclaimOptions).catch(() => {}) } } } diff --git a/src/main/worktree-create-preparation.test.ts b/src/main/worktree-create-preparation.test.ts index 785ed094b33..9b3291bc463 100644 --- a/src/main/worktree-create-preparation.test.ts +++ b/src/main/worktree-create-preparation.test.ts @@ -99,6 +99,36 @@ afterEach(async () => { }) describe('worktree create preparation registry', () => { + it.each([undefined, 'Ubuntu'])( + 'preserves create priority through claim probes on %s', + async (wslDistro) => { + const routing = wslDistro ? { wslDistro } : {} + mocks.getWorktreeOptions.mockReturnValue(routing) + await prepareWorktreeCreateForRepo(store, repo, 'origin/main') + expect(mocks.resolveBaseRef).toHaveBeenLastCalledWith(repo.path, 'origin/main', routing) + expect(mocks.prepareCheckout.mock.calls[0]?.[4]).not.toHaveProperty('admissionTier') + + const options = { ...routing, admissionTier: 'interactive' as const } + await expect( + consumePreparedWorktreeCreate({ + repoPath: repo.path, + workspaceRoot: '/workspace', + worktreePath: '/workspace/final', + branch: 'feature/test', + baseBranch: 'main', + options + }) + ).resolves.toMatchObject({ status: 'hit', retargeted: true }) + expect(mocks.resolveBaseRef).toHaveBeenLastCalledWith(repo.path, 'main', options) + expect(mocks.measureDivergence).toHaveBeenCalledWith( + repo.path, + 'refs/remotes/origin/main', + 'refs/heads/main', + options + ) + } + ) + it('starts the checkout only once the async workspace root resolves', async () => { let resolveRoot!: (root: string) => void mocks.computeWorkspaceRootAsync.mockReturnValue( @@ -185,7 +215,12 @@ describe('worktree create preparation registry', () => { branch: 'feature/test', baseBranch: 'main' }) - ).resolves.toEqual({ status: 'hit', retargeted: true, result: {} }) + ).resolves.toEqual({ + status: 'hit', + retargeted: true, + result: {}, + rearm: expect.any(Function) + }) // Finalize still receives the requested base, so it resets onto the requested commit. expect(mocks.finalize).toHaveBeenCalledWith( repo.path, @@ -261,7 +296,12 @@ describe('worktree create preparation registry', () => { branch: 'feature/test', baseBranch: 'refs/remotes/origin/main' }) - ).resolves.toEqual({ status: 'hit', retargeted: false, result: {} }) + ).resolves.toEqual({ + status: 'hit', + retargeted: false, + result: {}, + rearm: expect.any(Function) + }) }) it('never hands the same prepared checkout to two concurrent creates', async () => { @@ -414,7 +454,9 @@ describe('worktree create preparation registry', () => { }) try { await flushBackgroundWork() - expect(mocks.discard).toHaveBeenCalledWith(repo.path, stalePath, {}) + expect(mocks.discard).toHaveBeenCalledWith(repo.path, stalePath, { + admissionTier: 'background' + }) expect(ready).toBe(true) await prepareWorktreeCreateForRepo(store, repo, 'origin/release') expect(mocks.prepareCheckout).toHaveBeenCalledTimes(2) @@ -456,8 +498,10 @@ describe('worktree create preparation registry', () => { await prepareWorktreeCreateForRepo(store, repo, 'origin/main') - expect(mocks.unlock).toHaveBeenCalledWith(repo.path, '/workspace/final', {}) - expect(mocks.discard).not.toHaveBeenCalledWith(repo.path, '/workspace/final', {}) + expect(mocks.unlock).toHaveBeenCalledWith(repo.path, '/workspace/final', { + admissionTier: 'background' + }) + expect(mocks.discard).not.toHaveBeenCalledWith(repo.path, '/workspace/final', expect.anything()) }) it('does not classify a user branch worktree under the preparation directory as stale', async () => { @@ -516,14 +560,18 @@ describe('worktree create preparation registry', () => { expect(mocks.discard).toHaveBeenCalledTimes(1) }) + /** Mirrors a real create: consume, then run the deferred re-arm once the create has returned. */ async function consumeOnce(name: string): Promise { - await consumePreparedWorktreeCreate({ + const attempt = await consumePreparedWorktreeCreate({ repoPath: repo.path, workspaceRoot: '/workspace', worktreePath: `/workspace/${name}`, branch: `feature/${name}`, baseBranch: 'origin/main' }) + if (attempt.status === 'hit') { + attempt.rearm() + } } it('does not re-arm after an isolated create', async () => { @@ -553,10 +601,70 @@ describe('worktree create preparation registry', () => { branch: 'feature/third', baseBranch: 'origin/main' }) - ).resolves.toEqual({ status: 'hit', retargeted: false, result: {} }) + ).resolves.toEqual({ + status: 'hit', + retargeted: false, + result: {}, + rearm: expect.any(Function) + }) expect(mocks.finalize).toHaveBeenCalledTimes(3) }) + it('holds the re-arm checkout until the create runs the deferred thunk', async () => { + await prepareWorktreeCreateForRepo(store, repo, 'origin/main') + await consumeOnce('first') + await prepareWorktreeCreateForRepo(store, repo, 'origin/main') + mocks.prepareCheckout.mockClear() + + const attempt = await consumePreparedWorktreeCreate({ + repoPath: repo.path, + workspaceRoot: '/workspace', + worktreePath: '/workspace/second', + branch: 'feature/second', + baseBranch: 'origin/main' + }) + + // Drained first: an eager re-arm reaches prepareCheckout only after the pool awaits stale + // cleanup, so asserting in the same turn would pass with the deferral removed. + await flushBackgroundWork() + // The replacement checkout would otherwise hold a git admission slot for the rest of the create. + expect(mocks.prepareCheckout).not.toHaveBeenCalled() + expect(attempt.status).toBe('hit') + if (attempt.status === 'hit') { + attempt.rearm() + } + await flushBackgroundWork() + expect(mocks.prepareCheckout).toHaveBeenCalledTimes(1) + }) + + // `startPreparation` overwrites the map entry outright, so a thunk that armed over a prefetch + // would leave that prefetch's locked checkout on disk with nothing holding a reference to it. + it('skips the deferred re-arm when a prefetch armed the same key mid-create', async () => { + await prepareWorktreeCreateForRepo(store, repo, 'origin/main') + await consumeOnce('first') + await prepareWorktreeCreateForRepo(store, repo, 'origin/main') + + const attempt = await consumePreparedWorktreeCreate({ + repoPath: repo.path, + workspaceRoot: '/workspace', + worktreePath: '/workspace/second', + branch: 'feature/second', + baseBranch: 'origin/main' + }) + expect(attempt.status).toBe('hit') + + // The user reopens the composer while the create is still finishing. + await prepareWorktreeCreateForRepo(store, repo, 'origin/main') + mocks.prepareCheckout.mockClear() + + if (attempt.status === 'hit') { + attempt.rearm() + } + await flushBackgroundWork() + + expect(mocks.prepareCheckout).not.toHaveBeenCalled() + }) + it('does not re-arm when finalization failed', async () => { await prepareWorktreeCreateForRepo(store, repo, 'origin/main') await consumeOnce('first') diff --git a/src/main/worktree-create-preparation.ts b/src/main/worktree-create-preparation.ts index b13916194ca..be7ea0d5a36 100644 --- a/src/main/worktree-create-preparation.ts +++ b/src/main/worktree-create-preparation.ts @@ -1,3 +1,4 @@ +import { worktreePreparationGit } from './git/worktree-create-git-executor' import { mkdir } from 'node:fs/promises' import { posix, win32 } from 'node:path' import type { Store } from './persistence' @@ -43,8 +44,18 @@ export function hasPendingWorktreeCreatePreparations(): boolean { return hasPendingPreparations() } +/** Carries the consumed slot's pending re-arm to the create's outermost `finally`, which fires it + * once — after startup on success, and on any failure that follows the consume. */ +export type PreparationRearmHolder = { fire: () => void } + export type PreparedWorktreeCreateAttempt = - | { status: 'hit'; retargeted: boolean; result: AddWorktreeResult } + | { + status: 'hit' + retargeted: boolean + result: AddWorktreeResult + /** Run after materialization/startup completes, before returning the create result. */ + rearm: () => void + } | { status: 'miss'; reason: PreparedCheckoutMissReason } type ConsumePreparedWorktreeArgs = { @@ -62,14 +73,23 @@ function canonicalBaseRef( baseBranch: string, options: AddWorktreeOptions ): Promise { - return resolveLocalWorktreeBaseRef( - repoPath, - baseBranch, - options.wslDistro ? { wslDistro: options.wslDistro } : {} + return resolveLocalWorktreeBaseRef(repoPath, baseBranch, { + ...(options.wslDistro ? { wslDistro: options.wslDistro } : {}), + ...(options.admissionTier ? { admissionTier: options.admissionTier } : {}) + }) +} + +export function prepareWorktreeCreateForRepo( + store: Store, + repo: Repo, + baseBranch: string +): Promise { + return worktreePreparationGit.run(() => + prepareWorktreeCreateInBackground(store, repo, baseBranch) ) } -export async function prepareWorktreeCreateForRepo( +async function prepareWorktreeCreateInBackground( store: Store, repo: Repo, baseBranch: string @@ -145,6 +165,7 @@ async function claimPreparedWorktree( canonicalBase, { ...(options.wslDistro ? { wslDistro: options.wslDistro } : {}), + ...(options.admissionTier ? { admissionTier: options.admissionTier } : {}), // Why forward it: a cancelled create must stop these probes now, not at the deadline. ...(options.signal ? { signal: options.signal } : {}) } @@ -183,31 +204,43 @@ async function claimPreparedWorktree( /** Replaces a just-consumed preparation, re-armed on the base the create actually used so the * next one hits exactly — but only once the user has shown they are creating in a burst. A * replacement costs a full checkout and ~5 minutes of disk until its TTL, so arming one after an - * isolated create spends that on nobody. Never awaited: create has already returned by the time - * the replacement checkout finishes. */ -function rearmPreparation( + * isolated create spends that on nobody. + * + * Returns a thunk rather than launching: the replacement is a full `reset --hard`, which on a + * large repo holds a general admission slot for tens of seconds. Started mid-create it competes + * with the create's own git, so the caller runs it after materialization/startup completes. The burst + * bookkeeping still happens here — a prefetch that re-armed this key while we finalized would + * otherwise swallow the consume, and the next create would look isolated when it is really the + * middle of a burst. */ +function deferRearmPreparation( entry: PreparationEntry, baseBranch: string, canonicalBase: string -): void { - // Record first: a prefetch that re-armed this key while we finalized would otherwise swallow the - // consume, and the next create would look isolated when it is really the middle of a burst. +): () => void { const continuesBurst = recordPreparationConsume(entry.key) - if ( - !continuesBurst || - findPreparation(entry.repoPathKey, entry.workspaceRootKey, canonicalBase, entry.wslDistro) - ) { - return + const alreadyArmed = (): boolean => + findPreparation(entry.repoPathKey, entry.workspaceRootKey, canonicalBase, entry.wslDistro) !== + undefined + if (!continuesBurst || alreadyArmed()) { + return () => {} + } + return () => { + // Re-checked here, not only at consume time: `startPreparation` overwrites the map entry + // outright, so arming over a prefetch that landed during the create would strand its + // checkout on disk with no owner to discard it. + if (alreadyArmed()) { + return + } + void startPreparation({ + repoPath: entry.repoPath, + workspaceRoot: entry.workspaceRoot, + baseBranch, + canonicalBase, + options: entry.options + }).catch(() => { + // Why: a warm-up failure is recovered by the normal add on the next create. + }) } - void startPreparation({ - repoPath: entry.repoPath, - workspaceRoot: entry.workspaceRoot, - baseBranch, - canonicalBase, - options: entry.options - }).catch(() => { - // Why: a warm-up failure is recovered by the normal add on the next create. - }) } export async function consumePreparedWorktreeCreate( @@ -237,8 +270,8 @@ export async function consumePreparedWorktreeCreate( ) // Consuming the only prepared checkout leaves the next create cold. Re-arm for a user who is // creating in a burst; the TTL and the preparation limit still bound an unused replacement. - rearmPreparation(entry, args.baseBranch, claim.canonicalBase) - return { status: 'hit', retargeted: claim.retargeted, result } + const rearm = deferRearmPreparation(entry, args.baseBranch, claim.canonicalBase) + return { status: 'hit', retargeted: claim.retargeted, result, rearm } } catch (error) { await discardPreparedWorktree(args.repoPath, entry.preparedPath, options).catch(() => {}) console.warn( diff --git a/src/main/worktree-name-retirement.ts b/src/main/worktree-name-retirement.ts index 58ffc99bbfd..99a6fdd559c 100644 --- a/src/main/worktree-name-retirement.ts +++ b/src/main/worktree-name-retirement.ts @@ -75,7 +75,12 @@ export function normalizeRetirableGeneratedName(name: string): string | null { /** A sparse create error carries this marker only when its rollback also failed, leaving the path * occupied even though creation rejected. */ export function failedWorktreeCreationNeedsRetirement(error: unknown): boolean { - return typeof error === 'object' && error !== null && Reflect.get(error, 'cleanupFailed') === true + return ( + typeof error === 'object' && + error !== null && + 'cleanupFailed' in error && + error.cleanupFailed === true + ) } async function getRetirementProbePath( diff --git a/src/main/worktree-retirement-backfill-scan.test.ts b/src/main/worktree-retirement-backfill-scan.test.ts index f90d4ccf405..0f02f11222f 100644 --- a/src/main/worktree-retirement-backfill-scan.test.ts +++ b/src/main/worktree-retirement-backfill-scan.test.ts @@ -32,7 +32,7 @@ function stallingScan(): { } /** Drive one namespace to the state where its listing is abandoned but still stuck in the kernel. */ -async function stallPastDeadline(store: object, scanKey: string) { +async function stallPastDeadline(store: WeakKey, scanKey: string) { const scan = stallingScan() const pending = runRetirementBackfillScan(store, scanKey, scan.run) const settled = expect(pending).rejects.toThrow(/exceeded/) diff --git a/src/main/worktree-retirement-backfill-scan.ts b/src/main/worktree-retirement-backfill-scan.ts index 8ca5b26ccd5..c0c111729a3 100644 --- a/src/main/worktree-retirement-backfill-scan.ts +++ b/src/main/worktree-retirement-backfill-scan.ts @@ -20,7 +20,9 @@ type BackfillScan = { outstanding: boolean } -const scansByStore = new WeakMap>() +/** Only the store's identity is the memo key — this module never reads from it, and cannot name the + * store's own type without importing its caller. */ +const scansByStore = new WeakMap>() /** Monotonic, like the WSL gate's own stuck timer: wall time misjudges a backoff across laptop * sleep or an NTP step, either pinning a namespace in its failure memo or ending it early. */ @@ -59,7 +61,7 @@ function withScanDeadline(scan: Promise): Promise { * the rule per namespace rather than process-wide is deliberate: a global budget lets one bad mount * spend it on its own retries and starve every healthy repo. */ export function runRetirementBackfillScan( - store: object, + store: WeakKey, scanKey: string, scan: () => Promise ): Promise> { diff --git a/src/main/wsl-unc-delete-symlink-repro.test.ts b/src/main/wsl-unc-delete-symlink-repro.test.ts index ace95afe933..a594b444e75 100644 --- a/src/main/wsl-unc-delete-symlink-repro.test.ts +++ b/src/main/wsl-unc-delete-symlink-repro.test.ts @@ -55,7 +55,7 @@ describe('WSL vault intermediate-symlink reproduction', () => { it.each([ ['file-shaped', `${FIXTURE_ROOT}/linked-project/session.json`, false], ['directory-shaped', `${FIXTURE_ROOT}/linked-project/session`, true] - ])('rejects a %s target before removal', async (_shape, target, recursive) => { + ])('rejects a %s target before removal', async (_targetKind, target, recursive) => { const options = { recursive, approvedRoots: [unc(FIXTURE_ROOT)] } let rejection: unknown diff --git a/src/main/wsl-unc-delete.wsl.test.ts b/src/main/wsl-unc-delete.wsl.test.ts index 36175b62626..25036380b00 100644 --- a/src/main/wsl-unc-delete.wsl.test.ts +++ b/src/main/wsl-unc-delete.wsl.test.ts @@ -46,7 +46,7 @@ describe.skipIf(!runRealWsl)('WSL contained delete integration', () => { it.each([ ['file-shaped', 'file-link/session.json', false], ['directory-shaped', 'dir-link/session', true] - ])('rejects a %s escape and preserves all outside entries', async (_shape, path, recursive) => { + ])('rejects a %s escape and preserves all outside entries', async (_label, path, recursive) => { const vaultRoot = `${fixtureRoot}/vault` await expect( diff --git a/src/main/wsl.test.ts b/src/main/wsl.test.ts index 6ef8adbbb61..55327c465e5 100644 --- a/src/main/wsl.test.ts +++ b/src/main/wsl.test.ts @@ -547,10 +547,10 @@ describe('WSL availability cache', () => { it.each([ ['wsl.exe reports WSL unusable', { status: 1 }], ['wsl.exe is not installed', { code: 'ENOENT' }] - ])('holds a definitive failure far longer than a timeout when %s', (_label, errorShape) => { + ])('holds a definitive failure far longer than a timeout when %s', (_label, errorFields) => { vi.useFakeTimers() execFileSyncMock.mockImplementationOnce(() => { - throw Object.assign(new Error('definitive failure'), errorShape) + throw Object.assign(new Error('definitive failure'), errorFields) }) execFileSyncMock.mockReturnValueOnce('') @@ -621,10 +621,10 @@ describe('WSL availability cache', () => { it.each([ ['a definitive failure', { status: 1 }], ['a timeout', { code: 'ETIMEDOUT', status: null, signal: 'SIGTERM' }] - ])('re-probes availability once a distro list succeeds after %s', (_label, errorShape) => { + ])('re-probes availability once a distro list succeeds after %s', (_label, errorFields) => { vi.useFakeTimers() execFileSyncMock.mockImplementationOnce(() => { - throw Object.assign(new Error('probe failed'), errorShape) + throw Object.assign(new Error('probe failed'), errorFields) }) try { diff --git a/src/preload/api/worktree-api.ts b/src/preload/api/worktree-api.ts index d665d278580..115ee66d9a2 100644 --- a/src/preload/api/worktree-api.ts +++ b/src/preload/api/worktree-api.ts @@ -98,6 +98,9 @@ export type WorktreeApi = { // may waive the proof that every PTY stopped. allowUnverifiedPtyStop?: boolean skipArchive?: boolean + // Why (#19334): distinct from `skipArchive` (never runs the hook) and never implied by + // `force` — this waives a hook that ran and FAILED. + allowFailedArchiveHook?: boolean snapshotPruneBatchId?: string }) => Promise // Forget a workspace from Orca only (no remote Git/FS work) — for workspaces pinned to a removed/disconnected SSH host. diff --git a/src/relay/agent-hook-server.ts b/src/relay/agent-hook-server.ts index 9f41e2ef203..6b59e3dbdd3 100644 --- a/src/relay/agent-hook-server.ts +++ b/src/relay/agent-hook-server.ts @@ -30,7 +30,7 @@ import { drainAgentHookSpool } from '../shared/agent-hook-spool' import { buildRelayHookPtyEnv, defaultEndpointDir } from './agent-hook-endpoint-coordinates' import { buildRelayHookEnvelope } from './agent-hook-envelope-build' import { AgentHookResultRetryScheduler } from './agent-hook-result-retry-scheduler' -import { evictCachedPanesOverCap } from './agent-hook-cached-pane-status' +import { cacheRelayLegacyAgentStatus } from '../shared/agent-status-legacy-relay-cache' import { RelayAgentStatusStoreSource } from './agent-hook-status-store-source' import { handleRelayHookHttpRequest } from './agent-hook-http-handler' import { ingestRelaySpoolRecord, replayCachedRelayPayloads } from './agent-hook-cache-actions' @@ -286,11 +286,14 @@ export class RelayAgentHookServer { // Why: keep PostCompact identity in the replay cache so the client can re-run ownership when // it reconnects. Stripping it would let a cold relay replay a completion as an ordinary `done` // row and resurrect a pane that the client had already retired. - const cachedEvent = event const previous = this.state.lastStatusByPaneKey.get(event.paneKey) - // Why: delete-then-set makes Map insertion order = recency, so the cap below evicts the longest-idle pane. - this.state.lastStatusByPaneKey.delete(event.paneKey) - this.state.lastStatusByPaneKey.set(event.paneKey, cachedEvent) + if ( + !cacheRelayLegacyAgentStatus(this.state, event, 256, (paneKey) => + this.clearPaneState(paneKey) + ) + ) { + return + } this.lastEnvelopeMetaByPaneKey.delete(event.paneKey) this.lastEnvelopeMetaByPaneKey.set(event.paneKey, { source, env, version }) this.statusStoreSource.recordEvent(event, previous) diff --git a/src/relay/agent-status-store-relay-context.test.ts b/src/relay/agent-status-store-relay-context.test.ts new file mode 100644 index 00000000000..92319a2e644 --- /dev/null +++ b/src/relay/agent-status-store-relay-context.test.ts @@ -0,0 +1,79 @@ +import { readFileSync } from 'node:fs' +import { describe, expect, it } from 'vitest' +import { createAgentChildWorkAdmission } from '../shared/agent-status-child-work-admission' +import { createAgentStatusStore } from '../shared/agent-status-store' +import { makeStructuredAgentStatusSubject } from '../shared/agent-status-subject' + +const SHARED_CORE_FILES = [ + 'agent-status-child-work.ts', + 'agent-status-child-work-codec.ts', + 'agent-status-child-work-admission.ts', + 'agent-status-child-work-admission-core.ts', + 'agent-status-child-work-admission-operations.ts', + 'agent-status-child-work-alias.ts', + 'agent-status-child-work-freshness.ts', + 'agent-status-child-work-projection.ts', + 'agent-status-store.ts', + 'agent-status-store-codec.ts', + 'agent-status-store-mutation.ts', + 'agent-status-store-contract.ts', + 'agent-status-store-fact-codec.ts', + 'agent-status-store-parent.ts', + 'agent-status-store-persistence.ts', + 'agent-status-store-state.ts', + 'agent-status-store-status-codec.ts', + 'agent-status-transport-envelope.ts' +] + +const trustedSubject = makeStructuredAgentStatusSubject( + { + executionHostId: 'ssh:relay-host-a', + wslDistro: null, + workspaceId: 'folder-workspace-a', + workspaceKind: 'folder' + }, + 'session_11111111-1111-4111-8111-111111111111' +) + +describe('agent status store relay context', () => { + it('instantiates the same shared core and completes an admission/snapshot round-trip', () => { + const authority = createAgentStatusStore({ epoch: 'relay-epoch-a', mode: 'authority' }) + expect( + authority.applyMutation({ parent: { subject: trustedSubject, firstObservedAt: 10 } }) + ).not.toBeNull() + const admission = createAgentChildWorkAdmission(authority, { + mintChildWorkId: () => 'relay-child-1' + }) + + expect( + admission.announce({ + parent: trustedSubject, + provider: 'claude', + aliases: [{ segmentId: 'segment-1', aliasKind: 'task_id', alias: 'task-1' }], + fence: { invocationId: 'invocation-1', generation: 1 }, + lifetime: 'current', + kind: 'agent', + state: 'working', + membership: 'live', + observedAt: 20, + stoppable: true, + provenance: { source: 'transport', producerId: 'relay-fixture' } + }) + ).toMatchObject({ accepted: true, childWorkId: 'relay-child-1' }) + + const replica = createAgentStatusStore({ epoch: 'replica-placeholder', mode: 'replica' }) + expect(replica.applySnapshot(authority.getSnapshot())).toBe(true) + expect(replica.getParent(trustedSubject)?.firstObservedAt).toBe(10) + expect(replica.getChildren(trustedSubject)[0]?.childWorkId).toBe('relay-child-1') + }) + + it('keeps the relay-consumed core free of main, renderer and Electron imports', () => { + for (const filename of SHARED_CORE_FILES) { + const source = readFileSync(new URL(`../shared/${filename}`, import.meta.url), 'utf8') + expect(source, filename).not.toMatch( + /from\s+['"](?:electron|\.\.\/(?:main|renderer))(?:\/|['"])/ + ) + expect(source, filename).not.toMatch(/require\(['"]electron['"]\)/) + } + }) +}) diff --git a/src/relay/dispatcher-frame-guard-regressions.test.ts b/src/relay/dispatcher-frame-guard-regressions.test.ts index eb39e90bbdb..6574579d4ee 100644 --- a/src/relay/dispatcher-frame-guard-regressions.test.ts +++ b/src/relay/dispatcher-frame-guard-regressions.test.ts @@ -1,11 +1,12 @@ import { describe, expect, it, vi } from 'vitest' import { RelayDispatcher } from './dispatcher' +import type { RelayClient } from './dispatcher-contract' import type { JsonRpcNotification } from './protocol' type DispatcherInternals = { - primaryClient: object + primaryClient: RelayClient estimateFrameBytes: (msg: JsonRpcNotification) => number - enqueueFrame: (client: object, msg: JsonRpcNotification, lane: string) => boolean + enqueueFrame: (client: RelayClient, msg: JsonRpcNotification, lane: string) => boolean } describe('RelayDispatcher frame guards', () => { diff --git a/src/relay/dispatcher.test.ts b/src/relay/dispatcher.test.ts index 280f9351200..f8ccc11c153 100644 --- a/src/relay/dispatcher.test.ts +++ b/src/relay/dispatcher.test.ts @@ -1,5 +1,6 @@ import { describe, expect, it, vi, beforeEach, afterEach } from 'vitest' import { RelayDispatcher, type SinkWriteSettlement } from './dispatcher' +import type { PreparedRelayFrame, RelayClient } from './dispatcher-contract' import { relayWriterControlReserve } from './dispatcher-writer-admission' import { encodeJsonRpcFrame, @@ -723,18 +724,18 @@ describe('RelayDispatcher', () => { describe('legacy PTY chunk sizing', () => { type DispatcherInternals = { - primaryClient: object + primaryClient: RelayClient estimateFrameBytes: (msg: JsonRpcNotification) => number - prepareFrame: (msg: JsonRpcNotification) => object + prepareFrame: (msg: JsonRpcNotification) => PreparedRelayFrame enqueueFrame: ( - client: object, + client: RelayClient, msg: JsonRpcNotification, lane: string, onSettled?: (result: SinkWriteSettlement) => void ) => boolean enqueuePreparedFrame: ( - client: object, - frame: object, + client: RelayClient, + frame: PreparedRelayFrame, lane: string, onSettled?: (result: SinkWriteSettlement) => void ) => boolean diff --git a/src/relay/fs-search-line-fragments.test.ts b/src/relay/fs-search-line-fragments.test.ts index 53b8902ddfd..74d17c428fe 100644 --- a/src/relay/fs-search-line-fragments.test.ts +++ b/src/relay/fs-search-line-fragments.test.ts @@ -83,7 +83,9 @@ describe.each(searchCases)('relay $name line fragments', ({ search, encode }) => for (let offset = 0; offset < wire.length; offset += 4096) { chunks.push(wire.slice(offset, offset + 4096)) } - const originalSplit = String.prototype.split + // Method-shaped type: a call-signature capture would reject `split`'s splitter-object overload. + const originalSplit: { split(separator: unknown, limit?: number): string[] }['split'] = + String.prototype.split let scannedCharacters = 0 const spy = vi.spyOn(String.prototype, 'split').mockImplementation(function ( this: string, @@ -93,7 +95,7 @@ describe.each(searchCases)('relay $name line fragments', ({ search, encode }) => if (separator === '\n') { scannedCharacters += this.length } - return Reflect.apply(originalSplit, this, [separator, limit]) + return originalSplit.call(this, separator, limit) }) let fragmented try { diff --git a/src/relay/git-exec-validator.ts b/src/relay/git-exec-validator.ts index 82cc72d1d2e..9f9b5866ebc 100644 --- a/src/relay/git-exec-validator.ts +++ b/src/relay/git-exec-validator.ts @@ -96,7 +96,7 @@ const DIFF_ALLOWED_FLAGS = new Set([ // only those two exact shapes, held to the same remote-name and URL rules the // relay already enforces on every pushTarget-carrying RPC. Everything else -- // set-url, rename, prune, flags before the action -- stays blocked. -function isAllowedRemoteWriteShape(args: string[]): boolean { +function isAllowedRemoteWriteInvocation(args: string[]): boolean { if (args[1] === 'add') { return args.length === 4 && isSafeGitRemoteName(args[2]) && isSafePushTargetRemoteUrl(args[3]) } @@ -197,7 +197,7 @@ export function validateGitExecArgs(args: string[]): void { if ( remoteSubcmd && REMOTE_WRITE_SUBCOMMANDS.has(remoteSubcmd) && - !isAllowedRemoteWriteShape(args) + !isAllowedRemoteWriteInvocation(args) ) { throw new Error('Destructive git remote operations are not allowed via exec') } diff --git a/src/relay/git-handler-branch-diff-equivalence.test.ts b/src/relay/git-handler-branch-diff-equivalence.test.ts index d33886b4f5a..ff399d92a7c 100644 --- a/src/relay/git-handler-branch-diff-equivalence.test.ts +++ b/src/relay/git-handler-branch-diff-equivalence.test.ts @@ -128,10 +128,10 @@ describe('pinned and legacy branch diff equivalence against real Git', () => { for (const entry of compare.entries) { // Exactly what the renderer sends: paths from the compare entry list, // OIDs from the compare summary that produced that same list. - const callerShape = { filePath: entry.path, oldPath: entry.oldPath } - const legacy = await branchDiff(callerShape) + const callerParams = { filePath: entry.path, oldPath: entry.oldPath } + const legacy = await branchDiff(callerParams) const pinned = await branchDiff({ - ...callerShape, + ...callerParams, baseRef: compare.summary.mergeBase, headOid: compare.summary.headOid }) diff --git a/src/relay/git-handler-comparison-operations.ts b/src/relay/git-handler-comparison-operations.ts index e5ebe65365b..f4c1e55fa5e 100644 --- a/src/relay/git-handler-comparison-operations.ts +++ b/src/relay/git-handler-comparison-operations.ts @@ -5,7 +5,7 @@ import { parseBranchDiff } from './git-handler-utils' import { parseNumstat } from '../shared/git-uncommitted-line-stats' import { isNoUpstreamError, normalizeGitErrorMessage } from '../shared/git-remote-error' import { upstreamOnlyCommitsArePatchEquivalent } from '../shared/git-upstream-status' -import { assertGitPushTargetShape } from '../shared/git-push-target-validation' +import { assertValidGitPushTarget } from '../shared/git-push-target-validation' import { getPublishTargetStatus, type GitCommandRunner } from '../shared/git-publish-target-status' import type { GitPushTarget } from '../shared/worktree/types' import { getEffectiveGitUpstreamStatus } from '../shared/git-effective-upstream' @@ -46,7 +46,7 @@ export class GitHandlerComparisonOperations extends GitHandlerOperationContext { try { if (params.pushTarget !== undefined) { - assertGitPushTargetShape(params.pushTarget) + assertValidGitPushTarget(params.pushTarget) const pushTarget = params.pushTarget as GitPushTarget await this.git(['check-ref-format', '--branch', pushTarget.branchName], worktreePath) return await getPublishTargetStatus( diff --git a/src/relay/git-handler-fetch-operations.ts b/src/relay/git-handler-fetch-operations.ts index cd3a86fcb63..fd13cdc07c2 100644 --- a/src/relay/git-handler-fetch-operations.ts +++ b/src/relay/git-handler-fetch-operations.ts @@ -1,6 +1,6 @@ import type { RequestContext } from './dispatcher' import { GitHandlerOperationContext } from './git-handler-operation-context' -import { assertGitPushTargetShape } from '../shared/git-push-target-validation' +import { assertValidGitPushTarget } from '../shared/git-push-target-validation' import type { GitPushTarget } from '../shared/worktree/types' import { normalizeGitErrorMessage, isExecKilledError } from '../shared/git-remote-error' import { syncForkDefaultBranch, validateGitForkSyncExpectedUpstream } from '../shared/git-fork-sync' @@ -21,7 +21,7 @@ export class GitHandlerFetchOperations extends GitHandlerOperationContext { try { try { if (params.pushTarget !== undefined) { - assertGitPushTargetShape(params.pushTarget) + assertValidGitPushTarget(params.pushTarget) const pushTarget = params.pushTarget as GitPushTarget await this.git(['check-ref-format', '--branch', pushTarget.branchName], worktreePath) await this.git(['fetch', '--prune', pushTarget.remoteName], worktreePath) diff --git a/src/relay/git-handler-push-target.ts b/src/relay/git-handler-push-target.ts index 6663b5b3ad3..57a39e632d3 100644 --- a/src/relay/git-handler-push-target.ts +++ b/src/relay/git-handler-push-target.ts @@ -1,4 +1,4 @@ -import { assertGitPushTargetShape } from '../shared/git-push-target-validation' +import { assertValidGitPushTarget } from '../shared/git-push-target-validation' import { resolveConfiguredGitPushTarget, type ResolvedGitPushTarget @@ -15,7 +15,7 @@ export async function resolveRelayPushTarget( if (pushTarget === undefined) { return resolveConfiguredGitPushTarget((args) => git(args, worktreePath)) } - assertGitPushTargetShape(pushTarget) + assertValidGitPushTarget(pushTarget) const explicitTarget: GitPushTarget = pushTarget // Why here and not in the shared resolver: an explicit target arrives over the wire, // so the host re-validates its shape and asks Git to vet the branch name itself. diff --git a/src/relay/git-handler-sync-operations.ts b/src/relay/git-handler-sync-operations.ts index 262517b33cc..9c0922c34df 100644 --- a/src/relay/git-handler-sync-operations.ts +++ b/src/relay/git-handler-sync-operations.ts @@ -3,7 +3,7 @@ import type { RequestContext } from './dispatcher' import { GitHandlerOperationContext } from './git-handler-operation-context' import { resolveRelayPushTarget } from './git-handler-push-target' import { normalizeGitErrorMessage, runPullWithDivergenceFallback } from '../shared/git-remote-error' -import { assertGitPushTargetShape } from '../shared/git-push-target-validation' +import { assertValidGitPushTarget } from '../shared/git-push-target-validation' import type { GitCommandRunner } from '../shared/git-publish-target-status' import type { GitPushTarget } from '../shared/worktree/types' import { resolveEffectiveGitUpstream } from '../shared/git-effective-upstream' @@ -63,7 +63,7 @@ export class GitHandlerSyncOperations extends GitHandlerOperationContext { const worktreePath = params.worktreePath as string const runPull = async (effectiveArgs: string[]): Promise => { if (params.pushTarget !== undefined) { - assertGitPushTargetShape(params.pushTarget) + assertValidGitPushTarget(params.pushTarget) const pushTarget = params.pushTarget as GitPushTarget await this.git(['check-ref-format', '--branch', pushTarget.branchName], worktreePath) await this.git( diff --git a/src/relay/managed-hook-installer.ts b/src/relay/managed-hook-installer.ts index bdd65a789f6..3fa57dd5ed8 100644 --- a/src/relay/managed-hook-installer.ts +++ b/src/relay/managed-hook-installer.ts @@ -45,7 +45,9 @@ function readAgents(params: unknown): AgentHookTarget[] { function readClaudeVersion(params: unknown): string | undefined { const raw = - params !== null && typeof params === 'object' ? Reflect.get(params, 'claudeVersion') : null + params !== null && typeof params === 'object' && 'claudeVersion' in params + ? params.claudeVersion + : null return parseClaudeCliVersion(typeof raw === 'string' ? raw : null) ?? undefined } diff --git a/src/relay/pty-handler-inventory-process-evidence.test.ts b/src/relay/pty-handler-inventory-process-evidence.test.ts index c12e6da62b4..f0d5b068304 100644 --- a/src/relay/pty-handler-inventory-process-evidence.test.ts +++ b/src/relay/pty-handler-inventory-process-evidence.test.ts @@ -100,6 +100,7 @@ function countingRows(rows: ProcessTableRow[]): { if (typeof key === 'string' && /^\d+$/.test(key)) { reads += 1 } + // oxlint-disable-next-line anti-slop/no-reflect-get -- Proxy `get` trap: only Reflect.get forwards a raw string|symbol key with the proxy receiver. return Reflect.get(target, key, receiver) } }) diff --git a/src/relay/pty-handler-revive.test.ts b/src/relay/pty-handler-revive.test.ts index e184cd56817..bd0dffbd1b8 100644 --- a/src/relay/pty-handler-revive.test.ts +++ b/src/relay/pty-handler-revive.test.ts @@ -518,6 +518,38 @@ describe('PtyHandler', () => { expect(JSON.parse(live).map((entry: { id: string }) => entry.id)).toEqual(['pty-21']) }) + // Why: the pid gate is the one place revive turns an observation into "this pane is + // finished". `kill(pid, 0)` answers EPERM when the process exists under another uid, and + // the same ESRCH-only rule `reapPtyProvenExited` applies has to hold here + // (docs/reference/ssh-execution-boundary.md). + it('keeps a pane whose pid refuses the probe and drops only a proven-gone one', async () => { + const state = JSON.stringify([ + { id: 'pty-30', pid: 424242, cols: 80, rows: 24, cwd: LIVE_CWD }, + { id: 'pty-31', pid: 434343, cols: 80, rows: 24, cwd: LIVE_CWD } + ]) + const killSpy = vi.spyOn(process, 'kill').mockImplementation((pid) => { + if (pid === 424242) { + throw Object.assign(new Error('kill EPERM'), { code: 'EPERM' }) + } + if (pid === 434343) { + throw Object.assign(new Error('kill ESRCH'), { code: 'ESRCH' }) + } + return true + }) + try { + await dispatcher.callRequest('pty.revive', { state }) + } finally { + killSpy.mockRestore() + } + + expect(mockPtySpawn).toHaveBeenCalledTimes(1) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: callRequest is typed unknown; pty.serialize answers with the JSON state string this file parses everywhere. + const live = (await dispatcher.callRequest('pty.serialize', { + ids: ['pty-30', 'pty-31'] + })) as string + expect(JSON.parse(live).map((entry: { id: string }) => entry.id)).toEqual(['pty-30']) + }) + describe('a Windows relay reviving a WSL pane', () => { const worktreeId = 'r::/remote/wsl-worktree' const historyFile = join( diff --git a/src/relay/pty-handler.ts b/src/relay/pty-handler.ts index cdf436bca2a..b012b30469e 100644 --- a/src/relay/pty-handler.ts +++ b/src/relay/pty-handler.ts @@ -645,7 +645,14 @@ export class PtyHandler { /** Where the relay's own node-pty lives — the deployed bundle dir, never cwd. */ private relayNodePtyDir(): string { - return join(__dirname, 'node_modules', 'node-pty') + // Packaged relays live under Resources/relay while runtime dependencies are + // copied to the sibling Resources/node_modules directory. Development + // bundles keep node_modules beside the relay output, so retain that path as + // the fallback. + const packagedRoot = typeof process.resourcesPath === 'string' ? process.resourcesPath : '' + const packagedDir = packagedRoot ? join(packagedRoot, 'node_modules', 'node-pty') : '' + const localDir = join(__dirname, 'node_modules', 'node-pty') + return packagedDir && existsSync(packagedDir) ? packagedDir : localDir } /** @@ -2907,10 +2914,10 @@ export class PtyHandler { if (this.ptys.has(entry.id) || this.pendingReviveIds.has(entry.id)) { continue } - // Only re-attach if the original process is still alive - try { - process.kill(entry.pid, 0) - } catch { + // Only re-attach if the host proves the original process is still there. `isProcessAlive` + // is ESRCH-only for the same reason `reapPtyProvenExited` is: a refusal this host cannot + // resolve is unverifiable, not absence (docs/reference/ssh-execution-boundary.md). + if (!Number.isInteger(entry.pid) || entry.pid <= 0 || !isProcessAlive(entry.pid)) { continue } const ownedPath = entry.worktreeId diff --git a/src/relay/pty-source-credit-ledger.test.ts b/src/relay/pty-source-credit-ledger.test.ts index f4ff366c946..57c00d1adec 100644 --- a/src/relay/pty-source-credit-ledger.test.ts +++ b/src/relay/pty-source-credit-ledger.test.ts @@ -104,6 +104,7 @@ describe('RelayPtySourceCreditLedger', () => { if (typeof property === 'string' && /^\d+$/.test(property)) { indexedReads += 1 } + // oxlint-disable-next-line anti-slop/no-reflect-get -- Proxy get trap default forward. return Reflect.get(target, property, receiver) } }) diff --git a/src/relay/relay-filesystem-watch-registry.test.ts b/src/relay/relay-filesystem-watch-registry.test.ts index de924230f0f..dcea47e7d44 100644 --- a/src/relay/relay-filesystem-watch-registry.test.ts +++ b/src/relay/relay-filesystem-watch-registry.test.ts @@ -3,6 +3,7 @@ import { join } from 'node:path' import { tmpdir } from 'node:os' import { WatcherProcessFailure } from '../main/ipc/parcel-watcher-process-failure' import { WatcherProcessSupervisor } from '../main/ipc/parcel-watcher-process-supervisor' +import type { WatcherProcessSubscribeOptions } from '../main/ipc/parcel-watcher-process-protocol' import type { WatcherProcessCallback, WatcherProcessHooks, @@ -50,7 +51,7 @@ class FakeWatcherPool { async subscribe( rootPath: string, callback: WatcherProcessCallback, - _options: object, + _options: WatcherProcessSubscribeOptions, hooks: WatcherProcessHooks ): Promise { const unsubscribe = vi.fn(async () => undefined) diff --git a/src/relay/relay-primary-channel.test.ts b/src/relay/relay-primary-channel.test.ts new file mode 100644 index 00000000000..d1ac209e161 --- /dev/null +++ b/src/relay/relay-primary-channel.test.ts @@ -0,0 +1,29 @@ +import { win32 } from 'node:path' +import { describe, expect, it } from 'vitest' +import { nullDevicePath } from './relay-primary-channel' + +describe('nullDevicePath', () => { + it('names the POSIX null device off win32', () => { + expect(nullDevicePath('linux')).toBe('/dev/null') + expect(nullDevicePath('darwin')).toBe('/dev/null') + }) + + /** + * The defect this pins: `openSync('NUL')` on Windows does NOT open the null device. + * node runs the path through `toNamespacedPath`, which resolves it against cwd and + * prefixes `\\?\` — and `\\?\` turns off DOS device-name mapping, so CreateFileW makes + * a real file. v1.4.203's Windows installer shipped one at + * `resources/relay/win32-x64/NUL` because of it. + */ + it('uses a device path win32 cannot rewrite into a file in the relay cwd', () => { + const path = nullDevicePath('win32') + + expect(path).toBe('\\\\.\\NUL') + expect(win32.toNamespacedPath(path)).toBe(path) + // Bare `NUL` never survives as a device name: it is resolved against cwd, and a + // drive-letter cwd then also takes the `\\?\` prefix. Spelled absolute because off + // Windows `resolve` finds no drive letter and stops before that second rewrite. + expect(win32.toNamespacedPath('NUL')).not.toBe('NUL') + expect(win32.toNamespacedPath(String.raw`C:\relay\NUL`)).toBe(String.raw`\\?\C:\relay\NUL`) + }) +}) diff --git a/src/relay/relay-primary-channel.ts b/src/relay/relay-primary-channel.ts index 9b2e50eaaa1..e3dbffeae7f 100644 --- a/src/relay/relay-primary-channel.ts +++ b/src/relay/relay-primary-channel.ts @@ -2,6 +2,17 @@ import { closeSync, openSync } from 'node:fs' import { RelayDispatcher } from './dispatcher' import { RELAY_SENTINEL } from './protocol' +/** + * Why the `\\.\` device prefix and not bare `NUL`: node's fs resolves a relative path + * through `toNamespacedPath`, which hands CreateFileW a `\\?\C:\…\NUL` — and that prefix + * disables DOS device-name mapping, so the open creates a real FILE named `NUL` in the + * relay's cwd and pins fds 0/1 to it. One shipped in the 1.4.203 Windows installer as + * `resources/relay/win32-x64/NUL`. A `\\.\` path is passed through verbatim. + */ +export function nullDevicePath(platform: NodeJS.Platform = process.platform): string { + return platform === 'win32' ? String.raw`\\.\NUL` : '/dev/null' +} + export class RelayPrimaryChannel { readonly dispatcher: RelayDispatcher private stdoutAlive = true @@ -111,14 +122,13 @@ export class RelayPrimaryChannel { // Already closed by the peer. } } - const devNull = process.platform === 'win32' ? 'NUL' : '/dev/null' try { - openSync(devNull, 'r') + openSync(nullDevicePath(), 'r') } catch { // Best-effort pin of the lowest free descriptor. } try { - openSync(devNull, 'w') + openSync(nullDevicePath(), 'w') } catch { // Best-effort pin of the next free descriptor. } diff --git a/src/renderer/src/assets/main.css b/src/renderer/src/assets/main.css index 8793b1f17ec..693e7572ddf 100644 --- a/src/renderer/src/assets/main.css +++ b/src/renderer/src/assets/main.css @@ -60,6 +60,7 @@ --color-border: var(--border); --color-input: var(--input); --color-ring: var(--ring); + --color-editor-surface: var(--editor-surface); --color-agent-question: var(--agent-question); --color-agent-question-text: var(--agent-question-text); --color-chart-1: var(--chart-1); @@ -509,6 +510,18 @@ } } +/* Why @utility, not a plain class: this is a Tailwind-shaped name, so it has to be + one Tailwind generates or `scrollbar-none` silently produces no CSS. */ +@utility scrollbar-none { + -ms-overflow-style: none; + scrollbar-width: none; + + &::-webkit-scrollbar { + width: 0; + height: 0; + } +} + /* ── Sleek scrollbar (VS Code-like) ─────────────────── */ .scrollbar-sleek { diff --git a/src/renderer/src/assets/theme-utility-generation.test.ts b/src/renderer/src/assets/theme-utility-generation.test.ts new file mode 100644 index 00000000000..d17d8a10b4e --- /dev/null +++ b/src/renderer/src/assets/theme-utility-generation.test.ts @@ -0,0 +1,19 @@ +import fs from 'node:fs' +import { describe, expect, it } from 'vitest' + +const mainCss = fs.readFileSync(new URL('./main.css', import.meta.url), 'utf8') +const themeBlock = /@theme inline\s*{([\s\S]*?)\n}/.exec(mainCss)?.[1] ?? '' + +// Why: a token that never reaches `@theme inline`, and a Tailwind-shaped name that is only a +// plain CSS selector, both generate no CSS at all -- the utility silently does nothing. +describe('main.css utility generation', () => { + it('exposes --editor-surface to Tailwind so bg-editor-surface generates', () => { + expect(mainCss).toMatch(/--editor-surface:/) + expect(themeBlock).toMatch(/--color-editor-surface:\s*var\(--editor-surface\)/) + }) + + it('declares scrollbar-none as a utility rather than a plain class', () => { + expect(mainCss).toMatch(/@utility scrollbar-none\s*{/) + expect(mainCss).not.toMatch(/^\.scrollbar-none\b/m) + }) +}) diff --git a/src/renderer/src/components/agent/AgentSettingsDialog.test.tsx b/src/renderer/src/components/agent/AgentSettingsDialog.test.tsx index ee45c71c30e..ab3ea61b1e2 100644 --- a/src/renderer/src/components/agent/AgentSettingsDialog.test.tsx +++ b/src/renderer/src/components/agent/AgentSettingsDialog.test.tsx @@ -16,8 +16,15 @@ const testState = vi.hoisted(() => ({ runtimeEnvironments: [] as { id: string; createdAt: number; pairingRevision?: number }[] })) +type MockedAppStoreState = { + settings: GlobalSettings | null + updateSettings: (settings: Partial) => void + runtimeEnvironments: { id: string; createdAt: number; pairingRevision?: number }[] + runtimeStatusByEnvironmentId: Map +} + vi.mock('@/store', () => ({ - useAppStore: (selector: (state: object) => unknown) => + useAppStore: (selector: (state: MockedAppStoreState) => unknown) => selector({ settings: testState.settings, updateSettings: testState.updateSettings, diff --git a/src/renderer/src/components/automations/automations-page-test-harness.tsx b/src/renderer/src/components/automations/automations-page-test-harness.tsx index e34ae0640bc..fc94b173286 100644 --- a/src/renderer/src/components/automations/automations-page-test-harness.tsx +++ b/src/renderer/src/components/automations/automations-page-test-harness.tsx @@ -1,3 +1,6 @@ +/* oxlint-disable anti-slop/no-module-mocking -- Vitest support module for the 10 AutomationsPage specs, not shipped code, and it falls outside + the *.test / *.spec / tests glob set. Inlining these 13 stubs would duplicate them into all 10 specs and push the largest + past the max-lines ratchet. */ /** * The mount rig for AutomationsPage tests: child stand-ins, the preload API * double, and the per-test store reset. diff --git a/src/renderer/src/components/dashboard-popout/agent-map-worktree-lineage-layout.test.ts b/src/renderer/src/components/dashboard-popout/agent-map-worktree-lineage-layout.test.ts index 8bfb9fc28d4..3025aecad77 100644 --- a/src/renderer/src/components/dashboard-popout/agent-map-worktree-lineage-layout.test.ts +++ b/src/renderer/src/components/dashboard-popout/agent-map-worktree-lineage-layout.test.ts @@ -43,8 +43,8 @@ function layoutWithNumericMapSetCount(worktrees: ReturnType) if (typeof key === 'number') { numericMapSets += 1 } - return Reflect.apply(set, this, [key, value]) - } as typeof Map.prototype.set + return set.call(this, key, value) + } try { return { layout: layoutAgentMapWorktreeLineage(worktrees), numericMapSets } } finally { @@ -64,7 +64,7 @@ function layoutWithWorktreePushCount(count: number) { typeof item.id === 'string' && item.id.startsWith('worktree-') ).length - return Reflect.apply(push, this, items) + return push.call(this, ...items) } try { return { diff --git a/src/renderer/src/components/dashboard-popout/agent-map-worktree-packing.test.ts b/src/renderer/src/components/dashboard-popout/agent-map-worktree-packing.test.ts index a07490dab92..d074c30b2ad 100644 --- a/src/renderer/src/components/dashboard-popout/agent-map-worktree-packing.test.ts +++ b/src/renderer/src/components/dashboard-popout/agent-map-worktree-packing.test.ts @@ -145,8 +145,8 @@ describe('packAgentMapWorktrees', () => { if (typeof key === 'number') { numericMapSets += 1 } - return Reflect.apply(set, this, [key, value]) - } as typeof Map.prototype.set + return set.call(this, key, value) + } try { const packed = packAgentMapWorktrees( Array.from({ length: 5 }, (_, index) => ({ diff --git a/src/renderer/src/components/dashboard/build-dashboard-snapshot-orchestration-routing.test.ts b/src/renderer/src/components/dashboard/build-dashboard-snapshot-orchestration-routing.test.ts index 424c936ab0f..97697f5f8a4 100644 --- a/src/renderer/src/components/dashboard/build-dashboard-snapshot-orchestration-routing.test.ts +++ b/src/renderer/src/components/dashboard/build-dashboard-snapshot-orchestration-routing.test.ts @@ -109,6 +109,7 @@ describe('buildDashboardSnapshot orchestration routing', () => { if (typeof key === 'string' && Object.hasOwn(target, key)) { runtimeValueReads += 1 } + // oxlint-disable-next-line anti-slop/no-reflect-get -- Proxy `get` trap: only Reflect.get forwards a raw string|symbol key with the proxy receiver. return Reflect.get(target, key, receiver) } }) diff --git a/src/renderer/src/components/dashboard/launch-dashboard-agent.test.ts b/src/renderer/src/components/dashboard/launch-dashboard-agent.test.ts index a207244cdb9..a86e9901835 100644 --- a/src/renderer/src/components/dashboard/launch-dashboard-agent.test.ts +++ b/src/renderer/src/components/dashboard/launch-dashboard-agent.test.ts @@ -30,7 +30,9 @@ describe('launchDashboardAgent', () => { vi.clearAllMocks() mocks.getExecutionHostIdForWorktree.mockReturnValue('ssh:docs') mocks.getKnownWorktreeById.mockReturnValue({ id: 'folder:docs' }) - mocks.launchAgentInNewTab.mockReturnValue({ tabId: 'tab-1' }) + mocks.launchAgentInNewTab.mockReturnValue({ + surface: { kind: 'local-terminal', tabId: 'tab-1' } + }) }) it('activates a folder or git workspace on its execution host before launching', () => { diff --git a/src/renderer/src/components/dashboard/use-agent-row-conversation-name.test.ts b/src/renderer/src/components/dashboard/use-agent-row-conversation-name.test.ts index dbf5cae455b..9065cc64e34 100644 --- a/src/renderer/src/components/dashboard/use-agent-row-conversation-name.test.ts +++ b/src/renderer/src/components/dashboard/use-agent-row-conversation-name.test.ts @@ -113,6 +113,7 @@ describe('useAgentRowConversationName', () => { if (typeof property === 'string' && /^\d+$/.test(property)) { tabReads += 1 } + // oxlint-disable-next-line anti-slop/no-reflect-get -- Proxy get trap default forward. return Reflect.get(target, property, receiver) } } diff --git a/src/renderer/src/components/dashboard/useAgentBucketCounts.gate.test.ts b/src/renderer/src/components/dashboard/useAgentBucketCounts.gate.test.ts index 618d04a9169..5f89b90f715 100644 --- a/src/renderer/src/components/dashboard/useAgentBucketCounts.gate.test.ts +++ b/src/renderer/src/components/dashboard/useAgentBucketCounts.gate.test.ts @@ -65,7 +65,8 @@ function countAllocations(run: () => void): { entries: number; maps: number } { const RealMap = globalThis.Map let entries = 0 let maps = 0 - Object.entries = ((target: object) => { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: `Object.entries` is an overload set no single arrow can satisfy; this wrapper only counts calls and returns the native result unchanged. + Object.entries = ((target: Record) => { entries += 1 return realEntries(target) }) as typeof Object.entries diff --git a/src/renderer/src/components/diff-comments/useDiffCommentDecorator.model-lifecycle.test.tsx b/src/renderer/src/components/diff-comments/useDiffCommentDecorator.model-lifecycle.test.tsx index fb92076c081..b8ef6823236 100644 --- a/src/renderer/src/components/diff-comments/useDiffCommentDecorator.model-lifecycle.test.tsx +++ b/src/renderer/src/components/diff-comments/useDiffCommentDecorator.model-lifecycle.test.tsx @@ -19,6 +19,13 @@ afterEach(() => { vi.clearAllMocks() }) +/** No zones exist in this suite, so the hook never reaches these. */ +const viewZoneAccessor: MonacoEditor.IViewZoneChangeAccessor = { + addZone: () => '', + removeZone: () => undefined, + layoutZone: () => undefined +} + describe('useDiffCommentDecorator model lifecycle', () => { it('rebuilds model-scoped resources when a retained editor swaps models', () => { const editorDomNode = document.createElement('div') @@ -26,13 +33,15 @@ describe('useDiffCommentDecorator model lifecycle', () => { const disposeMouseMove = vi.fn() const disposeMouseLeave = vi.fn() const disposeScroll = vi.fn() + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: a partial stand-in for Monaco's ICodeEditor; useDiffCommentDecorator calls only the members defined here, and a real editor needs a laid-out DOM this suite does not build. const editor = { getDomNode: () => editorDomNode, getOption: () => 19, onMouseMove: () => ({ dispose: disposeMouseMove }), onMouseLeave: () => ({ dispose: disposeMouseLeave }), onDidScrollChange: () => ({ dispose: disposeScroll }), - changeViewZones: (callback: (accessor: object) => void) => callback({}) + changeViewZones: (callback: (accessor: MonacoEditor.IViewZoneChangeAccessor) => void) => + callback(viewZoneAccessor) } as unknown as MonacoEditor.ICodeEditor const hook = renderHook( ({ monacoModelIdentity }) => diff --git a/src/renderer/src/components/editor/IpynbCellEditor.tsx b/src/renderer/src/components/editor/IpynbCellEditor.tsx index 77f319f034c..3ec18d46701 100644 --- a/src/renderer/src/components/editor/IpynbCellEditor.tsx +++ b/src/renderer/src/components/editor/IpynbCellEditor.tsx @@ -1,9 +1,10 @@ -import { memo, useCallback, useEffect, useLayoutEffect, useMemo, useRef } from 'react' +import { memo, useCallback, useEffect, useLayoutEffect, useMemo, useRef, useState } from 'react' import Editor, { type OnMount } from '@monaco-editor/react' import Markdown from 'react-markdown' import rehypeRaw from 'rehype-raw' import rehypeSanitize from 'rehype-sanitize' import remarkGfm from 'remark-gfm' +import { cn } from '@/lib/utils' import { monaco } from '@/lib/monaco-setup' import { computeEditorFontSize, resolveEditorFontFamily } from '@/lib/editor-font-zoom' import { resolveDocumentTheme } from '@/lib/document-theme' @@ -14,11 +15,27 @@ import type { IpynbCell } from './ipynb-parse' import MonacoCodeExcerpt from './MonacoCodeExcerpt' export function IpynbMarkdownCell({ source }: { source: string }): React.JSX.Element { + const settings = useAppStore((s) => s.settings) + const theme = settings?.theme ?? 'system' + const [systemDark, setSystemDark] = useState(() => resolveDocumentTheme('system')) + useEffect(() => { + if (theme !== 'system' || typeof window.matchMedia !== 'function') { + return + } + const media = window.matchMedia('(prefers-color-scheme: dark)') + const onChange = () => setSystemDark(media.matches) + onChange() + media.addEventListener('change', onChange) + return () => media.removeEventListener('change', onChange) + }, [theme]) + const isDark = theme === 'system' ? systemDark : resolveDocumentTheme(theme) return ( -
- - {source || '\u00a0'} - +
+
+ + {source || '\u00a0'} + +
) } diff --git a/src/renderer/src/components/editor/diff-section-layout.test.ts b/src/renderer/src/components/editor/diff-section-layout.test.ts index c1b100a2f33..16a8783ff49 100644 --- a/src/renderer/src/components/editor/diff-section-layout.test.ts +++ b/src/renderer/src/components/editor/diff-section-layout.test.ts @@ -110,8 +110,10 @@ describe('diff section layout', () => { }) it('estimates line-count height without allocating split arrays', () => { - const originalSplit = String.prototype.split - const patchedSplit = function patchedSplit( + // Method-shaped type: a call-signature capture would reject `split`'s splitter-object overload. + const originalSplit: { split(separator: unknown, limit?: number): string[] }['split'] = + String.prototype.split + const patchedSplit: typeof String.prototype.split = function patchedSplit( this: string, separator?: unknown, limit?: number @@ -119,9 +121,8 @@ describe('diff section layout', () => { if (String(this).startsWith('line 0')) { throw new Error('layout should not split full diff content') } - const args = limit === undefined ? [separator] : [separator, limit] - return Reflect.apply(originalSplit, this, args) as string[] - } as typeof String.prototype.split + return originalSplit.call(this, separator, limit) + } String.prototype.split = patchedSplit try { diff --git a/src/renderer/src/components/editor/markdown-preview-search.ts b/src/renderer/src/components/editor/markdown-preview-search.ts index 1b92f958fa8..3dc168ddd61 100644 --- a/src/renderer/src/components/editor/markdown-preview-search.ts +++ b/src/renderer/src/components/editor/markdown-preview-search.ts @@ -219,8 +219,15 @@ function getHighlightApi(): { // window). Track each instance's ranges by its own token and paint the UNION, // so a second preview's Find does not clobber the first's highlights. Ranges // live in each instance's own subtree, so the union paints every pane correctly. -const searchRangesByInstance = new Map() -const activeRangeByInstance = new Map() +declare const markdownPreviewSearchInstanceBrand: unique symbol + +/** Per-preview identity for the highlight maps; only compared by reference. */ +export type MarkdownPreviewSearchInstance = { + readonly [markdownPreviewSearchInstanceBrand]?: never +} + +const searchRangesByInstance = new Map() +const activeRangeByInstance = new Map() // Avoid array spread when collecting union ranges — a large doc can produce // 100k+ ranges and create()/registry writes must not build variadic arg lists. @@ -250,7 +257,9 @@ function paintActiveHighlight(api: NonNullable + function setupScheduledFocus( - activeElement: object | null, + activeElement: StubbedActiveElement | null, force = false ): { focus: ReturnType diff --git a/src/renderer/src/components/editor/rich-markdown-html-superscript-link.ts b/src/renderer/src/components/editor/rich-markdown-html-superscript-link.ts index a60a6e9c777..6d8c2b44f15 100644 --- a/src/renderer/src/components/editor/rich-markdown-html-superscript-link.ts +++ b/src/renderer/src/components/editor/rich-markdown-html-superscript-link.ts @@ -149,7 +149,7 @@ function parseStructuredPayload(value: string): HtmlSuperscriptLinkSource | null } catch { return null } - if (!isCitationShape(candidate)) { + if (!isCitationSource(candidate)) { return null } const parsed = parseHtmlSuperscriptLinkSource(candidate.source) @@ -197,7 +197,7 @@ function hasOnlyAttributes(element: Element, allowed: string[]): boolean { return Array.from(element.attributes).every((attribute) => allowedSet.has(attribute.name)) } -function isCitationShape(value: unknown): value is HtmlSuperscriptLinkSource { +function isCitationSource(value: unknown): value is HtmlSuperscriptLinkSource { if (!value || typeof value !== 'object') { return false } diff --git a/src/renderer/src/components/editor/rich-markdown-key-handler.test.ts b/src/renderer/src/components/editor/rich-markdown-key-handler.test.ts index 26847626853..e6893049633 100644 --- a/src/renderer/src/components/editor/rich-markdown-key-handler.test.ts +++ b/src/renderer/src/components/editor/rich-markdown-key-handler.test.ts @@ -1,5 +1,5 @@ import { describe, expect, it, vi } from 'vitest' -import { Editor } from '@tiptap/core' +import { Editor, type JSONContent } from '@tiptap/core' import StarterKit from '@tiptap/starter-kit' import { createIsolatedMarkdownExtensionForTests } from './isolated-markdown-extension-for-tests' import { createRichMarkdownKeyHandler, type KeyHandlerContext } from './rich-markdown-key-handler' @@ -14,7 +14,7 @@ vi.mock('@/lib/shortcut-platform', () => ({ const extensions = [StarterKit, createIsolatedMarkdownExtensionForTests()] -function createEditor(content: object): Editor { +function createEditor(content: JSONContent): Editor { return new Editor({ element: null, extensions, @@ -133,7 +133,7 @@ function createContext(editor: Editor, typedMarker: boolean): KeyHandlerContext } } -function emptyTopLevelOrderedList(): object { +function emptyTopLevelOrderedList(): JSONContent { return { type: 'doc', content: [ diff --git a/src/renderer/src/components/editor/rich-markdown-list-continuation.test.ts b/src/renderer/src/components/editor/rich-markdown-list-continuation.test.ts index 31a3e06aa01..a184882a2e0 100644 --- a/src/renderer/src/components/editor/rich-markdown-list-continuation.test.ts +++ b/src/renderer/src/components/editor/rich-markdown-list-continuation.test.ts @@ -1,5 +1,5 @@ import { describe, expect, it } from 'vitest' -import { Editor } from '@tiptap/core' +import { Editor, type JSONContent } from '@tiptap/core' import StarterKit from '@tiptap/starter-kit' import { createIsolatedMarkdownExtensionForTests } from './isolated-markdown-extension-for-tests' import { @@ -10,7 +10,7 @@ import { isSingleEmptyTopLevelOrderedList } from './rich-markdown-list-continuation' -function createEditor(content: object): Editor { +function createEditor(content: JSONContent): Editor { // Why: each Editor needs its own marked registry; sharing one module-scoped // extension accumulates tokenizer state across tests. return new Editor({ diff --git a/src/renderer/src/components/editor/rich-markdown-paragraph.test.ts b/src/renderer/src/components/editor/rich-markdown-paragraph.test.ts index d59cb0c4c04..1ec3fcc04df 100644 --- a/src/renderer/src/components/editor/rich-markdown-paragraph.test.ts +++ b/src/renderer/src/components/editor/rich-markdown-paragraph.test.ts @@ -2,9 +2,11 @@ import { describe, expect, it, vi } from 'vitest' import { RichMarkdownParagraph } from './rich-markdown-paragraph' vi.mock('@tiptap/extension-paragraph', async () => { - const actual = (await vi.importActual('@tiptap/extension-paragraph')) as { - Paragraph: { extend: (config: object) => { config: Record } } - } + const actual = await vi.importActual<{ + Paragraph: { + extend: (config: Record) => { config: Record } + } + }>('@tiptap/extension-paragraph') // Simulates a Tiptap upgrade that drops `parseMarkdown` from the upstream paragraph. const Paragraph = actual.Paragraph.extend({}) Paragraph.config.parseMarkdown = undefined diff --git a/src/renderer/src/components/editor/rich-markdown-tab-key-handler.test.ts b/src/renderer/src/components/editor/rich-markdown-tab-key-handler.test.ts index 1d597023b3e..a25a06141ec 100644 --- a/src/renderer/src/components/editor/rich-markdown-tab-key-handler.test.ts +++ b/src/renderer/src/components/editor/rich-markdown-tab-key-handler.test.ts @@ -1,5 +1,5 @@ import { describe, expect, it, vi } from 'vitest' -import { Editor } from '@tiptap/core' +import { Editor, type JSONContent } from '@tiptap/core' import StarterKit from '@tiptap/starter-kit' import TaskList from '@tiptap/extension-task-list' import TaskItem from '@tiptap/extension-task-item' @@ -8,7 +8,7 @@ import { createRichMarkdownExtensions } from './rich-markdown-extensions' import { createRichMarkdownEditorCodec } from './rich-markdown-source-transport' import { createRichMarkdownKeyHandler, type KeyHandlerContext } from './rich-markdown-key-handler' -function createEditor(content: object): Editor { +function createEditor(content: JSONContent): Editor { // Why: each Editor needs its own marked registry; sharing one module-scoped // extension accumulates tokenizer state across tests. return new Editor({ @@ -43,7 +43,7 @@ function createMarkdownEditor(markdown: string): Editor { * editor has no plain-text markdown paste transform. The DOM-less test env * cannot parse HTML, so assert against the node shapes that paste produces. */ -function createNodeEditor(content: object): Editor { +function createNodeEditor(content: JSONContent): Editor { return new Editor({ element: null, extensions: createRichMarkdownExtensions({ @@ -53,18 +53,18 @@ function createNodeEditor(content: object): Editor { }) } -function para(text: string): object { +function para(text: string): JSONContent { return { type: 'paragraph', content: [{ type: 'text', text }] } } -function bullets(...items: object[][]): object { +function bullets(...items: JSONContent[][]): JSONContent { return { type: 'bulletList', content: items.map((content) => ({ type: 'listItem', content })) } } -function tasks(...items: object[][]): object { +function tasks(...items: JSONContent[][]): JSONContent { return { type: 'taskList', content: items.map((content) => ({ @@ -75,7 +75,7 @@ function tasks(...items: object[][]): object { } } -function doc(...content: object[]): object { +function doc(...content: JSONContent[]): JSONContent { return { type: 'doc', content } } @@ -175,7 +175,7 @@ function createContext(editor: Editor): KeyHandlerContext { } } -function bulletListDocument(): object { +function bulletListDocument(): JSONContent { return { type: 'doc', content: [ @@ -196,7 +196,7 @@ function bulletListDocument(): object { } } -function parentAndFixesDocument(): object { +function parentAndFixesDocument(): JSONContent { return { type: 'doc', content: [ @@ -226,7 +226,7 @@ function parentAndFixesDocument(): object { } } -function taskListDocument(): object { +function taskListDocument(): JSONContent { return { type: 'doc', content: [ diff --git a/src/renderer/src/components/editor/tiptap-marked-facade.ts b/src/renderer/src/components/editor/tiptap-marked-facade.ts index e34f6755566..80cadb343f9 100644 --- a/src/renderer/src/components/editor/tiptap-marked-facade.ts +++ b/src/renderer/src/components/editor/tiptap-marked-facade.ts @@ -32,7 +32,8 @@ export function createTiptapMarkedFacade(): typeof marked { const lexer = (src: string, options?: MarkedOptions): TokensList => new RegistryLexer(options).lex(src) const facade = new Proxy(marked, { - apply: (_target, _thisArg, args) => Reflect.apply(registry.parse, registry, args), + apply: (_target, _thisArg, args: [src: string, options?: MarkedOptions | null]) => + registry.parse(...args), get: (target, property, receiver) => { switch (property) { case 'defaults': @@ -73,6 +74,7 @@ export function createTiptapMarkedFacade(): typeof marked { return facade } default: + // oxlint-disable-next-line anti-slop/no-reflect-get -- Proxy `get` trap: only Reflect.get forwards a raw string|symbol key with the proxy receiver. return Reflect.get(target, property, receiver) } } diff --git a/src/renderer/src/components/editor/use-markdown-preview-source-foundation.ts b/src/renderer/src/components/editor/use-markdown-preview-source-foundation.ts index 1f32ed4f668..ca6f4c023f2 100644 --- a/src/renderer/src/components/editor/use-markdown-preview-source-foundation.ts +++ b/src/renderer/src/components/editor/use-markdown-preview-source-foundation.ts @@ -6,6 +6,7 @@ import { isMarkdownComment } from '@/lib/diff-comment-compat' import { settingsForRuntimeOwner } from '@/runtime/runtime-rpc-client' import { useAppStore } from '@/store' import { prewarmMarkdownPreviewLocalImages } from './markdown-preview-local-images' +import type { MarkdownPreviewSearchInstance } from './markdown-preview-search' import { deriveMarkdownPreviewSourceRoot, findMarkdownPreviewSourceOpenFile, @@ -40,7 +41,7 @@ export function useMarkdownPreviewSourceFoundation({ input.select() }, []) const matchesRef = useRef([]) - const searchInstanceRef = useRef({}) + const searchInstanceRef = useRef({}) const lastAppliedInitialAnchorRef = useRef(null) const pendingEditorRevealFrameIdsRef = useRef([]) const [isSearchOpen, setIsSearchOpen] = useState(false) diff --git a/src/renderer/src/components/github-checks-tab-state.ts b/src/renderer/src/components/github-checks-tab-state.ts index 18c12cf089b..6d60adaf71a 100644 --- a/src/renderer/src/components/github-checks-tab-state.ts +++ b/src/renderer/src/components/github-checks-tab-state.ts @@ -7,9 +7,14 @@ export type CheckDetailsLoadState = { error: string | null } +declare const checksContextOwnerBrand: unique symbol + +/** Identity minted per checks context; only its reference is ever compared. */ +export type GitHubChecksContextOwner = object & { readonly [checksContextOwnerBrand]?: never } + export type GitHubChecksTabState = { contextKey: string - contextOwner: object + contextOwner: GitHubChecksContextOwner sourceChecks: GitHubChecksSource localChecks: PRCheckDetail[] | null expandedCheckKey: string | null diff --git a/src/renderer/src/components/github-item-dialog/inspect-pull-request/checks-tab-actions.ts b/src/renderer/src/components/github-item-dialog/inspect-pull-request/checks-tab-actions.ts index b4a46e24c33..21b10c2cd88 100644 --- a/src/renderer/src/components/github-item-dialog/inspect-pull-request/checks-tab-actions.ts +++ b/src/renderer/src/components/github-item-dialog/inspect-pull-request/checks-tab-actions.ts @@ -4,6 +4,7 @@ import { callRuntimeRpc } from '@/runtime/runtime-rpc-client' import { resetGitHubChecksTabForSource, updateGitHubChecksTabLocalChecks, + type GitHubChecksContextOwner, type GitHubChecksTabState } from '@/components/github-checks-tab-state' import { getGitHubRuntimeRepoId, type GitHubRuntimeHost } from '@/lib/github-source-runtime-context' @@ -28,21 +29,21 @@ export type ChecksTabActionContext = { headSha: string | undefined prRepo: GitHubOwnerRepo | null mountedRef: { current: boolean } - committedChecksContextOwnerRef: { current: object } + committedChecksContextOwnerRef: { current: GitHubChecksContextOwner } nextChecksRefreshRequestIdRef: { current: number } activeChecksRefreshRequestIdRef: { current: number | null } nextCheckDetailsRequestIdRef: { current: number } setChecksState: React.Dispatch> setRefreshingOwner: React.Dispatch< - React.SetStateAction<{ contextOwner: object; requestId: number } | null> + React.SetStateAction<{ contextOwner: GitHubChecksContextOwner; requestId: number } | null> > - setRerunningOwner: React.Dispatch> + setRerunningOwner: React.Dispatch> onChecksUpdated: (checks: PRCheckDetail[]) => void } export async function refreshGitHubChecksTab( ctx: ChecksTabActionContext, - expectedContextOwner?: object + expectedContextOwner?: GitHubChecksContextOwner ): Promise { if (!ctx.canUseChecksRepoContext) { toast.error( diff --git a/src/renderer/src/components/github-item-dialog/inspect-pull-request/checks-tab.tsx b/src/renderer/src/components/github-item-dialog/inspect-pull-request/checks-tab.tsx index 3e9811d997c..9692d59fc18 100644 --- a/src/renderer/src/components/github-item-dialog/inspect-pull-request/checks-tab.tsx +++ b/src/renderer/src/components/github-item-dialog/inspect-pull-request/checks-tab.tsx @@ -40,6 +40,9 @@ import { import { requestGitHubCheckDetails } from './checks-tab-request-details' import { ChecksTabActions, ChecksTabCompactHeader } from './checks-tab-header' +/** Identity token for one checks context; compared by reference so a stale refresh is dropped. */ +type ChecksContextOwner = Record + export function ChecksTab({ item, repoPath, @@ -111,7 +114,7 @@ export function ChecksTab({ const canFixBrokenChecks = Boolean((repoId ?? item.repoId) && failedChecks.length > 0) const handleRefresh = useCallback( - async (expectedContextOwner?: object): Promise => + async (expectedContextOwner?: ChecksContextOwner): Promise => refreshGitHubChecksTab( { canUseChecksRepoContext, diff --git a/src/renderer/src/components/linear-issue-attribute-filter-primary-team.test.ts b/src/renderer/src/components/linear-issue-attribute-filter-primary-team.test.ts index 5a4bfe471a2..9adb06f6586 100644 --- a/src/renderer/src/components/linear-issue-attribute-filter-primary-team.test.ts +++ b/src/renderer/src/components/linear-issue-attribute-filter-primary-team.test.ts @@ -55,6 +55,7 @@ it('selects a primary team without pairwise membership checks or sorting all tea if (typeof key === 'string' && /^\d+$/.test(key)) { reads += 1 } + // oxlint-disable-next-line anti-slop/no-reflect-get -- Proxy get trap default forward. return Reflect.get(target, key, receiver) } } diff --git a/src/renderer/src/components/native-chat/NativeChatAwaitingInputRow.tsx b/src/renderer/src/components/native-chat/NativeChatAwaitingInputRow.tsx new file mode 100644 index 00000000000..0f9dab5720b --- /dev/null +++ b/src/renderer/src/components/native-chat/NativeChatAwaitingInputRow.tsx @@ -0,0 +1,53 @@ +import { cn } from '@/lib/utils' +import { translate } from '@/i18n/i18n' +import { + NATIVE_CHAT_ASK_ROW_COPY, + type NativeChatAskRowSubject +} from '../../../../shared/native-chat-ask-row' +import { NativeChatToolRunIcon } from './NativeChatToolIcon' + +/** + * The row a question tool call draws in place of its raw input. The agent is + * blocked on the reader, so the row says that in plain words and names what was + * asked, rather than printing the tool's name and a clipped JSON payload. + * + * Only the label breathes: the question is the part worth reading, and animating + * it would make the one line the reader has to act on the hardest one to read. + */ +export function NativeChatAwaitingInputRow({ + subject, + pending +}: { + /** Null when the payload named no question; the label carries the row alone. */ + subject: NativeChatAskRowSubject | null + /** Still waiting on an answer; a settled prompt reports what was asked. */ + pending: boolean +}): React.JSX.Element { + const label = pending + ? translate('components.native-chat.ask.awaiting', NATIVE_CHAT_ASK_ROW_COPY.awaiting) + : translate('components.native-chat.ask.asked', NATIVE_CHAT_ASK_ROW_COPY.asked) + const text = + subject === null + ? null + : subject.kind === 'question' + ? subject.text + : translate( + 'components.native-chat.ask.questionCount', + NATIVE_CHAT_ASK_ROW_COPY.questionCount, + { value0: subject.count } + ) + + return ( +
+ + + {label} + + {text} +
+ ) +} diff --git a/src/renderer/src/components/native-chat/NativeChatDeliveryRetry.tsx b/src/renderer/src/components/native-chat/NativeChatDeliveryRetry.tsx new file mode 100644 index 00000000000..7fce2abc9ea --- /dev/null +++ b/src/renderer/src/components/native-chat/NativeChatDeliveryRetry.tsx @@ -0,0 +1,48 @@ +import { RotateCcw } from 'lucide-react' +import type { StructuredAgentSessionOutboxEntry } from '../../../../shared/structured-agent-session-outbox' +import { Button } from '@/components/ui/button' +import { translate } from '@/i18n/i18n' + +export function NativeChatDeliveryRetry({ + outbox, + blockedClientMessageId, + retry +}: { + outbox: readonly StructuredAgentSessionOutboxEntry[] + blockedClientMessageId: string | null + retry: (clientMessageId: string) => void +}): React.JSX.Element | null { + // Why: only the head can hold the queue, so Retry must never name or resend a later entry. + const head = outbox[0] + const retryable = + head && (head.state === 'unconfirmed' || head.clientMessageId === blockedClientMessageId) + ? head + : null + if (!retryable) { + return null + } + return ( +
+ + {retryable.state === 'unconfirmed' + ? translate( + 'auto.components.native.chat.NativeChatStructuredSession.1f772bb5d0', + 'Message delivery is unconfirmed.' + ) + : translate( + 'auto.components.native.chat.NativeChatStructuredSession.93ef441197', + 'Message was not sent.' + )} + + +
+ ) +} diff --git a/src/renderer/src/components/native-chat/NativeChatLaunchRetry.tsx b/src/renderer/src/components/native-chat/NativeChatLaunchRetry.tsx new file mode 100644 index 00000000000..23b52615ee9 --- /dev/null +++ b/src/renderer/src/components/native-chat/NativeChatLaunchRetry.tsx @@ -0,0 +1,35 @@ +import { RotateCcw } from 'lucide-react' +import { Button } from '@/components/ui/button' +import { translate } from '@/i18n/i18n' +import type { StructuredAgentSessionLaunchLifecycle } from '@/lib/structured-agent-session-launch' + +export function NativeChatLaunchRetry({ + lifecycle, + onRetry +}: { + lifecycle: StructuredAgentSessionLaunchLifecycle | null + onRetry: () => void +}): React.JSX.Element | null { + if (lifecycle !== 'failed' && lifecycle !== 'visibility-unknown') { + return null + } + const message = + lifecycle === 'failed' + ? translate( + 'auto.components.native.chat.NativeChatLaunchRetry.failed', + 'Chat could not be started.' + ) + : translate( + 'auto.components.native.chat.NativeChatLaunchRetry.unknown', + 'Chat connection could not be confirmed.' + ) + return ( +
+ {message} + +
+ ) +} diff --git a/src/renderer/src/components/native-chat/NativeChatMessageList.message-rail-windowing.test.tsx b/src/renderer/src/components/native-chat/NativeChatMessageList.message-rail-windowing.test.tsx new file mode 100644 index 00000000000..e2fd6f65d8c --- /dev/null +++ b/src/renderer/src/components/native-chat/NativeChatMessageList.message-rail-windowing.test.tsx @@ -0,0 +1,183 @@ +// @vitest-environment happy-dom + +import '@testing-library/jest-dom/vitest' + +import { act, cleanup, fireEvent, render, screen } from '@testing-library/react' +import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' +import type { + AgentJournalItemBody, + AgentJournalRenderItem +} from '../../../../shared/agent-session-journal-types' +import { projectStructuredItemsToNativeChat } from '../../../../shared/structured-agent-session-projection' +import type { NativeChatMessage } from '../../../../shared/native-chat-types' +import { NativeChatMessageList } from './NativeChatMessageList' +import { + TRANSCRIPT_LENGTH, + list, + marker, + scrollTranscript, + session, + stubLayout, + windowState +} from './NativeChatMessageList.windowing-test-support' + +afterEach(cleanup) + +describe('revealing a diff from a turn rollup', () => { + let restoreLayout = (): void => {} + beforeEach(() => { + restoreLayout = stubLayout() + }) + afterEach(() => { + restoreLayout() + vi.restoreAllMocks() + }) + + function journalItem(itemId: string, body: AgentJournalItemBody, sequence: number) { + return { itemId, body, sequence, observedAt: sequence * 1000, revision: 1 } + } + + const patch = '@@ -1 +1 @@\n-before\n+after' + const items: AgentJournalRenderItem[] = [ + journalItem( + 'user', + { kind: 'message', role: 'user', blocks: [{ type: 'text', text: 'Edit it' }] }, + 1 + ), + journalItem( + 'diff', + { + kind: 'diff', + path: 'src/a.ts', + patch: { head: patch, truncated: false, digest: 'fixture', byteLength: patch.length } + }, + 2 + ), + ...Array.from({ length: TRANSCRIPT_LENGTH }, (_, index) => + journalItem( + `tail-${index}`, + { kind: 'message', role: 'assistant', blocks: [{ type: 'text', text: `marker-${index}` }] }, + index + 3 + ) + ) + ] + + it('lets a rail jump supersede a previously revealed diff', () => { + const withPrompts = [ + ...items.slice(0, 2), + journalItem( + 'user-2', + { kind: 'message', role: 'user', blocks: [{ type: 'text', text: 'Second prompt' }] }, + 3 + ), + journalItem( + 'user-3', + { kind: 'message', role: 'user', blocks: [{ type: 'text', text: 'Third prompt' }] }, + 4 + ), + ...items.slice(2) + ].map((item, index) => ({ ...item, sequence: index + 1 })) + const scrollTo = vi.fn() + vi.spyOn(HTMLElement.prototype, 'scrollTo').mockImplementation(scrollTo) + const { container } = render( + + ) + fireEvent.click(screen.getByRole('button', { name: /1 changed file/ })) + fireEvent.click(screen.getByRole('button', { name: /src\/a.ts/ })) + scrollTranscript(container, 6000) + expect(screen.getByText('Edited file')).toBeInTheDocument() + scrollTo.mockClear() + fireEvent.click(screen.getByRole('button', { name: 'Your messages' })) + fireEvent.click(screen.getByRole('button', { name: 'Second prompt' })) + expect(scrollTo).toHaveBeenCalledTimes(1) + expect(screen.queryByText('Edited file')).toBeNull() + + scrollTranscript(container, 0) + scrollTo.mockClear() + fireEvent.click(screen.getByRole('button', { name: /1 changed file/ })) + fireEvent.click(screen.getByRole('button', { name: /src\/a.ts/ })) + expect(scrollTo).toHaveBeenCalledTimes(1) + }) +}) + +// The rail borrows the reveal's pin to reach a row the window has left behind. +// Borrowing the pin means it also has to give it back: the request is what +// outranks a later reveal, and slots is rebuilt every render, so an effect that +// merely watched it would re-scroll forever. +describe('jumping to a message from the rail', () => { + let restoreLayout = (): void => {} + beforeEach(() => { + restoreLayout = stubLayout() + }) + afterEach(() => { + restoreLayout() + vi.useRealTimers() + vi.restoreAllMocks() + }) + + function userMarker(index: number): NativeChatMessage { + return { + id: `message-${index}`, + role: 'user', + blocks: [{ type: 'text', text: `prompt-${index}` }], + timestamp: index + 1, + source: 'transcript' + } + } + + const conversation = Array.from({ length: TRANSCRIPT_LENGTH }, (_, index) => + index % 10 === 0 ? userMarker(index) : marker(index) + ) + + /** Open the hover panel through the trigger and click the first prompt. */ + function jumpToFirstPrompt(): void { + fireEvent.click(screen.getByRole('button', { name: 'Your messages' })) + act(() => { + vi.advanceTimersByTime(300) + }) + fireEvent.click(screen.getByRole('button', { name: 'prompt-0' })) + act(() => { + vi.advanceTimersByTime(300) + }) + } + + it('scrolls once for a selection, not again on every later render', () => { + vi.useFakeTimers() + const scrollTo = vi.fn() + vi.spyOn(HTMLElement.prototype, 'scrollTo').mockImplementation(scrollTo) + const { container, rerender } = render(list(conversation)) + scrollTranscript(container, 6000) + + jumpToFirstPrompt() + expect(scrollTo).toHaveBeenCalled() + + // A streaming turn re-renders constantly with the same messages. The jump is + // spent; nothing here may drag the reader back to the row they left. + scrollTo.mockClear() + rerender(list(conversation)) + rerender(list(conversation)) + expect(scrollTo).not.toHaveBeenCalled() + }) + + it('releases the pin once the jump is spent', () => { + vi.useFakeTimers() + const scrollTo = vi.fn() + vi.spyOn(HTMLElement.prototype, 'scrollTo').mockImplementation(scrollTo) + const { container } = render(list(conversation)) + scrollTranscript(container, 6000) + + jumpToFirstPrompt() + expect(scrollTo).toHaveBeenCalled() + + // The request is spent as soon as the scroll is issued, so the row it pinned + // is not held in the window afterwards. A pin still standing here would also + // still outrank a diff reveal, which shares the same slot. + expect(windowState(container).indexes).not.toContain(0) + }) +}) diff --git a/src/renderer/src/components/native-chat/NativeChatMessageList.tsx b/src/renderer/src/components/native-chat/NativeChatMessageList.tsx index 108a188c4ab..45c78f03d74 100644 --- a/src/renderer/src/components/native-chat/NativeChatMessageList.tsx +++ b/src/renderer/src/components/native-chat/NativeChatMessageList.tsx @@ -1,9 +1,10 @@ -import { useCallback, useMemo, useRef, useState } from 'react' +import { useCallback, useLayoutEffect, useMemo, useRef, useState } from 'react' import { ArrowDown } from 'lucide-react' import type { CommentMarkdownLinkClickHandler } from '@/components/sidebar/CommentMarkdown' import { translate } from '@/i18n/i18n' import type { NativeChatLiveSession } from './use-native-chat-live-session' import { createNativeChatMessageListProjection } from './native-chat-message-list-projection' +import { structuredQuestionTranscript } from './structured-agent-question-projection' import { nativeChatTaskListState } from './native-chat-task-list-state' import { nativeChatTaskListPredecessors } from './native-chat-task-list-history' import { NativeChatTaskList } from './NativeChatTaskList' @@ -26,6 +27,9 @@ import { } from './native-chat-transcript-slots' import { useNativeChatTranscriptWindow } from './use-native-chat-transcript-window' import { useNativeChatTranscriptScroll } from './use-native-chat-transcript-scroll' +import { useNativeChatMessageRail } from './use-native-chat-message-rail' +import { NativeChatMessageRail } from './NativeChatMessageRail' +import type { NativeChatRailItem } from './native-chat-message-rail-items' import type { AgentJournalRenderItem } from '../../../../shared/agent-session-journal-types' import { isStructuredAgentSessionThinking } from '../../../../shared/structured-agent-session-live-turn' @@ -41,6 +45,10 @@ export { ProviderFrameRow } from './NativeChatTranscriptChrome' const MAX_EXPANDED_TURNS = 128 +type NativeChatNavigationRequest = + | { kind: 'diff'; target: NativeChatDiffReveal } + | { kind: 'rail'; messageId: string; requestId: number } + export function NativeChatMessageList({ session, journalItems, @@ -77,20 +85,21 @@ export function NativeChatMessageList({ turnActivity?: NativeChatTurnActivity | null runtimeContext?: RuntimeFileOperationArgs | null }): React.JSX.Element { - const [revealedDiff, setRevealedDiff] = useState(null) + const [navigationRequest, setNavigationRequest] = useState( + null + ) + const navigationSequence = useRef(0) + const revealedDiff = navigationRequest?.kind === 'diff' ? navigationRequest.target : null + const railJump = navigationRequest?.kind === 'rail' ? navigationRequest : null const revealDiff = useCallback((target: NativeChatDiffTarget) => { - setRevealedDiff((current) => ({ ...target, requestId: (current?.requestId ?? 0) + 1 })) + navigationSequence.current += 1 + setNavigationRequest({ + kind: 'diff', + target: { ...target, requestId: navigationSequence.current } + }) }, []) const receipts = useMemo( - () => - new Map( - journalItems?.flatMap((item) => - (item.body.kind === 'approval' || item.body.kind === 'question') && - item.body.resolution.state !== 'pending' - ? [[item.itemId, item.body] as const] - : [] - ) - ), + () => (journalItems ? structuredQuestionTranscript(journalItems).receipts : new Map()), [journalItems] ) const scrollRef = useRef(null) @@ -198,7 +207,9 @@ export function NativeChatMessageList({ const transcriptWindow = useNativeChatTranscriptWindow({ scrollRef, slots, - revealIndex: nativeChatSlotIndexOf(slots, revealedDiff?.messageId) + // One pin serves both: revealing a diff and jumping from the rail are + // mutually exclusive things to be doing. + revealIndex: nativeChatSlotIndexOf(slots, railJump?.messageId ?? revealedDiff?.messageId) }) const { showJump, onScroll, scrollToBottom, scrollMessageToTop } = useNativeChatTranscriptScroll({ scrollRef, @@ -214,6 +225,41 @@ export function NativeChatMessageList({ consumeProgrammaticScroll: transcriptWindow.consumeProgrammaticScroll, reconcileReaderScroll: transcriptWindow.reconcileReaderScroll }) + const rail = useNativeChatMessageRail({ + scrollRef, + slots, + virtualItems: transcriptWindow.virtualItems + }) + const servicedRailJumpRef = useRef(0) + const selectRailItem = useCallback((item: NativeChatRailItem) => { + navigationSequence.current += 1 + setNavigationRequest({ + kind: 'rail', + messageId: item.id, + requestId: navigationSequence.current + }) + }, []) + // Pinning the target mounts it in the same commit, so the row exists by the time + // layout runs. Routed through `scrollMessageToTop` rather than the virtualizer + // because that is what releases the bottom pin — without it the next streamed + // token snaps the reader straight back down. + // + // Serviced once per request, then released. `slots` takes a new identity on + // every render, so an effect that merely depended on it would re-scroll to this + // row forever; and a request left standing would keep its pin, which outranks + // the diff reveal that shares it. + useLayoutEffect(() => { + if (railJump === null || servicedRailJumpRef.current === railJump.requestId) { + return + } + servicedRailJumpRef.current = railJump.requestId + const index = nativeChatSlotIndexOf(slots, railJump.messageId) + const row = scrollRef.current?.querySelector(`[data-index="${index}"]`) + if (row) { + scrollMessageToTop(row) + } + setNavigationRequest(null) + }, [railJump, scrollMessageToTop, slots]) const rowContext = useMemo( () => ({ @@ -256,10 +302,7 @@ export function NativeChatMessageList({ // Named so measurement can find the scroll root without depending on // which utility class happens to make it scroll. data-native-chat-scroll - // `overflow-anchor:none`: the transcript decides whether an offset - // it did not write is the reader moving, so the engine adjusting - // scrollTop under a settling row would read as a departure. The - // virtualizer does its own end anchoring, so this is redundant here. + // Browser anchoring would add unattributed movement beside the virtualizer's anchor. className="scrollbar-sleek relative h-full overflow-y-auto [overflow-anchor:none] [scrollbar-gutter:stable_both-edges]" // Why: `zoom` scales the chat transcript's text and layout together, // scoped to this pane so the rest of the app is untouched. It sits on @@ -305,6 +348,7 @@ export function NativeChatMessageList({ + {showJump ? ( + + { + cancelClose() + restoreFocus.current = true + setMode('interactive') + }} + onOpenAutoFocus={(event) => { + if (mode === 'hover') { + event.preventDefault() + } + }} + onCloseAutoFocus={(event) => { + if (!restoreFocus.current) { + event.preventDefault() + } + }} + > +
    + {rail.items.map((item) => ( +
  • + +
  • + ))} +
+
+ + ) +}) diff --git a/src/renderer/src/components/native-chat/NativeChatResolutionReceipt.test.tsx b/src/renderer/src/components/native-chat/NativeChatResolutionReceipt.test.tsx index 6945bc6aa98..80a421cfdca 100644 --- a/src/renderer/src/components/native-chat/NativeChatResolutionReceipt.test.tsx +++ b/src/renderer/src/components/native-chat/NativeChatResolutionReceipt.test.tsx @@ -142,6 +142,59 @@ describe('resolution receipts', () => { ]) }) + it('keeps a single grouped question heading distinct from its answer line', () => { + const body: AgentJournalQuestionItem = { + kind: 'question', + question: '1 grouped question from Claude', + options: [], + questions: [{ id: 'q1', question: 'Libraries?', multiSelect: true, options: [] }], + resolution: { + ...approval.resolution, + selectedOptionId: encodeAgentSessionQuestionAnswers([ + { questionId: 'q1', optionIds: [], other: 'TypeScript' } + ]) + } + } + + render() + expect(screen.getByText('1 grouped question from Claude')).toBeInTheDocument() + expect(screen.getAllByText('Libraries?')).toHaveLength(1) + expect(screen.getByText('TypeScript')).toBeInTheDocument() + }) + + it('does not repeat a single question above its answer', () => { + const body: AgentJournalQuestionItem = { + kind: 'question', + question: 'Libraries?', + options: [], + questions: [{ id: 'q1', question: 'Libraries?', multiSelect: false, options: [] }], + resolution: { + ...approval.resolution, + selectedOptionId: encodeAgentSessionQuestionAnswers([ + { questionId: 'q1', optionIds: [], other: 'TypeScript' } + ]) + } + } + + render() + expect(screen.getAllByText('Libraries?')).toHaveLength(1) + expect(screen.getByText('TypeScript')).toBeInTheDocument() + }) + + it('names the actual question while a single grouped prompt is pending', () => { + const body: AgentJournalQuestionItem = { + kind: 'question', + question: '1 grouped question from Claude', + options: [], + questions: [{ id: 'q1', question: 'Libraries?', multiSelect: true, options: [] }], + resolution: { ...approval.resolution, state: 'pending', selectedOptionId: null } + } + + render() + expect(screen.getByText('Libraries?')).toBeInTheDocument() + expect(screen.queryByText('1 grouped question from Claude')).toBeNull() + }) + it('decodes single free-text answers only for the declared question', () => { const body: AgentJournalQuestionItem = { kind: 'question', diff --git a/src/renderer/src/components/native-chat/NativeChatResolutionReceipt.tsx b/src/renderer/src/components/native-chat/NativeChatResolutionReceipt.tsx index e564c789344..570cfbf3bb4 100644 --- a/src/renderer/src/components/native-chat/NativeChatResolutionReceipt.tsx +++ b/src/renderer/src/components/native-chat/NativeChatResolutionReceipt.tsx @@ -1,5 +1,7 @@ import { translate } from '@/i18n/i18n' import { NativeChatMessageTimestamp } from './NativeChatMessageTimestamp' +import { NativeChatAwaitingInputRow } from './NativeChatAwaitingInputRow' +import type { NativeChatAskRowSubject } from '../../../../shared/native-chat-ask-row' import { nativeChatReceiptAnswers, type NativeChatResolvedPrompt @@ -10,8 +12,27 @@ export function NativeChatResolutionReceipt({ }: { body: NativeChatResolvedPrompt }): React.JSX.Element | null { + const subject: NativeChatAskRowSubject | null = + body.kind !== 'question' + ? null + : body.questions && body.questions.length > 1 + ? { kind: 'count', count: body.questions.length } + : { + kind: 'question', + // Claude keeps a generic grouped label for a single multi-select + // question. Use it after resolution so the answer's question line + // is not repeated in the heading. + text: + body.resolution.state !== 'pending' && + body.questions?.length === 1 && + body.questions[0]?.question !== body.question + ? body.question + : (body.questions?.[0]?.question ?? body.question) + } if (body.resolution.state === 'pending') { - return null + return body.kind === 'question' ? ( + + ) : null } const { resolution } = body const title = body.kind === 'approval' ? body.title : body.question @@ -21,13 +42,25 @@ export function NativeChatResolutionReceipt({ className="space-y-1 border-l border-border pl-3 text-xs text-muted-foreground" data-native-chat-receipt={body.kind} > -
{title}
+ {body.kind === 'question' ? ( + + ) : ( +
{title}
+ )} {body.kind === 'approval' && body.detail ? (

{body.detail}

) : null} {answers.map((answer, index) => (
- {answer.question ?

{answer.question}

: null} + {answer.question && + !( + body.kind === 'question' && + body.questions?.length === 1 && + subject?.kind === 'question' && + answer.question === subject.text + ) ? ( +

{answer.question}

+ ) : null}

{answer.answer ?? translate( diff --git a/src/renderer/src/components/native-chat/NativeChatStructuredSession.launch-lifecycle.test.tsx b/src/renderer/src/components/native-chat/NativeChatStructuredSession.launch-lifecycle.test.tsx new file mode 100644 index 00000000000..1550b3316e9 --- /dev/null +++ b/src/renderer/src/components/native-chat/NativeChatStructuredSession.launch-lifecycle.test.tsx @@ -0,0 +1,109 @@ +// @vitest-environment happy-dom + +import { cleanup, fireEvent, render, screen, waitFor } from '@testing-library/react' +import { afterEach, describe, expect, it, vi } from 'vitest' + +const { mocks, moduleFactories, resetStructuredSessionMocks } = await vi.hoisted(async () => + (await import('./NativeChatStructuredSession.test-harness')).createStructuredSessionMocks() +) + +vi.mock('@/lib/structured-agent-session-launch', () => + moduleFactories.structuredAgentSessionLaunch() +) +vi.mock('@/runtime/structured-agent-session-client', () => + moduleFactories.structuredAgentSessionClient() +) +vi.mock('./use-structured-agent-session', () => moduleFactories.useStructuredAgentSession()) +vi.mock('./use-native-chat-font-scale', () => moduleFactories.useNativeChatFontScale()) +vi.mock('./use-native-chat-file-link-context', () => moduleFactories.useNativeChatFileLinkContext()) +vi.mock('./use-native-chat-file-link-click', () => moduleFactories.useNativeChatFileLinkClick()) +vi.mock('./NativeChatMessageList', () => moduleFactories.nativeChatMessageList()) +vi.mock('./NativeChatComposer', () => moduleFactories.nativeChatComposer()) +vi.mock('./NativeChatEmptyState', () => moduleFactories.nativeChatEmptyState()) +vi.mock('./NativeChatApprovalCard', () => moduleFactories.nativeChatApprovalCard()) +vi.mock('./NativeChatQuestionCard', () => moduleFactories.nativeChatQuestionCard()) + +import { NativeChatStructuredSession } from './NativeChatStructuredSession' + +function sessionView(): React.JSX.Element { + return ( + + ) +} + +describe('NativeChatStructuredSession launch lifecycle', () => { + afterEach(() => { + cleanup() + localStorage.clear() + resetStructuredSessionMocks() + }) + + it('shows the ordinary usable chat without a startup label while launch is pending', () => { + mocks.launchLifecycle = 'pending' + render(sessionView()) + + expect(screen.getByTestId('structured-composer')).toBeTruthy() + expect(mocks.controllerProps).toMatchObject({ transportEnabled: false }) + expect(screen.queryByText(/Starting (Claude|Codex) chat/i)).toBeNull() + expect(screen.queryByRole('button', { name: 'Retry' })).toBeNull() + }) + + it.each([ + ['failed', 'Chat could not be started.'], + ['visibility-unknown', 'Chat connection could not be confirmed.'] + ] as const)('offers launch Retry for %s without naming the provider', (lifecycle, message) => { + mocks.launchLifecycle = lifecycle + render(sessionView()) + + expect(screen.getByText(message)).toBeTruthy() + expect(screen.queryByText(/Starting (Claude|Codex) chat/i)).toBeNull() + fireEvent.click(screen.getByRole('button', { name: 'Retry' })) + expect(mocks.retryLaunch).toHaveBeenCalledWith('wt-1', 'session-1') + }) + + it('keeps the durable outbox parked until publication, then dispatches it once', async () => { + mocks.mode = 'outbox' + mocks.launchLifecycle = 'visibility-unknown' + mocks.call.mockResolvedValue({ + ok: true, + value: { submission: { clientMessageId: 'client-1', dispatchState: 'accepted' } } + }) + const { rerender } = render(sessionView()) + const send = mocks.composerProps?.structuredTransport?.send + if (typeof send !== 'function') { + throw new Error('Structured composer transport was not installed') + } + + expect(send('queued while launching', [])).toBe(true) + expect(mocks.call).not.toHaveBeenCalled() + fireEvent.click(screen.getByRole('button', { name: 'Retry' })) + expect(mocks.call).not.toHaveBeenCalled() + + mocks.launchLifecycle = 'published' + rerender(sessionView()) + await waitFor(() => expect(mocks.call).toHaveBeenCalledOnce()) + expect(mocks.call).toHaveBeenCalledWith( + { kind: 'local' }, + 'agentSession.send', + expect.objectContaining({ envelope: expect.objectContaining({ sessionId: 'session-1' }) }) + ) + }) + + it.each([null, 'published'] as const)( + 'enables provider transport for lifecycle %s', + (lifecycle) => { + mocks.launchLifecycle = lifecycle + render(sessionView()) + + expect(mocks.controllerProps).toMatchObject({ transportEnabled: true }) + expect(screen.queryByRole('button', { name: 'Retry' })).toBeNull() + } + ) +}) diff --git a/src/renderer/src/components/native-chat/NativeChatStructuredSession.test-harness.tsx b/src/renderer/src/components/native-chat/NativeChatStructuredSession.test-harness.tsx index 345ad5bbef2..d4d3a76b5ca 100644 --- a/src/renderer/src/components/native-chat/NativeChatStructuredSession.test-harness.tsx +++ b/src/renderer/src/components/native-chat/NativeChatStructuredSession.test-harness.tsx @@ -1,13 +1,21 @@ import { forwardRef, useImperativeHandle, useRef } from 'react' -import { vi, type Mock } from 'vitest' +import { vi } from 'vitest' import type { AgentJournalRenderItem } from '../../../../shared/agent-session-journal-types' import type { AgentSessionBackgroundTask } from '../../../../shared/agent-session-wire' import type { NativeChatApprovalCardProps } from './NativeChatApprovalCard' import type { NativeChatQuestionCardProps } from './NativeChatQuestionCard' import type { NativeChatLaunchSeed } from './native-chat-composer-types' +import type { StructuredAgentSessionLaunchLifecycle } from '@/lib/structured-agent-session-launch' +import type { + SessionOptionSetResult, + SessionOptionValue +} from '../../../../shared/native-chat-session-options' -// Why: a named spy type keeps the harness's inferred return type portable across the test files. -type StructuredSessionSpy = Mock +type StopBackgroundTaskSpy = (sessionId: string, taskId?: string) => unknown + +function nullable(): T | null { + return null +} type StructuredSessionMessageListProps = { allowFileUriLinks?: boolean @@ -28,8 +36,11 @@ const initialApprovalCardProps: NativeChatApprovalCardProps | null = null */ export function createStructuredSessionMocks() { const mocks = { - call: vi.fn() as StructuredSessionSpy, - fileLinkClick: vi.fn() as StructuredSessionSpy, + call: vi.fn<(...args: never[]) => unknown>(), + fileLinkClick: vi.fn<(...args: never[]) => unknown>(), + launchLifecycle: nullable(), + retryLaunch: vi.fn<(...args: never[]) => unknown>(), + controllerProps: nullable<{ transportEnabled?: boolean }>(), mode: 'static' as 'static' | 'outbox', status: 'ready' as 'idle' | 'loading' | 'ready' | 'error', messages: null as null | unknown[], @@ -42,10 +53,10 @@ export function createStructuredSessionMocks() { approvalCardProps: initialApprovalCardProps, questionCardProps: null as NativeChatQuestionCardProps | null, promptItems: [] as AgentJournalRenderItem[], - respond: vi.fn() as StructuredSessionSpy, - cancel: vi.fn() as StructuredSessionSpy, - handlePasteEvent: vi.fn() as StructuredSessionSpy, - pasteFromClipboard: vi.fn() as StructuredSessionSpy, + respond: vi.fn<(...args: never[]) => unknown>(), + cancel: vi.fn<(...args: never[]) => unknown>(), + handlePasteEvent: vi.fn<(...args: never[]) => unknown>(), + pasteFromClipboard: vi.fn<(...args: never[]) => unknown>(), submissions: [] as unknown[], monitoringBackgroundTasks: false, showBackgroundTasks: false, @@ -55,7 +66,7 @@ export function createStructuredSessionMocks() { supportsBackgroundTaskStopAll: true, backgroundTasks: [] as AgentSessionBackgroundTask[], settledBackgroundTasks: [] as AgentSessionBackgroundTask[], - stopBackgroundTask: vi.fn() as StructuredSessionSpy + stopBackgroundTask: vi.fn() } const moduleFactories = { @@ -69,11 +80,13 @@ export function createStructuredSessionMocks() { useStructuredAgentSession: (props: { sessionId: string target: { kind: 'local' } | { kind: 'environment'; environmentId: string } + transportEnabled?: boolean }) => { + mocks.controllerProps = props const outbox = useStructuredAgentSessionOutbox({ sessionId: props.sessionId, target: props.target, - fence: 1, + fence: props.transportEnabled === false ? null : 1, submissions: mocks.submissions as never }) return { @@ -99,7 +112,7 @@ export function createStructuredSessionMocks() { error: outbox.error, hasOlder: false, loadingOlder: false, - loadOlder: vi.fn() as StructuredSessionSpy, + loadOlder: vi.fn<() => Promise>(), prompts: mocks.promptItems, outbox: outbox.outbox, blockedClientMessageId: outbox.blockedClientMessageId, @@ -135,15 +148,21 @@ export function createStructuredSessionMocks() { ], optionSurface: { getSnapshot: () => [], - setOption: vi.fn() as StructuredSessionSpy, - invokeAction: vi.fn() as StructuredSessionSpy, + setOption: + vi.fn<(id: string, value: SessionOptionValue) => Promise>(), + invokeAction: vi.fn<(id: string) => Promise>(), subscribe: () => () => {} }, - setStructuredOption: vi.fn() as StructuredSessionSpy + setStructuredOption: + vi.fn<(id: string, value: SessionOptionValue) => Promise>() } } } }, + structuredAgentSessionLaunch: () => ({ + retryStructuredAgentSessionLaunch: mocks.retryLaunch, + useStructuredAgentSessionLaunchLifecycle: () => mocks.launchLifecycle + }), useNativeChatFontScale: () => ({ useNativeChatFontScale: () => ({ scale: 1 }) }), @@ -197,6 +216,9 @@ export function createStructuredSessionMocks() { const resetStructuredSessionMocks = (): void => { mocks.call.mockReset() + mocks.launchLifecycle = null + mocks.retryLaunch.mockReset() + mocks.controllerProps = null mocks.mode = 'static' mocks.status = 'ready' mocks.messages = null diff --git a/src/renderer/src/components/native-chat/NativeChatStructuredSession.test.tsx b/src/renderer/src/components/native-chat/NativeChatStructuredSession.test.tsx index 823f01a3fe5..94d6fb78e29 100644 --- a/src/renderer/src/components/native-chat/NativeChatStructuredSession.test.tsx +++ b/src/renderer/src/components/native-chat/NativeChatStructuredSession.test.tsx @@ -354,7 +354,7 @@ describe('NativeChatStructuredSession', () => { let finishFirst!: (value: unknown) => void let finishSecond!: (value: unknown) => void mocks.stopBackgroundTask.mockImplementation( - (_sessionId: string, taskId: string) => + (_sessionId: string, taskId?: string) => new Promise((resolve) => { if (taskId === 'task-one') { finishFirst = resolve diff --git a/src/renderer/src/components/native-chat/NativeChatStructuredSession.tsx b/src/renderer/src/components/native-chat/NativeChatStructuredSession.tsx index 3908c42fa28..acf80594d66 100644 --- a/src/renderer/src/components/native-chat/NativeChatStructuredSession.tsx +++ b/src/renderer/src/components/native-chat/NativeChatStructuredSession.tsx @@ -1,10 +1,8 @@ import { useMemo, useRef, useState } from 'react' -import { RotateCcw } from 'lucide-react' import { encodeAgentSessionQuestionAnswers } from '../../../../shared/agent-session-question-answer' import { dispatchStructuredAgentSessionComposerCommand } from '../../../../shared/structured-agent-session-composer' import { structuredAgentSessionPaneKey } from '../../../../shared/structured-agent-session-projection' import type { NativeChatLiveSession } from './use-native-chat-live-session' -import { Button } from '@/components/ui/button' import { NativeChatApprovalCard } from './NativeChatApprovalCard' import { NativeChatComposer, type NativeChatComposerHandle } from './NativeChatComposer' import { NativeChatEmptyState } from './NativeChatEmptyState' @@ -17,12 +15,14 @@ import { LinkActionPopover } from '@/components/link-actions/LinkActionPopover' import { useNativeChatLinkActions } from './use-native-chat-link-actions' import { useNativeChatFileLinkContext } from './use-native-chat-file-link-context' import { useStructuredAgentSession } from './use-structured-agent-session' -import { translate } from '@/i18n/i18n' import { useNativeChatImageRuntimeContext } from './native-chat-image-runtime-context' import { useStructuredNativeChatPaneCommands } from './use-structured-native-chat-pane-commands' import type { NativeChatStructuredViewProps } from './native-chat-view-types' import { NativeChatBackgroundTasksStatus } from './NativeChatBackgroundTasksStatus' import { useNativeChatLaunchDraftSignal } from './use-native-chat-launch-draft-adoption' +import { NativeChatLaunchRetry } from './NativeChatLaunchRetry' +import { useNativeChatProvisionalLaunch } from './use-native-chat-provisional-launch' +import { NativeChatDeliveryRetry } from './NativeChatDeliveryRetry' type StoppingBackgroundTasks = { sessionId: string @@ -41,7 +41,15 @@ function encodeQuestionAnswer(questionId: string, answer: string): string { export function NativeChatStructuredSession( props: Omit ): React.JSX.Element { - const controller = useStructuredAgentSession(props) + const fileLinkContext = useNativeChatFileLinkContext(props.tabId) + const provisionalLaunch = useNativeChatProvisionalLaunch( + fileLinkContext?.worktreeId, + props.sessionId + ) + const controller = useStructuredAgentSession({ + ...props, + transportEnabled: provisionalLaunch.transportEnabled + }) const launchDraftSignal = useNativeChatLaunchDraftSignal({ terminalTabId: props.tabId, agent: props.agent, @@ -105,7 +113,6 @@ export function NativeChatStructuredSession( ) const viewState = selectNativeChatViewState(session) const fontScale = useNativeChatFontScale(viewState.kind === 'ready') - const fileLinkContext = useNativeChatFileLinkContext(props.tabId) const imageRuntimeContext = useNativeChatImageRuntimeContext(props.tabId) const { onLinkClick, linkActionRequest, closeLinkActions } = useNativeChatLinkActions( fileLinkContext, @@ -146,17 +153,6 @@ export function NativeChatStructuredSession( } ] : []) - // Only the head of the outbox is ever dispatched, so it is the only entry a - // Retry can act on and the only one whose state can be holding the queue. - // Scanning past it named a message the user was not looking at and re-sent - // one from earlier in the session while their newest sat behind it. - const outboxHead = controller.outbox[0] ?? null - const retryableOutboxEntry = - outboxHead && - (outboxHead.state === 'unconfirmed' || - outboxHead.clientMessageId === controller.blockedClientMessageId) - ? outboxHead - : null const structuredTransport = useMemo( () => ({ send: (text: string, attachments: readonly { id: string; path: string }[]): boolean => @@ -307,33 +303,15 @@ export function NativeChatStructuredSession( onCancel={cancelPrompt} /> ) : null} - {retryableOutboxEntry ? ( -

- - {retryableOutboxEntry.state === 'unconfirmed' - ? translate( - 'auto.components.native.chat.NativeChatStructuredSession.1f772bb5d0', - 'Message delivery is unconfirmed.' - ) - : translate( - 'auto.components.native.chat.NativeChatStructuredSession.93ef441197', - 'Message was not sent.' - )} - - -
- ) : null} + + {controller.error || composerError ? (

{controller.error ?? composerError} diff --git a/src/renderer/src/components/native-chat/NativeChatToolIcon.tsx b/src/renderer/src/components/native-chat/NativeChatToolIcon.tsx index 0b3a6d51c7d..df13b55dad1 100644 --- a/src/renderer/src/components/native-chat/NativeChatToolIcon.tsx +++ b/src/renderer/src/components/native-chat/NativeChatToolIcon.tsx @@ -4,6 +4,7 @@ import { Folder, Globe, ListChecks, + MessageSquareMore, Pencil, Plug, Search, @@ -29,7 +30,8 @@ const NATIVE_CHAT_TOOL_GLYPHS: Record = { plug: Plug, bot: Bot, 'list-checks': ListChecks, - wrench: Wrench + wrench: Wrench, + 'message-square-more': MessageSquareMore } /** The fixed 16px slot with a 14px glyph, which keeps every row left-aligned diff --git a/src/renderer/src/components/native-chat/NativeChatToolRun.ask-row.test.tsx b/src/renderer/src/components/native-chat/NativeChatToolRun.ask-row.test.tsx new file mode 100644 index 00000000000..82bc7256d7b --- /dev/null +++ b/src/renderer/src/components/native-chat/NativeChatToolRun.ask-row.test.tsx @@ -0,0 +1,110 @@ +// @vitest-environment happy-dom + +import '@testing-library/jest-dom/vitest' + +import { cleanup, render, screen } from '@testing-library/react' +import { afterEach, describe, expect, it } from 'vitest' +import type { NativeChatBlock } from '../../../../shared/native-chat-types' +import { NativeChatToolRun } from './NativeChatToolRun' + +afterEach(cleanup) + +const QUESTION = 'What would you like me to do next in this repo?' +const ASK_INPUT = { questions: [{ question: QUESTION }] } + +function askBlocks(state: 'running' | 'completed'): NativeChatBlock[] { + return [{ type: 'tool-call', name: 'AskUserQuestion', input: ASK_INPUT, state }] +} + +describe('NativeChatToolRun awaiting-input row', () => { + it('does not revive stale tool state after a turn stops', () => { + render( + + ) + expect(screen.queryByText('Awaiting user input:')).toBeNull() + expect(screen.getByText('Asked:')).toBeInTheDocument() + }) + + it('keeps a pending question visible alongside another active tool', () => { + render( + + ) + expect(screen.getByText('Awaiting user input:')).toBeInTheDocument() + expect(screen.getByText(/Running Read/)).toBeInTheDocument() + }) + + it('preserves errors from failed question calls', () => { + render( + + ) + expect(screen.queryByText('Awaiting user input:')).toBeNull() + expect(screen.queryByText('Asked:')).toBeNull() + expect(screen.getAllByText('Question rejected').length).toBeGreaterThan(0) + }) + it('replaces a running ask call with the awaiting row', () => { + const { container } = render( + + ) + + expect(screen.getByText('Awaiting user input:')).toHaveClass( + 'animate-pulse', + 'motion-reduce:animate-none' + ) + expect(screen.getByText(QUESTION)).toBeInTheDocument() + expect(container.querySelector('.lucide-message-square-more')).toBeInTheDocument() + // The raw call and its payload are exactly what this row exists to replace. + expect(screen.queryByText(/Running AskUserQuestion/)).toBeNull() + expect(screen.queryByText(/AskUserQuestion/)).toBeNull() + }) + + it('reports a settled ask without the pulse or a tool-count header', () => { + const { container } = render( + + ) + + expect(screen.getByText('Asked:')).not.toHaveClass('animate-pulse') + expect(screen.getByText(QUESTION)).toBeInTheDocument() + // A run that is only the ask has no work left to head, so it draws no `1×`. + expect(container.querySelector('button')).toBeNull() + }) + + it('counts only the work that ran in the header beside the ask', () => { + const blocks: NativeChatBlock[] = [ + { type: 'tool-call', name: 'Read', input: { file_path: 'a.ts' }, state: 'completed' }, + { type: 'tool-call', name: 'AskUserQuestion', input: ASK_INPUT, state: 'running' } + ] + + render() + + expect(screen.getByText('Awaiting user input:')).toBeInTheDocument() + // One call ran; being asked a question is not work to count. + expect(screen.getByText('1×')).toBeInTheDocument() + }) + + it('draws the row from the tool name when the payload names no question', () => { + render( + + ) + + expect(screen.getByText('Awaiting user input:')).toBeInTheDocument() + expect(screen.queryByText(/request_user_input/)).toBeNull() + }) +}) diff --git a/src/renderer/src/components/native-chat/NativeChatToolRun.test.tsx b/src/renderer/src/components/native-chat/NativeChatToolRun.test.tsx index d5cf4ceb1eb..febddb3dbbf 100644 --- a/src/renderer/src/components/native-chat/NativeChatToolRun.test.tsx +++ b/src/renderer/src/components/native-chat/NativeChatToolRun.test.tsx @@ -552,7 +552,7 @@ describe('NativeChatToolRun', () => { const blocks: NativeChatBlock[] = [ { type: 'tool-call', - name: 'AskUserQuestion', + name: 'CreateWidget', input: { prompt: 'which?' }, state: 'completed' } @@ -569,7 +569,7 @@ describe('NativeChatToolRun', () => { const blocks: NativeChatBlock[] = [ { type: 'tool-call', - name: 'AskUserQuestion', + name: 'CreateWidget', input: { prompt: 'which?' }, state: 'completed' } diff --git a/src/renderer/src/components/native-chat/NativeChatToolRun.tsx b/src/renderer/src/components/native-chat/NativeChatToolRun.tsx index a1327e276eb..648161c6d7d 100644 --- a/src/renderer/src/components/native-chat/NativeChatToolRun.tsx +++ b/src/renderer/src/components/native-chat/NativeChatToolRun.tsx @@ -25,6 +25,11 @@ import { selectActiveToolCall } from '../../../../shared/native-chat-tool-activity' import { nativeChatToolRunIconName } from '../../../../shared/native-chat-tool-icon' +import { + nativeChatAskRunBlocks, + nativeChatAskRunSubject +} from '../../../../shared/native-chat-ask-row' +import { NativeChatAwaitingInputRow } from './NativeChatAwaitingInputRow' import { NativeChatTaskList } from './NativeChatTaskList' import { buildNativeChatTaskListRows } from './native-chat-task-list-history' import { NativeChatSubagentRun } from './NativeChatSubagentRun' @@ -88,11 +93,19 @@ export function NativeChatToolRun({ const subagentRows = subagentGroups .filter(isRenderableSubagentGroup) .map((group) => ) - const callCount = countToolCalls(blocks) || blocks.length + const { + asks, + unansweredAsks, + work: headerBlocks + } = useMemo(() => nativeChatAskRunBlocks(blocks), [blocks]) + const hasAskCall = asks.length > 0 + const askSubject = hasAskCall ? nativeChatAskRunSubject(asks) : null + const showsHeader = !hasAskCall || countToolCalls(headerBlocks) > 0 + const callCount = countToolCalls(headerBlocks) || headerBlocks.length // Members stay separate all the way to the markup: joining them into one // string is what made a run read as a single call, because the separator also // occurs inside tool names like `browser.open` and `tools/read`. - const summaryMembers = toolRunSummaryMembers(blocks) + const summaryMembers = toolRunSummaryMembers(headerBlocks) const hiddenCallCount = Math.max(0, callCount - summaryMembers.length) // Same content-signature keying the member rows below use: two identical calls // in one run are distinguished by occurrence, never by list position. @@ -105,11 +118,14 @@ export function NativeChatToolRun({ return { ...member, key: `${signature}:${occurrence}` } }) })() - const latestActiveCall = structuredActivityUi - ? selectActiveToolCall(blocks, { activeTurnIsWorking }) + const headerActiveCall = structuredActivityUi + ? selectActiveToolCall(headerBlocks, { activeTurnIsWorking }) : null - const isSettled = latestActiveCall == null - const hasRunningCall = blocks.some((block) => isToolCallBlock(block) && block.state === 'running') + const isSettled = headerActiveCall == null + const askIsActive = selectActiveToolCall(unansweredAsks, { activeTurnIsWorking }) !== null + const hasRunningCall = headerBlocks.some( + (block) => isToolCallBlock(block) && block.state === 'running' + ) // The turn caret opens the activity group while each child tool stays collapsed. const expandToolLines = expandOverride === undefined ? open : false // Diffing every edit is the run's most expensive work, so a collapsed run — @@ -135,7 +151,7 @@ export function NativeChatToolRun({ // spans categories therefore heads with the generic tool glyph. The glyph is // fixed once settled, so state rides on the trailing mark — a leading glyph // that flipped to a check would read as a change of identity. - const settledHeaderIcon = nativeChatToolRunIconName(blocks.filter(isToolCallBlock)) + const settledHeaderIcon = nativeChatToolRunIconName(headerBlocks.filter(isToolCallBlock)) const fallbackLabel = callCount === 1 ? translate('components.native-chat.tool.countOne', NATIVE_CHAT_TOOL_ACTIVITY_COPY.countOne) @@ -177,7 +193,10 @@ export function NativeChatToolRun({ // so the turn's activity doesn't crowd the message text.

{subagentRows} - {latestActiveCall ? ( + {hasAskCall ? ( + + ) : null} + {!showsHeader ? null : headerActiveCall ? ( @@ -267,14 +286,14 @@ export function NativeChatToolRun({ /> )} - {open ? ( + {open && showsHeader ? ( // Members are indented under the header because nothing else marks the // run's extent — flush rows are indistinguishable from the blocks after // them, so the batch has no visible end.
{(() => { const seen = new Map() - return blocks.map((block, blockIndex) => { + return headerBlocks.map((block, blockIndex) => { const taskList = taskLists?.rows.get(block) if (taskList) { return diff --git a/src/renderer/src/components/native-chat/native-chat-active-rail-item.test.ts b/src/renderer/src/components/native-chat/native-chat-active-rail-item.test.ts new file mode 100644 index 00000000000..42295f85457 --- /dev/null +++ b/src/renderer/src/components/native-chat/native-chat-active-rail-item.test.ts @@ -0,0 +1,158 @@ +import { describe, expect, it } from 'vitest' +import { + findActiveNativeChatRailItem, + type NativeChatRailSlot +} from './native-chat-active-rail-item' + +/** Rows 100px tall, laid end to end, as the virtualizer would report them. */ +function rows(count: number, height = 100) { + return Array.from({ length: count }, (_unused, index) => ({ + index, + start: index * height, + end: index * height + height + })) +} + +/** Turn shape: `u1` opens, three agent rows answer, `u2` opens the next. */ +const TURNS: NativeChatRailSlot[] = [ + { turnKey: 'u1' }, + { turnKey: 'u1' }, + { turnKey: 'u1' }, + { turnKey: 'u1' }, + { turnKey: 'u2' }, + { turnKey: 'u2' }, + { turnKey: 'u2' }, + { turnKey: 'u2' }, + { turnKey: 'u2' }, + { turnKey: 'u2' } +] + +const VIEWPORT = 300 +/** Ten 100px rows against a 300px viewport, scrolled off the bottom. */ +const MID_SCROLL = { clientHeight: VIEWPORT, scrollHeight: 1000, previousActiveId: null } + +describe('active rail item', () => { + // The whole point of resolving through `turnKey`: most of a transcript is reply, + // and a rule that needs a user row on screen goes dark for the length of one. + it('keeps the owning prompt lit while an agent reply fills the viewport', () => { + expect( + findActiveNativeChatRailItem({ + slots: TURNS, + virtualItems: rows(10), + scrollTop: 250, + ...MID_SCROLL + }) + ).toBe('u1') + }) + + it('moves to the next prompt once its turn reaches the fold', () => { + expect( + findActiveNativeChatRailItem({ + slots: TURNS, + virtualItems: rows(10), + scrollTop: 450, + ...MID_SCROLL + }) + ).toBe('u2') + }) + + it('selects the row the fold sits exactly on', () => { + expect( + findActiveNativeChatRailItem({ + slots: TURNS, + virtualItems: rows(10), + scrollTop: 400, + ...MID_SCROLL + }) + ).toBe('u2') + }) + + // A short last turn would otherwise light its predecessor while the reader is + // staring at the newest prompt. + it('lights the newest turn when pinned to the bottom', () => { + expect( + findActiveNativeChatRailItem({ + slots: TURNS, + virtualItems: rows(10), + scrollTop: 700, + clientHeight: VIEWPORT, + scrollHeight: 1000, + previousActiveId: null + }) + ).toBe('u2') + }) + + it('lights nothing above the first prompt', () => { + expect( + findActiveNativeChatRailItem({ + slots: [{ turnKey: undefined }, { turnKey: undefined }, ...TURNS], + virtualItems: rows(12), + scrollTop: 50, + clientHeight: VIEWPORT, + scrollHeight: 1200, + previousActiveId: null + }) + ).toBeNull() + }) + + // The window reflects the last committed render, so it can lag a scroll by a + // commit. Holding the previous tick beats blanking one. + it('holds the previous tick when the window is stale', () => { + expect( + findActiveNativeChatRailItem({ + slots: TURNS, + virtualItems: [{ index: 0, start: 0, end: 100 }], + scrollTop: 600, + clientHeight: VIEWPORT, + scrollHeight: 4000, + previousActiveId: 'u1' + }) + ).toBe('u1') + }) + + it('holds the previous tick when nothing is windowed', () => { + expect( + findActiveNativeChatRailItem({ + slots: TURNS, + virtualItems: [], + scrollTop: 0, + clientHeight: VIEWPORT, + scrollHeight: 1000, + previousActiveId: 'u2' + }) + ).toBe('u2') + }) + + it('keeps a row taller than the viewport active while it spans it', () => { + expect( + findActiveNativeChatRailItem({ + slots: [{ turnKey: 'u1' }], + virtualItems: [{ index: 0, start: 0, end: 2000 }], + scrollTop: 800, + clientHeight: VIEWPORT, + scrollHeight: 4000, + previousActiveId: null + }) + ).toBe('u1') + }) + + // `start` already carries `scrollMargin`, so subtracting it again would shift + // every row and select the wrong turn. + it('reads offsets in container space, margin included', () => { + const margin = 500 + expect( + findActiveNativeChatRailItem({ + slots: TURNS, + virtualItems: rows(10).map((row) => ({ + ...row, + start: row.start + margin, + end: row.end + margin + })), + scrollTop: margin + 450, + clientHeight: VIEWPORT, + scrollHeight: 1500, + previousActiveId: null + }) + ).toBe('u2') + }) +}) diff --git a/src/renderer/src/components/native-chat/native-chat-active-rail-item.ts b/src/renderer/src/components/native-chat/native-chat-active-rail-item.ts new file mode 100644 index 00000000000..f9604978159 --- /dev/null +++ b/src/renderer/src/components/native-chat/native-chat-active-rail-item.ts @@ -0,0 +1,76 @@ +// Which rail tick is lit, decided from virtualizer offsets rather than rendered rows. +// +// A DOM scan is the obvious way to answer "what is on screen", and it is the wrong +// one here: the transcript is windowed, so an off-window row has no element to +// measure. Virtual items carry the same answer without that hole. +// +// The row at the fold is usually the agent's, not the reader's — most of a long +// transcript is reply. Resolving it through `turnKey`, which every row carries and +// which holds the id of the user message that opened its turn, is what keeps the +// reader's own prompt lit while they read the answer to it. Asking instead which +// *user* row is on screen goes dark for the whole length of a long reply. +// +// Every offset below is in the scroll container's own pixels (rows are placed at +// `item.start - scrollMargin` inside a sizer sitting `scrollMargin` down), which is +// the same space as `scrollTop`. That keeps the comparison honest under the +// transcript's `zoom`, where a bounding rect would be off by exactly the zoom factor. + +import { NATIVE_CHAT_BOTTOM_THRESHOLD_PX } from './native-chat-autoscroll' + +/** The virtualizer's item, restated so this module needs nothing from the lib. */ +export type NativeChatRailVirtualItem = { + index: number + start: number + end: number +} + +/** Only the field the rail reads, so a test needs no slot builder. */ +export type NativeChatRailSlot = { + turnKey: string | undefined +} + +export function findActiveNativeChatRailItem({ + slots, + virtualItems, + scrollTop, + clientHeight, + scrollHeight, + previousActiveId +}: { + slots: readonly NativeChatRailSlot[] + virtualItems: readonly NativeChatRailVirtualItem[] + scrollTop: number + clientHeight: number + scrollHeight: number + previousActiveId: string | null +}): string | null { + if (virtualItems.length === 0) { + return previousActiveId + } + + // Pinned to the bottom the newest turn is what is being read, whatever happens + // to sit at the top edge — a short last turn would otherwise light its predecessor. + const atBottom = scrollHeight - clientHeight - scrollTop <= NATIVE_CHAT_BOTTOM_THRESHOLD_PX + if (atBottom) { + const last = virtualItems.at(-1) + return last === undefined ? previousActiveId : (slots[last.index]?.turnKey ?? null) + } + + let fold: NativeChatRailVirtualItem | undefined + for (const item of virtualItems) { + if (item.start <= scrollTop && (fold === undefined || item.start > fold.start)) { + fold = item + } + } + // Scrolled above everything the window holds: the first windowed row is the + // nearest thing to the fold. + if (fold === undefined) { + return slots[virtualItems[0]?.index ?? -1]?.turnKey ?? null + } + // The window lags the scroll by a commit, so a fold past every row it holds is + // a stale read, not an answer. Holding the previous tick beats blanking one. + if (fold.end <= scrollTop) { + return previousActiveId + } + return slots[fold.index]?.turnKey ?? null +} diff --git a/src/renderer/src/components/native-chat/native-chat-autoscroll.test.ts b/src/renderer/src/components/native-chat/native-chat-autoscroll.test.ts index fa23669e931..0dc34b7eb30 100644 --- a/src/renderer/src/components/native-chat/native-chat-autoscroll.test.ts +++ b/src/renderer/src/components/native-chat/native-chat-autoscroll.test.ts @@ -5,13 +5,23 @@ import { nextFollowingEnd, shouldLoadEarlier, shouldShowJumpToLatest, - NATIVE_CHAT_BOTTOM_THRESHOLD_PX + NATIVE_CHAT_BOTTOM_THRESHOLD_PX, + NATIVE_CHAT_FOLLOW_REARM_PX } from './native-chat-autoscroll' const atBottom = { scrollTop: 952, scrollHeight: 1000, clientHeight: 48 } const scrolledUp = { scrollTop: 0, scrollHeight: 1000, clientHeight: 48 } const noOverflow = { scrollTop: 0, scrollHeight: 48, clientHeight: 48 } +/** A view parked exactly `distance` px above the end of the same document. */ +function parkedAbove(distance: number): { + scrollTop: number + scrollHeight: number + clientHeight: number +} { + return { scrollTop: 952 - distance, scrollHeight: 1000, clientHeight: 48 } +} + describe('distanceFromBottom', () => { it('is zero at the exact bottom and never negative', () => { expect(distanceFromBottom(atBottom)).toBe(0) @@ -48,7 +58,8 @@ describe('shouldShowJumpToLatest', () => { // The browser reports application writes as ordinary scroll events. Explicit // marks distinguish their delayed echoes from reader movement after growth. describe('nextFollowingEnd', () => { - const following = { following: true, programmatic: false, atEnd: true } + const following = { following: true, programmatic: false, geometry: parkedAbove(0) } + const wellAway = parkedAbove(400) it('follows when the reader reaches the end', () => { expect(nextFollowingEnd(following)).toBe(true) @@ -58,15 +69,44 @@ describe('nextFollowingEnd', () => { // the end runs away from an offset the transcript itself pinned. That is not a // reader leaving, and treating it as one strands them mid-transcript. it('keeps following when a delayed application scroll arrives after growth', () => { - expect(nextFollowingEnd({ ...following, programmatic: true, atEnd: false })).toBe(true) + expect(nextFollowingEnd({ ...following, programmatic: true, geometry: wellAway })).toBe(true) }) it('treats an unmarked offset away from the end as the reader leaving', () => { - expect(nextFollowingEnd({ ...following, atEnd: false })).toBe(false) + expect(nextFollowingEnd({ ...following, geometry: wellAway })).toBe(false) }) - it('does not re-attach a detached reader from an application write', () => { - expect(nextFollowingEnd({ following: false, programmatic: true, atEnd: false })).toBe(false) + it.each([0, NATIVE_CHAT_FOLLOW_REARM_PX, 400])( + 'does not reattach a detached reader from an application write %i px from the end', + (distance) => { + expect( + nextFollowingEnd({ following: false, programmatic: true, geometry: parkedAbove(distance) }) + ).toBe(false) + } + ) + + // The jump affordance's wider band must not decide whether a reader follows. + it('lets the reader park just inside the near-bottom band', () => { + expect(NATIVE_CHAT_FOLLOW_REARM_PX).toBeLessThan(NATIVE_CHAT_BOTTOM_THRESHOLD_PX) + const parked = parkedAbove(NATIVE_CHAT_BOTTOM_THRESHOLD_PX - 1) + expect(nextFollowingEnd({ ...following, geometry: parked })).toBe(false) + expect(isNearBottom(parked)).toBe(true) + expect(shouldShowJumpToLatest(false, parked)).toBe(false) + }) + + it('re-arms at the band and not one pixel past it', () => { + const detached = { following: false, programmatic: false } + expect( + nextFollowingEnd({ ...detached, geometry: parkedAbove(NATIVE_CHAT_FOLLOW_REARM_PX) }) + ).toBe(true) + expect( + nextFollowingEnd({ ...detached, geometry: parkedAbove(NATIVE_CHAT_FOLLOW_REARM_PX + 1) }) + ).toBe(false) + }) + + // Sub-pixel and zoom rounding put the true end a fraction short of exact. + it('holds follow through rounding noise at the end', () => { + expect(nextFollowingEnd({ ...following, geometry: parkedAbove(1.5) })).toBe(true) }) }) diff --git a/src/renderer/src/components/native-chat/native-chat-autoscroll.ts b/src/renderer/src/components/native-chat/native-chat-autoscroll.ts index f07aeeb6671..a8f2e54b22f 100644 --- a/src/renderer/src/components/native-chat/native-chat-autoscroll.ts +++ b/src/renderer/src/components/native-chat/native-chat-autoscroll.ts @@ -11,9 +11,7 @@ export type ScrollGeometry = { clientHeight: number } -/** Pixels from the bottom within which we treat the view as "at the bottom" and - * keep it pinned as content arrives. A small slack absorbs sub-pixel rounding - * and the height jitter of a streaming last message. */ +/** Hide the jump affordance while the latest output is still nearby. */ export const NATIVE_CHAT_BOTTOM_THRESHOLD_PX = 48 /** Distance in px from the bottom edge of the scroll range. */ @@ -21,8 +19,7 @@ export function distanceFromBottom(geometry: ScrollGeometry): number { return Math.max(0, geometry.scrollHeight - geometry.clientHeight - geometry.scrollTop) } -/** True when the viewport is close enough to the bottom that new content should - * keep it pinned (auto-scroll "attached"). */ +/** Whether the viewport is inside the requested distance from the bottom. */ export function isNearBottom( geometry: ScrollGeometry, threshold: number = NATIVE_CHAT_BOTTOM_THRESHOLD_PX @@ -43,22 +40,26 @@ export function shouldShowJumpToLatest( return distanceFromBottom(geometry) > threshold } +/** Allow bottom rounding noise without following a reader who moved up a line. */ +export const NATIVE_CHAT_FOLLOW_REARM_PX = 4 + export type FollowIntent = { following: boolean /** Whether the scroll event matches an offset the application registered. */ programmatic: boolean - atEnd: boolean + geometry: ScrollGeometry } /** Whether the transcript should still follow the end after this offset. * * Application writes preserve intent even when their delayed events arrive - * after the end moved. Reader events detach away from the end and reattach at it. */ + * after the end moved. Reader events detach away from the end and reattach at + * it — against the re-arm band, never the wider near-bottom one. */ export function nextFollowingEnd(intent: FollowIntent): boolean { if (intent.programmatic) { return intent.following } - return intent.atEnd + return isNearBottom(intent.geometry, NATIVE_CHAT_FOLLOW_REARM_PX) } /** Distance from the top within which the transcript pages in older history. */ diff --git a/src/renderer/src/components/native-chat/native-chat-message-rail-items.test.ts b/src/renderer/src/components/native-chat/native-chat-message-rail-items.test.ts new file mode 100644 index 00000000000..dc6ab6d3714 --- /dev/null +++ b/src/renderer/src/components/native-chat/native-chat-message-rail-items.test.ts @@ -0,0 +1,150 @@ +import { describe, expect, it } from 'vitest' +import type { NativeChatMessage } from '../../../../shared/native-chat-types' +import type { NativeChatResolvedPrompt } from './native-chat-resolution-receipt' +import type { NativeChatTurnDiff } from './native-chat-turn-diffs' +import { buildNativeChatTranscriptSlots } from './native-chat-transcript-slots' +import { + buildNativeChatRailItems, + selectNativeChatRailTicks, + NATIVE_CHAT_RAIL_MAX_TICKS, + type NativeChatRailItem +} from './native-chat-message-rail-items' + +function text(id: string, body: string, role: NativeChatMessage['role'] = 'assistant') { + return { + id, + role, + blocks: [{ type: 'text' as const, text: body }], + timestamp: 1, + source: 'transcript' as const + } +} + +function image(id: string): NativeChatMessage { + return { + id, + role: 'user', + blocks: [{ type: 'image-ref' as const, path: '/tmp/shot.png' }], + timestamp: 1, + source: 'transcript' as const + } +} + +function slotsOf(messages: NativeChatMessage[]) { + let turn: string | undefined + const turnKeys = messages.map((message) => { + if (message.role === 'user') { + turn = message.id + } + return turn + }) + return buildNativeChatTranscriptSlots({ + messages, + turnKeys, + latestUserIndex: messages.findLastIndex((message) => message.role === 'user'), + currentTurnKey: undefined, + receipts: new Map(), + turnStatuses: { active: null, completedByTurn: {} }, + turnDiffs: new Map(), + showTurnStatus: false, + isWorking: false, + lifecycleWorking: false + }) +} + +function railItems(count: number): NativeChatRailItem[] { + return Array.from({ length: count }, (_unused, index) => ({ + id: `m${index}`, + slotIndex: index, + text: `m${index}`, + hasImages: false + })) +} + +describe('rail items', () => { + it('invalidates cached previews and positions after edits, prepends and removals', () => { + const prompt = text('u1', 'original prompt', 'user') + const first = buildNativeChatRailItems(slotsOf([prompt])) + const prepended = buildNativeChatRailItems( + slotsOf([text('a0', 'earlier reply'), prompt]), + first + ) + expect(prepended[0]).toEqual({ ...first[0], slotIndex: 1 }) + const edited = buildNativeChatRailItems( + slotsOf([text('u1', 'edited prompt', 'user')]), + prepended + ) + expect(edited[0]).toEqual({ ...first[0], text: 'edited prompt' }) + expect(buildNativeChatRailItems([], edited)).toEqual([]) + }) + + it('ticks only the user messages', () => { + const items = buildNativeChatRailItems( + slotsOf([ + text('u1', 'first ask', 'user'), + text('a1', 'agent reply'), + text('u2', 'second ask', 'user') + ]) + ) + expect(items.map((item) => item.id)).toEqual(['u1', 'u2']) + }) + + // The rail points at a row, and the virtualizer counts slots — so an entry has + // to carry the slot index. A message that draws nothing takes no slot, which + // is exactly where a message index would start lying. + it('indexes by slot, not by message position', () => { + const items = buildNativeChatRailItems(slotsOf([text('blank', ''), text('u1', 'ask', 'user')])) + expect(items).toHaveLength(1) + expect(items[0]?.slotIndex).toBe(0) + }) + + it('collapses whitespace in the preview', () => { + const items = buildNativeChatRailItems(slotsOf([text('u1', ' a\n\n b ', 'user')])) + expect(items[0]?.text).toBe('a b') + }) + + it('reports an image-only message as having no prose', () => { + const items = buildNativeChatRailItems(slotsOf([image('u1')])) + expect(items[0]?.text).toBe('') + expect(items[0]?.hasImages).toBe(true) + }) +}) + +describe('rail tick sampling', () => { + it('keeps every tick while the thread fits', () => { + const items = railItems(NATIVE_CHAT_RAIL_MAX_TICKS) + expect(selectNativeChatRailTicks({ items, activeId: null })).toBe(items) + }) + + it('caps a long thread and keeps both ends', () => { + const items = railItems(120) + const ticks = selectNativeChatRailTicks({ items, activeId: null }) + expect(ticks).toHaveLength(NATIVE_CHAT_RAIL_MAX_TICKS) + expect(ticks[0]?.id).toBe('m0') + expect(ticks.at(-1)?.id).toBe('m119') + }) + + it('always includes the active tick', () => { + const items = railItems(120) + const ticks = selectNativeChatRailTicks({ items, activeId: 'm7' }) + expect(ticks.map((tick) => tick.id)).toContain('m7') + expect(ticks).toHaveLength(NATIVE_CHAT_RAIL_MAX_TICKS) + }) + + // Losing an end would make the rail claim the conversation starts or stops + // somewhere it doesn't, so the eviction has to fall on a neighbour instead. + it('evicts a neighbour rather than an end when the active tick is near one', () => { + const items = railItems(120) + const ticks = selectNativeChatRailTicks({ items, activeId: 'm1' }) + const ids = ticks.map((tick) => tick.id) + expect(ids).toContain('m0') + expect(ids).toContain('m1') + expect(ids).toContain('m119') + }) + + it('returns ticks in thread order', () => { + const ticks = selectNativeChatRailTicks({ items: railItems(120), activeId: 'm63' }) + const indexes = ticks.map((tick) => tick.slotIndex) + expect(indexes).toEqual([...indexes].sort((left, right) => left - right)) + }) +}) diff --git a/src/renderer/src/components/native-chat/native-chat-message-rail-items.ts b/src/renderer/src/components/native-chat/native-chat-message-rail-items.ts new file mode 100644 index 00000000000..0f6faf95899 --- /dev/null +++ b/src/renderer/src/components/native-chat/native-chat-message-rail-items.ts @@ -0,0 +1,114 @@ +// The rail's tick set: one entry per user message the transcript actually draws. +// +// Built from slots rather than messages because the rail's whole job is to point +// at a row, and a message that takes no slot has no row to point at. Slot indexes +// are also what the virtualizer counts, so an entry can be compared against a +// virtual item without a second lookup table. + +import { deriveNativeChatRowContent } from './native-chat-row-content' +import type { NativeChatBlock } from '../../../../shared/native-chat-types' +import type { NativeChatTranscriptSlot } from './native-chat-transcript-slots' + +/** Ticks past this are sampled away: a taller rail than the viewport cannot be + * read at a glance, which is the only thing the rail is for. */ +export const NATIVE_CHAT_RAIL_MAX_TICKS = 20 + +/** Below this a rail is noise — two ticks say nothing a scrollbar doesn't. */ +export const NATIVE_CHAT_RAIL_MIN_ITEMS = 3 + +export type NativeChatRailItem = { + id: string + /** Index into the slot list, i.e. the virtualizer's own index. */ + slotIndex: number + /** Preview prose, whitespace collapsed. Empty when the message is images only. */ + text: string + hasImages: boolean +} + +const previews = new WeakMap() + +export function buildNativeChatRailItems( + slots: readonly NativeChatTranscriptSlot[], + previous: readonly NativeChatRailItem[] = [] +): readonly NativeChatRailItem[] { + const items: NativeChatRailItem[] = [] + for (const [slotIndex, slot] of slots.entries()) { + if (slot.message.role !== 'user') { + continue + } + let preview = previews.get(slot.message.blocks) + if (!preview) { + const content = deriveNativeChatRowContent(slot.message.blocks) + preview = { text: content.markdown.replace(/\s+/g, ' ').trim(), hasImages: content.hasImages } + previews.set(slot.message.blocks, preview) + } + const prior = previous[items.length] + items.push( + prior?.id === slot.message.id && + prior.slotIndex === slotIndex && + prior.text === preview.text && + prior.hasImages === preview.hasImages + ? prior + : { + id: slot.message.id, + slotIndex, + ...preview + } + ) + } + return items.length === previous.length && items.every((item, index) => item === previous[index]) + ? previous + : items +} + +/** Evenly spaced ticks across the whole thread, always including both ends and + * the active one. Keeping the ends fixed is what makes the rail read as a map + * of the conversation rather than a window onto part of it. */ +export function selectNativeChatRailTicks({ + items, + activeId +}: { + items: readonly NativeChatRailItem[] + activeId: string | null +}): readonly NativeChatRailItem[] { + if (items.length <= NATIVE_CHAT_RAIL_MAX_TICKS) { + return items + } + + const maxIndex = items.length - 1 + const sampled = new Set() + for (let slot = 0; slot < NATIVE_CHAT_RAIL_MAX_TICKS; slot += 1) { + sampled.add(Math.round((slot * maxIndex) / (NATIVE_CHAT_RAIL_MAX_TICKS - 1))) + } + + const activeIndex = activeId === null ? -1 : items.findIndex((item) => item.id === activeId) + if (activeIndex >= 0 && !sampled.has(activeIndex)) { + sampled.add(activeIndex) + // Drop the neighbour nearest the active tick, never an end: losing an end + // would make the rail claim the thread starts or stops somewhere it doesn't. + let evict: number | null = null + let evictDistance = Number.POSITIVE_INFINITY + for (const index of sampled) { + if (index === activeIndex || index === 0 || index === maxIndex) { + continue + } + const distance = Math.abs(index - activeIndex) + if (distance < evictDistance) { + evict = index + evictDistance = distance + } + } + if (evict !== null) { + sampled.delete(evict) + } + } + + const ordered: NativeChatRailItem[] = [] + for (const index of Array.from(sampled).sort((left, right) => left - right)) { + const item = items[index] + if (item) { + ordered.push(item) + } + } + return ordered +} diff --git a/src/renderer/src/components/native-chat/native-chat-transcript-slots.ts b/src/renderer/src/components/native-chat/native-chat-transcript-slots.ts index 63250a8c13c..2feebf569a7 100644 --- a/src/renderer/src/components/native-chat/native-chat-transcript-slots.ts +++ b/src/renderer/src/components/native-chat/native-chat-transcript-slots.ts @@ -84,7 +84,6 @@ export function buildNativeChatTranscriptSlots( message, turnKey, activeTurnIsWorking: - showTurnStatus && (currentTurnKey ? turnKey === currentTurnKey : turnKey === undefined) && (isWorking || lifecycleWorking), receipt, diff --git a/src/renderer/src/components/native-chat/native-chat-windowing-test-harness.tsx b/src/renderer/src/components/native-chat/native-chat-windowing-test-harness.tsx new file mode 100644 index 00000000000..9f204078dcb --- /dev/null +++ b/src/renderer/src/components/native-chat/native-chat-windowing-test-harness.tsx @@ -0,0 +1,289 @@ +// Shared layout/observer stubs for the NativeChatMessageList windowing suites. +// happy-dom has no layout and never fires ResizeObserver, so windowing only +// engages against the stubs below. +import { fireEvent } from '@testing-library/react' +import { vi } from 'vitest' +import type { NativeChatMessage } from '../../../../shared/native-chat-types' +import type { NativeChatLiveSession } from './use-native-chat-live-session' +import { NativeChatMessageList } from './NativeChatMessageList' +import { + estimateNativeChatRowHeight, + NATIVE_CHAT_ROW_GAP_PX, + nativeChatRowContentMetrics +} from './native-chat-row-height-estimate' + +export const VIEWPORT_PX = 600 +export const TRANSCRIPT_LENGTH = 200 + +/** Everything the document holds below the last row: the transcript column's + * trailing chrome and the scroll root's bottom padding. Non-zero on purpose — + * the document's bottom sits past the window's last row, which is exactly where + * a pin computed from the virtualizer's totals and one computed from the + * document disagree. */ +export const BELOW_TRANSCRIPT_PX = 24 + +/** Everything the document holds above the spacer: the scroll root's top gutter, + * and the "load earlier" block whenever there is older history to page in. This + * is the virtualizer's `scrollMargin`, and it is the larger half of the gap + * between the document's end and the end the virtualizer computes. */ + +/** Heights the stubbed layout reports per row index, when a case wants a row to + * measure as something other than its estimate. Empty means "every row at its + * estimate", which is what every non-growth case wants. */ + +/** Layout knobs the stubs read and a case writes. One shared cell so the test + * module and the stubs below see the same values. */ +export const layout: { + belowTranscriptPx: number + aboveTranscriptPx: number + measuredRowHeights: readonly number[] +} = { belowTranscriptPx: BELOW_TRANSCRIPT_PX, aboveTranscriptPx: 0, measuredRowHeights: [] } + +export function marker(index: number): NativeChatMessage { + return { + id: `message-${index}`, + role: 'assistant', + blocks: [{ type: 'text', text: `marker-${index}` }], + timestamp: index + 1, + source: 'transcript' + } +} + +export const ROW_PX = estimateNativeChatRowHeight(nativeChatRowContentMetrics(marker(0)), { + hasReceipt: false, + hasStatus: false, + hasTurnDiff: false +}) +export const ROW_PITCH_PX = ROW_PX + NATIVE_CHAT_ROW_GAP_PX + +/** Replace a layout property on every element, and hand back the undo. */ +export function overrideLayoutProperty(name: string, descriptor: PropertyDescriptor): () => void { + const original = Object.getOwnPropertyDescriptor(HTMLElement.prototype, name) + Object.defineProperty(HTMLElement.prototype, name, { configurable: true, ...descriptor }) + return () => { + if (original) { + Object.defineProperty(HTMLElement.prototype, name, original) + } else { + Reflect.deleteProperty(HTMLElement.prototype, name) + } + } +} + +/** The spacer's reserved height, which is the transcript's whole rendered height: + * windowed rows are absolutely positioned inside it, so a row growing in place + * reaches the document only through the height the window reserves for it. */ +export function reservedTranscriptHeight(root: ParentNode): number { + const spacer = root.querySelector('[data-native-chat-window]') + return spacer ? Number.parseFloat(spacer.style.height) || 0 : 0 +} + +// The virtualizer measures with `offsetHeight` — not `clientHeight`, not a +// bounding rect — so that is the one thing a DOM without layout has to answer +// for windowing to engage at all. Rows report the height their own estimate +// predicted, which keeps the totals exact and independent of which rows happen +// to have been mounted long enough to be measured; `layout.measuredRowHeights` is how a +// case says a row measures as something else. +// +// `scrollGeometry` additionally gives the scroll root a document to scroll: a +// height, a viewport, and a `scrollTop` that clamps the way a real one does. +// Off by default, because a transcript with a real document opens pinned to its +// bottom and the cases above are about where the window sits, not where it lands. +export function stubLayout({ + scrollGeometry = false, + offsetChain = false, + viewportHeight = () => VIEWPORT_PX +}: { + scrollGeometry?: boolean + /** Give the spacer an `offsetTop` and a chain to walk up to the scroll root, + * so `scrollMargin` can be something other than zero. */ + offsetChain?: boolean + viewportHeight?: () => number +} = {}): () => void { + const scrollTops = new WeakMap() + const restores = [ + overrideLayoutProperty('offsetHeight', { + get(this: HTMLElement): number { + if (this.hasAttribute('data-native-chat-scroll')) { + return viewportHeight() + } + if (this.hasAttribute('data-native-chat-window')) { + return reservedTranscriptHeight(this.parentElement ?? this) + } + const index = this.dataset.index + if (index !== undefined) { + return layout.measuredRowHeights[Number(index)] ?? ROW_PX + } + // The transcript column: as tall as the window it wraps, plus what sits + // under it. This is the element the list observes for streamed growth. + return this.classList.contains('max-w-4xl') + ? reservedTranscriptHeight(this) + layout.belowTranscriptPx + : 0 + } + }) + ] + if (scrollGeometry) { + restores.push( + overrideLayoutProperty('clientHeight', { + get(this: HTMLElement): number { + return this.hasAttribute('data-native-chat-scroll') ? viewportHeight() : 0 + } + }), + overrideLayoutProperty('scrollHeight', { + get(this: HTMLElement): number { + return this.hasAttribute('data-native-chat-scroll') + ? layout.aboveTranscriptPx + reservedTranscriptHeight(this) + layout.belowTranscriptPx + : 0 + } + }), + overrideLayoutProperty('scrollTop', { + get(this: HTMLElement): number { + return scrollTops.get(this) ?? 0 + }, + set(this: HTMLElement, value: number): void { + // A browser clamps; without this `scrollTop = scrollHeight` would park + // the view past the end and every distance-from-bottom would read 0. + const max = Math.max(0, this.scrollHeight - this.clientHeight) + scrollTops.set(this, Math.min(Math.max(0, value), max)) + } + }) + ) + } + if (offsetChain) { + restores.push( + overrideLayoutProperty('offsetTop', { + get(this: HTMLElement): number { + return this.hasAttribute('data-native-chat-window') ? layout.aboveTranscriptPx : 0 + } + }), + // happy-dom has no `offsetParent` at all, so production's walk to the + // scroll root ends before it starts and every margin reads zero. + overrideLayoutProperty('offsetParent', { + get(this: HTMLElement): HTMLElement | null { + return this.parentElement?.closest('[data-native-chat-scroll]') ?? null + } + }) + ) + } + return () => { + for (const restore of restores.toReversed()) { + restore() + } + } +} + +type FakeResizeObservation = { + callback: ResizeObserverCallback + /** Target -> height last delivered. -1 means "never", so the first flush + * delivers, the way a real observer's initial callback does. */ + observed: Map +} + +const resizeObservations = new Set() + +/** happy-dom's ResizeObserver never fires, so nothing that re-measures ever runs. + * This one records what production observes and delivers only when a target's + * height actually changed — the browser's own rule — and only when a test says + * a frame was painted. Entries carry no `borderBoxSize`, so the virtualizer + * falls back to `offsetHeight`, which is the path being modelled. */ +export function stubResizeObserver(): () => void { + const original = window.ResizeObserver + class TestResizeObserver { + private readonly observation: FakeResizeObservation + constructor(callback: ResizeObserverCallback) { + this.observation = { callback, observed: new Map() } + resizeObservations.add(this.observation) + } + observe(target: Element): void { + this.observation.observed.set(target, -1) + } + unobserve(target: Element): void { + this.observation.observed.delete(target) + } + disconnect(): void { + this.observation.observed.clear() + resizeObservations.delete(this.observation) + } + } + window.ResizeObserver = TestResizeObserver as unknown as typeof ResizeObserver + return () => { + resizeObservations.clear() + window.ResizeObserver = original + } +} + +/** Deliver one round of resize callbacks; true when anything was delivered. */ +export function deliverResizes(): boolean { + let delivered = false + // A copy: a callback may disconnect its own observer mid-delivery. + for (const observation of Array.from(resizeObservations)) { + const entries: ResizeObserverEntry[] = [] + for (const [target, lastHeight] of observation.observed) { + const height = (target as HTMLElement).offsetHeight + if (height !== lastHeight) { + observation.observed.set(target, height) + entries.push({ target } as unknown as ResizeObserverEntry) + } + } + if (entries.length > 0) { + delivered = true + observation.callback(entries, undefined as unknown as ResizeObserver) + } + } + return delivered +} + +export function session(messages: NativeChatMessage[]): NativeChatLiveSession { + return { + messages, + status: 'ready', + sessionId: 'session-1', + agent: 'codex', + hasMore: false, + loadingEarlier: false, + loadEarlier: vi.fn(), + readPhase: 'ready' + } +} + +export function list(messages: NativeChatMessage[]): React.JSX.Element { + return ( + + ) +} + +/** Reads the window, and refuses to pass if there is no window to read. + * + * Without this a change to the usability gate would quietly send every case + * below down the whole-transcript path, where "fewer rows than messages" is + * false but every other assertion still holds. */ +export function windowState(container: HTMLElement): { totalSize: number; indexes: number[] } { + const spacer = container.querySelector('[data-native-chat-window]') + if (!spacer) { + throw new Error('transcript is not windowed: no spacer, every row is mounted') + } + const totalSize = Number.parseFloat(spacer.style.height) + if (!(totalSize > 0)) { + throw new Error(`transcript reserved no height (${spacer.style.height})`) + } + return { + totalSize, + indexes: Array.from(container.querySelectorAll('[data-index]')) + .map((row) => Number(row.dataset.index)) + .sort((left, right) => left - right) + } +} + +/** happy-dom fires no scroll event for an assignment to `scrollTop`. */ +export function scrollTranscript(container: HTMLElement, top: number): void { + const scroller = container.querySelector('[data-native-chat-scroll]') + if (!scroller) { + throw new Error('no transcript scroll root') + } + scroller.scrollTop = top + fireEvent.scroll(scroller) +} diff --git a/src/renderer/src/components/native-chat/structured-agent-question-projection.test.ts b/src/renderer/src/components/native-chat/structured-agent-question-projection.test.ts new file mode 100644 index 00000000000..ab74c2efef2 --- /dev/null +++ b/src/renderer/src/components/native-chat/structured-agent-question-projection.test.ts @@ -0,0 +1,217 @@ +import { describe, expect, it } from 'vitest' +import type { AgentJournalRenderItem } from '../../../../shared/agent-session-journal-types' +import { projectStructuredItemToNativeChat } from '../../../../shared/structured-agent-session-projection' +import { + projectStructuredQuestionMessages, + structuredQuestionTranscript +} from './structured-agent-question-projection' + +function projectQuestion(item: AgentJournalRenderItem) { + return projectStructuredQuestionMessages([item])[0] +} + +const PENDING = { + state: 'pending', + selectedOptionId: null, + resolvedBy: null, + resolvedAt: null +} as const + +function item(itemId: string, body: AgentJournalRenderItem['body']): AgentJournalRenderItem { + return { itemId, sequence: 1, revision: 1, observedAt: 1, body } +} + +describe('structured agent session ask-row projection', () => { + it('gives a pending question a row instead of dropping it from the transcript', () => { + // Codex only ever journals the question, so without this the reader sees + // nothing in the log while the agent is blocked on them. + const projected = projectQuestion( + item('q', { + kind: 'question', + question: 'Which branch?', + options: [{ id: 'q1:main', label: 'main' }], + resolution: { ...PENDING } + }) + ) + + expect(projected?.role).toBe('system') + expect(projected?.blocks).toEqual([{ type: 'text', text: 'Which branch?' }]) + }) + + it('prefers a grouped prompt own questions over the label naming their count', () => { + const grouped = item('grouped', { + kind: 'question', + question: '2 grouped questions from Claude', + options: [], + questions: [ + { id: 'q1', question: 'Which targets?', multiSelect: true, options: [] }, + { id: 'q2', question: 'Proceed?', multiSelect: false, options: [] } + ], + resolution: { ...PENDING } + }) + expect(structuredQuestionTranscript([grouped]).receipts.get('grouped')).toBe(grouped.body) + }) + + it('suppresses only a matching question tool and preserves failed or unmatched calls', () => { + const call = item('ask', { + kind: 'tool-call', + name: 'AskUserQuestion', + input: { questions: [{ question: 'Which branch?' }] }, + state: 'running' + }) + const question = item('q', { + kind: 'question', + question: 'Which branch?', + options: [], + resolution: { ...PENDING } + }) + const turn = item('turn', { kind: 'turn', turnId: 'turn', state: 'running' }) + expect(projectStructuredQuestionMessages([call])).toHaveLength(1) + expect(projectStructuredQuestionMessages([turn, call, question]).map((row) => row.id)).toEqual([ + 'q' + ]) + expect(projectStructuredQuestionMessages([call, question])).toHaveLength(2) + const failed = item('failed', { + kind: 'tool-call', + name: 'AskUserQuestion', + input: call.body.kind === 'tool-call' ? call.body.input : null, + state: 'failed', + output: { head: 'Denied', byteLength: 6, truncated: false, digest: 'a' } + }) + expect( + projectStructuredQuestionMessages([turn, failed, question]).map((row) => row.id) + ).toEqual(['failed', 'q']) + const user = item('user', { + kind: 'message', + role: 'user', + blocks: [{ type: 'text', text: 'Next turn' }] + }) + expect(projectStructuredQuestionMessages([call, user, question])).toHaveLength(3) + const nextTurn = item('next-turn', { kind: 'turn', turnId: 'next-turn', state: 'running' }) + expect(projectStructuredQuestionMessages([turn, call, nextTurn, question])).toHaveLength(2) + }) + + it('suppresses only as many duplicate calls as question items', () => { + const turn = item('turn', { kind: 'turn', turnId: 'turn', state: 'running' }) + const firstCall = item('ask-1', { + kind: 'tool-call', + name: 'AskUserQuestion', + input: { questions: [{ question: 'Which branch?' }] }, + state: 'running' + }) + const secondCall = item('ask-2', { + kind: 'tool-call', + name: 'AskUserQuestion', + input: { questions: [{ question: 'Which branch?' }] }, + state: 'running' + }) + const question = item('q', { + kind: 'question', + question: 'Which branch?', + options: [], + resolution: { ...PENDING } + }) + + expect(projectStructuredQuestionMessages([turn, firstCall, secondCall, question])).toEqual([ + expect.objectContaining({ id: 'ask-2' }), + expect.objectContaining({ id: 'q' }) + ]) + }) + + it('folds a settled matching tool call into its resolved question receipt', () => { + const turn = item('turn', { kind: 'turn', turnId: 'turn', state: 'completed' }) + const firstCall = item('ask-1', { + kind: 'tool-call', + name: 'AskUserQuestion', + input: { questions: [{ question: 'Which branch?' }] }, + state: 'completed', + output: { head: 'main', byteLength: 4, truncated: false, digest: 'a' } + }) + const secondCall = item('ask-2', { + kind: 'tool-call', + name: 'AskUserQuestion', + input: { questions: [{ question: 'Which branch?' }] }, + state: 'completed', + output: { head: 'main', byteLength: 4, truncated: false, digest: 'b' } + }) + const question = item('q', { + kind: 'question', + question: 'Which branch?', + options: [{ id: 'main', label: 'main' }], + resolution: { ...PENDING, state: 'resolved', selectedOptionId: 'main' } + }) + + expect( + projectStructuredQuestionMessages([turn, firstCall, secondCall, question]).map( + (row) => row.id + ) + ).toEqual(['ask-2', 'q']) + }) + + it('counts adjacent pending questions and preserves each independently settled answer', () => { + const first = item('q1', { + kind: 'question', + question: 'Branch?', + options: [], + resolution: { ...PENDING } + }) + const second = item('q2', { + kind: 'question', + question: 'Proceed?', + options: [], + resolution: { ...PENDING } + }) + const pending = structuredQuestionTranscript([first, second]) + const unrelated = item('status', { kind: 'status', text: 'Background work' }) + const refreshed = structuredQuestionTranscript([first, second, unrelated]) + expect(refreshed.messages[0]).toBe(pending.messages[0]) + expect(refreshed.receipts.get('q1')).toBe(pending.receipts.get('q1')) + expect(pending.messages.map((row) => row.id)).toEqual(['q1']) + expect(pending.receipts.get('q1')).toMatchObject({ + questions: [{ question: 'Branch?' }, { question: 'Proceed?' }] + }) + const resolved = item('q1', { + kind: 'question', + question: 'Branch?', + options: [{ id: 'main', label: 'main' }], + resolution: { ...PENDING, state: 'resolved', selectedOptionId: 'main' } + }) + const partial = structuredQuestionTranscript([resolved, second]) + expect(partial.messages.map((row) => row.id)).toEqual(['q1', 'q2']) + expect(partial.receipts.get('q1')).toBe(resolved.body) + expect(partial.receipts.get('q2')).toBe(second.body) + }) + + it('keeps host projection unchanged and question revisions authoritative', () => { + const pending = item('q', { + kind: 'question', + question: 'Proceed?', + options: [], + resolution: { ...PENDING } + }) + expect(projectStructuredItemToNativeChat(pending)).toBeNull() + const initial = projectStructuredQuestionMessages([pending])[0] + expect(projectStructuredQuestionMessages([pending])[0]).toBe(initial) + const resolved = item('q', { + kind: 'question', + question: 'Proceed?', + options: [], + resolution: { ...PENDING, state: 'resolved' } + }) + expect(projectStructuredQuestionMessages([resolved])[0]).toMatchObject({ role: 'system' }) + expect(projectStructuredQuestionMessages([resolved])[0]).not.toBe(initial) + }) + + it('keeps an ordinary tool call', () => { + expect( + projectStructuredItemToNativeChat( + item('read', { + kind: 'tool-call', + name: 'Read', + input: { file_path: 'a.ts' }, + state: 'running' + }) + )?.blocks + ).toHaveLength(1) + }) +}) diff --git a/src/renderer/src/components/native-chat/structured-agent-question-projection.ts b/src/renderer/src/components/native-chat/structured-agent-question-projection.ts new file mode 100644 index 00000000000..b56fa1c7ab0 --- /dev/null +++ b/src/renderer/src/components/native-chat/structured-agent-question-projection.ts @@ -0,0 +1,187 @@ +import type { + AgentJournalRenderItem, + AgentJournalQuestionItem +} from '../../../../shared/agent-session-journal-types' +import { isAskUserQuestionTool } from '../../../../shared/agent-question-answered-intent' +import { parseAskFromToolInput } from '../../../../shared/native-chat-ask' +import type { NativeChatMessage } from '../../../../shared/native-chat-types' +import { projectStructuredItemToNativeChat } from '../../../../shared/structured-agent-session-projection' +import { readAgentJournalTurn } from '../../../../shared/agent-session-turn-record' +import type { NativeChatResolvedPrompt } from './native-chat-resolution-receipt' + +type Projection = { message: NativeChatMessage | null; questionKey: string | null } +const projections = new WeakMap() +const pendingGroups = new WeakMap< + AgentJournalQuestionItem, + { + bodies: readonly AgentJournalQuestionItem[] + body: AgentJournalQuestionItem + } +>() + +function pendingGroupBody(bodies: readonly AgentJournalQuestionItem[]): AgentJournalQuestionItem { + const first = bodies[0]! + if (bodies.length === 1) { + return first + } + const cached = pendingGroups.get(first) + if ( + cached?.bodies.length === bodies.length && + bodies.every((body, index) => body === cached.bodies[index]) + ) { + return cached.body + } + const body: AgentJournalQuestionItem = { + ...first, + questions: bodies.flatMap((question, index) => + question.questions?.length + ? question.questions + : [ + { + id: String(index), + question: question.question, + options: question.options, + multiSelect: false + } + ] + ) + } + pendingGroups.set(first, { bodies, body }) + return body +} + +function questionKey(questions: readonly { question: string }[]): string | null { + const texts = questions.map(({ question }) => question.trim()) + return texts.length > 0 && texts.every(Boolean) ? JSON.stringify(texts.sort()) : null +} + +function projectItem(item: AgentJournalRenderItem): Projection { + const cached = projections.get(item) + if (cached) { + return cached + } + const { body } = item + let message = projectStructuredItemToNativeChat(item) + let key: string | null = null + if (body.kind === 'question') { + const questions = body.questions?.length ? body.questions : [{ question: body.question }] + key = questionKey(questions) + if (body.resolution.state === 'pending') { + // A system row preserves question identity through tool folding; the receipt renders its body. + message = { + id: item.itemId, + role: 'system', + timestamp: item.observedAt, + source: 'transcript', + blocks: [{ type: 'text', text: body.question }] + } + } + } else if ( + body.kind === 'tool-call' && + isAskUserQuestionTool(body.name) && + body.state !== 'failed' + ) { + const prompt = parseAskFromToolInput(body.name, body.input) + key = prompt ? questionKey(prompt.questions) : null + } + const projection = { message, questionKey: key } + projections.set(item, projection) + return projection +} + +/** Question presentation is client-local; archives and older RPC consumers keep their projection. */ +function projectQuestions(items: readonly AgentJournalRenderItem[]): { + messages: NativeChatMessage[] + receipts: ReadonlyMap +} { + // Consume one question item for each matching tool call. A Set would hide every + // same-text call in a turn after the first question item, which can lose a real + // duplicate call when only one prompt was journalled. + const questionsByTurn = new Map>() + const rows: { item: AgentJournalRenderItem; projection: Projection; turn: string }[] = [] + let turn = '' + for (const item of items) { + if (item.body.kind === 'message' && item.body.role === 'user') { + turn = item.itemId + } + const lifecycle = readAgentJournalTurn(item.body) + if (lifecycle) { + turn = lifecycle.turnId + } + const projection = projectItem(item) + rows.push({ item, projection, turn }) + if (turn && item.body.kind === 'question' && projection.questionKey) { + let questions = questionsByTurn.get(turn) + if (!questions) { + questionsByTurn.set(turn, (questions = new Map())) + } + questions.set(projection.questionKey, (questions.get(projection.questionKey) ?? 0) + 1) + } + } + const messages: NativeChatMessage[] = [] + const receipts = new Map() + let pendingGroup: { id: string; bodies: AgentJournalQuestionItem[] } | null = null + const finishGroup = (): void => { + if (!pendingGroup) { + return + } + receipts.set(pendingGroup.id, pendingGroupBody(pendingGroup.bodies)) + pendingGroup = null + } + for (const { item, projection, turn: rowTurn } of rows) { + if ( + item.body.kind === 'tool-call' && + projection.questionKey && + (questionsByTurn.get(rowTurn)?.get(projection.questionKey) ?? 0) > 0 + ) { + const questions = questionsByTurn.get(rowTurn)! + const remaining = questions.get(projection.questionKey)! - 1 + if (remaining === 0) { + questions.delete(projection.questionKey) + } else { + questions.set(projection.questionKey, remaining) + } + continue + } + if (item.body.kind === 'question' && item.body.resolution.state === 'pending') { + if (pendingGroup) { + pendingGroup.bodies.push(item.body) + continue + } + pendingGroup = { id: item.itemId, bodies: [item.body] } + } else { + finishGroup() + if ( + (item.body.kind === 'question' || item.body.kind === 'approval') && + item.body.resolution.state !== 'pending' + ) { + receipts.set(item.itemId, item.body) + } + } + if (projection.message) { + messages.push(projection.message) + } + } + finishGroup() + return { messages, receipts } +} + +const histories = new WeakMap< + readonly AgentJournalRenderItem[], + ReturnType +>() + +export function structuredQuestionTranscript(items: readonly AgentJournalRenderItem[]) { + let projection = histories.get(items) + if (!projection) { + projection = projectQuestions(items) + histories.set(items, projection) + } + return projection +} + +export function projectStructuredQuestionMessages( + items: readonly AgentJournalRenderItem[] +): NativeChatMessage[] { + return structuredQuestionTranscript(items).messages +} diff --git a/src/renderer/src/components/native-chat/structured-agent-session-message-projection.ts b/src/renderer/src/components/native-chat/structured-agent-session-message-projection.ts index 0ea6333a0da..0ecfd7aa2f5 100644 --- a/src/renderer/src/components/native-chat/structured-agent-session-message-projection.ts +++ b/src/renderer/src/components/native-chat/structured-agent-session-message-projection.ts @@ -1,6 +1,18 @@ -import type { AgentJournalRenderItem } from '../../../../shared/agent-session-journal-types' +import type { + AgentJournalRenderItem, + AgentJournalSubmission +} from '../../../../shared/agent-session-journal-types' +import type { StructuredAgentSessionOutboxEntry } from '../../../../shared/structured-agent-session-outbox' +import { projectStructuredAgentSessionMessages as projectMessages } from '../../../../shared/structured-agent-session-message-projection' +import { projectStructuredQuestionMessages } from './structured-agent-question-projection' -export { projectStructuredAgentSessionMessages } from '../../../../shared/structured-agent-session-message-projection' +export function projectStructuredAgentSessionMessages( + items: readonly AgentJournalRenderItem[], + outbox: readonly StructuredAgentSessionOutboxEntry[], + submissions: readonly AgentJournalSubmission[] +) { + return projectMessages(items, outbox, submissions, projectStructuredQuestionMessages) +} export type StructuredPromptItem = AgentJournalRenderItem & { body: Extract diff --git a/src/renderer/src/components/native-chat/structured-agent-session-outbox-dispatch.ts b/src/renderer/src/components/native-chat/structured-agent-session-outbox-dispatch.ts new file mode 100644 index 00000000000..33bc3a27f62 --- /dev/null +++ b/src/renderer/src/components/native-chat/structured-agent-session-outbox-dispatch.ts @@ -0,0 +1,136 @@ +import type { + AgentSessionMutationResult, + AgentSessionSendResult +} from '../../../../shared/agent-session-wire' +import { + disposeStructuredAgentSessionSendFailure, + disposeStructuredAgentSessionSendResult, + type StructuredAgentSessionSendDisposition +} from '../../../../shared/structured-agent-session-send-disposition' +import type { RuntimeClientTarget } from '@/runtime/runtime-rpc-client' +import { callStructuredAgentSession } from '@/runtime/structured-agent-session-client' +import { + structuredAgentSessionSendRequest, + type StructuredAgentSessionOutboxEntry +} from '../../../../shared/structured-agent-session-outbox' +import { writeOutbox } from './structured-agent-session-outbox-storage' +import { + getStructuredAgentLaunchPromptDispatch, + shareStructuredAgentLaunchPromptDispatch +} from '@/lib/structured-agent-session-launch-prompt' + +type MutableRef = { current: T } + +function isDesktopDeliveryUnknown(error: unknown): boolean { + const text = error instanceof Error ? `${error.name}:${error.message}` : String(error) + return /timeout|disconnect|connection|closed|unavailable|cutover/i.test(text) +} + +export function hasInFlightLaunchDispatch( + entry: StructuredAgentSessionOutboxEntry, + fence: number | null +): boolean { + return Boolean( + entry.source === 'launch' && + getStructuredAgentLaunchPromptDispatch( + entry.sessionId, + entry.clientMessageId, + fence ?? undefined + ) + ) +} + +export function readMountedStructuredAgentSessionOutbox( + sessionId: string, + fence: number | null, + read: ( + sessionId: string, + options: { recoverDispatching: boolean } + ) => StructuredAgentSessionOutboxEntry[] +): StructuredAgentSessionOutboxEntry[] { + return read(sessionId, { recoverDispatching: false }).map((entry) => + entry.state === 'dispatching' && !hasInFlightLaunchDispatch(entry, fence) + ? { ...entry, state: 'unconfirmed' as const } + : entry + ) +} + +export function dispatchStructuredAgentSessionOutboxEntry(args: { + next: StructuredAgentSessionOutboxEntry + persisted: readonly StructuredAgentSessionOutboxEntry[] + sessionId: string + target: RuntimeClientTarget + fence: number + dispatchGeneration: number + dispatchGenerationRef: MutableRef + dispatchingRef: MutableRef + blockedIdRef: MutableRef + outboxRef: MutableRef + setOutbox: (entries: StructuredAgentSessionOutboxEntry[]) => void + setError: (error: string | null) => void + applyDisposition: (disposition: StructuredAgentSessionSendDisposition) => void + createOperationId: () => string +}): { promise: Promise; started: boolean } { + const start = async (): Promise => { + args.dispatchingRef.current = true + const staged = [ + { ...args.next, state: 'dispatching' as const, lastAttemptAt: Date.now() }, + ...args.persisted.slice(1) + ] + if (!writeOutbox(args.sessionId, staged)) { + args.dispatchingRef.current = false + args.blockedIdRef.current = args.next.clientMessageId + args.setError('Message could not be saved to the outbox') + return false + } + args.outboxRef.current = staged + args.setOutbox(staged) + try { + const result = await callStructuredAgentSession< + AgentSessionMutationResult + >(args.target, 'agentSession.send', structuredAgentSessionSendRequest(args.next, args.fence)) + if (args.dispatchGenerationRef.current !== args.dispatchGeneration) { + return false + } + args.applyDisposition( + disposeStructuredAgentSessionSendResult({ + entries: args.outboxRef.current, + entry: args.next, + blockedClientMessageId: args.blockedIdRef.current, + result, + createOperationId: args.createOperationId + }) + ) + return result.ok + ? result.value.submission.dispatchState === 'accepted' || + result.value.submission.dispatchState === 'pending' + : false + } catch (caught) { + if (args.dispatchGenerationRef.current !== args.dispatchGeneration) { + return false + } + args.applyDisposition( + disposeStructuredAgentSessionSendFailure({ + entries: args.outboxRef.current, + entry: args.next, + blockedClientMessageId: args.blockedIdRef.current, + cause: caught, + isDeliveryUnknown: isDesktopDeliveryUnknown + }) + ) + return false + } finally { + if (args.dispatchGenerationRef.current === args.dispatchGeneration) { + args.dispatchingRef.current = false + } + } + } + return args.next.source === 'launch' + ? shareStructuredAgentLaunchPromptDispatch( + args.next.sessionId, + args.next.clientMessageId, + args.fence, + start + ) + : { promise: start(), started: true } +} diff --git a/src/renderer/src/components/native-chat/structured-agent-session-outbox-storage.ts b/src/renderer/src/components/native-chat/structured-agent-session-outbox-storage.ts index b823bfe3fa2..f6eac6ee288 100644 --- a/src/renderer/src/components/native-chat/structured-agent-session-outbox-storage.ts +++ b/src/renderer/src/components/native-chat/structured-agent-session-outbox-storage.ts @@ -11,7 +11,11 @@ function storageKey(sessionId: string): string { return `${OUTBOX_PREFIX}${encodeURIComponent(sessionId)}` } -export function readOutbox(sessionId: string): StructuredAgentSessionOutboxEntry[] { +export function readOutbox( + sessionId: string, + options: { recoverDispatching?: boolean } = {} +): StructuredAgentSessionOutboxEntry[] { + const recoverDispatching = options.recoverDispatching !== false try { const value = JSON.parse(localStorage.getItem(storageKey(sessionId)) ?? '[]') return Array.isArray(value) @@ -19,7 +23,9 @@ export function readOutbox(sessionId: string): StructuredAgentSessionOutboxEntry .map((entry) => parseStructuredAgentSessionOutboxEntry(entry, sessionId)) .filter((entry): entry is StructuredAgentSessionOutboxEntry => entry !== null) .map((entry) => - entry.state === 'dispatching' ? { ...entry, state: 'unconfirmed' as const } : entry + recoverDispatching && entry.state === 'dispatching' + ? { ...entry, state: 'unconfirmed' as const } + : entry ) .sort((left, right) => left.queuedAt - right.queuedAt) : [] @@ -48,13 +54,16 @@ export function enqueueStructuredAgentSessionLaunchPrompt( sessionId: string, text: string ): StructuredAgentSessionOutboxEntry | null { - const entry = createStructuredAgentSessionOutboxEntry({ - clientMessageId: createStructuredAgentSessionOperationId(() => crypto.randomUUID()), - sessionId, - text, - attachments: [], - queuedAt: Date.now() - }) + const entry = { + ...createStructuredAgentSessionOutboxEntry({ + clientMessageId: createStructuredAgentSessionOperationId(() => crypto.randomUUID()), + sessionId, + text, + attachments: [], + queuedAt: Date.now() + }), + source: 'launch' as const + } return writeOutbox(sessionId, [...readOutbox(sessionId), entry]) ? entry : null } diff --git a/src/renderer/src/components/native-chat/use-native-chat-message-rail.test.ts b/src/renderer/src/components/native-chat/use-native-chat-message-rail.test.ts new file mode 100644 index 00000000000..962b4250750 --- /dev/null +++ b/src/renderer/src/components/native-chat/use-native-chat-message-rail.test.ts @@ -0,0 +1,137 @@ +// @vitest-environment happy-dom + +import { act, renderHook } from '@testing-library/react' +import * as rowContent from './native-chat-row-content' +import { describe, expect, it, vi } from 'vitest' +import type { NativeChatMessage } from '../../../../shared/native-chat-types' +import type { NativeChatResolvedPrompt } from './native-chat-resolution-receipt' +import type { NativeChatTurnDiff } from './native-chat-turn-diffs' +import { buildNativeChatTranscriptSlots } from './native-chat-transcript-slots' +import { useNativeChatMessageRail } from './use-native-chat-message-rail' + +function message(id: string, role: NativeChatMessage['role']): NativeChatMessage { + return { + id, + role, + blocks: [{ type: 'text', text: `body of ${id}` }], + timestamp: 1, + source: 'transcript' + } +} + +/** A fresh slot array each call, the way the list rebuilds it every render. */ +function slotsOf(messages: NativeChatMessage[]) { + let turn: string | undefined + const turnKeys = messages.map((entry) => { + if (entry.role === 'user') { + turn = entry.id + } + return turn + }) + return buildNativeChatTranscriptSlots({ + messages, + turnKeys, + latestUserIndex: messages.findLastIndex((entry) => entry.role === 'user'), + currentTurnKey: undefined, + receipts: new Map(), + turnStatuses: { active: null, completedByTurn: {} }, + turnDiffs: new Map(), + showTurnStatus: false, + isWorking: false, + lifecycleWorking: false + }) +} + +const CONVERSATION = [ + message('u1', 'user'), + message('a1', 'assistant'), + message('u2', 'user'), + message('a2', 'assistant'), + message('u3', 'user') +] + +describe('message rail hook', () => { + it('reuses previews and rail state during long-history streamed renders', () => { + const conversation = Array.from({ length: 2000 }, (_, index) => + message(`history-${index}`, index % 2 === 0 ? 'user' : 'assistant') + ) + const scrollRef = { current: document.createElement('div') } + const { result, rerender, unmount } = renderHook( + ({ slots }) => useNativeChatMessageRail({ scrollRef, slots, virtualItems: [] }), + { initialProps: { slots: slotsOf(conversation) } } + ) + const initial = result.current + const derive = vi.spyOn(rowContent, 'deriveNativeChatRowContent') + for (let revision = 0; revision < 20; revision += 1) { + const slots = slotsOf([ + ...conversation.slice(0, -1), + message(`tail-${revision}`, 'assistant') + ]) + derive.mockClear() + rerender({ slots }) + expect(derive.mock.calls.length).toBe(0) + expect(result.current).toBe(initial) + } + unmount() + derive.mockRestore() + }) + + it('removes its scroll listener and pending idle read on unmount', () => { + vi.useFakeTimers() + const element = document.createElement('div') + const remove = vi.spyOn(element, 'removeEventListener') + const { unmount } = renderHook(() => + useNativeChatMessageRail({ + scrollRef: { current: element }, + slots: slotsOf(CONVERSATION), + virtualItems: [] + }) + ) + act(() => element.dispatchEvent(new Event('scroll'))) + expect(vi.getTimerCount()).toBe(1) + unmount() + expect(remove).toHaveBeenCalledWith('scroll', expect.any(Function)) + expect(vi.getTimerCount()).toBe(0) + vi.useRealTimers() + }) + + // `slots` is rebuilt on every render, so a listener effect that depended on it + // would unsubscribe and cancel its pending idle timer on every frame of a + // streaming turn — and the highlight would never settle. + it('subscribes to scroll once across renders that rebuild the slots', () => { + const element = document.createElement('div') + const scrollRef = { current: element } + const addListener = vi.spyOn(element, 'addEventListener') + + const { rerender } = renderHook( + ({ slots }) => useNativeChatMessageRail({ scrollRef, slots, virtualItems: [] }), + { initialProps: { slots: slotsOf(CONVERSATION) } } + ) + // Same prompts, new array identity — exactly what a re-render produces. + rerender({ slots: slotsOf(CONVERSATION) }) + rerender({ slots: slotsOf(CONVERSATION) }) + + const scrollSubscriptions = addListener.mock.calls.filter(([type]) => type === 'scroll') + expect(scrollSubscriptions).toHaveLength(1) + }) + + it('ticks every user message and hides below the minimum', () => { + const element = document.createElement('div') + const scrollRef = { current: element } + + const { result } = renderHook(() => + useNativeChatMessageRail({ scrollRef, slots: slotsOf(CONVERSATION), virtualItems: [] }) + ) + expect(result.current.items.map((item) => item.id)).toEqual(['u1', 'u2', 'u3']) + expect(result.current.visible).toBe(true) + + const { result: short } = renderHook(() => + useNativeChatMessageRail({ + scrollRef, + slots: slotsOf([message('u1', 'user'), message('a1', 'assistant')]), + virtualItems: [] + }) + ) + expect(short.current.visible).toBe(false) + }) +}) diff --git a/src/renderer/src/components/native-chat/use-native-chat-message-rail.ts b/src/renderer/src/components/native-chat/use-native-chat-message-rail.ts new file mode 100644 index 00000000000..53778d00286 --- /dev/null +++ b/src/renderer/src/components/native-chat/use-native-chat-message-rail.ts @@ -0,0 +1,130 @@ +// Rail state: which user messages get a tick, and which tick is lit. +// +// The lit tick is recomputed once scrolling settles rather than per scroll event. +// Mid-scroll the answer is both expensive and useless — nobody reads a rail that +// is itself moving — and settling on it is what makes the highlight feel like a +// position report instead of a flicker. + +import { useCallback, useEffect, useMemo, useRef, useState } from 'react' +import { findActiveNativeChatRailItem } from './native-chat-active-rail-item' +import { + buildNativeChatRailItems, + selectNativeChatRailTicks, + NATIVE_CHAT_RAIL_MIN_ITEMS, + type NativeChatRailItem +} from './native-chat-message-rail-items' +import type { NativeChatTranscriptSlot } from './native-chat-transcript-slots' +import type { NativeChatTranscriptWindow } from './use-native-chat-transcript-window' + +/** Quiet period that counts as "stopped scrolling". */ +export const NATIVE_CHAT_RAIL_IDLE_MS = 120 + +/** Narrower than this the panel would cover the message it previews, so the whole + * rail stands down rather than half-working in a split pane. */ +export const NATIVE_CHAT_RAIL_MIN_WIDTH_PX = 512 + +export type NativeChatMessageRailState = { + ticks: readonly NativeChatRailItem[] + items: readonly NativeChatRailItem[] + activeId: string | null + visible: boolean +} + +export function useNativeChatMessageRail({ + scrollRef, + slots, + virtualItems +}: { + scrollRef: React.RefObject + slots: readonly NativeChatTranscriptSlot[] + virtualItems: NativeChatTranscriptWindow['virtualItems'] +}): NativeChatMessageRailState { + const [activeId, setActiveId] = useState(null) + const [wideEnough, setWideEnough] = useState(true) + + const previousItemsRef = useRef([]) + const items = buildNativeChatRailItems(slots, previousItemsRef.current) + previousItemsRef.current = items + + // Read through refs so a settling scroll never re-subscribes the listener: + // `virtualItems` is a fresh array on every frame of a scroll. + const virtualItemsRef = useRef(virtualItems) + virtualItemsRef.current = virtualItems + const slotsRef = useRef(slots) + slotsRef.current = slots + + const readActiveId = useCallback(() => { + const element = scrollRef.current + if (!element) { + return + } + setActiveId((previous) => + findActiveNativeChatRailItem({ + slots: slotsRef.current, + virtualItems: virtualItemsRef.current, + scrollTop: element.scrollTop, + clientHeight: element.clientHeight, + scrollHeight: element.scrollHeight, + previousActiveId: previous + }) + ) + }, [scrollRef]) + + useEffect(() => { + const element = scrollRef.current + if (!element) { + return + } + let idleTimer: number | null = null + const scheduleRead = (): void => { + if (idleTimer !== null) { + window.clearTimeout(idleTimer) + } + idleTimer = window.setTimeout(() => { + idleTimer = null + readActiveId() + }, NATIVE_CHAT_RAIL_IDLE_MS) + } + scheduleRead() + element.addEventListener('scroll', scheduleRead, { passive: true }) + return () => { + element.removeEventListener('scroll', scheduleRead) + if (idleTimer !== null) { + window.clearTimeout(idleTimer) + } + } + // Subscribed once. Depending on anything that changes per render would tear + // the listener down and cancel the pending idle timer on every frame of a + // streaming turn, so the highlight would never settle. + }, [readActiveId, scrollRef]) + + // Re-read when the set of prompts actually changes, so a transcript that grew + // updates without waiting for the next scroll. + useEffect(() => { + readActiveId() + }, [items, readActiveId]) + + useEffect(() => { + const element = scrollRef.current + if (!element || typeof ResizeObserver === 'undefined') { + return + } + const observer = new ResizeObserver(() => { + setWideEnough(element.clientWidth >= NATIVE_CHAT_RAIL_MIN_WIDTH_PX) + }) + observer.observe(element) + return () => observer.disconnect() + }, [scrollRef]) + + const ticks = useMemo(() => selectNativeChatRailTicks({ items, activeId }), [items, activeId]) + + return useMemo( + () => ({ + ticks, + items, + activeId, + visible: wideEnough && items.length >= NATIVE_CHAT_RAIL_MIN_ITEMS + }), + [ticks, items, activeId, wideEnough] + ) +} diff --git a/src/renderer/src/components/native-chat/use-native-chat-provisional-launch.ts b/src/renderer/src/components/native-chat/use-native-chat-provisional-launch.ts new file mode 100644 index 00000000000..95a2c05236f --- /dev/null +++ b/src/renderer/src/components/native-chat/use-native-chat-provisional-launch.ts @@ -0,0 +1,22 @@ +import { useCallback } from 'react' +import { + retryStructuredAgentSessionLaunch, + useStructuredAgentSessionLaunchLifecycle +} from '@/lib/structured-agent-session-launch' + +export function useNativeChatProvisionalLaunch( + worktreeId: string | null | undefined, + sessionId: string +) { + const lifecycle = useStructuredAgentSessionLaunchLifecycle(worktreeId ?? '', sessionId) + const retry = useCallback(() => { + if (worktreeId) { + retryStructuredAgentSessionLaunch(worktreeId, sessionId) + } + }, [sessionId, worktreeId]) + return { + lifecycle, + retry, + transportEnabled: lifecycle === null || lifecycle === 'published' + } +} diff --git a/src/renderer/src/components/native-chat/use-native-chat-transcript-scroll.ts b/src/renderer/src/components/native-chat/use-native-chat-transcript-scroll.ts index 0f690bce57e..c54cbf54e85 100644 --- a/src/renderer/src/components/native-chat/use-native-chat-transcript-scroll.ts +++ b/src/renderer/src/components/native-chat/use-native-chat-transcript-scroll.ts @@ -21,7 +21,6 @@ import { type UIEventHandler } from 'react' import { - isNearBottom, nextFollowingEnd, shouldLoadEarlier, shouldShowJumpToLatest, @@ -89,7 +88,7 @@ export function useNativeChatTranscriptScroll({ const following = nextFollowingEnd({ following: followingRef.current, programmatic, - atEnd: isNearBottom(geometry) + geometry }) followingRef.current = following if (!programmatic) { diff --git a/src/renderer/src/components/native-chat/use-native-chat-transcript-window.options.test.tsx b/src/renderer/src/components/native-chat/use-native-chat-transcript-window.options.test.tsx index da19a51a9c3..82166952670 100644 --- a/src/renderer/src/components/native-chat/use-native-chat-transcript-window.options.test.tsx +++ b/src/renderer/src/components/native-chat/use-native-chat-transcript-window.options.test.tsx @@ -67,7 +67,7 @@ afterEach(() => { }) describe('native chat transcript virtualizer contract', () => { - it('configures prepend anchoring and matching bottom-follow behavior', () => { + it('retains prepend anchoring without independently following the end', () => { renderHook(() => useNativeChatTranscriptWindow({ scrollRef: { current: null }, @@ -78,8 +78,8 @@ describe('native chat transcript virtualizer contract', () => { expect(virtualizerMock.options.current).toMatchObject({ anchorTo: 'end', - followOnAppend: true, - scrollEndThreshold: 48 + followOnAppend: false, + scrollEndThreshold: -1 }) }) diff --git a/src/renderer/src/components/native-chat/use-native-chat-transcript-window.ts b/src/renderer/src/components/native-chat/use-native-chat-transcript-window.ts index 24b63e1fbae..15604bcb9a2 100644 --- a/src/renderer/src/components/native-chat/use-native-chat-transcript-window.ts +++ b/src/renderer/src/components/native-chat/use-native-chat-transcript-window.ts @@ -1,11 +1,8 @@ // DOM windowing for the transcript: only the rows near the viewport are mounted, // the rest are reserved as estimated height. // -// Anchoring is the library's, not ours. `anchorTo: 'end'` captures the row at the -// current offset before a count change and re-resolves its position afterwards, -// which is what keeps a "load earlier" prepend from yanking the view; -// `followOnAppend` + `scrollEndThreshold` keep a reader who is already at the -// bottom pinned there as a turn streams. +// The virtualizer owns visible-row anchoring; the transcript scroll hook owns +// end-follow intent. Geometry alone must never reattach a parked reader. // // Every measurement here ends up in the scroll container's own coordinate space, // which means `offsetTop` / `offsetHeight` rather than a bounding rect. The @@ -16,7 +13,6 @@ import { useCallback, useEffect, useLayoutEffect, useMemo, useRef, useState } from 'react' import { elementScroll, useVirtualizer, type VirtualItem } from '@tanstack/react-virtual' import { createProgrammaticScrollMarks } from '@/hooks/programmatic-scroll-marks' -import { NATIVE_CHAT_BOTTOM_THRESHOLD_PX } from './native-chat-autoscroll' import { NATIVE_CHAT_ROW_GAP_PX } from './native-chat-row-height-estimate' import { nativeChatPinnedRowIndexes, nativeChatTranscriptRange } from './native-chat-pinned-rows' import type { NativeChatTranscriptSlot } from './native-chat-transcript-slots' @@ -135,8 +131,9 @@ export function useNativeChatTranscriptWindow({ gap: NATIVE_CHAT_ROW_GAP_PX, scrollMargin, anchorTo: 'end', - followOnAppend: true, - scrollEndThreshold: NATIVE_CHAT_BOTTOM_THRESHOLD_PX, + followOnAppend: false, + // Distances are nonnegative: disable geometry-only resize pinning, retaining prepend anchoring. + scrollEndThreshold: -1, // Every virtualizer write uses this public adapter, including measurement // adjustments and prepend anchoring, so scroll events have one provenance. scrollToFn: (offset, options, instance) => { @@ -163,6 +160,11 @@ export function useNativeChatTranscriptWindow({ } } }) + // Preserve rows above the reader, never compensate growth within the visible + // row — including its first measurement, which may follow an exact estimate. + virtualizer.shouldAdjustScrollPositionOnItemSizeChange = (item, _delta, instance) => + item.end <= (instance.scrollOffset ?? 0) && + (instance.scrollDirection !== 'backward' || !instance.itemSizeCache.has(item.key)) const finishReaderTakeover = useCallback(() => { if (readerTakeoverFrameRef.current !== null) { diff --git a/src/renderer/src/components/native-chat/use-structured-agent-session-messages.ts b/src/renderer/src/components/native-chat/use-structured-agent-session-messages.ts index c44ff16fba3..f965c2d3eaa 100644 --- a/src/renderer/src/components/native-chat/use-structured-agent-session-messages.ts +++ b/src/renderer/src/components/native-chat/use-structured-agent-session-messages.ts @@ -3,9 +3,7 @@ import type { AgentJournalRenderItem, AgentJournalSubmission } from '../../../../shared/agent-session-journal-types' -import type { NativeChatMessage } from '../../../../shared/native-chat-types' import type { StructuredAgentSessionOutboxEntry } from '../../../../shared/structured-agent-session-outbox' -import { projectStructuredItemToNativeChat } from '../../../../shared/structured-agent-session-projection' import { projectStructuredAgentSessionMessages } from './structured-agent-session-message-projection' export function useStructuredAgentSessionMessages( @@ -13,25 +11,8 @@ export function useStructuredAgentSessionMessages( outbox: readonly StructuredAgentSessionOutboxEntry[], submissions: readonly AgentJournalSubmission[] ) { - const projectItems = useMemo(() => { - // Journal revisions replace item objects; weak keys release removed history. - const byItem = new WeakMap() - return (rows: readonly AgentJournalRenderItem[]): NativeChatMessage[] => { - const messages: NativeChatMessage[] = [] - for (const row of rows) { - if (!byItem.has(row)) { - byItem.set(row, projectStructuredItemToNativeChat(row)) - } - const message = byItem.get(row) - if (message) { - messages.push(message) - } - } - return messages - } - }, []) return useMemo( - () => projectStructuredAgentSessionMessages(items, outbox, submissions, projectItems), - [items, outbox, submissions, projectItems] + () => projectStructuredAgentSessionMessages(items, outbox, submissions), + [items, outbox, submissions] ) } diff --git a/src/renderer/src/components/native-chat/use-structured-agent-session-mutate.ts b/src/renderer/src/components/native-chat/use-structured-agent-session-mutate.ts index 6f071e1a16b..40b4cee6e6e 100644 --- a/src/renderer/src/components/native-chat/use-structured-agent-session-mutate.ts +++ b/src/renderer/src/components/native-chat/use-structured-agent-session-mutate.ts @@ -5,7 +5,7 @@ // every result is discarded unless the runtime fence it was issued against is // still the current one. -import { useCallback, useRef, useState } from 'react' +import { useCallback, useEffect, useRef, useState } from 'react' import * as conversationCommands from './structured-conversation-command-send' import type { AgentSessionMutationResult } from '../../../../shared/agent-session-wire' import { agentSessionRefusalOperationState } from '../../../../shared/agent-session-refusal-retry' @@ -24,13 +24,19 @@ export type StructuredAgentSessionMutate = ( export function useStructuredAgentSessionMutate(args: { sessionId: string target: RuntimeClientTarget + enabled?: boolean /** Read at settle time, not at call time: the fence can move while a request * is in flight, and a result from the previous fence is not this session's. */ stateRef: { current: { fence: number | null } } }): { mutate: StructuredAgentSessionMutate; writeError: string | null } { - const { sessionId, stateRef, target } = args + const { enabled = true, sessionId, stateRef, target } = args const [writeError, setWriteError] = useState(null) const operationIds = useRef(new Map()) + const enabledRef = useRef(enabled) + useEffect(() => { + // Why: update the gate after commit so render stays free of ref mutations. + enabledRef.current = enabled + }, [enabled]) const mutate = useCallback( async ( @@ -39,7 +45,7 @@ export function useStructuredAgentSessionMutate(args: { fields: Record, operationIdOverride?: string | null ): Promise => { - if (stateRef.current.fence === null) { + if (!enabled || !enabledRef.current || stateRef.current.fence === null) { return null } const targetFence = stateRef.current.fence @@ -63,7 +69,7 @@ export function useStructuredAgentSessionMutate(args: { ...fields }) } catch (error) { - if (stateRef.current.fence === targetFence) { + if (enabledRef.current && stateRef.current.fence === targetFence) { setWriteError(error instanceof Error ? error.message : 'Request was not sent') } return null @@ -75,12 +81,12 @@ export function useStructuredAgentSessionMutate(args: { ) { operationIds.current.delete(key) } - if (stateRef.current.fence === targetFence) { + if (enabledRef.current && stateRef.current.fence === targetFence) { setWriteError(result.refusal.message) } return null } - if (stateRef.current.fence !== targetFence) { + if (!enabledRef.current || stateRef.current.fence !== targetFence) { return null } if (!conversationCommands.isUnconfirmedConversationCommand(fingerprintMethod, result.value)) { @@ -89,7 +95,7 @@ export function useStructuredAgentSessionMutate(args: { setWriteError(null) return result.value }, - [sessionId, stateRef, target] + [enabled, sessionId, stateRef, target] ) return { mutate, writeError } diff --git a/src/renderer/src/components/native-chat/use-structured-agent-session-options.ts b/src/renderer/src/components/native-chat/use-structured-agent-session-options.ts new file mode 100644 index 00000000000..34dad47e495 --- /dev/null +++ b/src/renderer/src/components/native-chat/use-structured-agent-session-options.ts @@ -0,0 +1,204 @@ +import { useCallback, useEffect, useMemo, useRef, useState } from 'react' +import type { AgentSessionConversationCommand } from '../../../../shared/agent-session-conversation-command' +import type { + AgentSessionOptionResult, + AgentSessionOptionsResult +} from '../../../../shared/agent-session-wire' +import type { AgentType } from '../../../../shared/agent-status-types' +import { getAgentSessionOptionCatalog } from '../../../../shared/agent-session-option-catalog' +import type { SessionOptionsSurface } from '../../../../shared/native-chat-session-options' +import { + applyStructuredAgentSessionOptions, + canSetStructuredAgentSessionOption, + commitStructuredAgentSessionOptionValues, + createStructuredAgentSessionOptionState, + structuredAgentSessionOptionPicks, + structuredAgentSessionOptionSnapshot, + type StructuredAgentSessionOptionState +} from '../../../../shared/structured-agent-session-options' +import type { RuntimeClientTarget } from '@/runtime/runtime-rpc-client' +import { callStructuredAgentSession } from '@/runtime/structured-agent-session-client' +import { enqueueSessionOptionSettingsWrite } from './native-chat-session-option-settings-write' +import { encodeStructuredAgentSessionOptionValue } from '../../../../shared/structured-agent-session-option-codec' +import type { StructuredAgentSessionMutate } from './use-structured-agent-session-mutate' + +export function useStructuredAgentSessionOptions(args: { + agent: AgentType + sessionId: string + target: RuntimeClientTarget + transportEnabled: boolean + providerVisible: boolean + fence: number | null + turnId: string | null + mutate: StructuredAgentSessionMutate +}) { + const { agent, fence, mutate, providerVisible, sessionId, target, transportEnabled, turnId } = + args + const [conversationSupport, setConversationSupport] = useState<{ + sessionId: string + commands: readonly AgentSessionConversationCommand[] + } | null>(null) + const [optionState, setOptionState] = useState(() => + createStructuredAgentSessionOptionState(agent) + ) + const optionStateRef = useRef(optionState) + const activeOptionRecordRef = useRef(optionState.record) + const pendingOptionRef = useRef(null) + const optionMutationGeneration = useRef(0) + const updateOptionState = useCallback( + (update: (current: StructuredAgentSessionOptionState) => StructuredAgentSessionOptionState) => { + const next = update(optionStateRef.current) + optionStateRef.current = next + setOptionState(next) + }, + [] + ) + const optionCatalog = useMemo(() => getAgentSessionOptionCatalog(agent), [agent]) + + useEffect(() => { + const next = createStructuredAgentSessionOptionState(agent) + optionMutationGeneration.current += 1 + pendingOptionRef.current = null + optionStateRef.current = next + activeOptionRecordRef.current = next.record + setOptionState(next) + }, [agent, fence, sessionId, transportEnabled]) + + // Refresh options each turn to confirm which model the provider actually selected. + useEffect(() => { + if (!providerVisible || !optionCatalog) { + return + } + let stale = false + const readGeneration = optionMutationGeneration.current + void callStructuredAgentSession(target, 'agentSession.options', { + sessionId + }) + .then((result) => { + if (!stale && optionMutationGeneration.current === readGeneration) { + setConversationSupport({ sessionId, commands: result.conversationCommands ?? [] }) + updateOptionState((current) => + current.record === activeOptionRecordRef.current + ? applyStructuredAgentSessionOptions(current, optionCatalog, result) + : current + ) + } + }) + .catch(() => {}) + return () => { + stale = true + } + }, [fence, optionCatalog, providerVisible, sessionId, target, turnId, updateOptionState]) + + const optionSnapshot = useMemo( + () => structuredAgentSessionOptionSnapshot(optionState), + [optionState] + ) + const visibleOptionSnapshot = useMemo( + () => (transportEnabled ? optionSnapshot : []), + [optionSnapshot, transportEnabled] + ) + const setStructuredOption = useCallback( + async (id: string, value: string | boolean): Promise => { + const currentState = optionStateRef.current + const encoded = encodeStructuredAgentSessionOptionValue(id, value) + if ( + !transportEnabled || + pendingOptionRef.current !== null || + !optionCatalog || + encoded === null || + !canSetStructuredAgentSessionOption(currentState, id, value) + ) { + return false + } + const targetRecord = currentState.record + const mutationGeneration = ++optionMutationGeneration.current + pendingOptionRef.current = id + updateOptionState((current) => ({ ...current, pendingId: id })) + try { + const result = await mutate( + 'agentSession.setOption', + 'agentSession.setOption', + { key: id, value: encoded } + ) + if ( + result && + activeOptionRecordRef.current === targetRecord && + optionMutationGeneration.current === mutationGeneration + ) { + const committed = result.options ?? { [id]: encoded } + updateOptionState((current) => + current.record === targetRecord + ? commitStructuredAgentSessionOptionValues(current, committed) + : current + ) + const picks = structuredAgentSessionOptionPicks(currentState, committed) + if (picks.length > 0) { + void enqueueSessionOptionSettingsWrite(target, { type: 'apply-picks', agent, picks }) + } + if (!transportEnabled) { + return false + } + void callStructuredAgentSession( + target, + 'agentSession.options', + { sessionId } + ) + .then((refreshed) => { + if ( + activeOptionRecordRef.current === targetRecord && + optionMutationGeneration.current === mutationGeneration + ) { + updateOptionState((latest) => + latest.record === targetRecord + ? applyStructuredAgentSessionOptions(latest, optionCatalog, refreshed) + : latest + ) + } + }) + .catch(() => {}) + } + return Boolean(result) + } finally { + if ( + activeOptionRecordRef.current === targetRecord && + optionMutationGeneration.current === mutationGeneration + ) { + pendingOptionRef.current = null + updateOptionState((current) => + current.record === targetRecord && current.pendingId === id + ? { ...current, pendingId: null } + : current + ) + } + } + }, + [agent, mutate, optionCatalog, sessionId, target, transportEnabled, updateOptionState] + ) + const setOption = useCallback( + async (id: string, value: string | boolean) => { + await setStructuredOption(id, value) + return { snapshot: structuredAgentSessionOptionSnapshot(optionStateRef.current) } + }, + [setStructuredOption] + ) + const optionSurface = useMemo( + () => ({ + getSnapshot: () => visibleOptionSnapshot, + setOption, + invokeAction: async () => ({ snapshot: visibleOptionSnapshot }), + subscribe: () => () => {} + }), + [setOption, visibleOptionSnapshot] + ) + + return { + conversationCommands: + transportEnabled && conversationSupport?.sessionId === sessionId + ? conversationSupport.commands + : [], + optionSnapshot: visibleOptionSnapshot, + optionSurface, + setStructuredOption + } +} diff --git a/src/renderer/src/components/native-chat/use-structured-agent-session-outbox.test.tsx b/src/renderer/src/components/native-chat/use-structured-agent-session-outbox.test.tsx index c57ebe1b384..a0b94657e79 100644 --- a/src/renderer/src/components/native-chat/use-structured-agent-session-outbox.test.tsx +++ b/src/renderer/src/components/native-chat/use-structured-agent-session-outbox.test.tsx @@ -6,6 +6,7 @@ import { createRoot } from 'react-dom/client' import { beforeEach, describe, expect, it, vi } from 'vitest' import type { AgentJournalSubmission } from '../../../../shared/agent-session-journal-types' import type { AgentSessionWireRefusalCode } from '../../../../shared/agent-session-wire' +import { enqueueStructuredAgentSessionLaunchPrompt } from './structured-agent-session-outbox-storage' const mocks = vi.hoisted(() => ({ call: vi.fn() @@ -16,6 +17,7 @@ vi.mock('@/runtime/structured-agent-session-client', () => ({ })) import { useStructuredAgentSessionOutbox } from './use-structured-agent-session-outbox' +import { settleStructuredAgentLaunchPrompt } from '@/lib/structured-agent-session-launch-prompt' const LOCAL_TARGET = { kind: 'local' } as const @@ -134,6 +136,69 @@ describe('useStructuredAgentSessionOutbox', () => { }) }) + it('does not redispatch a launch prompt settled before the mounted outbox gets its fence', async () => { + const stagedEntry = enqueueStructuredAgentSessionLaunchPrompt('session-1', 'review this') + if (!stagedEntry) { + throw new Error('fixture outbox entry was not persisted') + } + mocks.call.mockResolvedValue(acceptedResultFor(stagedEntry.clientMessageId, 1)) + const initialProps: { fence: number | null } = { fence: null } + const { result, rerender } = renderHook( + ({ fence }) => + useStructuredAgentSessionOutbox({ + sessionId: 'session-1', + target: LOCAL_TARGET, + fence, + submissions: [] + }), + { initialProps } + ) + expect(result.current.outbox).toHaveLength(1) + + await expect( + settleStructuredAgentLaunchPrompt({ + launchResult: Promise.resolve({ sessionId: 'session-1', fence: 1 }), + options: { prompt: 'review this' }, + stagedEntry + }) + ).resolves.toEqual({ delivered: true, failureNotified: false }) + expect(mocks.call).toHaveBeenCalledOnce() + + rerender({ fence: 1 }) + await waitFor(() => expect(result.current.outbox).toHaveLength(0)) + expect(mocks.call).toHaveBeenCalledOnce() + }) + + it('joins a launch prompt dispatch already in flight when the outbox mounts', async () => { + const stagedEntry = enqueueStructuredAgentSessionLaunchPrompt('session-1', 'review this') + if (!stagedEntry) { + throw new Error('fixture outbox entry was not persisted') + } + const admission = deferred>() + mocks.call.mockReturnValueOnce(admission.promise) + const delivery = settleStructuredAgentLaunchPrompt({ + launchResult: Promise.resolve({ sessionId: 'session-1', fence: 1 }), + options: { prompt: 'review this' }, + stagedEntry + }) + await waitFor(() => expect(mocks.call).toHaveBeenCalledOnce()) + + const { result } = renderHook(() => + useStructuredAgentSessionOutbox({ + sessionId: 'session-1', + target: LOCAL_TARGET, + fence: 1, + submissions: [] + }) + ) + expect(result.current.outbox[0]?.state).toBe('dispatching') + + await act(async () => admission.resolve(acceptedResultFor(stagedEntry.clientMessageId, 1))) + await expect(delivery).resolves.toEqual({ delivered: true, failureNotified: false }) + await waitFor(() => expect(result.current.outbox).toHaveLength(0)) + expect(mocks.call).toHaveBeenCalledOnce() + }) + it('requeues across a fence change and ignores the stale settlement', async () => { const first = deferred>() const second = deferred>() diff --git a/src/renderer/src/components/native-chat/use-structured-agent-session-outbox.ts b/src/renderer/src/components/native-chat/use-structured-agent-session-outbox.ts index 7934fc4759d..32368a56cf4 100644 --- a/src/renderer/src/components/native-chat/use-structured-agent-session-outbox.ts +++ b/src/renderer/src/components/native-chat/use-structured-agent-session-outbox.ts @@ -1,24 +1,20 @@ import { useCallback, useEffect, useLayoutEffect, useRef, useState } from 'react' import type { AgentJournalSubmission } from '../../../../shared/agent-session-journal-types' -import type { - AgentSessionMutationResult, - AgentSessionSendResult -} from '../../../../shared/agent-session-wire' import { createStructuredAgentSessionOperationId } from '../../../../shared/structured-agent-session-mutation' import { createStructuredAgentSessionOutboxEntry, reconcileStructuredAgentSessionOutbox, - structuredAgentSessionSendRequest, type StructuredAgentSessionOutboxEntry } from '../../../../shared/structured-agent-session-outbox' -import { - disposeStructuredAgentSessionSendFailure, - disposeStructuredAgentSessionSendResult, - type StructuredAgentSessionSendDisposition -} from '../../../../shared/structured-agent-session-send-disposition' +import type { StructuredAgentSessionSendDisposition } from '../../../../shared/structured-agent-session-send-disposition' import type { RuntimeClientTarget } from '@/runtime/runtime-rpc-client' -import { callStructuredAgentSession } from '@/runtime/structured-agent-session-client' import { readOutbox, writeOutbox } from './structured-agent-session-outbox-storage' +import { + dispatchStructuredAgentSessionOutboxEntry, + hasInFlightLaunchDispatch, + readMountedStructuredAgentSessionOutbox +} from './structured-agent-session-outbox-dispatch' +import { getStructuredAgentLaunchPromptDispatch } from '@/lib/structured-agent-session-launch-prompt' export function structuredSessionOperationId(): string { return createStructuredAgentSessionOperationId(() => crypto.randomUUID()) @@ -31,11 +27,6 @@ const UNCONFIRMED_PROBE_BASE_DELAY_MS = 1_000 * Retry, because the entry leaves `unconfirmed` -- pre-existing, not closed here. */ const UNCONFIRMED_PROBE_MAX_DELAY_MS = 16_000 -function isDesktopDeliveryUnknown(error: unknown): boolean { - const text = error instanceof Error ? `${error.name}:${error.message}` : String(error) - return /timeout|disconnect|connection|closed|unavailable|cutover/i.test(text) -} - export function useStructuredAgentSessionOutbox(args: { sessionId: string target: RuntimeClientTarget @@ -45,7 +36,7 @@ export function useStructuredAgentSessionOutbox(args: { const { fence, sessionId, submissions, target } = args const targetKey = target.kind === 'local' ? 'local' : `environment:${target.environmentId}` const [outbox, setOutbox] = useState(() => - readOutbox(sessionId) + readMountedStructuredAgentSessionOutbox(sessionId, fence, readOutbox) ) const outboxRef = useRef(outbox) const outboxSessionRef = useRef(sessionId) @@ -78,9 +69,13 @@ export function useStructuredAgentSessionOutbox(args: { useEffect(() => { const sessionChanged = outboxSessionRef.current !== sessionId outboxSessionRef.current = sessionId - const current = sessionChanged ? readOutbox(sessionId) : outboxRef.current + const current = sessionChanged + ? readMountedStructuredAgentSessionOutbox(sessionId, fence, readOutbox) + : outboxRef.current const next = current.map((entry) => - entry.state === 'dispatching' ? { ...entry, state: 'queued' as const } : entry + entry.state === 'dispatching' && !hasInFlightLaunchDispatch(entry, fence) + ? { ...entry, state: 'queued' as const } + : entry ) if ( sessionChanged || @@ -138,9 +133,32 @@ export function useStructuredAgentSessionOutbox(args: { useEffect(() => { const next = outbox[0] + if (!next || next.sessionId !== sessionId) { + return + } + const launchDispatch = + next.source === 'launch' + ? getStructuredAgentLaunchPromptDispatch( + next.sessionId, + next.clientMessageId, + fence ?? undefined + ) + : undefined + if (launchDispatch) { + const persisted = readOutbox(sessionId, { recoverDispatching: false }) + const persistedHead = persisted[0] + if (persistedHead?.state !== next.state) { + outboxRef.current = persisted + setOutbox(persisted) + } + void launchDispatch.then(() => { + const latest = readOutbox(sessionId, { recoverDispatching: false }) + outboxRef.current = latest + setOutbox(latest) + }) + return + } if ( - !next || - next.sessionId !== sessionId || next.state !== 'queued' || fence === null || dispatchingRef.current || @@ -148,58 +166,45 @@ export function useStructuredAgentSessionOutbox(args: { ) { return } - dispatchingRef.current = true - const dispatchGeneration = dispatchGenerationRef.current - const staged = [ - { ...next, state: 'dispatching' as const, lastAttemptAt: Date.now() }, - ...outbox.slice(1) - ] - if (!writeOutbox(sessionId, staged)) { - dispatchingRef.current = false - blockedIdRef.current = next.clientMessageId - setError('Message could not be saved to the outbox') + // A launch settlement may have already admitted this entry and cleared its in-flight marker + // before this effect observes the queued React snapshot. Storage is the shared ownership + // record; only dispatch when the persisted head is still queued. + const persisted = readOutbox(sessionId, { recoverDispatching: false }) + const persistedHead = persisted[0] + if ( + persistedHead?.clientMessageId !== next.clientMessageId || + persistedHead.state !== 'queued' + ) { + outboxRef.current = persisted + setOutbox(persisted) return } - outboxRef.current = staged - setOutbox(staged) - void callStructuredAgentSession>( + const dispatchGeneration = dispatchGenerationRef.current + const dispatch = dispatchStructuredAgentSessionOutboxEntry({ + next: persistedHead, + persisted, + sessionId, target, - 'agentSession.send', - structuredAgentSessionSendRequest(next, fence) - ) - .then((result) => { - if (dispatchGenerationRef.current !== dispatchGeneration) { - return - } - applyDisposition( - disposeStructuredAgentSessionSendResult({ - entries: outboxRef.current, - entry: next, - blockedClientMessageId: blockedIdRef.current, - result, - createOperationId: structuredSessionOperationId - }) - ) - }) - .catch((caught) => { - if (dispatchGenerationRef.current !== dispatchGeneration) { - return - } - applyDisposition( - disposeStructuredAgentSessionSendFailure({ - entries: outboxRef.current, - entry: next, - blockedClientMessageId: blockedIdRef.current, - cause: caught, - isDeliveryUnknown: isDesktopDeliveryUnknown - }) - ) - }) - .finally(() => { - if (dispatchGenerationRef.current === dispatchGeneration) { - dispatchingRef.current = false - } + fence, + dispatchGeneration, + dispatchGenerationRef, + dispatchingRef, + blockedIdRef, + outboxRef, + setOutbox, + setError, + applyDisposition, + createOperationId: structuredSessionOperationId + }) + if (!dispatch.started) { + // The launch settlement owns this entry. Its storage mutation does not update this hook's + // local state, so mirror the settled state once the shared admission finishes. + void dispatch.promise.then(() => { + const latest = readOutbox(sessionId, { recoverDispatching: false }) + outboxRef.current = latest + setOutbox(latest) }) + } }, [applyDisposition, fence, outbox, sessionId, target]) // A transport-side unknown may never have reached the host, and nothing else diff --git a/src/renderer/src/components/native-chat/use-structured-agent-session-provisional.test.tsx b/src/renderer/src/components/native-chat/use-structured-agent-session-provisional.test.tsx new file mode 100644 index 00000000000..721e61b3078 --- /dev/null +++ b/src/renderer/src/components/native-chat/use-structured-agent-session-provisional.test.tsx @@ -0,0 +1,166 @@ +// @vitest-environment happy-dom + +import { act, renderHook, waitFor } from '@testing-library/react' +import { beforeEach, describe, expect, it, vi } from 'vitest' +import type { StructuredAgentSessionState } from '../../../../shared/structured-agent-session-reducer' + +const mocks = vi.hoisted(() => ({ + call: vi.fn<(target: unknown, method: string, params: unknown) => Promise>(), + hold: vi.fn<(args: { enabled?: boolean }) => void>(), + read: vi.fn<(args: { isVisible?: boolean }) => void>(), + outbox: vi.fn<(args: { fence: number | null; submissions: readonly unknown[] }) => void>(), + send: vi.fn<(text: string) => boolean>(), + retry: vi.fn<(clientMessageId: string) => void>() +})) + +let readState: StructuredAgentSessionState + +vi.mock('@/runtime/structured-agent-session-client', () => ({ + callStructuredAgentSession: mocks.call +})) + +vi.mock('./use-structured-agent-session-hold', () => ({ + useStructuredAgentSessionHold: (args: { enabled?: boolean }) => mocks.hold(args) +})) + +vi.mock('./use-structured-agent-session-read', () => ({ + useStructuredAgentSessionRead: (args: { isVisible?: boolean }) => { + mocks.read(args) + return { + state: readState, + loadingOlder: false, + loadOlder: vi.fn<() => Promise>() + } + } +})) + +vi.mock('./use-structured-agent-session-outbox', () => ({ + structuredSessionOperationId: () => 'operation-1', + useStructuredAgentSessionOutbox: (args: { + fence: number | null + submissions: readonly unknown[] + }) => { + mocks.outbox(args) + return { + outbox: [], + blockedClientMessageId: null, + error: null, + send: mocks.send, + retry: mocks.retry + } + } +})) + +vi.mock('./native-chat-session-option-settings-write', () => ({ + enqueueSessionOptionSettingsWrite: vi.fn<(target: unknown, mutation: unknown) => Promise>() +})) + +import { useStructuredAgentSession } from './use-structured-agent-session' + +const LOCAL_TARGET = { kind: 'local' } as const +const OPTIONS = { + models: [ + { + id: 'gpt-live', + label: 'GPT Live', + isDefault: true, + defaultEffort: 'medium', + efforts: [{ value: 'medium', label: 'Medium' }] + } + ], + current: { model: 'gpt-live', effort: 'medium' } +} + +function sessionState(): StructuredAgentSessionState { + return { + epoch: 'epoch-1', + cursor: null, + fence: 3, + items: [], + submissions: [], + retainedItemLimit: 1_024, + hasOlder: true, + status: 'error', + error: 'cached transport error', + handoff: null, + commands: [{ name: 'provider-command', kind: 'command' }] + } +} + +describe('useStructuredAgentSession provisional launch gate', () => { + beforeEach(() => { + vi.clearAllMocks() + readState = sessionState() + mocks.send.mockReturnValue(true) + mocks.call.mockResolvedValue(OPTIONS) + }) + + it('keeps local sends usable while withholding every provider surface', async () => { + const { result } = renderHook(() => + useStructuredAgentSession({ + sessionId: 'session-1', + target: LOCAL_TARGET, + agent: 'codex', + isVisible: true, + transportEnabled: false + }) + ) + + expect(mocks.hold).toHaveBeenLastCalledWith(expect.objectContaining({ enabled: false })) + expect(mocks.read).toHaveBeenLastCalledWith(expect.objectContaining({ isVisible: false })) + expect(mocks.outbox).toHaveBeenLastCalledWith( + expect.objectContaining({ fence: null, submissions: [] }) + ) + expect(result.current).toMatchObject({ + status: 'ready', + error: null, + hasOlder: false, + loadingOlder: false, + journalItems: [], + prompts: [], + conversationCommands: [], + optionSnapshot: [] + }) + expect(result.current.sessionCommands).toBeUndefined() + expect(result.current.optionSurface.getSnapshot()).toEqual([]) + expect(result.current.send('queued while launching')).toBe(true) + expect(mocks.send).toHaveBeenCalledWith('queued while launching') + + await act(async () => { + await result.current.cancel('turn-1') + await result.current.stopBackgroundTask('task-1') + expect(await result.current.setStructuredOption('model', 'gpt-live')).toBe(false) + }) + + expect(mocks.call).not.toHaveBeenCalled() + }) + + it('activates provider surfaces after publication without repeating option discovery', async () => { + const { rerender } = renderHook( + ({ transportEnabled }: { transportEnabled: boolean }) => + useStructuredAgentSession({ + sessionId: 'session-1', + target: LOCAL_TARGET, + agent: 'codex', + isVisible: true, + transportEnabled + }), + { initialProps: { transportEnabled: false } } + ) + + expect(mocks.call).not.toHaveBeenCalled() + rerender({ transportEnabled: true }) + + await waitFor(() => + expect(mocks.call).toHaveBeenCalledWith(LOCAL_TARGET, 'agentSession.options', { + sessionId: 'session-1' + }) + ) + expect(mocks.call).toHaveBeenCalledTimes(1) + expect(mocks.hold).toHaveBeenLastCalledWith(expect.objectContaining({ enabled: true })) + expect(mocks.read).toHaveBeenLastCalledWith(expect.objectContaining({ isVisible: true })) + expect(mocks.outbox).toHaveBeenLastCalledWith( + expect.objectContaining({ fence: 3, submissions: [] }) + ) + }) +}) diff --git a/src/renderer/src/components/native-chat/use-structured-agent-session-transport-state.ts b/src/renderer/src/components/native-chat/use-structured-agent-session-transport-state.ts new file mode 100644 index 00000000000..c2c93788a04 --- /dev/null +++ b/src/renderer/src/components/native-chat/use-structured-agent-session-transport-state.ts @@ -0,0 +1,49 @@ +import { useMemo } from 'react' +import { + activeStructuredAgentSessionTurnId, + hasUnansweredStructuredAgentSessionDispatch +} from '../../../../shared/structured-agent-session-projection' +import type { StructuredAgentSessionState } from '../../../../shared/structured-agent-session-reducer' +import { selectStructuredAgentTurnActivity } from '../../../../shared/native-chat-turn-activity' +import { structuredSessionBackgroundTasksView } from './structured-session-background-tasks-view' +import { useStructuredAgentTurnTiming } from './use-structured-agent-turn-timing' + +const NO_JOURNAL_ITEMS: StructuredAgentSessionState['items'] = [] +const NO_SUBMISSIONS: StructuredAgentSessionState['submissions'] = [] + +export function useStructuredAgentSessionTransportState( + state: StructuredAgentSessionState, + enabled: boolean +) { + const journalItems = enabled ? state.items : NO_JOURNAL_ITEMS + const submissions = enabled ? state.submissions : NO_SUBMISSIONS + const fence = enabled ? state.fence : null + const turnId = activeStructuredAgentSessionTurnId(journalItems) + const isWorking = + turnId !== null || hasUnansweredStructuredAgentSessionDispatch(submissions, fence) + const turnActivity = useMemo( + () => selectStructuredAgentTurnActivity(journalItems, turnId, enabled ? state.activity : null), + [enabled, journalItems, state.activity, turnId] + ) + const turnTiming = useStructuredAgentTurnTiming( + { + items: journalItems, + submissions, + ...(enabled ? { hostClock: state.hostClock } : {}) + }, + turnId + ) + return { + journalItems, + submissions, + fence, + turnId, + isWorking, + turnActivity, + turnTiming, + backgroundTasks: structuredSessionBackgroundTasksView( + enabled ? state.backgroundTasks : null, + turnId + ) + } +} diff --git a/src/renderer/src/components/native-chat/use-structured-agent-session-transport.ts b/src/renderer/src/components/native-chat/use-structured-agent-session-transport.ts new file mode 100644 index 00000000000..58570f9de0a --- /dev/null +++ b/src/renderer/src/components/native-chat/use-structured-agent-session-transport.ts @@ -0,0 +1,33 @@ +import { useEffect, useRef } from 'react' +import type { RuntimeClientTarget } from '@/runtime/runtime-rpc-client' +import { useStructuredAgentSessionHold } from './use-structured-agent-session-hold' +import { useStructuredAgentSessionMutate } from './use-structured-agent-session-mutate' +import { useStructuredAgentSessionRead } from './use-structured-agent-session-read' + +export function useStructuredAgentSessionTransport(args: { + sessionId: string + target: RuntimeClientTarget + isVisible: boolean + enabled: boolean +}) { + const { enabled, isVisible, sessionId, target } = args + const providerVisible = isVisible && enabled + useStructuredAgentSessionHold({ + sessionId, + target, + surface: 'desktop-chat', + enabled: providerVisible + }) + const read = useStructuredAgentSessionRead({ sessionId, target, isVisible: providerVisible }) + const stateRef = useRef(read.state) + const mutation = useStructuredAgentSessionMutate({ + sessionId, + target, + stateRef, + enabled + }) + useEffect(() => { + stateRef.current = read.state + }, [read.state]) + return { ...read, ...mutation, providerVisible } +} diff --git a/src/renderer/src/components/native-chat/use-structured-agent-session.ts b/src/renderer/src/components/native-chat/use-structured-agent-session.ts index 020647de089..cfc07d3e4d5 100644 --- a/src/renderer/src/components/native-chat/use-structured-agent-session.ts +++ b/src/renderer/src/components/native-chat/use-structured-agent-session.ts @@ -1,49 +1,22 @@ -import { useCallback, useEffect, useMemo, useRef, useState } from 'react' -import * as conversationCommands from './structured-conversation-command-send' -import type { - AgentSessionOptionResult, - AgentSessionOptionsResult, - AgentSessionPromptResult -} from '../../../../shared/agent-session-wire' +import { useRef } from 'react' +import * as structuredConversationCommands from './structured-conversation-command-send' +import type { AgentSessionPromptResult } from '../../../../shared/agent-session-wire' import { useStructuredAgentSessionOutbox } from './use-structured-agent-session-outbox' -import { useStructuredAgentSessionMutate } from './use-structured-agent-session-mutate' import type { AgentSessionConversationCommand, AgentSessionConversationCommandResult } from '../../../../shared/agent-session-conversation-command' import type { AgentType } from '../../../../shared/agent-status-types' -import { getAgentSessionOptionCatalog } from '../../../../shared/agent-session-option-catalog' -import type { SessionOptionsSurface } from '../../../../shared/native-chat-session-options' -import { - applyStructuredAgentSessionOptions, - canSetStructuredAgentSessionOption, - commitStructuredAgentSessionOptionValues, - createStructuredAgentSessionOptionState, - structuredAgentSessionOptionPicks, - structuredAgentSessionOptionSnapshot, - type StructuredAgentSessionOptionState -} from '../../../../shared/structured-agent-session-options' -import { - activeStructuredAgentSessionTurnId, - hasUnansweredStructuredAgentSessionDispatch -} from '../../../../shared/structured-agent-session-projection' import type { RuntimeClientTarget } from '@/runtime/runtime-rpc-client' -import { - callStructuredAgentSession, - supportsStructuredAgentSessionPromptCancel -} from '@/runtime/structured-agent-session-client' -import { useStructuredAgentSessionHold } from './use-structured-agent-session-hold' -import { useStructuredAgentSessionRead } from './use-structured-agent-session-read' +import { supportsStructuredAgentSessionPromptCancel } from '@/runtime/structured-agent-session-client' import { pendingStructuredSessionPrompts, type StructuredPromptItem } from './structured-agent-session-message-projection' -import { structuredSessionBackgroundTasksView } from './structured-session-background-tasks-view' import { useStructuredAgentSessionMessages } from './use-structured-agent-session-messages' -import { selectStructuredAgentTurnActivity } from '../../../../shared/native-chat-turn-activity' -import { enqueueSessionOptionSettingsWrite } from './native-chat-session-option-settings-write' -import { useStructuredAgentTurnTiming } from './use-structured-agent-turn-timing' -import { encodeStructuredAgentSessionOptionValue } from '../../../../shared/structured-agent-session-option-codec' +import { useStructuredAgentSessionTransportState } from './use-structured-agent-session-transport-state' +import { useStructuredAgentSessionTransport } from './use-structured-agent-session-transport' +import { useStructuredAgentSessionOptions } from './use-structured-agent-session-options' export type { StructuredPromptItem } from './structured-agent-session-message-projection' @@ -54,202 +27,55 @@ export function useStructuredAgentSession(args: { target: RuntimeClientTarget agent: AgentType isVisible: boolean + transportEnabled?: boolean }) { - const { agent, isVisible, sessionId, target } = args - // Declared first: the hold is what gives a restored session its provider child back, and the - // read below is useless for sending until it lands. - useStructuredAgentSessionHold({ sessionId, target, surface: 'desktop-chat', enabled: isVisible }) - const { state, loadingOlder, loadOlder } = useStructuredAgentSessionRead(args) - const stateRef = useRef(state) - const { mutate, writeError } = useStructuredAgentSessionMutate({ sessionId, target, stateRef }) - const [conversationSupport, setConversationSupport] = useState<{ - sessionId: string - commands: readonly AgentSessionConversationCommand[] - } | null>(null) + const { agent, isVisible, sessionId, target, transportEnabled = true } = args + const { state, loadingOlder, loadOlder, mutate, writeError, providerVisible } = + useStructuredAgentSessionTransport({ + sessionId, + target, + isVisible, + enabled: transportEnabled + }) const commandPending = useRef(false) - const [optionState, setOptionState] = useState(() => - createStructuredAgentSessionOptionState(agent) - ) - const optionStateRef = useRef(optionState) - const activeOptionRecordRef = useRef(optionState.record) - const pendingOptionRef = useRef(null) - const optionMutationGeneration = useRef(0) - const updateOptionState = useCallback( - (update: (current: StructuredAgentSessionOptionState) => StructuredAgentSessionOptionState) => { - const next = update(optionStateRef.current) - optionStateRef.current = next - setOptionState(next) - }, - [] - ) - const optionCatalog = useMemo(() => getAgentSessionOptionCatalog(agent), [agent]) + const transportState = useStructuredAgentSessionTransportState(state, transportEnabled) + const { conversationCommands, optionSnapshot, optionSurface, setStructuredOption } = + useStructuredAgentSessionOptions({ + agent, + sessionId, + target, + transportEnabled, + providerVisible, + fence: state.fence, + turnId: transportState.turnId, + mutate + }) const outboxController = useStructuredAgentSessionOutbox({ sessionId, target, - fence: state.fence, - submissions: state.submissions + fence: transportState.fence, + submissions: transportState.submissions }) - useEffect(() => { - stateRef.current = state - }, [state]) - - useEffect(() => { - const next = createStructuredAgentSessionOptionState(agent) - optionMutationGeneration.current += 1 - pendingOptionRef.current = null - optionStateRef.current = next - activeOptionRecordRef.current = next.record - setOptionState(next) - }, [agent, sessionId, state.fence]) - - // Refresh options each turn to confirm which model the provider actually selected. - const turnId = activeStructuredAgentSessionTurnId(state.items) - // A dispatch the provider has not answered is already work; Claude's running row trails the - // send by seconds, and only a provider-minted turn is cancellable, so the two stay separate. - const isWorking = - turnId !== null || hasUnansweredStructuredAgentSessionDispatch(state.submissions, state.fence) - const turnActivity = useMemo( - () => selectStructuredAgentTurnActivity(state.items, turnId, state.activity), - [state.activity, state.items, turnId] - ) - const turnTiming = useStructuredAgentTurnTiming(state, turnId) - const backgroundTasks = structuredSessionBackgroundTasksView(state.backgroundTasks, turnId) - - useEffect(() => { - if (!isVisible || !optionCatalog) { - return - } - let stale = false - const readGeneration = optionMutationGeneration.current - void callStructuredAgentSession(target, 'agentSession.options', { - sessionId - }) - .then((result) => { - if (!stale && optionMutationGeneration.current === readGeneration) { - setConversationSupport({ sessionId, commands: result.conversationCommands ?? [] }) - updateOptionState((current) => - current.record === activeOptionRecordRef.current - ? applyStructuredAgentSessionOptions(current, optionCatalog, result) - : current - ) - } - }) - .catch(() => {}) - return () => { - stale = true - } - }, [isVisible, optionCatalog, sessionId, state.fence, target, turnId, updateOptionState]) - - const optionSnapshot = useMemo( - () => structuredAgentSessionOptionSnapshot(optionState), - [optionState] - ) - const setStructuredOption = useCallback( - async (id: string, value: string | boolean): Promise => { - const currentState = optionStateRef.current - const encoded = encodeStructuredAgentSessionOptionValue(id, value) - if ( - pendingOptionRef.current !== null || - !optionCatalog || - encoded === null || - !canSetStructuredAgentSessionOption(currentState, id, value) - ) { - return false - } - const targetRecord = currentState.record - const mutationGeneration = ++optionMutationGeneration.current - pendingOptionRef.current = id - updateOptionState((current) => ({ ...current, pendingId: id })) - try { - const result = await mutate( - 'agentSession.setOption', - 'agentSession.setOption', - { key: id, value: encoded } - ) - if ( - result && - activeOptionRecordRef.current === targetRecord && - optionMutationGeneration.current === mutationGeneration - ) { - const committed = result.options ?? { [id]: encoded } - updateOptionState((current) => - current.record === targetRecord - ? commitStructuredAgentSessionOptionValues(current, committed) - : current - ) - const picks = structuredAgentSessionOptionPicks(currentState, committed) - if (picks.length > 0) { - void enqueueSessionOptionSettingsWrite(target, { - type: 'apply-picks', - agent, - picks - }) - } - void callStructuredAgentSession( - target, - 'agentSession.options', - { sessionId } - ) - .then((refreshed) => { - if ( - activeOptionRecordRef.current === targetRecord && - optionMutationGeneration.current === mutationGeneration - ) { - updateOptionState((latest) => - latest.record === targetRecord - ? applyStructuredAgentSessionOptions(latest, optionCatalog, refreshed) - : latest - ) - } - }) - .catch(() => {}) - } - return Boolean(result) - } finally { - if ( - activeOptionRecordRef.current === targetRecord && - optionMutationGeneration.current === mutationGeneration - ) { - pendingOptionRef.current = null - updateOptionState((current) => - current.record === targetRecord && current.pendingId === id - ? { ...current, pendingId: null } - : current - ) - } - } - }, - [agent, mutate, optionCatalog, sessionId, target, updateOptionState] - ) - const setOption = useCallback( - async (id: string, value: string | boolean) => { - await setStructuredOption(id, value) - return { snapshot: structuredAgentSessionOptionSnapshot(optionStateRef.current) } - }, - [setStructuredOption] - ) - const optionSurface = useMemo( - () => ({ - getSnapshot: () => optionSnapshot, - setOption, - invokeAction: async () => ({ snapshot: optionSnapshot }), - subscribe: () => () => {} - }), - [optionSnapshot, setOption] - ) - - const prompts = pendingStructuredSessionPrompts(state.items) + const prompts = pendingStructuredSessionPrompts(transportState.journalItems) const { outbox } = outboxController - const messages = useStructuredAgentSessionMessages(state.items, outbox, state.submissions) + const messages = useStructuredAgentSessionMessages( + transportState.journalItems, + outbox, + transportState.submissions + ) return { - conversationCommands: - conversationSupport?.sessionId === sessionId ? conversationSupport.commands : [], + conversationCommands, runConversationCommand: (command: AgentSessionConversationCommand) => - conversationCommands.sendStructuredConversationCommand({ + structuredConversationCommands.sendStructuredConversationCommand({ command, pending: commandPending, - blocked: Boolean(turnId || prompts.length || backgroundTasks.isMonitoring || outbox.length), + blocked: Boolean( + transportState.turnId || + prompts.length || + transportState.backgroundTasks.isMonitoring || + outbox.length + ), send: (command) => mutate( 'agentSession.conversationCommand', @@ -257,12 +83,14 @@ export function useStructuredAgentSession(args: { { command } ) }), - journalItems: state.items, + journalItems: transportState.journalItems, messages, - status: state.status, - error: state.error ?? writeError ?? outboxController.error, - hasOlder: state.hasOlder, - loadingOlder, + status: transportEnabled ? state.status : 'ready', + error: transportEnabled + ? (state.error ?? writeError ?? outboxController.error) + : outboxController.error, + hasOlder: transportEnabled && state.hasOlder, + loadingOlder: transportEnabled && loadingOlder, loadOlder, prompts, outbox, @@ -270,12 +98,12 @@ export function useStructuredAgentSession(args: { send: (...input: Parameters) => !commandPending.current && outboxController.send(...input), retry: outboxController.retry, - isWorking, - workingStartedAt: turnTiming.workingStartedAt, - settledTurns: turnTiming.settledTurns, - turnActivity, - backgroundTasks, - turnId, + isWorking: transportState.isWorking, + workingStartedAt: transportState.turnTiming.workingStartedAt, + settledTurns: transportState.turnTiming.settledTurns, + turnActivity: transportState.turnActivity, + backgroundTasks: transportState.backgroundTasks, + turnId: transportState.turnId, cancel: async (turnId: string, prompt?: StructuredPromptCancelTarget) => { // Capability negotiation must complete before mutate constructs the payload // fingerprint and operation id: older hosts reject the strict prompt field. @@ -302,7 +130,7 @@ export function useStructuredAgentSession(args: { ), optionSnapshot, optionSurface, - sessionCommands: state.commands ?? undefined, + sessionCommands: transportEnabled ? (state.commands ?? undefined) : undefined, setStructuredOption } } diff --git a/src/renderer/src/components/new-workspace/ProjectCombobox.dialog-handoff.test.tsx b/src/renderer/src/components/new-workspace/ProjectCombobox.dialog-handoff.test.tsx index 339fd60840f..f77c1a34928 100644 --- a/src/renderer/src/components/new-workspace/ProjectCombobox.dialog-handoff.test.tsx +++ b/src/renderer/src/components/new-workspace/ProjectCombobox.dialog-handoff.test.tsx @@ -68,7 +68,8 @@ beforeEach(() => { ? element.getAttribute('data-state') === 'closed' ? 'exit' : 'enter' - : Reflect.get(target, property) + : // oxlint-disable-next-line anti-slop/no-reflect-get -- Proxy `get` trap: raw string|symbol pass-through; the receiver stays the target on purpose. + Reflect.get(target, property) }) } return style diff --git a/src/renderer/src/components/pull-request-page/checks/rerun.ts b/src/renderer/src/components/pull-request-page/checks/rerun.ts index 40637c10993..6f8eaec76a7 100644 --- a/src/renderer/src/components/pull-request-page/checks/rerun.ts +++ b/src/renderer/src/components/pull-request-page/checks/rerun.ts @@ -6,12 +6,21 @@ import type { GitHubOwnerRepo } from '../../../../../shared/github/pull-request- import type { GitHubWorkItem } from '../../../../../shared/github/work-item-types' import type { PRCheckDetail } from '../../../../../shared/github/check-types' import type { TaskSourceContext } from '../../../../../shared/task-source-context' +import type { GitHubChecksTabState } from '../../github-checks-tab-state' + +/** The checks tab mints one of these per context; only its reference identity is ever read. */ +type ChecksContextOwner = GitHubChecksTabState['contextOwner'] export async function rerunPullRequestChecks(args: { canUseChecksRepoContext: boolean rerunning: boolean - committedChecksContextOwnerRef: { current: object } - setRerunningOwner: (value: object | null | ((current: object | null) => object | null)) => void + committedChecksContextOwnerRef: { current: ChecksContextOwner } + setRerunningOwner: ( + value: + | ChecksContextOwner + | null + | ((current: ChecksContextOwner | null) => ChecksContextOwner | null) + ) => void runtimeHost: GitHubRuntimeHost | null sourceContext?: TaskSourceContext | null repoId: string | null @@ -21,7 +30,7 @@ export async function rerunPullRequestChecks(args: { prRepo: GitHubOwnerRepo | null failedOnly: boolean mountedRef: { current: boolean } - handleRefresh: (expectedContextOwner?: object) => Promise + handleRefresh: (expectedContextOwner?: ChecksContextOwner) => Promise }): Promise { if (!args.canUseChecksRepoContext || args.rerunning) { return diff --git a/src/renderer/src/components/pull-request-page/checks/tab.tsx b/src/renderer/src/components/pull-request-page/checks/tab.tsx index 9ccbc4d546e..0c12d91ae7e 100644 --- a/src/renderer/src/components/pull-request-page/checks/tab.tsx +++ b/src/renderer/src/components/pull-request-page/checks/tab.tsx @@ -6,7 +6,8 @@ import { CHECK_COLOR, CHECK_ICON } from '@/components/right-sidebar/checks-panel import { createGitHubChecksTabState, resolveGitHubChecksTabState, - toggleGitHubChecksTabExpandedKey + toggleGitHubChecksTabExpandedKey, + type GitHubChecksContextOwner } from '@/components/github-checks-tab-state' import { getCheckDetailsKey } from '@/components/github/pr-check-presentation' import { getCheckCounts, getChecksSummaryLabel } from '@/components/pr-check-counts' @@ -94,11 +95,11 @@ export function ChecksTab({ const nextChecksRefreshRequestIdRef = useRef(0) const activeChecksRefreshRequestIdRef = useRef(null) const [refreshingOwner, setRefreshingOwner] = useState<{ - contextOwner: object + contextOwner: GitHubChecksContextOwner requestId: number } | null>(null) const refreshing = refreshingOwner?.contextOwner === resolvedChecksState.contextOwner - const [rerunningOwner, setRerunningOwner] = useState(null) + const [rerunningOwner, setRerunningOwner] = useState(null) const rerunning = rerunningOwner === resolvedChecksState.contextOwner useLayoutEffect(() => { committedChecksContextOwnerRef.current = resolvedChecksState.contextOwner @@ -173,7 +174,7 @@ export function ChecksTab({ const canFixBrokenChecks = Boolean((repoId ?? item.repoId) && failedChecks.length > 0) const handleRefresh = useCallback( - async (expectedContextOwner?: object) => + async (expectedContextOwner?: GitHubChecksContextOwner) => refreshPullRequestChecks({ canUseChecksRepoContext, expectedContextOwner, diff --git a/src/renderer/src/components/repo/repo-icon.tsx b/src/renderer/src/components/repo/repo-icon.tsx index 9e9ad0c24ac..b778ead4426 100644 --- a/src/renderer/src/components/repo/repo-icon.tsx +++ b/src/renderer/src/components/repo/repo-icon.tsx @@ -16,6 +16,7 @@ import { Palette, Rocket, Server, + // `Shapes` is lucide-react's own export name; exempted in config/oxlint-anti-slop.json. Shapes, Sparkles, SquareTerminal, diff --git a/src/renderer/src/components/right-sidebar/active-checks-status.test.ts b/src/renderer/src/components/right-sidebar/active-checks-status.test.ts index 5bf09276c72..84b65d83f5b 100644 --- a/src/renderer/src/components/right-sidebar/active-checks-status.test.ts +++ b/src/renderer/src/components/right-sidebar/active-checks-status.test.ts @@ -182,6 +182,7 @@ describe('getActiveChecksStatus caching', () => { { get(target, prop, receiver) { reads.add(prop) + // oxlint-disable-next-line anti-slop/no-reflect-get -- Proxy get trap default forward. return Reflect.get(target, prop, receiver) }, has(target, prop) { diff --git a/src/renderer/src/components/right-sidebar/ai-vault-session-resume-in-chat-launch.test.ts b/src/renderer/src/components/right-sidebar/ai-vault-session-resume-in-chat-launch.test.ts index d23652db43b..f0c307ae0ca 100644 --- a/src/renderer/src/components/right-sidebar/ai-vault-session-resume-in-chat-launch.test.ts +++ b/src/renderer/src/components/right-sidebar/ai-vault-session-resume-in-chat-launch.test.ts @@ -1,16 +1,25 @@ import { beforeEach, describe, expect, it, vi } from 'vitest' +import type { StructuredAgentLaunchSettlement } from '@/lib/structured-agent-launch-settlement' +import type { AiVaultSession } from '../../../../shared/ai-vault-types' + +type BeginArgs = { beforeOpen?: (sessionId: string) => boolean | void } +type Launch = { + sessionId: string + settlement: Promise + tab: { id: string } +} const mocks = vi.hoisted(() => ({ - settleStructuredAgentLaunch: vi.fn(), - prepareAiVaultSessionForResume: vi.fn(), - activateAndRevealWorktree: vi.fn(), - activateAndRevealFolderWorkspace: vi.fn(), - toastError: vi.fn(), + beginStructuredAgentSessionProvisionalLaunch: vi.fn<(args: BeginArgs) => Launch | null>(), + prepareAiVaultSessionForResume: vi.fn<() => Promise<{ sessionId: string }>>(), + activateAndRevealWorktree: vi.fn<(worktreeId: string) => unknown>(), + activateAndRevealFolderWorkspace: vi.fn<(workspaceId: string) => unknown>(), + toastError: vi.fn<(message: string) => void>(), activeWorktreeId: 'other-worktree' })) -vi.mock('@/lib/structured-agent-launch-settlement', () => ({ - settleStructuredAgentLaunch: mocks.settleStructuredAgentLaunch +vi.mock('@/lib/structured-agent-session-provisional-tab', () => ({ + beginStructuredAgentSessionProvisionalLaunch: mocks.beginStructuredAgentSessionProvisionalLaunch })) vi.mock('@/lib/ai-vault-session-resume-preparation', () => ({ prepareAiVaultSessionForResume: mocks.prepareAiVaultSessionForResume @@ -26,52 +35,92 @@ vi.mock('@/store', () => ({ import { resumeAiVaultSessionInNewChat } from './ai-vault-session-resume-in-chat-launch' -const session = { agent: 'codex', sessionId: 'vault-1', filePath: '/x' } as never +const session: AiVaultSession = { + id: 'vault-1', + executionHostId: 'local', + agent: 'codex', + sessionId: 'vault-1', + title: 'Vault session', + cwd: '/x', + branch: null, + model: null, + filePath: '/x', + codexHome: null, + createdAt: null, + updatedAt: null, + modifiedAt: '2025-01-01T00:00:00.000Z', + messageCount: 1, + totalTokens: 1, + previewMessages: [], + queuedMessageCount: 0, + subagentTranscriptCount: 0, + resumeCommand: 'resume', + subagent: null +} describe('resumeAiVaultSessionInNewChat', () => { beforeEach(() => { vi.clearAllMocks() mocks.prepareAiVaultSessionForResume.mockResolvedValue({ sessionId: 'provider-1' }) + mocks.activateAndRevealWorktree.mockReturnValue({ primaryTabId: null }) + mocks.beginStructuredAgentSessionProvisionalLaunch.mockImplementation((args) => { + args.beforeOpen?.('session-1') + return { + sessionId: 'session-1', + tab: { id: 'agent-session:session-1' }, + settlement: Promise.resolve({ kind: 'structured', sessionId: 'session-1' }) + } + }) }) - it('adopts the prepared conversation with no legacy fallback and reveals the workspace', async () => { - mocks.settleStructuredAgentLaunch.mockResolvedValue({ kind: 'structured', sessionId: 's' }) + it('reveals the workspace and opens chat before provider settlement', async () => { + let settle!: (value: StructuredAgentLaunchSettlement) => void + const settlement = new Promise((resolve) => { + settle = resolve + }) + mocks.beginStructuredAgentSessionProvisionalLaunch.mockImplementation((args) => { + args.beforeOpen?.('session-1') + return { sessionId: 'session-1', tab: { id: 'agent-session:session-1' }, settlement } + }) await resumeAiVaultSessionInNewChat(session, 'codex', 'worktree-1') - expect(mocks.settleStructuredAgentLaunch).toHaveBeenCalledWith( - 'worktree-1', - 'codex', - { resumeFrom: { providerSessionId: 'provider-1' } }, - {} + expect(mocks.beginStructuredAgentSessionProvisionalLaunch).toHaveBeenCalledWith( + expect.objectContaining({ + plan: expect.objectContaining({ resumeFrom: { providerSessionId: 'provider-1' } }), + hooks: {} + }) ) expect(mocks.activateAndRevealWorktree).toHaveBeenCalledWith('worktree-1') expect(mocks.toastError).not.toHaveBeenCalled() + settle({ kind: 'structured', sessionId: 'session-1' }) }) - it('toasts the conflict message when the launch fails with that code', async () => { - mocks.settleStructuredAgentLaunch.mockResolvedValue({ - kind: 'failed', - error: Object.assign(new Error('held'), { code: 'agent_session_conflict' }) + it('toasts a conflict reported by the eventual settlement', async () => { + const error = Object.assign(new Error('held'), { code: 'agent_session_conflict' }) + mocks.beginStructuredAgentSessionProvisionalLaunch.mockReturnValue({ + sessionId: 'session-1', + tab: { id: 'agent-session:session-1' }, + settlement: Promise.resolve({ kind: 'failed', error }) }) await resumeAiVaultSessionInNewChat(session, 'codex', 'worktree-1') - - expect(mocks.toastError).toHaveBeenCalledWith( - 'Another chat is already holding this conversation.' + await vi.waitFor(() => + expect(mocks.toastError).toHaveBeenCalledWith( + 'Another chat is already holding this conversation.' + ) ) - expect(mocks.activateAndRevealWorktree).not.toHaveBeenCalled() }) - it('stays silent on an unknown outcome so the launch layer can reconcile it', async () => { - mocks.settleStructuredAgentLaunch.mockResolvedValue({ - kind: 'visibility-unknown', - sessionId: 's' + it('keeps unknown outcomes silent for reconciliation', async () => { + mocks.beginStructuredAgentSessionProvisionalLaunch.mockReturnValue({ + sessionId: 'session-1', + tab: { id: 'agent-session:session-1' }, + settlement: Promise.resolve({ kind: 'visibility-unknown', sessionId: 'session-1' }) }) await resumeAiVaultSessionInNewChat(session, 'codex', 'worktree-1') - + await Promise.resolve() expect(mocks.toastError).not.toHaveBeenCalled() - expect(mocks.activateAndRevealWorktree).not.toHaveBeenCalled() }) }) diff --git a/src/renderer/src/components/right-sidebar/ai-vault-session-resume-in-chat-launch.ts b/src/renderer/src/components/right-sidebar/ai-vault-session-resume-in-chat-launch.ts index dd5b39d3ff5..01d286f4630 100644 --- a/src/renderer/src/components/right-sidebar/ai-vault-session-resume-in-chat-launch.ts +++ b/src/renderer/src/components/right-sidebar/ai-vault-session-resume-in-chat-launch.ts @@ -11,14 +11,14 @@ import { activateAndRevealFolderWorkspace, activateAndRevealWorktree } from '@/lib/worktree-activation' +import { beginStructuredAgentSessionProvisionalLaunch } from '@/lib/structured-agent-session-provisional-tab' -export function activateAiVaultResumeWorkspace(workspaceId: string): void { +export function activateAiVaultResumeWorkspace(workspaceId: string): boolean { const workspaceScope = parseWorkspaceKey(workspaceId) if (workspaceScope?.type === 'folder') { - activateAndRevealFolderWorkspace(workspaceScope.folderWorkspaceId) - return + return activateAndRevealFolderWorkspace(workspaceScope.folderWorkspaceId) !== false } - activateAndRevealWorktree(workspaceId) + return activateAndRevealWorktree(workspaceId) !== false } /** Adopt a vault conversation into a new structured chat. The route was decided by the @@ -34,22 +34,28 @@ export async function resumeAiVaultSessionInNewChat( // Codex rows can live under a shared legacy home; the same preparation the terminal resume // runs re-pins them, and its result is what names the conversation the host will look for. const preparedSession = await prepareAiVaultSessionForResume(session) - const settlement = await adoptAgentSessionLaunchVerdict({ + const plan = adoptAgentSessionLaunchVerdict({ route: 'structured-native-chat', agent, worktreeId, resumeFrom: { providerSessionId: preparedSession.sessionId } - }).launch({}) - if (settlement?.kind === 'failed') { - notifyAiVaultSessionResumeInChatFailure(settlement.error) - return - } - // Why: an unknown outcome is not a failure; the launch layer reconciles it on the next attempt. - if (settlement?.kind !== 'structured') { - return - } - if (useAppStore.getState().activeWorktreeId !== worktreeId) { - activateAiVaultResumeWorkspace(worktreeId) + }) + const launch = beginStructuredAgentSessionProvisionalLaunch({ + plan, + hooks: {}, + beforeOpen: () => { + if (useAppStore.getState().activeWorktreeId !== worktreeId) { + return activateAiVaultResumeWorkspace(worktreeId) + } + return true + } + }) + if (launch) { + void launch.settlement.then((settlement) => { + if (settlement.kind === 'failed') { + notifyAiVaultSessionResumeInChatFailure(settlement.error) + } + }) } } catch (error) { notifyAiVaultSessionResumeInChatFailure(error) diff --git a/src/renderer/src/components/right-sidebar/parent-pr-checks-projection-selector.test.ts b/src/renderer/src/components/right-sidebar/parent-pr-checks-projection-selector.test.ts index 0616bb510e9..7d7e1b1e4ad 100644 --- a/src/renderer/src/components/right-sidebar/parent-pr-checks-projection-selector.test.ts +++ b/src/renderer/src/components/right-sidebar/parent-pr-checks-projection-selector.test.ts @@ -61,9 +61,10 @@ describe('parent PR checks projection selector', () => { const observedCache = new Proxy( {}, { - get: (target, property, receiver) => { + get: (target, property) => { cacheRead(property) - return Reflect.get(target, property, receiver) + const entries: Record = target + return entries[property] } } ) diff --git a/src/renderer/src/components/right-sidebar/parent-pr-checks-projection-selector.ts b/src/renderer/src/components/right-sidebar/parent-pr-checks-projection-selector.ts index 02677575e48..42ad55de0a8 100644 --- a/src/renderer/src/components/right-sidebar/parent-pr-checks-projection-selector.ts +++ b/src/renderer/src/components/right-sidebar/parent-pr-checks-projection-selector.ts @@ -25,6 +25,7 @@ function trackCacheReads( ): ReviewCacheState[K] { return new Proxy(state[cacheName], { get: (target, property, receiver) => { + // oxlint-disable-next-line anti-slop/no-reflect-get -- Proxy get trap default forward. const value = Reflect.get(target, property, receiver) if (typeof property === 'string') { dependencies.push({ cacheName, key: property, value }) @@ -41,7 +42,7 @@ function dependenciesAreCurrent( ): boolean { return dependencies.every( ({ cacheName, key, value }) => - state[cacheName] === previousState[cacheName] || Reflect.get(state[cacheName], key) === value + state[cacheName] === previousState[cacheName] || state[cacheName][key] === value ) } diff --git a/src/renderer/src/components/right-sidebar/runSourceControlAgentActionStart.test.ts b/src/renderer/src/components/right-sidebar/runSourceControlAgentActionStart.test.ts index 64f191c007a..ee3542f746a 100644 --- a/src/renderer/src/components/right-sidebar/runSourceControlAgentActionStart.test.ts +++ b/src/renderer/src/components/right-sidebar/runSourceControlAgentActionStart.test.ts @@ -57,7 +57,7 @@ describe('runSourceControlAgentActionStart', () => { it('waits for deferred prompt delivery before confirming a source-control launch', async () => { mocks.launchAgentInNewTab.mockReturnValue({ - tabId: 'tab-1', + surface: { kind: 'local-terminal', tabId: 'tab-1' }, startupPlan: {} as never, pasteDraftAfterLaunch: true, promptDeliveryResult: Promise.resolve({ delivered: true, failureNotified: false }) @@ -84,7 +84,7 @@ describe('runSourceControlAgentActionStart', () => { const onLaunchAccepted = vi.fn() const onLaunchAborted = vi.fn() mocks.launchAgentInNewTab.mockReturnValue({ - tabId: 'tab-1', + surface: { kind: 'local-terminal', tabId: 'tab-1' }, startupPlan: {} as never, pasteDraftAfterLaunch: true, promptDeliveryResult @@ -110,7 +110,7 @@ describe('runSourceControlAgentActionStart', () => { it('fires onLaunchAccepted exactly once and only when a tab was created', async () => { const onLaunchAccepted = vi.fn() mocks.launchAgentInNewTab.mockReturnValue({ - tabId: 'tab-1', + surface: { kind: 'local-terminal', tabId: 'tab-1' }, startupPlan: {} as never, pasteDraftAfterLaunch: true, promptDeliveryResult: Promise.resolve({ delivered: true, failureNotified: false }) @@ -136,7 +136,7 @@ describe('runSourceControlAgentActionStart', () => { const onLaunchAccepted = vi.fn() const onLaunchAborted = vi.fn() mocks.launchAgentInNewTab.mockReturnValue({ - tabId: 'tab-1', + surface: { kind: 'local-terminal', tabId: 'tab-1' }, startupPlan: {} as never, pasteDraftAfterLaunch: true, promptDeliveryResult: Promise.resolve({ delivered: false, failureNotified: true }) @@ -157,7 +157,7 @@ describe('runSourceControlAgentActionStart', () => { const originalConsole = console vi.stubGlobal('console', { ...originalConsole, error: vi.fn() }) mocks.launchAgentInNewTab.mockReturnValue({ - tabId: 'tab-1', + surface: { kind: 'local-terminal', tabId: 'tab-1' }, startupPlan: {} as never, pasteDraftAfterLaunch: true, promptDeliveryResult: Promise.reject(new Error('boom')) @@ -189,7 +189,7 @@ describe('runSourceControlAgentActionStart', () => { it('keeps the source-control dialog open when deferred prompt delivery fails', async () => { mocks.launchAgentInNewTab.mockReturnValue({ - tabId: 'tab-1', + surface: { kind: 'local-terminal', tabId: 'tab-1' }, startupPlan: {} as never, pasteDraftAfterLaunch: true, promptDeliveryResult: Promise.resolve({ delivered: false, failureNotified: false }) @@ -206,7 +206,7 @@ describe('runSourceControlAgentActionStart', () => { it('does not show a generic start failure when deferred delivery already notified the user', async () => { mocks.launchAgentInNewTab.mockReturnValue({ - tabId: 'tab-1', + surface: { kind: 'local-terminal', tabId: 'tab-1' }, startupPlan: {} as never, pasteDraftAfterLaunch: true, promptDeliveryResult: Promise.resolve({ delivered: false, failureNotified: true }) @@ -226,7 +226,7 @@ describe('runSourceControlAgentActionStart', () => { const consoleError = vi.fn() vi.stubGlobal('console', { ...originalConsole, error: consoleError }) mocks.launchAgentInNewTab.mockReturnValue({ - tabId: 'tab-1', + surface: { kind: 'local-terminal', tabId: 'tab-1' }, startupPlan: {} as never, pasteDraftAfterLaunch: true, promptDeliveryResult: Promise.reject(error) @@ -247,7 +247,7 @@ describe('runSourceControlAgentActionStart', () => { it('keeps non-deferred tab launches immediate', async () => { mocks.launchAgentInNewTab.mockReturnValue({ - tabId: 'tab-1', + surface: { kind: 'local-terminal', tabId: 'tab-1' }, startupPlan: {} as never, pasteDraftAfterLaunch: true }) @@ -338,7 +338,7 @@ describe('runSourceControlAgentActionStart', () => { vi.stubGlobal('console', { ...originalConsole, error: consoleError }) mocks.onSaveAgentDefault.mockRejectedValue(new Error('settings not loaded')) mocks.launchAgentInNewTab.mockReturnValue({ - tabId: 'tab-1', + surface: { kind: 'local-terminal', tabId: 'tab-1' }, startupPlan: {} as never, pasteDraftAfterLaunch: true, promptDeliveryResult: Promise.resolve({ delivered: true, failureNotified: false }) diff --git a/src/renderer/src/components/right-sidebar/runSourceControlAgentActionStart.ts b/src/renderer/src/components/right-sidebar/runSourceControlAgentActionStart.ts index b9b86e93228..201ca43b03b 100644 --- a/src/renderer/src/components/right-sidebar/runSourceControlAgentActionStart.ts +++ b/src/renderer/src/components/right-sidebar/runSourceControlAgentActionStart.ts @@ -105,8 +105,8 @@ export async function runSourceControlAgentActionStart({ launchSource }) launched = Boolean(result) - if (result?.tabId) { - focusTerminalTabSurface(result.tabId) + if (result?.surface.kind === 'local-terminal') { + focusTerminalTabSurface(result.surface.tabId) } // Why: lets callers park launch-scoped state before submit-after-ready finishes // (can take tens of seconds); host mutations still wait for delivery below. diff --git a/src/renderer/src/components/right-sidebar/source-control/ai/recovery-launch.ts b/src/renderer/src/components/right-sidebar/source-control/ai/recovery-launch.ts index 1ba24f6ca83..ec1a7169825 100644 --- a/src/renderer/src/components/right-sidebar/source-control/ai/recovery-launch.ts +++ b/src/renderer/src/components/right-sidebar/source-control/ai/recovery-launch.ts @@ -170,8 +170,8 @@ export async function launchSourceControlRecoveryAgentWithDefault({ return false } - if (result.tabId) { - focusTerminalTabSurface(result.tabId) + if (result.surface.kind === 'local-terminal') { + focusTerminalTabSurface(result.surface.tabId) } toast.success(copy.success) return true diff --git a/src/renderer/src/components/right-sidebar/source-control/commit/discard-confirmation.ts b/src/renderer/src/components/right-sidebar/source-control/commit/discard-confirmation.ts index e9f5a65788e..1a6121b535b 100644 --- a/src/renderer/src/components/right-sidebar/source-control/commit/discard-confirmation.ts +++ b/src/renderer/src/components/right-sidebar/source-control/commit/discard-confirmation.ts @@ -13,9 +13,7 @@ export type DiscardConfirmationCopy = { * Untracked and newly-added paths have no HEAD version to restore, so Orca's discard removes the * working-tree file. Every surface that names the operation must say "delete" for these. */ -export function isDeleteShapedDiscardEntry( - entry: Pick -): boolean { +export function discardDeletesEntryFile(entry: Pick): boolean { return entry.area === 'untracked' || entry.status === 'untracked' || entry.status === 'added' } @@ -24,7 +22,7 @@ export function getDiscardEntryConfirmationCopy( ): DiscardConfirmationCopy { const name = basename(entry.path) - if (isDeleteShapedDiscardEntry(entry)) { + if (discardDeletesEntryFile(entry)) { return { title: translate( 'auto.components.right.sidebar.source.control.discard.confirmation.96c772bee9', diff --git a/src/renderer/src/components/right-sidebar/source-control/commit/source-control-entry-failure-toast.test.ts b/src/renderer/src/components/right-sidebar/source-control/commit/source-control-entry-failure-toast.test.ts index 92f69010c9f..340b6e3a7e5 100644 --- a/src/renderer/src/components/right-sidebar/source-control/commit/source-control-entry-failure-toast.test.ts +++ b/src/renderer/src/components/right-sidebar/source-control/commit/source-control-entry-failure-toast.test.ts @@ -61,7 +61,7 @@ describe('showSourceControlEntryFailureToast', () => { it('says "delete" for an entry whose discard removes the file rather than restoring it', () => { // Why: untracked and added paths have no HEAD version, so the row button and the confirmation // dialog both say "delete" — the failure must not contradict the verb the user pressed. - show({ operation: 'discard', deleteShaped: true }) + show({ operation: 'discard', deletesFile: true }) expect(lastToast().title).toBe('Failed to delete “src/app.ts”') }) diff --git a/src/renderer/src/components/right-sidebar/source-control/commit/source-control-entry-failure-toast.ts b/src/renderer/src/components/right-sidebar/source-control/commit/source-control-entry-failure-toast.ts index 13ab65c6fb8..9668ee1e16a 100644 --- a/src/renderer/src/components/right-sidebar/source-control/commit/source-control-entry-failure-toast.ts +++ b/src/renderer/src/components/right-sidebar/source-control/commit/source-control-entry-failure-toast.ts @@ -26,7 +26,7 @@ export function dismissSourceControlEntryFailureToast(worktreeId: string | null) function entryFailureTitle( operation: SourceControlEntryOperation, filePath: string, - deleteShaped: boolean + deletesFile: boolean ): string { switch (operation) { case 'stage': @@ -42,7 +42,7 @@ function entryFailureTitle( { value0: filePath } ) case 'discard': - return deleteShaped + return deletesFile ? translate( 'auto.components.right.sidebar.SourceControl.entryDeleteFailed', 'Failed to delete “{{value0}}”', @@ -67,7 +67,7 @@ function entryFailureTitle( export function showSourceControlEntryFailureToast({ operation, filePath, - deleteShaped = false, + deletesFile = false, error, worktreeId, worktreeName, @@ -76,7 +76,7 @@ export function showSourceControlEntryFailureToast({ operation: SourceControlEntryOperation filePath: string /** True when this discard deletes the file rather than restoring it — see `discard-confirmation`. */ - deleteShaped?: boolean + deletesFile?: boolean error: unknown /** The worktree the failed attempt ran against. */ worktreeId: string | null @@ -85,7 +85,7 @@ export function showSourceControlEntryFailureToast({ onRetry?: () => void }): void { const isActiveWorktree = useAppStore.getState().activeWorktreeId === worktreeId - const title = entryFailureTitle(operation, filePath, deleteShaped) + const title = entryFailureTitle(operation, filePath, deletesFile) const offerRetry = Boolean(onRetry) && isActiveWorktree entryFailureSlotOwner = { worktreeId } toast.error( diff --git a/src/renderer/src/components/right-sidebar/source-control/commit/use-discard-confirmation.ts b/src/renderer/src/components/right-sidebar/source-control/commit/use-discard-confirmation.ts index f158c971a23..ae1c47398c5 100644 --- a/src/renderer/src/components/right-sidebar/source-control/commit/use-discard-confirmation.ts +++ b/src/renderer/src/components/right-sidebar/source-control/commit/use-discard-confirmation.ts @@ -10,7 +10,7 @@ import { runDiscardAllForArea, type DiscardAllArea } from './discard-all-sequence' -import { isDeleteShapedDiscardEntry } from './discard-confirmation' +import { discardDeletesEntryFile } from './discard-confirmation' import { readIpcErrorMessage } from '@/lib/ipc-error' import { dismissSourceControlEntryFailureToast, @@ -62,7 +62,7 @@ export function useSourceControlDiscardConfirmation({ showSourceControlEntryFailureToast({ operation: 'discard', filePath: entry.path, - deleteShaped: isDeleteShapedDiscardEntry(entry), + deletesFile: discardDeletesEntryFile(entry), error, worktreeId: activeWorktreeId, worktreeName: worktreePath ? basename(worktreePath) : null diff --git a/src/renderer/src/components/right-sidebar/source-control/notes/use-diff-comment-notes.test.tsx b/src/renderer/src/components/right-sidebar/source-control/notes/use-diff-comment-notes.test.tsx new file mode 100644 index 00000000000..d3490443815 --- /dev/null +++ b/src/renderer/src/components/right-sidebar/source-control/notes/use-diff-comment-notes.test.tsx @@ -0,0 +1,104 @@ +// @vitest-environment happy-dom + +import { act, renderHook } from '@testing-library/react' +import { beforeEach, describe, expect, it, vi } from 'vitest' +import { CLIPBOARD_TEXT_WRITE_TOO_LARGE_ERROR } from '../../../../../../shared/clipboard-text' +import type { DiffComment } from '../../../../../../shared/diff-comment-types' + +const mocks = vi.hoisted(() => ({ + toastError: vi.fn<(title: string, options: { description?: string }) => void>(), + writeClipboardText: vi.fn() +})) + +vi.mock('sonner', () => ({ toast: { error: mocks.toastError, message: vi.fn() } })) +vi.mock('@/store', () => ({ + useAppStore: (selector: (state: Record) => unknown) => selector({}) +})) +vi.mock('@/store/worktree-diff-comments-selector', () => ({ + selectWorktreeDiffCommentsOrEmpty: () => [ + { + id: 'c1', + worktreeId: 'wt-1', + filePath: 'src/app.ts', + lineNumber: 1, + body: 'rename this', + createdAt: 1, + side: 'modified' + } satisfies DiffComment + ] +})) + +import { useSourceControlDiffCommentNotes } from './use-diff-comment-notes' + +function renderNotes() { + return renderHook(() => + useSourceControlDiffCommentNotes({ + activeWorktreeId: 'wt-1', + clearDiffComments: async () => true, + clearDiffCommentsForFile: async () => true + }) + ) +} + +describe('diff-comment notes copy failures', () => { + beforeEach(() => { + vi.clearAllMocks() + Object.assign(window, { api: { ui: { writeClipboardText: mocks.writeClipboardText } } }) + }) + + function readErrorToast(): [string, { description?: string }] { + expect(mocks.toastError).toHaveBeenCalledTimes(1) + const firstCall = mocks.toastError.mock.calls[0] + if (!firstCall) { + throw new Error('Expected an error toast') + } + return firstCall + } + + it('never shows "Copied" for a clipboard write that rejected', async () => { + mocks.writeClipboardText.mockRejectedValue( + new Error( + "Error invoking remote method 'ui:writeClipboardText': Error: NSPasteboard failed at /Users/someone/Library/Caches/orca" + ) + ) + const { result } = renderNotes() + + await act(async () => { + await result.current.handleCopyDiffComments() + }) + + expect(result.current.diffCommentsCopied).toBe(false) + const [title, options] = readErrorToast() + expect(title).toBe('Failed to copy notes') + // An unrecognized native failure must not reach the toast (CWE-209). + expect(options.description).toBeUndefined() + }) + + it('describes only the recognized size failure', async () => { + mocks.writeClipboardText.mockRejectedValue( + new Error( + `Error invoking remote method 'ui:writeClipboardText': Error: ${CLIPBOARD_TEXT_WRITE_TOO_LARGE_ERROR}` + ) + ) + const { result } = renderNotes() + + await act(async () => { + await result.current.handleCopyDiffComments() + }) + + expect(result.current.diffCommentsCopied).toBe(false) + expect(readErrorToast()[1].description).toBe('The text is too large to copy.') + }) + + it('stays silent when the write resolves', async () => { + mocks.writeClipboardText.mockResolvedValue(undefined) + const { result } = renderNotes() + + await act(async () => { + await result.current.handleCopyDiffComments() + }) + + expect(result.current.diffCommentsCopied).toBe(true) + expect(mocks.toastError).not.toHaveBeenCalled() + }) +}) diff --git a/src/renderer/src/components/right-sidebar/source-control/notes/use-diff-comment-notes.ts b/src/renderer/src/components/right-sidebar/source-control/notes/use-diff-comment-notes.ts index 53c8d58bdc1..d002080c83a 100644 --- a/src/renderer/src/components/right-sidebar/source-control/notes/use-diff-comment-notes.ts +++ b/src/renderer/src/components/right-sidebar/source-control/notes/use-diff-comment-notes.ts @@ -2,6 +2,7 @@ import { useCallback, useMemo, useState } from 'react' import { toast } from 'sonner' import { translate } from '@/i18n/i18n' import { formatDiffComments } from '@/lib/diff-comments-format' +import { describeClipboardWriteFailure } from '@/lib/clipboard-write-failure' import { useAppStore } from '@/store' import { selectWorktreeDiffCommentsOrEmpty } from '@/store/worktree-diff-comments-selector' import { @@ -61,8 +62,16 @@ export function useSourceControlDiffCommentNotes({ try { await window.api.ui.writeClipboardText(diffCommentsPrompt) showDiffCommentsCopied(true) - } catch { - // Why: swallow — clipboard write can fail when unfocused; best-effort copy needs no error surface. + } catch (error) { + // Why report: the write can reject (untrusted sender, 16MiB size guard) and silence here + // reads as a successful copy — the user finds out on paste. + toast.error( + translate( + 'auto.components.right.sidebar.SourceControl.diffCommentNotesCopyFailed', + 'Failed to copy notes' + ), + { description: describeClipboardWriteFailure(error) } + ) } }, [diffCommentsForActive, diffCommentsPrompt, showDiffCommentsCopied]) diff --git a/src/renderer/src/components/settings/DevToolsPane.tsx b/src/renderer/src/components/settings/DevToolsPane.tsx index 5084dbfb4de..7042e67758a 100644 --- a/src/renderer/src/components/settings/DevToolsPane.tsx +++ b/src/renderer/src/components/settings/DevToolsPane.tsx @@ -102,6 +102,13 @@ function showDeleteFailureToast(): void { ), canForceDelete: true, forceDeleteReason: 'dirty', + onDeleteAnyway: () => + toast.error( + translate( + 'auto.components.settings.DevToolsPane.deleteAnywayClicked', + 'Delete Anyway clicked' + ) + ), onViewChanges: () => toast.message( translate( diff --git a/src/renderer/src/components/settings/GeneralWorkspaceSettingsSection.test.tsx b/src/renderer/src/components/settings/GeneralWorkspaceSettingsSection.test.tsx index a601584f60e..12aed316a9c 100644 --- a/src/renderer/src/components/settings/GeneralWorkspaceSettingsSection.test.tsx +++ b/src/renderer/src/components/settings/GeneralWorkspaceSettingsSection.test.tsx @@ -6,6 +6,7 @@ import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' import { getDefaultSettings } from '../../../../shared/constants' import { GeneralWorkspaceSettingsSection } from './GeneralWorkspaceSettingsSection' import type { ReactNode } from 'react' +import type { GlobalSettings } from '../../../../shared/global-settings-types' vi.mock('./WorkspaceDirectorySetting', () => ({ WorkspaceDirectorySetting: () => null })) vi.mock('./OpenInMenuSetting', () => ({ OpenInMenuSetting: () => null })) @@ -30,7 +31,7 @@ afterEach(() => { }) function renderSection( - updateSettings: (updates: object) => void | Promise, + updateSettings: (updates: Partial) => void | Promise, options: { defaultsSupported?: boolean sourceDefaultsSupported?: boolean diff --git a/src/renderer/src/components/settings/RepositoryWorktreeDefaultsSection.test.tsx b/src/renderer/src/components/settings/RepositoryWorktreeDefaultsSection.test.tsx index a01d7d99ffe..f764f6264b3 100644 --- a/src/renderer/src/components/settings/RepositoryWorktreeDefaultsSection.test.tsx +++ b/src/renderer/src/components/settings/RepositoryWorktreeDefaultsSection.test.tsx @@ -64,7 +64,7 @@ afterEach(() => { function render( repo: Repo, - updateRepo: (repoId: string, updates: object) => void | Promise, + updateRepo: React.ComponentProps['updateRepo'], options: { settings?: Pick | null refreshRepo?: (repoId: string) => void | Promise diff --git a/src/renderer/src/components/settings/VoiceMicrophoneSetting.test.tsx b/src/renderer/src/components/settings/VoiceMicrophoneSetting.test.tsx new file mode 100644 index 00000000000..4bdd5dfc8b9 --- /dev/null +++ b/src/renderer/src/components/settings/VoiceMicrophoneSetting.test.tsx @@ -0,0 +1,310 @@ +// @vitest-environment happy-dom + +import { act } from 'react' +import { createRoot, type Root } from 'react-dom/client' +import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' +import type { DeveloperPermissionRequestResult } from '../../../../shared/developer-permissions-types' +import { getDefaultVoiceSettings } from '../../../../shared/constants' +import type { VoiceSettings } from '../../../../shared/speech-types' + +// Why: repo convention — React only suppresses its act() warning when this global is set. +globalThis.IS_REACT_ACT_ENVIRONMENT = true + +const mocks = vi.hoisted(() => ({ toastSuccess: vi.fn(), toastError: vi.fn() })) + +vi.mock('sonner', () => ({ + toast: { success: mocks.toastSuccess, error: mocks.toastError, message: vi.fn() } +})) + +import { VoiceMicrophoneSetting } from './VoiceMicrophoneSetting' + +const voiceSettings: VoiceSettings = { + ...getDefaultVoiceSettings(), + enabled: true +} + +function namedError(name: string, message = 'boom'): Error { + const error = new Error(message) + error.name = name + return error +} + +function installMediaDevices(getUserMedia: () => Promise>): void { + Object.assign(navigator, { + mediaDevices: { + getUserMedia: vi.fn(getUserMedia), + enumerateDevices: vi.fn(async () => []), + addEventListener: vi.fn(), + removeEventListener: vi.fn() + } + }) +} + +function installPermissionsApi(result: DeveloperPermissionRequestResult | Error): void { + Object.assign(window, { + api: { + developerPermissions: { + request: vi.fn(async () => { + if (result instanceof Error) { + throw result + } + return result + }) + } + } + }) +} + +let container: HTMLDivElement +let root: Root + +async function renderSetting(settings: VoiceSettings = voiceSettings): Promise { + container = document.createElement('div') + document.body.appendChild(container) + root = createRoot(container) + await act(async () => { + root.render( + {}} /> + ) + }) +} + +async function clickAllowAccess(): Promise { + const button = Array.from(container.querySelectorAll('button')).find( + (candidate) => candidate.textContent === 'Allow access' + ) + if (!button) { + throw new Error('Allow access button not rendered') + } + await act(async () => { + button.click() + }) +} + +function alertText(): string { + return container.querySelector('[role="alert"]')?.textContent ?? '' +} + +describe('VoiceMicrophoneSetting access failures', () => { + beforeEach(() => { + vi.clearAllMocks() + installPermissionsApi({ id: 'microphone', status: 'denied', openedSystemSettings: false }) + }) + + afterEach(() => { + act(() => root.unmount()) + container.remove() + }) + + it('routes a denied getUserMedia to the OS permission request and says where to grant it', async () => { + installMediaDevices(async () => { + throw new DOMException('Permission denied', 'NotAllowedError') + }) + + await renderSetting() + await clickAllowAccess() + + expect(window.api.developerPermissions.request).toHaveBeenCalledWith({ id: 'microphone' }) + expect(alertText()).toBe( + 'Microphone access is blocked. Grant it in your system settings, then try again.' + ) + }) + + it('points at Privacy & Security once the request opened it', async () => { + installMediaDevices(async () => { + throw namedError('NotAllowedError') + }) + installPermissionsApi({ id: 'microphone', status: 'denied', openedSystemSettings: true }) + + await renderSetting() + await clickAllowAccess() + + expect(alertText()).toBe( + 'Opened macOS Privacy & Security. Grant microphone access, then try again.' + ) + }) + + it('still reports a block on platforms where the OS request is unsupported', async () => { + installMediaDevices(async () => { + throw namedError('NotAllowedError') + }) + installPermissionsApi({ id: 'microphone', status: 'unsupported', openedSystemSettings: false }) + + await renderSetting() + await clickAllowAccess() + + expect(alertText()).toBe( + 'Microphone access is blocked. Grant it in your system settings, then try again.' + ) + }) + + it('names the missing-hardware case instead of a permission instruction', async () => { + installMediaDevices(async () => { + throw namedError('NotFoundError') + }) + + await renderSetting() + await clickAllowAccess() + + expect(window.api.developerPermissions.request).not.toHaveBeenCalled() + expect(alertText()).toBe('No microphone was found. Connect one, then try again.') + }) + + it('keeps the underlying detail for an unclassified failure', async () => { + installMediaDevices(async () => { + throw namedError('AbortError', 'Could not start audio source') + }) + + await renderSetting() + await clickAllowAccess() + + expect(alertText()).toBe('Could not open the microphone. Could not start audio source') + }) + + it('never renders a literal "undefined" when the error message is absent', async () => { + installMediaDevices(async () => { + throw { name: 'AbortError', message: undefined } + }) + + await renderSetting() + await clickAllowAccess() + + expect(alertText()).toBe('Could not open the microphone.') + }) + + it('shows the plain hint until something actually fails', async () => { + installMediaDevices(async () => ({ getTracks: () => [] })) + + await renderSetting() + + expect(container.querySelector('[role="alert"]')).toBeNull() + expect(container.textContent).toContain('Allow microphone access to list input devices.') + + await clickAllowAccess() + + expect(container.querySelector('[role="alert"]')).toBeNull() + }) + + it('uses a generic stream when the saved microphone is stale', async () => { + const getUserMedia = vi.fn(async () => ({ getTracks: () => [] })) + installMediaDevices(getUserMedia) + + await renderSetting({ + ...voiceSettings, + microphoneDeviceId: 'unplugged-mic', + microphoneDeviceLabel: 'Old headset' + }) + await clickAllowAccess() + + expect(getUserMedia).toHaveBeenCalledWith({ audio: true }) + }) + + it('classifies browser-shaped permission errors without requiring Error identity', async () => { + installMediaDevices(async () => { + throw { name: 'NotAllowedError', message: 'Permission denied' } + }) + + await renderSetting() + await clickAllowAccess() + + expect(window.api.developerPermissions.request).toHaveBeenCalledWith({ id: 'microphone' }) + }) + + it('opens a stream after the OS grant so the device list is not left empty', async () => { + let calls = 0 + let streamOpened = false + const getUserMedia = vi.fn(async () => { + calls += 1 + // Why: the first attempt is what triggers the OS prompt; the grant must re-open a stream, + // because enumerateDevices hides labels until one has been opened in this renderer. + if (calls === 1) { + throw namedError('NotAllowedError') + } + streamOpened = true + return { getTracks: () => [] } + }) + Object.assign(navigator, { + mediaDevices: { + getUserMedia, + // Why: mirrors the real rule the fix exists for — no labels until a stream has been opened. + enumerateDevices: vi.fn(async () => + streamOpened + ? [{ kind: 'audioinput', deviceId: 'mic-1', label: 'Built-in Microphone' }] + : [] + ), + addEventListener: vi.fn(), + removeEventListener: vi.fn() + } + }) + installPermissionsApi({ id: 'microphone', status: 'granted', openedSystemSettings: false }) + + await renderSetting() + await clickAllowAccess() + + expect(getUserMedia).toHaveBeenCalledTimes(2) + expect(mocks.toastSuccess).toHaveBeenCalledTimes(1) + expect(container.querySelector('[role="alert"]')).toBeNull() + // Why: the grant is only useful if the list it unblocks actually fills in — the hint and its + // Allow access button are what the pane shows while no device is known. + expect(container.textContent).not.toContain('Allow microphone access to list input devices.') + }) + + it('keeps a second browser denial classified as a permission error', async () => { + installMediaDevices(async () => { + throw new DOMException('Permission denied', 'NotAllowedError') + }) + installPermissionsApi({ id: 'microphone', status: 'granted', openedSystemSettings: false }) + + await renderSetting() + await clickAllowAccess() + + expect(alertText()).toBe( + 'Microphone access is blocked. Grant it in your system settings, then try again.' + ) + expect(mocks.toastSuccess).not.toHaveBeenCalled() + }) + + it('names the missing-hardware case for the legacy DevicesNotFoundError alias', async () => { + installMediaDevices(async () => { + throw namedError('DevicesNotFoundError') + }) + + await renderSetting() + await clickAllowAccess() + + expect(alertText()).toBe('No microphone was found. Connect one, then try again.') + }) + + it('treats SecurityError as a permission denial, like NotAllowedError', async () => { + installMediaDevices(async () => { + throw namedError('SecurityError') + }) + + await renderSetting() + await clickAllowAccess() + + expect(window.api.developerPermissions.request).toHaveBeenCalledWith({ id: 'microphone' }) + expect(alertText()).toBe( + 'Microphone access is blocked. Grant it in your system settings, then try again.' + ) + }) + + it('reports a failed permission REQUEST as such, with the IPC wrapper stripped', async () => { + installMediaDevices(async () => { + throw namedError('NotAllowedError') + }) + installPermissionsApi( + new Error( + "Error invoking remote method 'developerPermissions:request': Error: xdg-open not found" + ) + ) + + await renderSetting() + await clickAllowAccess() + + // Why: the microphone was never reopened — calling this a microphone-open failure would invert + // the provenance, and the raw transport prefix must never reach the pane. + expect(alertText()).toBe('xdg-open not found') + expect(alertText()).not.toContain('Error invoking remote method') + }) +}) diff --git a/src/renderer/src/components/settings/VoiceMicrophoneSetting.tsx b/src/renderer/src/components/settings/VoiceMicrophoneSetting.tsx index b5dd245db11..36a74474477 100644 --- a/src/renderer/src/components/settings/VoiceMicrophoneSetting.tsx +++ b/src/renderer/src/components/settings/VoiceMicrophoneSetting.tsx @@ -1,4 +1,5 @@ import { useCallback, useEffect, useMemo, useRef, useState } from 'react' +import { toast } from 'sonner' import type { VoiceSettings } from '../../../../shared/speech-types' import { Button } from '../ui/button' import { Label } from '../ui/label' @@ -9,13 +10,57 @@ import { microphoneDeviceIdFromSelectValue, type VoiceMicrophoneDevice } from '@/components/dictation/microphone-devices' +import { useMountedRef } from '@/hooks/useMountedRef' import { translate } from '@/i18n/i18n' +import { extractIpcErrorMessage } from '@/lib/ipc-error' type VoiceMicrophoneSettingProps = { voiceSettings: VoiceSettings onUpdateVoiceSettings: (updates: Partial) => void } +function readMediaDeviceError(error: unknown): { name: string; message?: string } { + if (!error || typeof error !== 'object') { + return { name: '' } + } + // Why: an own `name`/`message` key can hold undefined/null; String() would + // turn that into the literal "undefined" and render it to the user. + const name = 'name' in error ? String(error.name ?? '') : '' + const message = 'message' in error ? String(error.message ?? '').trim() || undefined : undefined + return { name, message } +} + +function isMicrophonePermissionDenied(error: unknown): boolean { + const { name } = readMediaDeviceError(error) + return name === 'NotAllowedError' || name === 'SecurityError' +} + +function microphoneAccessErrorMessage(error: unknown): string { + const { name, message } = readMediaDeviceError(error) + if (name === 'NotAllowedError' || name === 'SecurityError') { + return translate( + 'auto.components.settings.VoiceMicrophoneSetting.permissionDenied', + 'Microphone access is blocked. Grant it in your system settings, then try again.' + ) + } + if (name === 'NotFoundError' || name === 'DevicesNotFoundError') { + return translate( + 'auto.components.settings.VoiceMicrophoneSetting.noMicrophoneFound', + 'No microphone was found. Connect one, then try again.' + ) + } + return message + ? translate( + 'auto.components.settings.VoiceMicrophoneSetting.openFailedDetail', + 'Could not open the microphone. {{value0}}', + { value0: message } + ) + : translate( + 'auto.components.settings.VoiceMicrophoneSetting.openFailed', + 'Could not open the microphone.' + ) +} + function sameDeviceList( a: readonly VoiceMicrophoneDevice[], b: readonly VoiceMicrophoneDevice[] @@ -36,18 +81,12 @@ export function VoiceMicrophoneSetting({ const [devices, setDevices] = useState([]) const [devicesKnown, setDevicesKnown] = useState(false) const [accessPending, setAccessPending] = useState(false) - const mountedRef = useRef(true) + const [accessError, setAccessError] = useState(null) + const mountedRef = useMountedRef() // Why: devicechange fires several times per Bluetooth connect; drop enumerations // that resolve out of order so a stale list cannot land last. const refreshGenerationRef = useRef(0) - useEffect(() => { - mountedRef.current = true - return () => { - mountedRef.current = false - } - }, []) - const refreshDevices = useCallback(async (): Promise => { const generation = refreshGenerationRef.current + 1 refreshGenerationRef.current = generation @@ -65,7 +104,7 @@ export function VoiceMicrophoneSetting({ } setDevicesKnown(next.length > 0) setDevices((current) => (sameDeviceList(current, next) ? current : next)) - }, []) + }, [mountedRef]) // Why: voiceSettings.enabled is a dependency so enabling dictation re-scans — // that toggle is often when mic permission lands and real labels appear. @@ -83,25 +122,84 @@ export function VoiceMicrophoneSetting({ } }, [refreshDevices, voiceSettings.enabled]) - // Why: enumerateDevices hides ids and labels until mic permission is granted, so - // the list stays empty until something opens a stream at least once. + // A generic stream grants discovery even when the saved device is stale. + const openStreamAndRefreshDevices = useCallback(async (): Promise => { + const stream = await navigator.mediaDevices.getUserMedia({ audio: true }) + stream.getTracks().forEach((track) => track.stop()) + await refreshDevices() + }, [refreshDevices]) + const requestMicrophoneAccess = useCallback(async (): Promise => { if (typeof navigator === 'undefined' || !navigator.mediaDevices?.getUserMedia) { return } setAccessPending(true) + setAccessError(null) try { - const stream = await navigator.mediaDevices.getUserMedia({ audio: true }) - stream.getTracks().forEach((track) => track.stop()) - await refreshDevices() - } catch { - // Denied or unavailable — the hint stays visible so the user can retry. + try { + await openStreamAndRefreshDevices() + return + } catch (error) { + if (!isMicrophonePermissionDenied(error)) { + throw error + } + } + + let result: Awaited> + try { + result = await window.api.developerPermissions.request({ id: 'microphone' }) + } catch (error) { + // Why separate: this one DID cross IPC, so the wrapper must be stripped — and the microphone + // was never reopened, so reporting it as an open failure would invert the provenance. + if (mountedRef.current) { + setAccessError( + extractIpcErrorMessage( + error, + translate( + 'auto.components.settings.VoicePane.ad5d036ecc', + 'Could not request microphone permission. Voice dictation was not enabled.' + ) + ) + ) + } + return + } + if (!mountedRef.current) { + return + } + if (result.status !== 'granted') { + setAccessError( + result.openedSystemSettings + ? translate( + 'auto.components.settings.VoiceMicrophoneSetting.openedSystemSettings', + 'Opened macOS Privacy & Security. Grant microphone access, then try again.' + ) + : translate( + 'auto.components.settings.VoiceMicrophoneSetting.permissionDenied', + 'Microphone access is blocked. Grant it in your system settings, then try again.' + ) + ) + return + } + await openStreamAndRefreshDevices() + if (mountedRef.current) { + toast.success( + translate( + 'auto.components.settings.VoicePane.cd9fe37556', + 'Microphone permission granted' + ) + ) + } + } catch (error) { + if (mountedRef.current) { + setAccessError(microphoneAccessErrorMessage(error)) + } } finally { if (mountedRef.current) { setAccessPending(false) } } - }, [refreshDevices]) + }, [mountedRef, openStreamAndRefreshDevices]) const { options, selectedValue } = useMemo( () => @@ -138,12 +236,18 @@ export function VoiceMicrophoneSetting({

{showAccessHint && (
-

- {translate( - 'auto.components.settings.VoiceMicrophoneSetting.accessHint', - 'Allow microphone access to list input devices.' - )} -

+ {accessError ? ( +

+ {accessError} +

+ ) : ( +

+ {translate( + 'auto.components.settings.VoiceMicrophoneSetting.accessHint', + 'Allow microphone access to list input devices.' + )} +

+ )} ) : null} + {canWaiveArchiveHook ? ( + + ) : null}
) @@ -74,8 +93,10 @@ export function showDeleteWorktreeFailureToast({ forceDeleteReason, lockReason, hasKnownChanges, + canWaiveArchiveHook, onViewChanges, onForceDelete, + onDeleteAnyway, worktreeId, worktreeName }: DeleteWorktreeFailureToastOptions): void { @@ -96,13 +117,16 @@ export function showDeleteWorktreeFailureToast({ ), - duration: canForceDelete ? Infinity : 10000, + // A toast offering a destructive choice must not expire before the user reads the reason. + duration: canForceDelete || canWaiveArchiveHook === true ? Infinity : 10000, dismissible: true }) } diff --git a/src/renderer/src/components/sidebar/delete-worktree-flow.test.ts b/src/renderer/src/components/sidebar/delete-worktree-flow.test.ts index a84b8323d03..8f4b92a8cd2 100644 --- a/src/renderer/src/components/sidebar/delete-worktree-flow.test.ts +++ b/src/renderer/src/components/sidebar/delete-worktree-flow.test.ts @@ -1,7 +1,20 @@ import { beforeEach, describe, expect, it, vi } from 'vitest' import type { ExecutionHostId } from '../../../../shared/execution-host' +type MockWorktreeDeleteState = { + isDeleting?: boolean + error?: string | null + canForceDelete?: boolean + forceDeleteReason?: 'dirty' | null + lockReason?: string | null + canWaiveArchiveHook?: boolean + executionHostId?: ExecutionHostId | null +} + const mocks = vi.hoisted(() => { + // Declared up here so the empty initialisers can be typed rather than asserted. + const gitStatusByWorktree: Record = {} + const deleteStateByWorktreeId: Record = {} const state = { settings: { skipDeleteWorktreeConfirm: false }, worktreeMap: new Map< @@ -35,18 +48,8 @@ const mocks = vi.hoisted(() => { setRightSidebarTab: vi.fn(), setRightSidebarOpen: vi.fn(), removeWorktree: vi.fn().mockResolvedValue({ ok: true }), - gitStatusByWorktree: {} as Record, - deleteStateByWorktreeId: {} as Record< - string, - { - isDeleting?: boolean - error?: string | null - canForceDelete?: boolean - forceDeleteReason?: 'dirty' | null - lockReason?: string | null - executionHostId?: ExecutionHostId | null - } - > + gitStatusByWorktree, + deleteStateByWorktreeId } return { state } }) @@ -631,4 +634,42 @@ describe('delete worktree flow', () => { description: 'Refresh Space and try again if the workspace list looks stale.' }) }) + + // #19334: a waived delete is still a delete — the caller's bookkeeping has to hear about it, or a + // batch/Space-panel list keeps showing the workspace it just removed. + it('reports a Delete Anyway success to the caller like a force retry', async () => { + mocks.state.settings = { skipDeleteWorktreeConfirm: true } + mocks.state.removeWorktree + .mockImplementationOnce(async () => { + mocks.state.deleteStateByWorktreeId['wt-1'] = { + isDeleting: false, + error: 'Archive hook failed for worktree: /w/one — exited 23.', + canForceDelete: false, + forceDeleteReason: null, + canWaiveArchiveHook: true + } + return { ok: false, error: 'Archive hook failed for worktree: /w/one — exited 23.' } + }) + .mockResolvedValueOnce({ ok: true }) + setWorktrees([{ id: 'wt-1', displayName: 'one' }]) + const onDeleted = vi.fn() + + expect(runWorktreeBatchDelete(['wt-1'], { onDeleted })).toBe(true) + + await vi.waitFor(() => expect(showDeleteWorktreeFailureToast).toHaveBeenCalled()) + const toastOptions = vi.mocked(showDeleteWorktreeFailureToast).mock.calls[0]?.[0] + expect(toastOptions?.canWaiveArchiveHook).toBe(true) + toastOptions?.onDeleteAnyway() + + await vi.waitFor(() => { + // The waiver rides its own option; force stays whatever the original attempt used. + expect(mocks.state.removeWorktree).toHaveBeenNthCalledWith( + 2, + { id: 'wt-1', executionHostId: null }, + false, + { allowFailedArchiveHook: true } + ) + expect(onDeleted).toHaveBeenCalledWith([{ id: 'wt-1', executionHostId: null }]) + }) + }) }) diff --git a/src/renderer/src/components/sidebar/folder-workspace-composer-submit.ts b/src/renderer/src/components/sidebar/folder-workspace-composer-submit.ts index 77ff1c193b8..7185f453351 100644 --- a/src/renderer/src/components/sidebar/folder-workspace-composer-submit.ts +++ b/src/renderer/src/components/sidebar/folder-workspace-composer-submit.ts @@ -19,6 +19,7 @@ import { toFolderWorkspaceLinkedTask } from './folder-workspace-composer-helpers' import { planAgentSessionLaunch } from '@/lib/agent-session-launch-plan' +import { beginStructuredAgentSessionProvisionalLaunch } from '@/lib/structured-agent-session-provisional-tab' import { getNewWorkspaceProjectGroupHostId } from '@/lib/new-workspace-project-options' import { useAppStore } from '@/store' import { @@ -206,59 +207,30 @@ export async function submitFolderWorkspaceCreate({ : undefined onOpenChange(false) try { - let activation = activateAndRevealFolderWorkspace(workspace.id, { - agent: quickAgent, - ...(!structuredLaunch && startup ? { startup } : {}), - ...(structuredLaunch ? { providesInitialSurface: true } : {}), - runtimeEnvironmentId - }) - let structuredLaunchAccepted = structuredLaunch - const settlement = - plan?.route === 'structured-native-chat' - ? await plan.launch( - { - legacyFallback: async () => { - if (pendingFirstAgentMessageRename) { - await useAppStore - .getState() - .updateFolderWorkspace(workspace.id, { pendingFirstAgentMessageRename: true }) - .catch(() => undefined) - } - await preflightAgentTrust({ - agent: quickAgent, - workspacePath: workspace.folderPath, - connectionId: workspace.connectionId ?? projectGroup.connectionId - }) - const fallbackActivation = activateAndRevealFolderWorkspace(workspace.id, { - agent: quickAgent, - ...(startup ? { startup } : {}), - runtimeEnvironmentId - }) - return { - activation: fallbackActivation, - primaryTabId: - fallbackActivation === false ? null : fallbackActivation.primaryTabId - } - } - }, - { worktreeId: folderWorkspaceKey(workspace.id) } - ) - : null - if (settlement) { - // Why: the workspace exists either way. Unknown keeps reporting false and failed true, as - // the boolean did before the loop was shared; the launch layer owns the failure toast. - if (settlement.kind === 'visibility-unknown') { - return false - } - if (settlement.kind === 'failed' || settlement.kind === 'cancelled') { - return true - } - if (settlement.kind === 'refused-then-legacy') { - structuredLaunchAccepted = false - // Why: this flow's own fallback always activates; `??` only satisfies the shared type. - activation = settlement.activation ?? false - } + const activationHolder: { + value: ReturnType + } = { value: false } + const revealWorkspace = (): boolean => { + activationHolder.value = activateAndRevealFolderWorkspace(workspace.id, { + agent: quickAgent, + ...(!structuredLaunch && startup ? { startup } : {}), + ...(structuredLaunch ? { providesInitialSurface: true } : {}), + runtimeEnvironmentId + }) + return activationHolder.value !== false } + const structuredLaunchAccepted = structuredLaunch + if (plan?.route === 'structured-native-chat') { + beginStructuredAgentSessionProvisionalLaunch({ + plan, + hooks: {}, + target: { worktreeId: folderWorkspaceKey(workspace.id) }, + beforeOpen: revealWorkspace + }) + } else { + revealWorkspace() + } + const activation = activationHolder.value if ( !structuredLaunchAccepted && quickAgent && diff --git a/src/renderer/src/components/sidebar/run-worktree-delete-with-toast.ts b/src/renderer/src/components/sidebar/run-worktree-delete-with-toast.ts index 3f844d6f09d..82e3a1ed048 100644 --- a/src/renderer/src/components/sidebar/run-worktree-delete-with-toast.ts +++ b/src/renderer/src/components/sidebar/run-worktree-delete-with-toast.ts @@ -38,6 +38,101 @@ export function runWorktreeDeleteWithToast( ...(options.suppressPreservedBranchToast ? { suppressPreservedBranchToast: true } : {}), ...(options.snapshotPruneBatchId ? { snapshotPruneBatchId: options.snapshotPruneBatchId } : {}) } + const showFailureToast = ( + error: string, + state: ReturnType + ): void => { + const hasKnownChanges = + (useAppStore.getState().gitStatusByWorktree[worktreeId]?.length ?? 0) > 0 + showDeleteWorktreeFailureToast({ + error, + canForceDelete: state?.canForceDelete ?? false, + canWaiveArchiveHook: state?.canWaiveArchiveHook === true, + forceDeleteReason: state?.forceDeleteReason ?? null, + lockReason: state?.lockReason ?? null, + hasKnownChanges, + onViewChanges: () => viewWorktreeDiff(worktreeId, target.executionHostId), + // Why (#19334): re-runs the archive hook and waives the failure this time, so the waiver + // is an informed choice made after reading the refusal -- not something `force` implied. + onDeleteAnyway: () => + retryFromToast({ force: options.force === true, allowFailedArchiveHook: true }), + // The explicit Force Delete retry may waive an unverified PTY-stop proof. + onForceDelete: () => + retryFromToast({ + force: true, + allowUnverifiedPtyStop: true, + failedTitle: translate( + 'auto.components.sidebar.delete.worktree.flow.4f3876c0f5', + 'Force delete failed' + ), + withViewAction: true + }), + worktreeId, + worktreeName + }) + } + + // Both toast buttons do the same thing: recapture focus (the user may have navigated while the + // toast was open), retry with one waiver added, and report a success through `onForceDeleted` so + // the caller's bookkeeping runs. Only the waiver and the failure copy differ. + const retryFromToast = (retry: { + force: boolean + allowUnverifiedPtyStop?: boolean + allowFailedArchiveHook?: boolean + failedTitle?: string + withViewAction?: boolean + }): void => { + const commitRetryFocus = prepareActiveWorktreeFocusAfterDelete(worktreeId) + const viewAction = retry.withViewAction + ? { + action: { + label: translate('auto.components.sidebar.delete.worktree.flow.7488ed8711', 'View'), + onClick: () => viewWorktreeDiff(worktreeId, target.executionHostId) + } + } + : {} + // Why re-show the full failure toast rather than a bare `toast.error` (#19334): a retry can + // fail for a DIFFERENT reason than the one the user just answered. Waiving a failed archive + // hook on a dirty checkout lands on the dirty preflight next, and a bare error offers no + // buttons — leaving the user stuck one step further in, which is the dead end this gate has + // now produced three times. Routing back through the same toast keeps every retry actionable. + const failed = (description: string): void => { + const retryState = getDeleteStateForWorktreeHost( + { id: worktreeId, hostId: target.executionHostId ?? undefined }, + useAppStore.getState().deleteStateByWorktreeId + ) + if (retryState?.canForceDelete === true || retryState?.canWaiveArchiveHook === true) { + showFailureToast(description, retryState) + return + } + toast.error( + retry.failedTitle ?? + translate( + 'auto.components.sidebar.delete.worktree.flow.ae57cbf6e4', + 'Failed to delete workspace' + ), + { description, ...viewAction } + ) + } + useAppStore + .getState() + .removeWorktree(target, retry.force, { + ...(retry.allowUnverifiedPtyStop ? { allowUnverifiedPtyStop: true } : {}), + ...(retry.allowFailedArchiveHook ? { allowFailedArchiveHook: true } : {}) + }) + .then((result) => { + if (!result.ok) { + failed(result.error) + return + } + commitRetryFocus() + // "A retry started from this toast completed the delete" — callers hang their bookkeeping + // off it, so without this a batch or Space-panel delete keeps listing what it removed. + options.onForceDeleted?.(target) + }) + .catch((err: unknown) => failed(err instanceof Error ? err.message : String(err))) + } + const removal = Object.keys(removeOptions).length > 0 ? removeWorktree(target, options.force === true, removeOptions) @@ -61,73 +156,13 @@ export function runWorktreeDeleteWithToast( } return true } - const state = getDeleteStateForWorktreeHost( - { id: worktreeId, hostId: target.executionHostId ?? undefined }, - useAppStore.getState().deleteStateByWorktreeId + showFailureToast( + result.error, + getDeleteStateForWorktreeHost( + { id: worktreeId, hostId: target.executionHostId ?? undefined }, + useAppStore.getState().deleteStateByWorktreeId + ) ) - const canForceDelete = state?.canForceDelete ?? false - const hasKnownChanges = - (useAppStore.getState().gitStatusByWorktree[worktreeId]?.length ?? 0) > 0 - showDeleteWorktreeFailureToast({ - error: result.error, - canForceDelete, - forceDeleteReason: state?.forceDeleteReason ?? null, - lockReason: state?.lockReason ?? null, - hasKnownChanges, - onViewChanges: () => viewWorktreeDiff(worktreeId, target.executionHostId), - onForceDelete: () => { - // Recapture focus because the user may have navigated while the toast was open. - const commitForceFocus = prepareActiveWorktreeFocusAfterDelete(worktreeId) - // The explicit Force Delete retry may waive an unverified PTY-stop proof. - const forceRemoval = useAppStore - .getState() - .removeWorktree(target, true, { allowUnverifiedPtyStop: true }) - forceRemoval - .then((forceResult) => { - if (!forceResult.ok) { - toast.error( - translate( - 'auto.components.sidebar.delete.worktree.flow.4f3876c0f5', - 'Force delete failed' - ), - { - description: forceResult.error, - action: { - label: translate( - 'auto.components.sidebar.delete.worktree.flow.7488ed8711', - 'View' - ), - onClick: () => viewWorktreeDiff(worktreeId, target.executionHostId) - } - } - ) - return - } - commitForceFocus() - options.onForceDeleted?.(target) - }) - .catch((err: unknown) => { - toast.error( - translate( - 'auto.components.sidebar.delete.worktree.flow.ae57cbf6e4', - 'Failed to delete workspace' - ), - { - description: err instanceof Error ? err.message : String(err), - action: { - label: translate( - 'auto.components.sidebar.delete.worktree.flow.7488ed8711', - 'View' - ), - onClick: () => viewWorktreeDiff(worktreeId, target.executionHostId) - } - } - ) - }) - }, - worktreeId, - worktreeName - }) return false }) .catch((err: unknown) => { diff --git a/src/renderer/src/components/sidebar/worktree-agent-orchestration-batch.test.ts b/src/renderer/src/components/sidebar/worktree-agent-orchestration-batch.test.ts index 705a1e0c43e..3d5a5e14c8c 100644 --- a/src/renderer/src/components/sidebar/worktree-agent-orchestration-batch.test.ts +++ b/src/renderer/src/components/sidebar/worktree-agent-orchestration-batch.test.ts @@ -364,6 +364,7 @@ describe('selectRuntimeAgentOrchestrationBatch', () => { if (typeof key === 'string' && Object.hasOwn(target, key)) { runtimeValueReads += 1 } + // oxlint-disable-next-line anti-slop/no-reflect-get -- Proxy `get` trap: only Reflect.get forwards a raw string|symbol key with the proxy receiver. return Reflect.get(target, key, receiver) } }) @@ -456,6 +457,7 @@ describe('selectRuntimeAgentOrchestrationBatch', () => { if (typeof key === 'string' && Object.hasOwn(target, key)) { runtimeValueReads += 1 } + // oxlint-disable-next-line anti-slop/no-reflect-get -- Proxy `get` trap: only Reflect.get forwards a raw string|symbol key with the proxy receiver. return Reflect.get(target, key, receiver) } }) @@ -636,6 +638,7 @@ describe('selectRuntimeAgentOrchestrationBatch live-map churn', () => { if (typeof key === 'string') { reads.push(key) } + // oxlint-disable-next-line anti-slop/no-reflect-get -- Proxy `get` trap: only Reflect.get forwards a raw string|symbol key with the proxy receiver. return Reflect.get(source, key, receiver) } }) diff --git a/src/renderer/src/components/sidebar/worktree-agent-orchestration-index.test.ts b/src/renderer/src/components/sidebar/worktree-agent-orchestration-index.test.ts index 2d9ba917520..452cec1f813 100644 --- a/src/renderer/src/components/sidebar/worktree-agent-orchestration-index.test.ts +++ b/src/renderer/src/components/sidebar/worktree-agent-orchestration-index.test.ts @@ -306,12 +306,16 @@ describe('selectWorktreeAgentOrchestration', () => { } let liveReads = 0 let retainedReads = 0 - const countReads = (target: object, onRead: () => void): object => + const countReads = ( + target: Record, + onRead: () => void + ): Record => new Proxy(target, { get(source, key, receiver) { if (typeof key === 'string') { onRead() } + // oxlint-disable-next-line anti-slop/no-reflect-get -- Proxy get trap default forward. return Reflect.get(source, key, receiver) } }) diff --git a/src/renderer/src/components/sidebar/worktree-list/rows/repo-header-project-actions.tsx b/src/renderer/src/components/sidebar/worktree-list/rows/repo-header-project-actions.tsx index ba4751b597c..cfa97732a53 100644 --- a/src/renderer/src/components/sidebar/worktree-list/rows/repo-header-project-actions.tsx +++ b/src/renderer/src/components/sidebar/worktree-list/rows/repo-header-project-actions.tsx @@ -6,6 +6,7 @@ import { FolderInput, FolderTree, Plus, + // `Shapes` is lucide-react's own export name; exempted in config/oxlint-anti-slop.json. Shapes, SlidersHorizontal, Trash2 diff --git a/src/renderer/src/components/tab-bar/QuickLaunchButton.tsx b/src/renderer/src/components/tab-bar/QuickLaunchButton.tsx index 6d5b523c2af..026944575c8 100644 --- a/src/renderer/src/components/tab-bar/QuickLaunchButton.tsx +++ b/src/renderer/src/components/tab-bar/QuickLaunchButton.tsx @@ -153,17 +153,15 @@ function QuickLaunchAgentMenuItemsInner({ ) return } - if (!result.tabId) { - // Why: paired web clients create the tab on the host; focus follows the - // next session-tabs snapshot instead of a local tab id. + if (result.surface.kind !== 'local-terminal') { return } - onFocusTerminal(result.tabId) + onFocusTerminal(result.surface.tabId) // Why: launch success means the terminal session exists. Agent readiness // can lag behind on slow machines, and prompt paste flows already own // their own readiness timeout once a PTY exists. - const launchedTabId = result.tabId + const launchedTabId = result.surface.tabId void waitForTerminalPty(launchedTabId, 5000).then((hasPty) => { if (hasPty) { return @@ -207,12 +205,6 @@ function QuickLaunchAgentMenuItemsInner({ const label = entry?.label ?? agent const isStructuredLaunchPending = isAgentSessionHandleProvider(agent) && structuredLaunchStatusByAgent[agent] === 'pending' - const pendingLabel = translate( - 'components.native-chat.structuredSessionLaunchPending', - 'Starting {{value0}} chat…', - { value0: label } - ) - const menuLabel = isStructuredLaunchPending ? pendingLabel : label const showsDefaultAgentShortcut = newAgentShortcut !== null && defaultAgent !== 'blank' && agent === defaultAgent return ( @@ -221,22 +213,18 @@ function QuickLaunchAgentMenuItemsInner({ disabled={isStructuredLaunchPending} onSelect={() => runLaunch(agent)} className="gap-2 rounded-[7px] px-2 py-1.5 text-[12px] leading-5 font-medium" - title={ - isStructuredLaunchPending - ? pendingLabel - : translate( - 'auto.components.tab.bar.QuickLaunchButton.ec2adf093e', - 'Launch {{value0}} in a new terminal', - { value0: label } - ) - } + title={translate( + 'auto.components.tab.bar.QuickLaunchButton.ec2adf093e', + 'Launch {{value0}} in a new terminal', + { value0: label } + )} > {isStructuredLaunchPending ? (